CN112711350A - Touch screen point reporting method and device, storage medium and mobile terminal - Google Patents

Touch screen point reporting method and device, storage medium and mobile terminal Download PDF

Info

Publication number
CN112711350A
CN112711350A CN202110026358.1A CN202110026358A CN112711350A CN 112711350 A CN112711350 A CN 112711350A CN 202110026358 A CN202110026358 A CN 202110026358A CN 112711350 A CN112711350 A CN 112711350A
Authority
CN
China
Prior art keywords
touch
touch position
reporting
determining
target
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.)
Pending
Application number
CN202110026358.1A
Other languages
Chinese (zh)
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202110026358.1A priority Critical patent/CN112711350A/en
Publication of CN112711350A publication Critical patent/CN112711350A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

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

Abstract

The embodiment of the application discloses a touch screen point reporting method, a touch screen point reporting device, a storage medium and a mobile terminal, wherein the method comprises the following steps: when touch operation on the touch screen is detected, acquiring a first touch position and a second touch position of the touch operation on the touch screen; judging whether the touch operation is a sliding operation or not based on the first touch position and the second touch position; if the touch operation is a sliding operation, reporting the first touch position and the second touch position; and determining a target touch position according to the first touch position and the second touch position, and reporting the target touch position. And predicting the subsequent touch position through the first touch position and the second touch position, thereby avoiding obtaining the touch position for many times, accelerating the reporting speed and further reducing the response time when the touch screen is touched for the first time.

Description

