CN111857396A - Signal scanning method, device, terminal and storage medium - Google Patents

Signal scanning method, device, terminal and storage medium Download PDF

Info

Publication number
CN111857396A
CN111857396A CN201910364192.7A CN201910364192A CN111857396A CN 111857396 A CN111857396 A CN 111857396A CN 201910364192 A CN201910364192 A CN 201910364192A CN 111857396 A CN111857396 A CN 111857396A
Authority
CN
China
Prior art keywords
scanning
signal
touch
period
touch event
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
CN201910364192.7A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910364192.7A priority Critical patent/CN111857396A/en
Publication of CN111857396A publication Critical patent/CN111857396A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Abstract

The disclosure relates to a signal scanning method, a signal scanning device, a terminal and a storage, and belongs to the technical field of terminals. According to the signal scanning method provided by the embodiment of the disclosure, a touch screen of a terminal is subjected to signal scanning to obtain a first scanning signal. And determining the scanning completion time of the first scanning signal, and continuing to perform signal scanning on the touch screen based on the scanning completion time of the first scanning signal. According to the method, when the scanning of the first scanning signal is finished, the next scanning is started rapidly based on the scanning finishing time, so that the scanning efficiency of the signal scanning is improved, and the sensitivity of the touch screen is improved.

Description

Signal scanning method, device, terminal and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a signal scanning method, an apparatus, a terminal, and a storage medium.
Background
At present, a screen of a terminal is generally a touch screen, a user can operate the terminal through touch operation on the touch screen, and the essence of the process is that the terminal scans signals in the touch screen, when the signals are scanned, the scanning signals are operated, a touch event corresponding to the scanning signals is determined, and then the touch event is processed, so that response to the touch event is realized.
In the related art, a frame scanning period is usually preset, after a current frame scanning period scans a signal, a next frame scanning period after the current frame scanning period is waited, and scanning is continued at the starting time of the next frame scanning period.
Disclosure of Invention
To solve the problems in the related art, the present disclosure provides a signal scanning method, apparatus, terminal, and storage medium. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a signal scanning method, the method including:
performing signal scanning on a touch screen of the terminal to obtain a first scanning signal;
determining the scanning completion moment of the first scanning signal;
and continuing signal scanning on the touch screen based on the scanning completion moment.
In one possible implementation, the method further includes:
and determining a touch event corresponding to the first scanning signal based on the scanning completion moment.
In another possible implementation manner, the method further includes:
determining the touch event completion moment corresponding to the first scanning signal;
and processing the touch event based on the touch event completion moment.
In another possible implementation manner, the continuing signal scanning on the touch screen based on the scanning completion time includes: continuing to perform signal scanning on the touch screen at the moment when the first scanning signal scanning is finished; and/or the presence of a gas in the gas,
the determining, based on the scanning completion time, a touch event corresponding to the first scanning signal includes: determining a touch event corresponding to the first scanning signal at the moment when the scanning of the first scanning signal is finished; and/or the presence of a gas in the gas,
the processing the touch event based on the touch event completion time includes: and processing the touch event at the touch event completion moment corresponding to the first scanning signal.
In another possible implementation manner, the determining a touch event corresponding to the first scanning signal includes:
extracting signal characteristics of the first scanning signal;
determining a matching degree between the signal characteristics and the signal characteristics of each designated touch event;
and selecting the touch event corresponding to the first scanning signal from the appointed touch events according to the matching degree between the signal characteristics and the signal characteristics of each appointed touch event.
In another possible implementation manner, the method further includes:
when the first scanning signal is a signal scanned by the touch screen within a first time period when the touch screen receives the touch operation, executing the step of continuing to scan the signal of the touch screen at the moment when the first scanning signal is scanned, wherein the first time period is a previous time period within the time period when the touch screen receives the touch operation.
In another possible implementation manner, after processing the touch event, the method further includes:
according to a preset frame scanning period, waiting for the start of a first frame scanning period, wherein the first frame scanning period is the next frame scanning period adjacent to the current frame scanning period;
and continuing to scan the signal of the touch screen at the starting moment of the first frame scanning period.
In another possible implementation manner, in a second time period when the touch screen receives the touch operation, the second time period is later than a first time period, the first time period is a previous time period in the time period when the touch screen receives the touch operation, and a scanning signal obtained in the second time period is a second scanning signal, the method further includes:
Waiting for the start of a second frame scanning period, wherein the second frame scanning period is the next frame scanning period which is determined according to the preset frame scanning period and is adjacent to the first frame scanning period; determining a touch event corresponding to the second scanning signal at the starting moment of the second frame scanning period; processing a touch event corresponding to the second scanning signal at the starting time of a third frame scanning period, wherein the third frame scanning period is a next frame scanning period adjacent to the second frame scanning period and determined according to the preset frame scanning period; alternatively, the first and second electrodes may be,
determining a touch event corresponding to the second scanning signal at the moment when the scanning of the second scanning signal is finished, and waiting for the start of the scanning period of the second frame; processing a touch event corresponding to the second scanning signal at the starting moment of the second frame scanning period; alternatively, the first and second electrodes may be,
determining a touch event corresponding to the second scanning signal at the moment when the scanning of the second scanning signal is finished; and processing the touch event corresponding to the second scanning signal at the moment of determining that the touch event corresponding to the second scanning signal is completed.
According to a second aspect of embodiments of the present disclosure, there is provided a signal scanning apparatus, the apparatus including:
The scanning module is used for scanning signals of a touch screen of the terminal to obtain a first scanning signal;
the determining module is used for determining the scanning completion moment of the first scanning signal;
and the scanning module is further used for continuously scanning the signal of the touch screen based on the scanning completion moment.
In a possible implementation manner, the determining module is further configured to determine, based on the scanning completion time, a touch event corresponding to the first scanning signal.
In another possible implementation manner, the apparatus further includes:
the determining module is further configured to determine a touch event completion time corresponding to the first scanning signal;
and the processing module is used for processing the touch event based on the touch event finishing moment.
In another possible implementation manner, the scanning module is further configured to continue to perform signal scanning on the touch screen at a time when the first scanning signal scanning is completed; and/or the presence of a gas in the gas,
the determining module is further configured to determine a touch event corresponding to the first scanning signal at a scanning completion time of the first scanning signal; and/or the presence of a gas in the gas,
the processing module is further configured to process the touch event at a touch event completion time corresponding to the first scanning signal.
In another possible implementation manner, the determining module is further configured to extract a signal feature of the first scanning signal; determining a matching degree between the signal characteristics and the signal characteristics of each designated touch event; and selecting the touch event corresponding to the first scanning signal from the appointed touch events according to the matching degree between the signal characteristics and the signal characteristics of each appointed touch event.
In another possible implementation manner, the scanning module is further configured to, when the first scanning signal is a signal scanned by the touch screen within a first time period when the touch screen receives a touch operation, continue to scan the signal on the touch screen at a time when the scanning of the first scanning signal is completed, where the first time period is a previous time period within the time period when the touch screen receives the touch operation.
In another possible implementation manner, the scanning module is further configured to wait for the start of a first frame scanning period according to a preset frame scanning period, where the first frame scanning period is a next frame scanning period adjacent to a current frame scanning period; and continuing signal scanning on the touch screen at the starting moment of the first frame scanning period.
In another possible implementation manner, in a second time period when the touch screen receives the touch operation, the second time period is later than a first time period, the first time period is a previous time period in the time period when the touch screen receives the touch operation, and a scanning signal obtained in the second time period is a second scanning signal;
the scanning module is further configured to wait for a start of a second frame scanning period, where the second frame scanning period is a next frame scanning period adjacent to the first frame scanning period and determined according to the preset frame scanning period; the determining module is further configured to determine, at a start time of the second frame scanning period, a touch event corresponding to the second scanning signal; the processing module is further configured to process a touch event corresponding to the second scanning signal at a starting time of a third frame scanning period, where the third frame scanning period is a next frame scanning period adjacent to the second frame scanning period and determined according to the preset frame scanning period; alternatively, the first and second electrodes may be,
the determining module is further configured to determine, at a scanning completion time of the second scanning signal, a touch event corresponding to the second scanning signal, and wait for the start of the third frame scanning period; the processing module is further configured to process a touch event corresponding to the second scanning signal at a start time of the third frame scanning period; alternatively, the first and second electrodes may be,
The determining module is further configured to determine a touch event corresponding to the second scanning signal at a time when the scanning of the second scanning signal is completed; the processing module is further configured to process the touch event corresponding to the second scanning signal when it is determined that the touch event corresponding to the second scanning signal is completed.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to:
performing signal scanning on a touch screen of the terminal to obtain a first scanning signal;
determining the scanning completion moment of the first scanning signal;
and continuing signal scanning on the touch screen based on the scanning completion moment.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, in which at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the steps in the signal scanning method according to any one of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the signal scanning method provided by the embodiment of the disclosure, a touch screen of a terminal is subjected to signal scanning to obtain a first scanning signal. And determining the scanning completion time of the first scanning signal, and continuing to perform signal scanning on the touch screen based on the scanning completion time of the first scanning signal. According to the method, when the scanning of the first scanning signal is finished, the next scanning is started rapidly based on the scanning finishing time, so that the scanning efficiency of the signal scanning is improved, and the sensitivity of the touch screen is improved.
In the embodiment of the disclosure, the method may determine the touch event corresponding to the first scan signal based on the scan completion time of the first scan signal, so as to immediately perform the operation of the scan signal at the scan completion time of the first scan signal. The touch event is processed based on the touch event completion time, so that the interrupt reporting is immediately carried out after the operation is completed, and the response speed of the terminal touch screen is effectively improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a diagram illustrating a terminal in accordance with an exemplary embodiment;
FIG. 2 is a flow chart illustrating a method of signal scanning according to an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of signal scanning according to an exemplary embodiment;
FIG. 4 is a diagram illustrating a touch chip performing signal scanning, determining a touch event, and reporting the touch event according to an exemplary embodiment;
FIG. 5 is a diagram illustrating a touch chip performing signal scanning, determining a touch event, and reporting the touch event according to an exemplary embodiment;
FIG. 6 is a diagram illustrating a touch chip performing signal scanning, determining a touch event, and reporting the touch event according to an exemplary embodiment;
FIG. 7 is a diagram illustrating a touch chip performing signal scanning, determining a touch event, and reporting the touch event in accordance with an illustrative embodiment;
FIG. 8 is a schematic diagram illustrating the structure of a signal scanning apparatus according to an exemplary embodiment;
fig. 9 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment.
Detailed Description
In order to make the technical solutions and advantages of the present disclosure clearer, the following describes embodiments of the present disclosure in further detail.
The signal scanning method provided by the embodiment of the present disclosure is applied to a terminal, and referring to fig. 1, the terminal includes: a touch chip 101, a processor 102, a touch screen 103 and a housing 104. The touch screen 103 is disposed on the upper surface of the casing 104, the touch chip 101 and the processor 102 are disposed in the casing 104, and the touch chip 101 and the processor 102 can be wirelessly connected to each other.
The touch control chip 101 is used for scanning signals in a touch screen 103 of the terminal; when the signal is scanned, determining a touch event corresponding to the scanning signal at the scanning completion moment, and reporting the touch signal corresponding to the touch event to the processor 102;
the processor 102 is configured to, when receiving a touch signal sent by the touch chip 101, process the touch event according to the touch signal, so as to implement a response to the touch event.
In the related art, a scanning period of each frame is preset, and when the touch chip 101 scans a signal in a current frame scanning period, a touch event corresponding to the scanning signal is not immediately determined, but a next frame scanning period is waited to start. And determining the touch event corresponding to the scanning signal when the scanning period of the next frame starts. Moreover, after determining the touch event corresponding to the scanning signal, the touch signal corresponding to the touch event is not reported immediately, but the touch signal corresponding to the touch event is reported to the processor 102 only when the next frame scanning period starts. However, in the related art, the time interval from the scanning of the touch chip 101 to the reporting of the touch signal to the processor 102 is long, which results in a slow response speed of the processor 102 to the touch signal and a low sensitivity of the touch screen 103.
In the embodiment of the present disclosure, the touch chip 101 is no longer limited by the scanning period of each frame, and when the touch chip 101 scans a signal, the touch chip continues to scan the signal on the touch screen at the time when the signal is scanned, and at the same time, immediately starts to determine the touch event corresponding to the scanning signal. When the touch event is determined to be completed, a touch signal corresponding to the touch event is immediately reported to the processor 102. And at the moment when the scanning of the next scanning signal is finished, continuing to scan the signal of the touch screen, and simultaneously determining a touch event corresponding to the next scanning signal. When the touch event corresponding to the next scanning signal is determined to be completed, the touch signal corresponding to the touch event of the next scanning signal is immediately reported to the processor 102. In this case, the touch chip 101 performs signal scanning, determines a touch event corresponding to the scanning signal, and reports the touch signal corresponding to the touch event to the processor 102 at the fastest speed, so that the time interval from the scanning to the signal reporting of the touch signal by the touch chip 101 to the processor 102 is reduced, the response speed of the processor 102 to the touch signal is increased, and the sensitivity of the touch screen 103 is increased.
Fig. 2 is a flowchart of a signal scanning method provided in an embodiment of the present disclosure, and as shown in fig. 2, the method is applied in a terminal and includes the following steps:
in step S201, a touch screen of the terminal is scanned for a signal to obtain a first scanning signal.
In step S202, a first scan signal scan completion timing is determined.
In step S203, signal scanning is continued for the touch screen based on the scanning completion time.
In one possible implementation, the method further includes:
and determining a touch event corresponding to the first scanning signal based on the scanning completion time. That is, the touch event is operated based on the scan signal.
In another possible implementation manner, the method further includes:
determining the touch event completion moment corresponding to the first scanning signal;
and processing the touch event based on the touch event completion time. And processing the touch event, namely, performing interrupt reporting based on the calculated touch event.
In another possible implementation manner, continuing signal scanning on the touch screen based on the scanning completion time includes: continuing to scan the signal of the touch screen at the moment when the first scanning signal is scanned; and/or the presence of a gas in the gas,
Determining a touch event corresponding to the first scanning signal based on the scanning completion time, including: determining a touch event corresponding to the first scanning signal at the moment when the scanning of the first scanning signal is finished; and/or the presence of a gas in the gas,
processing the touch event based on the touch event completion time, including: and processing the touch event at the touch event completion moment corresponding to the first scanning signal.
Preferably, the signal scanning is performed on the touch screen immediately at the time when the first scanning signal scanning is completed. Or, optionally, after the first preset time length of the time when the first scanning signal scanning is completed, the signal scanning may be performed on the touch screen.
Preferably, the step of determining the touch event corresponding to the first scanning signal is immediately performed at the time when the scanning of the first scanning signal is completed. Alternatively, optionally, the touch event corresponding to the first scanning signal may also be determined after a second preset time period of the scanning completion time of the first scanning signal.
Preferably, the touch event is immediately processed at the time when the touch event corresponding to the first scanning signal is completed. Alternatively, optionally, the touch event may be processed after a third preset time period of the touch event completion time corresponding to the first scan signal.
In another possible implementation manner, the determining a touch event corresponding to the first scanning signal includes:
extracting signal characteristics of a first scanning signal;
determining a matching degree between the signal characteristics and the signal characteristics of each appointed touch event;
and selecting the touch event corresponding to the first scanning signal from the appointed touch events according to the matching degree between the signal characteristics and the signal characteristics of each appointed touch event.
In another possible implementation manner, the method further includes:
when the first scanning signal is a signal scanned by the touch screen within a first time period when the touch screen receives the touch operation, executing a step of continuing to scan the signal of the touch screen at the moment when the scanning of the first scanning signal is completed, wherein the first time period is a time period before the touch screen receives the touch operation.
In another possible implementation manner, after the touch event is processed, the method further includes:
waiting for the start of a first frame scanning period according to a preset frame scanning period, wherein the first frame scanning period is a next frame scanning period adjacent to a current frame scanning period;
and at the beginning of the first frame scanning period, continuing to perform signal scanning on the touch screen.
In another possible implementation manner, in a second time period in which the touch screen receives the touch operation, the second time period is later than the first time period, the first time period is a previous time period in the time period in which the touch screen receives the touch operation, and the scan signal obtained in the second time period is the second scan signal, the method further includes:
waiting for the start of a second frame scanning period, wherein the second frame scanning period is the next frame scanning period which is determined according to the preset frame scanning period and is adjacent to the first frame scanning period; determining a touch event corresponding to the second scanning signal at the starting moment of the second frame scanning period; processing a touch event corresponding to the second scanning signal at the starting moment of a third frame scanning period, wherein the third frame scanning period is a next frame scanning period which is determined according to a preset frame scanning period and is adjacent to the second frame scanning period; alternatively, the first and second electrodes may be,
determining a touch event corresponding to the second scanning signal at the moment when the scanning of the second scanning signal is finished, and waiting for the start of a second frame scanning period; processing a touch event corresponding to the second scanning signal at the starting moment of the second frame scanning period; alternatively, the first and second electrodes may be,
determining a touch event corresponding to the second scanning signal at the moment when the scanning of the second scanning signal is finished; and processing the touch event corresponding to the second scanning signal when the touch event corresponding to the second scanning signal is determined to be completed.
According to the signal scanning method provided by the embodiment of the disclosure, a touch screen of a terminal is subjected to signal scanning to obtain a first scanning signal. And determining the scanning completion time of the first scanning signal, and continuing to perform signal scanning on the touch screen based on the scanning completion time of the first scanning signal. According to the method, when the scanning of the first scanning signal is finished, the next scanning is started rapidly based on the scanning finishing time, so that the scanning efficiency of the signal scanning is improved, and the sensitivity of the touch screen is improved.
Fig. 3 is a flowchart of a signal scanning method provided in an embodiment of the present disclosure, and as shown in fig. 3, the method is applied to a touch chip in a terminal and a processor in the terminal, and includes the following steps:
in step S301, the touch chip performs signal scanning on the touch screen of the terminal to obtain a first scanning signal.
In this step, the touch chip may scan a mutual capacitance induction signal, a self-capacitance induction signal, or a noise signal when scanning the touch screen of the terminal. Therefore, the first scanning signal comprises at least one of a mutual capacitance induction signal, a self-capacitance induction signal and a noise signal; accordingly, this step may be achieved by at least one of the following steps, including:
The touch control chip scans mutual capacitance induction signals in the touch screen to obtain first scanning signals;
the touch control chip scans a self-contained induction signal in the touch screen to obtain a first scanning signal;
the touch control chip scans the noise signal in the touch screen to obtain a first scanning signal.
It should be noted that, when the touch chip performs signal scanning, a signal scanned by the touch screen during a touch operation may be used as a first scanning signal. Or, a signal between a signal scanned by the touch screen when receiving a touch operation and a signal scanned when responding to the touch operation is used as a first scanning signal, and a signal scanned after responding to the touch operation is used as a second scanning signal. Or, a signal scanned within a preset frame number of touch operation is used as a first scanning signal, and a signal scanned after the preset frame number is used as a second scanning signal. In the embodiments of the present disclosure, the first scan signal is not particularly limited. In addition, the touch chip can scan signals in the touch screen all the time, and when the user does not touch the touch screen with fingers, the touch chip cannot scan the signals, namely the touch screen does not receive touch operation; when a user touches the touch screen with a finger, the touch chip scans a signal, that is, the touch screen receives a touch operation, and at this time, the touch chip and the processor execute the signal scanning method provided by the embodiment of the disclosure.
In step S302, the touch chip determines a scanning completion time of the first scanning signal.
The first scanning signal comprises at least one of a mutual capacitance induction signal, a self-capacitance induction signal and a noise signal; accordingly, this step may be achieved by at least one of the following steps, including:
the touch control chip scans mutual capacitance induction signals in the touch screen, and determines whether the mutual capacitance induction signals are scanned in real time in the process of scanning the mutual capacitance induction signals. When the mutual capacitance induction signal is not scanned, continuing to scan; when the scanning is completed, the scanning completion time of the first scanning signal is obtained.
The touch control chip scans the self-contained inductive signal in the touch screen, and determines whether the self-contained inductive signal is scanned in real time in the process of scanning the self-contained inductive signal. When the self-capacitance induction signal is not scanned, continuing to scan; when the scanning is completed, the scanning completion time of the first scanning signal is obtained.
The touch control chip scans the noise signals in the touch screen, and determines whether the noise signals are scanned in real time in the process of scanning the noise signals. When the noise signal is not scanned, continuing to scan; when the scanning is completed, the scanning completion time of the first scanning signal is obtained.
In step S303, the touch chip continues to perform signal scanning on the touch screen at the time when the scanning of the first scanning signal is completed.
In this step, the touch chip may immediately start scanning of the next scanning signal at the time when the scanning of the first scanning signal is completed, thereby shortening the time interval between signal scanning.
In the related art, the scanning period of each frame is preset, and after the scanning of the first scanning signal is completed, the touch chip does not immediately start the scanning of the next scanning signal, but waits for the start of the scanning period of the next frame. When the next frame scanning period starts, the scanning of the next frame scanning signal is performed. The process results in a long time interval between the time when the processor receives the touch signal and the time when the touch chip completes scanning, and finally results in a slow response speed of the processor to the touch signal.
In step S304, the touch chip determines a touch event corresponding to the first scanning signal based on the scanning completion time of the first scanning signal.
In a possible implementation manner, the touch chip may immediately determine the touch event corresponding to the first scanning signal at the time when the scanning of the first scanning signal is completed, so as to improve the response speed. In another possible implementation manner, the touch chip may also wait for a first preset time period after the scanning of the first scanning signal is completed, and determine the touch event corresponding to the first scanning signal when the first preset time period is reached, so as to reduce power consumption. The first preset time period may be set and changed as needed, and is not specifically limited in the embodiment of the present disclosure.
The step of determining, by the touch chip, the touch event corresponding to the first scanning signal may be implemented by the following steps (1) to (3), including:
(1) the touch control chip extracts signal characteristics of the first scanning signal.
When the first scanning signal includes a mutual capacitance induction signal, the step may be: the touch chip can determine the signal distribution, the signal area, the signal shape, the signal amplitude and the like of the mutual capacitance induction signal, and the signal distribution, the signal area, the signal shape, the signal amplitude and the like of the mutual capacitance induction signal form the signal characteristics of the mutual capacitance induction signal.
When the first scanning signal includes a self-capacitance sensing signal, the step may be: the touch control chip determines the signal distribution, the signal area, the signal shape, the signal amplitude and the like of the self-capacitance induction signal, and the signal distribution, the signal area, the signal shape, the signal amplitude and the like of the self-capacitance induction signal form the signal characteristics of the self-capacitance induction signal.
When the first scanning signal includes a noise signal, the step may be: the touch chip determines the signal distribution, the signal area, the signal shape, the signal amplitude and the like of the noise signal, and the signal distribution, the signal area, the signal shape, the signal amplitude and the like of the noise signal form the signal characteristics of the noise signal.
(2) The touch chip determines a degree of matching between the signal characteristics and the signal characteristics of each designated touch event.
The touch chip may pre-store signal characteristics of a plurality of designated touch events, where the plurality of designated touch events may be any touch event, and this is not particularly limited in the embodiment of the present disclosure. For example, the designated touch event may be a click into an application interface, a gesture unlock, and the like.
In this step, the touch chip may determine, according to the signal characteristic of the first scanning signal, a matching degree between the signal characteristic of the first scanning signal and the signal characteristic of each of the designated touch events. For convenience of distinction, the matching degree between the signal characteristic of the first scan signal and the signal characteristic of each of the plurality of designated touch events is referred to as a first matching degree.
In one possible implementation, the touch chip may determine a second matching degree between the signal characteristic of the mutual capacitance induction signal in the first scanning signal and the signal characteristic of the mutual capacitance induction signal in each designated touch event, a third matching degree between the signal characteristic of the self-capacitance induction signal in the first scanning signal and the signal characteristic of the self-capacitance induction signal in each designated touch event, and a fourth matching degree between the signal characteristic of the noise signal and the signal characteristic of the noise signal in each designated touch event. The touch chip may perform arithmetic average or weighted summation on the second matching degree, the third matching degree, and the fourth matching degree, thereby obtaining a plurality of first matching degrees.
(3) And the touch control chip selects the touch control event corresponding to the first scanning signal from the appointed touch control events according to the matching degree between the signal characteristics and the signal characteristics of each appointed touch control event.
In this step, the touch chip may select the one with the largest first matching degree from the plurality of first matching degrees obtained in step (2), and use the designated touch event corresponding to the selected largest first matching degree as the touch event corresponding to the first scanning signal.
It should be noted that, in the related art, the touch chip does not immediately determine the touch event corresponding to the first scanning signal at the time when the scanning of the first scanning signal is completed, but waits for the start of the next frame scanning period, and determines the touch event corresponding to the first scanning signal when the next frame scanning period starts. The process results in a longer time interval between the time when the touch chip determines the touch event corresponding to the scanning signal and the time when the scanning signal is completed, and finally results in a longer time interval when the processor receives the touch signal corresponding to the touch event and a slow response speed of the processor to the touch signal. In the embodiment of the disclosure, the touch chip immediately starts to determine the touch event corresponding to the first scanning signal at the moment when the scanning of the first scanning signal is completed, so as to obtain the touch event of the first scanning signal at the fastest speed, finally, a time interval between the determination of the touch event corresponding to the first scanning signal by the touch chip and the reception of the touch signal corresponding to the touch event by the processor is shortened, and a response speed of the processor to the touch signal is increased.
In step S305, the touch chip determines a touch event completion time corresponding to the first scan signal.
The first scanning signal comprises at least one of a mutual capacitance induction signal, a self-capacitance induction signal and a noise signal; accordingly, this step may be achieved by at least one of the following steps, including:
the touch control chip determines whether a touch control event corresponding to a mutual capacitance induction signal in the touch screen is finished or not, and when the touch control event corresponding to the mutual capacitance induction signal is not finished, the touch control event is continuously finished; and when the touch event corresponding to the mutual capacitance induction signal is finished, obtaining the finishing moment of the touch event corresponding to the first scanning signal.
The touch control chip determines whether a touch control event corresponding to a self-contained induction signal in the touch screen is finished or not, and when the touch control event corresponding to the self-contained induction signal is not finished, the touch control event is continuously finished; and when the touch event corresponding to the self-contained sensing signal is finished, obtaining the finishing moment of the touch event corresponding to the first scanning signal.
The touch control chip determines whether a touch control event corresponding to a noise signal in the touch screen is finished or not, and when the touch control event corresponding to the noise signal is not finished, the touch control event is continuously finished; and when the touch event corresponding to the noise signal is finished, obtaining the finishing moment of the touch event corresponding to the first scanning signal.
In step S306, the touch chip reports the touch signal corresponding to the touch event to the processor based on the touch event completion time corresponding to the first scan signal.
In the embodiment of the disclosure, the touch chip may immediately report the touch signal corresponding to the touch event to the processor when determining that the touch event corresponding to the first scanning signal is completed, so as to report the touch signal corresponding to the touch event to the processor at the fastest speed, thereby shortening a time interval between the determination of the touch event corresponding to the first scanning signal by the touch chip and the reception of the touch signal corresponding to the touch event by the processor, and improving a reporting rate.
In a possible implementation manner, the touch chip may also report the touch signal corresponding to the touch event to the processor at an interval of a second preset duration after determining that the touch event corresponding to the first scanning signal is completed, so as to reduce power consumption.
The second preset time period may be set and changed as needed, and is not specifically limited in the embodiment of the present disclosure. For example, the second preset duration may be a time interval from a time when the touch event corresponding to the first scan signal is determined to be completed to a time when the scanning of the next scan signal is started. The second preset time period and the first preset time period may be the same or different, and in the embodiment of the present disclosure, this is not particularly limited.
In step S307, the processor receives a touch signal of the touch chip and processes the touch event according to the touch signal.
In a possible implementation manner, the processor receives a touch signal sent by the touch chip, where the touch signal carries touch data corresponding to a touch event, and the processor responds to a touch operation corresponding to the touch event according to the touch data corresponding to the touch event carried in the touch signal. For example, the touch operation is a game interface for entering a certain game.
In another possible implementation manner, after the touch chip determines the touch event corresponding to the first scanning signal, the touch data corresponding to the touch event may be stored in an assigned storage location in the touch chip, and then the touch signal is sent to the processor, where the touch signal carries a location identifier of the assigned storage location, the processor receives the touch signal, obtains the location identifier in the touch signal, and obtains, according to the location identifier, the touch data corresponding to the touch event from the storage location corresponding to the location identifier in the touch chip, so as to respond to the touch operation corresponding to the touch event.
It should be noted that, in a possible implementation manner, the touch chip may always perform scanning according to the steps in S301 to S306, determine the touch event corresponding to the scanning signal immediately after the scanning of the first scanning signal is completed, and report the touch signal corresponding to the touch event to the processor immediately after the touch event corresponding to the first scanning signal is determined. In the process, the signal scanning, the touch event determination and the touch signal reporting are all completed at the fastest speed, and the time interval between the signal scanning and the touch signal reporting is the minimum, so that the time interval between different touch events processed by the processor is the minimum, and the response speed is the fastest. See fig. 4. For example, the scanning signal of each frame is the first scanning signal, and it can be seen from fig. 4 that: the process has no scanning period of a frame, and the touch chip immediately starts scanning of the next first scanning signal when the scanning of the first scanning signal is finished. And immediately determining a touch event corresponding to the first scanning signal. And immediately reporting the touch signal corresponding to the touch event to a processor when the touch event corresponding to the first scanning signal is determined to be completed.
However, in the process, since signal scanning, determining of the touch event, and reporting of the touch signal are all completed at the fastest speed, the terminal can always work at a higher working frequency, the power consumption of the terminal is higher, and the working cost is higher. Therefore, in the embodiment of the present disclosure, the touch chip may be configured to execute the steps S301 to S306 in a first time period, and after the first time period is reached, the terminal is in a stable operating state because the terminal has responded to the touch operation corresponding to the touch event. At this time, when receiving the next touch operation within the second time period after the first time period, the touch chip may execute the processes of signal scanning, determining the touch event, and reporting the touch signal through any one of the following three implementation manners, so that the response speed may be reduced to a certain extent, thereby reducing the power consumption of the terminal and reducing the working cost. The first time period is a time period before the touch screen receives the touch operation, the second time period is later than the first time period, and the scanning signal obtained in the second time period is a second scanning signal. The second scanning signal may be a signal scanned in one frame scanning period, or may be a signal scanned in a plurality of frame scanning periods included in the second time period. In the embodiments of the present disclosure, this is not particularly limited.
In a first implementation manner, when the first scanning signal is a signal scanned by the touch screen within a second time period of the touch operation, the touch chip waits for the start of a first frame scanning period according to a preset each frame scanning period, where the first frame scanning period is a next frame scanning period adjacent to a current frame scanning period, and the current frame scanning period is a frame scanning period corresponding to the touch signal corresponding to the touch event reported by the touch chip to the processor. The touch control chip continuously scans signals of the touch screen at the starting moment of the first frame scanning period; waiting for the start of a second frame scanning period, wherein the second frame scanning period is the next frame scanning period which is determined according to the preset frame scanning period and is adjacent to the first frame scanning period; determining a touch event corresponding to the second scanning signal at the starting moment of the second frame scanning period; and reporting a touch signal corresponding to the touch event of the second scanning signal to the processor at the starting moment of a third frame scanning period, wherein the third frame scanning period is the next frame scanning period which is determined according to the preset frame scanning period and is adjacent to the second frame scanning period.
The specific process of this implementation can be seen in fig. 5. For example, the second scan signal is a signal scanned in a first frame scan period in the second time period, a signal scanned in a second frame scan period in the second time period may be referred to as a third scan signal, and so on. As can be seen from fig. 5: the touch control chip scans the second scanning signal in the first frame scanning period, and waits for the second frame scanning period to start after the second scanning signal is scanned. And when the scanning period of the second frame starts, determining a touch event corresponding to the second scanning signal of the first frame, and after determining that the touch event corresponding to the second scanning signal of the first frame is finished, waiting for the scanning period of the third frame to start. And reporting a touch signal corresponding to the touch event of the first frame to the processor when the scanning period of the third frame starts. Meanwhile, when the scanning period of the third frame starts, the touch event corresponding to the third scanning signal of the second frame is determined, and after the touch event corresponding to the third scanning signal of the second frame is determined to be completed, the scanning period of the fourth frame starts. And reporting a touch signal corresponding to the touch event of the second frame to the processor when the scanning period of the fourth frame starts. And scanning the signals according to the mode, determining the touch event and reporting a touch signal corresponding to the touch event to the processor.
In a second implementation manner, when the first scanning signal is a signal scanned by the touch screen within a second time period of the touch operation, the touch chip waits for the start of a first frame scanning period according to a preset frame scanning period, where the first frame scanning period is a next frame scanning period adjacent to a current frame scanning period, and the current frame scanning period is a frame scanning period corresponding to the touch signal corresponding to the touch event reported by the touch chip to the processor. The touch control chip continuously scans signals of the touch screen at the starting moment of the first frame scanning period and waits for the starting of the second frame scanning period; determining a touch event corresponding to the second scanning signal at the moment when the scanning of the second scanning signal is finished, and waiting for the start of a third frame scanning period, wherein the third frame scanning period is a next frame scanning period which is determined according to a preset frame scanning period and is adjacent to the second frame scanning period; and reporting the touch signal corresponding to the touch event of the second scanning signal to the processor at the starting moment of the scanning period of the third frame.
In the implementation manner, after the touch chip finishes scanning the second scanning signal, the touch event corresponding to the second scanning signal is immediately determined, a time gap between the second scanning completion time and the start of the second frame scanning period is reasonably utilized, sufficient time is reserved for determining the touch event corresponding to the second scanning signal, and it can be ensured that the touch event is determined to be obtained when the third frame scanning period starts, so that the touch signal corresponding to the touch event is reported to the processor. Compared with the steps S301-S306, the power consumption of the terminal is reduced to a certain extent, and the work cost is reduced.
The specific process of this implementation can be seen in fig. 6. As can be seen in fig. 6: the touch control chip scans the second scanning signal in the first frame scanning period, and waits for the second frame scanning period to start after the second scanning signal is scanned. And when the scanning of the second scanning signal is finished, immediately determining a touch event corresponding to the second scanning signal of the first frame. And after determining that the touch event corresponding to the second scanning signal of the first frame is completed, waiting for a third frame scanning period to start. And reporting a touch signal corresponding to the touch event of the first frame to the processor when the scanning period of the third frame starts. Meanwhile, a third scanning signal is scanned in the second frame scanning period, and after the third scanning signal is scanned, the third frame scanning period is waited to start. And immediately determining a touch event corresponding to the third scanning signal of the second frame after the scanning of the third scanning signal is finished. And after determining that the touch event corresponding to the third scanning signal of the second frame is completed, waiting for the scanning period of the fourth frame to start. And reporting a touch signal corresponding to the touch event of the fourth frame to the processor when the scanning period of the fourth frame starts. And scanning the signals according to the mode, determining the touch event and reporting a touch signal corresponding to the touch event to the processor.
In a third implementation manner, when the first scanning signal is a signal scanned by the touch screen within a second time period of the touch operation, the start of a first frame scanning period is waited according to a preset frame scanning period, where the first frame scanning period is a next frame scanning period adjacent to a current frame scanning period, and the current frame scanning period is a frame scanning period corresponding to a touch signal corresponding to a touch event reported by the touch chip to the processor. Determining a touch event corresponding to the second scanning signal at the moment when the scanning of the second scanning signal is finished; and reporting the touch signal corresponding to the touch event of the second scanning signal to the processor at the moment of determining the completion of the touch event corresponding to the second scanning signal.
In the implementation manner, the touch chip immediately determines a touch event corresponding to the second scanning signal at the moment when the scanning of the second scanning signal is completed; and immediately reporting the touch signal corresponding to the touch event of the second scanning signal on the processor at the moment of determining the completion of the touch event corresponding to the second scanning signal. Compared with the steps S301-S306, the power consumption of the terminal is reduced to a certain extent, and the work cost is reduced.
The specific process of this implementation can be seen in fig. 7. As can be seen in fig. 7: the touch control chip scans the second scanning signal in the first frame scanning period, and waits for the second frame scanning period to start after the second scanning signal is scanned. And when the scanning of the second scanning signal is finished, immediately determining a touch event corresponding to the second scanning signal of the first frame. And immediately reporting the touch signal corresponding to the touch event of the first frame to the processor after determining that the touch event corresponding to the second scanning signal of the first frame is finished. And the touch chip scans the third scanning signal in the second frame scanning period, and waits for the third frame scanning period to start after the third scanning signal is scanned. And immediately determining a touch event corresponding to the third scanning signal of the second frame when the scanning of the third scanning signal is finished. And immediately reporting the touch signal corresponding to the touch event of the second frame to the processor after determining that the touch event corresponding to the third scanning signal of the second frame is finished. And scanning the signals according to the mode, determining the touch event and reporting a touch signal corresponding to the touch event to the processor.
The first time period is a time period including a scan cycle with a specified frame number, and the number of the specified frame number may be set and changed as needed, which is not specifically limited in the embodiment of the present disclosure. For example, the specified number of frames may be 4, 5, or 6. The second time period is a time period after the first time period, and when the last frame of the first time period is a current frame, the next frame of the current frame is the first frame of the second time period.
It should be noted that, in the embodiment of the present disclosure, the touch chip may implement signal scanning, determining a touch event, and reporting a touch signal corresponding to the touch event to the processor by two different methods. The touch chip responds to the touch operation at the fastest speed through the steps S301 to S306 at the initial stage of the scanning signal. After the response, at least one of signal scanning, touch event determination and touch signal reporting corresponding to the touch event to the processor can be changed, so that the power consumption of the terminal is reduced, and the working cost is reduced. For example, when the user enters a game application and performs a touch operation on the touch screen, the user responds to the touch operation of the user entering the game application at the fastest speed by executing the above steps S301 to S306. After entering the game application, the game application can be executed according to any one of the three implementation manners. By the method, the time of the user entering the game application is shortened, the user experience is guaranteed, and the power consumption of the terminal is reduced.
In another possible implementation manner, in the embodiment of the present disclosure, it may be further configured that when the touch chip receives the touch operation, the touch chip scans according to a preset frame scanning period through the corresponding touch operation in the steps S301 to S306 when the touch operation is not received, so that power consumption of the terminal is reduced to a certain extent, and work cost is reduced.
According to the signal scanning method provided by the embodiment of the disclosure, a touch screen of a terminal is subjected to signal scanning to obtain a first scanning signal. And determining the scanning completion time of the first scanning signal, and continuing to perform signal scanning on the touch screen based on the scanning completion time of the first scanning signal. According to the method, when the scanning of the first scanning signal is finished, the next scanning is started rapidly based on the scanning finishing time, so that the scanning efficiency of the signal scanning is improved, and the sensitivity of the touch screen is improved.
Fig. 8 is a block diagram illustrating a signal scanning apparatus according to an exemplary embodiment. Referring to fig. 8, the apparatus includes:
the scanning module 801 is configured to perform signal scanning on a touch screen of a terminal to obtain a first scanning signal;
a determining module 802, configured to determine a scanning completion time of the first scanning signal;
The scanning module 801 is further configured to continue to perform signal scanning on the touch screen based on the scanning completion time.
In a possible implementation manner, the determining module 802 is further configured to determine, based on the scan completion time, a touch event corresponding to the first scan signal.
In another possible implementation manner, the apparatus further includes:
the determining module 802 is further configured to determine a touch event completion time corresponding to the first scanning signal;
and the processing module is used for processing the touch event based on the touch event completion time.
In another possible implementation manner, the scanning module 801 is further configured to continue to perform signal scanning on the touch screen at the time when the first scanning signal is completely scanned; and/or the presence of a gas in the gas,
the determining module 802 is further configured to determine, at a moment when the scanning of the first scanning signal is completed, a touch event corresponding to the first scanning signal; and/or the presence of a gas in the gas,
the processing module is further configured to process the touch event at a touch event completion time corresponding to the first scanning signal.
In another possible implementation manner, the determining module 802 is further configured to extract a signal feature of the first scanning signal; determining a matching degree between the signal characteristics and the signal characteristics of each appointed touch event; and selecting the touch event corresponding to the first scanning signal from the appointed touch events according to the matching degree between the signal characteristics and the signal characteristics of each appointed touch event.
In another possible implementation manner, the scanning module 801 is further configured to, when the first scanning signal is a signal scanned by the touch screen within a first time period when the touch screen receives the touch operation, continue to scan the signal on the touch screen at a time when the scanning of the first scanning signal is completed, where the first time period is a previous time period within the time period when the touch screen receives the touch operation.
In another possible implementation manner, the scanning module 801 is further configured to wait for the start of a first frame scanning period according to a preset frame scanning period, where the first frame scanning period is a next frame scanning period adjacent to a current frame scanning period; and at the beginning of the first frame scanning period, continuing signal scanning on the touch screen.
In another possible implementation manner, in a second time period when the touch screen receives the touch operation, the second time period is later than the first time period, the first time period is a previous time period in the time period when the touch screen receives the touch operation, and the scanning signal obtained in the second time period is a second scanning signal;
the scanning module 801 is further configured to wait for a start of a second frame scanning period, where the second frame scanning period is a next frame scanning period adjacent to the first frame scanning period and determined according to a preset frame scanning period; the determining module 802 is further configured to determine, at a start time of a second frame scanning period, a touch event corresponding to the second scanning signal; the processing module is further configured to process a touch event corresponding to the second scanning signal at a starting time of a third frame scanning period, where the third frame scanning period is a next frame scanning period adjacent to the second frame scanning period and determined according to a preset frame scanning period; alternatively, the first and second electrodes may be,
The determining module 802 is further configured to determine, at a scanning completion time of the second scanning signal, a touch event corresponding to the second scanning signal, and wait for the start of a third frame scanning period; the processing module is further used for processing a touch event corresponding to the second scanning signal at the starting moment of the third frame scanning period; alternatively, the first and second electrodes may be,
the determining module 802 is further configured to determine, at a time when scanning of the second scanning signal is completed, a touch event corresponding to the second scanning signal; the processing module is further configured to process the touch event corresponding to the second scanning signal when it is determined that the touch event corresponding to the second scanning signal is completed.
The signal scanning device provided by the embodiment of the disclosure obtains a first scanning signal by scanning a signal on a touch screen of a terminal. And determining the scanning completion time of the first scanning signal, and continuing to perform signal scanning on the touch screen based on the scanning completion time of the first scanning signal. When the scanning of the first scanning signal is finished, the device rapidly starts the next round of scanning based on the scanning finishing time, so that the scanning efficiency of the signal scanning is improved, and the sensitivity of the touch screen is improved.
It should be noted that: in the signal scanning apparatus provided in the foregoing embodiment, only the division of the functional modules is illustrated in the signal scanning process, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the signal scanning apparatus and the signal scanning method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 9 is a block diagram illustrating a terminal 900 according to an example embodiment. For example, terminal 900 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.
Referring to fig. 9, terminal 900 can include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
Processing component 902 generally controls overall operation of terminal 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
Memory 904 is configured to store various types of data to support operation at terminal 900. Examples of such data include instructions for any application or method operating on terminal 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power components 906 provide power to the various components of the terminal 900. The power components 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal 900.
The multimedia components 908 include a screen providing an output interface between the terminal 900 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 900 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when terminal 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing various aspects of state assessment for the terminal 900. For example, sensor assembly 914 can detect an open/closed state of terminal 900, a relative positioning of components, such as a display and keypad of terminal 900, a change in position of terminal 900 or a component of terminal 900, the presence or absence of user contact with terminal 900, an orientation or acceleration/deceleration of terminal 900, and a change in temperature of terminal 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 916 is configured to facilitate communications between terminal 900 and other devices in a wired or wireless manner. Terminal 900 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications.
In an exemplary embodiment, the terminal 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions that, when executed by the processor 920 of the terminal 900, enable the terminal 900 to perform the operations performed in the touch screen control method in the above-described embodiments. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. A signal scanning method, wherein the method is applied in a terminal, and the method comprises:
performing signal scanning on a touch screen of the terminal to obtain a first scanning signal;
determining the scanning completion moment of the first scanning signal;
and continuing signal scanning on the touch screen based on the scanning completion moment.
2. The method of claim 1, further comprising:
And determining a touch event corresponding to the first scanning signal based on the scanning completion moment.
3. The method of claim 2, further comprising:
determining the touch event completion moment corresponding to the first scanning signal;
and processing the touch event based on the touch event completion moment.
4. The method of claim 3,
the continuing signal scanning of the touch screen based on the scanning completion time includes: continuing to perform signal scanning on the touch screen at the moment when the first scanning signal scanning is finished; and/or the presence of a gas in the gas,
the determining, based on the scanning completion time, a touch event corresponding to the first scanning signal includes: determining a touch event corresponding to the first scanning signal at the moment when the scanning of the first scanning signal is finished; and/or the presence of a gas in the gas,
the processing the touch event based on the touch event completion time includes: and processing the touch event at the touch event completion moment corresponding to the first scanning signal.
5. The method of claim 2, wherein the determining the touch event corresponding to the first scanning signal comprises:
Extracting signal characteristics of the first scanning signal;
determining a matching degree between the signal characteristics and the signal characteristics of each designated touch event;
and selecting the touch event corresponding to the first scanning signal from the appointed touch events according to the matching degree between the signal characteristics and the signal characteristics of each appointed touch event.
6. The method of claim 4, further comprising:
and when the first scanning signal is a signal scanned by the touch screen within a first time period when the touch screen receives the touch operation, executing the step of continuing to scan the signal on the touch screen at the moment when the first scanning signal is scanned, wherein the first time period is a previous time period within the time period when the touch screen receives the touch operation.
7. The method of claim 3, wherein after processing the touch event, the method further comprises:
according to a preset frame scanning period, waiting for the start of a first frame scanning period, wherein the first frame scanning period is the next frame scanning period adjacent to the current frame scanning period;
and continuing signal scanning on the touch screen at the starting moment of the first frame scanning period.
8. The method according to claim 7, wherein in a second time period when the touch operation is received by the touch screen, the second time period is later than a first time period, the first time period is a previous time period in the time period when the touch operation is received by the touch screen, and the scanning signal obtained in the second time period is a second scanning signal, the method further comprising:
waiting for the start of a second frame scanning period, wherein the second frame scanning period is the next frame scanning period which is determined according to the preset frame scanning period and is adjacent to the first frame scanning period; determining a touch event corresponding to the second scanning signal at the starting moment of the second frame scanning period; processing a touch event corresponding to the second scanning signal at the starting time of a third frame scanning period, wherein the third frame scanning period is a next frame scanning period adjacent to the second frame scanning period and determined according to the preset frame scanning period; alternatively, the first and second electrodes may be,
determining a touch event corresponding to the second scanning signal at the moment when the scanning of the second scanning signal is finished, and waiting for the start of the scanning period of the third frame; processing a touch event corresponding to the second scanning signal at the starting moment of the third frame scanning period; alternatively, the first and second electrodes may be,
Determining a touch event corresponding to the second scanning signal at the moment when the scanning of the second scanning signal is finished; and processing the touch event corresponding to the second scanning signal at the moment of determining that the touch event corresponding to the second scanning signal is completed.
9. A signal scanning apparatus, wherein the apparatus is applied in a terminal, the apparatus comprising:
the scanning module is used for scanning signals of a touch screen of the terminal to obtain a first scanning signal;
the determining module is used for determining the scanning completion moment of the first scanning signal;
and the scanning module is further used for continuously scanning the signal of the touch screen based on the scanning completion moment.
10. The apparatus of claim 9, wherein the determining module is further configured to determine a touch event corresponding to the first scanning signal based on the scanning completion time.
11. The apparatus of claim 10, further comprising:
the determining module is further configured to determine a touch event completion time corresponding to the first scanning signal;
and the processing module is used for processing the touch event based on the touch event finishing moment.
12. The apparatus of claim 11, wherein the scanning module is further configured to continue signal scanning on the touch screen at a time when the first scanning signal scanning is completed; and/or the presence of a gas in the gas,
the determining module is further configured to determine a touch event corresponding to the first scanning signal at a scanning completion time of the first scanning signal; and/or the presence of a gas in the gas,
the processing module is further configured to process the touch event at a touch event completion time corresponding to the first scanning signal.
13. The apparatus of claim 10, wherein the determining module is further configured to extract a signal feature of the first scanning signal; determining a matching degree between the signal characteristics and the signal characteristics of each designated touch event; and selecting the touch event corresponding to the first scanning signal from the appointed touch events according to the matching degree between the signal characteristics and the signal characteristics of each appointed touch event.
14. The apparatus of claim 12, wherein the scanning module is further configured to continue to scan the signal on the touch screen at a time when the first scanning signal is a signal scanned by the touch screen within a first time period when the touch screen receives the touch operation, where the first time period is a previous time period within the time period when the touch screen receives the touch operation.
15. The apparatus of claim 11, wherein the scanning module is further configured to wait for a start of a first frame scanning period according to a preset frame scanning period, where the first frame scanning period is a next frame scanning period adjacent to a current frame scanning period; and continuing signal scanning on the touch screen at the starting moment of the first frame scanning period.
16. The apparatus according to claim 15, wherein in a second time period when the touch screen receives the touch operation, the second time period is later than a first time period, the first time period is a previous time period in the time period when the touch screen receives the touch operation, and the scanning signal obtained in the second time period is a second scanning signal;
the scanning module is further configured to wait for a start of a second frame scanning period, where the second frame scanning period is a next frame scanning period adjacent to the first frame scanning period and determined according to the preset frame scanning period; the determining module is further configured to determine, at a start time of the second frame scanning period, a touch event corresponding to the second scanning signal; the processing module is further configured to process a touch event corresponding to the second scanning signal at a starting time of a third frame scanning period, where the third frame scanning period is a next frame scanning period adjacent to the second frame scanning period and determined according to the preset frame scanning period; alternatively, the first and second electrodes may be,
The determining module is further configured to determine, at a scanning completion time of the second scanning signal, a touch event corresponding to the second scanning signal, and wait for the start of the third frame scanning period; the processing module is further configured to process a touch event corresponding to the second scanning signal at a start time of the third frame scanning period; alternatively, the first and second electrodes may be,
the determining module is further configured to determine a touch event corresponding to the second scanning signal at a time when the scanning of the second scanning signal is completed; the processing module is further configured to process the touch event corresponding to the second scanning signal when it is determined that the touch event corresponding to the second scanning signal is completed.
17. A terminal, comprising:
one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to:
performing signal scanning on a touch screen of the terminal to obtain a first scanning signal;
determining the scanning completion moment of the first scanning signal;
and continuing signal scanning on the touch screen based on the scanning completion moment.
18. A computer readable storage medium having stored thereon at least one instruction, which is loaded and executed by a processor, to carry out the steps of the signal scanning method according to any one of claims 1 to 8.
CN201910364192.7A 2019-04-30 2019-04-30 Signal scanning method, device, terminal and storage medium Pending CN111857396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910364192.7A CN111857396A (en) 2019-04-30 2019-04-30 Signal scanning method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910364192.7A CN111857396A (en) 2019-04-30 2019-04-30 Signal scanning method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN111857396A true CN111857396A (en) 2020-10-30

