The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
May. 23, 2023

Filed:

Aug. 05, 2020
Applicant:

Beijing Baidu Netcom Science and Technology Co., Ltd., Beijing, CN;

Inventors:

Le Deng, Beijing, CN;

Kunbin Chen, Beijing, CN;

Jun Fang, Beijing, CN;

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 16/901 (2019.01); G06F 16/2455 (2019.01); G06F 16/28 (2019.01);
U.S. Cl.
CPC ...
G06F 16/9024 (2019.01); G06F 16/24558 (2019.01); G06F 16/288 (2019.01);
Abstract

The present disclosure provides a method and an apparatus for querying the shortest path of a graph, and a storage medium. The method includes: performing a breadth-first search in a distributed graph database with a start entity to be searched and an end entity to be searched as root nodes respectively, and obtaining a layer of new entities for each search; performing an intersection checking on the new entities and entities of the highest layer from a search set on an opposite side, so as to determine whether an intersection between the new entities and the entities of the highest layer exists; and when the intersection exists, determining intersection points, and performing path backtracking through the intersection points to find the shortest path from the start entity to the end entity.


Find Patent Forward Citations

Loading…