IP Library Granted Patent US 10,663,341
Granted Patent B2
US 10,663,341 · App. 15/741,628 · Granted May 26, 2020

Weighing method of touchscreen terminal, and touchscreen terminal

Inventors: Jie Xu (Guangdong, CN); Feng Dong (Guangdong, CN); Hao Wu (Guangdong, CN); Hang Li (Guangdong, CN)
Assignee: Huawei Technologies Co., Ltd.
G01G3/12G01G7/06G01G19/52G01G19/56G06F3/044
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,663,341
App. No.
15/741,628
Granted
May 26, 2020
Kind
B2
Abstract

Embodiments of the present invention provide a weighing method of a touchscreen terminal, and a touchscreen terminal. When a to-be-weighed object is placed in a preset area of a touchscreen of a touchscreen terminal, a reported first capacitance value and reported coordinates of a compensation point are obtained. The first capacitance value is compensated according to a compensation relationship, the coordinates of the compensation point, and the first capacitance value to obtain a second capacitance value. In this way, no additional external structure is needed for the touchscreen terminal, making the touchscreen terminal convenient to carry.

Claims (54)

1. A weighing method of a touchscreen terminal, when a to-be-weighed object is placed in an area of a touchscreen of the touchscreen terminal, comprising:

obtaining a capacitance value at each grid point of all grid points in the area of the touchscreen under a same pressure in the area of the touchscreen;

obtaining a compensation relationship according to coordinates of each grid point and a capacitance value at each grid point of the all grid points in the area of the touchscreen under the same pressure;

obtaining a first capacitance value and coordinates of a compensation point;

obtaining a second capacitance value by compensating the first capacitance value according to the compensation relationship, the coordinates of the compensation point, and the first capacitance value,

wherein, under the compensation relationship, differences between compensated capacitance values at the all grid points in the area of the touchscreen under the same pressure fall within a preset error range, and

wherein the compensated capacitance values are obtained after applying the compensation relationship to reported capacitance values at the all grid points in the area of the touchscreen, respectively; and

obtaining, according to a correspondence between the second capacitance value and a weight, the weight corresponding to the second capacitance value.

2. The method according to claim 1 , wherein if the to-be-weighed object touches the touchscreen at one point, the compensation point is the touch point;

if the to-be-weighed object touches the touchscreen at two points, the compensation point is a midpoint of a line segment connecting the two points; and

if the to-be-weighed object touches the touchscreen at at least three points, the compensation point is a center of gravity of a graph formed by lines connecting the at least three points.

3. The method according to claim 2 , wherein the obtaining, according to a correspondence between the second capacitance value and a weight, the weight corresponding to the second capacitance value comprises:

obtaining, according to a correspondence between the second capacitance value and a pressure, the pressure corresponding to the second capacitance value; and

obtaining, according to a correspondence between the pressure and a weight, the weight corresponding to the pressure.

4. The method according to claim 2 , wherein the preset error range is from 0 to 20% of a maximum value of reported capacitance values at the all grid points in the area of the touchscreen under the same pressure.

5. The method according to claim 1 , before the compensating the first capacitance value according to a compensation relationship, the coordinates of the compensation point, and the first capacitance value to obtain a second capacitance value, further comprising:

obtaining a capacitance value at each grid point of the all grid points in the area of the touchscreen under the same pressure; and

obtaining the compensation relationship according to coordinates of each grid point and the capacitance value at the each grid point of the all grid points in the area of the touchscreen under the same pressure.

6. The method according to claim 5 , wherein the obtaining, according to a correspondence between the second capacitance value and a weight, the weight corresponding to the second capacitance value comprises:

obtaining, according to a correspondence between the second capacitance value and a pressure, the pressure corresponding to the second capacitance value; and

obtaining, according to a correspondence between the pressure and a weight, the weight corresponding to the pressure.

7. The method according to claim 1 , wherein the obtaining, according to a correspondence between the second capacitance value and a weight, the weight corresponding to the second capacitance value comprises:

obtaining, according to a correspondence between the second capacitance value and a pressure, the pressure corresponding to the second capacitance value; and

obtaining, according to a correspondence between the pressure and a weight, the weight corresponding to the pressure.

