CN109115238B - Map display method, device and equipment - Google Patents

Map display method, device and equipment Download PDF

Info

Publication number
CN109115238B
CN109115238B CN201810722904.3A CN201810722904A CN109115238B CN 109115238 B CN109115238 B CN 109115238B CN 201810722904 A CN201810722904 A CN 201810722904A CN 109115238 B CN109115238 B CN 109115238B
Authority
CN
China
Prior art keywords
information
entity
map
geographic
user
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.)
Active
Application number
CN201810722904.3A
Other languages
Chinese (zh)
Other versions
CN109115238A (en
Inventor
戚天禹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810722904.3A priority Critical patent/CN109115238B/en
Publication of CN109115238A publication Critical patent/CN109115238A/en
Application granted granted Critical
Publication of CN109115238B publication Critical patent/CN109115238B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers
    • G01C21/3667Display of a road map

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Instructional Devices (AREA)

Abstract

The embodiment of the invention provides a map display method, a map display device and map display equipment, wherein the method comprises the following steps: acquiring object information of a first object, wherein the first object is an object scanned by the terminal equipment or an object shot by the terminal equipment; acquiring geographic information in a geographic area indicated by the first object according to the object information; and acquiring the target position of the user in the geographic area, and drawing geographic information in the map according to the target position. The flexibility of map display is improved, and the use experience of a user on the map is further improved.

Description

Map display method, device and equipment
Technical Field
The embodiment of the invention relates to the technical field of maps, in particular to a map display method, a map display device and map display equipment.
Background
At present, with the development of science and technology and the demand of users for life convenience, electronic maps (hereinafter referred to as maps) are more and more widely applied.
In the prior art, when a user needs to view the geographical condition of a certain area in a map during the process of using the map by the user, the user may also input the name of a symbolic object in the area (for example, the name of a building, the name of a road, etc.) in a terminal device, and the terminal device displays the map with the symbolic object as the center according to the input name of the symbolic object, so that the symbolic object is located at the center position of the map. The user can check the geographic states of different positions in the area through zooming operation and/or dragging operation, wherein the scale of the map display is changed after the user inputs the zooming operation, and the center position of the map display is changed after the user inputs the dragging operation. After the user inputs the zoom operation and/or the drag operation, the user can not find the concerned area easily, so that the user needs to find the concerned area again.
As can be seen from the above, the map display in the prior art has poor flexibility, which results in poor user experience of the map.
Disclosure of Invention
The embodiment of the invention provides a map display method, a map display device and map display equipment, which improve the flexibility of map display and further improve the use experience of a user on a map.
In a first aspect, an embodiment of the present invention provides a map display method, including:
acquiring object information of a first object, wherein the first object is an object scanned by a terminal device or an object shot by the terminal device;
acquiring geographic information in a geographic area indicated by the first object according to the object information;
and acquiring the target position of the user in the geographic area, and drawing the geographic information in the map according to the target position.
In a possible implementation, the acquiring the object information of the first object includes:
acquiring an image obtained by scanning or shooting the first object by the terminal equipment;
and extracting the object information in the image, wherein the object information comprises character information and/or image information for describing the first object.
In another possible implementation manner, the obtaining geographic information in a geographic area indicated by the first object according to the object information includes:
sending the object information to a server, wherein the object information is used for enabling the server to acquire geographic information corresponding to the object information;
receiving the geographic information from the server.
In another possible embodiment, the obtaining the target location of the user in the geographic area includes:
acquiring a display mode of the map, wherein the display mode comprises a real-time positioning mode and a preview mode, the real-time positioning mode is used for indicating map display according to the actual position of the terminal equipment, and the preview mode is used for indicating map display according to a dragging instruction input by a user;
if the using mode of the map is a real-time positioning mode, determining the position of the terminal equipment as the target position;
and if the use mode of the map is a preview mode, acquiring a focus position in the map currently displayed by the terminal equipment, and determining the focus position as the target position.
In another possible embodiment, the mapping the geographic information in the map according to the target position includes:
acquiring entity information of at least one entity included in the geographic information;
and drawing the at least one entity on the map according to the target position, the position of the at least one entity and the entity information of the at least one entity.
In another possible implementation manner, after the mapping the at least one entity according to the target location, the location of the at least one entity, and the entity information of the at least one entity, the method further includes:
acquiring user comment information corresponding to each entity;
and displaying the user comment information corresponding to each entity in the area corresponding to each entity.
In another possible embodiment, the mapping the geographic information in the map according to the target position includes:
and drawing the geographic information in the map in a three-dimensional form according to the target position.
In a second aspect, an embodiment of the present invention provides a map display apparatus, including a first obtaining module, a second obtaining module, a third obtaining module, and a drawing module,
the first acquisition module is used for acquiring object information of a first object, wherein the first object is an object scanned by the terminal equipment or an object shot by the terminal equipment;
the second acquisition module is used for acquiring the geographic information in the geographic area indicated by the first object according to the object information;
the third acquisition module is used for acquiring the target position of the user in the geographic area;
the drawing module is used for drawing the geographic information in the map according to the target position.
In a possible implementation manner, the first obtaining module is specifically configured to:
acquiring an image obtained by scanning or shooting the first object by the terminal equipment;
and extracting the object information in the image, wherein the object information comprises character information and/or image information for describing the first object.
In another possible implementation manner, the second obtaining module is specifically configured to:
sending the object information to a server, wherein the object information is used for enabling the server to acquire geographic information corresponding to the object information;
receiving the geographic information from the server.
In another possible implementation manner, the third obtaining module is specifically configured to:
acquiring a display mode of the map, wherein the display mode comprises a real-time positioning mode and a preview mode, the real-time positioning mode is used for indicating map display according to the actual position of the terminal equipment, and the preview mode is used for indicating map display according to a dragging instruction input by a user;
if the using mode of the map is a real-time positioning mode, determining the position of the terminal equipment as the target position;
and if the use mode of the map is a preview mode, acquiring a focus position in the map currently displayed by the terminal equipment, and determining the focus position as the target position.
In another possible implementation, the rendering module is specifically configured to:
acquiring entity information of at least one entity included in the geographic information;
and drawing the at least one entity on the map according to the target position, the position of the at least one entity and the entity information of the at least one entity.
In another possible embodiment, the apparatus further comprises a fourth obtaining module, wherein,
the fourth obtaining module is configured to obtain, after the mapping module maps the at least one entity according to the target position, the position of the at least one entity, and the entity information of the at least one entity, user comment information corresponding to each entity;
the drawing module is further used for displaying the user comment information corresponding to each entity in the area corresponding to each entity.
In another possible implementation, the rendering module is specifically configured to:
and drawing the geographic information in the map in a three-dimensional form according to the target position.
In a third aspect, an embodiment of the present invention provides a map display apparatus, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored in the memory, so that the at least one processor performs the map display method according to any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the map display method according to any one of the first aspect is implemented.
According to the map display method, the map display device and the map display equipment, after the terminal equipment acquires the object information of the first object, the geographic information in the geographic area indicated by the first object is acquired according to the object information; and acquiring the target position of the user in the geographic area, and drawing geographic information in the map according to the target position. In the process, when the user needs to check the geographic condition in the area indicated by the first object in the map, the user only needs to scan the first object, so that the terminal device can draw the geographic information in the area indicated by the first object in the map, and the terminal device only displays the area indicated by the first object in the map. Furthermore, as the terminal device only displays the geographical condition in the area indicated by the first object, the interference of the area not concerned by the user to the user is eliminated, the area range which the terminal device needs to draw in the map is reduced, the terminal device can draw the geographical condition in the area indicated by the first object in a limited screen in more detail, the user can know the geographical condition in the area concerned in more detail, and the use experience of the user on the map is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a map display method according to an embodiment of the present invention;
fig. 2 is a first schematic flow chart of a map display method according to an embodiment of the present invention;
fig. 3 is a second schematic flowchart of a map display method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a map interface provided by an embodiment of the present invention;
fig. 5 is a first schematic structural diagram of a map display device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a map display device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of a map display device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic view of an application scenario of a map display method according to an embodiment of the present invention. Referring to fig. 1, in the daily life environment of a user, the environment includes roads, buildings, vehicles, road signs, etc.
In the application, the terminal device has a map display function, and optionally, the terminal device may be a mobile phone, a computer, or other devices. In the process that a user views a map through a terminal device, when the user needs to view a detailed geographic condition of a certain area, the user can scan or take a picture of an object (for example, a road sign, a bus, and the like) in a living environment through a mobile phone, so that the terminal device displays the detailed geographic condition in the area indicated by the object. For example, when the user is located on the Changan road and needs to know the detailed geographic condition on the Changan road, the user can scan the Changan road sign through the terminal device, so that the terminal device only displays the detailed geographic condition on the Changan road. For example, when a user needs to know detailed geographic conditions along the running line of a 600-way bus, the user can scan the 600-way bus through the terminal device (the license plate of the 600-way bus or the head of the 600-way bus including the 600-way identifier can be scanned), so that the terminal device only displays the detailed geographic conditions along the running line of the 600-way bus.
It should be noted that the foregoing merely illustrates the application scenario of the present application in a schematic form, and is not a limitation to the application scenario, and certainly, in the actual application process, the application scenario to which the present application is applied may be determined according to actual needs, and the present application is not particularly limited to this.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following embodiments may be combined with each other, and the description of the same or similar contents in different embodiments is not repeated.
Fig. 2 is a first flowchart of a map display method according to an embodiment of the present invention. Referring to fig. 2, the method may include:
s201, object information of a first object is acquired, wherein the first object is an object scanned by the terminal equipment or an object shot by the terminal equipment.
The execution main body of the embodiment of the invention can be terminal equipment, and also can be a map display device arranged in the terminal equipment. Alternatively, the map display device may be implemented by software, or the map display device may be implemented by a combination of software and hardware.
Alternatively, the first object may be an object existing in daily life.
For example, the first object may be a bus, a road sign, a sign in a mall, a scenic sign of a tourist attraction, etc.
Of course, in an actual application process, the first object may be set according to actual needs, and this is not specifically limited in the embodiment of the present invention.
Optionally, an application program for displaying a map (hereinafter, simply referred to as a map application program) is installed in the terminal device, and a user may invoke a scanning function or a photographing function of the terminal device through the map application program.
For example, the user may click a "scan" or "take a picture" button in the map application in the terminal device to start a scan function or a take a picture function of the terminal device, so that the user may scan or take a picture of the first object through the terminal device.
Optionally, when the user scans or photographs the first object through the terminal device, the object information of the first object is acquired.
Optionally, the object information of the first object is used to uniquely identify the first object.
Alternatively, the object information of the first object may be obtained by the following feasible implementation manners: acquiring an image obtained by scanning or shooting a first object by a terminal device; object information is extracted in the image, the object information including text information and/or image information describing the first object.
It should be noted that, in the practical application process, the object information of the first object may also be obtained through other feasible implementation manners, which is not specifically limited in this embodiment of the present invention.
S202, acquiring geographic information in the geographic area indicated by the first object according to the object information.
Optionally, the area indicated by the first object is related to the type of the first object.
Optionally, if the first object is a road sign (also called a guideboard), the area indicated by the first object includes: the road indicated by the road sign and the areas in the preset range on the two sides of the road.
Optionally, the areas within the preset range on both sides of the road may be areas within 100 meters on both sides of the road, or areas within 200 meters on both sides of the road. Of course, in the actual application process, the areas in the preset range on both sides of the road may be set according to actual needs, which is not specifically limited in the embodiment of the present invention.
For example, assuming that the road indicated by the road sign is a long safe road, the area indicated by the road sign includes: changan road and the area within 100 meters on both sides of Changan road.
Optionally, if the first object is a bus, the area indicated by the first object includes: the bus running along the road and the areas in the preset range on the two sides of the road along the road.
Optionally, if the first object is a tourist area indicator, the area indicated by the first object is a range covered by the tourist area indicated by the tourist area indicator.
For example, assuming that the first object is a sign of a first park, the area indicated by the first object is the area covered by the first park.
It should be noted that the first object and the area indicated by the first object are illustrated by way of example only, and the first object and the area indicated by the first object are not limited.
Optionally, the geographical information may comprise entity information of all entities within the area indicated by the first object.
Alternatively, an entity refers to an object in an area whose position and form do not change for a short period of time.
For example, entities may include buildings, parks, bus stations, vegetation, and the like.
Optionally, the entity information may include a name of the entity, shape information of the entity, a location of the entity, and the like. Of course, the content included in the entity information may be set according to actual needs, and this is not particularly limited in the embodiment of the present invention.
Wherein, the entity can be drawn through the appearance information of the entity.
Optionally, the shape information of the entity may be three-dimensional shape information of the entity, and accordingly, the three-dimensional shape of the entity may be obtained by drawing according to the three-dimensional shape information of the entity.
Optionally, the geographic information in the area indicated by the first object may be obtained by the following feasible implementation manners: the terminal device may send the object information to the server, and the server acquires geographic information corresponding to the object information according to the object information and sends the geographic information to the terminal device.
Optionally, after the server receives the object information, the server may determine, according to the object information, an area indicated by the first object, and then determine geographic information in the area indicated by the first object as geographic information corresponding to the object information.
S203, acquiring the target position of the user in the geographic area.
Alternatively, the target position may be obtained by the following feasible implementation manners:
acquiring a display mode of a map, and if the use mode of the map is a real-time positioning mode, determining the position of the terminal equipment as a target position; and if the use mode of the map is a preview mode, acquiring the focus position in the map currently displayed by the terminal equipment, and determining the focus position as the target position.
Optionally, the display mode of the map includes a real-time positioning mode and a preview mode.
Optionally, after the user opens the map, the display mode of the map defaults to the real-time positioning model. And after the user inputs the dragging operation in the map, switching the display model of the map into a preview mode. When the map is in the preview mode, a user can click a preset button (for example, a positioning button) in the map, so that the display mode of the map is switched to the preview mode.
Of course, in the actual application process, the display mode of the map may also be determined and switched according to other manners, which is not specifically limited in the embodiment of the present invention.
Optionally, the real-time positioning mode is used for displaying a map according to the actual position of the terminal device. When the display mode of the map is the real-time positioning mode, the content displayed by the map is updated along with the change of the position of the terminal equipment (or the position of the user).
Optionally, the preview mode is used for displaying a map according to a drag instruction input by a user. When the display mode of the map is the preview mode, the user changes the focus position in the map through dragging operation, and the displayed content of the map is updated along with the change of the focus position in the map.
Optionally, the focal position in the map is a position where a virtual user icon in the map can be located. The user can drag the virtual user icon to enable the virtual user icon to move in the map, and the content displayed on the map is updated as the virtual user icon moves in the map.
Alternatively, the focal position in the map may be a touch position of the user in a touch screen of the terminal device.
Of course, in an actual application process, the focal position in the map may be set according to actual needs, which is not specifically limited in the embodiment of the present invention.
And S204, drawing geographic information in the map according to the target position.
Optionally, the geographic information may be drawn in a two-dimensional form in the map, or may be drawn in a three-dimensional form in the map.
Alternatively, the geographic information may be plotted in a map by the following possible implementations: and acquiring entity information of at least one entity included in the geographic information, and drawing the at least one entity on a map according to the target position, the position of the at least one entity and the entity information of the at least one entity.
Alternatively, the target position may be represented by longitude and latitude.
Alternatively, the location of the entity may be identified by the longitude and latitude of the location where the entity is located.
The drawing of the geographic information on the map means that the display content of the map is specified and displayed based on the geographic information.
In the actual application process, the process of drawing each entity in the map is the same, and the following description will be given by taking the process of drawing the first entity in the map as an example:
determining a relative position between the first entity and the target position according to the target position and the position of the first entity, and performing three-dimensional drawing on the first entity according to the relative position and entity information of the first entity by a Virtual Reality (VR) technology.
Optionally, after the terminal device maps at least one entity, the user comment information corresponding to each entity may also be obtained, and the user comment information corresponding to the entity is displayed in the area corresponding to each entity.
Optionally, the user comment information corresponding to the entity may be included in the entity information of the entity, and correspondingly, the terminal device may obtain the user comment information corresponding to the entity from the entity information of the entity.
According to the map display method provided by the embodiment of the invention, after the terminal equipment acquires the object information of the first object, the geographic information in the geographic area indicated by the first object is acquired according to the object information; and acquiring the target position of the user in the geographic area, and drawing geographic information in the map according to the target position. In the process, when the user needs to check the geographic condition in the area indicated by the first object in the map, the user only needs to scan the first object, so that the terminal device can draw the geographic information in the area indicated by the first object in the map, and the terminal device only displays the area indicated by the first object in the map. Furthermore, as the terminal device only displays the geographical condition in the area indicated by the first object, the interference of the area not concerned by the user to the user is eliminated, the area range which the terminal device needs to draw in the map is reduced, the terminal device can draw the geographical condition in the area indicated by the first object in a limited screen in more detail, the user can know the geographical condition in the area concerned in more detail, and the use experience of the user on the map is further improved.
On the basis of the embodiment shown in fig. 2, the technical solution shown in the embodiment of fig. 2 will be described in detail by the embodiment shown in fig. 3.
Fig. 3 is a second flowchart illustrating a map display method according to an embodiment of the present invention. On the basis of the embodiment shown in fig. 2, referring to fig. 3, the method may include:
s301, after the terminal device receives a scanning instruction input by a user, scanning a first object through a camera of the terminal device.
Optionally, a "scan" button is provided in the map application program of the terminal device, and the user may click the "scan" button to input a scan instruction.
S302, the terminal equipment acquires the scanned image of the first object.
S303, the terminal device extracts object information in the image of the first object.
It should be noted that the execution process of S303 may refer to S201, and details of the embodiment of the present invention are not described herein.
S304, the terminal device sends the object information of the first object to the server, so that the server acquires the geographic information in the geographic area indicated by the first object according to the object information of the first object.
S305, the terminal equipment receives the geographic information sent by the server.
S306, the terminal device acquires the target position of the user in the geographic area.
It should be noted that the execution process of S306 may refer to S203, and details of the embodiment of the present invention are not described herein.
And S307, the terminal equipment draws the geographic information in a map according to the target position.
It should be noted that the execution process of S307 may refer to S204, and details of the embodiment of the present invention are not described herein.
In the embodiment shown in fig. 3, when a user needs to view the geographic condition in the area indicated by the first object in the map, the user only needs to scan the first object, so that the terminal device can draw the geographic information in the area indicated by the first object in the map, and the terminal device only displays the area indicated by the first object in the map, so that when the user views the area indicated by the first object through a dragging operation and/or a zooming operation, the user can be prevented from finding an area that is not concerned, the flexibility of map display is improved, and the use experience of the user on the map is further improved. Furthermore, as the terminal device only displays the geographical condition in the area indicated by the first object, the interference of the area not concerned by the user to the user is eliminated, the area range which the terminal device needs to draw in the map is reduced, the terminal device can draw the geographical condition in the area indicated by the first object in a limited screen in more detail, the user can know the geographical condition in the area concerned in more detail, and the use experience of the user on the map is further improved.
On the basis of the embodiments shown in fig. 2 to 3, the technical solutions shown in the embodiments of fig. 2 to 3 will be described in detail below by referring to fig. 4 through specific examples.
Fig. 4 is a schematic diagram of a map interface according to an embodiment of the present invention. Referring to fig. 4, interface 401-interface 404 are included.
It is assumed that a map application is installed in the terminal device.
After the user opens the map application in the terminal device, the map display is performed according to the actual position of the user, so that the user is located at the center of the map, for example, the map displayed by the terminal device may be as shown in the interface 401.
Referring to the interface 401, the map includes a virtual user icon S, and the virtual user icon S is located at the center of the map. The map shown in the interface 401 is a complete map, that is, the user can view all the geographic information through the map shown in the interface 401, but the map shown in the interface 401 does not include detailed geographic information. A "scan" button is also included in the interface 401, and can be clicked by the user to scan the object of interest to the user through the terminal device.
Assume that the actual scene in which the user is located is as shown in interface M, and there is a signpost in the vicinity of the user, indicating that the user is currently on a long-distance road. Assuming that the user needs to check detailed geographic information on the Changan road, the user can click a 'scan' button, and align a camera of the terminal device with the road sign to scan the road sign. See interface 402 for details.
Referring to the interface 402, a scan frame is displayed on the terminal device, and the scanned object (landmark) is displayed in the scan frame. The terminal equipment extracts object information 'Changan road' of the road sign from the road sign. The terminal device transmits the object information (Changan road) to the server. And the server acquires the geographic information in the area indicated by the long safety road according to the object information (the long safety road) and sends the geographic information in the area indicated by the long safety road to the terminal equipment. The geographic information in the indicated area of the Changan road comprises building information and the like on two sides of the Changan road. After the terminal equipment receives the geographic information in the area indicated by the Changan road, the terminal equipment conducts three-dimensional drawing on the geographic information to obtain the detailed geographic condition of the Changan road. Specifically, please refer to the interface 403.
Referring to the interface 403, the detailed geographic information of the Changan road is displayed in the map. Assuming that the user needs to view detailed geographic conditions of other positions on the Changan road, the user can drag the virtual user icon S. After the user drags the virtual user icon S, the terminal device determines that the target position of the user in the map is the position of the virtual user icon S in the map, and redraws the geographic information according to the position of the virtual user icon S in the map to obtain the map shown in the interface 404.
Referring to the interface 404, the redrawn map is displayed in the terminal device. Further, the evaluation information of the user on the entity (e.g. building, etc.) may also be displayed in a blank area of the terminal device, for example, please refer to the interface 403, the user evaluation of the building may be displayed in the blank area of the terminal device: the cool sheet of the second floor is delicious, and the clothes of the third floor are good.
In the embodiment shown in fig. 4, when the user needs to view the detailed geographic condition on the long safe road in the map, the user can scan the road sign on the long safe road, so that the terminal device can draw the geographic information on the long safe road in the map, and the terminal device can only display the detailed geographic condition on the long safe road in the map. Therefore, when the user views the area indicated by the first object through the dragging operation and/or the zooming operation, the situation that the user cannot find the concerned area can be avoided, the map display flexibility is improved, and the use experience of the user on the map is further improved. Furthermore, as the terminal device only displays the geographical condition on the Changan road, the visual interference of the area which is not concerned by the user to the user is avoided, the area range which the terminal device needs to draw in the map is reduced, the terminal device can draw the geographical condition on the Changan road in a limited screen in more detail, the user can know the geographical condition on the Changan road in more detail, and the use experience of the user on the map is further improved.
Fig. 5 is a first schematic structural diagram of a map display device according to an embodiment of the present invention. Referring to fig. 5, the apparatus may include a first obtaining module 11, a second obtaining module 12, a third obtaining module 13, and a drawing module 14, wherein,
the first obtaining module 11 is configured to obtain object information of a first object, where the first object is an object scanned by a terminal device or an object photographed by the terminal device;
the second obtaining module 12 is configured to obtain geographic information in a geographic area indicated by the first object according to the object information;
the third obtaining module 13 is configured to obtain a target location of the user in the geographic area;
the mapping module 14 is configured to map the geographic information in the map according to the target location.
The map display device provided by the embodiment of the invention can execute the technical scheme shown in the method embodiment, the realization principle and the beneficial effect are similar, and the detailed description is omitted.
In a possible implementation manner, the first obtaining module 11 is specifically configured to:
acquiring an image obtained by scanning or shooting the first object by the terminal equipment;
and extracting the object information in the image, wherein the object information comprises character information and/or image information for describing the first object.
In another possible implementation, the second obtaining module 12 is specifically configured to:
sending the object information to a server, wherein the object information is used for enabling the server to acquire geographic information corresponding to the object information;
receiving the geographic information from the server.
In another possible implementation manner, the third obtaining module 13 is specifically configured to:
acquiring a display mode of the map, wherein the display mode comprises a real-time positioning mode and a preview mode, the real-time positioning mode is used for indicating map display according to the actual position of the terminal equipment, and the preview mode is used for indicating map display according to a dragging instruction input by a user;
if the using mode of the map is a real-time positioning mode, determining the position of the terminal equipment as the target position;
and if the use mode of the map is a preview mode, acquiring a focus position in the map currently displayed by the terminal equipment, and determining the focus position as the target position.
In another possible implementation, the rendering module 14 is specifically configured to:
acquiring entity information of at least one entity included in the geographic information;
and drawing the at least one entity on the map according to the target position, the position of the at least one entity and the entity information of the at least one entity.
Fig. 6 is a schematic structural diagram of a map display device according to an embodiment of the present invention. On the basis of the embodiment shown in fig. 5, please refer to fig. 6, the apparatus further comprises a fourth obtaining module 15, wherein,
the fourth obtaining module 15 is configured to, after the mapping module 14 maps the at least one entity according to the target position, the position of the at least one entity, and the entity information of the at least one entity, obtain user comment information corresponding to each entity;
the drawing module 14 is further configured to display the user comment information corresponding to each entity in the area corresponding to the entity.
In another possible implementation, the rendering module 14 is specifically configured to:
and drawing the geographic information in the map in a three-dimensional form according to the target position.
The map display device provided by the embodiment of the invention can execute the technical scheme shown in the method embodiment, the realization principle and the beneficial effect are similar, and the detailed description is omitted.
Fig. 7 is a schematic diagram of a hardware structure of a map display device according to an embodiment of the present invention, and as shown in fig. 7, the map display device includes: at least one processor 21 and a memory 22. Optionally, the map display apparatus further includes a communication section 23. The processor 21, the memory 22, and the communication unit 23 are connected by a bus 24.
In a specific implementation process, the at least one processor 21 executes the computer-executable instructions stored in the memory 22, so that the at least one processor 21 executes the map display method shown in the above method embodiment.
The communication component 23 can interact with the server in data.
For a specific implementation process of the processor 21, reference may be made to the above method embodiments, which implement similar principles and technical effects, and this embodiment is not described herein again.
In the embodiment shown in fig. 7, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise high speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the map display method as described above is implemented.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
The division of the units is only a logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the embodiments of the present invention, and are not limited thereto; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the embodiments of the present invention.

Claims (16)

1. A map display method is applied to terminal equipment, and the method comprises the following steps:
acquiring object information of a first object, wherein the first object is an object scanned by a terminal device or an object shot by the terminal device;
acquiring geographic information in a geographic area indicated by the first object according to the object information, wherein the geographic information comprises entity information of an entity in the geographic area, and the entity information comprises at least one of an entity name, entity shape information and an entity position;
acquiring a target position of a user in the geographic area, and drawing the geographic information in the map according to the target position; the geographic information displayed by the terminal device is the geographic information in the geographic area indicated by the first object, and after the terminal device receives a drag operation and/or a zoom operation input by a user, the geographic information displayed by the terminal device is the geographic information in the geographic area indicated by the first object.
2. The method of claim 1, wherein the obtaining object information of the first object comprises:
acquiring an image obtained by scanning or shooting the first object by the terminal equipment;
and extracting the object information in the image, wherein the object information comprises character information and/or image information for describing the first object.
3. The method according to claim 1, wherein the obtaining geographic information within a geographic area indicated by the first object according to the object information comprises:
sending the object information to a server, wherein the object information is used for enabling the server to acquire geographic information corresponding to the object information;
receiving the geographic information from the server.
4. The method of claim 1, wherein the obtaining the target location of the user within the geographic area comprises:
acquiring a display mode of the map, wherein the display mode comprises a real-time positioning mode and a preview mode, the real-time positioning mode is used for indicating map display according to the actual position of the terminal equipment, and the preview mode is used for indicating map display according to a dragging instruction input by a user;
if the using mode of the map is a real-time positioning mode, determining the position of the terminal equipment as the target position;
and if the use mode of the map is a preview mode, acquiring a focus position in the map currently displayed by the terminal equipment, and determining the focus position as the target position.
5. The method of claim 4, wherein said mapping said geographic information in said map according to said target location comprises:
acquiring entity information of at least one entity included in the geographic information;
and drawing the at least one entity on the map according to the target position, the position of the at least one entity and the entity information of the at least one entity.
6. The method of claim 5, further comprising, after said mapping said at least one entity based on said target location, said at least one entity location, and said at least one entity information:
acquiring user comment information corresponding to each entity;
and displaying the user comment information corresponding to each entity in the area corresponding to each entity.
7. The method according to any one of claims 1-3, wherein said mapping said geographic information in said map according to said target location comprises:
and drawing the geographic information in the map in a three-dimensional form according to the target position.
8. The map display device is applied to terminal equipment and comprises a first acquisition module, a second acquisition module, a third acquisition module and a drawing module, wherein,
the first acquisition module is used for acquiring object information of a first object, wherein the first object is an object scanned by the terminal equipment or an object shot by the terminal equipment;
the second obtaining module is configured to obtain, according to the object information, geographic information in a geographic area indicated by the first object, where the geographic information includes entity information of an entity in the geographic area, and the entity information includes at least one of a name of the entity, shape information of the entity, and a position of the entity;
the third acquisition module is used for acquiring the target position of the user in the geographic area;
the drawing module is used for drawing the geographic information in the map according to the target position; the geographic information displayed by the terminal device is geographic information in a geographic area indicated by the first object, and after the terminal device receives a drag operation and/or a zoom operation input by a user, the geographic information displayed by the terminal device is geographic shape information in the geographic area indicated by the first object.
9. The apparatus of claim 8, wherein the first obtaining module is specifically configured to:
acquiring an image obtained by scanning or shooting the first object by the terminal equipment;
and extracting the object information in the image, wherein the object information comprises character information and/or image information for describing the first object.
10. The apparatus of claim 8, wherein the second obtaining module is specifically configured to:
sending the object information to a server, wherein the object information is used for enabling the server to acquire geographic information corresponding to the object information;
receiving the geographic information from the server.
11. The apparatus of claim 8, wherein the third obtaining module is specifically configured to:
acquiring a display mode of the map, wherein the display mode comprises a real-time positioning mode and a preview mode, the real-time positioning mode is used for indicating map display according to the actual position of the terminal equipment, and the preview mode is used for indicating map display according to a dragging instruction input by a user;
if the using mode of the map is a real-time positioning mode, determining the position of the terminal equipment as the target position;
and if the use mode of the map is a preview mode, acquiring a focus position in the map currently displayed by the terminal equipment, and determining the focus position as the target position.
12. The apparatus of claim 11, wherein the rendering module is specifically configured to:
acquiring entity information of at least one entity included in the geographic information;
and drawing the at least one entity on the map according to the target position, the position of the at least one entity and the entity information of the at least one entity.
13. The apparatus of claim 12, further comprising a fourth acquisition module, wherein,
the fourth obtaining module is configured to obtain, after the mapping module maps the at least one entity according to the target position, the position of the at least one entity, and the entity information of the at least one entity, user comment information corresponding to each entity;
the drawing module is further used for displaying the user comment information corresponding to each entity in the area corresponding to each entity.
14. The apparatus according to any one of claims 8-10, wherein the rendering module is specifically configured to:
and drawing the geographic information in the map in a three-dimensional form according to the target position.
15. A map display apparatus, characterized by comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the map display method of any of claims 1-7.
16. A computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement the map display method of any one of claims 1 to 7.
CN201810722904.3A 2018-07-04 2018-07-04 Map display method, device and equipment Active CN109115238B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810722904.3A CN109115238B (en) 2018-07-04 2018-07-04 Map display method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810722904.3A CN109115238B (en) 2018-07-04 2018-07-04 Map display method, device and equipment

Publications (2)

Publication Number Publication Date
CN109115238A CN109115238A (en) 2019-01-01
CN109115238B true CN109115238B (en) 2021-03-23

Family

ID=64822809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810722904.3A Active CN109115238B (en) 2018-07-04 2018-07-04 Map display method, device and equipment

Country Status (1)

Country Link
CN (1) CN109115238B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109859609B (en) * 2018-11-30 2021-10-29 汉海信息技术(上海)有限公司 Map drawing method, map display device, and computer storage medium
CN111638486A (en) * 2019-03-01 2020-09-08 阿里巴巴集团控股有限公司 Positioning method, system and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100055254A (en) * 2008-11-17 2010-05-26 엘지전자 주식회사 Method for providing poi information for mobile terminal and apparatus thereof
KR102222336B1 (en) * 2013-08-19 2021-03-04 삼성전자주식회사 User terminal device for displaying map and method thereof
CN104422439B (en) * 2013-08-21 2017-12-19 希姆通信息技术(上海)有限公司 Air navigation aid, device, server, navigation system and its application method
CN105740291B (en) * 2014-12-12 2020-07-07 深圳市腾讯计算机系统有限公司 Map interface display method and device
CN106197456A (en) * 2016-07-31 2016-12-07 北京九五智驾信息技术股份有限公司 The method of automobile navigation
CN106845470B (en) * 2017-02-20 2020-12-11 百度在线网络技术(北京)有限公司 Map data acquisition method and device
CN107704828A (en) * 2017-09-30 2018-02-16 努比亚技术有限公司 Methods of exhibiting, mobile terminal and the computer-readable recording medium of reading information

Also Published As

Publication number Publication date
CN109115238A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
US11698268B2 (en) Street-level guidance via route path
Möller et al. A mobile indoor navigation system interface adapted to vision-based localization
Möller et al. Experimental evaluation of user interfaces for visual indoor navigation
US20120216149A1 (en) Method and mobile apparatus for displaying an augmented reality
CN107084740B (en) Navigation method and device
CN102543038B (en) Display method and display device
CN103685960A (en) Method and system for processing image with matched position information
JP5229791B2 (en) PHOTO MAPPING METHOD AND SYSTEM, PROGRAM, AND STORAGE MEDIUM
CN107656961B (en) Information display method and device
CN107480173B (en) POI information display method and device, equipment and readable medium
CN111882634A (en) Image rendering method, device and equipment and storage medium
CN112714266B (en) Method and device for displaying labeling information, electronic equipment and storage medium
CN109115238B (en) Map display method, device and equipment
JP2017211811A (en) Display control program, display control method and display control device
US9488489B2 (en) Personalized mapping with photo tours
CN112422653A (en) Scene information pushing method, system, storage medium and equipment based on location service
CN116858215B (en) AR navigation map generation method and device
US9031281B2 (en) Identifying an area of interest in imagery
EP2574029A1 (en) Object distribution range setting device and object distribution range setting method
CN109559382A (en) Intelligent guide method, apparatus, terminal and medium
CN112825198B (en) Mobile tag display method, device, terminal equipment and readable storage medium
CN113986094A (en) Map marking method, device, terminal and storage medium
RU2601165C2 (en) Method for automated creation of three-dimensional systems of urban panoramas based on laser scanning data
CN115114302A (en) Road sign data updating method and device, electronic equipment and storage medium
KR101939530B1 (en) Method and apparatus for displaying augmented reality object based on geometry recognition

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
GR01 Patent grant
GR01 Patent grant