CN108762996B - Touch detection method and device - Google Patents

Touch detection method and device Download PDF

Info

Publication number
CN108762996B
CN108762996B CN201810397018.8A CN201810397018A CN108762996B CN 108762996 B CN108762996 B CN 108762996B CN 201810397018 A CN201810397018 A CN 201810397018A CN 108762996 B CN108762996 B CN 108762996B
Authority
CN
China
Prior art keywords
touch
fragmentation
touch operation
determining
mobile terminal
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
CN201810397018.8A
Other languages
Chinese (zh)
Other versions
CN108762996A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810397018.8A priority Critical patent/CN108762996B/en
Publication of CN108762996A publication Critical patent/CN108762996A/en
Application granted granted Critical
Publication of CN108762996B publication Critical patent/CN108762996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • 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/0412Digitisers structurally integrated in a display
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a touch detection method and a touch detection device, and the method comprises the following steps: when the falling event of the mobile terminal is detected to be finished, turning off the screen to detect the touch display screen; determining a fragmentation area of the touch display screen; and adjusting a detection strategy aiming at touch operation according to the fragmentation region, wherein the adjusted detection strategy is used for determining the detected first touch operation as a second touch operation, and the touch region of the second touch operation comprises part or all of the fragmentation region. According to the embodiment of the application, the damage condition of the touch display screen can be known in time when a falling event is finished, the safety of a user in executing touch operation can be improved, and the power consumption of the mobile terminal can be reduced.

Description

