IP Library Granted Patent US 11,175,820
Granted Patent B2
US 11,175,820 · App. 16/212,316 · Granted Nov 16, 2021

Method, device, and terminal device for extracting data

Inventor: Lindong Liu (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
G06F3/0488G06F3/04842G06F40/205G06F40/284G06F40/53
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 11,175,820
App. No.
16/212,316
Granted
Nov 16, 2021
Kind
B2
Abstract

The present invention discloses a method and a device for extracting data from a touchscreen. One example method includes determining a pressing operation position on a touchscreen of a terminal device based on a pressing operation instruction received from a user; determining a data area from which data is to be extracted based on the pressing operation position; determining a data extraction rule for use in extracting the data from the data area, wherein the data extraction rule is based on a data type of the data to be extracted or based on attribute information of the data to be extracted; extracting data from the data area based on the determined data extraction rule; and displaying the extracted data on the touchscreen.

Claims (43)

1. A computer-implemented method, comprising:

determining a particular set of characters that are located in a region of a user interface that is associated with a user selection;

selecting, from among a single-byte data extraction rule and a double-byte data extraction rule, a data extraction rule for use as a highest priority data extraction rule in extracting a subset of the particular set of characters that are located in the region of the user interface that is associated with the user selection, comprising:

determining that the particular set of characters comprises both one or more double-byte characters and one or more single-byte characters;

counting a first amount of the one or more double-byte characters and counting a second amount of the one or more single-byte characters;

determining whether the first amount of the double-byte characters is larger than the second amount of the single-byte characters;

in response to determining that the first amount of the double-byte characters is larger than the second amount of the single-byte characters, selecting the double-byte data extraction rule as the highest priority data extraction rule; or

in response to determining that the first amount of the double-byte characters is not larger than the second amount of the single-byte characters, selecting the single-byte data extraction rule as the highest priority data extraction rule;

extracting, as an extracted subset, a subset of one or more characters from the particular set of characters by on applying the highest priority data extraction rule to the particular set of characters; and

providing the extracted subset of the one or more characters to display on the user interface.

2. The computer-implemented method of claim 1 , wherein the user selection comprises a touch operation on a touchscreen of a mobile device.

3. The computer-implemented method of claim 1 , wherein the extracted subset comprises a verification code sent by short message service (SMS).

4. The computer-implemented method of claim 1 , wherein the extracted subset includes one or more characters outside of a coverage area of a touch on a touchscreen.

5. The computer-implemented method of claim 1 , wherein the single-byte data extraction rule is associated with an English-language mode, and wherein the double-byte data extraction rule is associated with a Chinese-language mode.

6. A non-transitory, computer-readable storage medium coupled to one or more computers and configured with instructions executable by the one or more computers to perform operations comprising:

determining a particular set of characters that are located in a region of a user interface that is associated with a user selection;

selecting, from among a single-byte data extraction rule and a double-byte data extraction rule, a data extraction rule for use as a highest priority data extraction rule in extracting a subset of the particular set of characters that are located in the region of the user interface that is associated with the user selection, comprising:

determining that the particular set of characters comprises both one or more double-byte characters and one or more single-byte characters;

counting a first amount of the one or more double-byte characters and counting a second amount of the one or more single-byte characters;

determining whether the first amount of the double-byte characters is larger than the second amount of the single-byte characters;

in response to determining that the first amount of the double-byte characters is larger than the second amount of the single-byte characters, selecting the double-byte data extraction rule as the highest priority data extraction rule; or

in response to determining that the first amount of the double-byte characters is not larger than the second amount of the single-byte characters, selecting the single-byte data extraction rule as the highest priority data extraction rule;

extracting, as an extracted subset, a subset of one or more characters from the particular set of characters by on applying the highest priority data extraction rule to the particular set of characters; and

providing the extracted subset of the one or more characters to display on the user interface.

7. The non-transitory, computer-readable storage medium of claim 6 , wherein the user selection comprises a touch operation on a touchscreen of a mobile device.

8. The non-transitory, computer-readable storage medium of claim 6 , wherein the extracted subset comprises a verification code sent by short message service (SMS).

9. The non-transitory, computer-readable storage medium of claim 6 , wherein the extracted subset includes one or more characters outside of a coverage area of a touch on a touchscreen.

10. The non-transitory, computer-readable storage medium of claim 6 , wherein the single-byte data extraction rule is associated with an English-language mode, and wherein the double-byte data extraction rule is associated with a Chinese-language mode.

11. A computer-implemented system comprising:

one or more computers; and

one or more computer-readable memories coupled to the one or more computers and configured with instructions executable by the one or more computers to perform operations comprising:

determining a particular set of characters that are located in a region of a user interface that is associated with a user selection;

selecting, from among a single-byte data extraction rule and a double-byte data extraction rule, a data extraction rule for use as a highest priority data extraction rule in extracting a subset of the particular set of characters that are located in the region of the user interface that is associated with the user selection, comprising:

determining that the particular set of characters comprises both one or more double-byte characters and one or more single-byte characters;

counting a first amount of the one or more double-byte characters and counting a second amount of the one or more single-byte characters;

determining whether the first amount of the double-byte characters is larger than the second amount of the single-byte characters;

in response to determining that the first amount of the double-byte characters is larger than the second amount of the single-byte characters, selecting the double-byte data extraction rule as the highest priority data extraction rule; or

in response to determining that the first amount of the double-byte characters is not larger than the second amount of the single-byte characters, selecting the single-byte data extraction rule as the highest priority data extraction rule;

extracting, as an extracted subset, a subset of one or more characters from the particular set of characters by on applying the highest priority data extraction rule to the particular set of characters; and

providing the extracted subset of the one or more characters to display on the user interface.

12. The computer-implemented system of claim 11 , wherein the user selection comprises a touch operation on a touchscreen of a mobile device.

13. The computer-implemented system of claim 11 , wherein the extracted subset comprises a verification code sent by short message service (SMS).

14. The computer-implemented system of claim 11 , wherein the extracted subset includes one or more characters outside of a coverage area of a touch on a touchscreen.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053754/0625 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053743/0464 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 30, 2019
From: LIU, LINDONG
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 049028/0510 →