CN112987954B - Touch reporting method and device, electronic equipment and storage medium - Google Patents

Touch reporting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112987954B
CN112987954B CN201911286386.6A CN201911286386A CN112987954B CN 112987954 B CN112987954 B CN 112987954B CN 201911286386 A CN201911286386 A CN 201911286386A CN 112987954 B CN112987954 B CN 112987954B
Authority
CN
China
Prior art keywords
touch
lock point
radius
time difference
reporting
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
CN201911286386.6A
Other languages
Chinese (zh)
Other versions
CN112987954A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201911286386.6A priority Critical patent/CN112987954B/en
Publication of CN112987954A publication Critical patent/CN112987954A/en
Application granted granted Critical
Publication of CN112987954B publication Critical patent/CN112987954B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens

Landscapes

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

Abstract

The disclosure relates to a touch reporting method, a touch reporting device, electronic equipment and a storage medium. The touch reporting method comprises the following steps: when touch operation is detected, determining the occurrence time of the current touch point of the touch operation, wherein the occurrence time is the time difference between the time when the first touch point of the touch operation is detected and the current time; judging whether the time difference exceeds a preset time difference threshold value or not; if the time difference does not exceed the preset time difference threshold, reporting the coordinates of the current touch point according to the first lock point radius; if the time difference exceeds a preset time difference threshold, reporting the coordinates of the current touch point according to the second lock point radius; wherein the first lock point radius is greater than the second lock point radius. Through the method and the device, the stability of the reporting point is ensured, and meanwhile, the sensitivity of the reporting point is also ensured.

Description