Touch detection method and device
Technical Field
The application relates to the technical field of mobile terminals, in particular to a touch detection method and device.
Background
With the great popularity and rapid development of mobile terminals (e.g., smart phones), more and more applications are installed in the mobile terminals of users, and people use the mobile terminals more and more frequently, such as video-type applications, payment-type applications, game-type applications, music-type applications, and the like.
At present, because the mobile terminal is frequently used, the service life of the mobile terminal is shortened due to the fact that components (such as a display screen and a shell) are often damaged due to falling, and therefore, how to accurately position the damaged components and how to take measures against the damaged components has important guiding significance for prolonging the service life of the mobile terminal.
Disclosure of Invention
The embodiment of the application provides a touch detection method and device, which can be used for timely knowing the damage condition of a touch display screen when a drop event is finished, thereby being beneficial to improving the safety of a user in executing touch operation and reducing the power consumption of a mobile terminal.
In a first aspect, an embodiment of the present application provides a touch detection method, where the method includes:
when the falling event of the mobile terminal is detected to be finished, turning off the screen to detect the touch display screen;
determining a fragmentation area of the touch display screen;
and adjusting a detection strategy aiming at touch operation according to the fragmentation region, wherein the adjusted detection strategy is used for determining the detected first touch operation as a second touch operation, and the touch region of the second touch operation comprises part or all of the fragmentation region.
In a second aspect, an embodiment of the present application provides a touch detection device, which includes a detection unit, a determination unit, and an adjustment unit, where:
the detection unit is used for turning off the screen to detect the touch display screen when the falling event of the mobile terminal is detected to be finished;
the determining unit is used for determining a fragmentation area of the touch display screen;
the adjusting unit is configured to adjust a detection policy for the touch operation according to the fragmentation region, where the adjusted detection policy is used to determine the detected first touch operation as a second touch operation, and a touch region of the second touch operation includes part or all of the fragmentation region.
In a third aspect, an embodiment of the present application provides a mobile terminal, including: a processor, memory, and one or more programs; the one or more programs are stored in the above memory and configured to be executed by the processor, the programs including instructions for performing the steps described in any of the methods of the first aspect of the embodiments of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, the computer program specifically includes instructions for executing some or all of the steps described in any method of the first aspect of the embodiment of the present application, and the computer includes a mobile terminal.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package, said computer comprising a mobile terminal.
It can be seen that, in the embodiment of the present application, when a mobile terminal detects that a drop event of the mobile terminal ends, the mobile terminal turns off the screen to detect the touch display screen, determines a fragmentation region of the touch display screen, and adjusts a detection policy for touch operation according to the fragmentation region, where the adjusted detection policy is used to determine a detected first touch operation as a second touch operation, and a touch region of the second touch operation includes part or all of the fragmentation region. Therefore, after the mobile terminal detects that the falling event is finished, the screen is turned off to detect the touch display screen without starting an application processor, so that the power consumption of the mobile terminal is reduced, the fragmentation area of the touch display screen is determined in time after the falling event is finished, the detection strategy for the touch operation is adjusted according to the fragmentation area, the detected first touch operation is determined as the second touch operation, namely the user performs the first touch operation instead when the user needs to perform the second touch operation comprising the fragmentation area, the user does not need to touch the fragmentation area during the touch operation, and the safety of the user during the touch operation is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a touch detection method disclosed in an embodiment of the present application;
fig. 2 is a schematic flowchart of another touch detection method disclosed in the embodiment of the present application;
fig. 3 is a schematic flowchart of another touch detection method disclosed in the embodiment of the present application;
fig. 4 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present application;
fig. 5 is a block diagram illustrating functional units of a touch detection device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a smart phone disclosed in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The Mobile terminal according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal. The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic flow chart of a touch detection method according to an embodiment of the present application, and as shown in the figure, the touch detection method includes:
s101, when the mobile terminal detects that the falling event of the mobile terminal is finished, turning off a screen to detect a touch display screen;
the specific implementation manner of the mobile terminal detecting the end of the falling event of the mobile terminal may be various, for example, the acceleration of the mobile terminal is detected to be changed from the gravitational acceleration to zero, and the acceleration is zero for a period of time, or a gyroscope in the mobile terminal detects that the angular velocity of the mobile terminal does not change any more within a period of time, and the like, which is not limited herein.
The touch display screen comprises a touch screen, a display screen and an integrated circuit, wherein the integrated circuit is used for sending a driving signal to control the display screen to display contents according to display data and display parameters (such as brightness, color, saturation and the like) of a picture, or sending the driving signal to control the touch screen to detect touch operation.
S102, the mobile terminal determines a fragmentation area of the touch display screen;
the fragmentation area of the touch display screen may be a fragmentation area of the display screen or a fragmentation area of the touch screen, which is not limited herein.
The specific implementation manner of determining the fragmentation region of the touch display screen by the mobile terminal may be various, for example, the fragmentation region may be identified by a user through interaction with the user, or the fragmentation region may be determined by detecting whether each of the regions in the touch display screen and the display screen can feed back a response signal for a driving signal of an integrated circuit one by one, which is not limited herein.
S103, the mobile terminal adjusts a detection strategy aiming at touch operation according to the fragmentation region, the adjusted detection strategy is used for determining the detected first touch operation as a second touch operation, and the touch region of the second touch operation comprises part or all of the fragmentation region.
The first touch operation may be a touch operation for a fractured region, or may be a touch operation for a region of the touch display screen other than the fractured region, which is not limited herein.
It can be seen that, in the embodiment of the present application, when a mobile terminal detects that a drop event of the mobile terminal ends, the mobile terminal turns off the screen to detect the touch display screen, determines a fragmentation region of the touch display screen, adjusts a detection strategy for touch operation according to the fragmentation region, and determines a detected first touch operation as a second touch operation according to the adjusted detection strategy, where a touch region of the second touch operation includes part or all of the fragmentation region. Therefore, after the mobile terminal detects that the falling event is finished, the screen is turned off to detect the touch display screen without starting an application processor, so that the power consumption of the mobile terminal is reduced, the fragmentation area of the touch display screen is determined in time after the falling event is finished, the detection strategy for the touch operation is adjusted according to the fragmentation area, the detected first touch operation is determined as the second touch operation, namely the user performs the first touch operation instead when the user needs to perform the second touch operation comprising the fragmentation area, the user does not need to touch the fragmentation area during the touch operation, and the safety of the user during the touch operation is improved.
In one possible example, the adjusting the detection policy for the touch operation according to the fragmentation region includes:
when the first touch operation is detected to be a touch sliding operation, determining an initial position of the touch sliding operation;
when the starting position is detected to be located within the preset range of the fragmentation region, adjusting a first sliding distance of the touch sliding operation to be a second sliding distance, wherein the first sliding distance is smaller than the second sliding distance, and a sliding track corresponding to the second sliding distance comprises a part of or all of the fragmentation region;
and determining the first touch operation as the second touch operation according to the second sliding distance.
The preset range of the fragmentation zone may be a range of 2cm up and down and left and right of the fragmentation zone, or a range of 3cm up and down and left and right of the fragmentation zone, which is not limited herein.
The specific implementation manner of adjusting the first sliding distance of the touch sliding operation to the second sliding distance may be to adjust the first sliding distance of the touch sliding operation to the second sliding distance according to the width of the fragmentation region, for example, when the width is 1cm, adjust the first sliding distance to 1cm to 3cm, and when the width is 2cm, adjust the first sliding distance to 0.5cm to 3cm, or may be to adjust the first sliding distance of the touch sliding operation to the second sliding distance according to the length of the fragmentation region, which is not limited herein.
And the second touch sliding operation is a touch sliding operation with a sliding distance of the second sliding distance.
In this example, when the mobile terminal detects that the first touch operation is the touch sliding operation, it is first determined whether the initial position of the touch sliding operation is within the preset range of the fragmentation region, which is beneficial to avoiding the mis-adjustment of the first touch operation.
In one possible example, the adjusting the detection policy for the touch operation according to the fragmentation region includes:
when the first touch operation is detected to be a touch clicking operation, determining a first clicking position of the touch clicking operation;
when the first click position is detected to be located within the preset range of the fragmentation region, adjusting the first click position to be a second click position, wherein a distance parameter between the second click position and the first click position is smaller than a preset distance threshold, and the second click position is located in the fragmentation region;
and determining the first touch operation as the second touch operation according to the second click position.
The second click position includes any operation object of the current touch display screen, the operation object may be any application icon or a phone number, and the like, without limitation, and when a position where the distance parameter from the first click position is smaller than the preset distance threshold does not include an operation object, the position is not the second click position.
The preset distance threshold may be 0.5cm, 1cm, and the like, which is not limited herein.
It can be seen that, in this example, when the mobile terminal detects a touch click operation, it is first determined whether the touch click operation is located within the preset range of the fragmentation region, which is beneficial to avoiding misadjustment of the touch click operation, and when it is determined that the touch click operation is located within the preset range of the fragmentation region, it is determined that a user may cause click offset because of avoiding finger injury, or the user may offset when the fragmentation region is touch insensitive, so that the first click position is adjusted to the second click position, and then the second touch operation is determined, which is beneficial to improving accuracy and sensitivity of touch click operation identification.
In this possible example, the adjusting the first click position to a second click position includes:
determining a plurality of reference click positions of which the distance parameters from the first click position are smaller than the preset distance threshold, wherein the reference click positions are all located in the fragmentation region;
displaying a plurality of operation objects corresponding to the plurality of reference click positions in an area of the touch display screen except the fragmentation area;
detecting selection operation of a user for the plurality of reference operation objects;
and determining the second click position according to the selection operation.
The specific implementation manner of displaying the plurality of operation objects corresponding to the plurality of reference click positions is various, for example, the plurality of operation objects may be displayed by a floating display frame, or an arrow may be displayed for a first click position, and a user may indicate a direction of a second click position according to the arrow, which is not limited herein.
Therefore, in this example, when the mobile terminal determines the multiple reference click positions according to the preset distance threshold and the first click position, the mobile terminal displays information of the multiple positions, and the user selects the position to be clicked through interactive operation with the user, so that the accuracy of adjustment of the first touch operation is further improved.
In one possible example, the turning off the screen to detect the touch display screen when detecting that the falling event of the mobile terminal is ended includes:
when the acceleration of the mobile terminal is detected to be changed from the gravity acceleration to zero and the mobile terminal is in a static state within a preset time period, determining that the falling event is ended;
initializing a touch driving signal and a display driving signal of the touch display screen integrated circuit in a screen extinguishing state;
outputting the touch driving signal and the display driving signal through a port corresponding to each pixel partition in the integrated circuit according to a preset sequence;
the determining a fragmentation region of the touch display screen comprises:
respectively receiving the touch driving signal and the response signal of the display driving signal of each pixel partition;
determining the fragmentation zone from the response signal.
The preset time period may be 5s, 10s, and the like, and is not limited herein.
The initializing of the touch driving signals and the display driving signals of the touch display screen integrated circuit is to disconnect all the touch driving signals and all the display driving signals sent by the touch display screen through the integrated circuit, namely to disconnect the communication connection of the integrated circuit with the touch display screen and the display screen.
The preset sequence may be that the driving signal detection is performed on each pixel partition in a sequence from left to right and from top to bottom, or the driving signal detection is performed on each pixel partition in a sequence from right to left and from top to bottom, each pixel partition includes at least one pixel point, which is not limited herein, and the integrated circuit may output the touch driving signal and the display driving signal in parallel for the corresponding ports.
The specific implementation manner of determining the fragmentation region according to the response signal may be various, for example, a region with a weaker response signal may be determined as the fragmentation region, or a region without feedback of the response signal may be determined as the fragmentation region, which is not limited herein, and the mobile terminal may connect each pixel point determined as fragmentation to form the fragmentation region.
The mobile terminal can also determine a fragmentation region by detecting the light transmittance of each pixel partition, wherein the light transmittance of the fragmentation region is different from that of a non-fragmentation region.
Therefore, in the example, when the mobile terminal falls off, the integrated circuit of the touch display screen realizes automatic fragmentation detection of the touch display screen, so that the intelligent, convenient and real-time fragmentation detection is promoted, and the accuracy of falling data acquisition is promoted.
Referring to fig. 2, fig. 2 is a schematic flow chart of another touch detection method provided in the embodiment of the present application, consistent with the embodiment shown in fig. 1, where as shown in the figure, the touch detection method includes:
s201, when the mobile terminal detects that the acceleration of the mobile terminal is changed from the gravity acceleration to zero and the mobile terminal is in a static state in a preset time period, determining that the falling event is ended.
S202, initializing a touch driving signal and a display driving signal of the touch display screen integrated circuit by the mobile terminal in a screen extinguishing state.
And S203, the mobile terminal outputs the touch driving signal and the display driving signal through a port corresponding to each pixel partition in the integrated circuit according to a preset sequence.
And S204, the mobile terminal respectively receives the touch driving signal and the response signal of the display driving signal of each pixel partition.
S205, the mobile terminal determines a fragmentation zone according to the response signal.
S206, when the mobile terminal detects that the first touch operation is a touch sliding operation, determining an initial position of the touch sliding operation.
And S207, when the mobile terminal detects that the starting position is located in the preset range of the fragmentation region, adjusting a first sliding distance of the touch sliding operation to be a second sliding distance, wherein the first sliding distance is smaller than the second sliding distance, and a sliding track corresponding to the second sliding distance comprises part or all of the fragmentation region.
S208, the mobile terminal determines the first touch operation as a second touch operation according to the second sliding distance.
It can be seen that, in the embodiment of the present application, when a mobile terminal detects that a drop event of the mobile terminal ends, the mobile terminal turns off the screen to detect the touch display screen, determines a fragmentation region of the touch display screen, adjusts a detection strategy for touch operation according to the fragmentation region, and determines a detected first touch operation as a second touch operation according to the adjusted detection strategy, where a touch region of the second touch operation includes part or all of the fragmentation region. Therefore, after the mobile terminal detects that the falling event is finished, the screen is turned off to detect the touch display screen without starting an application processor, so that the power consumption of the mobile terminal is reduced, the fragmentation area of the touch display screen is determined in time after the falling event is finished, the detection strategy for the touch operation is adjusted according to the fragmentation area, the detected first touch operation is determined as the second touch operation, namely the user performs the first touch operation instead when the user needs to perform the second touch operation comprising the fragmentation area, the user does not need to touch the fragmentation area during the touch operation, and the safety of the user during the touch operation is improved.
In addition, when the mobile terminal falls and finishes, the integrated circuit of the touch display screen realizes the automatic fragmentation detection of the touch display screen, so that the intelligent, convenient and real-time performance of the fragmentation detection is promoted, and the accuracy of falling data acquisition is promoted.
In addition, when the mobile terminal detects that the first touch operation is the touch sliding operation, whether the initial position of the touch sliding operation is located in the preset range of the fragmentation region is determined, so that the false adjustment of the first touch operation is avoided, and when the initial position is determined to be located in the preset range of the fragmentation region, it is determined that the sliding distance is short due to the fact that a user avoids sliding hurting a hand, therefore, the first sliding distance of the touch sliding operation is adjusted to be the second sliding distance, the second touch operation is further determined, and the accuracy of touch sliding operation detection is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of another touch detection method provided in the embodiment of the present application, consistent with the embodiment shown in fig. 1, as shown in the figure, the touch detection method includes:
s301, when the mobile terminal detects that the falling event of the mobile terminal is finished, the mobile terminal turns off the screen to detect the touch display screen.
S302, the mobile terminal determines a fragmentation area of the touch display screen.
S303, when detecting that the first touch operation is a touch click operation, the mobile terminal determines a first click position of the touch click operation.
S304, when detecting that the first click position is located in the preset range of the fragmentation region, the mobile terminal determines a plurality of reference click positions of which the distance parameters from the first click position are smaller than the preset distance threshold, wherein the plurality of reference click positions are located in the fragmentation region.
S305, the mobile terminal displays a plurality of operation objects corresponding to the reference click positions in the area of the touch display screen except the fragmentation area.
S306, the mobile terminal detects the selection operation of the user aiming at the reference operation objects.
S307, the mobile terminal determines a second click position according to the selection operation.
S308, the mobile terminal determines the first touch operation as a second touch operation according to the second click position.
It can be seen that, in the embodiment of the present application, when a mobile terminal detects that a drop event of the mobile terminal ends, the mobile terminal turns off the screen to detect the touch display screen, determines a fragmentation region of the touch display screen, adjusts a detection strategy for touch operation according to the fragmentation region, and determines a detected first touch operation as a second touch operation according to the adjusted detection strategy, where a touch region of the second touch operation includes part or all of the fragmentation region. Therefore, after the mobile terminal detects that the falling event is finished, the screen is turned off to detect the touch display screen without starting an application processor, so that the power consumption of the mobile terminal is reduced, the fragmentation area of the touch display screen is determined in time after the falling event is finished, the detection strategy for the touch operation is adjusted according to the fragmentation area, the detected first touch operation is determined as the second touch operation, namely the user performs the first touch operation instead when the user needs to perform the second touch operation comprising the fragmentation area, the user does not need to touch the fragmentation area during the touch operation, and the safety of the user during the touch operation is improved.
In addition, when the mobile terminal detects the touch click operation, whether the touch click operation is located in the preset range of the fragmentation region is determined firstly, so that misadjustment of the touch click operation is avoided, when the touch click operation is determined to be located in the preset range of the fragmentation region, click offset caused by injury of fingers of a user is avoided, or offset caused by insensitive touch of the fragmentation region is avoided, therefore, the first click position is adjusted to be the second click position, the second touch operation is determined, and accuracy and sensitivity of touch click operation identification are improved.
In addition, when the mobile terminal determines the multiple reference click positions according to the preset distance threshold and the first click position, the information of the multiple positions is displayed, and the user can select the position to be clicked through interactive operation with the user, so that the accuracy of adjustment of the first touch operation is further improved.
In accordance with the embodiments shown in fig. 1, fig. 2, and fig. 3, please refer to fig. 4, and fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application, where the mobile terminal includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps;
when the falling event of the mobile terminal is detected to be finished, turning off the screen to detect the touch display screen;
determining a fragmentation area of the touch display screen;
and adjusting a detection strategy aiming at touch operation according to the fragmentation region, wherein the adjusted detection strategy is used for determining the detected first touch operation as a second touch operation, and the touch region of the second touch operation comprises part or all of the fragmentation region.
It can be seen that, in the embodiment of the present application, when a mobile terminal detects that a drop event of the mobile terminal ends, the mobile terminal turns off the screen to detect the touch display screen, determines a fragmentation region of the touch display screen, adjusts a detection strategy for touch operation according to the fragmentation region, and determines a detected first touch operation as a second touch operation according to the adjusted detection strategy, where a touch region of the second touch operation includes part or all of the fragmentation region. Therefore, after the mobile terminal detects that the falling event is finished, the screen is turned off to detect the touch display screen without starting an application processor, so that the power consumption of the mobile terminal is reduced, the fragmentation area of the touch display screen is determined in time after the falling event is finished, the detection strategy for the touch operation is adjusted according to the fragmentation area, the detected first touch operation is determined as the second touch operation, namely the user performs the first touch operation instead when the user needs to perform the second touch operation comprising the fragmentation area, the user does not need to touch the fragmentation area during the touch operation, and the safety of the user during the touch operation is improved.
In one possible example, in terms of adjusting the detection policy for touch operations according to the fragmentation region, the instructions in the program are specifically configured to: when the first touch operation is detected to be a touch sliding operation, determining an initial position of the touch sliding operation; when the starting position is detected to be located within the preset range of the fragmentation region, adjusting a first sliding distance of the touch sliding operation to be a second sliding distance, wherein the first sliding distance is smaller than the second sliding distance, and a sliding track corresponding to the second sliding distance comprises a part of or all of the fragmentation region; and determining the first touch operation as the second touch operation according to the second sliding distance.
In one possible example, in terms of adjusting the detection policy for touch operations according to the fragmentation region, the instructions in the program are specifically configured to: when the first touch operation is detected to be a touch clicking operation, determining a first clicking position of the touch clicking operation; the fragmentation zone is used for detecting whether the first click position is located in a fragmentation zone preset range or not, and adjusting the first click position to be a second click position when the first click position is detected to be located in the fragmentation zone preset range, wherein a distance parameter between the second click position and the first click position is smaller than a preset distance threshold, and the second click position is located in the fragmentation zone; and the touch control unit is used for determining the first touch control operation as the second touch control operation according to the second click position.
In this possible example, in adjusting the first click position to a second click position, the instructions in the program are specifically configured to: determining a plurality of reference click positions of which the distance parameters from the first click position are smaller than the preset distance threshold, wherein the reference click positions are all located in the fragmentation region; the operation objects corresponding to the reference click positions are displayed in a region of the touch display screen except the fragmentation region; the system comprises a plurality of reference operation objects, a plurality of detection units and a control unit, wherein the reference operation objects are used for detecting selection operations of a user aiming at the reference operation objects; and the second click position is determined according to the selection operation.
In one possible example, in the aspect of turning off the screen and detecting the touch display screen when the end of the fall event of the mobile terminal is detected, the instructions in the program are specifically configured to perform the following operations: when the acceleration of the mobile terminal is detected to be changed from the gravity acceleration to zero and the mobile terminal is in a static state within a preset time period, determining that the falling event is ended; the touch control driving signal and the display driving signal are used for initializing the touch control display screen integrated circuit in a screen extinguishing state; the touch control driving signal and the display driving signal are output through a port corresponding to each pixel partition in the integrated circuit according to a preset sequence;
in the aspect of determining the fractured region of the touch display screen, the instructions in the program are specifically configured to perform the following operations: respectively receiving the touch driving signal and the response signal of the display driving signal of each pixel partition; and for determining the fragmentation zone from the response signal.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the mobile terminal includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the mobile terminal may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 5 is a block diagram of functional units of a touch detection device 500 according to an embodiment of the present application. The touch detection device 500 is applied to a mobile terminal, and the touch detection device 500 includes a detection unit 501, a determination unit 502, and an adjustment unit 503, wherein,
the detection unit 501 is configured to turn off the screen to detect the touch display screen when detecting that the falling event of the mobile terminal is finished;
the determining unit 502 is configured to determine a fragmentation region of the touch display screen;
the adjusting unit 503 is configured to adjust a detection policy for the touch operation according to the fragmentation region, where the adjusted detection policy is used to determine the detected first touch operation as a second touch operation, and a touch region of the second touch operation includes a part or all of the fragmentation region.
It can be seen that, in the embodiment of the present application, when a mobile terminal detects that a drop event of the mobile terminal ends, the mobile terminal turns off the screen to detect the touch display screen, determines a fragmentation region of the touch display screen, adjusts a detection strategy for touch operation according to the fragmentation region, and determines a detected first touch operation as a second touch operation according to the adjusted detection strategy, where a touch region of the second touch operation includes part or all of the fragmentation region. Therefore, after the mobile terminal detects that the falling event is finished, the screen is turned off to detect the touch display screen without starting an application processor, so that the power consumption of the mobile terminal is reduced, the fragmentation area of the touch display screen is determined in time after the falling event is finished, the detection strategy for the touch operation is adjusted according to the fragmentation area, the detected first touch operation is determined as the second touch operation, namely the user performs the first touch operation instead when the user needs to perform the second touch operation comprising the fragmentation area, the user does not need to touch the fragmentation area during the touch operation, and the safety of the user during the touch operation is improved.
In one possible example, in terms of adjusting the detection strategy for the touch operation according to the fragmentation region, the adjusting unit 503 is specifically configured to: when the first touch operation is detected to be a touch sliding operation, determining an initial position of the touch sliding operation; when the starting position is detected to be located within the preset range of the fragmentation region, adjusting a first sliding distance of the touch sliding operation to be a second sliding distance, wherein the first sliding distance is smaller than the second sliding distance, and a sliding track corresponding to the second sliding distance comprises a part of or all of the fragmentation region; and determining the first touch operation as the second touch operation according to the second sliding distance.
In this possible example, in terms of adjusting the detection strategy for the touch operation according to the fragmentation region, the adjusting unit 503 is specifically configured to: when the first touch operation is detected to be a touch clicking operation, determining a first clicking position of the touch clicking operation; the fragmentation zone is used for detecting whether the first click position is located in a fragmentation zone preset range or not, and adjusting the first click position to be a second click position when the first click position is detected to be located in the fragmentation zone preset range, wherein a distance parameter between the second click position and the first click position is smaller than a preset distance threshold, and the second click position is located in the fragmentation zone; and the touch control unit is used for determining the first touch control operation as the second touch control operation according to the second click position.
In this possible example, in terms of the adjustment of the first click position to the second click position, the adjusting unit 503 is specifically configured to: determining a plurality of reference click positions of which the distance parameters from the first click position are smaller than the preset distance threshold, wherein the reference click positions are all located in the fragmentation region; the operation objects corresponding to the reference click positions are displayed in a region of the touch display screen except the fragmentation region; the system comprises a plurality of reference operation objects, a plurality of detection units and a control unit, wherein the reference operation objects are used for detecting selection operations of a user aiming at the reference operation objects; and the second click position is determined according to the selection operation.
In a possible example, in the aspect of turning off the screen and detecting the touch display screen when the drop event of the mobile terminal is detected to end, the detecting unit 501 is specifically configured to: when the acceleration of the mobile terminal is detected to be changed from the gravity acceleration to zero and the mobile terminal is in a static state within a preset time period, determining that the falling event is ended; the touch control driving signal and the display driving signal are used for initializing the touch control display screen integrated circuit in a screen extinguishing state; the touch control driving signal and the display driving signal are output through a port corresponding to each pixel partition in the integrated circuit according to a preset sequence;
in the aspect of determining the fractured region of the touch display screen, the determining unit 502 is specifically configured to: respectively receiving the touch driving signal and the response signal of the display driving signal of each pixel partition; and for determining the fragmentation zone from the response signal.
The detecting unit 501 and the determining unit 502 may be a processor or a transceiver, and the adjusting unit 503 may be a processor or a touch screen.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a smart phone 600 according to an embodiment of the present application, where the smart phone 600 includes: the display device comprises a shell 610, a display 620 and a main board 630, wherein a front camera 631, a processor 632, a memory 633, a power management chip 634 and the like are arranged on the main board 630.
When the smart phone 600 detects that the falling event of the smart phone 600 is finished, turning off the screen to detect the touch display screen; determining a fragmentation area of the touch display screen; and adjusting a detection strategy aiming at touch operation according to the fragmentation region, wherein the adjusted detection strategy is used for determining the detected first touch operation as a second touch operation, and the touch region of the second touch operation comprises part or all of the fragmentation region.
The processor 632 is a control center of the smart phone, and is connected to various parts of the whole smart phone through various interfaces and lines, and executes various functions and processes data of the smart phone by running or executing software programs and/or modules stored in the memory 633 and calling data stored in the memory 633, thereby integrally monitoring the smart phone. Optionally, processor 632 may include one or more processing units; preferably, the processor 632 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 632. The Processor 632 may be, for example, a Central Processing Unit (CPU), a general purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor described above may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs and microprocessors, and the like.
The memory 633 can be used for storing software programs and modules, and the processor 632 executes various functional applications and data processing of the smart phone by running the software programs and modules stored in the memory 633. The memory 633 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the smartphone, and the like. Further, the memory 633 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. The Memory 633 may be, for example, a Random Access Memory (RAM), a flash Memory, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a register, a hard disk, a removable hard disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the touch detection methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to execute some or all of the steps of any one of the touch detection methods described in the above method embodiments, and the computer includes a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be performed by associated hardware as instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (8)

