# US 2021/0081068 A1 · Key setting method and device, and storage medium

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

- Number: US 2021/0081068 A1
- Document ID: US20210081068A1
- Status: Published application
- Kind: A1
- Application number: 16/793,919
- Filed: 2020-02-18
- Published: 2021-03-18
- Earliest claimed: 2019-09-12
- Assignees: Beijing Xiaomi Intelligent Technology Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Yu CHEN; Changyu SUN
- Web page: https://patentgrep.com/patent/US20210081068A1

## CPC

- G06F 1/169: {the I/O peripheral being an integrated pointing device, e.g. trackball in the palm rest area, mini-joystick integrated between keyboard keys, touch pads or touch stripes (G06F1/1643 takes precedence; constructional details of pointing devices G06F3/033)}
- G06F 3/0416: {Control or interface arrangements specially adapted for digitisers}
- G06F 1/1626: {with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]}
- G06F 1/1671: {Special purpose buttons or auxiliary keyboards, e.g. retractable mini keypads, keypads or buttons that remain accessible at closed laptop (G06F1/1666 takes precedence)}
- G06F 1/1692: {the I/O peripheral being a secondary touch screen used as control interface, e.g. virtual buttons or sliders}
- G06F 3/03547: {Touch pads, in which fingers can move on a surface}
- G06F 3/0414: {using force sensing means to determine a position}
- G06F 3/0481: based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F 3/04886: by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
- G06F 2203/0339: Touch strips, e.g. orthogonal touch strips to control cursor movement or scrolling; single touch strip to adjust parameter or to implement a row of soft keys
- G06F 2203/04104: Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger
- G06F 2203/04105: Pressure sensors for measuring the pressure or force exerted on the touch surface without providing the touch position
- H04B 1/3833: {Hand-held transceivers}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04B: TRANSMISSION

## Abstract

A key setting method is performed by a terminal, wherein a pressure sensing area is provided on at least one side of the terminal with respect to a screen display region, and the method includes: detecting a grip posture of a user gripping the terminal by using a touch sensor distributed on a surface of the terminal; determining a key setting mode corresponding to the grip posture, wherein the key setting mode indicates a key function corresponding to a target side of the at least one side; and in the pressure sensing area on the target side, setting a pressure sensing key corresponding to the key function.

## Claims

### Claim 1

A key setting method performed by a terminal, wherein a pressure sensing area is provided on at least one side of the terminal with respect to a screen display region, the method comprising:
detecting a grip posture of a user gripping the terminal by using a touch sensor distributed on a surface of the terminal;
determining a key setting mode corresponding to the grip posture, wherein the key setting mode indicates a key function corresponding to a target side of the at least one side; and
setting a pressure sensing key corresponding to the key function in the pressure sensing area on the target side.

### Claim 2 (depends on 1)

The method according to claim 1, wherein setting a pressure sensing key corresponding to the key function in the pressure sensing area on the target side comprises:
obtaining a key position of the pressure sensing key corresponding to the key function; and
according to the key position, setting the pressure sensing key in the pressure sensing area on the target side.

### Claim 3 (depends on 2)

The method according to claim 2, wherein obtaining a key position of the pressure sensing key corresponding to the key function on the target side comprises at least one of:
obtaining the key position of the pressure sensing key corresponding to the key function on the target side as indicated by the key setting mode; or
obtaining a touch region when the terminal is gripped, and determining the key position of the pressure sensing key corresponding to the key function on the target side according to a position of the touch region.

### Claim 4 (depends on 1)

The method according to claim 1, wherein before determining the key setting mode corresponding to the grip posture, the method further comprises:
displaying a function setting interface corresponding to the key setting mode; and
according to a function selection operation performed on the function setting interface, setting the key function corresponding to the target side.

### Claim 5 (depends on 1)

The method according to claim 1, wherein determining a key setting mode corresponding to the grip posture comprises:
determining an application program running in a foreground in the terminal; and
determining the key setting mode according to the application program running in the foreground and the grip posture.

### Claim 6 (depends on 1)

The method according to claim 1, wherein detecting a grip posture of a user gripping the terminal by using a touch sensor distributed on a surface of the terminal comprises:
obtaining a grip region when the terminal is gripped; and
obtaining the grip posture according to the grip region.

### Claim 7 (depends on 6)

