CN113448482A - Sliding response control method and device of touch screen and electronic equipment - Google Patents

Sliding response control method and device of touch screen and electronic equipment Download PDF

Info

Publication number
CN113448482A
CN113448482A CN202010219561.6A CN202010219561A CN113448482A CN 113448482 A CN113448482 A CN 113448482A CN 202010219561 A CN202010219561 A CN 202010219561A CN 113448482 A CN113448482 A CN 113448482A
Authority
CN
China
Prior art keywords
point data
current
report point
data
predicted
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
CN202010219561.6A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010219561.6A priority Critical patent/CN113448482A/en
Priority to PCT/CN2021/080095 priority patent/WO2021190314A1/en
Publication of CN113448482A publication Critical patent/CN113448482A/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/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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

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

Abstract

The embodiment of the application provides a sliding response control method and device of a touch screen and electronic equipment. The present application relates to the field of machine learning. The method comprises the following steps: when receiving current report point data in a current report point period, judging whether report point prediction is carried out or not; if yes, judging whether the current report point data meets a preset condition; wherein the preset condition comprises that the current point data is generated by a MOVE event; if the preset conditions are met, predicting the next report point data based on the cached report point data to obtain predicted report point data; and replacing the current report point data with the predicted report point data in a current report point period, and reporting the current report point data to foreground application so as to enable the foreground application to trigger sliding response operation in advance. According to the technical scheme, the hand-following response time of the electronic equipment is shortened.

Description

