US 12,339,907 B2
Methods and apparatuses for automatically completing query statement for graph database
Pengfei Li, Hangzhou (CN)
Assigned to Alipay (Hangzhou) Information Technology Co., Ltd., Hangzhou (CN)
Filed by Alipay (Hangzhou) Information Technology Co., Ltd., Zhejiang (CN)
Filed on Sep. 26, 2023, as Appl. No. 18/474,789.
Claims priority of application No. 202211173516.7 (CN), filed on Sep. 26, 2022.
Prior Publication US 2024/0104139 A1, Mar. 28, 2024
Int. Cl. G06F 16/90 (2019.01); G06F 16/242 (2019.01); G06F 16/901 (2019.01); G06F 16/903 (2019.01); G06F 16/9032 (2019.01)
CPC G06F 16/90324 (2019.01) [G06F 16/2423 (2019.01); G06F 16/9024 (2019.01); G06F 16/90344 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method for automatically completing a query statement for a graph database, comprising:
obtaining a current input character in a process where a user inputs a graph database query statement based on a target query language;
querying multiple syntax keywords for matching, as matched target keywords, target keywords based on at least the current input character when the current input character is not a predetermined character, wherein the predetermined character is a reserved character of the target query language; and
determining the matched target keywords as auto-complete content corresponding to the current input character.