# US 12,223,133 B2 · Methods and apparatus for processing of input events in electronic devices

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

- Number: US 12,223,133 B2
- Document ID: US12223133B2
- Status: Granted
- Kind: B2
- Application number: 18/247,258
- Filed: 2021-08-25
- Published: 2023-11-16
- Granted: 2025-02-11
- Earliest claimed: 2020-09-30
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Min Wang
- Web page: https://patentgrep.com/patent/US12223133B2

## CPC

- G06F 3/0416: {Control or interface arrangements specially adapted for digitisers}
- G06F 3/0488: using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F 9/451: Execution arrangements for user interfaces
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Example event processing methods and apparatus are described. In one example method, after an electronic device receives a first target vertical synchronization signal, if an input event received by the electronic device is a target input event and meets a preset condition, the target input event is processed before a second target vertical synchronization signal arrives. The second target vertical synchronization signal is a next target vertical synchronization signal of the first target vertical synchronization signal.

## Claims

### Claim 1

An event processing method applied to an electronic device, wherein the event processing method comprises:
receiving a first target vertical synchronization signal;
receiving an input event;
processing, in response to the input event being a target input event and meeting a preset condition, the target input event, wherein the preset condition comprises:
a first time period corresponding to the target input event is less than a minimum reporting period of an input event, wherein the first time period indicates a time period between a moment at which the target input event is received and a moment at which a second target vertical synchronization signal arrives; and
receiving the second target vertical synchronization signal, wherein the second target vertical synchronization signal is a next target vertical synchronization signal of the first target vertical synchronization signal.

### Claim 2 (depends on 1)

The event processing method according to claim 1, wherein the processing the target input event comprises:
drawing, based on the first target vertical synchronization signal, one or more layers corresponding to the target input event.

### Claim 3 (depends on 1)

The event processing method according to claim 1, further comprising:
processing another target input event received in a second time period, wherein the second time period indicates a time period between a moment at which the first target vertical synchronization signal is received and a moment at which the target input event is received.

### Claim 4 (depends on 1)

The event processing method according to claim 1, further comprising:
when the input event is the target input event and does not meet the preset condition, receiving a next input event.

### Claim 5 (depends on 1)

The event processing method according to claim 1, wherein the target input event comprises a slide action event.

### Claim 6

An electronic device, comprising:
at least one processor; and
one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to perform operations comprising:
receiving a first target vertical synchronization signal;
receiving an input event;
processing, in response to the input event being a target input event and meeting a preset condition, the target input event, wherein the preset condition comprises:
a first time period corresponding to the target input event is less than a minimum reporting period of an input event, wherein the first time period indicates a time period between a moment at which the target input event is received and a moment at which a second target vertical synchronization signal arrives; and
receiving the second target vertical synchronization signal, wherein the second target vertical synchronization signal is a next target vertical synchronization signal of the first target vertical synchronization signal.

### Claim 7 (depends on 6)

The electronic device according to claim 6, wherein the processing the target input event comprises:
drawing one or more layers corresponding to the target input event.

### Claim 8 (depends on 6)

The electronic device according to claim 6, wherein the one or more memories store the programming instructions for execution by the at least one processor to perform operations comprising:
processing another target input event received in a second time period, wherein the second time period indicates a time period between a moment at which the first target vertical synchronization signal is received and a moment at which the target input event is received.

### Claim 9 (depends on 6)

The electronic device according to claim 6, wherein the one or more memories store the programming instructions for execution by the at least one processor to perform operations comprising:
when the input event is the target input event and does not meet the preset condition, receiving a next input event.

### Claim 10 (depends on 6)

The electronic device according to claim 6, wherein the target input event comprises a slide action event.

### Claim 11

A non-transitory computer-readable storage medium storing programming instructions for execution by at least one processor to perform operations comprising:
receiving a first target vertical synchronization signal;
receiving an input event;
processing, in response to the input event being a target input event and meeting a preset condition, the target input event, wherein the preset condition comprises:
a first time period corresponding to the target input event is less than a minimum reporting period of an input event, wherein the first time period indicates a time period between a moment at which the target input event is received and a moment at which a second target vertical synchronization signal arrives; and
receiving the second target vertical synchronization signal, wherein the second target vertical synchronization signal is a next target vertical synchronization signal of the first target vertical synchronization signal.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the processing the target input event comprises:
drawing, based on the first target vertical synchronization signal, one or more layers corresponding to the target input event.

### Claim 13 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the non-transitory computer-readable storage medium stores the programming instructions for execution by the at least one processor to perform operations comprising:
processing another target input event received in a second time period, wherein the second time period indicates a time period between a moment at which the first target vertical synchronization signal is received and a moment at which the target input event is received.

### Claim 14 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the non-transitory computer-readable storage medium stores the programming instructions for execution by the at least one processor to perform operations comprising:
when the input event is the target input event and does not meet the preset condition, receiving a next input event.

### Claim 15 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the target input event comprises a slide action event.