The method according to claim 6, wherein obtaining the grip posture according to the touch region comprises:
searching for a grip region template matching the grip region; and
obtaining the grip posture corresponding to the grip region template;
wherein the grip posture comprises at least one of a left-hand grip posture, a right-hand grip posture, or a two-hand grip posture.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the grip region comprises at least one touch region on a left side of the terminal and at least one touch region on a right side of the terminal, the left side is a side of the terminal located on the left of the screen display region, and the right side is a side of the terminal located on the right of the screen display region;
wherein obtaining the grip posture according to the grip region comprises:
comparing a number of at least one touch region on the left side with a number of at least one touch region on the right side;
if the number of at least one touch region on the left side is smaller than the number of at least one touch region on the right side, obtaining the grip posture as the left-hand grip posture; and
if the number of the at least one touch region on the right side is smaller than or equal to the number of the at least one touch region on the left side, obtaining the grip posture as the right-hand grip posture.

### Claim 9 (depends on 1)

The method according to claim 1, wherein a display screen of the terminal comprises two main display regions, and the two main display regions face outward of the terminal along different directions respectively;
wherein before detecting a grip posture of a user gripping the terminal by using a touch sensor distributed on a surface of the terminal, the method further comprises:
obtaining touch regions respectively detected in the two main display regions; and
determining one of the two main display regions as the screen display region according to the touch regions respectively detected in the two main display regions.

### Claim 10

A key setting device applied in a terminal, wherein a pressure sensing area is provided on at least one side of the terminal with respect to a screen display region, the device comprising:
a processor; and
a memory for storing instructions executable by the processor;
wherein the processor is configured to:
detect a grip posture of a user gripping the terminal by using a touch sensor distributed on a surface of the terminal;
determine a key setting mode corresponding to the grip posture, wherein the key setting mode indicates a key function corresponding to a target side of the at least one side; and
set, in the pressure sensing area on the target side, a pressure sensing key corresponding to the key function.

### Claim 11 (depends on 10)

The device according to claim 10, wherein the processor is further configured to:
obtain a key position of the pressure sensing key corresponding to the key function; and
according to the key position, set the pressure sensing key in the pressure sensing area on the target side.

### Claim 12 (depends on 11)

The device according to claim 11, wherein the processor is further configured to perform at least one of:
obtaining the key position of the pressure sensing key corresponding to the key function on the target side as indicated by the key setting mode; or
obtaining a touch region when the terminal is gripped, and determining the key position of the pressure sensing key corresponding to the key function on the target side according to a position of the touch region.

### Claim 13 (depends on 10)

The device according to claim 10, wherein the processor is further configured to:
before determining the key setting mode corresponding to the grip posture, display a function setting interface corresponding to the key setting mode; and
according to a function selection operation performed on the function setting interface, set the key function corresponding to the target side.

### Claim 14 (depends on 10)

The device according to claim 10, wherein the processor is further configured to:
determine an application program running in a foreground in the terminal; and
configured to determine the key setting mode according to the application program running in the foreground and the grip posture.

### Claim 15 (depends on 10)

The device according to claim 10, wherein the processor is further configured to:
obtain a grip region when the terminal is gripped; and
obtain the grip posture according to the touch region.

### Claim 16 (depends on 15)

The device according to claim 15, wherein the processor is further configured to:
search for a touch region template matching the touch region; and
obtain the grip posture corresponding to the touch region template;
wherein the grip posture comprises at least one of a left-hand grip posture, a right-hand grip posture, or a two-hand grip posture.

### Claim 17 (depends on 15)

The device according to claim 15, wherein the grip region comprises at least one touch region on a left side of the terminal and at least one touch region on a right side of the terminal, the left side is a side of the terminal located on the left of the screen display region, and the right side is a side of the terminal located on the right of the screen display region;
wherein the processor is further configured to:
compare a number of at least one touch region on the left side with a number of at least one touch region on the right side;
if the number of at least one touch region on the left side is smaller than the number of at least one touch region on the right side, obtain the grip posture as the left-hand grip posture; and
if the number of the at least one touch region on the right side is smaller than or equal to the number of the at least one touch region on the left side, obtain the grip posture as the right-hand grip posture.

### Claim 18 (depends on 10)

The device according to claim 10, wherein a display screen of the terminal comprises two main display regions, and the two main display regions face outward of the terminal along different directions respectively; and
wherein the processor is further configured to:
before detecting the grip posture of the user gripping the terminal by using the touch sensor distributed on the surface of the terminal, obtain touch regions respectively detected in the two main display regions; and
determine one of the two main display regions as the screen display region according to the touch regions respectively detected in the two main display regions.

### Claim 19

A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor in a terminal, cause the terminal to perform a key setting method, wherein a pressure sensing area is provided on at least one side of the terminal with respect to a screen display region, and the method comprises:
detecting a grip posture of a user gripping the terminal by using a touch sensor distributed on a surface of the terminal;
determining a key setting mode corresponding to the grip posture, wherein the key setting mode indicates a key function corresponding to a target side of the at least one side; and
setting a pressure sensing key corresponding to the key function in the pressure sensing area on the target side.