Touch reporting method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of touch interaction, and in particular relates to a touch reporting method, a touch reporting device, electronic equipment and a storage medium.
Background
Currently, touch interaction technology is increasingly widely used. The touch interaction process mainly relates to the process of detecting and reporting touch points. The stability requirement on the report point in various application scenes of the touch interaction technology is higher and higher. For example, in a game scene, high sensitivity, low-delay quick response, stable point counting when not moving, excellent chirality when moving and no picture shake feeling are required for touch control.
However, the update of the touch point position may cause switching of the display screen. When the reporting point is not stable enough and the switching frequency is too frequent, the human eyes can sense that the jitter condition on the sense appears, and the user experience is influenced.
Disclosure of Invention
In order to overcome the problems in the related art, the disclosure provides a touch reporting method, a touch reporting device, an electronic device and a storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided a touch reporting method, including: when touch operation is detected, determining the occurrence time of the current touch point of the touch operation, wherein the occurrence time is the time difference between the time when the first touch point of the touch operation is detected and the current time; judging whether the time difference exceeds a preset time difference threshold value or not; if the time difference does not exceed the preset time difference threshold, reporting the coordinates of the current touch point according to the first lock point radius; if the time difference exceeds a preset time difference threshold, reporting the coordinates of the current touch point according to the second lock point radius; wherein the first lock point radius is greater than the second lock point radius.
In one embodiment, the preset time difference threshold is used to characterize the time from when the touch operation occurs until the touch reaches or approaches to be stationary.
In another embodiment, the touch reporting method further includes: when other touch points moving out of the current lock point range corresponding to the current lock point radius are detected, determining the moving speed of the other touch points, and re-determining the lock point radius according to the moving speed; and reporting the coordinates of other touch points according to the redetermined lock point radius.
In yet another embodiment, redefining the lock point radius according to the movement speed includes: determining a third lock point radius when the movement speed is greater than or equal to a specified speed threshold; determining a fourth lock point radius when the movement speed is less than the specified speed threshold; wherein the third lock point radius is less than the fourth lock point radius.
In yet another embodiment, determining the movement speed of the other touch points includes: determining the number of pixels moved in a specified number of frames by other touch points moving out of the current lock point range; and determining the moving speed of other touch points according to the number of pixels.
According to a second aspect of the embodiments of the present disclosure, there is provided a touch-control reporting device, including: the determining module is used for determining the occurrence time of the current touch point of the touch operation when the touch operation is detected, wherein the occurrence time is the time difference between the time when the first touch point of the touch operation is detected and the current time; the processing module is used for judging whether the time difference exceeds a preset time difference threshold value; if the time difference does not exceed the preset time difference threshold, reporting the coordinates of the current touch point according to the first lock point radius; if the time difference exceeds a preset time difference threshold, reporting the coordinates of the current touch point according to the second lock point radius; wherein the first lock point radius is greater than the second lock point radius.
In one embodiment, the preset time difference threshold is used to characterize the time from when the touch operation occurs until the touch reaches or approaches to be stationary.
In another embodiment, the determining module is further configured to: when other touch points moving out of the current lock point range corresponding to the current lock point radius are detected, determining the moving speed of the other touch points, and re-determining the lock point radius according to the moving speed; the processing module is also used for: and reporting the coordinates of other touch points according to the redetermined lock point radius.
In yet another embodiment, the determining module is further configured to: determining a third lock point radius when the movement speed is greater than or equal to a specified speed threshold; determining a fourth lock point radius when the movement speed is less than the specified speed threshold; wherein the third lock point radius is less than the fourth lock point radius.
In yet another embodiment, the determining module is further configured to: determining the number of pixels moved in a specified number of frames by other touch points moving out of the current lock point range; the processing module is also used for: and determining the moving speed of other touch points according to the number of pixels.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: a memory configured to store instructions; and the processor is configured to call the instruction to execute the touch control reporting method in any implementation manner of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, perform the touch reporting method described in any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: according to the touch reporting method, whether the occurrence time of the current touch point of the touch operation is within the preset protection time or not is judged, and the coordinate reporting of the current touch point according to the lock point radius is determined. By dynamically determining different lock point radiuses, the stability of reporting the coordinate points is ensured, and meanwhile, the sensitivity of reporting the coordinate points is also ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flowchart of a touch reporting method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flowchart of another touch reporting method according to an exemplary embodiment of the present disclosure;
FIG. 3 is a flowchart of yet another touch reporting method according to an exemplary embodiment of the present disclosure;
FIG. 4 is a flowchart of a touch reporting device according to an exemplary embodiment of the present disclosure;
fig. 5 is a block diagram of an apparatus according to an exemplary embodiment of the present disclosure.
Description of the embodiments
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The touch reporting method provided by the embodiment of the disclosure can be applied to a mobile terminal capable of interaction, such as a mobile phone or a tablet computer.
The touch interaction process is mainly a process of detecting and reporting touch points. The display screen is switched by updating the position of the touch point, so that reasonable updating of the position of the touch point has important significance for switching the display screen.
The embodiment of the disclosure can provide a touch control reporting method, which ensures the stability and sensitivity of coordinate reporting of a touch control point in a lock point range corresponding to the lock point radius by dynamically determining different lock point radii so as to realize reasonable updating of the touch control point.
Fig. 1 is a flowchart of a touch reporting method according to an exemplary embodiment of the present disclosure.
As shown in fig. 1, the touch report method includes step S101, step S102, step S103, and step S104. The following will describe the case of each step separately.
In step S101, when a touch operation is detected, an occurrence period of a current touch point of the touch operation is determined.
The occurrence duration is a time difference between the time when the first touch point of the touch operation is detected and the current time.
When the touch operation is generated, one or more touch points are generated in the whole process from the touch operation falling to the touch screen to the touch operation completion. When the touch operation is just performed on the touch screen, a touch point is first generated, namely the first touch point of the touch operation.
The time difference between the detected moment of the first touch point and the detected current moment of the current touch point is the occurrence time of the current touch point.
In step S102, it is determined whether the time difference exceeds a preset protection time difference threshold.
In step S103, if the time difference does not exceed the preset time difference threshold, reporting the coordinates of the current touch point according to the first lock point radius.
In step S104, if the time difference exceeds the preset time difference threshold, the coordinates of the current touch point are reported according to the second lock point radius. Wherein the first lock point radius is greater than the second lock point radius.
In the application process, the detected first touch point is used as a circle center, the radius of the lock point is used as a radius, and the formed circular area is the corresponding lock point range determined by the radius of the lock point. And uniformly reporting the coordinates of the touch points falling in the lock point range as the coordinates of the touch points serving as the circle centers of the lock point range. And reporting the coordinates of the touch points falling out of the lock point range according to the actual coordinates of the touch points.
The size of the lock point range, which is determined by the lock point diameter, can be understood as the size of Jitter. The Jitter is a parameter for controlling the stability of the report. In application, all touch points in the Jitter range can be output as the same report point in a unified way, namely the same coordinate (x, y) is output in a unified way, wherein the same coordinate which is output in a unified way is the coordinate of the touch point which is used as the center of the lock point range.
Under the touch operation under different conditions, the reporting requirements for the touch points are correspondingly different. The touch operation will be described by taking finger pressing as an example.
When the finger of the operator just falls down and touches the touch screen, the change of the pressing area of the finger is often tiny, and the touch screen reports multiple points. Since the points reported by the touch screen caused by the small change of the pressing area of the finger when the finger just falls down are actually caused by misoperation of the operator, that is, the points reported by the touch screen at this time can be understood as the same point which the operator intends to report. Therefore, for the initial stage of the pressing operation, the stability of the report point needs to be protected, and at this time, the Jitter range needs to be set larger, that is, the lock point diameter needs to be set larger. And the touch points falling in the range of the Jitter are uniformly output as the same reporting point, so that the stability of the reporting point is ensured.
The coordinates of the points that are uniformly output as the same report point can be determined according to the coordinates of the touch point that is the center of the circle of the Jitter range.
At this time, it can be understood that the finger of the operator has been fully pressed to the touch screen, i.e., has been pressed against the touch screen, for the initial stage of the non-pressing operation. At this time, the response capability of the touch point touch can be focused more, and the sensitivity of the touch point reporting can be improved. Thus, the Jitter range may be correspondingly reduced, i.e., the lock point diameter described herein may be correspondingly reduced. And the touch points falling in the range of the Jitter are uniformly output as the same reporting point, so that the sensitivity of the reporting point is ensured.
In this embodiment, whether the initial stage of the pressing operation is determined by determining whether the occurrence duration of the current touch point of the touch operation exceeds a preset time difference threshold. The preset time difference threshold value can be adjusted according to actual situations, and the size of the preset time difference threshold value is not specifically limited here.
For example, the preset time difference threshold may be preset as a time for processing 15 frames of pictures.
If the occurrence time of the current touch point does not exceed the preset time difference threshold, reporting the coordinates of the current touch point according to the first lock point radius. The current touch point falls into a lock point range corresponding to the first lock point radius, and the coordinates of the current touch point are reported according to the coordinates of the touch point serving as the circle center of the lock point range; if the current touch point exceeds the lock point range corresponding to the first lock point radius, in an embodiment, the current touch point may be reported according to the actual coordinates of the touch point.
The lock point range corresponding to the first lock point diameter is a larger Jitter range. For example, the first lock point radius may be 25 pixels in size. The size of the first lock point radius can be adjusted according to practical situations, and specific values of the first lock point radius are not limited.
If the occurrence time of the current touch point exceeds the preset time difference threshold, reporting the coordinates of the current touch point according to the second lock point radius. The current touch point falls into a lock point range corresponding to the second lock point radius, and the coordinates of the current touch point are reported according to the coordinates of the touch point serving as the circle center of the lock point range; if the current touch point exceeds the lock point range corresponding to the second lock point radius, in an embodiment, the current touch point may be reported according to the actual coordinates of the touch point.
The lock point range corresponding to the second lock point diameter is a smaller Jitter range. For example, the second lock point radius may be 10 pixels in size. The size of the second lock point radius can be adjusted according to practical situations, and specific values of the second lock point radius are not limited.
According to the touch reporting method, whether the occurrence time of the current touch point of the touch operation is within the preset protection time or not is judged, and the coordinate reporting of the current touch point according to the lock point radius is determined. If the occurrence time of the current touch point does not exceed the preset time difference threshold, reporting the coordinates of the current touch point according to the first lock point radius; and if the occurrence time of the current touch point exceeds the preset time difference threshold, reporting the coordinates of the current touch point according to the second lock point radius. By dynamically determining different lock point radiuses, the stability of reporting the coordinate points is ensured, and meanwhile, the sensitivity of reporting the coordinate points is also ensured.
In an exemplary embodiment of the present disclosure, the preset time difference threshold is used to characterize the time from when touch occurs until touch reaches or approaches to be stationary. The preset time difference threshold is an empirical value, and can be determined according to a summary of time elapsed by a large number of touch operations.
The process of generating the preset time difference threshold will be described by taking a touch operation as an example of finger pressing.
When the finger is fully pressed to the touch screen, the pressing operation gradually increases from the first touch point to a plurality of touch points until the number of the touch points is not increased. The process can be understood as the completion of the pressing operation, that is, the pressing operation is already performed on the touch screen, that is, the process from the touch to the touch reaching or tending to be stable. At this time, the time elapsed from the first touch point gradually increasing to the time when the number of touch points is no longer increasing is a preset time difference threshold.
As a modification, the preset time difference threshold may be comprehensively determined according to the time elapsed from the gradual increase of the first touch point to the time when the number of touch points is no longer increased by the multiple pressing operations. For example, an average value of the time elapsed from when the number of the first touch points gradually increases to when the number of the touch points no longer increases in the multiple pressing operations may be used as the preset time difference threshold.
Fig. 2 is a flowchart of another touch reporting method according to an exemplary embodiment of the present disclosure.
In an exemplary embodiment of the present disclosure, as shown in fig. 2, the touch report method may further include step S105 and step S106 in addition to step S101, step S102, step S103 and step S104. Step S105 and step S106 will be described below, respectively.
In step S105, when other touch points moving out of the current lock point range corresponding to the current lock point radius are detected, the moving speed of the other touch points is determined, and the lock point radius is redetermined according to the moving speed.
In step S106, the coordinates of other touch points are reported according to the redetermined lock point radius.
In the process of touch detection by the touch sensor according to a preset period, when other touch points moving out of the current lock point range corresponding to the current lock point radius are detected, other touch points outside the lock point range determined by the first lock point radius or other touch points outside the lock point range determined by the second lock point radius are detected. The movement of the touch point is formed by the operation of an operator, and compared with the reporting point in the non-movement process, the reporting point in the movement process often needs to pay more attention to the sensitivity of the reporting point, namely, the corresponding point can be accurately reported in response to the touch of the touch point.
Therefore, for the reporting point in the moving process, the lock point radius is redetermined, and the coordinates of other touch points are reported according to the redetermined lock point radius. At this time, the lock point range determined according to the redetermined lock point diameter is smaller than the lock point range corresponding to the touch point in the non-moving state. For example, the lock point range determined from the redetermined lock point diameter is less than the lock point range determined from the first lock point diameter or the lock point range determined from the second lock point diameter described above.
Further, the redetermined lock point radius is related to a movement speed of the touch point out of the current lock point range corresponding to the current lock point radius.
Fig. 3 is a flowchart of yet another touch reporting method according to an exemplary embodiment of the present disclosure.
In an exemplary embodiment of the present disclosure, as shown in fig. 3, in step S105, re-determining the lock point radius according to the moving speed includes: step S1051, step S1052, and step S1053. Step S1051, step S1052, and step S1053 will be described below, respectively.
In step S1051, it is determined whether the movement speed of the other touch points moving out of the current lock point range is greater than or equal to the specified speed threshold.
In step S1052, if the movement speed of the other touch points moving out of the current lock point range is greater than or equal to the specified speed threshold, a third lock point radius is determined.
In step S1053, if the movement speed of the other touch points moving out of the current lock point range is less than the specified speed threshold, a fourth lock point radius is determined.
Wherein the third lock point radius is less than the fourth lock point radius.
If the moving speed of other touch points moving out of the current lock point range is larger, for example, the moving speed is greater than or equal to the designated speed threshold, at this time, the reporting point needs to emphasize sensitivity, that is, the corresponding point can be accurately reported in response to the touch of the touch point. Therefore, the lock point radius needs to be correspondingly reduced at this time, so that the touch points falling into the lock point range determined by the lock point radius are reported according to the coordinates of the touch points serving as the circle centers of the lock point range, so as to ensure the sensitivity of reporting points.
The "the lock point radius needs to be correspondingly reduced" means that the lock point radius is the third lock point radius. Therefore, if the moving speed of other touch points moving out of the current lock point range is greater than or equal to the specified speed threshold, the touch points falling into the lock point range determined by the third lock point radius are reported according to the coordinates of the touch points serving as the circle centers of the lock point range.
Wherein the third lock point radius may be 1 pixel in size. The third lock point radius can be adjusted according to actual conditions, and specific values of the third lock point radius are not limited.
If the moving speed of other touch points moving out of the front lock point range is smaller, for example, the moving speed is smaller than the designated speed threshold, at this time, the sensitivity of reporting points needs to be emphasized as well. However, since the movement speed is less than the specified speed threshold, the requirement for the sensitivity of the reporting point may be relatively reduced with respect to the movement speed being greater than or equal to the specified speed threshold, and the stability of the reporting point may be considered at the same time. Therefore, the fourth lock point radius may be greater than or equal to the third lock point radius, and the touch points falling within the lock point range determined by the fourth lock point radius are reported according to the coordinates of the touch points as the center of the lock point range. The method is used for guaranteeing the sensitivity and stability of the reporting points.
The fourth lock point radius may be 4 pixels in size. The radius of the fourth lock point can be adjusted according to actual conditions, and specific values of the radius of the fourth lock point are not limited.
In an exemplary embodiment of the present disclosure, determining the movement speed of the other touch points includes: determining the number of pixels moved in a specified number of frames by other touch points moving out of the current lock point range; and determining the moving speed of other touch points according to the number of pixels.
The moving speed of the touch point is determined by calculating the number of pixels that other touch points moving out of the current lock point range move within a specified number of frames. For example, when the number of pixels moved by the touch point is 5 pixels in the time of 5 frames, then the moving speed of the other touch points moving out of the current lock point range is 5 pixels/5 frames.
If the specified speed threshold is 4 pixels/5 frames of pictures, the moving speed of other touch points moving out of the current lock point range is larger than the specified speed threshold, and at the moment, the coordinates of the other touch points are reported according to the radius of the third lock point.
If the specified speed threshold is 6 pixels/5 frames of pictures, the moving speed of other touch points moving out of the current lock point range is smaller than the specified speed threshold, and at the moment, the coordinates of the other touch points are reported according to the radius of the fourth lock point.
The specific speed threshold may be adjusted according to actual conditions, and the size of the specific speed threshold is not specifically limited here.
Fig. 4 is a flowchart of a touch reporting device according to an exemplary embodiment of the present disclosure.
Based on the same inventive concept, as shown in fig. 4, the touch reporting device includes: a determination module 201 and a processing module 202. The specific case of each module will be described below.
The determining module 201 is configured to determine, when a touch operation is detected, an occurrence duration of a current touch point of the touch operation.
The occurrence duration is a time difference between the time when the first touch point of the touch operation is detected and the current time.
The processing module 202 is configured to determine whether the time difference exceeds a preset time difference threshold.
If the time difference does not exceed the preset time difference threshold, reporting the coordinates of the current touch point according to the first lock point radius; if the time difference exceeds a preset time difference threshold, reporting the coordinates of the current touch point according to the second lock point radius; wherein the first lock point radius is greater than the second lock point radius.
In an exemplary embodiment of the present disclosure, the preset time difference threshold is used to characterize the time from when touch occurs until touch reaches or approaches to be stationary.
In an exemplary embodiment of the present disclosure, the determining module 201 is further configured to: and when other touch points moving out of the current lock point range corresponding to the current lock point radius are detected, determining the moving speed of the other touch points, and re-determining the lock point radius according to the moving speed.
The processing module 202 is further configured to: and reporting the coordinates of other touch points according to the redetermined lock point radius.
In an exemplary embodiment of the present disclosure, the determining module 201 is further configured to: determining a third lock point radius when the movement speed is greater than or equal to a specified speed threshold; determining a fourth lock point radius when the movement speed is less than the specified speed threshold; wherein the third lock point radius is less than the fourth lock point radius.
In an exemplary embodiment of the present disclosure, the determining module 201 is further configured to: determining the number of pixels moved in a specified number of frames by other touch points moving out of the current lock point range; the processing module 202 is further configured to: and determining the moving speed of other touch points according to the number of pixels.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 5 is a block diagram illustrating an apparatus for a touch reporting method according to an exemplary embodiment. For example, the apparatus may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and a communication component 1316.
The processing component 1302 generally controls overall operation of the device, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1302 can include one or more modules that facilitate interactions between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operations at the device. Examples of such data include instructions for any application or method operating on the device, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1304 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 1306 provides power to the various components of the device. The power components 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for devices.
The multimedia component 1308 includes a screen between the device and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the device is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the device is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 1314 includes one or more sensors for providing status assessment of various aspects of the device. For example, the sensor assembly 1314 may detect an on/off state of the device, a relative positioning of the components, such as a display and keypad of the device, the sensor assembly 1314 may also detect a change in position of the device or a component of the device, the presence or absence of user contact with the device, a change in device orientation or acceleration/deceleration, and a change in temperature of the device. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communication between the apparatus and other devices in a wired or wireless manner. The device may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 1304, including instructions executable by processor 1320 of the apparatus to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 1304, including instructions executable by processor 1320 of the apparatus to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
It is further understood that the term "plurality" in this disclosure means two or more, and other adjectives are similar thereto. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. The singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that although operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. The touch reporting method is characterized by comprising the following steps of:
when touch operation is detected, determining the occurrence time of the current touch point of the touch operation, wherein the occurrence time is the time difference between the time when the first touch point of the touch operation is detected and the current time;
judging whether the time difference exceeds a preset time difference threshold value or not;
if the time difference does not exceed the preset time difference threshold, reporting the coordinates of the current touch point according to the radius of the first lock point;
if the time difference exceeds the preset time difference threshold, reporting the coordinates of the current touch point according to the radius of the second lock point;
wherein the first lock point radius is greater than the second lock point radius;
when other touch points moving out of the current lock point range corresponding to the current lock point radius are detected, determining the moving speed of the other touch points, and re-determining the lock point radius according to the moving speed;
and reporting the coordinates of the other touch points according to the redetermined lock point radius.
2. The touch report method of claim 1, wherein,
the preset time difference threshold is used for representing the time from the touch operation to the touch operation reaching stability or tending to be stable.
3. The touch report method according to claim 1, wherein redetermining the lock point radius according to the moving speed comprises:
determining a third lock point radius when the movement speed is greater than or equal to a specified speed threshold;
determining a fourth lock point radius when the movement speed is less than a specified speed threshold;
wherein the third lock point radius is less than the fourth lock point radius.
4. The touch report method according to claim 1 or 3, wherein determining the movement speed of the other touch points includes:
determining the number of pixels moved in a specified number of frames by other touch points moving out of the current lock point range;
and determining the moving speed of the other touch points according to the pixel quantity.
5. The utility model provides a touch-control reporting device which characterized in that includes:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining the occurrence time of the current touch point of the touch operation when the touch operation is detected, and the occurrence time is the time difference between the time when the first touch point of the touch operation is detected and the current time; when other touch points moving out of the current lock point range corresponding to the current lock point radius are detected, determining the moving speed of the other touch points, and re-determining the lock point radius according to the moving speed;
the processing module is used for judging whether the time difference exceeds a preset time difference threshold value; if the time difference does not exceed the preset time difference threshold, reporting the coordinates of the current touch point according to the radius of the first lock point; if the time difference exceeds the preset time difference threshold, reporting the coordinates of the current touch point according to the radius of the second lock point; wherein the first lock point radius is greater than the second lock point radius; and reporting the coordinates of the other touch points according to the redetermined lock point radius.
6. The touch-sensitive reporting device of claim 5, wherein,
the preset time difference threshold is used for representing the time from the touch operation to the touch operation reaching stability or tending to be stable.
7. The touch reporting device of claim 5, wherein the determining module is further configured to:
determining a third lock point radius when the movement speed is greater than or equal to a specified speed threshold;
determining a fourth lock point radius when the movement speed is less than a specified speed threshold;
wherein the third lock point radius is less than the fourth lock point radius.
8. The touch-sensitive reporting device of claim 5 or 7, wherein,
the determining module is further configured to: determining the number of pixels moved in a specified number of frames by other touch points moving out of the current lock point range;
the processing module is further configured to: and determining the moving speed of the other touch points according to the pixel quantity.
9. An electronic device, the electronic device comprising:
a memory configured to store instructions; and
the processor is configured to invoke the instruction to execute the touch reporting method of any one of claims 1 to 4.
10. A non-transitory computer readable storage medium storing computer executable instructions which, when executed by a processor, perform the touch reporting method of any one of claims 1 to 4.
CN201911286386.6A 2019-12-13 2019-12-13 Touch reporting method and device, electronic equipment and storage medium Active CN112987954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911286386.6A CN112987954B (en) 2019-12-13 2019-12-13 Touch reporting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911286386.6A CN112987954B (en) 2019-12-13 2019-12-13 Touch reporting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112987954A CN112987954A (en) 2021-06-18
CN112987954B true CN112987954B (en) 2024-03-01

