# US 2021/0286497 A1 · Method, device, and storage medium for preventing false touch of screen

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0286497 A1
- Document ID: US20210286497A1
- Status: Published application
- Kind: A1
- Application number: 17/000,310
- Filed: 2020-08-22
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Kai WANG; Runyu SHI; Wei LU; Chenchen BAO; Xudong YIN
- Web page: https://patentgrep.com/patent/US20210286497A1

## CPC

- G01S 15/88: Sonar systems specially adapted for specific applications (seismic or acoustic prospecting or detecting G01V1/00)
- G06F 3/04186: {Touch location disambiguation}
- G01S 15/586: {using transmission of continuous unmodulated waves, amplitude-, frequency-, or phase-modulated waves and based upon the Doppler effect resulting from movement of targets}
- G01S 15/60: wherein the transmitter and receiver are mounted on the moving object, e.g. for determining ground speed, drift angle, ground track
- G06F 3/0416: {Control or interface arrangements specially adapted for digitisers}
- G06F 3/04166: {Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving (Synchronisation with the driving of the display or the backlighting unit to avoid interferences generated internally G06F3/04184)}
- G06F 3/0436: {in which generating transducers and detecting transducers are attached to a single acoustic waves transmission substrate}
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G01S: RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for preventing a false touch of a screen includes: sending a bandpass ultrasonic signal; receiving a reflected ultrasonic signal; calculating frequency domain information of the reflected ultrasonic signal; calculating at least one ultrasonic feature vector according to the frequency domain information, the ultrasonic feature vector being used to characterize movement state information of the mobile terminal approaching or moving away from an obstacle; constructing a feature vector set comprising the at least one ultrasonic feature vector; determining whether a condition for preventing a false touch is met according to the feature vector set; disabling a touch function of the touch screen in a case where the condition for preventing the false touch is met.

## Claims

### Claim 1

A method for preventing a false touch of a screen, which is applied to a mobile terminal with the touch screen, comprising:
sending a bandpass ultrasonic signal;
receiving a reflected ultrasonic signal;
calculating frequency domain information of the reflected ultrasonic signal;
calculating at least one ultrasonic feature vector according to the frequency domain information, the ultrasonic feature vector being used to characterize movement state information of the mobile terminal approaching or moving away from an obstacle;
constructing a feature vector set comprising the at least one ultrasonic feature vector;
determining whether a condition for preventing a false touch is met according to the feature vector set; and
disabling a touch function of the touch screen in a case where the condition for preventing the false touch is met.

### Claim 2 (depends on 1)

The method according to claim 1, wherein
the method further comprises acquiring inertial sensor data of the mobile terminal, and calculating an inertial feature vector according to the inertial sensor data;
the constructing the feature vector set comprising the at least one ultrasonic feature vector comprises:
constructing a feature vector set comprising the inertial feature vector and the at least one ultrasonic feature vector.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the calculating the frequency domain information of the reflected ultrasonic signal comprises:
performing frequency shift processing on the reflected ultrasonic signal, a center frequency of a reflected ultrasonic signal after the frequency shift processing being in a set frequency band, the set frequency band comprising a zero frequency and a frequency span of the set frequency band being less than a set frequency span; and
calculating frequency domain information of the reflected ultrasonic signal after the frequency shift processing.

### Claim 4 (depends on 3)

The method according to claim 3, wherein
the calculating the frequency domain information of the reflected ultrasonic signal after the frequency shift processing comprises:
performing down-sampling processing on the reflected ultrasonic signal after the frequency shift processing, and calculating frequency domain information of the reflected ultrasonic signal after the down-sampling processing.

### Claim 5 (depends on 1)

The method according to claim 1, wherein
the method further comprises: calculating reference energy;
the at least one ultrasonic feature vector comprises: a relative energy coefficient; and
the calculating the at least one ultrasonic feature vector according to the frequency domain information comprises:
calculating energy of the reflected ultrasonic signal according to the frequency domain information, and calculating a relative energy coefficient of the energy of the reflected ultrasonic signal relative to the reference energy.

### Claim 6 (depends on 5)

The method according to claim 5, wherein
the calculating the reference energy comprises one of:
determining a plurality of periods within a first set duration after a false touch prevention function is enabled, calculating the energy of the reflected ultrasonic signal in each of the periods, and using a calculated average or weighted average of a plurality of energy as the reference energy;
determining a plurality of periods within a second set duration after a phone call is connected, calculating the energy of the reflected ultrasonic signal in each of the periods, and using a calculated average or weighted average of a plurality of energy as the reference energy; or
collecting inertial sensor data, determining a target period, the target period being a period during which a change range of the inertial sensor data is less than a set range after the false touch prevention function is enabled or the phone call is connected, determining a plurality of sub-periods within the target period, calculating the energy of the reflected ultrasonic signal in each of the sub-periods, and using a calculated average or weighted average of a plurality of energy as the reference energy.

### Claim 7 (depends on 1)