Sliding response control method and device of touch screen and electronic equipment
Technical Field
The present disclosure relates to the field of touch technologies, and in particular, to a method and an apparatus for controlling a sliding response of a touch screen, and an electronic device.
Background
The hand-following response time is a key index for measuring touch experience, and in a human body sensible range, the hand-following response time is shortened, the hand-following chirality can be improved, and the touch experience of a user is improved; meanwhile, mobile phone manufacturers and media evaluation pay more and more attention to the chiral property.
The tracking performance refers to a time delay from the Touch of a user on a Touch screen (TP) to the display of end-to-end processing on the Touch screen, and is end-to-end performance data, which can reflect the overall comprehensive processing performance of the mobile phone. Firstly, the time delay from the time when the screen is touched by a hand to the time when the TP kernel layer is scanned to the point, namely the first point delay; secondly, after transmitting report point data of the kernel layer to an input subsystem, encapsulating time delay transmitted to a User Interface (UI) window in the input subsystem; then, the UI control responds to the time delay of triggering UI drawing and Render thread rendering of the report point event; then, sending the rendering end to an Android layer synthesis module (Surface flag, abbreviated as SF) for synthesis; and finally, the synthesized data is sent to a touch screen for displaying, and the integral following property time delay is formed by the time delays, so that the following property can be improved by each section of improvement.
In the prior art, a scheme for improving the sliding tracking ability can reduce the time consumption of the TP side by improving the first point fast reporting, for example, improving the TP scanning frequency, for example, a black shark mobile phone of a mobile phone manufacturer, and increasing the TP scanning frequency to 240HZ, so as to improve the time delay from touching the touch screen to reporting the first point reporting data to the input subsystem. However, the requirement for the touch screen is increased, and the cost is increased. The other type of the improved sliding tracking performance can reduce the delay time from an input subsystem to a User Interface (UI) through improving the frequency point of a Central Processing Unit (CPU), and improve the tracking response. For example, cell phones such as cell phone manufacturers samsung S10 and millet 9 have increased CPU frequency points for key threads from an input subsystem to a UI. But this approach increases the power consumption of the electronic device.
Disclosure of Invention
The embodiment of the application provides a sliding response control method and device of a touch screen and an electronic device, and shortens the hand-following response time of the electronic device.
In a first aspect of the embodiments of the present application, a method for controlling a sliding response of a touch screen is provided, where the method includes: when receiving current report point data in a current report point period, judging whether report point prediction is carried out or not; if yes, judging whether the current report point data meets a preset condition; wherein the preset condition comprises that the current point data is generated by a MOVE event; if the preset conditions are met, predicting the next report point data based on the cached report point data to obtain predicted report point data; and replacing the current report point data with the predicted report point data in the current report point period and reporting the current report point data to foreground application so that the foreground application triggers sliding response operation in advance.
In one possible design, the determining whether to perform the hit prediction includes: determining the current sliding speed according to the current report point data and the cached report point data; the current sliding speed is the sliding speed of the sampling moment corresponding to the current report point data; judging whether the current sliding speed is within a preset sliding speed range or not; if yes, determining to carry out point reporting prediction; if not, determining not to carry out report point prediction.
In one possible design, the predicting the next point data based on the buffered point data to obtain the predicted point data includes: determining a prediction algorithm according to the current application scene; determining the predicted hit data based on the prediction algorithm; wherein the predictive algorithm comprises a machine learning based algorithm.
In one possible design, the predicting the next point data based on the buffered point data to obtain the predicted point data includes: calculating the acceleration of the current report point data at the corresponding touch point position on the touch screen according to the sliding speed and the report point period of each buffered report point data at the corresponding touch point position on the touch screen; determining a predicted position track of the next report point data on the touch screen according to a predicted time interval; determining a predicted position of the next report point data on the predicted position track based on the acceleration of the current report point data on the position of the corresponding touch point on the touch screen; determining the predicted hit data based on the predicted location; and the predicted time interval refers to the time from the position of the corresponding touch point on the touch screen of the current report point data to the predicted position in a sliding mode.
In one possible design, the predicted time interval is determined based on a current application scenario.
In one possible design, the determining whether to perform the hit prediction includes: and judging whether the current application scene is the application scene suitable for report point prediction.
The judging whether the preset condition is met further comprises: and judging whether the number of the buffered report point data meets the report point prediction requirement or not.
In one possible design, the method further includes: when receiving current report point data in a current report point period, if report point prediction is not performed, reporting the current report point data to the foreground application in the current report point period.
In one possible design, replacing the current reporting point data with the predicted reporting point data to report to a foreground application in the current reporting point period includes: and storing the current report point data into a designated area for the foreground application to obtain.
In one possible design, the method further includes: and the foreground application distributes the acquired current newspaper point data to a window control of the foreground application so that the foreground control triggers the foreground application to respond to sliding operation in advance according to the current newspaper point data.
In one possible design, the method further includes: if the current report point data is generated by a DOWN event or a MOVE event, caching the current report point data; if the current report point data is generated by the UP event, clearing the buffered report point data.
In one possible design, the method further includes: if the position of the corresponding touch point on the touch screen of the predicted reporting point data exceeds the boundary of the touch screen, the predicted reporting point data is adjusted based on the boundary of the touch screen.
In one possible design, the method further includes: determining the direction of a sliding track according to each cached report point data; and if the position of the corresponding touch point on the touch screen of the predicted reporting point data is opposite to the direction of the sliding track, adjusting the predicted reporting point data.
In a second aspect of the embodiments of the present application, a sliding response control device for a touch screen is provided, including: the report point prediction determining module is used for judging whether report point prediction is carried out or not when current report point data is received in a current report point period;
the preset condition judgment module is used for judging whether the current report point data meets a preset condition or not if the judgment result of the report point prediction determination module is yes; wherein the preset condition comprises that the current point data is generated by a MOVE event; the predicted report point data algorithm module is used for predicting the next report point data based on the cached report point data to obtain predicted report point data if the judgment result of the report point prediction determining module meets the preset condition; and a report point data reporting module, configured to replace the current report point data with the predicted report point data in the current report point period and report the current report point data to a foreground application, so that the foreground application triggers a sliding response operation in advance.
In a third aspect of the embodiments of the present application, there is provided an electronic device, including: the electronic device comprises a memory and a processor, wherein the memory is used for storing information comprising program instructions, and the processor is used for controlling the execution of the program instructions.
In a fourth aspect of the embodiments of the present application, there is provided a storage medium, including: the storage medium comprises a stored program, and is characterized in that when the program runs, the device where the storage medium is located is controlled to execute a sliding response control method of the touch screen.
Compared with the prior art, the technical scheme at least has the following beneficial effects:
according to the sliding response control method of the touch screen provided by the embodiment of the application, when the current report data is received in the current report period, whether the preset condition is met is judged, and the preset condition at least comprises that the current report data is generated by a MOVE event; if yes, further judging whether to carry out point reporting prediction; if the report point prediction is carried out, predicting the next report point data according to the cached report point data to obtain predicted report point data. And then replacing the current report point data with the predicted report point data in the current report point period and reporting the current report point data to foreground application so that the foreground application triggers a sliding response operation in advance. Therefore, the touch screen can start sliding response at least one hit period ahead, and the system delay time from the input subsystem to the UI window meeting the sliding threshold can be reduced.
Further, whether the current application scene of the electronic equipment is suitable for the application scene of point reporting prediction is judged, if yes, when point reporting prediction is carried out, a corresponding prediction algorithm can be selected according to the current application scene, and the received point reporting data is processed by the selected prediction algorithm, so that the predicted point reporting data is obtained.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating a coordinate position of a touch-pointing event on a touch screen in a sliding response control method for a touch screen;
fig. 3 is a schematic flowchart of a sliding response control method of a touch screen according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram illustrating a coordinate position of a click event on a touch screen in a sliding response control method of the touch screen according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a module of an input subsystem in a sliding response control method of a touch screen according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an embodiment of a sliding response control device of a touch screen according to the present application.
Detailed Description
The terminology used in the description of the embodiments section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Referring to fig. 1, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be an open mobile electronic device platform (OMTP) standard interface of 3.5mm, or a Cellular Telecommunications Industry Association (CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also called a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
As described in the background section, chiral energy delays include: 1) the time delay from the touch screen to the Kernel layer to scan the head point of the touch point, namely the head point time delay; 2) transmitting the report point data of the Kernel layer to an input subsystem, and transmitting the report point data of the Kernel layer to a UI window by the input subsystem; 3) the UI space responds to the time delay of triggering UI drawing and Render thread rendering by the report point event; 4) delay from rendering end to SF synthesis; 5) and transmitting the synthesized data to a touch screen for displaying. The time delay of the five stages forms the integral time delay of the tracking performance.
The technical scheme of the application mainly aims at improving the time delay of the second stage (namely, the time delay of the transmission of the report point data of the Kernel layer to the input subsystem and the transmission of the report point data of the Kernel layer to the UI window by the input subsystem), and reducing the system delay part time of the input subsystem to the UI window, wherein the system delay part time meets the sliding threshold value.
Fig. 2 is a schematic diagram of a coordinate position of a click event on a touch screen in a sliding response control method of the touch screen. Referring to fig. 2, a coordinate system of the touch screen based on the electronic device is shown in fig. 2 with a vertex of a lower left corner of the touch screen as an origin and directions of an X axis and a Y axis.
The electronic device can be a mobile phone, a watch, a tablet computer and other devices with a touch screen. A hardware structure of an electronic device may refer to the embodiment described in fig. 1.
Referring to fig. 1 and fig. 2 in combination, when a user performs a touch operation on the touch screen of the electronic device shown in fig. 1, the touch sensor 180K may detect the touch operation performed by the user on the touch screen. The touch sensor 180K may pass the detected touch operation to the application processor to determine the touch event type. Specifically, in the process from the beginning of the user touching the touch screen to the lifting of the hand through sliding, the click events generated by the Kernel layer sequentially include: a DOWN event, a number of MOVE events, and an UP event, where the number of MOVE events depends on the time that the screen is touched.
In fig. 2, a location point 1 is a corresponding coordinate location of the DOWN event on the touch screen, and a location point 2, a location point 3, and a location point 4 are corresponding coordinate locations of the MOVE event on the touch screen after the DOWN event. In the current UI sliding scenario, the touch screen needs to reach a sliding response threshold when starting to respond to the touch sliding of the user, that is, after the DOWN event, the touch screen can trigger the sliding response only when the subsequent MOVE event reaches a certain threshold.
Continuing with fig. 2, assuming that the user reports the click data generated by the MOVE event to the UI window when the user slides to the location point 4 during the sliding process, and at this time, the distance between the location point 4 and the location point 1 satisfies the sliding response threshold, the touch screen starts to respond to the sliding in the click period corresponding to the location point 4.
Fig. 3 is a flowchart illustrating a method for controlling a sliding response of a touch screen according to an embodiment of the present disclosure. Referring to fig. 3, the method includes:
step 301, when receiving current report point data in a current report point period, judging whether report point prediction is carried out or not;
step 302, if yes, judging whether the current report point data meets a preset condition; wherein the preset condition comprises that the current point data is generated by a MOVE event;
step 303, if a preset condition is met, predicting the next report point data based on the cached report point data to obtain predicted report point data;
and step 304, replacing the current report point data with the predicted report point data in the current report point period, and reporting the current report point data to foreground application so that the foreground application triggers a sliding response operation in advance.
It should be noted that the main execution body of each step of the sliding response control method described in this embodiment is an input subsystem.
In this embodiment, a report point prediction function is added on the basis of the existing sliding response control method, that is, when the input subsystem receives current report point data in a current report point period, it is determined whether to perform report point prediction. If the report point prediction is determined not to be carried out, the processing is still carried out according to the existing sliding response control method. If the point reporting prediction is determined, further judging whether the current point reporting data meets a preset condition, wherein the preset condition comprises that the current point reporting data is generated by a MOVE event. If so, the sliding response control method according to the embodiment is used for processing, so that when the predicted next click data meets the sliding response threshold, the touch screen can start the sliding response at least one click cycle ahead of time, and the system delay time from the input subsystem to the UI window meeting the sliding threshold can be reduced.
As shown in step 301, when the current time period receives the current time data, it is determined whether to perform time prediction.
Specifically, the method comprises the following steps:
step 3011, determining a current sliding speed according to the current report point data and the buffered report point data; the current sliding speed is the sliding speed of the sampling moment corresponding to the current report point data;
step 3012, determining whether the current sliding speed is within a preset sliding speed range;
step 3013, if yes, determining to perform point reporting prediction;
and step 3014, if not, determining not to perform point reporting prediction.
In this embodiment, the input subsystem may determine, according to the received current report point data, a position of a touch point on the touch screen corresponding to the current report point data. The current slip speed may then be determined in conjunction with the buffered tick data and the current tick data. The cached touch data comprises touch data corresponding to a DOWN event and touch data corresponding to a MOVE event, which are generated by a Kernel layer when a user touches a touch screen. And when the Kernel layer generates an UP event, the user is indicated to finish the sliding operation, and the cache is emptied at the moment. The implementation manner of the cache may be to write the breakpoint data corresponding to the DOWN event and the MOVE event into the queue for caching.
For example, according to a distance between a touch point position corresponding to a previous report data on the touch screen and a touch point position corresponding to the current report data on the touch screen, and a time interval of a report period of the two adjacent report data (i.e., the previous report data and the current report data), a sliding speed (i.e., the current sliding speed) of the user sliding on the touch screen to a sampling time corresponding to the current report data can be calculated.
And then, judging whether the current sliding speed is in a preset sliding speed range. Wherein the preset sliding speed range can be preset and set by the input subsystem. If the current sliding speed is within a preset sliding speed range, determining to carry out report point prediction; and if the current sliding speed is not within the preset sliding speed range, determining not to predict the report point.
When a user slides to the position of the touch point corresponding to the current report data on the touch screen, if the current sliding speed is too high, the report data generated by the subsequent MOVE event can quickly reach a sliding response threshold value, so that report prediction can not be carried out, and the processing still can be carried out according to the existing sliding response control method; if the current sliding speed is too slow, the problem that clicking is easy to change into sliding when point reporting prediction is carried out, namely, the clicking operation of the user is wrongly judged as the sliding operation. Only when the current sliding speed meets the preset sliding speed range (namely, the current sliding speed is neither too fast nor too slow), the next MOVE event report data is considered to possibly reach the sliding response threshold value, and report prediction is determined.
Further, the determining whether to perform the point reporting prediction includes: and judging whether the current application scene is the application scene suitable for report point prediction. Specifically, an application scene white list may be set, and all application scenes suitable for report point prediction are included in the application scene white list. The electronic device can identify a current application scene 1 (for example, a game, browsing a webpage, operating an APP, and the like) of the electronic device when the user operates the touch screen, and determine whether the current application scene is an application scene in an application scene white list.
If yes, determining whether the current report point data meets a preset condition; wherein the preset condition comprises that the current tick data was generated by a MOVE event.
In this embodiment, the input subsystem needs to determine whether a preset condition is satisfied for current point reporting data received in a current point reporting period, where the preset condition includes that the current point reporting data is generated by a MOVE event. It can be appreciated from the embodiment described above with respect to fig. 2 that no point prediction is required for point data generated by a DOWN event or an UP event.
If the predetermined condition is satisfied, the next point report data is predicted based on the buffered point report data to obtain predicted point report data, as shown in step 303.
In one embodiment, this step comprises:
3031, determining a prediction algorithm according to the current application scene;
step 3032, determining the prediction report point data based on the prediction algorithm; wherein the predictive algorithm comprises a machine learning based algorithm.
A prediction algorithm is determined based on the current application scenario, as depicted in step 3031.
The sliding response control method described in this embodiment may be applied to various application scenarios of the electronic device, including but not limited to: 2D application scenarios, game scenarios, stylus scenarios, as well as handle application scenarios with associated Bluetooth or wireless peripherals, etc. The manner of determining the current application scene may be determined according to a foreground application, for example, if the foreground application is a game APP, the current application scene is determined to be the game scene. The current application scene may also be determined according to an application area (e.g., a multi-window, a split-screen scene, etc.) activated at a corresponding position on the touch screen by the touch point data.
Determining the predicted reward point data based on the prediction algorithm, as described in step 3032; wherein the predictive algorithm comprises a machine learning based algorithm.
In this embodiment, the prediction algorithm may be based on a machine learning algorithm, and the prediction algorithm is implemented by establishing a deep learning model and training the deep learning model, so that the trained deep learning model outputs prediction report data.
In another embodiment, the method comprises the steps of:
3033, calculating the acceleration of the current report point data at the corresponding touch point position on the touch screen according to the sliding speed and the report point period of each buffered report point data at the corresponding touch point position on the touch screen;
3034, determining a predicted position track of the next report point data on the touch screen according to the predicted time interval; wherein the prediction time interval is determined based on the prediction algorithm;
3035, determining the predicted position of the next report point data on the predicted position track based on the acceleration of the current report point data on the position of the corresponding touch point on the touch screen;
step 3036, determining the prediction report point data based on the prediction position; and the predicted time interval refers to the time from the position of the corresponding touch point on the touch screen of the current report point data to the predicted position in a sliding mode.
Fig. 4 is a schematic diagram of a coordinate position of a click event on a touch screen in a sliding response control method of the touch screen according to an embodiment of the present application.
Referring to fig. 4, a location point 1 is a corresponding coordinate location of the DOWN event on the touch screen, and location points 2 and 3 are corresponding coordinate locations of the MOVE event on the touch screen after the DOWN event, respectively. The position point 3 is a coordinate position on the touch screen corresponding to the current report point data received by the input subsystem in the current report point period.
As shown in step 3033, the input subsystem calculates a formula according to the sliding speed and the touch-off period of each cached touch-off data at the corresponding touch point position (including position point 1, position point 2, and position point 3) on the touch screen, and according to the acceleration:
Figure BDA0002425597890000131
and calculating the acceleration of the current report point data at the corresponding touch point position (namely the position point 3) on the touch screen, wherein a is the acceleration, Δ v is the sliding speed variation and Δ t is the time interval.
For example, if the sliding velocity at position point 2 is v2, the sliding velocity at position point 3 is v3, and the time interval between position point 2 and position point 3 is one tick period T, the acceleration at position point 3 is
Figure BDA0002425597890000141
For another example, if the sliding velocity at position point 1 is v2, the sliding velocity at position point 3 is v3, and the time interval between position point 1 and position point 3 is 2 tick cycles 2T, the acceleration at position point 3 is obtained
Figure BDA0002425597890000142
As shown in step 3034, determining a predicted position trajectory of the next report point data on the touch screen according to the predicted time interval; wherein the predicted time interval is determined based on the prediction algorithm, and the predicted time interval is the time from the current hit data sliding to the predicted position at the corresponding touch point position on the touch screen. The preset time intervals corresponding to different application scenes are different.
According to the distance calculation formula
Figure BDA0002425597890000143
Where s is the distance between the current report point data and the next report point data, v0The sliding speed of the current report point data, t is the prediction time interval, and a is the acceleration of the current report point data.
In practical application, a deep learning model can be further established, and the deep learning model is trained, so that the trained deep learning model can determine a predicted position track of next report point data on the touch screen based on a predicted time interval.
With continued reference to fig. 4, based on the distance calculation formula, the predicted position track of the next report data on the touch screen may be determined according to the predicted time interval, the sliding speed and the acceleration of the position point 3. The predicted position track is a section of circular arc with the position point 3 as the center of a circle and s as the radius.
The predicted position of the next hit point data on the predicted position trajectory is determined based on the acceleration of the current hit point data at the corresponding touch point position on the touch screen in step 2035.
With continued reference to fig. 4, based on the predicted position track determined in step 2034, the predicted position of the next hit data on the predicted position track is further determined according to the acceleration of the current hit data at the corresponding touch point position (i.e., position point 3) on the touch screen.
The acceleration is a vector, the direction of the sliding track from the current report point data to the next report point data can be predicted according to the acceleration direction on the position point 3, and then the predicted position of the next report point data is determined on the predicted position track. As shown in fig. 4, a position point 4 (a position point 4 with a diagonal line in a circle) is determined on the predicted position trajectory as the predicted position on the predicted position trajectory, based on the acceleration direction of the position point 3.
The predicted hit data is determined based on the predicted location, as described in step 2036.
Based on the above steps, the corresponding touch point position (the position point 4 with the oblique line in the circle) of the predicted touch point data on the touch screen, and the sliding speed and the acceleration on the position point 4 can be determined.
In step 304, the current report point data is replaced with the predicted report point data in the current report point period and reported to the foreground application, so that the foreground application triggers a sliding response operation in advance.
Specifically, in this embodiment, no matter whether a distance between a touch point position corresponding to the predicted report point data (e.g., a position point 4 with an oblique line in a circle in fig. 4) on the touch screen and a touch point position corresponding to a first report point data (e.g., a position point 1 in fig. 4) on the touch screen satisfies a sliding response threshold, the input subsystem reports the predicted report point data as the current report point data to the foreground application in the current report point period. And the foreground application reports the predicted report point data to a UI window through internal processing.
For example, the input subsystem may store the current newspaper point data in a designated area for retrieval by the foreground application. And the foreground application distributes the acquired current newspaper point data to a window control of the foreground application so that the foreground control triggers the foreground application to respond to sliding operation in advance according to the current newspaper point data.
And if the distance between the touch point position corresponding to the predicted report point data reported in the current report point period on the touch screen and the touch point position corresponding to the first report point data on the touch screen does not meet the sliding response threshold, the UI window does not trigger the sliding response operation. However, as long as the predicted report point data is reported to the foreground application as the current report point data every time in the current report point period, the predicted report point data is closer to the sliding response threshold than the received current report point data, so that the UI window can trigger the sliding response operation in advance.
And if the distance between the touch point position corresponding to the predicted report point data reported in the current report point period on the touch screen and the touch point position corresponding to the first report point data on the touch screen meets a sliding response threshold value, reporting the predicted report point data as the current report point data to foreground application in the current report point period, and further triggering a sliding response operation by a UI window. That is, the UI window will trigger a sliding response operation at least one tick period ahead.
Further, in this embodiment, in the step 301, the determining whether the preset condition is met further includes:
and judging whether the number of the buffered report point data meets the report point prediction requirement or not.
Specifically, in order to improve the accuracy of the report point prediction, the present application provides a method for predicting the next report point data on the basis that the number of buffered report point data meets a certain number requirement. In this embodiment, the number of the point data is set to 2, that is, when the number of the buffered point data (for example, the point data generated by the MOVE event or the point data generated by combining the DOWN event and the MOVE event) is at least 2, the point prediction processing is performed again. It can be understood that the greater the number of buffered point data, the greater the accuracy of predicting the next point data based on the buffered point data.
In addition, in this embodiment, if the determination result in the step 302 is no, that is, when the current report point data is received in the current report point period, if the report point prediction is not performed, the current report point data is reported to the foreground application in the current report point period.
As described above, in this embodiment, a report point prediction function is added on the basis of the existing sliding response control method, so that if report point prediction is not performed, processing is still performed according to the existing sliding response control method, that is, the input subsystem reports the current report point data received in the current report point period to the foreground application.
Further, in this embodiment, the method further includes: if the current report point data is generated by a DOWN event or a MOVE event, caching the current report point data; if the current report point data is generated by the UP event, clearing the buffered report point data.
When a user starts to touch the touch screen and slides until the hand is lifted, the click events generated by the Kernel layer sequentially comprise: a DOWN event, a number of MOVE events, and an UP event. If the current report point data is generated by a DOWN event or a MOVE event, the report point data needs to be cached, so that the cached report point data can be acquired to predict the next report point data when the report point prediction is performed. If the current report point data is generated by the UP event, the user is indicated to finish the sliding operation on the touch screen at this time, and the cached report point data is emptied.
Further, in this embodiment, the method further includes: if the position of the corresponding touch point on the touch screen of the predicted reporting point data exceeds the boundary of the touch screen, the predicted reporting point data is adjusted based on the boundary of the touch screen.
In a possible embodiment, the coordinate position range is determined based on the length and width boundaries of the touch screen, and if the coordinate position of the corresponding touch point position of the predicted touch point data on the touch screen obtained according to the prediction algorithm exceeds the coordinate position range of the boundaries of the display area of the touch screen, the predicted touch point data needs to be adjusted.
For example, if the coordinate position of the touch point position corresponding to the predicted newspaper point data on the touch screen exceeds the coordinate position range of the display area boundary of the touch screen, an intersection point exists between the sliding track of the predicted position corresponding to the predicted newspaper point data and the display area boundary of the touch screen, and the coordinate position corresponding to the intersection point may be used as the coordinate position of the touch point position corresponding to the predicted newspaper point data on the touch screen.
Further, in this embodiment, the method further includes:
determining the direction of a sliding track according to each cached report point data;
and if the position of the corresponding touch point on the touch screen of the predicted reporting point data is opposite to the direction of the sliding track, adjusting the predicted reporting point data.
Specifically, as described in the above embodiment, the sliding track direction of the user on the touch screen may be determined according to the corresponding touch point position on the touch screen of each buffered trace point data and the sliding speed and acceleration at the corresponding touch point position. For example, as shown in fig. 4, the slide track directions of the position point 1, the position point 2, and the position point 3 are shown as the arrow directions of the slide track in the figure.
And if the corresponding touch point position of the predicted report point data on the touch screen calculated according to the prediction algorithm is opposite to the sliding track direction. For example, with continued reference to fig. 4, if the predicted hit data is returned to the sliding track between position point 2 and position point 3 or returned to the sliding track between position point 1 and position point 2 at the corresponding touch point position on the touch screen, the predicted hit data is considered to be erroneous. The predicted reporting point data may then need to be adjusted, for example, the predicted reporting point data may be recalculated.
Fig. 5 is a schematic structural diagram of a module of an input subsystem in a sliding response control method of a touch screen according to an embodiment of the present disclosure.
Referring to fig. 5, the input subsystem 5 includes: an input subsystem management module 51, a service communication module (including a first service communication module 521 and a second service communication module 522), and a touch core module 53. The first service communication module 521 and the second service communication module 522 are newly added modules.
The input subsystem management module 51 includes an input subsystem read module 511, an input subsystem schedule module 512, and an input subsystem transmit module 513. A prediction algorithm module 531 is added to the touch core module 53, and the prediction algorithm module 531 includes a plurality of prediction algorithms (e.g., prediction algorithm 1, prediction algorithm 2, and prediction algorithm 3) suitable for different application scenarios of the electronic device.
Specifically, unlike the existing input subsystem, in this embodiment, the function of the input subsystem transmission module 513 is modified, and when the report prediction processing is executed, the received report data is transmitted to the second service communication module 522 through the first service communication module 521, and then the second service communication module 522 transmits the report data to the prediction algorithm module 531 in the touch core module 53, and an adaptive prediction algorithm is selected based on the application scenario of the electronic device, and then the received report data is processed by using the prediction algorithm, so as to obtain the predicted report data. Then, the touch core module 53 feeds back the predicted report point data to the input subsystem management module 51 through the second service communication module 522 and the first service communication module 521, and reports the report point data to the foreground application through the input subsystem 5.
Fig. 6 is a schematic structural diagram of an embodiment of a sliding response control device of a touch screen according to the present application.
Referring to fig. 6, the sliding response control device 6 of the touch screen includes: a report point prediction determining module 61, configured to determine whether to perform report point prediction when receiving current report point data in a current report point period; a preset condition determining module 62, configured to determine whether the current report data meets a preset condition if the determination result of the report prediction determining module is yes; wherein the preset condition comprises that the current point data is generated by a MOVE event; a predicted report point data algorithm module 63, configured to predict, if a determination result of the report point prediction determination module meets a preset condition, next report point data based on the buffered report point data, so as to obtain predicted report point data; a report data reporting module 64, configured to replace the current report data with the predicted report data in the current report cycle and report the current report data to a foreground application, so that the foreground application triggers a sliding response operation in advance.
Wherein, the report point prediction determining module 61 includes: a sliding speed determining unit 611, configured to determine a current sliding speed according to the current report point data and the buffered report point data; the current sliding speed is the sliding speed of the sampling moment corresponding to the current report point data; a sliding speed determination unit 612, configured to determine whether the current sliding speed is within a preset sliding speed range; a hit prediction determination unit 613, configured to determine to perform hit prediction if the determination result of the sliding speed determination unit is yes; and if the judgment result of the sliding speed judgment unit is negative, determining not to carry out report point prediction.
The report point prediction determining module 61 is further configured to determine whether the current application scenario is an application scenario suitable for report point prediction.
In one embodiment, the prediction report data algorithm module 63 includes: the acceleration determining unit 631 is configured to calculate, according to the sliding speed and the pointing period of each cached pointing data at the corresponding touch point position on the touch screen, an acceleration of the current pointing data at the corresponding touch point position on the touch screen; a predicted position trajectory determination unit 632, configured to determine a predicted position trajectory of the next report data on the touch screen according to the predicted time interval; wherein the prediction time interval is determined based on the prediction algorithm; a predicted position determining unit 633, configured to determine, based on an acceleration of the current touch point data at a corresponding touch point position on the touch screen, a predicted position of the next touch point data on the predicted position track; a predicted report data determining unit 634 for determining the predicted report data based on the predicted position; and the predicted time interval refers to the time from the position of the corresponding touch point on the touch screen of the current report point data to the predicted position in a sliding mode.
In another embodiment, the prediction report data algorithm module 63 includes: a prediction algorithm determining unit (not shown) for determining a prediction algorithm according to a current application scenario; a predicted hit data determination unit (not shown) for determining the predicted hit data based on the prediction algorithm; wherein the predictive algorithm comprises a machine learning based algorithm.
The preset condition determining module 62 is further configured to determine whether the number of buffered report point data meets the report point prediction requirement.
The report point data reporting module 64 is further configured to report the current report point data to a foreground application in the current report point period if the report point prediction is not performed when the current report point data is received in the current report point period.
The device 6 further comprises: a buffer processing module (not shown) for buffering the current point data if the current point data is generated by a DOWN event or a MOVE event; if the current report point data is generated by the UP event, clearing the buffered report point data.
The device 6 further comprises: an exception handling module (not shown) is configured to adjust the predicted touch point reporting data based on a boundary of the touch screen if a corresponding touch point position of the predicted touch point reporting data on the touch screen exceeds the boundary of the touch screen.
The device 6 further comprises: a rollback protection processing module (not shown) for determining a sliding track direction according to all received report point data; and if the position of the corresponding touch point on the touch screen of the predicted reporting point data is opposite to the direction of the sliding track, adjusting the predicted reporting point data.
In the above embodiments, the detailed description of each module in the sliding response control device 6 of the touch screen may refer to the detailed description in the above method embodiments, and is not repeated herein.
The embodiment of the application provides an electronic device, which comprises a memory and a processor, wherein the memory is used for storing information comprising program instructions, the processor is used for controlling the execution of the program instructions, and the program instructions are loaded and executed by the processor, so that the electronic device executes the sliding response control method of the touch screen.
The embodiment of the application provides a storage medium, the storage medium comprises a stored program, and when the program runs, the device where the storage medium is located is controlled to execute the sliding response control method of the touch screen.
It is to be understood that some or all of the steps or operations in the above-described embodiments are merely examples, and other operations or variations of various operations may be performed by the embodiments of the present application. Further, the various steps may be performed in a different order presented in the above-described embodiments, and it is possible that not all of the operations in the above-described embodiments are performed.
Embodiments of the present application further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the communication method described in the above embodiments.
In addition, the present application also provides a computer program product, which includes a computer program that, when running on a computer, causes the computer to execute the communication method described in the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions described in accordance with the present application are generated, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.

