IP Library Granted Patent US 10,546,024
Granted Patent B2
US 10,546,024 · App. 15/463,010 · Granted Jan 28, 2020

Method and device for searching character string

Inventors: Duke Hongtao Dai (Shanghai, CN); Winston Lei Zhang (Shanghai, CN); Chao Chen (Shanghai, CN); Kun Wu Huang (Shanghai, CN); Jingjing Liu (Shanghai, CN)
Assignee: EMC IP Holding Company LLC
G06F16/93G06F16/334G06F16/90344
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,546,024
App. No.
15/463,010
Granted
Jan 28, 2020
Kind
B2
Abstract

Techniques for searching a character string involve: determining a first set of documents including a first token in the character string, and a second set of documents including a second token in the character string; and generating a third set of documents based on the first and second sets of documents, in the third set of documents: i) a document being included in the first and second sets of documents, and ii) a distance between the first and second tokens in the document being equal to a distance between the first and second tokens in the character string.

Claims (64)

1. A method of searching a character string, comprising:

determining a first set of documents including a first token in the character string, and a second set of documents including a second token in the character string; and

generating a third set of documents based on the first and second sets of documents, in the third set of documents:

i) a document being included in both the first and second sets of documents, and

ii) a distance between the first and second tokens in the document being equal to a distance between the first and second tokens in the character string.

2. The method according to claim 1 , wherein the determining comprises:

determining a plurality of sets of documents including a plurality of tokens in the character string; and

selecting the first and second sets of documents from the plurality of sets of documents in an ascending order of the numbers of documents included in the plurality of sets of documents.

3. The method according to claim 1 , wherein the generating a third set of documents comprises:

selecting a candidate document included in both the first and second sets of documents;

determining whether a candidate distance between the first and second tokens in the candidate document is equal to the distance between the first and second tokens in the character string; and

adding the candidate document into the third set of documents in response to the candidate distance being equal to the distance.

4. The method according to claim 3 , wherein the selecting comprises:

obtaining an intersection of the first and second sets of documents; and

selecting the candidate document from the intersection.

5. The method according to claim 3 , wherein the determining whether a candidate distance is equal to the distance comprises:

determining a first set of positions of the first token in the candidate document;

determining a second set of positions of the second token in the candidate document; and

determining, based on the first and second sets of positions, whether the candidate distance is equal to the distance between the first and second tokens in the character string.

6. The method according to claim 1 , further comprising:

determining a fourth set of documents including a third token in the character string;

generating a fifth set of documents based on the third and fourth sets of documents, in the fifth set of documents:

i) a document being included in both the third and fourth sets of documents, and

ii) a distance between the first and third tokens in the document being equal to a distance between the first and third tokens in the character string, and a distance between the second and third tokens in the document being equal to a distance between the second and third tokens in the character string.

7. The method according to claim 1 , further comprising:

obtaining the first and second tokens by segmenting the character string.

8. The method according to claim 1 , wherein the distance between the first and second tokens in the document is a Euclidian distance.

9. The method according to claim 1 , wherein the distance between the first and second tokens in the document is a Hamming distance.

10. The method according to claim 1 , wherein the distance between the first and second tokens in the document is one.

11. The method according to claim 1 , wherein the first and second tokens are adjacent to each other.

12. The method according to claim 1 , further comprising a position list that records the position of the token in the document.

13. An electronic device comprising:

a processing unit configured to:

determine a first set of documents including a first token in the character string, and a second set of documents including a second token in the character string; and

generating a third set of documents based on the first and second sets of documents, in the third set of documents:

i) a document being included in both the first and second sets of documents, and

ii) a distance between the first and second tokens in the document being equal to a distance between the first and second tokens in the character string.

14. The device according to claim 13 , wherein the processing unit is configured to:

determine a plurality of sets of documents including a plurality of tokens in the character string; and

select the first and second sets of documents from the plurality of set of documents in an ascending order of the numbers of documents included in the plurality of sets of documents.

15. The device according to claim 13 , wherein the processing unit is configured to:

Select a candidate document included in both the first and second sets of documents;

determine whether a candidate distance between the first and second tokens in the candidate document is equal to the distance between the first and second tokens in the character string; and

add the candidate document into the third set of documents in response to the candidate distance being equal to the distance.

16. The device according to claim 15 , wherein the processing unit is configured to:

obtain an intersection of the first and second sets of documents; and

select the candidate document from the intersection.

17. The device according to claim 15 , wherein the processing unit is configured to:

determine a first set of positions of the first token in the candidate document;

determine a second set of positions of the second token in the candidate document; and

determine, based on the first and second sets of positions, whether the candidate distance is equal to the distance between the first and second tokens in the character string.

18. The device according to claim 13 , wherein the processing unit is further configured to:

determine a fourth set of documents including a third token in the character string;

generate a fifth set of documents based on the third and fourth sets of documents, in the fifth set of documents:

i) a document being included in both the third and fourth sets of documents, and

ii) a distance between the first and third tokens in the document being equal to a distance between the first and third tokens in the character string, and a distance between the second and third tokens in the document being equal to a distance between the second and third tokens in the character string.

19. The device according to claim 13 , wherein the processing unit is further configured to:

obtain the first and second tokens by segmenting the character string.

20. A computer program product for searching a character string, the computer program product comprising:

a non-transitory computer readable medium encoded with computer-executable code, the code configured to enable the execution of:

determining a first set of documents including a first token in the character string, and a second set of documents including a second token in the character string; and

generating a third set of documents based on the first and second sets of documents, in the third set of documents:

i) a document being included in both the first and second sets of documents, and

ii) a distance between the first and second tokens in the document being equal to a distance between the first and second tokens in the character string.

Assignments (8)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053546/0001) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC IP HOLDING COMPANY LLC
Reel/Frame 071642/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (042769/0001) Recorded Apr 26, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MOZY, INC.); DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO WYSE TECHNOLOGY L.L.C.)
Reel/Frame 059803/0802 →
RELEASE OF SECURITY INTEREST AT REEL 042768 FRAME 0585 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; MOZY, INC.; WYSE TECHNOLOGY L.L.C.
Reel/Frame 058297/0536 →
SECURITY AGREEMENT Recorded Apr 22, 2020
From: CREDANT TECHNOLOGIES INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 053546/0001 →
SECURITY AGREEMENT Recorded Mar 21, 2019
From: CREDANT TECHNOLOGIES, INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 049452/0223 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 20, 2017
From: DAI, DUKE HONGTAO; ZHANG, WINSTON LEI; CHEN, CHAO; HUANG, KUN WU; LIU, JINGJING
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 044177/0729 →
PATENT SECURITY INTEREST (CREDIT) Recorded Jun 12, 2017
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; MOZY, INC.; WYSE TECHNOLOGY L.L.C.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT
Reel/Frame 042768/0585 →
PATENT SECURITY INTEREST (NOTES) Recorded Jun 12, 2017
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; MOZY, INC.; WYSE TECHNOLOGY L.L.C.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 042769/0001 →
Priority Claims (1)
CN 2016 1 0158006 · Mar 18, 2016 · national
Continuity (1)
Related Publication 20170270114A1 · Sep 21, 2017