1. A touch detection method, the method comprising:
when the falling event of the mobile terminal is detected to be finished, turning off the screen to detect the touch display screen;
determining a fragmentation area of the touch display screen;
adjusting a detection strategy aiming at touch operation according to the fragmentation region, wherein the adjusted detection strategy is used for determining the detected first touch operation as a second touch operation, and the touch region of the second touch operation comprises part or all of the fragmentation region; the first touch operation is a touch operation for an area except the fragmentation area in the touch display screen;
wherein the adjusting the detection strategy for the touch operation according to the fragmentation region comprises: when the first touch operation is detected to be a touch clicking operation, determining a first clicking position of the touch clicking operation; when the first click position is detected to be located within the preset range of the fragmentation region, adjusting the first click position to be a second click position, wherein a distance parameter between the second click position and the first click position is smaller than a preset distance threshold, and the second click position is located in the fragmentation region; and determining the first touch operation as the second touch operation according to the second click position.
2. The method of claim 1, wherein adjusting the detection strategy for touch operations according to the fragmentation zone further comprises:
when the first touch operation is detected to be a touch sliding operation, determining an initial position of the touch sliding operation;
when the starting position is detected to be located within the preset range of the fragmentation region, adjusting a first sliding distance of the touch sliding operation to be a second sliding distance, wherein the first sliding distance is smaller than the second sliding distance, and a sliding track corresponding to the second sliding distance comprises a part of or all of the fragmentation region;
and determining the first touch operation as the second touch operation according to the second sliding distance.
3. The method of claim 1, wherein the adjusting the first click position to a second click position comprises:
determining a plurality of reference click positions of which the distance parameters from the first click position are smaller than the preset distance threshold, wherein the reference click positions are all located in the fragmentation region;
displaying a plurality of operation objects corresponding to the plurality of reference click positions in an area of the touch display screen except the fragmentation area;
detecting selection operation of a user for the plurality of operation objects;
and determining the second click position according to the selection operation.
4. The method according to any one of claims 1 to 3, wherein turning off the screen to detect the touch display screen when detecting that the falling event of the mobile terminal is over comprises:
when the acceleration of the mobile terminal is detected to be changed from the gravity acceleration to zero and the mobile terminal is in a static state within a preset time period, determining that the falling event is ended;
initializing a touch driving signal and a display driving signal of the touch display screen integrated circuit in a screen extinguishing state;
outputting the touch driving signal and the display driving signal through a port corresponding to each pixel partition in the integrated circuit according to a preset sequence;
the determining a fragmentation region of the touch display screen comprises:
respectively receiving the touch driving signal and the response signal of the display driving signal of each pixel partition;
determining the fragmentation zone from the response signal.
5. A touch detection device is characterized by comprising a detection unit, a determination unit and an adjustment unit, wherein:
the detection unit is used for turning off the screen to detect the touch display screen when the falling event of the mobile terminal is detected to be finished;
the determining unit is used for determining a fragmentation area of the touch display screen;
the adjusting unit is configured to adjust a detection strategy for touch operation according to the fragmentation region, where the adjusted detection strategy is used to determine a detected first touch operation as a second touch operation, and a touch region of the second touch operation includes part or all of the fragmentation region; the first touch operation is a touch operation for an area except the fragmentation area in the touch display screen;
wherein, in the aspect of adjusting the detection strategy for the touch operation according to the fragmentation region, the adjusting unit is specifically configured to: when the first touch operation is detected to be a touch clicking operation, determining a first clicking position of the touch clicking operation; the fragmentation zone is used for detecting whether the first click position is located in a fragmentation zone preset range or not, and adjusting the first click position to be a second click position when the first click position is detected to be located in the fragmentation zone preset range, wherein a distance parameter between the second click position and the first click position is smaller than a preset distance threshold, and the second click position is located in the fragmentation zone; and the touch control unit is used for determining the first touch control operation as the second touch control operation according to the second click position.
6. The apparatus according to claim 5, wherein in terms of the adjusting the detection strategy for touch operation according to the fragmentation zone, the adjusting unit is specifically configured to: when the first touch operation is detected to be a touch sliding operation, determining an initial position of the touch sliding operation; when the starting position is detected to be located within the preset range of the fragmentation region, adjusting a first sliding distance of the touch sliding operation to be a second sliding distance, wherein the first sliding distance is smaller than the second sliding distance, and a sliding track corresponding to the second sliding distance comprises a part of or all of the fragmentation region; and determining the first touch operation as the second touch operation according to the second sliding distance.
7. A mobile terminal, comprising: a processor, memory, and one or more programs; the one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method as described in any of claims 1-4.
8. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of claims 1-4, the computer comprising a mobile terminal.
CN201810397018.8A 2018-04-27 2018-04-27 Touch detection method and device Active CN108762996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810397018.8A CN108762996B (en) 2018-04-27 2018-04-27 Touch detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810397018.8A CN108762996B (en) 2018-04-27 2018-04-27 Touch detection method and device