Claims (28)

1. A sliding response control method of a touch screen is characterized by comprising the following steps:
if the current report point data is received in the current report point period, judging whether the current report point data meets a preset condition; wherein the preset condition comprises that the current point data is generated by a MOVE event;
if the preset conditions are met, predicting the next report point data based on the cached report point data to obtain predicted report point data;
and replacing the current report point data with the predicted report point data in the current report point period and reporting the current report point data to foreground application so that the foreground application triggers sliding response operation in advance.
2. The method of claim 1, wherein the determining whether to perform a point prediction comprises:
determining the current sliding speed according to the current report point data and the cached report point data; the current sliding speed is the sliding speed of the sampling moment corresponding to the current report point data;
judging whether the current sliding speed is within a preset sliding speed range or not;
if yes, determining to carry out point reporting prediction; if not, determining not to carry out report point prediction.
3. The method of claim 1 or 2, wherein predicting the next tick data based on the buffered tick data to obtain predicted tick data comprises:
determining a prediction algorithm according to the current application scene;
determining the predicted hit data based on the prediction algorithm; wherein the predictive algorithm comprises a machine learning based algorithm.
4. The method of claim 1 or 2, wherein predicting the next tick data based on the buffered tick data to obtain predicted tick data comprises:
calculating the acceleration of the current report point data at the corresponding touch point position on the touch screen according to the sliding speed and the report point period of each buffered report point data at the corresponding touch point position on the touch screen;
determining a predicted position track of the next report point data on the touch screen according to a predicted time interval;
determining a predicted position of the next report point data on the predicted position track based on the acceleration of the current report point data on the position of the corresponding touch point on the touch screen;
determining the predicted hit data based on the predicted location;
and the predicted time interval refers to the time from the position of the corresponding touch point on the touch screen of the current report point data to the predicted position in a sliding mode.
5. The method of claim 4, wherein the prediction time interval is determined based on a current application scenario.
6. The method of claim 1, wherein the determining whether to perform a point prediction comprises: and judging whether the current application scene is the application scene suitable for report point prediction.
7. The method of claim 1, wherein the determining whether a preset condition is met further comprises:
and judging whether the number of the buffered report point data meets the report point prediction requirement or not.
8. The method of claim 1, further comprising:
when receiving current report point data in a current report point period, if report point prediction is not performed, reporting the current report point data to the foreground application in the current report point period.
9. The method of claim 1, wherein replacing the current point data with the predicted point data for reporting to a foreground application in the current point cycle comprises: and storing the current report point data into a designated area for the foreground application to obtain.
10. The method of claim 9, further comprising: and the foreground application distributes the acquired current newspaper point data to a window control of the foreground application so that the foreground control triggers the foreground application to respond to sliding operation in advance according to the current newspaper point data.
11. The method of claim 1, further comprising:
if the current report point data is generated by a DOWN event or a MOVE event, caching the current report point data;
if the current report point data is generated by the UP event, clearing the buffered report point data.
12. The method of claim 1, further comprising:
if the position of the corresponding touch point on the touch screen of the predicted reporting point data exceeds the boundary of the touch screen, the predicted reporting point data is adjusted based on the boundary of the touch screen.
13. The method of claim 1, further comprising:
determining the direction of a sliding track according to each cached report point data;
and if the position of the corresponding touch point on the touch screen of the predicted reporting point data is opposite to the direction of the sliding track, adjusting the predicted reporting point data.
14. A sliding response control apparatus for a touch screen, the apparatus comprising:
the report point prediction determining module is used for judging whether report point prediction is carried out or not when current report point data is received in a current report point period;
the preset condition judgment module is used for judging whether the current report point data meets a preset condition or not if the judgment result of the report point prediction determination module is yes; wherein the preset condition comprises that the current point data is generated by a MOVE event;
the predicted report point data algorithm module is used for predicting the next report point data based on the cached report point data to obtain predicted report point data if the judgment result of the report point prediction determining module meets the preset condition;
and a report point data reporting module, configured to replace the current report point data with the predicted report point data in the current report point period and report the current report point data to a foreground application, so that the foreground application triggers a sliding response operation in advance.
15. The apparatus of claim 14, wherein the reward prediction determination module comprises:
a sliding speed determining unit, configured to determine a current sliding speed according to the current report point data and the buffered report point data; the current sliding speed is the sliding speed of the sampling moment corresponding to the current report point data;
the sliding speed judging unit is used for judging whether the current sliding speed is within a preset sliding speed range or not;
a reporting point prediction judging unit, configured to determine to perform reporting point prediction if a judgment result of the sliding speed judging unit is yes; and if the judgment result of the sliding speed judgment unit is negative, determining not to carry out report point prediction.
16. The apparatus of claim 14 or 15, wherein the predictive reward data algorithm module comprises:
the prediction algorithm determining unit is used for determining a prediction algorithm according to the current application scene;
a predicted reporting point data determination unit configured to determine the predicted reporting point data based on the prediction algorithm; wherein the predictive algorithm comprises a machine learning based algorithm.
17. The apparatus of claim 14 or 15, wherein the predictive reward data algorithm module comprises:
the acceleration determining unit is used for calculating the acceleration of the current report point data at the corresponding touch point position on the touch screen according to the sliding speed and the report point period of each buffered report point data at the corresponding touch point position on the touch screen;
the predicted position track determining unit is used for determining the predicted position track of the next report point data on the touch screen according to the predicted time interval; wherein the prediction time interval is determined based on the prediction algorithm;
a predicted position determining unit, configured to determine, based on an acceleration of the current touch point data at a corresponding touch point position on the touch screen, a predicted position of the next touch point data on the predicted position track;
a predicted report data determining unit configured to determine the predicted report data based on the predicted position;
and the predicted time interval refers to the time from the position of the corresponding touch point on the touch screen of the current report point data to the predicted position in a sliding mode.
18. The method of claim 17, wherein the prediction time interval is determined based on a current application scenario.
19. The apparatus of claim 14, wherein the report prediction determining module is further configured to determine whether the current application scenario is an application scenario suitable for report prediction.
20. The apparatus of claim 14, wherein the predetermined condition determining module is further configured to determine whether the number of buffered breakpoint data meets a requirement of breakpoint prediction.
21. The apparatus of claim 14, wherein the report data reporting module is further configured to: when receiving current report point data in a current report point period, if report point prediction is not performed, reporting the current report point data to the foreground application in the current report point period.
22. The apparatus of claim 14, wherein the report data reporting module is further configured to store the current report data in a designated area for the foreground application to obtain.
23. The apparatus of claim 14, wherein the report point data reporting module is further configured to control the foreground application to distribute the acquired current report point data to a window control of the foreground application, so that the foreground control triggers the foreground application to respond to a sliding operation in advance according to the current report point data.
24. The apparatus of claim 14, further comprising: the cache processing module is used for caching the current report point data if the current report point data is generated by a DOWN event or a MOVE event; if the current report point data is generated by the UP event, clearing the buffered report point data.
25. The apparatus of claim 14, further comprising an exception handling module configured to adjust the predicted hit data based on a boundary of the touch screen if a corresponding touch point position of the predicted hit data on the touch screen exceeds the boundary of the touch screen.
26. The apparatus of claim 14, further comprising a fallback protection processing module configured to determine a sliding trajectory direction according to all received respective report point data; and if the position of the corresponding touch point on the touch screen of the predicted reporting point data is opposite to the direction of the sliding track, adjusting the predicted reporting point data.
27. An electronic device comprising a memory for storing information comprising program instructions and a processor for controlling the execution of the program instructions, wherein the program instructions, when loaded and executed by the processor, cause the electronic device to perform the method of any of claims 1 to 13.
28. A storage medium, comprising: the storage medium comprises a stored program, characterized in that the program, when executed, controls an apparatus in which the storage medium is located to perform the method of any of claims 1 to 13.
CN202010219561.6A 2020-03-25 2020-03-25 Sliding response control method and device of touch screen and electronic equipment Pending CN113448482A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010219561.6A CN113448482A (en) 2020-03-25 2020-03-25 Sliding response control method and device of touch screen and electronic equipment
PCT/CN2021/080095 WO2021190314A1 (en) 2020-03-25 2021-03-11 Sliding response control method and apparatus of touch screen, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010219561.6A CN113448482A (en) 2020-03-25 2020-03-25 Sliding response control method and device of touch screen and electronic equipment

