Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
GRAPH STRUCTURE GENERATION METHOD FOR DATABASE LOGICAL RELATIONSHIP, AND DATA QUERY METHOD AND DEVICE
Document Type and Number:
WIPO Patent Application WO/2021/139270
Kind Code:
A1
Abstract:
The present application relates to the technical field of artificial intelligence. Disclosed are a graph structure generation method for a database logical relationship, and a data query method and device. The graph structure generation method comprises: using all of tables, fields and foreign keys as nodes, and using a connection relationship between the tables and the fields, a connection relationship between the tables and a connection relationship between the tables and the foreign keys as edges for connecting different nodes, so as to generate a graph structure for describing a database logical relationship. The data query method comprises: encoding natural language text to form a first encoding result; then encoding a sub-graph part to form a second encoding result; forming a final encoding result after stacking; decoding the final encoding result so as to generate a complete structured query sentence; and using the complete structured query sentence to query a data result from a database. In the present application, a corresponding method can be achieved by means of a corresponding device. By means of the present application, data acquisition logic can become clearer and more concise, and a data query result can be accurately and quickly acquired from a database.

Inventors:
FAN ZHONGRUI (CN)
WU ZHENYU (CN)
WANG JIANMING (CN)
Application Number:
PCT/CN2020/118913
Publication Date:
July 15, 2021
Filing Date:
September 29, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
PING AN TECH SHENZHEN CO LTD (CN)
International Classes:
G06F16/21
Foreign References:
CN111159330A2020-05-15
CN111274267A2020-06-12
US20190138522A12019-05-09
Attorney, Agent or Firm:
SHENZHEN MINGRIJINDIAN INTELLECTUAL PROPERTY AGENCY FIRM(GENERAL) (CN)
Download PDF: