CN105183231B - Information processing method applied to touch screen device and touch screen device - Google Patents

Information processing method applied to touch screen device and touch screen device Download PDF

Info

Publication number
CN105183231B
CN105183231B CN201510603084.2A CN201510603084A CN105183231B CN 105183231 B CN105183231 B CN 105183231B CN 201510603084 A CN201510603084 A CN 201510603084A CN 105183231 B CN105183231 B CN 105183231B
Authority
CN
China
Prior art keywords
area
track points
track
determining
touch screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510603084.2A
Other languages
Chinese (zh)
Other versions
CN105183231A (en
Inventor
雷明
胡锦林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Mobile Communication Technology Ningbo Ltd
Original Assignee
TCL Mobile Communication Technology Ningbo Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN201510603084.2A priority Critical patent/CN105183231B/en
Publication of CN105183231A publication Critical patent/CN105183231A/en
Application granted granted Critical
Publication of CN105183231B publication Critical patent/CN105183231B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an information processing method and device applied to a touch screen device, wherein the method comprises the following steps: displaying a plurality of function icons on a touch screen; detecting an operation track on the touch screen, and recording track points forming the track; determining an area formed by the track points as a closed area, and identifying the selected function icon according to the function icon covered by the closed area; and starting the information processing operation corresponding to the selected function icon. The invention can reduce the possibility of misoperation caused by the unintentional contact of the user on the equipment.

Description

Information processing method applied to touch screen device and touch screen device
Technical Field
The present invention relates to the field of touch technologies, and in particular, to an information processing method applied to a touch screen device and a touch screen device.
Background
At present, various electronic devices for protecting touch display screens are increasing in the market, and people are also more and more receptive to interacting with the electronic devices through touch gestures. Taking a common portable electronic device as an example, an application program or a data document is displayed on a picture in a chart mode, and a user can select the application program or the data document by clicking and start the application program or start the data by clicking twice.
Therefore, to prevent misoperation, electronic devices are usually provided with a screen locking interface. The user can use the related functions after unlocking, the unlocking is divided into an unlocking mode which does not need to be verified and an unlocking mode which needs to input passwords such as passwords and the like, in the unlocking mode which does not need to be verified, the user usually needs to use fingers to slide from one position of a screen to another position for unlocking, and some unlocking modes can also use the fingers to press certain function icons and then open related applications while unlocking. Although the operation is convenient, the possibility of misoperation is high, for example, when a user puts a mobile phone in a pocket, the screen is attached to the body, so that unlocking action can be triggered unintentionally, then a plurality of subsequent misoperation can be executed randomly, and the effect of avoiding misoperation is not really realized.
Disclosure of Invention
The invention mainly solves the technical problem of providing an information processing method applied to a touch screen device and the touch screen device, which can reduce the possibility of misoperation caused by the unintentional contact of a user on equipment.
In order to solve the technical problems, the invention adopts a technical scheme that: an information processing method applied to a touch screen device, the method comprising: displaying a plurality of function icons on a touch screen; detecting an operation track on the touch screen, and recording track points forming the track; determining an area formed by the track points as a closed area, and identifying the selected function icon according to the function icon covered by the closed area; and starting the information processing operation corresponding to the selected function icon.
In order to solve the technical problem, the invention adopts another technical scheme that: a touch screen device, the device comprising: the display control module is used for displaying a plurality of function icons on the touch screen; the detection module is used for detecting an operation track on the touch screen and recording track points forming the track; the identification module is used for determining an area formed by the track points as a closed area and identifying the selected function icon according to the function icon covered by the closed area; and the execution module is used for starting the information processing operation corresponding to the selected functional icon.
The invention has the beneficial effects that: the invention provides an information processing method applied to a touch screen device and the touch screen device. Therefore, the user can select the function icon more intuitively by using the touch gesture, and the touch gesture is detected to reduce the possibility of misoperation caused by the unintentional contact of the user on the equipment.
Drawings
Fig. 1 is a flowchart of an information processing method applied to a touch screen device in a first embodiment of the present invention;
FIG. 2 is a schematic view of a touch screen interface displaying a plurality of function icons in an embodiment of the present invention;
FIG. 3 is a schematic diagram of a first interface for selecting a function icon according to the present invention;
FIG. 4 is a second interface diagram of the present invention for selecting a function icon;
fig. 5 is a flowchart of a method for determining an area formed by track points as a closed area in an embodiment of the present invention;
FIG. 6 is a schematic diagram of an interface for determining a trajectory validation region according to the present invention;
fig. 7 is a flowchart of an information processing method applied to a touch screen device in the second embodiment;
fig. 8 is a schematic structural diagram of a touch panel device according to a first embodiment of the present invention;
fig. 9 is a schematic structural diagram of a touch panel device according to a second embodiment of the present invention.
Detailed Description
The related prior art terms in the embodiments of the present invention will be explained first.
Referring to fig. 1, a flowchart of a first embodiment of an information processing method applied to a touch screen device according to a first embodiment of the present invention is shown, where the method includes:
in step S10, a plurality of function icons are displayed on the touch screen.
Referring to fig. 2, a plurality of function icons 21-25 are displayed on the touch screen, and in an embodiment, the plurality of function icons 21-25 correspond to an application program. It should be noted that the number of the function icons in the present invention is not limited thereto.
Step S11, an operation trajectory on the touch screen is detected, and a track point forming the trajectory is recorded.
In various embodiments, the operational trajectory is any one of the following shapes: rectangular, polygonal, circular, elliptical, or triangular.
When a user touches the touch screen for operation, the operating system feeds back a touch screen event to the application program, wherein the event comprises the following steps: the type of event (press, move, leave) and the coordinate location of the touch point. Accordingly, the drawn line of the user may be determined according to the touch screen event type and the coordinate position of the touch point.
Since the user can draw a line of any shape with a finger, all points in the line must be saved to represent the line completely. In the present invention, an array is used to record the line segment, and the structure is shown in table one:
X1 Y1 X2 Y2 X3 Y3 Xn Yn
watch 1
When a user presses a finger on a screen, a system reports a pressing event (such as action _ down of an android system), at the moment, a program records a first point of the line segment, when the finger moves, the system reports a moving event (such as action _ move of the android system), at the moment, the program records all points on a straight line formed by connecting the point and the point reported by the last system, when the user leaves the screen, the system reports a leaving event (such as action _ up of the android system), at the moment, the program records all points on a straight line formed by connecting the last point and the point reported by the last system in an array representing the line segment, and at the moment, all data recording of the line segment is finished. Meanwhile, when a touch event occurs each time, the program draws a straight line connecting the touch point of the touch screen with the last touch point on the screen, and certainly, for better effect, the straight line can be smoothed by using a Bezier curve when drawing a line.
Since only one circle needs to be drawn around an icon, the drawn line does not need to be very long, the array of lines recorded by the program can be kept small, and in addition, the longest line segment reserved is specified to be the maximum perimeter of the effective action area of the line (which will be described in detail later), and the specific length is also related to the resolution of the screen display of the specific mobile phone and can be calculated by itself.
The user may also touch the screen from a place outside the icon action area and then draw a circle close to the icon, so that the program may keep not all the data of the line drawn by the user, but only a part of the line which is closest to the user, that is, only the length which can be recorded by the array of the recording lines, specifically, the method includes: when a touch event occurs, if the array is not fully recorded, recording the point of the drawn line segment; once the array is full, the newly drawn line data is used to overwrite the oldest recorded data, and the required array may also be grouped into a circular array. In addition, the corresponding line segment displayed on the screen is erased while the oldest data is overwritten.
And step S12, determining the area formed by the track points as a closed area, and identifying the selected function icon according to the function icon covered by the closed area.
In step S13, the information processing operation corresponding to the selected function icon is started.
As shown in fig. 3, if the user encloses the unlocking icon, an unlocking instruction is issued, for example, the screen locking interface is hidden in the android system. As shown in fig. 4, when the user holds the CAMERA program, the CAMERA program is unlocked and started, and for example, the android system issues an intent including "android. When other function icons are enclosed, other corresponding instructions are sent out to start the corresponding programs while unlocking.
By utilizing the embodiment of the invention, a user can circle the functional icon to be selected by using a finger or a touch pen on the display screen, and when the drawn track is determined to be the closed area, the selected functional icon is identified according to the functional icon covered by the closed area, and the information processing operation corresponding to the selected functional icon is started. Therefore, the user can select the function icon more intuitively by using the touch gesture, and the touch gesture is detected to reduce the possibility of misoperation caused by the unintentional contact of the user on the equipment.
Referring to fig. 5, the area formed by the trace points is determined as a closed area, and the method specifically includes the following steps:
and step S30, judging whether the track point contains two track points with the same coordinate. If so, the process proceeds to step S31, otherwise, the process ends.
And step S31, judging whether the number of the track points between two track points with the same coordinates is not less than a preset value. If so, the process proceeds to step S32, otherwise, the process ends.
And step S32, determining the area formed by the tracing point as a closed area.
Although the area formed by the track points can be judged to be the closed area by overlapping the two track points, the situation that the closed area formed by the track is not formed although the two track points with the same coordinates exist still exists. In order to avoid this situation and cause misjudgment, it is also necessary to judge whether the number of points between two coincident trace points is not less than a predetermined value. In the present invention, the predetermined value is set by using the number of dots included in the shortest line that can surround the function icon as a determination condition (the circumference of a circle represented by the minimum range shown in fig. 6), that is, the number of dots before two overlapped dots is not less than the minimum number of dots surrounding the icon. The specific principle is as follows.
Referring to fig. 7, when it is determined that the number of trace points located between two trace points having the same coordinates is not less than the predetermined value, the method further includes:
and step S44, calculating the coordinate average value of the track point to determine the first center point coordinate of the closed area, and calculating the second center point coordinate of the area where each function icon is located.
In step S45, the second center point having the smallest distance from the first center point is determined, and the predetermined area is determined by using the determined second center point.
Step S46, determine whether the trace point is located in the predetermined area. If so, the process proceeds to step S47, otherwise, the process ends.
And step S47, when the track point is confirmed to be located in the preset area, determining the closed area formed by the track point as a valid closed area.
In step S48, the selected function icon is identified according to the function icon covered by the closed area.
Specifically, the selected function icon is determined according to the determined second center point.
In step S49, the information processing operation corresponding to the selected function icon is started.
Referring to fig. 6, the average value of all the recorded trace points is used as the center point (first center point) of the trace point, that is, the average value of the X coordinates of all the points is used as the X coordinate of the center point, and the average value of the Y coordinates of all the points is used as the Y coordinate of the center point.
When the first central point is determined, finding out the function icon closest to the position, calculating the distance by the coordinate of the central point and the coordinate of the central point of the function icon, and finding out the minimum value to determine the closest function icon.
After the nearest function icon is found, the effective action range of the track can be determined by the central point of the function icon, so that whether the track is in the designated area or not can be judged.
Specifically, the program specifies in advance the effective area of the trajectory drawn by the user, and as shown in fig. 6, the effective range is indicated by two concentric circles centered on the center point of an icon, and the minimum range and the maximum range are indicated. Of course, the radius of the specific circle can be adjusted according to parameters such as the resolution of the screen.
For quality determination, it is necessary to specify that all points drawn by the user are within the interval between the maximum range and the minimum range, otherwise, it is considered that there is a possibility of erroneous operation.
And after all the conditions are met, determining which icon the user encloses so as to send a specific subsequent instruction, otherwise, judging the icon is misoperation, and prompting the user that the drawn line is unqualified and requires redrawing.
Further, as shown in fig. 6, the determined second central point determines a predetermined area, specifically: determining a first area by taking the determined second center point as a circle center and the first radius, and determining a second area by taking the determined second center point as the circle center and the second radius; and determining a portion of the second area other than the first area as a predetermined area. Wherein the first radius is smaller than the second radius.
Please refer to fig. 1 and 4 for other steps in fig. 7 and their corresponding descriptions.
Referring to fig. 8, which is a schematic structural diagram of a touch screen device according to a first embodiment of the present invention, the device 50 includes a display control module 51, a detection module 52, an identification module 53, and an execution module 54.
The display control module 51 is used to display a plurality of function icons on the touch screen.
The detection module 52 is configured to detect an operation track on the touch screen and record track points forming the operation track. In various embodiments, the operational trajectory is any one of the following shapes: rectangular, polygonal, circular, elliptical, or triangular.
The identification module 53 is configured to determine an area formed by the trace point as a closed area, and identify the selected function icon according to the function icon covered by the closed area.
The execution module 54 is configured to start an information processing operation corresponding to the selected function icon.
Further, the identification module 53 is specifically configured to determine whether the track points include two track points with the same coordinates, and when determining that the two track points include two track points with the same coordinates, determine whether the number of the track points between the two track points with the same coordinates is not less than a predetermined value. And if the distance is not less than the preset value, determining that the area formed by the track point is a closed area.
Referring to fig. 9, a touch panel device according to a second embodiment of the present invention is an information processing device shown in the second embodiment, which is different from the information processing device shown in fig. 8, and further includes: a calculation module 65.
When the recognition module 63 determines that the number of the trace points between two trace points with the same coordinates is not less than the predetermined value, the calculation module 65 is configured to calculate an average value of coordinates of the trace points to determine a first center point coordinate of the closed area, and calculate a second center point coordinate of an area where each function icon is located.
The identifying module 63 is further configured to determine the second center point having the smallest distance from the first center point, determine a predetermined area according to the determined second center point, and determine whether the track point is located in the predetermined area. And if the track point is positioned in the preset area, determining the closed area formed by the track point as an effective closed area.
Further, the identifying module 63 determines the selected function icon according to the determined second central point, that is, the function icon covered by the closed area identifies the selected function icon.
Further, the identifying module 63 is further configured to determine a first area by using the determined second center point as a circle center and a first radius, and determine a second area by using the determined second center point as a circle center and a second radius; and determining a portion of the second area excluding the first area as the predetermined area. Wherein the first radius is smaller than the second radius.
Please refer to fig. 8 and the corresponding text for other modules in fig. 9.
According to the information processing method applied to the touch screen device and the touch screen device, a user can circle a function icon which is required to be selected by a finger or a touch pen on a display picture, when the drawn track is determined to be a closed area, the selected function icon is identified according to the function icon covered by the closed area, and information processing operation corresponding to the selected function icon is started. Therefore, the user can select the function icon more intuitively by using the touch gesture, and the touch gesture is detected to reduce the possibility of misoperation caused by the unintentional contact of the user on the equipment.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (6)

1. An information processing method applied to a touch screen device, the method comprising:
displaying a plurality of function icons on a touch screen;
detecting an operation track on the touch screen, and recording track points forming the track;
determining an area formed by the track points as a closed area, and identifying the selected function icon according to the function icon covered by the closed area; and
starting the information processing operation corresponding to the selected function icon;
determining an area formed by the track points as a closed area, specifically:
judging whether the track points contain two track points with the same coordinate or not;
when two track points with the same coordinates are determined to be contained, judging whether the number of the track points between the two track points with the same coordinates is not less than a preset value or not;
determining the area formed by the track points as a closed area when the area is not smaller than the preset value;
when confirming that the number of track points located between two track points with the same coordinates is not less than the predetermined value, the method further comprises:
calculating the coordinate average value of the track points to determine the first central point coordinate of the closed area and calculating the second central point coordinate of the area where each functional icon is located;
determining the second central point with the minimum distance from the first central point, and determining a predetermined area by using the determined second central point;
judging whether the track point is located in the preset area or not;
and determining that the closed area formed by the track points is an effective closed area when the track points are confirmed to be located in the preset area.
2. The information processing method applied to the touch screen device according to claim 1, wherein the selected function icon is identified according to the function icon covered by the closed area, specifically: and determining the selected function icon according to the determined second central point.
3. The information processing method applied to the touch screen device according to claim 1, wherein the predetermined area is determined according to the determined second center point, specifically:
determining a first area by taking the determined second central point as a circle center and a first radius, and determining a second area by taking the determined second central point as a circle center and a second radius; wherein the first radius is less than the second radius;
determining a portion of the second area excluding the first area as the predetermined area.
4. The information processing method applied to the touch screen device according to any one of claims 1 to 3, wherein the operation trajectory is any one of the following shapes: polygonal, circular, or elliptical.
5. A touch screen device, the device comprising:
the display control module is used for displaying a plurality of function icons on the touch screen;
the detection module is used for detecting an operation track on the touch screen and recording track points forming the track;
the identification module is used for determining an area formed by the track points as a closed area and identifying the selected function icon according to the function icon covered by the closed area; and
the execution module is used for starting the information processing operation corresponding to the selected functional icon;
the identification module is specifically used for judging whether the track points contain two track points with the same coordinates or not, and judging whether the number of the track points between the two track points with the same coordinates is not less than a preset value or not when the track points containing the same coordinates are confirmed;
if the area is not smaller than the preset value, determining that the area formed by the track points is a closed area;
further comprising:
the calculation module is used for calculating the coordinate average value of the track points to determine the first central point coordinate of the closed area and calculating the second central point coordinate of the area where each function icon is located when the identification module confirms that the number of the track points between two track points with the same coordinate is not smaller than the preset value;
the identification module is further used for determining the second central point with the minimum distance from the first central point, determining a preset area according to the determined second central point, and judging whether the track point is located in the preset area;
and if the track point is located in the preset area, determining that the closed area formed by the track point is an effective closed area.
6. The touch screen device according to claim 5, wherein the identification module is further configured to determine a first area with the determined second center point as a center and a first radius, and determine a second area with the determined second center point as a center and a second radius; and determining a portion of the second region excluding the first region as the predetermined region; wherein the first radius is less than the second radius.
CN201510603084.2A 2015-09-18 2015-09-18 Information processing method applied to touch screen device and touch screen device Active CN105183231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510603084.2A CN105183231B (en) 2015-09-18 2015-09-18 Information processing method applied to touch screen device and touch screen device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510603084.2A CN105183231B (en) 2015-09-18 2015-09-18 Information processing method applied to touch screen device and touch screen device

Publications (2)

Publication Number Publication Date
CN105183231A CN105183231A (en) 2015-12-23
CN105183231B true CN105183231B (en) 2020-10-02

Family

ID=54905349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510603084.2A Active CN105183231B (en) 2015-09-18 2015-09-18 Information processing method applied to touch screen device and touch screen device

Country Status (1)

Country Link
CN (1) CN105183231B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020653A (en) * 2016-04-29 2016-10-12 努比亚技术有限公司 Device and method for man-machine interaction
CN105955772A (en) * 2016-04-29 2016-09-21 潘成军 Application function enabling method
CN107506215A (en) * 2017-09-05 2017-12-22 深圳天珑无线科技有限公司 Method for cleaning, device, terminal and the computer-readable recording medium of application program
TWI649691B (en) * 2017-11-16 2019-02-01 創利空間股份有限公司 Editing device and interactive multimedia system
CN110531894B (en) * 2019-08-29 2021-03-23 惠州Tcl移动通信有限公司 False touch prevention method, electronic device and computer readable storage medium
CN112199021B (en) * 2020-10-23 2023-01-20 Tcl通讯(宁波)有限公司 Application program opening method and device and mobile terminal
CN112699365B (en) * 2021-01-07 2023-12-26 徐州锡沂康成食品检验检测研究院有限公司 Terminal unlocking processing method, device and equipment based on gamma graph

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135853A (en) * 2011-03-09 2011-07-27 苏州佳世达电通有限公司 Information processing method for touch control display device
CN104536681A (en) * 2014-12-09 2015-04-22 惠州Tcl移动通信有限公司 Method and system for simultaneously starting a plurality of applications on basis of touch screen
CN104699400A (en) * 2015-03-06 2015-06-10 惠州Tcl移动通信有限公司 Angle detecting method and system for track surrounding icon center points based on touch screen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135853A (en) * 2011-03-09 2011-07-27 苏州佳世达电通有限公司 Information processing method for touch control display device
CN104536681A (en) * 2014-12-09 2015-04-22 惠州Tcl移动通信有限公司 Method and system for simultaneously starting a plurality of applications on basis of touch screen
CN104699400A (en) * 2015-03-06 2015-06-10 惠州Tcl移动通信有限公司 Angle detecting method and system for track surrounding icon center points based on touch screen

Also Published As

Publication number Publication date
CN105183231A (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN105183231B (en) Information processing method applied to touch screen device and touch screen device
US9733752B2 (en) Mobile terminal and control method thereof
US10545615B2 (en) Touch device and touch device recognition method
CN108829327B (en) Writing method and device of interactive intelligent equipment
US9069386B2 (en) Gesture recognition device, method, program, and computer-readable medium upon which program is stored
US20150268789A1 (en) Method for preventing accidentally triggering edge swipe gesture and gesture triggering
US9330249B2 (en) Information terminal
CN106843692B (en) Touch screen character display method and device
CN103064627B (en) A kind of application management method and device
KR20140031254A (en) Method for selecting an element of a user interface and device implementing such a method
US20140298223A1 (en) Systems and methods for drawing shapes and issuing gesture-based control commands on the same draw grid
US20180121076A1 (en) Drawing processing method, drawing program, and drawing device
CN106168870A (en) A kind of split screen window display method and terminal
WO2021098832A1 (en) Element control method, device, apparatus, and storage medium
US10956030B2 (en) Multi-touch based drawing input method and apparatus
CN104951213A (en) Method for preventing false triggering of edge sliding gesture and gesture triggering method
CN108846271B (en) Device control method, device, storage medium and electronic device
CN115113778A (en) Method for selecting waveforms on electronic test equipment
EP2767897B1 (en) Method for generating writing data and an electronic device thereof
US20150153925A1 (en) Method for operating gestures and method for calling cursor
CN103049198B (en) handwriting input recognition system and method
JP6411067B2 (en) Information processing apparatus and input method
CN107807785B (en) Method and system for selecting object on touch screen
US20150091813A1 (en) Management of data in an electronic device
CN111694451B (en) Method, device, equipment and storage medium for processing operation data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200911

Address after: 315000 10 / F, No. 5, Lane 999, Yangfan Road, hi tech Zone, Ningbo City, Zhejiang Province

Applicant after: TCL mobile communication technology (Ningbo) Co.,Ltd.

Address before: 516006 Guangdong province Huizhou City Zhongkai high tech Zone and seven West Road No. 86

Applicant before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.