The method according to claim 1, wherein
the at least one ultrasonic feature vector comprises: a frequency shift vector; the frequency shift vector comprises at least one of a high-frequency frequency shift vector or a low-frequency frequency shift vector; and
the calculating the at least one ultrasonic feature vector according to the frequency domain information comprises at least one of:
determining a bandpass upper cutoff frequency of the bandpass ultrasonic signal, determining a first frequency in the frequency domain information corresponding to the bandpass upper cutoff frequency, determining a plurality of second frequencies greater than the first frequency, determining energy corresponding to each of the second frequencies according to the frequency domain information, and using a sum, average or weighted average of energy corresponding to each of the second frequencies as a value of the high-frequency frequency shift vector; or
determining a bandpass lower cut-off frequency of the bandpass ultrasonic signal, determining a third frequency in the frequency domain information corresponding to the bandpass lower cut-off frequency, determining a plurality of fourth frequencies less than the third frequency, determining energy corresponding to each of the fourth frequencies according to the frequency domain information, and using a sum, average or weighted average of energy corresponding to each of the fourth frequencies as a value of the low-frequency frequency shift vector.

### Claim 8 (depends on 1)

The method according to claim 1, wherein
the sending the bandpass ultrasonic signal comprises: simultaneously sending a plurality of bandpass ultrasonic signals, passband frequency bands of the plurality of bandpass ultrasonic signals being different from each other;
the at least one ultrasonic feature vector comprises: a relative spectrum sequence; and
calculating the at least one ultrasonic feature vector according to the frequency domain information, comprises:
calculating energy of each of the plurality of bandpass ultrasonic signals, using maximum energy among the energy of the plurality of bandpass ultrasonic signals as a reference value, determining a reference coefficient corresponding to the reference value, calculating a relative coefficient of the energy of each of the plurality of bandpass ultrasonic signals except a bandpass ultrasonic signal having the maximum energy and the reference value, and constructing the relative spectrum sequence comprising the reference coefficient and the relative coefficient according to ascending order or descending order of the passband frequency bands of the plurality of bandpass ultrasonic signals.

### Claim 9 (depends on 1)

The method according to claim 1, wherein
the method further comprises: using three sets of training data to perform training on a deep learning model until the training is successful, each set of the training data comprising a target value and corresponding sample data; different target values represent different movement states of the mobile terminal, and the movement state comprises: a movement state where a movement direction is close to the obstacle, a movement state where the movement direction is away from the obstacle, and a non-movement state; the sample data comprises a sample feature vector set; and
the determining whether the condition for preventing the false touch is met according to the feature vector set comprises:
inputting the feature vector set into a successfully trained deep learning model, and determining the movement state of the mobile terminal according to an output value of the successfully trained deep learning model; and
determining whether the condition for preventing the false touch is met according to the movement state of the mobile terminal.

### Claim 10 (depends on 9)

The method according to claim 9, wherein
the determining whether the condition for preventing the false touch is met according to the movement state of the mobile terminal comprises one of:
determining that the condition for preventing the false touch is met, in a case where the movement state of the mobile terminal is the movement state where the movement direction is close to the obstacle;
recording a duration that the mobile terminal maintains the movement direction, in a case where the movement state of the mobile terminal is the movement state where the movement direction is close to the obstacle, and determining that the condition for preventing the false touch, in a case where the duration is greater than a third set duration; and
calculating a distance between the mobile terminal and the obstacle, in a case where the movement state of the mobile terminal is the movement state where the movement direction is close to the obstacle, and determining that the condition for preventing the false touch, in a case where the distance between the mobile terminal and the obstacle is less than a set distance.

### Claim 11

A device for preventing a false touch of a screen, comprising:
a processor; and
memory configured to store processor executable instructions;
wherein the processor is configured to execute the executable instructions in the memory to perform a method applied to the device with the touch screen, and wherein the method comprises:
sending a bandpass ultrasonic signal;
receiving a reflected ultrasonic signal;
calculating frequency domain information of the reflected ultrasonic signal;
calculating at least one ultrasonic feature vector according to the frequency domain information, the ultrasonic feature vector being used to characterize movement state information of the mobile terminal approaching or moving away from an obstacle;
constructing a feature vector set comprising the at least one ultrasonic feature vector;
determining whether a condition for preventing a false touch is met according to the feature vector set; and
disabling a touch function of the touch screen in a case where the condition for preventing the false touch is met.

### Claim 12 (depends on 11)

The device according to claim 11, wherein
the method further comprises: acquiring inertial sensor data of the mobile terminal, and calculating an inertial feature vector according to the inertial sensor data;
the constructing the feature vector set comprising the at least one ultrasonic feature vector comprises:
constructing a feature vector set comprising the inertial feature vector and the at least one ultrasonic feature vector.

### Claim 13 (depends on 11)

The device according to claim 11, wherein
the calculating the frequency domain information of the reflected ultrasonic signal comprises:
performing frequency shift processing on the reflected ultrasonic signal, a center frequency of a reflected ultrasonic signal after the frequency shift processing being in a set frequency band, the set frequency band comprising a zero frequency and a frequency span of the set frequency band being less than a set frequency span; and
calculating frequency domain information of the reflected ultrasonic signal after the frequency shift processing.

