CN113758486A - Path display method, device and computer program product - Google Patents
Path display method, device and computer program product Download PDFInfo
- Publication number
- CN113758486A CN113758486A CN202110958611.7A CN202110958611A CN113758486A CN 113758486 A CN113758486 A CN 113758486A CN 202110958611 A CN202110958611 A CN 202110958611A CN 113758486 A CN113758486 A CN 113758486A
- Authority
- CN
- China
- Prior art keywords
- navigation
- path
- sub
- data
- floor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000004590 computer program Methods 0.000 title claims abstract description 14
- 238000009877 rendering Methods 0.000 claims abstract description 36
- 230000000694 effects Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 6
- 239000003086 colorant Substances 0.000 description 4
- 230000006399 behavior Effects 0.000 description 2
- 238000007499 fusion processing Methods 0.000 description 2
- MCSXGCZMEPXKIW-UHFFFAOYSA-N 3-hydroxy-4-[(4-methyl-2-nitrophenyl)diazenyl]-N-(3-nitrophenyl)naphthalene-2-carboxamide Chemical compound Cc1ccc(N=Nc2c(O)c(cc3ccccc23)C(=O)Nc2cccc(c2)[N+]([O-])=O)c(c1)[N+]([O-])=O MCSXGCZMEPXKIW-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/3407—Route searching; Route guidance specially adapted for specific applications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/36—Input/output arrangements for on-board computers
- G01C21/3626—Details of the output of route guidance instructions
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/36—Input/output arrangements for on-board computers
- G01C21/3667—Display of a road map
Abstract
The embodiment of the disclosure discloses a path display method, a device and a computer program product, wherein the method comprises the following steps: acquiring navigation path data, and acquiring a navigation sub-path segmented by floors based on the navigation path data; determining a target floor where a target object is located, and acquiring a navigation sub-path passing through the target floor from the navigation path data; and rendering the navigation sub-path in the map layer corresponding to the target floor. According to the technical scheme, the rendering and display of the navigation path data in different floors are realized, so that the condition that the navigation paths of multiple floors are mutually overlapped when the navigation is performed on the paths in the places with multiple floors such as a multi-floor parking lot is avoided, the consistency of the navigation paths seen by a user and the actual navigation paths is ensured, the path navigation effect is improved, and the use experience of the user is improved.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of rendering, in particular to a path display method, a path display device and a computer program product.
Background
With the development and progress of society, application software supporting a map navigation function is more and more extensive. For example, when the user is not familiar with the destination to go, the user may query and select a navigation path to the destination through application software supporting a map navigation function. However, the inventor finds that when a navigation path passes through areas spatially belonging to different floors, the navigation path is usually displayed completely in one interface at one time, which may cause that the displayed navigation routes are easily mutually overlapped, so that the navigation path and the navigation path seen by a user are different in actual conditions, resulting in poor user experience.
Disclosure of Invention
The embodiment of the disclosure provides a path display method, a path display device and a computer program product.
In a first aspect, a method for displaying a route is provided in an embodiment of the present disclosure.
Specifically, the path display method includes:
acquiring navigation path data, and acquiring a navigation sub-path segmented by floors based on the navigation path data;
determining a target floor where a target object is located, and acquiring a navigation sub-path passing through the target floor from the navigation path data;
and rendering the navigation sub-path in the map layer corresponding to the target floor.
With reference to the first aspect, in a first implementation manner of the first aspect, the navigation path data includes sub-navigation path data carrying different floor identifiers.
With reference to the first aspect and the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the obtaining a navigation sub-path split by floors based on the navigation path data includes:
and fusing the navigation path sub-data according to the floor identification carried by the navigation path sub-data to obtain navigation sub-paths corresponding to different floors.
With reference to the first aspect and the foregoing implementation manners of the first aspect, in a third implementation manner of the first aspect, the fusing the navigation path sub-data according to the floor identifier carried by the navigation path sub-data to obtain navigation sub-paths corresponding to different floors includes:
acquiring navigation path sub-data with the same floor identification from the navigation path data;
and connecting the navigation path sub-data with the same floor identification according to the path sequence of the navigation path sub-data to generate navigation sub-paths corresponding to different floors.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the rendering the navigation sub-path in the map layer corresponding to the target floor includes:
and rendering the navigation sub-path in the map layer corresponding to the target floor by using a preset color and a preset rendering mode.
In a second aspect, a path display device is provided in embodiments of the present disclosure.
Specifically, the path display device includes:
the acquisition module is configured to acquire navigation path data and obtain a navigation sub-path segmented by floors on the basis of the navigation path data;
the determining module is configured to determine a target floor where a target object is located, and acquire a navigation sub-path passing through the target floor from the navigation path data;
and the rendering module is configured to render the navigation sub-path in the map layer corresponding to the target floor.
With reference to the second aspect, in a first implementation manner of the second aspect, the navigation path data includes navigation path sub-data carrying different floor identifiers.
With reference to the second aspect and the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the obtaining module, based on the navigation path data, obtains a part of the navigation sub-path segmented by floors, and is configured to:
and fusing the navigation path sub-data according to the floor identification carried by the navigation path sub-data to obtain navigation sub-paths corresponding to different floors.
With reference to the second aspect and the foregoing implementation manner of the second aspect, in a third implementation manner of the second aspect, in the present disclosure, the navigation path sub-data is fused according to the floor identifier carried by the navigation path sub-data to obtain portions of navigation sub-paths corresponding to different floors, and the portions are configured to:
acquiring navigation path sub-data with the same floor identification from the navigation path data;
and connecting the navigation path sub-data with the same floor identification according to the path sequence of the navigation path sub-data to generate navigation sub-paths corresponding to different floors.
With reference to the second aspect and the foregoing implementation manner of the second aspect, in a fourth implementation manner of the second aspect, the rendering module is configured to:
and rendering the navigation sub-path in the map layer corresponding to the target floor by using a preset color and a preset rendering mode.
In a third aspect, the disclosed embodiments provide an electronic device, including a memory for storing one or more computer instructions that support a path display apparatus to perform the above path display method, and a processor configured to execute the computer instructions stored in the memory. The path display apparatus may further include a communication interface for the path display apparatus to communicate with other devices or a communication network.
In a fourth aspect, the disclosed embodiments provide a computer-readable storage medium for storing computer instructions for a path display apparatus, which includes computer instructions for executing the path display method described above as a path display apparatus.
In a fifth aspect, the present disclosure provides a navigation method, wherein a navigation route based on at least a start point and an end point is obtained and displayed, and the display includes a display of navigation path data for a target area, wherein the display of the navigation path data for the target area is implemented based on any one of the above methods.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, the target floor where the target object is located is firstly determined, and then the navigation sub-path passing through the target floor is rendered in the map layer corresponding to the target floor. According to the technical scheme, the rendering of the navigation path data in different floors is realized, so that the condition that the navigation paths on different floors are mutually overlapped when the navigation paths meet in a parking lot and the like and need to be navigated through a plurality of floors is avoided, the consistency of the navigation paths seen by a user and the actual navigation paths is ensured, the path navigation guiding effect is improved, and the use experience of the user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the disclosure.
Drawings
Other features, objects, and advantages of embodiments of the disclosure will become more apparent from the following detailed description of non-limiting embodiments when taken in conjunction with the accompanying drawings. In the drawings:
FIG. 1 illustrates a flow diagram of a path display method according to an embodiment of the present disclosure;
fig. 2 illustrates a block diagram of a path display apparatus according to an embodiment of the present disclosure;
FIG. 3 shows a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a computer system suitable for implementing a path display method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the disclosed embodiments will be described in detail with reference to the accompanying drawings so that they can be easily implemented by those skilled in the art. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.
In the disclosed embodiments, it is to be understood that terms such as "including" or "having," etc., are intended to indicate the presence of the disclosed features, numbers, steps, behaviors, components, parts, or combinations thereof, and are not intended to preclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or combinations thereof may be present or added.
It should be further noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict. The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
According to the technical scheme provided by the embodiment of the disclosure, a target floor where a target object is located is determined firstly, and then a navigation sub-path passing through the target floor is rendered in a map layer corresponding to the target floor. According to the technical scheme, the rendering and display of the navigation path data in different floors are realized, so that the condition that the navigation paths of multiple floors are mutually overlapped when the navigation is performed on the paths in the places with multiple floors such as a multi-floor parking lot is avoided, the consistency of the navigation paths seen by a user and the actual navigation paths is ensured, the path navigation effect is improved, and the use experience of the user is improved.
Fig. 1 illustrates a flowchart of a path display method according to an embodiment of the present disclosure, as illustrated in fig. 1, the path display method including the following steps S101-S103:
in step S101, navigation path data is acquired, and a navigation sub-path segmented by floors is obtained based on the navigation path data;
in step S102, a target floor where a target object is located is determined, and a navigation sub-path passing through the target floor is acquired from the navigation path data;
in step S103, the navigation sub-path is rendered in the map layer corresponding to the target floor.
As mentioned above, as society develops and progresses, application software supporting a map navigation function becomes more and more widespread. For example, when the user is not familiar with the destination to go, the user may query and select a navigation path to the destination through application software supporting a map navigation function. However, the inventor finds that when a navigation path passes through areas spatially belonging to different floors, the navigation path is usually displayed completely in one interface at one time, which may cause that the displayed navigation routes are easily mutually overlapped, so that the navigation path and the navigation path seen by a user are different in actual conditions, resulting in poor user experience.
In view of the above problem, in this embodiment, a route display method is proposed, which first determines a target floor where a target object is located, and then renders a navigation sub-route passing through the target floor in a map layer corresponding to the target floor. According to the technical scheme, the rendering and display of the navigation path data in different floors are realized, so that the condition that the navigation paths of multiple floors are mutually overlapped when the navigation is performed on the paths in the places with multiple floors such as a multi-floor parking lot is avoided, the consistency of the navigation paths seen by a user and the actual navigation paths is ensured, the path navigation effect is improved, and the use experience of the user is improved.
In an embodiment of the present disclosure, the route display method may be applied to a route display side of a computer, a computing device, an electronic device, a server, or the like, which may perform route display.
In an embodiment of the present disclosure, the navigation path data refers to navigation path data within a certain target area. The target area refers to an area which exists in the user navigation path, is possibly used as a path area in the user navigation path, is also possible to be used as a starting point area or a destination area in the user navigation path, and has a two-layer or multi-layer structure. For example, if the target area is a parking lot with a multi-layer structure, the navigation path data is the navigation path data in the parking lot. Of course, the overall navigation path data of a certain target object may not only include the navigation path data of the target area, but also include the navigation path data in other areas.
In an embodiment of the present disclosure, the navigation path data may be generated by a path display side, or may be generated by another device and then sent to the path display side.
In an embodiment of the present disclosure, the navigation path data includes one or more navigation path sub-data carrying different floor identifiers of a target area. In the navigation path data, the navigation path sub-data having the same floor identifier, that is, the navigation path sub-data corresponding to the same floor of the target area may exist in plural, and the navigation path sub-data having the same floor identifier are different from each other but have a certain path sequence therebetween, so that the navigation sub-paths which are divided by floors and respectively correspond to different floors can be obtained based on the navigation path data. The floor identification refers to identification information for identifying the target area floor distinctively, such as the target area floor ID, and further, the floor identification may further include target area identification information to identify the target area and the target area floor respectively.
In an embodiment of the present disclosure, the target object refers to an object, such as a pedestrian, a bicycle, a vehicle, a robot, a mobile resource, and the like, traveling based on the received navigation path data using a navigation service.
In view of the fact that the target object enters the target area from the outside of the target area, in the above embodiment, first, navigation path data within the target area is obtained, and a navigation sub-path segmented by floors is obtained based on the navigation path data; then, determining the target floor where the target object is located after entering the target area, for example, some target areas are parking lots including an above-ground level 1 to an underground level 2, when the target object enters the parking lots from the above-ground level 1, the above-ground level 1 is reached first, and some target areas are underground parking lots including an underground level 1 to an underground level 2, when the target object enters the parking lots from the above-ground level 1, the underground level 1 is reached first, because the structural composition of the target areas is different, after the target object enters the target areas, the target floor where the target object is located needs to be determined first; and then acquiring a navigation sub-path passing through the target floor from the navigation path data, and finally rendering the navigation sub-path in a map layer corresponding to the target floor to provide navigation path data aiming at different floors for the target object.
In an embodiment of the present disclosure, the step of obtaining the navigation sub-path segmented by floors based on the navigation path data in step S101 may include the following steps:
and fusing the navigation path sub-data according to the floor identification carried by the navigation path sub-data to obtain navigation sub-paths corresponding to different floors.
As mentioned above, the navigation path data includes one or more navigation path sub-data carrying different floor identifiers of the destination area. In the navigation path data, there may be a plurality of navigation path sub-data having the same floor identifier, that is, corresponding to the same floor of the target area, and the plurality of navigation path sub-data having the same floor identifier are different from each other but have a certain path sequence therebetween. Therefore, in this embodiment, the navigation path sub-data may be subjected to fusion processing according to the floor identifier carried by the navigation path sub-data, so as to obtain a complete navigation sub-path corresponding to different floors of the target area.
In an embodiment of the present disclosure, the step of fusing the navigation path sub-data according to the floor identifier carried by the navigation path sub-data to obtain the navigation sub-paths corresponding to different floors may include the following steps:
acquiring navigation path sub-data with the same floor identification from the navigation path data;
and connecting the navigation path sub-data with the same floor identification according to the path sequence of the navigation path sub-data to generate navigation sub-paths corresponding to different floors.
As mentioned above, the navigation path data may include one or more navigation path sub-data carrying different floor identifiers, where the navigation path sub-data having the same floor identifier, that is, the navigation path sub-data corresponding to the same floor of the target area may have a plurality of sub-data, and the plurality of navigation path sub-data having the same floor identifier are different from each other, but have a certain path sequence therebetween. Therefore, when the navigation path subdata is fused, the navigation path subdata with the same floor identification needs to be obtained first, and the navigation path subdata is data which can form the navigation path data of the same floor corresponding to the target area; and then according to the path sequence of the navigation path subdata, sequentially connecting the navigation path subdata with the same floor identification to obtain navigation subpaths corresponding to different floors of the target area.
In an embodiment of the present disclosure, the step S103 of rendering the navigation sub-path in the map layer corresponding to the target floor may include the following steps:
and rendering the navigation sub-path in the map layer corresponding to the target floor by using a preset color and a preset rendering mode.
In order to enable the traffic information of the navigation sub-paths to be transmitted simultaneously or to distinguish the navigation sub-paths of different floors when rendering the navigation sub-paths, in this embodiment, the navigation sub-paths are rendered in the map layer corresponding to the target floor by using a preset color and a preset rendering mode according to the requirements of practical application. For example, the navigation sub-path may be rendered by using colors representing different road conditions and bars having a width of a predetermined pixel, for example, a deep red color system representing a heavily congested road condition, a red color system representing a congested road condition, a yellow color system representing a slow traffic road condition, a green color system representing a normal smooth road condition, and a deep green color system representing an extremely fast smooth road condition may be used to render the navigation sub-path, so as to indicate the road condition in the corresponding floor of the target area while guiding the traveling direction of the target object. For another example, the navigation sub-paths can be rendered by using colors representing different floors, so that the navigation sub-paths of different floors can be distinguished, the path navigation effect is improved, and the user experience is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 2 shows a block diagram of a path display apparatus according to an embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 2, the path display apparatus includes:
an obtaining module 201 configured to obtain navigation path data, and obtain a navigation sub-path segmented by floors based on the navigation path data;
the determining module 202 is configured to determine a target floor where a target object is located, and obtain a navigation sub-path passing through the target floor from the navigation path data;
a rendering module 203 configured to render the navigation sub-path in the map layer corresponding to the target floor.
As mentioned above, as society develops and progresses, application software supporting a map navigation function becomes more and more widespread. For example, when the user is not familiar with the destination to go, the user may query and select a navigation path to the destination through application software supporting a map navigation function. However, the inventor finds that when a navigation path passes through areas spatially belonging to different floors, the navigation path is usually displayed completely in one interface at one time, which may cause that the displayed navigation routes are easily mutually overlapped, so that the navigation path and the navigation path seen by a user are different in actual conditions, resulting in poor user experience.
In view of the above problem, in this embodiment, a route display device is proposed, which first determines a target floor where a target object is located, and then renders a navigation sub-route passing through the target floor in a map layer corresponding to the target floor. According to the technical scheme, the rendering and display of the navigation path data in different floors are realized, so that the condition that the navigation paths of multiple floors are mutually overlapped when the navigation is performed on the paths in the places with multiple floors such as a multi-floor parking lot is avoided, the consistency of the navigation paths seen by a user and the actual navigation paths is ensured, the path navigation effect is improved, and the use experience of the user is improved.
In an embodiment of the present disclosure, the route display apparatus may be implemented as a route display side of a computer, a computing device, an electronic device, a server, or the like, which may perform route display.
In an embodiment of the present disclosure, the navigation path data refers to navigation path data within a certain target area. The target area refers to an area which exists in the user navigation path, is possibly used as a path area in the user navigation path, is also possible to be used as a starting point area or a destination area in the user navigation path, and has a two-layer or multi-layer structure. For example, if the target area is a parking lot with a multi-layer structure, the navigation path data is the navigation path data in the parking lot. Of course, the overall navigation path data of a certain target object may not only include the navigation path data of the target area, but also include the navigation path data in other areas.
In an embodiment of the present disclosure, the navigation path data may be generated by a path display side, or may be generated by another device and then sent to the path display side.
In an embodiment of the present disclosure, the navigation path data includes one or more navigation path sub-data carrying different floor identifiers of a target area. In the navigation path data, the navigation path sub-data having the same floor identifier, that is, the navigation path sub-data corresponding to the same floor of the target area may exist in plural, and the navigation path sub-data having the same floor identifier are different from each other but have a certain path sequence therebetween, so that the navigation sub-paths which are divided by floors and respectively correspond to different floors can be obtained based on the navigation path data. The floor identification refers to identification information for identifying the target area floor distinctively, such as the target area floor ID, and further, the floor identification may further include target area identification information to identify the target area and the target area floor respectively.
In an embodiment of the present disclosure, the target object refers to an object, such as a pedestrian, a bicycle, a vehicle, a robot, a mobile resource, and the like, traveling based on the received navigation path data using a navigation service.
In view of the fact that the target object enters the target area from the outside of the target area, in the above embodiment, first, navigation path data within the target area is obtained, and a navigation sub-path segmented by floors is obtained based on the navigation path data; then, determining the target floor where the target object is located after entering the target area, for example, some target areas are parking lots including an above-ground level 1 to an underground level 2, when the target object enters the parking lots from the above-ground level 1, the above-ground level 1 is reached first, and some target areas are underground parking lots including an underground level 1 to an underground level 2, when the target object enters the parking lots from the above-ground level 1, the underground level 1 is reached first, because the structural composition of the target areas is different, after the target object enters the target areas, the target floor where the target object is located needs to be determined first; and then acquiring a navigation sub-path passing through the target floor from the navigation path data, and finally rendering the navigation sub-path in a map layer corresponding to the target floor to provide navigation path data aiming at different floors for the target object.
In an embodiment of the present disclosure, the obtaining module 201, based on the navigation path data, obtains a part of the navigation sub-path segmented by floors, and is configured to:
and fusing the navigation path sub-data according to the floor identification carried by the navigation path sub-data to obtain navigation sub-paths corresponding to different floors.
As mentioned above, the navigation path data includes one or more navigation path sub-data carrying different floor identifiers of the destination area. In the navigation path data, there may be a plurality of navigation path sub-data having the same floor identifier, that is, corresponding to the same floor of the target area, and the plurality of navigation path sub-data having the same floor identifier are different from each other but have a certain path sequence therebetween. Therefore, in this embodiment, the navigation path sub-data may be subjected to fusion processing according to the floor identifier carried by the navigation path sub-data, so as to obtain a complete navigation sub-path corresponding to different floors of the target area.
In an embodiment of the present disclosure, the navigation path sub-data is fused according to the floor identifier carried by the navigation path sub-data to obtain the navigation sub-path portions corresponding to different floors, and the navigation sub-path portions may be configured to:
acquiring navigation path sub-data with the same floor identification from the navigation path data;
and connecting the navigation path sub-data with the same floor identification according to the path sequence of the navigation path sub-data to generate navigation sub-paths corresponding to different floors.
As mentioned above, the navigation path data may include one or more navigation path sub-data carrying different floor identifiers, where the navigation path sub-data having the same floor identifier, that is, the navigation path sub-data corresponding to the same floor of the target area may have a plurality of sub-data, and the plurality of navigation path sub-data having the same floor identifier are different from each other, but have a certain path sequence therebetween. Therefore, when the navigation path subdata is fused, the navigation path subdata with the same floor identification needs to be obtained first, and the navigation path subdata is data which can form the navigation path data of the same floor corresponding to the target area; and then according to the path sequence of the navigation path subdata, sequentially connecting the navigation path subdata with the same floor identification to obtain navigation subpaths corresponding to different floors of the target area.
In an embodiment of the present disclosure, the rendering module may be configured to:
and rendering the navigation sub-path in the map layer corresponding to the target floor by using a preset color and a preset rendering mode.
In order to enable the traffic information of the navigation sub-paths to be transmitted simultaneously or to distinguish the navigation sub-paths of different floors when rendering the navigation sub-paths, in this embodiment, the navigation sub-paths are rendered in the map layer corresponding to the target floor by using a preset color and a preset rendering mode according to the requirements of practical application. For example, the navigation sub-path may be rendered by using colors representing different road conditions and using a line having a width of a preset pixel, for example, a dark red system representing a heavily congested road condition, a red system representing a congested road condition, a yellow system representing a slow traffic road condition, a green system representing a normal smooth road condition, and a dark green system representing an extremely fast smooth road condition may be used to render the navigation sub-path, so as to indicate the traveling direction of the target object and prompt the road condition in the corresponding floor of the target area. For another example, the navigation sub-paths can be rendered by using colors representing different floors, so that the navigation sub-paths of different floors can be distinguished, the path navigation effect is improved, and the user experience is improved.
The embodiment of the disclosure also discloses a navigation method, wherein the navigation route at least based on the starting point and the end point is obtained and displayed, the display comprises the display of the navigation path data of the target area, and the display of the navigation path data of the target area is realized based on any one of the methods.
The present disclosure also discloses an electronic device, fig. 3 shows a block diagram of an electronic device according to an embodiment of the present disclosure, and as shown in fig. 3, the electronic device 300 includes a memory 301 and a processor 302; wherein the content of the first and second substances,
the memory 301 is used to store one or more computer instructions, which are executed by the processor 302 to implement the above-described method steps.
Fig. 4 is a schematic structural diagram of a computer system suitable for implementing a path display method according to an embodiment of the present disclosure.
As shown in fig. 4, the computer system 400 includes a processing unit 401 that can execute various processes in the above-described embodiments according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage section 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the system 400 are also stored. The processing unit 401, the ROM402, and the RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output section 407 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. A driver 410 is also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as necessary, so that a computer program read out therefrom is mounted into the storage section 408 as necessary. The processing unit 401 may be implemented as a CPU, a GPU, a TPU, an FPGA, an NPU, or other processing units.
In particular, the above described methods may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a medium readable thereby, the computer program comprising program code for performing the path display method. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 409, and/or installed from the removable medium 411.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, a program segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present disclosure may be implemented by software or hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, the disclosed embodiment also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus in the foregoing embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the embodiments of the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept. For example, the above features and (but not limited to) the features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.
Claims (12)
1. A path display method, comprising:
acquiring navigation path data, and acquiring a navigation sub-path segmented by floors based on the navigation path data;
determining a target floor where a target object is located, and acquiring a navigation sub-path passing through the target floor from the navigation path data;
and rendering the navigation sub-path in the map layer corresponding to the target floor.
2. The method of claim 1, wherein the navigation routing data comprises sub-navigation routing data carrying different floor identifiers.
3. The method of claim 2, the deriving a floor-sliced navigation sub-path based on the navigation path data, comprising:
and fusing the navigation path sub-data according to the floor identification carried by the navigation path sub-data to obtain navigation sub-paths corresponding to different floors.
4. The method of claim 3, wherein the fusing the navigation path sub-data according to the floor identifier carried by the navigation path sub-data to obtain navigation sub-paths corresponding to different floors comprises:
acquiring navigation path sub-data with the same floor identification from the navigation path data;
and connecting the navigation path sub-data with the same floor identification according to the path sequence of the navigation path sub-data to generate navigation sub-paths corresponding to different floors.
5. The method according to any one of claims 1 to 4, wherein the rendering the navigation sub-path in the map layer corresponding to the target floor includes:
and rendering the navigation sub-path in the map layer corresponding to the target floor by using a preset color and a preset rendering mode.
6. A path display device comprising:
the acquisition module is configured to acquire navigation path data and obtain a navigation sub-path segmented by floors on the basis of the navigation path data;
the determining module is configured to determine a target floor where a target object is located, and acquire a navigation sub-path passing through the target floor from the navigation path data;
and the rendering module is configured to render the navigation sub-path in the map layer corresponding to the target floor.
7. The apparatus of claim 6, the navigation routing data comprising sub-navigation routing data carrying different floor identifiers.
8. The apparatus of claim 7, the portion of the retrieving module that derives a floor-sliced navigation sub-path based on the navigation path data configured to:
and fusing the navigation path sub-data according to the floor identification carried by the navigation path sub-data to obtain navigation sub-paths corresponding to different floors.
9. The apparatus according to claim 8, wherein the navigation path sub-data is fused according to a floor identifier carried by the navigation path sub-data to obtain portions of navigation sub-paths corresponding to different floors, and the portions are configured to:
acquiring navigation path sub-data with the same floor identification from the navigation path data;
and connecting the navigation path sub-data with the same floor identification according to the path sequence of the navigation path sub-data to generate navigation sub-paths corresponding to different floors.
10. The apparatus of any of claims 6-9, the rendering module configured to:
and rendering the navigation sub-path in the map layer corresponding to the target floor by using a preset color and a preset rendering mode.
11. A computer program product comprising computer programs/instructions, wherein the computer programs/instructions, when executed by a processor, implement the method steps of any of claims 1-5.
12. A navigation method, wherein a navigation route based on at least a start point and an end point is acquired and displayed, the display comprising a display of navigation path data for a target area, wherein the display of navigation path data for the target area is achieved based on any one of the methods of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110958611.7A CN113758486A (en) | 2021-08-20 | 2021-08-20 | Path display method, device and computer program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110958611.7A CN113758486A (en) | 2021-08-20 | 2021-08-20 | Path display method, device and computer program product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113758486A true CN113758486A (en) | 2021-12-07 |
Family
ID=78790552
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110958611.7A Pending CN113758486A (en) | 2021-08-20 | 2021-08-20 | Path display method, device and computer program product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113758486A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115273519A (en) * | 2022-07-28 | 2022-11-01 | 北京百度网讯科技有限公司 | Road information display method, apparatus, device and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006039887A (en) * | 2004-07-27 | 2006-02-09 | Navitime Japan Co Ltd | Navigation system, route search device, navigation device, program, and icon |
JP2010266256A (en) * | 2009-05-13 | 2010-11-25 | Sanyo Electric Co Ltd | Navigation apparatus |
CN103646419A (en) * | 2013-12-11 | 2014-03-19 | 上海赛图计算机科技有限公司 | Displaying method of path across floors based on indoor map application |
CN109297491A (en) * | 2018-09-06 | 2019-02-01 | 西安云景智维科技有限公司 | A kind of indoor positioning navigation methods and systems |
CN111623782A (en) * | 2020-06-10 | 2020-09-04 | 浙江商汤科技开发有限公司 | Navigation route display method and three-dimensional scene model generation method and device |
CN112015836A (en) * | 2020-08-19 | 2020-12-01 | 维沃移动通信有限公司 | Navigation map display method and device |
CN112539749A (en) * | 2020-06-30 | 2021-03-23 | 深圳优地科技有限公司 | Robot navigation method, robot, terminal device and storage medium |
-
2021
- 2021-08-20 CN CN202110958611.7A patent/CN113758486A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006039887A (en) * | 2004-07-27 | 2006-02-09 | Navitime Japan Co Ltd | Navigation system, route search device, navigation device, program, and icon |
JP2010266256A (en) * | 2009-05-13 | 2010-11-25 | Sanyo Electric Co Ltd | Navigation apparatus |
CN103646419A (en) * | 2013-12-11 | 2014-03-19 | 上海赛图计算机科技有限公司 | Displaying method of path across floors based on indoor map application |
CN109297491A (en) * | 2018-09-06 | 2019-02-01 | 西安云景智维科技有限公司 | A kind of indoor positioning navigation methods and systems |
CN111623782A (en) * | 2020-06-10 | 2020-09-04 | 浙江商汤科技开发有限公司 | Navigation route display method and three-dimensional scene model generation method and device |
CN112539749A (en) * | 2020-06-30 | 2021-03-23 | 深圳优地科技有限公司 | Robot navigation method, robot, terminal device and storage medium |
CN112015836A (en) * | 2020-08-19 | 2020-12-01 | 维沃移动通信有限公司 | Navigation map display method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115273519A (en) * | 2022-07-28 | 2022-11-01 | 北京百度网讯科技有限公司 | Road information display method, apparatus, device and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105210119B (en) | The location data points provided by computing device determine the number of pass cost | |
CN109141464B (en) | Navigation lane change prompting method and device | |
EP1876418B1 (en) | Navigation system, route search server, route search method, and program | |
CN108253973B (en) | Method and device for associating high-precision map with standard map | |
US8761455B2 (en) | Road estimation device and method for estimating road | |
US8670595B2 (en) | Road estimation device and method for estimating road | |
US11815359B2 (en) | Method, device and system for processing positioning information | |
US8768011B2 (en) | Road estimation device and method for estimating road | |
CN112052269B (en) | Position recommending method and device | |
CN113206874A (en) | Vehicle-road cooperative processing method and device, electronic equipment and storage medium | |
CN113758486A (en) | Path display method, device and computer program product | |
CN114863047A (en) | Intersection virtual line drawing method and device, electronic equipment and computer program product | |
CN111831764A (en) | Method and device for determining stop station, electronic equipment and medium | |
FR2760282A1 (en) | Dynamic on-board guidance and navigation system for motor vehicles | |
CN115547096A (en) | Method and device for planning guide route of vehicle | |
CN114689063A (en) | Map modeling and navigation guiding method, electronic device and computer program product | |
US20100161212A1 (en) | Road guidance service method and navigation system for implemening the method | |
WO2019117048A1 (en) | In-vehicle device, information providing system, and information presentation method | |
CN115798218B (en) | Method and device for associating traffic identification information and electronic equipment | |
CN114046794B (en) | Route planning method, route planning device, navigation method and computer readable storage medium | |
CN116071654B (en) | Map data processing method, device, equipment and medium | |
CN115031715A (en) | Navigation method and device | |
CN117419741A (en) | Path and lane association method and device, electronic equipment and storage medium | |
CN113401127B (en) | Path updating method, path updating device, electronic equipment and computer readable medium | |
CN114659535A (en) | Truck return route generation method and device, storage medium and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20240301 Address after: # 03-06, Lai Zan Da Building 1, 51 Belarusian Road, Singapore Applicant after: Alibaba Innovation Co. Guo jiahuodiqu after: Xin Jiapo Address before: Room 01, 45th Floor, AXA Building, 8 Shanton Road, Singapore Applicant before: Alibaba Singapore Holdings Ltd. Guo jiahuodiqu before: Xin Jiapo |