# US 2025/0155255 A1 · Route Planning Method and Apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0155255 A1
- Document ID: US20250155255A1
- Status: Published application
- Kind: A1
- Application number: 19/024,589
- Filed: 2025-01-16
- Published: 2025-05-15
- Earliest claimed: 2022-08-24
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Weiming Zhu; Tianxiao Chen; Baoyang Chen; Chuangchuang Liu; Zhaohui Wu
- Web page: https://patentgrep.com/patent/US20250155255A1

## CPC

- G01C 21/343: {Calculating itineraries (travelling salesman problem G06Q10/04; optimisation of routes G06Q10/047)}
- G01C 21/3614: {through interaction with a road map, e.g. selecting a POI icon on a road map}
- G01C 21/36: Input/output arrangements for on-board computers
- G01C 21/3605: {Destination input or retrieval}
- G01C 21/3647: {Guidance involving output of stored or live camera images or video streams}
- G01C 21/3664: {Details of the user input interface, e.g. buttons, knobs or sliders, including those provided on a touch screen; remote controllers; input using gestures}
- G01C 21/30: Map- or contour-matching
- G01C: MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY (measuring liquid level G01F; radio navigation, determining distance or velocity by use of propagation effects, e.g. Doppler effects, propagation time, of radio waves, analogous arrangements using other waves G01S)

## Abstract

An electronic device receives a first operation, and performs route planning based on a target graphic indicated by the first operation and a preset target region. The electronic device obtains a target route in the target region based on the target graphic and the target region, and displays the obtained target route on a map.

## Claims

### Claim 1

A route planning method, comprising:
receiving a first operation that indicates a target graphic;
setting a target region on a map based on a user operation or a location of an electronic device;
determining a target route based on the target graphic and the target region, wherein the target route is in the target region when a similarity between a first shape of the target route and a second shape of the target graphic meets a preset threshold; and
displaying the target route on the map.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the target route comprises:
obtaining feature information of the target graphic in response to the first operation, wherein the feature information describes a graphic feature of the target graphic; and
determining the target route based on the feature information and the target region.

### Claim 3 (depends on 2)

The method of claim 2, wherein obtaining the feature information comprises:
performing abstraction processing on the target graphic to obtain a target abstract graphic of the target graphic, wherein the target abstract graphic describes a key point in the target graphic or a connection relationship between key points in the target abstract graphic; and
obtaining the feature information based on the target abstract graphic.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining the target route further comprises:
performing matching on the target region based on first feature information to obtain at least one successfully matched first target subroute; and
performing matching on a first surrounding region of the at least one first target subroute based on second feature information to obtain a successfully matched second target subroute, and wherein the method further comprises performing matching on a second surrounding region of a third target subroute of the at least one first target subroute to obtain the second target subroute,
wherein the first feature information and the second feature information are partial information of the feature information, and
wherein the second target subroute and the third target subroute form the target route.

### Claim 5 (depends on 3)

The method of claim 3, wherein determining the target route further comprises:
determining a plurality of candidate routes based on the target graphic and the target region on the map; and
determining the target route from the plurality of candidate routes based on a preset condition, wherein the preset condition comprises at least one of a similarity between the first shape of the target route and the second shape of the target abstract graphic meets a first threshold, a length of the target route meets a second threshold, or the target route passes through a specified region, and wherein the specified region is preset.

### Claim 6 (depends on 2)

The method of claim 2, wherein the feature information comprises at least one of connection feature information, geometric feature information, angle feature information, size feature information, or location feature information.

### Claim 7 (depends on 1)

The method of claim 1, wherein receiving the first operation comprises receiving the first operation via a first interface, and wherein displaying the target route comprises displaying the target route on the map, wherein the map is on a second interface.

### Claim 8 (depends on 7)

The method of claim 7, wherein the first operation comprises drawing the target graphic on the first interface.

### Claim 9 (depends on 7)

The method of claim 7, wherein the first interface is a gallery interface, wherein the gallery interface comprises at least one locally stored graphic, wherein receiving the first operation on the first interface comprises receiving the first operation on the target graphic, and wherein the target graphic is in the at least one graphic.