Family

ID=76342561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911286386.6A Active CN112987954B (en) 2019-12-13 2019-12-13 Touch reporting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112987954B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915151A (en) * 2012-10-17 2013-02-06 惠州Tcl移动通信有限公司 Method for adjusting sensitivity of touch screen and portable electronic device
CN105607832A (en) * 2015-12-21 2016-05-25 联想(北京)有限公司 Information processing method and electronic equipment
WO2016169480A1 (en) * 2015-04-23 2016-10-27 努比亚技术有限公司 Mobile terminal control method and device and computer storage medium
CN106406621A (en) * 2016-10-10 2017-02-15 努比亚技术有限公司 Mobile terminal and method of processing touch control operation for mobile terminal
CN106775389A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind for the treatment of method and apparatus of touch-control interaction
CN106775094A (en) * 2016-12-24 2017-05-31 珠海市魅族科技有限公司 Sensitivity of touch screen adjusting method and device
CN110162215A (en) * 2019-05-10 2019-08-23 Oppo广东移动通信有限公司 Control method, control device, electronic equipment and computer readable storage medium
CN110475000A (en) * 2019-08-08 2019-11-19 Oppo(重庆)智能科技有限公司 Touch screen report point methods and relevant device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150087638A (en) * 2014-01-22 2015-07-30 삼성전자주식회사 Method, electronic device and storage medium for obtaining input in electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915151A (en) * 2012-10-17 2013-02-06 惠州Tcl移动通信有限公司 Method for adjusting sensitivity of touch screen and portable electronic device
WO2016169480A1 (en) * 2015-04-23 2016-10-27 努比亚技术有限公司 Mobile terminal control method and device and computer storage medium
CN105607832A (en) * 2015-12-21 2016-05-25 联想(北京)有限公司 Information processing method and electronic equipment
CN106406621A (en) * 2016-10-10 2017-02-15 努比亚技术有限公司 Mobile terminal and method of processing touch control operation for mobile terminal
CN106775389A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind for the treatment of method and apparatus of touch-control interaction
CN106775094A (en) * 2016-12-24 2017-05-31 珠海市魅族科技有限公司 Sensitivity of touch screen adjusting method and device
CN110162215A (en) * 2019-05-10 2019-08-23 Oppo广东移动通信有限公司 Control method, control device, electronic equipment and computer readable storage medium
CN110475000A (en) * 2019-08-08 2019-11-19 Oppo(重庆)智能科技有限公司 Touch screen report point methods and relevant device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A Reconfigurable 40-to-67 dB SNR, 50-to-6400 Hz Frame-Rate, Column-Parallel Readout IC for Capacitive Touch-Screen Panels;Jun-Eun Park.etc;IEEE;全文 *
基于A/D的电容触摸按键电路设计;方献良;;宁波大学学报(理工版)(03);全文 *
多点触摸手势分析及识别算法的研究;王晓庆;陈戈;王栋;王春;;计算机科学(S1);全文 *