8. The method according to claim 7 , before the obtaining, according to a correspondence between the pressure and a weight, the weight corresponding to the pressure, further comprising:

obtaining a pressure that is corresponding to a third capacitance value in response to a weight-known object being placed in the area of the touchscreen; and

determining correspondences between pressures and weights according to pressures respectively corresponding to different weight-known objects.

9. The method according to claim 1 , wherein the preset error range is from 0 to 20% of a maximum value of reported capacitance values at the all grid points in the area of the touchscreen under the same pressure.

10. A touchscreen terminal, comprising:

a touchscreen, wherein an area of the touchscreen is configured to receive a placement of a to-be-weighed object;

at least one processor; and

a memory coupled to the at least one processor and storing programming instructions for execution by the at least one processor, the programming instructions instruct the at least one processor to:

obtain a capacitance value at each grid point of all grid points in the area of the touchscreen under a same pressure in the area of the touchscreen;

obtain a compensation relationship according to coordinates of each grid point and a capacitance value at each grid point of the all grid points in the area of the touchscreen under the same pressure;

obtain a first capacitance value and coordinates of a compensation point;

obtain a second capacitance value by compensating the first capacitance value according to the compensation relationship, the coordinates of the compensation point, and the first capacitance value to obtain a second capacitance value, wherein, under the compensation relationship, differences between compensated capacitance values at the all grid points in the area of the touchscreen under the same pressure fall within a preset error range, wherein the compensated capacitance value are obtained after applying the compensation relationship to reported capacitance values at the all grid points in the area of the touchscreen, respectively; and

obtain, according to a correspondence between the second capacitance value and a weight, the weight corresponding to the second capacitance value.

11. The touchscreen terminal according to claim 10 , wherein if the to-be-weighed object touches the touchscreen at one point, the compensation point is the touch point;

if the to-be-weighed object touches the touchscreen at two points, the compensation point is a midpoint of a line segment connecting the two points; and

if the to-be-weighed object touches the touchscreen at least three points, the compensation point is a center of gravity of a graph enclosed by the at least three points.

12. The touchscreen terminal according to claim 11 , wherein the programming instructions further instruct the at least one processor to:

obtain, according to a correspondence between the second capacitance value and a pressure, the pressure corresponding to the second capacitance value; and

obtain, according to a correspondence between the pressure and a weight, the weight corresponding to the pressure.

13. The touchscreen terminal according to claim 10 , wherein the programming instructions further instruct the at least one processor to:

obtain, according to a correspondence between the second capacitance value and a pressure, the pressure corresponding to the second capacitance value; and

obtain, according to a correspondence between the pressure and a weight, the weight corresponding to the pressure.

14. The touchscreen terminal according to claim 13 , wherein the programming instructions further instruct the at least one processor to:

obtain a pressure that is corresponding to a third capacitance value and that is reported when a weight-known object is placed in the area of the touchscreen; and

determine correspondences between pressures and weights according to pressures respectively corresponding to different weight-known objects.

15. The touchscreen terminal according to claim 10 , wherein the error range is from 0 to 20% of a maximum value of reported capacitance values at the all grid points in the area of the touchscreen under the same pressure.

16. The touchscreen terminal according to claim 10 , wherein the programming instructions further instruct the at least one processor to:

obtain, according to a correspondence between the second capacitance value and a pressure, the pressure corresponding to the second capacitance value; and

obtain, according to a correspondence between the pressure and a weight, the weight corresponding to the pressure.

17. A non-transitory computer-readable storage medium that stores one or more programs, wherein the one or more programs comprise an instruction, when an electronic device that comprises a display and one or more application programs executes the instruction, the electronic device is enabled to perform the method according to claim 1 , and the display comprises a display screen.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 13, 2021
From: HUAWEI TECHNOLOGIES CO., LTD.
To: HONOR DEVICE CO., LTD.
Reel/Frame 055919/0344 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 19, 2018
From: XU, JIE; DONG, FENG; WU, HAO; LI, HANG
To: HUAWEI TECHNOLOGIES CO., LTD
Reel/Frame 044664/0695 →
Continuity (1)
Related Publication 20180195892A1 · Jul 12, 2018