### Claim 10 (depends on 7)

The method of claim 7, wherein the first interface is a candidate graphic interface, wherein the candidate graphic interface comprises at least one candidate graphic, wherein receiving the first operation on the first interface comprises receiving the first operation on a target candidate graphic, and wherein the target candidate graphic is a graphic in the at least one candidate graphic.

### Claim 11 (depends on 1)

The method of claim 1, wherein determining the target route comprises:
segmenting the target region to obtain N target sub-regions, wherein N is a positive integer greater than 1;
prioritizing the N target sub-regions based on target feature information to obtain a priority sequence in which the N target sub-regions comprising more routes corresponding to the target feature information have a higher priority, and wherein the target feature information is partial information of the feature information; and
performing matching on the N target sub-regions based on the feature information and the priority sequence.

### Claim 12

A route planning apparatus comprising:
a receiver, configured to receive a first operation that indicates a target graphic;
one or more processors configured to:
set a target region on a map based on a user operation or a location of an electronic device; and
determine a target route based on the target graphic and the target region, wherein the target route is in the target region when a similarity between a first shape of the target route and a second shape of the target graphic meets a preset threshold; and
a display configured to display the target route on the map.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the one or more processors are further configured to determine the target route by:
obtaining feature information of the target graphic in response to the first operation, wherein the feature information describes a graphic feature of the target graphic; and
determining the target route based on the feature information and the target region.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the one or more processors are further configured to determine the target route by:
performing abstraction processing on the target graphic, to obtain a target abstract graphic of the target graphic, wherein the target abstract graphic is used to describe a key point in the target graphic or a connection relationship between key points in the target abstract graphic; and
obtaining the feature information based on the target abstract graphic.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the one or more processors are further configured to determine the target route by:
performing matching on the target region based on first feature information to obtain at least one successfully matched first target subroute; and
performing matching on a first surrounding region of the at least one first target subroute based on second feature information, to obtain a successfully matched second target subroute,
wherein the one or more processors are further configured to perform matching on a second surrounding region of a third target subroute of the at least one first target subroute to obtain the second target subroute,
wherein the first feature information and the second feature information are partial information of the feature information, and
wherein the second target subroute and the third target subroute form the target route.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein the one or more processors are further configured to determine the target route by:
determining a plurality of candidate routes based on the target graphic and the target region on the map; and
determining the target route from the plurality of candidate routes based on a preset condition, wherein the preset condition comprises at least one of a similarity between the first shape of the target route and the second shape of the target abstract graphic meets a first threshold, a length of the target route meets a second threshold, or the target route passes through a specified region, and wherein the specified region is preset.

### Claim 17 (depends on 13)

The apparatus of claim 13, wherein the feature information comprises at least one of connection feature information, geometric feature information, angle feature information, size feature information, or location feature information.

### Claim 18 (depends on 12)

The apparatus of claim 12, wherein the receiver is configured to receive the first operation via a first interface, and the display is configured to display the target route on the map, and wherein the map is on a second interface.

### Claim 19 (depends on 12)

The apparatus of claim 12, wherein the one or more processors are further configured to determine the target route by:
segmenting the target region, to obtain N target sub-regions, wherein N is a positive integer greater than 1;
prioritizing the N target sub-regions based on target feature information to obtain a priority sequence in which the N target sub-regions comprising more routes corresponding to the target feature information have a higher priority, and wherein the target feature information is partial information of the feature information; and
performing matching on the N target sub-regions based on the feature information and the priority sequence.

### Claim 20

A computer program product comprising computer-executable instructions that are stored on a non-transitory computer-readable storage medium and that when executed by one or more processors cause a route planning apparatus to:
receive a first operation that indicates a target graphic;
set a target region on a map based on a user operation or a location of an electronic device;
determine a target route based on the target graphic and the target region, wherein the target route is in the target region when a similarity between a first shape of the target route and a second shape of the target graphic meets a preset threshold; and
display the target route on the map.