Touch screen point reporting method and device, storage medium and mobile terminal
Technical Field
The application relates to the technical field of communication, in particular to a touch screen point reporting method and device, a storage medium and a mobile terminal.
Background
In recent years, mobile terminals such as mobile phones, tablets, and personal digital assistants have been favored by users for portability, and users can operate the mobile terminals by operating means such as clicking, pressing, or sliding.
In the related art, when a user operates a touch screen, the touch screen needs to continuously acquire 7 to 9 touch positions when detecting that there is an operation, and then report the acquired touch positions, however, the acquisition of 7 to 9 times consumes a long time, and further, the response time of the first touch is long.
Disclosure of Invention
The embodiment of the application provides a touch screen point reporting method which can reduce the response time when the touch screen is touched for the first time.
The embodiment of the application provides a touch screen point reporting method, which comprises the following steps:
when touch operation on the touch screen is detected, acquiring a first touch position and a second touch position of the touch operation on the touch screen;
judging whether the touch operation is a sliding operation or not based on the first touch position and the second touch position;
if the touch operation is a sliding operation, reporting the first touch position and the second touch position;
and determining a target touch position according to the first touch position and the second touch position, and reporting the target touch position.
The embodiment of the present application further provides a touch screen's report device, which includes:
the acquisition module is used for acquiring a first touch position and a second touch position of the touch operation on the touch screen when the touch operation on the touch screen is detected;
the judging module is used for judging whether the touch operation is a sliding operation or not based on the first touch position and the second touch position;
the first reporting module is used for reporting the first touch position and the second touch position if the touch operation is a sliding operation;
and the second reporting module is used for determining a target touch position according to the first touch position and the second touch position and reporting the target touch position.
An embodiment of the present application further provides a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is enabled to execute the touch screen touch point reporting method described above.
The embodiment of the application further provides a mobile terminal, which includes a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the touch screen touch point reporting method by calling the computer program stored in the memory.
The touch screen point reporting method provided by the embodiment of the application comprises the following steps: when touch operation on the touch screen is detected, acquiring a first touch position and a second touch position of the touch operation on the touch screen; judging whether the touch operation is a sliding operation or not based on the first touch position and the second touch position; if the touch operation is a sliding operation, reporting the first touch position and the second touch position; and determining a target touch position according to the first touch position and the second touch position, and reporting the target touch position. And predicting the subsequent touch position through the first touch position and the second touch position, thereby avoiding obtaining the touch position for many times, accelerating the reporting speed and further reducing the response time when the touch screen is touched for the first time.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a first flowchart illustrating a touch screen touch point reporting method according to an embodiment of the present disclosure.
Fig. 2 is a second flowchart illustrating a touch screen touch point reporting method according to an embodiment of the present disclosure.
Fig. 3 is a schematic structural diagram of a touch screen touch point reporting device according to an embodiment of the present disclosure.
Fig. 4 is a specific structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
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. It is to be understood that the embodiments described are only a few embodiments of the present application and not all 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.
Referring to fig. 1, fig. 1 is a first flowchart illustrating a touch screen touch point reporting method according to an embodiment of the present disclosure. The touch screen point reporting method comprises the following steps:
step 101, when a touch operation on a touch screen is detected, acquiring a first touch position and a second touch position of the touch operation on the touch screen.
The first touch position and the second touch position corresponding to the touch operation of the user on the touch screen can be obtained according to the refresh rate of the screen. Specifically, the first touch position and the second touch position may be corresponding touch coordinates of the touch operation on the touch screen.
For example: the first touch position is (1,1), and the second touch position is (2, 2).
In some embodiments, the step of obtaining a first touch position and a second touch position of the touch operation on the touch screen includes:
(1) acquiring a touch position of the touch operation on the touch screen according to preset time;
(2) determining the touch position acquired for the first time as a first touch position, and determining the touch position acquired after the first touch position is acquired as a second touch position.
The preset duration may be time when the touch screen refreshes a frame of screen, for example, if the refresh rate of the touch screen is 60HZ/s, the preset duration is 1000 ms/60.
And 102, judging whether the touch operation is a sliding operation or not based on the first touch position and the second touch position.
And determining whether the operation type of the touch operation is a sliding operation according to the first touch position and the second touch position.
In some embodiments, the step of determining whether the touch operation is a sliding operation based on the first touch position and the second touch position includes:
(1) judging whether the touch positions of the first touch position and the second touch position are the same;
(2) and if the touch positions of the first touch position and the second touch position are different, determining that the touch operation is a sliding operation.
The method comprises the steps of determining whether the touch positions of the first touch position and the second touch position are the same, and if the touch positions of the first touch position and the second touch position are different, confirming that the touch operation of a user obtains two different touch positions within a preset time length. Therefore, when the touch positions of the first touch position and the second touch position are different, the touch operation can be determined to be a sliding operation.
And 103, reporting the first touch position and the second touch position if the touch operation is a sliding operation.
When the operation type of the touch operation is determined to be the sliding operation in step 102, the acquired first touch position and the acquired second touch position are reported first.
And 104, determining a target touch position according to the first touch position and the second touch position, and reporting the target touch position.
And predicting a subsequent touch position according to the first touch position and the second touch position, and reporting the predicted target touch position, namely reporting without waiting for the time of the refresh rate.
In some embodiments, the step of determining a target touch position according to the first touch position and the second touch position includes:
(1) determining a sliding direction and a sliding distance of the touch operation according to the first touch position and the second touch position;
(2) and determining the distance between the second touch position and the sliding direction as the position of the sliding distance, and determining the position as a target touch position.
And determining the sliding direction and the sliding distance of the touch operation according to the first touch position and the second touch position. Specifically, the first touch position is used as an initial position, a direction derived from the initial position to the second touch position is determined as a sliding direction, and the sliding distance is a distance from the first touch position to the second touch position.
Specifically, if the first touch position and the second touch position are coordinates of the touch operation on the touch screen, the sliding direction and the sliding distance can be determined according to the coordinates of the first touch position and the second touch position. For example: if the coordinate of the first touch position is (1,1) and the coordinate of the second touch position is (1,2), it can be determined that the sliding direction is the positive direction of the Y-axis, and the sliding distance is 1. The coordinates of the next target touch position may be determined to be (1, 3).
In some embodiments, after the step of reporting the target touch position, the method further includes:
and (1.1) updating the second touch position to be a first touch position, updating the target touch position to be a second touch position, returning to execute the steps of determining the target touch position according to the first touch position and the second touch position, and reporting the target touch position until touch operation cannot be detected.
Based on the hardware requirement of the touch screen, the touch positions are generally required to be acquired 7 to 9 times, so that whether other subsequent touch positions need to be predicted can be determined according to the actual condition of the hardware. If other subsequent touch positions need to be predicted, the second touch position is updated to the first touch position, the target touch position is updated to the second touch position, and the step 104 is executed again until the touch operation cannot be detected. And predicting and reporting a plurality of touch positions according to the circulation mode.
In some embodiments, after the step of reporting the target touch position, the method further includes:
and (1.1) determining and reporting a next touch position based on the target touch position, the sliding direction and the sliding distance.
When other subsequent touch positions are predicted, the touch position can also be determined by adopting the sliding direction and the sliding distance determined by the first touch position and the second touch position. I.e. without performing a cycling step, the operating pressure is reduced.
The touch screen point reporting method provided by the embodiment of the application comprises the following steps: when touch operation on the touch screen is detected, acquiring a first touch position and a second touch position of the touch operation on the touch screen; judging whether the touch operation is a sliding operation or not based on the first touch position and the second touch position; if the touch operation is a sliding operation, reporting the first touch position and the second touch position; and determining a target touch position according to the first touch position and the second touch position, and reporting the target touch position. And predicting the subsequent touch position through the first touch position and the second touch position, thereby avoiding obtaining the touch position for many times, accelerating the reporting speed and further reducing the response time when the touch screen is touched for the first time.
In some embodiments, as shown in fig. 2, a touch screen touch method is provided, where the touch screen touch method includes:
step 201, acquiring a touch position of a touch operation on the touch screen according to a preset time length.
The first touch position and the second touch position corresponding to the touch operation of the user on the touch screen can be obtained according to the refresh rate of the screen. Specifically, the first touch position and the second touch position may be corresponding touch coordinates of the touch operation on the touch screen.
Step 202, determining the first acquired touch position as a first touch position, and determining the touch position acquired after the first touch position is acquired as a second touch position.
The preset duration may be time when the touch screen refreshes a frame of screen, for example, if the refresh rate of the touch screen is 60HZ/s, the preset duration is 1000 ms/60.
Step 203, determine whether the touch positions of the first touch position and the second touch position are the same.
The method comprises the steps of determining whether the touch positions of the first touch position and the second touch position are the same, and if the touch positions of the first touch position and the second touch position are different, confirming that the touch operation of a user obtains two different touch positions within a preset time length. Therefore, when the touch positions of the first touch position and the second touch position are different, the touch operation can be determined to be a sliding operation.
Step 204, if the touch positions of the first touch position and the second touch position are different, determining that the touch operation is a sliding operation.
Step 205, reporting the first touch position and the second touch position if the touch operation is a sliding operation.
When it is determined in step 204 that the operation type of the touch operation is the sliding operation, the acquired first touch position and the acquired second touch position are reported first.
Step 206, determining a sliding direction and a sliding distance of the touch operation according to the first touch position and the second touch position.
And predicting a subsequent touch position according to the first touch position and the second touch position, and reporting the predicted target touch position, namely reporting without waiting for the time of the refresh rate.
And step 207, determining the distance between the second touch position and the sliding direction as the sliding distance as the target touch position, and reporting the target touch position.
And determining the sliding direction and the sliding distance of the touch operation according to the first touch position and the second touch position. Specifically, the first touch position is used as an initial position, a direction derived from the initial position to the second touch position is determined as a sliding direction, and the sliding distance is a distance from the first touch position to the second touch position.
For example, if the first touch position and the second touch position are coordinates of the touch operation on the touch screen, the sliding direction and the sliding distance may be determined according to the coordinates of the first touch position and the second touch position. For example: if the coordinate of the first touch position is (1,1) and the coordinate of the second touch position is (1,2), it can be determined that the sliding direction is the positive direction of the Y-axis, and the sliding distance is 1. The coordinates of the next target touch position may be determined to be (1, 3).
Based on the hardware requirement of the touch screen, the touch positions are generally required to be acquired 7 to 9 times, so that whether other subsequent touch positions need to be predicted can be determined according to the actual condition of the hardware. If other subsequent touch positions need to be predicted, the second touch position is updated to the first touch position, the target touch position is updated to the second touch position, and the step 104 is executed again until the touch operation cannot be detected. And predicting and reporting a plurality of touch positions according to the circulation mode.
Step 208, determining whether a touch operation is detected. If so, go to step 209, otherwise, end the process.
Step 209, update the second touch position to the first touch position, update the target touch position to the second touch position, and return to step 205.
Based on the hardware requirement of the touch screen, the touch positions are generally required to be acquired 7 to 9 times, so that whether other subsequent touch positions need to be predicted can be determined according to the actual condition of the hardware. If other subsequent touch positions need to be predicted, the second touch position is updated to the first touch position, the target touch position is updated to the second touch position, and the step 205 is executed again until the touch operation cannot be detected. And predicting and reporting a plurality of touch positions according to the circulation mode.
As can be seen from the above, in the embodiment of the present application, when the touch operation on the touch screen is detected, a first touch position and a second touch position of the touch operation on the touch screen are obtained; judging whether the touch operation is a sliding operation or not based on the first touch position and the second touch position; if the touch operation is a sliding operation, reporting the first touch position and the second touch position; and determining a target touch position according to the first touch position and the second touch position, and reporting the target touch position. And predicting the subsequent touch position through the first touch position and the second touch position, thereby avoiding obtaining the touch position for many times, accelerating the reporting speed and further reducing the response time when the touch screen is touched for the first time.
In order to better implement the touch screen touch point reporting method provided by the embodiment of the present application, in an embodiment, a touch screen touch point reporting device is further provided. The meaning of the noun is the same as that in the touch screen touch point reporting method, and specific implementation details can refer to the description in the method embodiment.
In some embodiments, there is also provided a touch screen touch pointing device, as shown in fig. 3, the touch screen touch pointing device may include: an obtaining module 301, a determining module 302, a first reporting module 303, a second reporting module 304, and the like.
An obtaining module 301, configured to obtain a first touch position and a second touch position of a touch operation on a touch screen when the touch operation on the touch screen is detected;
a determining module 302, configured to determine whether the touch operation is a sliding operation based on the first touch position and the second touch position;
a first reporting module 303, configured to report the first touch position and the second touch position if the touch operation is a sliding operation;
a second reporting module 304, configured to determine a target touch location according to the first touch location and the second touch location, and report the target touch location.
In an embodiment, the second reporting module 304 includes:
the first determining submodule is used for determining the sliding direction and the sliding distance of the touch operation according to the first touch position and the second touch position;
and the second determining submodule is used for determining the distance between the second touch position and the sliding direction as the position of the sliding distance as the target touch position.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, in the point reporting method of the touch screen in the embodiment of the present application, when the touch operation on the touch screen is detected, the obtaining module 301 obtains a first touch position and a second touch position of the touch operation on the touch screen; the determining module 302 determines whether the touch operation is a sliding operation based on the first touch position and the second touch position; if the touch operation is a sliding operation, the first reporting module 303 reports the first touch position and the second touch position; the second reporting module 304 determines a target touch position according to the first touch position and the second touch position, and reports the target touch position. And predicting the subsequent touch position through the first touch position and the second touch position, thereby avoiding obtaining the touch position for many times, accelerating the reporting speed and further reducing the response time when the touch screen is touched for the first time.
Based on the above method, the present invention also provides a storage medium having a plurality of instructions stored thereon, wherein the instructions are adapted to be loaded by a processor and to perform the photographing method as described above.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Fig. 4 is a block diagram showing a specific structure of a terminal according to an embodiment of the present invention, where the terminal may be used to implement the shooting method, the storage medium, and the terminal provided in the above embodiments.
As shown in fig. 4, the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the mobile terminal 1200 configuration illustrated in fig. 4 is not intended to be limiting of the mobile terminal 1200 and may include more or less components than those illustrated, or some components in combination, or a different arrangement of components. Wherein:
the RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuit 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with a second device over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network.
The memory 120 may be used to store software programs and modules, such as program instructions/modules corresponding to the touch screen reporting method, device, storage medium and mobile terminal in the above embodiments, and the processor 180 executes various functional applications and data processing by running the software programs and modules stored in the memory 120, so as to implement the function of mutual chip identification. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or a second non-volatile solid-state memory. In some examples, memory 120 may be a storage medium as described above.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller.
The display unit 140 may be used to display information input by or provided to the user and various graphic user interfaces of the mobile terminal 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141, and further, the touch-sensitive surface 131 may cover the display panel 141. The display interface of the mobile terminal in the above embodiment may be represented by the display unit 140, that is, the display content for displaying the shot may be displayed by the display unit 140.
The mobile terminal 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and a second sensor. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the mobile terminal 1200 is moved to the ear. As for the second sensor such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 1200, the detailed description is omitted here.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the mobile terminal 1200.
The mobile terminal 1200, which can help a user send and receive e-mails, browse web pages, access streaming media, etc., provides the user with wireless broadband internet access through the transmission module 170.
The processor 180 is a control center of the mobile terminal 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Specifically, the processor 180 includes: an Arithmetic Logic Unit (ALU), an application processor, a Global Positioning System (GPS) and a control and status Bus (Bus) (not shown).
The mobile terminal 1200 also includes a power supply 190 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 180 via a power management system in some embodiments to provide management of power, and power consumption via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a re-power system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein.
Specifically, in the present embodiment, the display unit 140 of the mobile terminal 1200 is a touch screen display, and the mobile terminal 1200 further includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs configured to be executed by the one or more processors 180 include instructions for:
when touch operation on the touch screen is detected, acquiring a first touch position and a second touch position of the touch operation on the touch screen;
judging whether the touch operation is a sliding operation or not based on the first touch position and the second touch position;
if the touch operation is a sliding operation, reporting the first touch position and the second touch position;
and determining a target touch position according to the first touch position and the second touch position, and reporting the target touch position.
In some embodiments, when determining the target touch position according to the first touch position and the second touch position, the processor 380 may further execute instructions for:
determining a sliding direction and a sliding distance of the touch operation according to the first touch position and the second touch position;
and determining the distance between the second touch position and the sliding direction as the position of the sliding distance, and determining the position as a target touch position.
In some embodiments, when obtaining the first touch position and the second touch position of the touch operation on the touch screen, the processor 380 may further execute the following instructions:
acquiring a touch position of the touch operation on the touch screen according to preset time;
determining the touch position acquired for the first time as a first touch position, and determining the touch position acquired after the first touch position is acquired as a second touch position.
In some embodiments, after reporting the target touch position, the processor 380 may further execute the following instructions:
and updating the second touch position to be a first touch position, updating the target touch position to be a second touch position, returning to execute the steps of determining the target touch position according to the first touch position and the second touch position, and reporting the target touch position until touch operation cannot be detected.
In some embodiments, after reporting the target touch position, the processor 380 may further execute the following instructions:
and determining and reporting a next touch position based on the target touch position, the sliding direction and the sliding distance.
In some embodiments, when determining whether the touch operation is a sliding operation based on the first touch position and the second touch position, the processor 380 may further execute instructions to:
judging whether the touch positions of the first touch position and the second touch position are the same;
and if the touch positions of the first touch position and the second touch position are different, determining that the touch operation is a sliding operation.
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.
The touch screen point reporting method, the touch screen point reporting device, the touch screen point reporting storage medium and the mobile terminal provided by the embodiment of the application are introduced in detail, a specific example is applied in the description to explain the principle and the implementation manner of the application, and the description of the embodiment is only used for helping to understand the technical scheme and the core idea of the application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (10)