Publications (1)

Publication Number Publication Date
CN113448482A true CN113448482A (en) 2021-09-28

Family

ID=77806798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010219561.6A Pending CN113448482A (en) 2020-03-25 2020-03-25 Sliding response control method and device of touch screen and electronic equipment

Country Status (2)

Country Link
CN (1) CN113448482A (en)
WO (1) WO2021190314A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328345A (en) * 2022-04-19 2022-11-11 天津先楫半导体科技有限公司 Method, system, equipment and medium for refreshing display control
CN117692483A (en) * 2023-08-18 2024-03-12 荣耀终端有限公司 Input event transmission method, electronic equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115589A (en) * 2021-10-08 2022-03-01 北京小米移动软件有限公司 Point reporting information processing method, device, terminal and storage medium
CN114466006B (en) * 2021-12-22 2024-01-02 天翼云科技有限公司 Touch screen information sending and responding method and device
CN116521018B (en) * 2023-07-04 2023-10-20 荣耀终端有限公司 False touch prompting method, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929433A (en) * 2012-11-06 2013-02-13 山东大学 Method for reducing dragging delay on embedded device through contact prediction
US20130181908A1 (en) * 2012-01-13 2013-07-18 Microsoft Corporation Predictive compensation for a latency of an input device
US20150153890A1 (en) * 2013-12-03 2015-06-04 Elwha Llc Compensating for a latency in displaying a portion of a hand-initiated movement
US20180067605A1 (en) * 2016-09-08 2018-03-08 Google Inc. Deep Machine Learning to Perform Touch Motion Prediction

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035714B (en) * 2014-06-24 2017-05-03 中科创达软件股份有限公司 Event processing method, device and equipment based on Android system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130181908A1 (en) * 2012-01-13 2013-07-18 Microsoft Corporation Predictive compensation for a latency of an input device
CN102929433A (en) * 2012-11-06 2013-02-13 山东大学 Method for reducing dragging delay on embedded device through contact prediction
US20150153890A1 (en) * 2013-12-03 2015-06-04 Elwha Llc Compensating for a latency in displaying a portion of a hand-initiated movement
US20180067605A1 (en) * 2016-09-08 2018-03-08 Google Inc. Deep Machine Learning to Perform Touch Motion Prediction

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328345A (en) * 2022-04-19 2022-11-11 天津先楫半导体科技有限公司 Method, system, equipment and medium for refreshing display control
CN117692483A (en) * 2023-08-18 2024-03-12 荣耀终端有限公司 Input event transmission method, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2021190314A1 (en) 2021-09-30