### Claim 14 (depends on 13)

The device according to claim 13, wherein
the calculating the frequency domain information of the reflected ultrasonic signal after the frequency shift processing comprises:
performing down-sampling processing on the reflected ultrasonic signal after the frequency shift processing, and calculating frequency domain information of the reflected ultrasonic signal after the down-sampling processing.

### Claim 15 (depends on 11)

The device according to claim 11, wherein
the method further comprises: calculating reference energy;
the at least one ultrasonic feature vector comprises: a relative energy coefficient; and
the calculating the at least one ultrasonic feature vector according to the frequency domain information comprises:
calculating energy of the reflected ultrasonic signal according to the frequency domain information, and calculating a relative energy coefficient of the energy of the reflected ultrasonic signal relative to the reference energy.

### Claim 16 (depends on 15)

The device according to claim 15, wherein
the calculating the reference energy comprises one of:
determining a plurality of periods within a first set duration after a false touch prevention function is enabled, calculating the energy of the reflected ultrasonic signal in each of the periods, and using a calculated average or weighted average of a plurality of energy as the reference energy;
determining a plurality of periods within a second set duration after a phone call is connected, calculating the energy of the reflected ultrasonic signal in each of the periods, and using a calculated average or weighted average of a plurality of energy as the reference energy; or
collecting inertial sensor data, determining a target period, the target period being a period during which a change range of the inertial sensor data is less than a set range after the false touch prevention function is enabled or the phone call is connected, determining a plurality of sub-periods within the target period, calculating the energy of the reflected ultrasonic signal in each of the sub-periods, and using a calculated average or weighted average of a plurality of energy as the reference energy.

### Claim 17 (depends on 11)

The device according to claim 11, wherein
the at least one ultrasonic feature vector comprises: a frequency shift vector;
the frequency shift vector comprises at least one of a high-frequency frequency shift vector or a low-frequency frequency shift vector; and
the calculating the at least one ultrasonic feature vector according to the frequency domain information comprises at least one of:
determining a bandpass upper cutoff frequency of the bandpass ultrasonic signal, determining a first frequency in the frequency domain information corresponding to the bandpass upper cutoff frequency, determining a plurality of second frequencies greater than the first frequency, determining energy corresponding to each of the second frequencies according to the frequency domain information, and using a sum, average or weighted average of energy corresponding to each of the second frequencies as a value of the high-frequency frequency shift vector; or
determining a bandpass lower cut-off frequency of the bandpass ultrasonic signal, determining a third frequency in the frequency domain information corresponding to the bandpass lower cut-off frequency, determining a plurality of fourth frequencies less than the third frequency, determining energy corresponding to each of the fourth frequencies according to the frequency domain information, and using a sum, average or weighted average of energy corresponding to each of the fourth frequencies as a value of the low-frequency frequency shift vector.

### Claim 18 (depends on 11)

The device according to claim 11, wherein
the sending the bandpass ultrasonic signal comprises: simultaneously sending a plurality of bandpass ultrasonic signals, passband frequency bands of the plurality of bandpass ultrasonic signals being different from each other;
the at least one ultrasonic feature vector comprises: a relative spectrum sequence; and
calculating the at least one ultrasonic feature vector according to the frequency domain information, comprises:
calculating energy of each of the plurality of bandpass ultrasonic signals, using maximum energy among the energy of the plurality of bandpass ultrasonic signals as a reference value, determining a reference coefficient corresponding to the reference value, calculating a relative coefficient of the energy of each of the plurality of bandpass ultrasonic signals except a bandpass ultrasonic signal having the maximum energy and the reference value, and constructing the relative spectrum sequence comprising the reference coefficient and the relative coefficient according to ascending order or descending order of the passband frequency bands of the plurality of bandpass ultrasonic signals.

### Claim 19 (depends on 11)

The device according to claim 11, wherein
the method further comprises: using three sets of training data to perform training on a deep learning model until the training is successful, each set of the training data comprising a target value and corresponding sample data; different target values represent different movement states of the mobile terminal, and the movement state comprises: a movement state where a movement direction is close to the obstacle, a movement state where the movement direction is away from the obstacle, and a non-movement state; the sample data comprises a sample feature vector set; and
the determining whether the condition for preventing the false touch is met according to the feature vector set comprises:
inputting the feature vector set into a successfully trained deep learning model, and determining the movement state of the mobile terminal according to an output value of the successfully trained deep learning model; and
determining whether the condition for preventing the false touch is met according to the movement state of the mobile terminal.

### Claim 20 (depends on 1)

A mobile terminal implementing the method according to claim 1, wherein the mobile terminal is configured to calculate at least one ultrasonic feature vector to increase accuracy for characterizing movement state information of the mobile terminal approaching or away from the obstacle, thereby more accurately learning movement of the mobile terminal, preventing interruption of a call caused by a contact between the touch screen and a user face during the call.