Family

ID=72966157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910364192.7A Pending CN111857396A (en) 2019-04-30 2019-04-30 Signal scanning method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111857396A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114594869A (en) * 2020-12-03 2022-06-07 北京小米移动软件有限公司 Touch screen point reporting method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114594869A (en) * 2020-12-03 2022-06-07 北京小米移动软件有限公司 Touch screen point reporting method and device

Similar Documents

Publication Publication Date Title
US10942580B2 (en) Input circuitry, terminal, and touch response method and device
US10739854B2 (en) Terminal and touch response method and device
CN106951884B (en) Fingerprint acquisition method and device and electronic equipment
US11514711B2 (en) Fingerprint identification method and apparatus
US20170060320A1 (en) Method for controlling a mobile terminal using a side touch panel
CN111695382B (en) Fingerprint acquisition area determining method and fingerprint acquisition area determining device
CN107102772B (en) Touch control method and device
CN107888965B (en) Image gift display method and device, terminal, system and storage medium
US11222223B2 (en) Collecting fingerprints
CN110262692B (en) Touch screen scanning method, device and medium
EP3264774A1 (en) Live broadcasting method and device for live broadcasting
EP3435218A1 (en) Method and device for displaying application, and storage medium
EP3232301A1 (en) Mobile terminal and virtual key processing method
KR20170038178A (en) Method, apparatus, and mobile terminal for identificating fingerprint
CN107958239B (en) Fingerprint identification method and device
CN109862169B (en) Electronic equipment control method, device and storage medium
CN112148148A (en) Touch operation identification method and device, mobile terminal and storage medium
CN111857396A (en) Signal scanning method, device, terminal and storage medium
CN106454540A (en) Interactive information processing method and apparatus based on live broadcasting
US10671827B2 (en) Method and device for fingerprint verification
US20200356977A1 (en) Method and device for controlling application and computer-readable storage medium
CN114035722A (en) Application program interaction method, device and medium
CN106325724B (en) Touch response method and device
CN111949152A (en) Touch screen control method, device, terminal and storage medium
CN111506207A (en) Method and device for determining lighting area during identification of fingerprint under screen

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