1. A touch screen point reporting method is characterized by comprising the following steps:
when touch operation on the touch screen is detected, acquiring a first touch position and a second touch position of the touch operation on the touch screen;
judging whether the touch operation is a sliding operation or not based on the first touch position and the second touch position;
if the touch operation is a sliding operation, reporting the first touch position and the second touch position;
and determining a target touch position according to the first touch position and the second touch position, and reporting the target touch position.
2. The touch screen touch point reporting method of claim 1, wherein the step of determining the target touch position according to the first touch position and the second touch position comprises:
determining a sliding direction and a sliding distance of the touch operation according to the first touch position and the second touch position;
and determining the distance between the second touch position and the sliding direction as the position of the sliding distance, and determining the position as a target touch position.
3. The touch screen touch point reporting method of claim 1, wherein the step of obtaining the first touch position and the second touch position of the touch operation on the touch screen comprises:
acquiring a touch position of the touch operation on the touch screen according to preset time;
determining the touch position acquired for the first time as a first touch position, and determining the touch position acquired after the first touch position is acquired as a second touch position.
4. The touch screen point reporting method according to claim 3, further comprising, after the step of reporting the target touch position:
and updating the second touch position to be a first touch position, updating the target touch position to be a second touch position, returning to execute the steps of determining the target touch position according to the first touch position and the second touch position, and reporting the target touch position until touch operation cannot be detected.
5. The touch screen point reporting method according to claim 3, further comprising, after the step of reporting the target touch position:
and determining and reporting a next touch position based on the target touch position, the sliding direction and the sliding distance.
6. The touch screen touch point reporting method according to claim 1, wherein the step of determining whether the touch operation is a sliding operation based on the first touch position and the second touch position comprises:
judging whether the touch positions of the first touch position and the second touch position are the same;
and if the touch positions of the first touch position and the second touch position are different, determining that the touch operation is a sliding operation.
7. A touch screen point reporting device, comprising:
the acquisition module is used for acquiring a first touch position and a second touch position of the touch operation on the touch screen when the touch operation on the touch screen is detected;
the judging module is used for judging whether the touch operation is a sliding operation or not based on the first touch position and the second touch position;
the first reporting module is used for reporting the first touch position and the second touch position if the touch operation is a sliding operation;
and the second reporting module is used for determining a target touch position according to the first touch position and the second touch position and reporting the target touch position.
8. The touch screen point reporting device of claim 7, wherein the second reporting module comprises:
the first determining submodule is used for determining the sliding direction and the sliding distance of the touch operation according to the first touch position and the second touch position;
and the second determining submodule is used for determining the distance between the second touch position and the sliding direction as the position of the sliding distance as the target touch position.
9. A computer-readable storage medium, in which a computer program is stored, which, when run on a computer, causes the computer to execute the touch screen touch point reporting method according to any one of claims 1 to 6.
10. A mobile terminal, characterized in that the mobile terminal comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the touch screen touch point reporting method according to any one of claims 1 to 6 by calling the computer program stored in the memory.
CN202110026358.1A 2021-01-08 2021-01-08 Touch screen point reporting method and device, storage medium and mobile terminal Pending CN112711350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110026358.1A CN112711350A (en) 2021-01-08 2021-01-08 Touch screen point reporting method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110026358.1A CN112711350A (en) 2021-01-08 2021-01-08 Touch screen point reporting method and device, storage medium and mobile terminal