Also Published As

Publication number Publication date
CN112987954A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
US11061202B2 (en) Methods and devices for adjusting lens position
WO2017124773A1 (en) Gesture recognition method and device
US10318069B2 (en) Method for controlling state of touch screen, and electronic device and medium for implementing the same
CN107102772B (en) Touch control method and device
EP3176984B1 (en) Method and device for processing information
CN106802741B (en) Method and device for determining screen edge touch event and mobile terminal
EP3232301B1 (en) Mobile terminal and virtual key processing method
EP3379524A1 (en) View angle switching method and apparatus
EP3435218A1 (en) Method and device for displaying application, and storage medium
CN106547462B (en) Photographing control method and device and mobile terminal
CN107656694B (en) Display control method and device of user interface
CN111506234B (en) Method and device for preventing false touch of edge of touch screen, storage medium and electronic equipment
CN107832112B (en) Wallpaper setting method and device
CN109922203B (en) Terminal, screen off method and device
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN107203315B (en) Click event processing method and device and terminal
CN112987954B (en) Touch reporting method and device, electronic equipment and storage medium
CN106990893B (en) Touch screen operation processing method and device
CN112965653B (en) Touch position reporting method and device and electronic equipment
CN107515694B (en) Terminal control method and device and terminal
CN113253969A (en) Volume adjusting method and device and computer readable storage medium
CN106131403B (en) Touch focusing method and device
CN106547444B (en) Method and device for realizing screen capture and mobile terminal
CN108469926B (en) Equipment control method, device and equipment
CN110647281B (en) False touch prevention method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant