US 11,899,918 B2
Method, apparatus, electronic device and storage medium for invoking touch screen magnifier
Lili Ma, Anhui (CN); and Junfeng Li, Anhui (CN)
Assigned to Anhui Hongcheng Opto-Electronics Co., Ltd., Bengbu (CN)
Appl. No. 18/032,813
Filed by Anhui Hongcheng Opto-Electronics Co., Ltd., Anhui (CN)
PCT Filed Dec. 29, 2020, PCT No. PCT/CN2020/140948
§ 371(c)(1), (2) Date Apr. 20, 2023,
PCT Pub. No. WO2022/083003, PCT Pub. Date Apr. 28, 2022.
Claims priority of application No. 202011134935.0 (CN), filed on Oct. 21, 2020.
Prior Publication US 2023/0384923 A1, Nov. 30, 2023
Int. Cl. G06F 3/04847 (2022.01); G06F 3/0488 (2022.01)
CPC G06F 3/04847 (2013.01) [G06F 3/0488 (2013.01); G06F 2203/04805 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A method for invoking a touch screen magnifier, comprising:
determining a sliding track in response to a sliding touch instruction by a user on a touch screen;
judging whether the sliding track satisfies a recognition condition of a preset pattern; and
invoking a magnifier corresponding to the preset pattern on the touch screen under a condition that the sliding track satisfies the recognition condition of the preset pattern,
wherein judging whether the sliding track satisfies the recognition condition of the preset pattern comprises:
extracting a set of key points according to the sliding track, wherein the set of key points comprises at least five key points: a first key point, a second key point, a third key point, a fourth key point and a fifth key point, the first key point is a starting point of the sliding track, and the fifth key point is an end point of the sliding track; and
judging whether the sliding track satisfies the recognition condition of the preset pattern based on the key points in the set of key points,
wherein extracting the set of key points according to the sliding track comprises:
connecting the first key point to the fifth key point to determine a first judgment line segment;
selecting a point with a maximum vertical distance to the first judgment line segment on the sliding track as the third key point;
connecting the first key point to the third key point to determine a second judgment line segment, and connecting the third key point to the fifth key point to determine a third judgment line segment; and
selecting a point with a maximum vertical distance to the second judgment line segment on the sliding track between the first key point and the third key point as the second key point selecting a point with a maximum vertical distance to the third judgment line segment on the sliding track between the third key point and the fifth key point as the fourth key point.