Publications (1)

Publication Number Publication Date
CN112711350A true CN112711350A (en) 2021-04-27

Family

ID=75548640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110026358.1A Pending CN112711350A (en) 2021-01-08 2021-01-08 Touch screen point reporting method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN112711350A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445235A (en) * 2016-09-30 2017-02-22 维沃移动通信有限公司 Touch starting position identification method and mobile terminal
CN106547400A (en) * 2016-10-31 2017-03-29 广东欧珀移动通信有限公司 The method of reporting information, device and terminal
CN108089813A (en) * 2018-01-12 2018-05-29 广东欧珀移动通信有限公司 Processing method, device, electronic equipment and the storage medium of touch screen drawing operation
CN108108054A (en) * 2017-12-29 2018-06-01 努比亚技术有限公司 Predict that method, equipment and the computer of user's slide can storage mediums
CN110764652A (en) * 2019-10-25 2020-02-07 深圳市康冠商用科技有限公司 Infrared touch screen and touch point prediction method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445235A (en) * 2016-09-30 2017-02-22 维沃移动通信有限公司 Touch starting position identification method and mobile terminal
CN106547400A (en) * 2016-10-31 2017-03-29 广东欧珀移动通信有限公司 The method of reporting information, device and terminal
CN108108054A (en) * 2017-12-29 2018-06-01 努比亚技术有限公司 Predict that method, equipment and the computer of user's slide can storage mediums
CN108089813A (en) * 2018-01-12 2018-05-29 广东欧珀移动通信有限公司 Processing method, device, electronic equipment and the storage medium of touch screen drawing operation
CN110764652A (en) * 2019-10-25 2020-02-07 深圳市康冠商用科技有限公司 Infrared touch screen and touch point prediction method thereof