Publications (2)

Publication Number Publication Date
CN108762996A CN108762996A (en) 2018-11-06
CN108762996B true CN108762996B (en) 2022-02-15

Family

ID=64012170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810397018.8A Active CN108762996B (en) 2018-04-27 2018-04-27 Touch detection method and device

Country Status (1)

Country Link
CN (1) CN108762996B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110045889A (en) * 2019-03-08 2019-07-23 维沃移动通信有限公司 A kind of display methods and mobile terminal
CN111782103B (en) * 2020-07-15 2022-02-08 网易(杭州)网络有限公司 Method, device, equipment and medium for adjusting position of interactive control

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9448375B2 (en) * 2007-07-16 2016-09-20 Trimble Navigation Limited Data collector with expanded functionality
CN103546643A (en) * 2013-10-31 2014-01-29 广东欧珀移动通信有限公司 Method and device for timely reminding user that mobile intelligent equipment falls off and is damaged
CN103955365B (en) * 2014-04-17 2017-08-25 小米科技有限责任公司 The method and device of control terminal when a kind of terminal is fallen
US9910540B2 (en) * 2015-04-13 2018-03-06 International Business Machines Corporation Management of a touchscreen interface of a device
CN104965620B (en) * 2015-07-10 2017-10-31 上海斐讯数据通信技术有限公司 A kind of touch-screen failure error correction method and system
CN105630643B (en) * 2015-08-26 2019-12-10 宇龙计算机通信科技(深圳)有限公司 Screen display method, screen display device and terminal
CN105183234B (en) * 2015-09-30 2018-06-29 上海斐讯数据通信技术有限公司 A kind for the treatment of method and apparatus of screen portions area failures
CN106527798A (en) * 2016-11-02 2017-03-22 珠海市魅族科技有限公司 Electronic equipment screen control method and electronic equipment
CN107239166B (en) * 2017-05-31 2020-01-17 厦门美图移动科技有限公司 Method for adjusting interface display of mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN108762996A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN107219976B (en) Application display method and related product
CN108415646B (en) Touch function setting method and device
US20190095059A1 (en) Method and device for processing application icon and electronic apparatus
CN108764056B (en) Brightness adjusting method and related product
CN107995357A (en) Resource allocation method and device
CN108170356B (en) Application split screen method and related product
CN107832142B (en) Resource allocation method and equipment for application program
CN108762996B (en) Touch detection method and device
CN103399959A (en) Display method of interactive control of webpage and terminal
CN107959759A (en) Electronic equipment, display control method and related product
CN107832111A (en) Game application control method and equipment
US20170192653A1 (en) Display area adjusting method and electronic device
US20200201923A1 (en) Information Recommendation Method, Terminal Device, and Server
CN109358927B (en) Application program display method and device and terminal equipment
CN105022633A (en) Solving method of hotkey conflict and terminal
CN110800277B (en) Call processing method and related product
CN108777735B (en) Display area adjusting method and related equipment
CN104503674A (en) Screenshot picture generating method
CN106909272B (en) Display control method and mobile terminal
CN106227534A (en) A kind of display screen division methods and terminal
CN104866193A (en) Terminal
CN105549857A (en) Control method for electronic terminal and electronic terminal
CN110771113B (en) Brushing amount terminal detection method and device
CN108595238B (en) Display control method and device of application interface
CN108415651B (en) Electronic equipment, display control method and related product

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