CN109697086B - Mobile terminal application program starting processing method, mobile terminal and storage medium - Google Patents

Mobile terminal application program starting processing method, mobile terminal and storage medium Download PDF

Info

Publication number
CN109697086B
CN109697086B CN201811623352.7A CN201811623352A CN109697086B CN 109697086 B CN109697086 B CN 109697086B CN 201811623352 A CN201811623352 A CN 201811623352A CN 109697086 B CN109697086 B CN 109697086B
Authority
CN
China
Prior art keywords
mobile terminal
touch
perimeter
value
application program
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
CN201811623352.7A
Other languages
Chinese (zh)
Other versions
CN109697086A (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 CN201811623352.7A priority Critical patent/CN109697086B/en
Publication of CN109697086A publication Critical patent/CN109697086A/en
Application granted granted Critical
Publication of CN109697086B publication Critical patent/CN109697086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04104Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger

Abstract

The invention discloses a mobile terminal application program starting processing method, a mobile terminal and a storage medium, wherein the method calculates the perimeter of a triangle formed by any three touch points for all acquired touch point coordinates, and calculates the perimeter values of all triangles which can be formed by the touch points; comparing all the obtained triangular circumferences, sequentially arranging the triangular circumferences to obtain an average circumference value and a maximum circumference value, and comparing the maximum circumference value with the average circumference value; and if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located does not have the corresponding application program, not operating. When the touch screen is used for touching the corresponding effective area in the mobile terminal to start the application program, the error touch of a user can be avoided, particularly for the key application program, the serious consequence caused by the careless touch starting is avoided, and convenience is brought to the user.

Description

Mobile terminal application program starting processing method, mobile terminal and storage medium
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a mobile terminal application program starting processing method, a mobile terminal and a storage medium.
Background
The touch screen is widely used in the mobile terminal, all operations of most intelligent mobile terminals in the current market can be realized through the touch screen, the appearance structure design of the mobile terminal is more and more prone to the large touch screen, and the front face of the mobile terminal is almost an effective operation area of the touch screen; applications on the mobile terminal are also started by touching the effective identification area of the mobile terminal through the touch screen.
In addition, with the continuous maturity of touch screen technology, the response speed of the touch screen is more sensitive. The mobile terminal brings richer touch experience for users when using the mobile terminal, and brings trouble of easy error touch, especially on some key application programs, if the user accidentally touches and starts the mobile terminal, serious consequences can be caused, for example, sometimes the user accidentally clicks a screen to automatically start a program which is not wanted to be opened, and the user is inconvenient to use the mobile terminal.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
In view of the foregoing disadvantages of the prior art, an object of the present invention is to provide a method for processing application start-up of a mobile terminal, a mobile terminal and a storage medium, which are intended to avoid a user from touching by mistake when the mobile terminal uses a touch screen to touch a corresponding effective area to start up an application, and in particular, for a key application, avoid serious consequences caused by inadvertent touch start-up, thereby providing convenience for the user.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method for starting and processing an application program of a mobile terminal comprises the following steps:
detecting a touch screen on a main interface of the mobile terminal, acquiring all coordinates input on the touch screen, and storing until the touch screen is released;
calculating the circumferences of triangles formed by any three touch points according to the acquired coordinates of all the touch points, and calculating the circumference values of all the triangles which can be formed by the touch points;
comparing all the obtained triangular circumferences, sequentially arranging the triangular circumferences to obtain an average circumference value and a maximum circumference value, and comparing the maximum circumference value with the average circumference value; and if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located does not have the corresponding application program, not operating.
The method for starting and processing the application program of the mobile terminal comprises the following steps of detecting a touch screen when the main interface of the mobile terminal is detected, acquiring all coordinates input on the touch screen and storing the coordinates until the touch screen is released:
presetting interruption from releasing to touching and interruption from touching to releasing of the touch screen;
when the mobile terminal main interface detects interruption from releasing to touching, the mobile terminal main interface is considered to detect the touch screen;
acquiring and storing all coordinates input on the touch screen;
if the interruption from touch to release is detected, the touch screen release is considered to be detected, and at the moment, the coordinates input on the touch screen are stopped being acquired and stored.
The method for starting and processing the application program of the mobile terminal comprises the following steps of detecting a touch screen on a main interface of the mobile terminal, acquiring all coordinates input on the touch screen, and storing the coordinates until the touch screen is released: the previously recorded coordinates in the memory are completely emptied.
The method for starting and processing the application program of the mobile terminal comprises the following steps of calculating the circumferences of triangles formed by any three touch points for all acquired touch point coordinates, and calculating the circumference values of all triangles which can be formed in the touch points, wherein the steps comprise:
acquiring any three coordinates;
judging whether the three coordinates can form a triangle;
when a triangle can be formed, the perimeter of the triangle formed by the three coordinates is calculated.
The mobile terminal application program starting processing method comprises the steps that all triangle perimeters obtained through comparison are sequentially arranged to obtain an average perimeter value and a maximum perimeter value, and the maximum perimeter value is compared with the average perimeter value; if the maximum circumference value is more than the specified multiple of the average circumference value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located does not have the corresponding application program, the step of not operating comprises the following steps:
comparing the circumferences of all the triangles, and sequentially arranging the triangles from small to large to obtain a maximum circumference value;
adding all the perimeter values to obtain the number of the divided perimeter values to obtain an average perimeter value;
and comparing the maximum perimeter value to the average perimeter value;
if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located;
and if the area of the first touch point does not have the corresponding application program, not operating.
The mobile terminal application program starting processing method is characterized in that the designated multiple is preset by a user; or the specified multiple is preset by a mobile terminal manufacturer.
The method for starting and processing the application program of the mobile terminal comprises the following steps: the mobile terminal receives the operation instruction of the user in advance and sets which application programs are the designated application programs, and the steps only play a role in the designated application programs.
A mobile terminal, comprising: a processor, a memory, and a communication bus;
the memory stores a mobile terminal application program starting processing program which can be executed by the processor;
the communication bus realizes connection communication between the processor and the memory;
when the processor executes the mobile terminal application program starting processing program, the following steps are realized:
detecting a touch screen on a main interface of the mobile terminal, acquiring all coordinates input on the touch screen, and storing until the touch screen is released;
calculating the circumferences of triangles formed by any three touch points according to the acquired coordinates of all the touch points, and calculating the circumference values of all the triangles which can be formed by the touch points;
comparing all the obtained triangular circumferences, sequentially arranging the triangular circumferences to obtain an average circumference value and a maximum circumference value, and comparing the maximum circumference value with the average circumference value; and if the maximum circumference value is more than the specified multiple of the average circumference value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located does not have the corresponding application program, not operating.
The mobile terminal, wherein the processor executes the mobile terminal application program to start the processing program, and further implements the following steps:
presetting interruption from releasing to touching and interruption from touching to releasing of the touch screen;
when the mobile terminal main interface detects interruption from releasing to touching, the mobile terminal main interface is considered to detect the touch screen;
acquiring and storing all coordinates input on the touch screen;
if the interruption from touch to release is detected, the touch screen release is considered to be detected, and at the moment, the coordinates input on the touch screen are stopped being acquired and stored;
acquiring any three coordinates;
judging whether the three coordinates can form a triangle;
when a triangle can be formed, calculating the perimeter of the triangle formed by the three coordinates;
comparing the circumferences of all the triangles, and sequentially arranging the triangles from small to large to obtain a maximum circumference value;
adding all the perimeter values to obtain the number of the divided perimeter values to obtain an average perimeter value;
and comparing the maximum perimeter value to the average perimeter value;
if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located;
and if the area of the first touch point does not have the corresponding application program, not operating.
A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which are executable by one or more processors to implement the steps in any of the mobile terminal application startup processing methods.
Compared with the prior art, the method for starting and processing the application program of the mobile terminal, the mobile terminal and the storage medium provided by the invention have the advantages that the touch screen is detected when the main interface of the mobile terminal is used, all coordinates input on the touch screen are obtained and stored until the touch screen is released; calculating the circumferences of triangles formed by any three touch points according to the acquired coordinates of all the touch points, and calculating the circumference values of all the triangles which can be formed by the touch points; comparing all the obtained triangular circumferences, sequentially arranging the triangular circumferences to obtain an average circumference value and a maximum circumference value, and comparing the maximum circumference value with the average circumference value; and if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located does not have the corresponding application program, not operating. When the touch screen is used for touching the corresponding effective area in the mobile terminal to start the application program, the error touch of a user can be avoided, particularly for the key application program, the serious consequence caused by the careless touch starting is avoided, and convenience is brought to the user.
Drawings
Fig. 1 is a flowchart of a method for processing application startup of a mobile terminal according to the present invention.
Fig. 2 is a functional block diagram of a mobile terminal according to a preferred embodiment of the invention.
Fig. 3 is a functional block diagram of a preferred embodiment of the present invention for installing a mobile terminal.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Referring to fig. 1, the method for starting and processing the application program of the mobile terminal according to the present invention includes the following steps:
s100, detecting a touch screen on a main interface of the mobile terminal, acquiring all coordinates input on the touch screen, and storing until the touch screen is released.
For example, presetting the interruption of the touch screen from releasing to touching and the interruption from touching to releasing; when the mobile terminal main interface detects interruption from releasing to touching, the mobile terminal main interface is considered to detect the touch screen; acquiring and storing all coordinates input on the touch screen; if the interruption from touch to release is detected, the touch screen release is considered to be detected, at the moment, the coordinates input on the touch screen are stopped being acquired and stored, and then a touch operation is considered to be completed.
S200, calculating the perimeter of a triangle formed by any three touch points according to the acquired coordinates of all the touch points, and calculating the perimeter values of all triangles which can be formed by the touch points.
In the embodiment of the invention, the perimeter of a triangle formed by any three touch points is calculated for all the acquired touch point coordinates, and the perimeter values of all triangles which can be formed in the touch points are calculated. For example, any three coordinates are acquired; judging whether the three coordinates can form a triangle; when a triangle can be formed, the perimeter of the triangle formed by the three coordinates is calculated.
S300, comparing all the obtained triangular circumferences, sequentially arranging the triangular circumferences to obtain an average circumference value and a maximum circumference value, and comparing the maximum circumference value with the average circumference value; and if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located does not have the corresponding application program, not operating.
Wherein, all the triangular circumferences obtained by the comparison are sequentially arranged to obtain an average circumference value and a maximum circumference value, and the maximum circumference value is compared with the average circumference value; if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located has no corresponding application program, not operating the application program, wherein the operation comprises the following steps:
comparing the circumferences of all the triangles, and sequentially arranging the triangles from small to large to obtain a maximum circumference value;
adding all the perimeter values to obtain the number of the divided perimeter values to obtain an average perimeter value;
and comparing the maximum perimeter value to the average perimeter value;
if the maximum perimeter value is more than a specified multiple (for example, 2 times) of the average perimeter value, starting an application program corresponding to the area where the first touch point is located; and if the area of the first touch point does not have the corresponding application program, not operating.
In general, if the user accidentally touches the touch screen, the area of touch operation contact on the touch screen is very small, and there is no case where the maximum perimeter value is a specified multiple of the average perimeter value (and there is a high probability that the first touch point will be outside the application icon in the case of a false operation). When a user really operates to open an application program, the actual touch area of an icon which actually touches the application program is continuously increased from small to large until the whole touch finger area is pressed down (at least larger than the touch area of misoperation, the area contact process is different), and the operation is targeted, namely, the area where the first touch point is located corresponds to the range of the icon of the application program to be started. That is, the invention obtains, through numerous test results, that if the maximum perimeter value is more than a specified multiple (for example, 2 times) of the average perimeter value, the application program corresponding to the area where the first touch point is located is started; and if the area of the first touch point does not have the corresponding application program, not operating. Therefore, the possibility of starting the program by misoperation can be greatly reduced, and great convenience is provided for the use of a user.
The starting method of the application program of the mobile terminal is characterized in that the designated multiple is preset (for example, 2 times) by a user; or the specified multiple is preset by a mobile terminal manufacturer.
In a further embodiment, the method for starting the application program of the mobile terminal further comprises the steps of setting which application programs are designated (special) application programs in advance by a user, wherein the steps only work on the designated (special) application programs (such as a WeChat fingerprint payment program and a Paibao fingerprint payment program), and the payment safety can be greatly improved.
The process of the invention is described in further detail below by means of a specific application example:
the process of another embodiment of the method for starting the application program of the mobile terminal provided by the invention specifically comprises the following steps:
step S1, entering a main interface of the mobile terminal, and acquiring all coordinates input on the touch screen until the touch screen is released;
step S2, calculating the perimeter of a triangle formed by any three touch points in the input coordinates;
step S3, comparing all the obtained triangle perimeters in step S2, and arranging them in sequence to obtain an average perimeter value and a maximum perimeter value, and comparing the maximum perimeter value with the average perimeter value; and if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located does not have the corresponding application program, not operating.
When a user touches the touch screen, the user is prevented from considering that the user only touches one point, but the finger of the user is often far larger than the size of one pixel on the touch screen, so that the user actually touches a plurality of points on the touch screen, the light touch operation of the user can be eliminated by using one threshold value through the calculation, because the contact area between the finger and the touch screen is small during light touch, and the perimeter value of a triangle formed by any three points between the coordinates of the contacted points in the contact area is often lower than the threshold, so that when the touch screen is used for touching the corresponding effective area in the mobile terminal to start the application program, the false touch of the user can be avoided, particularly for the key application program, and the serious result caused by careless touch starting is avoided.
Wherein, in the step S2, assuming that the number of the coordinates of the touch points obtained in the step S1 is N (for the convenience of description, the N touch points are written as P1, P2, P3, … …, PN-1 and PN), the following steps are executed:
step S21, judgment Pi、Pj、PkWhether the three points are on the same straight line or not, if not, calculating Pi、Pj、PkThe perimeter of a triangle formed by three points; wherein i, j and k are any three different numbers of 1, 2, 3, … …, N-1 and N; in this step, the need is highFor example, if N is 5, then step S21 needs to be performed with i being 1, j being 2, k being 3, step S21 needs to be performed with i being 1, j being 2, k being 5, step S21 needs to be performed with i being 2, j being 3, k being 4, step S21 needs to be performed with i being 2, j being 3, k being 4, step S21 needs to be performed with i being 2, j being 3, k being 5, and step S21 needs to be performed with i being 3, j being 4, k being 5. Comparing all the obtained triangular circumferences in step S3, arranging them in sequence to obtain an average circumference value and a maximum circumference value, and comparing the maximum circumference value with the average circumference value; and if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located does not have the corresponding application program, not operating.
Wherein P is calculatedi、Pj、PkThe method of the triangle perimeter formed by the three points is as follows:
let Pi、Pj、PkThe coordinates of (a) are as follows: pi(xi,yi)、Pj(xj,yj)、Pk(xk,yk) (ii) a Then P isi、Pj、PkThe perimeter of the triangle formed by the three points is a + b + c.
Wherein a, b and c in the formula are respectively as follows:
Figure BDA0001927415510000101
Figure BDA0001927415510000102
Figure BDA0001927415510000103
for example: let Pi、Pj、PkThe coordinates of (a) are as follows: pi(1,1)、Pj(1,4)、Pk(5, 1); then P isi、Pj、PkThe perimeter of the triangle formed by the three points is a + b + c.
Wherein a, b and c in the formula are respectively as follows:
Figure BDA0001927415510000104
Figure BDA0001927415510000105
Figure BDA0001927415510000106
in general, if the user accidentally touches the touch screen, the area of touch operation contact on the touch screen is very small, and there is no case where the maximum perimeter value is a specified multiple of the average perimeter value (and there is a high probability that the first touch point will be outside the application icon in the case of a false operation). When a user really operates to open an application program, the actual touch area of an icon which actually touches the application program is continuously increased from small to large until the whole touch finger area is pressed down (at least larger than the touch area of misoperation, the area contact process is different), and the operation is targeted, namely, the area where the first touch point is located corresponds to the range of the icon of the application program to be started. That is, the invention obtains, through numerous test results, that if the maximum perimeter value is more than a specified multiple (for example, 2 times) of the average perimeter value, the application program corresponding to the area where the first touch point is located is started; and if the area of the first touch point does not have the corresponding application program, not operating. Therefore, the possibility of starting the program by misoperation can be greatly reduced, and great convenience is provided for the use of a user.
As shown in fig. 2, based on the above method for processing the application program start-up of the mobile terminal, the present invention also provides a mobile terminal, which may be a mobile phone, a desktop computer, a notebook, a palmtop computer, a server, or other computing devices. The mobile terminal comprises a processor 10, a memory 20 and a display screen 30, wherein the processor 10 is connected with the memory 20 through a communication bus 50, and the display screen 30 is connected with the processor 10 through the communication bus 50. Fig. 2 shows only some of the components of the mobile terminal, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The memory 20 may in some embodiments be an internal storage unit of the mobile terminal, such as a memory of the mobile terminal. The memory 20 may also be an external storage device of the mobile terminal in other embodiments, such as a plug-in usb disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the mobile terminal. Further, the memory 20 may also include both an internal storage unit and an external storage device of the mobile terminal. The memory 20 is used for storing application software installed in the mobile terminal and various data, such as program codes of the installed mobile terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 stores a mobile terminal application start processing method program 40, and the mobile terminal application start processing method program 40 can be executed by the processor 10, so as to implement the mobile terminal application start processing method in the present application.
The processor 10 may be, in some embodiments, a Central Processing Unit (CPU), a microprocessor, a mobile phone baseband processor or other data Processing chip, and is configured to run program codes stored in the memory 20 or process data, for example, execute the mobile terminal application starting Processing method.
The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display screen 30 is used for displaying information at the mobile terminal and for displaying a visual user interface. The components 10-30 of the mobile terminal communicate with each other via a system bus.
In one embodiment, when the processor 10 executes the mobile terminal application startup processing method program 40 in the memory 20, the following steps are implemented:
detecting a touch screen on a main interface of the mobile terminal, acquiring all coordinates input on the touch screen, and storing until the touch screen is released;
calculating the circumferences of triangles formed by any three touch points according to the acquired coordinates of all the touch points, and calculating the circumference values of all the triangles which can be formed by the touch points;
comparing all the obtained triangular circumferences, sequentially arranging the triangular circumferences to obtain an average circumference value and a maximum circumference value, and comparing the maximum circumference value with the average circumference value; and if the maximum circumference value is more than the specified multiple of the average circumference value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located does not have the corresponding application program, not operating.
The mobile terminal, wherein the processor executes the mobile terminal application program to start the processing program, and further implements the following steps:
presetting interruption from releasing to touching and interruption from touching to releasing of the touch screen;
when the mobile terminal main interface detects interruption from releasing to touching, the mobile terminal main interface is considered to detect the touch screen;
acquiring and storing all coordinates input on the touch screen;
if the interruption from touch to release is detected, the touch screen release is considered to be detected, and at the moment, the coordinates input on the touch screen are stopped being acquired and stored;
acquiring any three coordinates;
judging whether the three coordinates can form a triangle;
when a triangle can be formed, calculating the perimeter of the triangle formed by the three coordinates;
comparing all the obtained circumferences of the triangles, and sequentially arranging the triangles from small to large to obtain a maximum circumference value;
adding all the perimeter values to obtain the number of the divided perimeter values to obtain an average perimeter value;
and comparing the maximum perimeter value to the average perimeter value;
if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located;
if the area where the first touch point is located has no corresponding application program, no operation is performed, as described above.
Please refer to fig. 3, which is a functional block diagram of a mobile terminal according to a preferred embodiment of a computer program for installing a mobile terminal application program start-up processing method according to the present invention. In this embodiment, the system for installing the mobile terminal application start processing method program may be divided into one or more modules, and the one or more modules are stored in the memory 20 and executed by one or more processors (in this embodiment, the processor 10) to complete the present invention. For example, in fig. 3, the mobile terminal in which the mobile terminal application program start processing method computer program is installed may be divided into a detection and acquisition module 21, a calculation module 22, and a comparison and start control module 23. The module referred to in the invention refers to a series of computer program instruction segments capable of completing specific functions, and is more suitable for describing the execution process of the mobile terminal application program starting processing method program in the mobile terminal than the program. The following description will specifically describe the functionality of the modules 21-23.
The detection and acquisition module 21 is configured to detect that the touch screen is touched on the main interface of the mobile terminal, acquire all coordinates input on the touch screen, and store the coordinates until the touch screen is released;
the calculating module 22 is configured to calculate perimeters of triangles formed by any three touch points for all the acquired touch point coordinates, and calculate perimeter values of all triangles that can be formed in the touch points;
the comparison and starting control module 23 is configured to compare the obtained circumferences of all triangles, arrange the circumferences in sequence to obtain an average circumference value and a maximum circumference value, and compare the maximum circumference value with the average circumference value; if the maximum perimeter value is greater than the specified multiple of the average perimeter value, the application program corresponding to the area where the first touch point is located is started, and if the area where the first touch point is located does not have the corresponding application program, the operation is not performed, specifically as described above.
Based on the foregoing embodiments, the present invention further provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the steps in the method for processing application startup of a mobile terminal, as described in any item above, specifically as described above.
In summary, in the mobile terminal application program starting processing method, the mobile terminal and the storage medium provided by the present invention, the method detects that the touch screen is touched when the main interface of the mobile terminal is detected, obtains all coordinates input on the touch screen, and stores the coordinates until the touch screen is released; calculating the circumferences of triangles formed by any three touch points according to the acquired coordinates of all the touch points, and calculating the circumference values of all the triangles which can be formed by the touch points; comparing all the obtained triangular circumferences, sequentially arranging the triangular circumferences to obtain an average circumference value and a maximum circumference value, and comparing the maximum circumference value with the average circumference value; and if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located does not have the corresponding application program, not operating. When the touch screen is used for touching the corresponding effective area in the mobile terminal to start the application program, the error touch of a user can be avoided, particularly for the key application program, so that the safety of the mobile terminal is ensured, the loss of the user is avoided, and convenience is provided for the user.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method for starting and processing an application program of a mobile terminal is characterized by comprising the following steps:
detecting a touch screen on a main interface of the mobile terminal, acquiring coordinates of all contact points input on the touch screen, and storing until the touch screen is released;
calculating the perimeters of triangles formed by any three touch points according to the acquired coordinates of all the touch points to obtain the perimeter values of all the triangles which can be formed in all the touch points, and calculating the average perimeter value according to the perimeter values of all the triangles;
comparing all the obtained triangular circumferences, sequentially arranging the triangular circumferences to obtain a maximum circumference value, and comparing the maximum circumference value with the average circumference value; and if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located does not have the corresponding application program, not operating.
2. The method for starting and processing the application program of the mobile terminal according to claim 1, wherein the step of detecting the touch screen, acquiring coordinates of all contact points input on the touch screen and storing the coordinates until the touch screen is released when the main interface of the mobile terminal is detected comprises the steps of:
presetting interruption from releasing to touching and interruption from touching to releasing of the touch screen;
when the mobile terminal main interface detects interruption from releasing to touching, the mobile terminal main interface is considered to detect the touch screen;
acquiring and storing coordinates of all contact points input on the touch screen;
if the interruption from touch to release is detected, the touch screen release is considered to be detected, and at the moment, the coordinates input on the touch screen are stopped being acquired and stored.
3. The method for starting and processing the application program of the mobile terminal according to claim 1, wherein the step of detecting the touch on the touch screen, acquiring coordinates of all contact points input on the touch screen, and storing the coordinates until the step of releasing the touch screen further comprises: the previously recorded coordinates in the memory are completely emptied.
4. The method for processing application program startup of a mobile terminal according to claim 1, wherein the step of calculating the perimeter of a triangle formed by any three touch points for all the acquired touch point coordinates to obtain the perimeter values of all triangles that can be formed in all touch points comprises:
acquiring any three coordinates;
judging whether the three coordinates can form a triangle;
when a triangle can be formed, the perimeter of the triangle formed by the three coordinates is calculated.
5. The method of claim 1, wherein the comparing obtains the perimeters of all triangles, arranges them in order to obtain a maximum perimeter value, and compares the maximum perimeter value with an average perimeter value; if the maximum circumference value is more than the specified multiple of the average circumference value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located does not have the corresponding application program, the step of not operating comprises the following steps:
comparing the circumferences of all the triangles, and sequentially arranging the triangles from small to large to obtain a maximum circumference value;
adding all the perimeter values to obtain the number of the divided perimeter values to obtain an average perimeter value;
and comparing the maximum perimeter value to the average perimeter value;
if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located;
and if the area of the first touch point does not have the corresponding application program, not operating.
6. The method of claim 1, wherein the specified multiple is preset by a user; or the specified multiple is preset by a mobile terminal manufacturer.
7. The method for processing application startup according to claim 1, further comprising, in addition to the above steps: the mobile terminal receives the operation instruction of the user in advance and sets which application programs are the designated application programs, and the steps only play a role in the designated application programs.
8. A mobile terminal, comprising: a processor, a memory, and a communication bus;
the memory stores a mobile terminal application program starting processing program which can be executed by the processor;
the communication bus realizes connection communication between the processor and the memory;
when the processor executes the mobile terminal application program starting processing program, the following steps are realized:
detecting a touch screen on a main interface of the mobile terminal, acquiring coordinates of all contact points input on the touch screen, and storing until the touch screen is released;
calculating the perimeters of triangles formed by any three touch points according to the acquired coordinates of all the touch points to obtain the perimeter values of all the triangles which can be formed in all the touch points, and calculating the average perimeter value according to the perimeter values of all the triangles;
comparing all the obtained triangular circumferences, sequentially arranging the triangular circumferences to obtain a maximum circumference value, and comparing the maximum circumference value with the average circumference value; and if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located, and if the area where the first touch point is located does not have the corresponding application program, not operating.
9. The mobile terminal of claim 8, wherein the processor, when executing the mobile terminal application start handler, further implements the steps of:
presetting interruption from releasing to touching and interruption from touching to releasing of the touch screen;
when the mobile terminal main interface detects interruption from releasing to touching, the mobile terminal main interface is considered to detect the touch screen;
acquiring and storing coordinates of all contact points input on the touch screen;
if the interruption from touch to release is detected, the touch screen release is considered to be detected, and at the moment, the coordinates input on the touch screen are stopped being acquired and stored;
acquiring any three coordinates;
judging whether the three coordinates can form a triangle;
when a triangle can be formed, calculating the perimeter of the triangle formed by the three coordinates;
comparing the circumferences of all the triangles, and sequentially arranging the triangles from small to large to obtain a maximum circumference value;
adding all the perimeter values to obtain the number of the divided perimeter values to obtain an average perimeter value;
and comparing the maximum perimeter value to the average perimeter value;
if the maximum perimeter value is more than the specified multiple of the average perimeter value, starting the application program corresponding to the area where the first touch point is located;
and if the area of the first touch point does not have the corresponding application program, not operating.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the steps in the mobile terminal application launching processing method as recited in any of claims 1-7.
CN201811623352.7A 2018-12-28 2018-12-28 Mobile terminal application program starting processing method, mobile terminal and storage medium Active CN109697086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811623352.7A CN109697086B (en) 2018-12-28 2018-12-28 Mobile terminal application program starting processing method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811623352.7A CN109697086B (en) 2018-12-28 2018-12-28 Mobile terminal application program starting processing method, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109697086A CN109697086A (en) 2019-04-30
CN109697086B true CN109697086B (en) 2022-07-08

Family

ID=66233035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811623352.7A Active CN109697086B (en) 2018-12-28 2018-12-28 Mobile terminal application program starting processing method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109697086B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794197A (en) * 2010-04-06 2010-08-04 华为终端有限公司 Triggering method of touch screen, touch device and handheld device
CN103455266A (en) * 2012-06-04 2013-12-18 华为终端有限公司 Method for processing mistaken touch operations of touch screen and terminal equipment
CN103870771A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Method and device for preventing false triggering of touch screen and electronic device
CN104182068A (en) * 2013-05-24 2014-12-03 宏碁股份有限公司 Error touch identifying method and device
CN104281295A (en) * 2013-07-01 2015-01-14 中兴通讯股份有限公司 Method and system for preventing false slide triggering on touch screen and electronic device
CN105138241A (en) * 2015-09-02 2015-12-09 Tcl移动通信科技(宁波)有限公司 Application startup method and system based on mobile terminal and mobile terminal
CN105260680A (en) * 2014-07-14 2016-01-20 中兴通讯股份有限公司 Touch screen-based operation processing method and device
CN105739863A (en) * 2016-01-29 2016-07-06 维沃移动通信有限公司 Method for mobile terminal to start application, and mobile terminal
CN106708407A (en) * 2016-12-16 2017-05-24 广东欧珀移动通信有限公司 Method and device for preventing mistaken triggering of touch key and mobile terminal
CN106855784A (en) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 Prevent method, device and the terminal of touch key-press false triggering
CN107402676A (en) * 2017-07-31 2017-11-28 北京小米移动软件有限公司 Trigger action processing method, device and computer-readable recording medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9983717B2 (en) * 2015-04-21 2018-05-29 Dell Products L.P. Disambiguation of false touch inputs at an information handling system projected user interface
JP2016224523A (en) * 2015-05-27 2016-12-28 京セラ株式会社 Portable terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794197A (en) * 2010-04-06 2010-08-04 华为终端有限公司 Triggering method of touch screen, touch device and handheld device
CN103455266A (en) * 2012-06-04 2013-12-18 华为终端有限公司 Method for processing mistaken touch operations of touch screen and terminal equipment
CN103870771A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Method and device for preventing false triggering of touch screen and electronic device
CN104182068A (en) * 2013-05-24 2014-12-03 宏碁股份有限公司 Error touch identifying method and device
CN104281295A (en) * 2013-07-01 2015-01-14 中兴通讯股份有限公司 Method and system for preventing false slide triggering on touch screen and electronic device
CN105260680A (en) * 2014-07-14 2016-01-20 中兴通讯股份有限公司 Touch screen-based operation processing method and device
CN105138241A (en) * 2015-09-02 2015-12-09 Tcl移动通信科技(宁波)有限公司 Application startup method and system based on mobile terminal and mobile terminal
CN105739863A (en) * 2016-01-29 2016-07-06 维沃移动通信有限公司 Method for mobile terminal to start application, and mobile terminal
CN106708407A (en) * 2016-12-16 2017-05-24 广东欧珀移动通信有限公司 Method and device for preventing mistaken triggering of touch key and mobile terminal
CN106855784A (en) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 Prevent method, device and the terminal of touch key-press false triggering
CN107402676A (en) * 2017-07-31 2017-11-28 北京小米移动软件有限公司 Trigger action processing method, device and computer-readable recording medium

Also Published As

Publication number Publication date
CN109697086A (en) 2019-04-30

Similar Documents

Publication Publication Date Title
US10402005B2 (en) Touch method and device, touch display apparatus
US9658761B2 (en) Information processing apparatus, information processing method, and computer program
US20130219338A1 (en) Automatic Magnification and Selection Confirmation
US9342172B2 (en) Method of detecting protection case and electronic device thereof
CN106325675B (en) Icon placing method and terminal equipment
US11256408B2 (en) Touch method and terminal having dynamically adjustable time threshold for touch gesture recognition
CN110794976B (en) Touch device and method
US10013595B2 (en) Correlating fingerprints to pointing input device actions
US9733826B2 (en) Interacting with application beneath transparent layer
CN105700923A (en) Method and system for installing application program
US10732719B2 (en) Performing actions responsive to hovering over an input surface
WO2016173307A1 (en) Message copying method and device, and smart terminal
CN112947829A (en) Misoperation processing method and device, electronic equipment and readable storage medium
WO2020118491A1 (en) Fingerprint recognition-based interaction method, electronic device and related device
CN108845924B (en) Control response area display control method, electronic device, and storage medium
CN109697086B (en) Mobile terminal application program starting processing method, mobile terminal and storage medium
CN105912211B (en) Instruction input method and device
CN108984024B (en) Touch operation method and device, storage medium and electronic equipment
WO2022199540A1 (en) Unread message identifier clearing method and apparatus, and electronic device
CN108388370B (en) Mobile terminal touch screen interruption detection method, mobile terminal and storage medium
CN110874729A (en) Switching method and switching device for electronic red packet identification strategy and mobile terminal
CN108021313B (en) Picture browsing method and terminal
WO2017190473A1 (en) Erroneous touch prevention method and system
US20170168710A1 (en) Apparatus, method and comptuer program product for information processing and keyboard display
CN113791725A (en) Touch pen operation identification method, intelligent terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 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