Similar Documents

Publication Publication Date Title
CN113645351B (en) Application interface interaction method, electronic device and computer-readable storage medium
CN110347269B (en) Empty mouse mode realization method and related equipment
CN110989852B (en) Touch screen, electronic equipment and display control method
CN113448482A (en) Sliding response control method and device of touch screen and electronic equipment
CN110956939A (en) Method for adjusting screen brightness and electronic equipment
CN111182140B (en) Motor control method and device, computer readable medium and terminal equipment
CN113573390B (en) Antenna power adjusting method, terminal device and storage medium
CN115589051B (en) Charging method and terminal equipment
CN112516590A (en) Frame rate identification method and electronic equipment
CN113641271A (en) Application window management method, terminal device and computer readable storage medium
CN110058729B (en) Method and electronic device for adjusting sensitivity of touch detection
CN111104295A (en) Method and equipment for testing page loading process
CN114221402A (en) Charging method and device of terminal equipment and terminal equipment
CN114968543A (en) Method for processing document page and related device
CN109285563B (en) Voice data processing method and device in online translation process
CN113542574A (en) Shooting preview method under zooming, terminal, storage medium and electronic equipment
WO2021129453A1 (en) Screenshot method and related device
CN114116610A (en) Method, device, electronic equipment and medium for acquiring storage information
CN114661258A (en) Adaptive display method, electronic device, and storage medium
CN114740986A (en) Handwriting input display method and related equipment
CN113918003A (en) Method and device for detecting time length of skin contacting screen and electronic equipment
CN113391735A (en) Display form adjusting method and device, electronic equipment and storage medium
CN114125144B (en) Method, terminal and storage medium for preventing false touch
CN111026285B (en) Method for adjusting pressure threshold and electronic equipment
CN116048772B (en) Method and device for adjusting frequency of central processing unit 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