Similar Documents

Publication Publication Date Title
CN105975190B (en) Graphical interface processing method, device and system
CN112229507A (en) Ambient light detection method and device, storage medium and mobile terminal
CN108984066B (en) Application icon display method and mobile terminal
CN109085968B (en) Screen capturing method and terminal equipment
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
WO2020192322A1 (en) Display method and terminal device
CN111240451B (en) Heat dissipation method, electronic device and computer-readable storage medium
CN110837343A (en) Snapshot processing method and device and terminal
CN112749074A (en) Test case recommendation method and device
US11327639B2 (en) Split view exiting method, split view exiting device, and electronic device
CN111026457B (en) Hardware configuration method and device, storage medium and terminal equipment
CN106454083B (en) Image acquisition method and device of mobile terminal and mobile terminal
CN111064847B (en) False touch prevention method and device, storage medium and electronic equipment
CN111556248A (en) Shooting method, shooting device, storage medium and mobile terminal
CN111404242A (en) Charging method, charging device, storage medium and mobile terminal
CN111045737A (en) Equipment identifier acquisition method and device, terminal equipment and storage medium
CN110851014A (en) Touch identification method and device, storage medium and terminal equipment
CN115348256A (en) Posting data downloading method and device, storage medium and electronic equipment
CN111182153B (en) System language setting method and device, storage medium and mobile terminal
CN112711350A (en) Touch screen point reporting method and device, storage medium and mobile terminal
CN112199050A (en) Storage method, device, storage medium and terminal equipment
CN111787228A (en) Shooting method, shooting device, storage medium and mobile terminal
CN111601036B (en) Camera focusing method and device, storage medium and mobile terminal
CN111343335A (en) Image display processing method, system, storage medium and mobile terminal
CN110618798A (en) Multi-screen display method, multi-screen device, storage medium and terminal equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210427

RJ01 Rejection of invention patent application after publication