WO2018133728A1 - 电子地图的自适应调整方法和装置 - Google Patents

电子地图的自适应调整方法和装置 Download PDF

Info

Publication number
WO2018133728A1
WO2018133728A1 PCT/CN2018/072394 CN2018072394W WO2018133728A1 WO 2018133728 A1 WO2018133728 A1 WO 2018133728A1 CN 2018072394 W CN2018072394 W CN 2018072394W WO 2018133728 A1 WO2018133728 A1 WO 2018133728A1
Authority
WO
WIPO (PCT)
Prior art keywords
navigation
distance
electronic map
target
camera angle
Prior art date
Application number
PCT/CN2018/072394
Other languages
English (en)
French (fr)
Inventor
李加武
刘历歌
Original Assignee
高德信息技术有限公司
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 高德信息技术有限公司 filed Critical 高德信息技术有限公司
Publication of WO2018133728A1 publication Critical patent/WO2018133728A1/zh

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
    • G01C21/367Details, e.g. road map scale, orientation, zooming, illumination, level of detail, scrolling of road map or positioning of current position marker
    • 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
    • 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
    • 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

Definitions

  • the present invention relates to the field of electronic map technology, and in particular, to an adaptive adjustment method and apparatus for an electronic map.
  • the electronic map service tool such as the navigation software can acquire the location information of the user by using the positioning module of the navigation terminal (such as the mobile terminal of the electronic map service tool such as the navigation software), thereby completing the user.
  • the positioning of the current location, and a pointing arrow is displayed on the display interface of the navigation terminal to remind the user of the direction of travel based on the current location.
  • the electronic map service tool such as the navigation software directly enlarges the scale in the form of a jump to facilitate the user to view the road near the intersection, and is determined.
  • the scale of the electronic map remains inconvenient until the user sets the distance from the intersection.
  • the scale of the electronic map is directly enlarged by one level in the form of a jump, which may cause a sudden change of the electronic map, which brings visual discomfort to the user and affects the user experience.
  • the present invention provides an adaptive adjustment method and device for an electronic map, which can relatively smoothly adjust the scale of the electronic map in a gradual manner, thereby realizing a gentle change of the electronic map, so that the visual effect of the user is relatively it is good.
  • the present invention provides the following technical solutions:
  • An adaptive adjustment method for an electronic map comprising:
  • the scale of the electronic map is gradually increased to the target in the process that the positioning object travels according to the navigation route until the navigation distance is reduced to the second preset distance.
  • a scale; the second preset distance is smaller than the first preset distance.
  • the scale of the electronic map is gradually increased to the target scale, including:
  • the scale of the electronic map is adjusted by the first preset number of times to be increased to the target scale.
  • the scale of the electronic map is adjusted by the first preset number of times to be increased to Target scale, including:
  • the scale of the electronic map is increased by a step size adjustment step, until the navigation distance is reduced to the second preset distance, the electronic map The scale is increased to the target scale, wherein the scale adjustment step is the target scale minus the difference of the scale of the electronic map when the navigation distance is reduced to the first preset distance divided by the first preset The number of times.
  • the scale of the electronic map is adjusted by the first preset number of times to be increased to Target scale, including:
  • the first set time step being less than or equal to a quotient obtained by dividing the first reference duration by the first preset number of times;
  • the scale of the electronic map is increased by a step size adjustment step until the scale of the electronic map is increased to the target scale;
  • the scale adjustment step is obtained by dividing the difference between the scale of the electronic map and the first preset number of the target scale by subtracting the navigation distance from the navigation distance to the first preset distance.
  • the navigation distance is re-determined based on the next navigation point of the left navigation point
  • the scale of the electronic map is maintained at the target scale.
  • the camera angle of the electronic map is gradually reduced in the process of the positioning object traveling to the target navigation point according to the navigation route. To the target camera angle;
  • the electronic map is switched from the camera angle to the 3D interface of the target camera angle to the 2D interface.
  • gradually reducing the camera angle of the electronic map to the target camera angle including:
  • the camera angle of the electronic map is adjusted to a target camera angle by a second preset number of reductions.
  • the camera angle of the electronic map is adjusted to a target camera angle by a second preset number of reductions, including:
  • the camera angle of the electronic map is decreased by an angle adjustment step until the camera angle of the electronic map is lowered to the target camera angle;
  • the second set distance step is less than or equal to the quotient obtained by dividing the third preset distance by the second preset number; the angle adjustment step is that the navigation distance is reduced to the
  • the third preset distance is obtained by subtracting the difference between the camera angle of the electronic map and the target camera angle by the second predetermined number of times.
  • the camera angle of the electronic map is adjusted to a target camera angle by a second preset number of reductions, including:
  • the camera angle of the electronic map is decreased by an angle adjustment step until the camera angle of the electronic map is lowered to the target camera angle;
  • the angle adjustment step is obtained by dividing a difference between a camera angle of the electronic map and the target camera angle by the second preset number when the navigation distance is reduced to the third preset distance. .
  • the navigation distance is re-determined based on the next navigation point of the left navigation point
  • the electronic map is maintained at the 2D interface.
  • the electronic map is a 2D interface, and the electronic map is maintained at the 2D interface during the positioning of the positioning object along the navigation route according to the navigation route.
  • the first navigation point after the tunnel in the navigation route is used as the target navigation point.
  • An adaptive adjustment device for an electronic map comprising:
  • a monitoring module configured to monitor a navigation distance between the positioning position of the positioning object and the target navigation point, where the target navigation point is a next navigation point corresponding to the positioning object in the navigation route when the positioning object is in the positioning position;
  • a first adjustment module configured to: when the navigation distance decreases to a first preset distance, in the process that the positioning object travels to the navigation distance to the second preset distance according to the navigation route, gradually increase a scale of the large electronic map to the target scale; the second preset distance is smaller than the first preset distance.
  • the first adjustment module is specifically configured to:
  • the scale of the electronic map is passed through the first pre-process in the process that the positioning object travels according to the navigation route until the navigation distance is reduced to the second preset distance. Increase the number of times and increase it to the target scale.
  • the first adjustment module is specifically configured to:
  • the scale of the electronic map is increased by a scale adjustment step until the When the navigation distance is reduced to the second preset distance, the scale of the electronic map is increased to the target scale, wherein the scale adjustment step is the target scale minus the navigation distance is reduced to the first preset distance
  • the difference between the scales of the electronic map is divided by the first preset number of times.
  • the first adjustment module is specifically configured to:
  • the distance between the current positioning position of the positioning object and the previous positioning position is divided by the positioning time interval, and the current reference traveling speed of the positioning object is obtained, and the first pre-preparation is performed. And dividing a difference between the distance minus the second preset distance by the current reference traveling speed to obtain a first reference duration, and setting a first set time step, where the first set time step is less than or equal to Dividing the first reference duration by the first predetermined number of times, when positioning the positioning object according to the navigation route, the first set time step is performed, and the scale of the electronic map is increased by a scale adjustment step. Long until the scale of the electronic map increases to the target scale;
  • the scale adjustment step is obtained by dividing the difference between the scale of the electronic map and the first preset number of the target scale by subtracting the navigation distance from the navigation distance to the first preset distance.
  • a determining module configured to re-determine the navigation distance based on a next navigation point of the left navigation point when the positioning object is located away from the navigation point;
  • a first maintaining module configured to maintain a scale of the electronic map at the target scale when the re-determined navigation distance is less than the second preset distance.
  • a second adjustment module configured to: when the navigation distance is reduced to the third preset distance, if the electronic map is a 3D interface, in the process that the positioning object travels to the target navigation point according to the navigation route, Gradually lower the camera angle of the electronic map to the target camera angle;
  • a switching module configured to switch the electronic map from a camera angle to a 3D interface of the target camera angle to a 2D interface.
  • the second adjustment module is specifically configured to:
  • the electronic map is a 3D interface
  • the camera angle of the electronic map is passed during the process of the positioning object traveling to the target navigation point according to the navigation route.
  • the second preset number of reduction adjustments are reduced to the target camera angle.
  • the second adjustment module is specifically configured to:
  • the camera angle of the electronic map is Lower the angle adjustment step until the camera angle of the electronic map is lowered to the target camera angle;
  • the second set distance step is less than or equal to the quotient obtained by dividing the third preset distance by the second preset number; the angle adjustment step is that the navigation distance is reduced to the
  • the third preset distance is obtained by subtracting the difference between the camera angle of the electronic map and the target camera angle by the second predetermined number of times.
  • the second adjustment module is specifically configured to:
  • the navigation distance is reduced to the third preset distance
  • the electronic map is a 3D interface
  • the distance between the current positioning position of the positioning object and the previous positioning position is divided by the positioning time interval, and the current reference of the positioning object is obtained.
  • a traveling speed dividing the third preset distance by a current reference traveling speed of the positioning object, obtaining a second reference duration, and setting a second set time step, the second set time step being less than or equal to Dividing the second reference duration by the second preset number of times, and adjusting the camera angle of the electronic map when the positioning object is positioned according to the navigation route for each second set time step Step size until the camera angle of the electronic map is lowered to the target camera angle;
  • the angle adjustment step is obtained by dividing a difference between a camera angle of the electronic map and the target camera angle by the second preset number when the navigation distance is reduced to the third preset distance. .
  • a determining module configured to re-determine the navigation distance based on a next navigation point of the left navigation point when the positioning object is located away from the navigation point;
  • a second maintaining module configured to maintain the electronic map at the 2D interface when the re-determined navigation distance is less than the third preset distance.
  • the third maintaining module is configured to maintain the electronic map as a 2D interface when the positioning object enters the roundabout, and maintain the electronic map in the 2D interface during the traveling of the positioning object along the roundabout according to the navigation route.
  • a setting module configured to: when the positioning object is located in the tunnel, use the first navigation point after the tunnel in the navigation route as the target navigation point.
  • the present invention provides an adaptive adjustment method and apparatus for an electronic map.
  • the technical solution for adjusting the scale of the electronic map provided by the present invention monitors the navigation distance between the positioning position of the positioning object and the target navigation point, wherein the target navigation point is the next navigation corresponding to the positioning object in the navigation route when the positioning object is in the positioning position.
  • the positioning object travels according to the navigation route to the first preset distance (where the first preset distance is greater than the second preset distance)
  • the scale of the electronic map is gradually increased to the target scale, so that the scale of the electronic map can be relatively gently adjusted in a gradual manner, thereby realizing a gentle change of the electronic map, so that The user has a good visual effect when viewing, which can effectively improve the user experience.
  • the present invention also provides an adaptive adjustment method and device for an electronic map, which can adjust the camera angle of the electronic map 3D interface relatively gently in a gradual manner, thereby realizing a gentle change of the electronic map, so that the user can view The visual effect is better.
  • the present invention provides the following technical solutions:
  • An adaptive adjustment method for an electronic map comprising:
  • the camera angle of the electronic map is gradually reduced in the process of the positioning object traveling to the target navigation point according to the navigation route. To the target camera angle;
  • the electronic map is switched from the camera angle to the 3D interface of the target camera angle to the 2D interface.
  • gradually reducing the camera angle of the electronic map to the target camera angle including:
  • the camera angle of the electronic map is adjusted to a target camera angle by a second preset number of reductions.
  • the camera angle of the electronic map is adjusted to a target camera angle by a second preset number of reductions, including:
  • the camera angle of the electronic map is decreased by an angle adjustment step until the camera angle of the electronic map is lowered to the target camera angle;
  • the second set distance step is less than or equal to the quotient obtained by dividing the third preset distance by the second preset number; the angle adjustment step is that the navigation distance is reduced to the
  • the third preset distance is obtained by subtracting the difference between the camera angle of the electronic map and the target camera angle by the second predetermined number of times.
  • the camera angle of the electronic map is adjusted to a target camera angle by a second preset number of reductions, including:
  • the camera angle of the electronic map is decreased by an angle adjustment step until the camera angle of the electronic map is lowered to the target camera angle;
  • the angle adjustment step is obtained by dividing a difference between a camera angle of the electronic map and the target camera angle by the second preset number when the navigation distance is reduced to the third preset distance. .
  • the navigation distance is re-determined based on the next navigation point of the left navigation point
  • the electronic map is maintained at the 2D interface.
  • the electronic map is a 2D interface, and the electronic map is maintained at the 2D interface during the positioning of the positioning object along the navigation route according to the navigation route.
  • the first navigation point after the tunnel in the navigation route is used as the target navigation point.
  • An adaptive adjustment device for an electronic map comprising:
  • a monitoring module configured to monitor a navigation distance between the positioning position of the positioning object and the target navigation point, where the target navigation point is a next navigation point corresponding to the positioning object in the navigation route when the positioning object is in the positioning position;
  • a second adjustment module configured to: when the navigation distance is reduced to the third preset distance, if the electronic map is a 3D interface, in the process that the positioning object travels to the target navigation point according to the navigation route, Gradually lower the camera angle of the electronic map to the target camera angle;
  • a switching module configured to switch the electronic map from a camera angle to a 3D interface of the target camera angle to a 2D interface.
  • the second adjustment module is specifically configured to:
  • the electronic map is a 3D interface
  • the camera angle of the electronic map is passed during the process of the positioning object traveling to the target navigation point according to the navigation route.
  • the second preset number of reduction adjustments are reduced to the target camera angle.
  • the second adjustment module is specifically configured to:
  • the camera angle of the electronic map is Lower the angle adjustment step until the camera angle of the electronic map is lowered to the target camera angle;
  • the second set distance step is less than or equal to the quotient obtained by dividing the third preset distance by the second preset number; the angle adjustment step is that the navigation distance is reduced to the
  • the third preset distance is obtained by subtracting the difference between the camera angle of the electronic map and the target camera angle by the second predetermined number of times.
  • the second adjustment module is specifically configured to:
  • the navigation distance is reduced to the third preset distance
  • the electronic map is a 3D interface
  • the distance between the current positioning position of the positioning object and the previous positioning position is divided by the positioning time interval, and the current reference of the positioning object is obtained.
  • a traveling speed dividing the third preset distance by a current reference traveling speed of the positioning object, obtaining a second reference duration, and setting a second set time step, the second set time step being less than or equal to Dividing the second reference duration by the second preset number of times, and adjusting the camera angle of the electronic map when the positioning object is positioned according to the navigation route for each second set time step Step size until the camera angle of the electronic map is lowered to the target camera angle;
  • the angle adjustment step is obtained by dividing a difference between a camera angle of the electronic map and the target camera angle by the second preset number when the navigation distance is reduced to the third preset distance. .
  • a determining module configured to re-determine the navigation distance based on a next navigation point of the left navigation point when the positioning object is located away from the navigation point;
  • a second maintaining module configured to maintain the electronic map at the 2D interface when the re-determined navigation distance is less than the third preset distance.
  • the third maintaining module is configured to maintain the electronic map as a 2D interface when the positioning object enters the roundabout, and maintain the electronic map in the 2D interface during the traveling of the positioning object along the roundabout according to the navigation route.
  • a setting module configured to: when the positioning object is located in the tunnel, use the first navigation point after the tunnel in the navigation route as the target navigation point.
  • the present invention provides another adaptive adjustment method and device for an electronic map.
  • the technical solution for adjusting the camera angle of the electronic map provided by the present invention is to monitor the navigation distance between the positioning position of the positioning object and the target navigation point, wherein the target navigation point is the next corresponding position when the positioning object in the navigation route is in the positioning position.
  • the navigation point (the navigation point includes the intersection in the prior art), when the navigation distance is reduced to the third preset distance, if the electronic map is a 3D interface, in the process of the positioning object traveling to the target navigation point according to the navigation route, gradually Lower the camera angle of the electronic map to the target camera angle, and then switch the electronic map from the camera angle to the 2D interface of the target camera angle, so that when the positioning object reaches the target navigation point, the electronic map is a 2D interface, which is convenient for the user to clear. Viewing key steering nodes and other information can further enhance the user experience.
  • FIG. 1 is a flowchart of an adaptive adjustment method of an electronic map according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a navigation line provided by an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an electronic map according to an embodiment of the present invention.
  • FIG. 4 is another schematic diagram of an electronic map according to an embodiment of the present invention.
  • FIG. 5 is another schematic diagram of an electronic map according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of another method for adaptively adjusting an electronic map according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of an apparatus for adaptively adjusting an electronic map according to an embodiment of the present invention.
  • FIG. 8 is a structural diagram of another apparatus for adaptively adjusting an electronic map according to an embodiment of the present invention.
  • the method for adaptively adjusting an electronic map provided by the embodiment of the present invention can be applied to a navigation device having a positioning function, such as a mobile terminal device such as an in-vehicle terminal device or a smart phone.
  • FIG. 1 is a flowchart of an adaptive method for adjusting an electronic map according to an embodiment of the present invention. As shown in Figure 1, the method includes:
  • Step S101 monitoring a navigation distance between the positioning position of the positioning object and the target navigation point
  • the target navigation point is a next navigation point corresponding to the positioning object in the navigation route when the positioning object is in the positioning position.
  • the positioning object is a navigation device with a positioning function, such as a mobile terminal device such as an in-vehicle terminal device or a smart phone.
  • the positioning position of the positioning object is the positioning position of the user.
  • FIG. 2 is a schematic diagram of a navigation line according to an embodiment of the present invention.
  • a navigation line of A ⁇ B ⁇ C ⁇ D ⁇ E where A, B, C, D and E are navigation points, the arrow indicates the direction of travel, and the positioning object is taken as an example, if The positioning position P of the vehicle is between B and C, then C is the target navigation point. That is to say, the next navigation point corresponding to the vehicle in the navigation route when the vehicle is in the positioning position refers to a navigation point that is closest to the positioning position of the two vehicles in the navigation line that the vehicle has not traveled.
  • the positioning position of the vehicle can be obtained by positioning by a navigation device such as an in-vehicle terminal device.
  • the navigation point includes various types of turning points, such as an inflection point of an intersection.
  • the latitude and longitude coordinates of the positioning position of the positioning object and the latitude and longitude coordinates of the target navigation point are used to calculate a navigation distance between the two, thereby implementing monitoring of the navigation distance between the two.
  • Step S102 when the navigation distance is reduced to the first preset distance, gradually increasing the electronic map in the process that the positioning object travels according to the navigation route until the navigation distance is reduced to the second preset distance.
  • the second preset distance is smaller than the first preset distance.
  • the first preset distance, the second preset distance, and the target scale are all preset values.
  • the first preset distance is 300 meters
  • the second preset distance is 100 meters.
  • the preset target scale should be large enough to enable the electronic map to clearly display the image of the target navigation point, including the intersection image, so that the user can clearly see the key steering node, and has good The effect is as easy as driving.
  • the preset target scale may be the maximum scale that the electronic map can currently provide; for example, if the current lower limit of the electronic map is (1 cm: 100 m), the upper limit is (1 cm: 25 m). , the preset target scale may be (1 cm: 25 m).
  • the scale of the electronic map has been adjusted to the target scale, so that the user can clearly see the key steering node.
  • FIG. 3 is a schematic diagram of an electronic map according to an embodiment of the present invention
  • FIG. 4 is another schematic diagram of an electronic map according to an embodiment of the present invention
  • FIG. 5 is another schematic diagram of an electronic map according to an embodiment of the present invention.
  • a B ⁇ C navigation line wherein B and C are navigation points, an arrow indicates a traveling direction, and P indicates an positioning point of the positioning object
  • the positioning object is a vehicle as an example
  • the vehicle The positioning position is between B and C, then C is the target navigation point, and the scale of the corresponding electronic map when the navigation distance is 300 meters is shown in FIG. 3, and the navigation distance is 200 meters in FIG.
  • FIG. 5 shows the scale of the corresponding electronic map when the navigation distance is 100 meters.
  • the lower left corner of each figure shows the scale
  • the scale in Fig. 3 is (1 cm: 100 m)
  • the scale in Fig. 4 is (1 cm: 50 m)
  • the scale in Fig. 5 is (1).
  • point B cannot be displayed in the figure, that is, the electronic map preferentially displays the line between the positioning position of the positioning object and the target navigation point.
  • the technical solution provided by the embodiment of the present invention is to monitor the navigation distance between the positioning position of the positioning object and the target navigation point, where the target navigation point is the next navigation corresponding to the positioning object in the navigation route when the positioning object is in the positioning position.
  • a point a navigation point includes a junction in the prior art
  • the positioning object is followed by
  • the scale of the electronic map is gradually increased to the target scale, so that the scale of the electronic map can be relatively gently adjusted in a gradual manner to realize the electronic
  • the gradual change of the map makes the user's visual effect better when viewed, which can effectively improve the user experience.
  • the target scale may be preset to be large enough to reduce the navigation distance to a first preset distance, that is, when the positioning object is closer to the target navigation point, the electronic The map can clearly display the image of the target navigation point, including the intersection image, so that the user can clearly see the key steering node, which can avoid the need to user when the scale is directly enlarged by one level in the prior art.
  • the technical solution provided by the embodiment of the present invention is more intelligent and convenient, and can effectively improve the user experience.
  • the step S102 includes:
  • the scale of the electronic map is passed through the first pre-process in the process that the positioning object travels according to the navigation route until the navigation distance is reduced to the second preset distance. Increase the number of times and increase it to the target scale.
  • the first preset number of times may be a preset fixed value. It should be noted that, in this embodiment, the scale of the electronic map is adjusted and increased to the target scale by the first preset number of times, and the amplitude of each adjustment of the scale of the electronic map is not limited.
  • the scale of the electronic map is adjusted by the first preset number of times to be increased to the target scale, including:
  • the scale of the electronic map is increased by a scale adjustment step until the When the navigation distance is reduced to the second preset distance, the scale of the electronic map is increased to the target scale;
  • the scale adjustment step is obtained by dividing the difference of the scale of the electronic map by the first preset number when the target distance is reduced by the navigation distance to the first preset distance.
  • the scale of the electronic map is increased by a step size adjustment step, that is, the amplitude of each adjustment is equal, which can be realized.
  • the scale of the electronic map is evenly adjusted, so that the gradient of the electronic map is more gentle, and the visual experience is better, which can further enhance the user experience.
  • the scale of the electronic map is adjusted by the first preset number of times to be increased to the target scale, including:
  • the distance between the current positioning position of the positioning object and the previous positioning position is divided by the positioning time interval, and the current reference traveling speed of the positioning object is obtained;
  • the first set time step being less than or equal to a quotient obtained by dividing the first reference duration by the first preset number of times;
  • the scale of the electronic map is increased by a step size adjustment step until the scale of the electronic map is increased to the target scale;
  • the scale adjustment step is obtained by dividing the difference of the scale of the electronic map by the first preset number when the target distance is reduced by the navigation distance to the first preset distance.
  • the positioning object takes the vehicle as an example.
  • the vehicle is getting closer and closer to the target navigation point (such as an intersection)
  • the current speed is generally selected to be maintained or decelerated, that is, the vehicle is navigated by the distance target.
  • the time at which the position of the first preset distance (such as the X position) travels to the second predetermined distance from the target navigation point (such as the Y position) is at least the distance traveled by the vehicle at the speed XY at the X position. time.
  • the first set time step is set to ensure that the scale of the electronic map has been or just increased to the target scale when the positioning object reaches the Y position.
  • the positioning time interval is generally small, such as 0.5 seconds
  • the value of the current reference traveling speed is obtained by dividing the distance between the current positioning position of the positioning object and the previous positioning position by the positioning time interval.
  • the average speed is still relatively accurate (the target object's current speed).
  • the scale of the electronic map is increased by a step size adjustment step, that is, the amplitude of each adjustment is equal, and each time The time interval of the second adjustment is also equal, and the scale of the electronic map can be uniformly adjusted in both the adjustment range and the adjustment time interval, so that the gradient of the electronic map is more gentle, the visual experience is better, and the user can be further improved.
  • a step size adjustment step that is, the amplitude of each adjustment is equal
  • each time The time interval of the second adjustment is also equal
  • the method for adaptively adjusting an electronic map provided by another embodiment of the present invention further includes:
  • the navigation distance is re-determined based on the next navigation point of the left navigation point
  • the scale of the electronic map is maintained at the target scale.
  • the re-determined navigation distance is less than the second preset distance, it may be determined that the positioning object is close to the next navigation point, and therefore, the scale of the electronic map is still maintained at the target scale, thereby facilitating the user.
  • the key steering nodes can be clearly seen and have good effects such as easy driving.
  • the electronic map can select the 3D interface during the navigation process.
  • the electronic map of the 3D interface is not conducive to the user clearly viewing the information such as the key steering node, thereby affecting the user's judgment.
  • the present invention also provides another embodiment to solve the problem.
  • the method for adaptively adjusting an electronic map provided by another embodiment of the present invention further includes:
  • the camera angle of the electronic map is gradually reduced in the process of the positioning object traveling to the target navigation point according to the navigation route. (ie Camera Degree) to the target camera angle;
  • the third preset distance and the target camera angle are preset fixed values.
  • the target camera angle is located in a smaller numerical interval, such as not less than 10°.
  • the third preset distance is 100 meters.
  • the electronic map is switched from the camera angle to the 3D interface of the target camera angle to the 2D interface.
  • the electronic map can be directly switched from the camera angle to the 3D interface of the target camera angle to the 2D interface.
  • the positioning object travels to the target navigation point according to the navigation route. , gradually reducing the camera angle of the electronic map to the target camera angle, and switching the electronic map from the camera angle to the 2D interface of the target camera angle, so that when the positioning object reaches the target navigation point, the electronic map is a 2D interface. It is convenient for users to clearly view information such as key steering nodes, which can further enhance the user experience.
  • the method for adaptively adjusting an electronic map when the navigation distance is reduced to the third preset distance, if the electronic map is a 3D interface, the positioning is performed.
  • the object gradually moves the camera angle of the electronic map to the target camera angle according to the navigation route to the target navigation point, including:
  • the camera angle of the electronic map is passed during the process of the positioning object traveling to the target navigation point according to the navigation route.
  • the second preset number of reduction adjustments are lowered to the target camera angle;
  • the amplitude of each adjustment is not limited by the present invention, and may be the same or different.
  • the second preset number is a preset value.
  • the method for adaptively adjusting an electronic map when the navigation distance is reduced to the third preset distance, if the electronic map is a 3D interface, the positioning is performed.
  • the camera angle of the electronic map is adjusted to a target camera angle by a second preset number of reductions, including:
  • the camera angle of the electronic map is Lower the angle adjustment step until the camera angle of the electronic map is lowered to the target camera angle;
  • the second set distance step is less than or equal to the quotient obtained by dividing the third preset distance by the second preset number to ensure that the camera of the electronic map is when the positioning object travels to the target navigation point.
  • the angle has dropped or just dropped to the target camera angle.
  • the angle adjustment step is obtained by dividing a difference between a camera angle of the electronic map and the target camera angle by the second preset number when the navigation distance is reduced to the third preset distance. of.
  • the camera angle of the electronic map is decreased by an angle adjustment step, that is, the amplitude of each adjustment is equal, which can be realized.
  • the camera angle of the electronic map is evenly adjusted, so that the gradient of the electronic map is more gentle and the visual experience is better, which can further enhance the user experience.
  • the method for adaptively adjusting an electronic map when the navigation distance is reduced to the third preset distance, if the electronic map is a 3D interface, the positioning is performed.
  • the camera angle of the electronic map is adjusted to a target camera angle by a second preset number of reductions, including:
  • the camera angle of the electronic map is decreased by an angle adjustment step until the camera angle of the electronic map is lowered to the target camera angle;
  • the angle adjustment step is obtained by dividing a difference between a camera angle of the electronic map and the target camera angle by the second preset number when the navigation distance is reduced to the third preset distance. of.
  • the positioning object takes the vehicle as an example.
  • the vehicle is getting closer and closer to the target navigation point (such as an intersection)
  • the current speed is generally selected to be maintained or decelerated, that is, the vehicle is navigated by the distance target.
  • the time at which the position of the third preset distance (such as the S position) travels to the target navigation point (such as the T position) is at least the distance traveled by the vehicle at the speed S at the S position (ie, the third preset) Distance) The time used.
  • the inventive invention sets a second set time step to ensure that the camera angle of the electronic map has been or just dropped to the target camera angle when the positioning object reaches the T position (ie, the target navigation point).
  • the positioning time interval is generally small, such as 0.5 seconds
  • the value of the current reference traveling speed is obtained by dividing the distance between the current positioning position of the positioning object and the previous positioning position by the positioning time interval.
  • the average speed is still relatively accurate (the target object's current speed).
  • the camera angle of the electronic map is decreased by an angle adjustment step, that is, the amplitude of each adjustment is equal, which can be realized.
  • the camera angle of the electronic map is evenly adjusted, so that the gradient of the electronic map is more gentle and the visual experience is better, which can further enhance the user experience.
  • the method for adaptively adjusting an electronic map provided by another embodiment of the present invention further includes:
  • the navigation distance is re-determined based on the next navigation point of the left navigation point
  • the electronic map is maintained at the 2D interface.
  • the re-determined navigation distance is smaller than the third preset distance, it may be determined that the positioning object is closer to the next navigation point, and therefore, the camera angle of the electronic map is still maintained at the target camera angle, thereby It is convenient for the user to clearly see the key steering nodes and has good effects such as convenient driving.
  • the electronic map is cut back to the 3D interface, and then the camera angle of the electronic map may be adjusted accordingly.
  • the method for adaptively adjusting an electronic map provided by another embodiment of the present invention further includes:
  • the electronic map is a 2D interface, and the electronic map is maintained at the 2D interface during the positioning of the positioning object along the navigation route according to the navigation route.
  • the electronic map is a 2D interface when the positioning object enters the roundabout, or the 2D interface is selected by the user, and the special structure based on the roundabout is adopted.
  • the 3D electronic map of the roundabout is not easy to see, but it is easy to dazzle the user, that is, the electronic map is more suitable for the user to view the line, so the embodiment determines the location.
  • the electronic map is a 2D interface, and the electronic map is maintained at the 2D interface during the process of the positioning object traveling along the roundabout according to the navigation route.
  • the first navigation point after the tunnel in the navigation route is used as the target navigation point.
  • the user in the process of positioning the object in the tunnel, the user generally wants to maintain the current driving state of the positioning object, and does not change too much.
  • the navigation device is also difficult to accurately perform the positioning object. Positioning, therefore, when positioning the positioning object into the tunnel, the first navigation point after the tunnel out of the navigation line can be used as the target navigation point.
  • the method for adaptively adjusting an electronic map provided by another embodiment of the present invention further includes:
  • the scale of the electronic map is set to a default scale.
  • the default scale may be a scale of intermediate values, such as (1 cm: 50 meters).
  • the method for adaptively adjusting an electronic map provided by another embodiment of the present invention further includes:
  • the current navigation distance is a navigation distance between the positioning position of the positioning object and the target navigation point.
  • the electronic map can select the 3D interface during the navigation process.
  • the electronic map of the 3D interface is not conducive to the user clearly viewing the information such as the key steering node, thereby affecting the user's judgment.
  • the present invention also provides another embodiment to solve the problem.
  • FIG. 6 is a flowchart of another method for adaptively adjusting an electronic map according to an embodiment of the present invention. As shown in FIG. 6, the method includes:
  • Step S601 monitoring a navigation distance between the positioning position of the positioning object and the target navigation point
  • the target navigation point is a next navigation point corresponding to the positioning object in the navigation route when the positioning object is in the positioning position.
  • Step S602 when the navigation distance is reduced to the third preset distance, if the electronic map is a 3D interface, the electronic map is gradually lowered in the process of the positioning object traveling to the target navigation point according to the navigation route. Camera angle to the target camera angle;
  • the third preset distance and the target camera angle are preset fixed values.
  • the target camera angle is located in a smaller numerical interval, such as no more than 10°.
  • the third preset distance is 100 meters.
  • the electronic map is switched from the camera angle to the 3D interface of the target camera angle to the 2D interface.
  • the electronic map can be directly switched from the camera angle to the 3D interface of the target camera angle to the 2D interface.
  • the positioning object travels to the target navigation point according to the navigation route. , gradually reducing the camera angle of the electronic map to the target camera angle, and switching the electronic map from the camera angle to the 2D interface of the target camera angle, so that when the positioning object reaches the target navigation point, the electronic map is a 2D interface. It is convenient for users to clearly view information such as key steering nodes, which can further enhance the user experience.
  • the step S602 includes:
  • the camera angle of the electronic map is passed during the process of the positioning object traveling to the target navigation point according to the navigation route.
  • the second preset number of reduction adjustments are lowered to the target camera angle;
  • the amplitude of each adjustment is not limited by the present invention, and may be the same or different.
  • the second preset number is a preset value.
  • the method for adaptively adjusting an electronic map when the navigation distance is reduced to the third preset distance, if the electronic map is a 3D interface, the positioning is performed.
  • the camera angle of the electronic map is adjusted to a target camera angle by a second preset number of reductions, including:
  • the camera angle of the electronic map is Lower the angle adjustment step until the camera angle of the electronic map is lowered to the target camera angle;
  • the second set distance step is less than or equal to the quotient obtained by dividing the third preset distance by the second preset number to ensure that the camera of the electronic map is when the positioning object travels to the target navigation point.
  • the angle has dropped or just dropped to the target camera angle.
  • the angle adjustment step is obtained by dividing a difference between a camera angle of the electronic map and the target camera angle by the second preset number when the navigation distance is reduced to the third preset distance. of.
  • the camera angle of the electronic map is decreased by an angle adjustment step, that is, the amplitude of each adjustment is equal, which can be realized.
  • the camera angle of the electronic map is evenly adjusted, so that the gradient of the electronic map is more gentle and the visual experience is better, which can further enhance the user experience.
  • the method for adaptively adjusting an electronic map when the navigation distance is reduced to the third preset distance, if the electronic map is a 3D interface, the positioning is performed.
  • the camera angle of the electronic map is adjusted to a target camera angle by a second preset number of reductions, including:
  • the camera angle of the electronic map is decreased by an angle adjustment step until the camera angle of the electronic map is lowered to the target camera angle;
  • the angle adjustment step is obtained by dividing a difference between a camera angle of the electronic map and the target camera angle by the second preset number when the navigation distance is reduced to the third preset distance. of.
  • the positioning object takes the vehicle as an example.
  • the vehicle is getting closer and closer to the target navigation point (such as an intersection)
  • the current speed is generally selected to be maintained or decelerated, that is, the vehicle is navigated by the distance target.
  • the time at which the position of the third preset distance (such as the S position) travels to the target navigation point (such as the T position) is at least the distance traveled by the vehicle at the speed S at the S position (ie, the third preset) Distance) The time used.
  • the inventive invention sets a second set time step to ensure that the camera angle of the electronic map has been or just dropped to the target camera angle when the positioning object reaches the T position (ie, the target navigation point).
  • the positioning time interval is generally small, such as 0.5 seconds
  • the value of the current reference traveling speed is obtained by dividing the distance between the current positioning position of the positioning object and the previous positioning position by the positioning time interval.
  • the average speed is still relatively accurate (the target object's current speed).
  • the camera angle of the electronic map is decreased by an angle adjustment step, that is, the amplitude of each adjustment is equal, which can be realized.
  • the camera angle of the electronic map is evenly adjusted, so that the gradient of the electronic map is more gentle and the visual experience is better, which can further enhance the user experience.
  • the method for adaptively adjusting an electronic map provided by another embodiment of the present invention further includes:
  • the navigation distance is re-determined based on the next navigation point of the left navigation point
  • the electronic map is maintained at the 2D interface.
  • the re-determined navigation distance is smaller than the third preset distance, it may be determined that the positioning object is closer to the next navigation point, and therefore, the camera angle of the electronic map is still maintained at the target camera angle, thereby It is convenient for the user to clearly see the key steering nodes and has good effects such as convenient driving.
  • the electronic map is cut back to the 3D interface, and then the camera angle of the electronic map may be adjusted accordingly.
  • the method for adaptively adjusting an electronic map provided by another embodiment of the present invention further includes:
  • the electronic map is a 2D interface, and the electronic map is maintained at the 2D interface during the positioning of the positioning object along the navigation route according to the navigation route.
  • the electronic map is a 2D interface when the positioning object enters the roundabout, or the 2D interface is selected by the user, and the special structure based on the roundabout is adopted.
  • the 3D electronic map of the roundabout is not easy to see, but it is easy to dazzle the user, that is, the electronic map is more suitable for the user to view the line, so the embodiment determines the location.
  • the electronic map is a 2D interface, and the electronic map is maintained at the 2D interface during the process of the positioning object traveling along the roundabout according to the navigation route.
  • an adaptive adjustment method for an electronic map according to an embodiment of the present invention is disclosed.
  • FIG. 7 is a structural diagram of an apparatus for adaptively adjusting an electronic map according to an embodiment of the present invention. As shown in Figure 7, the device includes:
  • the monitoring module 701 is configured to monitor a navigation distance between the positioning position of the positioning object and the target navigation point, where the target navigation point is a next navigation point corresponding to the positioning object in the navigation route when the positioning object is in the positioning position;
  • the first adjustment module 702 is configured to, when the navigation distance is reduced to the first preset distance, in the process that the positioning object travels according to the navigation route until the navigation distance is reduced to the second preset distance, gradually Increasing the scale of the electronic map to the target scale; the second preset distance is less than the first preset distance.
  • the adaptive adjustment device for the electronic map provided by the embodiment of the invention can adjust the scale of the electronic map relatively gently in a gradual manner, thereby realizing a gentle change of the electronic map, so that the visual effect of the user is better when viewed, and the utility model can effectively improve user experience.
  • the target scale may be preset to be large enough to reduce the navigation distance to the first preset distance, that is, the target object is away from the target navigation point.
  • the electronic map can clearly display the image of the target navigation point, including the intersection image, so that the user can clearly see the key steering node, which can avoid the scale of the scale being directly enlarged by one level in the prior art.
  • the smaller, the user needs to manually increase the scale. Therefore, the adaptive adjustment device for the electronic map provided by the embodiment of the present invention is more intelligent and convenient, and can effectively improve the user experience.
  • an apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention, where the first adjustment module is specifically configured to:
  • the scale of the electronic map is passed through the first pre-process in the process that the positioning object travels according to the navigation route until the navigation distance is reduced to the second preset distance. Increase the number of times and increase it to the target scale.
  • an apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention, where the first adjustment module is specifically configured to:
  • the scale of the electronic map is increased by a scale adjustment step until the When the navigation distance is reduced to the second preset distance, the scale of the electronic map is increased to the target scale, wherein the scale adjustment step is the target scale minus the navigation distance is reduced to the first preset distance
  • the difference between the scales of the electronic map is divided by the first preset number of times.
  • an apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention, where the first adjustment module is specifically configured to:
  • the distance between the current positioning position of the positioning object and the previous positioning position is divided by the positioning time interval, and the current reference traveling speed of the positioning object is obtained, and the first pre-preparation is performed. And dividing a difference between the distance minus the second preset distance by the current reference traveling speed to obtain a first reference duration, and setting a first set time step, where the first set time step is less than or equal to Dividing the first reference duration by the first predetermined number of times, when positioning the positioning object according to the navigation route, the first set time step is performed, and the scale of the electronic map is increased by a scale adjustment step. Long until the scale of the electronic map increases to the target scale;
  • the scale adjustment step is obtained by dividing the difference between the scale of the electronic map and the first preset number of the target scale by subtracting the navigation distance from the navigation distance to the first preset distance.
  • the apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention further includes:
  • a determining module configured to re-determine the navigation distance based on a next navigation point of the left navigation point when the positioning object is located away from the navigation point;
  • a first maintaining module configured to maintain a scale of the electronic map at the target scale when the re-determined navigation distance is less than the second preset distance.
  • the apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention further includes:
  • a second adjustment module configured to: when the navigation distance is reduced to the third preset distance, if the electronic map is a 3D interface, in the process that the positioning object travels to the target navigation point according to the navigation route, Gradually lower the camera angle of the electronic map to the target camera angle;
  • a switching module configured to switch the electronic map from a camera angle to a 3D interface of the target camera angle to a 2D interface.
  • an apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention, where the second adjustment module is specifically configured to:
  • the electronic map is a 3D interface
  • the camera angle of the electronic map is passed during the process of the positioning object traveling to the target navigation point according to the navigation route.
  • the second preset number of reduction adjustments are reduced to the target camera angle.
  • an apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention, where the second adjustment module is specifically configured to:
  • the camera angle of the electronic map is Lower the angle adjustment step until the camera angle of the electronic map is lowered to the target camera angle;
  • the second set distance step is less than or equal to the quotient obtained by dividing the third preset distance by the second preset number; the angle adjustment step is that the navigation distance is reduced to the
  • the third preset distance is obtained by subtracting the difference between the camera angle of the electronic map and the target camera angle by the second predetermined number of times.
  • an apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention, where the second adjustment module is specifically configured to:
  • the navigation distance is reduced to the third preset distance
  • the electronic map is a 3D interface
  • the distance between the current positioning position of the positioning object and the previous positioning position is divided by the positioning time interval, and the current reference of the positioning object is obtained.
  • a traveling speed dividing the third preset distance by a current reference traveling speed of the positioning object, obtaining a second reference duration, and setting a second set time step, the second set time step being less than or equal to Dividing the second reference duration by the second preset number of times, and adjusting the camera angle of the electronic map when the positioning object is positioned according to the navigation route for each second set time step Step size until the camera angle of the electronic map is lowered to the target camera angle;
  • the angle adjustment step is obtained by dividing a difference between a camera angle of the electronic map and the target camera angle by the second preset number when the navigation distance is reduced to the third preset distance. .
  • the apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention further includes:
  • a determining module configured to re-determine the navigation distance based on a next navigation point of the left navigation point when the positioning object is located away from the navigation point;
  • a second maintaining module configured to maintain the electronic map at the 2D interface when the re-determined navigation distance is less than the third preset distance.
  • the apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention further includes:
  • the third maintaining module is configured to maintain the electronic map as a 2D interface when the positioning object enters the roundabout, and maintain the electronic map in the 2D interface during the traveling of the positioning object along the roundabout according to the navigation route.
  • the apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention further includes:
  • a setting module configured to: when the positioning object is located in the tunnel, use the first navigation point after the tunnel in the navigation route as the target navigation point.
  • the apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention further includes:
  • a second setting module configured to set a scale of the electronic map to a default scale when the target navigation point is not determined or the navigation distance is at least the first preset distance.
  • the apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention further includes:
  • a detecting module configured to detect an operation of manually adjusting a scale by a user
  • a third adjustment module configured to adjust the scale according to a user manually adjusting the scale
  • a second switching module configured to switch to a scale corresponding to the current navigation distance if the user's operation is not detected after a preset time
  • the current navigation distance is a navigation distance between the positioning position of the positioning object and the target navigation point.
  • the electronic map can select the 3D interface during the navigation process.
  • the electronic map of the 3D interface is not conducive to the user clearly viewing the information such as the key steering node, thereby affecting the user's judgment.
  • the present invention also provides an adaptive adjustment device for an electronic map to solve the problem.
  • FIG. 8 is a structural diagram of another apparatus for adaptively adjusting an electronic map according to an embodiment of the present invention. As shown in Figure 8, the device includes:
  • the monitoring module 801 is configured to monitor a navigation distance between the positioning position of the positioning object and the target navigation point, where the target navigation point is a next navigation point corresponding to the positioning object in the navigation route when the positioning object is in the positioning position;
  • a second adjustment module 802 configured to: when the navigation distance is reduced to the third preset distance, if the electronic map is a 3D interface, in the process of the positioning object traveling to the target navigation point according to the navigation route , gradually lowering the camera angle of the electronic map to the target camera angle;
  • the switching module 803 is configured to switch the electronic map from a camera angle to a 3D interface of the target camera angle to a 2D interface.
  • the adaptive adjustment device for the electronic map provided by the embodiment can make the electronic map a 2D interface when the positioning object reaches the target navigation point, so that the user can clearly view information such as the key steering node, and the user experience can be further improved.
  • an adaptive adjustment device for an electronic map provided by another embodiment of the present invention, where the second adjustment module 802 is specifically configured to:
  • the electronic map is a 3D interface
  • the camera angle of the electronic map is passed during the process of the positioning object traveling to the target navigation point according to the navigation route.
  • the second preset number of reduction adjustments are reduced to the target camera angle.
  • an adaptive adjustment device for an electronic map provided by another embodiment of the present invention, where the second adjustment module 802 is specifically configured to:
  • the camera angle of the electronic map is Lower the angle adjustment step until the camera angle of the electronic map is lowered to the target camera angle;
  • the second set distance step is less than or equal to the quotient obtained by dividing the third preset distance by the second preset number; the angle adjustment step is that the navigation distance is reduced to the
  • the third preset distance is obtained by subtracting the difference between the camera angle of the electronic map and the target camera angle by the second predetermined number of times.
  • an adaptive adjustment device for an electronic map provided by another embodiment of the present invention, where the second adjustment module 802 is specifically configured to:
  • the navigation distance is reduced to the third preset distance
  • the electronic map is a 3D interface
  • the distance between the current positioning position of the positioning object and the previous positioning position is divided by the positioning time interval, and the current reference of the positioning object is obtained.
  • a traveling speed dividing the third preset distance by a current reference traveling speed of the positioning object, obtaining a second reference duration, and setting a second set time step, the second set time step being less than or equal to Dividing the second reference duration by the second preset number of times, and adjusting the camera angle of the electronic map when the positioning object is positioned according to the navigation route for each second set time step Step size until the camera angle of the electronic map is lowered to the target camera angle;
  • the angle adjustment step is obtained by dividing a difference between a camera angle of the electronic map and the target camera angle by the second preset number when the navigation distance is reduced to the third preset distance. .
  • the apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention further includes:
  • a determining module configured to re-determine the navigation distance based on a next navigation point of the left navigation point when the positioning object is located away from the navigation point;
  • a second maintaining module configured to maintain the electronic map at the 2D interface when the re-determined navigation distance is less than the third preset distance.
  • the apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention further includes:
  • the third maintaining module is configured to maintain the electronic map as a 2D interface when the positioning object enters the roundabout, and maintain the electronic map in the 2D interface during the traveling of the positioning object along the roundabout according to the navigation route.
  • the apparatus for adaptively adjusting an electronic map according to another embodiment of the present invention further includes:
  • a setting module configured to: when the positioning object is located in the tunnel, use the first navigation point after the tunnel in the navigation route as the target navigation point.
  • the present invention provides an adaptive adjustment method and apparatus for an electronic map.
  • the technical solution provided by the present invention is to monitor a navigation distance between a positioning position of the positioning object and the target navigation point, wherein the target navigation point is a next navigation point corresponding to the positioning object in the navigation route when the positioning object is in the positioning position (
  • the navigation point includes an intersection in the prior art, and when determining that the navigation distance is reduced to a first preset distance (where the first preset distance is greater than the second preset distance), the positioning object follows the navigation route
  • the scale of the electronic map is gradually increased to the target scale, so that the scale of the electronic map can be relatively gently adjusted in a gradual manner, thereby realizing the gentleness of the electronic map.
  • the changes make the user's visual effect better when viewed, which can effectively improve the user experience.
  • the target scale may be preset to be large enough to reduce the navigation distance to a first preset distance, that is, when the positioning object is closer to the target navigation point, the electronic The map can clearly display the image of the target navigation point, including the intersection image, so that the user can clearly see the key steering node, which can avoid the need to user when the scale is directly enlarged by one level in the prior art.
  • the technical solution provided by the embodiment of the present invention is more intelligent and convenient, and can effectively improve the user experience.
  • the technical solution provided by the embodiment of the present invention when the navigation distance is reduced to the third preset distance, if the electronic map is a 3D interface, the positioning object travels to the target navigation point according to the navigation route.
  • the 2D interface makes it easy for users to clearly view information such as key steering nodes, which can further enhance the user experience.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, or any other form known in the art.
  • RAM random access memory
  • ROM read only memory
  • electrically programmable ROM electrically erasable programmable ROM
  • registers hard disk, removable disk, or any other form known in the art.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)

Abstract

一种电子地图的自适应调整方法和装置。方法包括:监测定位对象的定位位置与目标导航点之间的导航距离(S101),目标导航点为导航路线中定位对象处于定位位置时对应的下一个导航点;当导航距离减小至第一预设距离时,在定位对象按照导航路线行进至导航距离减小至第二预设距离的过程中,逐渐增大电子地图的比例尺至目标比例尺(S102);第二预设距离小于第一预设距离。通过这种方式能够以渐变的形式相对平缓地对电子地图的比例尺进行调整,实现电子地图平缓的变化,使用户查看时视觉效果较好,能够有效提升用户体验。

Description

电子地图的自适应调整方法和装置
本申请要求2017年01月23日递交的申请号为201710062571.1、发明名称为“电子地图的自适应调整方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及电子地图技术领域,尤其涉及一种电子地图的自适应调整方法和装置。
背景技术
目前,很多用户已经习惯在出行时通过导航软件等电子地图服务工具进行导航,从而方便出行。其中,导航软件等电子地图服务工具在获取到用户出发点位置信息和用户想要到达的目的地位置信息时,便会生成导航线路,用户按照该导航线路出行,便可以到达目的地。
在用户按照该导航线路出行的过程中,导航软件等电子地图服务工具可以借助导航终端(如安装导航软件等电子地图服务工具的移动终端等)的定位模块获取用户的位置信息,从而完成对用户当前位置的定位,并在导航终端的显示界面显示指向箭头以提醒用户基于当前位置的行进方向。
现有技术中,当确定用户距离路口减小到设定距离时,导航软件等电子地图服务工具会将比例尺以跳变的形式直接放大一级,以方便用户查看路口附近的道路,而在确定用户距离路口设定距离之前,电子地图的比例尺一直保持不便。但是,电子地图的比例尺以跳变的形式直接放大一级,会导致电子地图突然发生较大的变化,给用户视觉上带来不适感,影响用户体验。
发明内容
有鉴于此,本发明提供了一种电子地图的自适应调整方法和装置,能够以渐变的形式相对平缓地对电子地图的比例尺进行调整,实现电子地图平缓的变化,使用户查看时视觉效果较好。
为实现上述目的,本发明提供如下技术方案:
一种电子地图的自适应调整方法,包括:
监测定位对象的定位位置与目标导航点之间的导航距离,所述目标导航点为导航路 线中定位对象处于所述定位位置时对应的下一个导航点;
当所述导航距离减小至第一预设距离时,在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,逐渐增大电子地图的比例尺至目标比例尺;所述第二预设距离小于所述第一预设距离。
进一步的,所述在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,逐渐增大电子地图的比例尺至目标比例尺,包括:
在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,将电子地图的比例尺经过第一预设次数的增大调整,增大至目标比例尺。
进一步的,所述在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,将电子地图的比例尺经过第一预设次数的增大调整,增大至目标比例尺,包括:
当定位到所述定位对象按照导航路线每行进第一设定距离步长,将电子地图的比例尺增大比例尺调整步长,直至所述导航距离减小至第二预设距离时,电子地图的比例尺增大至目标比例尺,其中,所述比例尺调整步长为所述目标比例尺减去所述导航距离减小至第一预设距离时电子地图的比例尺的差值除以所述第一预设次数得到的。
进一步的,所述在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,将电子地图的比例尺经过第一预设次数的增大调整,增大至目标比例尺,包括:
将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度;
将所述第一预设距离减所述第二预设距离的差值除以所述当前参考行进速度,得到第一参考时长;
设置第一设定时间步长,所述第一设定时间步长小于或等于所述第一参考时长除以所述第一预设次数得到的商;
当定位到所述定位对象按照导航路线每行进所述第一设定时间步长,将电子地图的比例尺增大比例尺调整步长,直至电子地图的比例尺增大至目标比例尺;
其中,所述比例尺调整步长为所述目标比例尺减去所述导航距离减小至第一预设距离时电子地图的比例尺的差值除以所述第一预设次数得到的。
进一步的,还包括:
当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确 定导航距离;
当重新确定的导航距离小于所述第二预设距离时,将电子地图的比例尺维持在所述目标比例尺。
进一步的,还包括:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角;
将电子地图从相机角为所述目标相机角的3D界面切换为2D界面。
进一步的,所述在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角,包括:
在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角。
进一步的,所述在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角,包括:
当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
其中,所述第二设定距离步长小于或等于所述第三预设距离除以所述第二预设次数得到的商;所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
进一步的,所述在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角,包括:
将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度;
将所述第三预设距离除以所述定位对象的当前参考行进速度,得到第二参考时长;
设置第二设定时间步长,所述第二设定时间步长小于或等于所述第二参考时长除以所述第二预设次数得到的商;
当定位到所述定位对象按照导航路线每行进所述第二设定时间步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
其中,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
进一步的,还包括:
当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
当重新确定的导航距离小于所述第三预设距离时,将电子地图维持在2D界面。
进一步的,还包括:
若所述定位对象进入环岛时电子地图为2D界面,在所述定位对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
进一步的,还包括:
当定位到所述定位对象进入隧道时,将所述导航路线中出所述隧道之后的第一个导航点作为目标导航点。
一种电子地图的自适应调整装置,包括:
监测模块,用于监测定位对象的定位位置与目标导航点之间的导航距离,所述目标导航点为导航路线中定位对象处于所述定位位置时对应的下一个导航点;
第一调整模块,用于当所述导航距离减小至第一预设距离时,在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,逐渐增大电子地图的比例尺至目标比例尺;所述第二预设距离小于所述第一预设距离。
进一步的,所述第一调整模块具体用于:
当所述导航距离减小至第一预设距离时,在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,将电子地图的比例尺经过第一预设次数的增大调整,增大至目标比例尺。
进一步的,所述第一调整模块具体用于:
当所述导航距离减小至第一预设距离时,当定位到所述定位对象按照导航路线每行进第一设定距离步长,将电子地图的比例尺增大比例尺调整步长,直至所述导航距离减小至第二预设距离时,电子地图的比例尺增大至目标比例尺,其中,所述比例尺调整步长为所述目标比例尺减去所述导航距离减小至第一预设距离时电子地图的比例尺的差值除以所述第一预设次数得到的。
进一步的,所述第一调整模块具体用于:
当所述导航距离减小至第一预设距离时,将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度,将所述第一预设距离减所述第二预设距离的差值除以所述当前参考行进速度,得到第一参考时长,设置第一 设定时间步长,所述第一设定时间步长小于或等于所述第一参考时长除以所述第一预设次数得到的商,当定位到所述定位对象按照导航路线每行进所述第一设定时间步长,将电子地图的比例尺增大比例尺调整步长,直至电子地图的比例尺增大至目标比例尺;
其中,所述比例尺调整步长为所述目标比例尺减去所述导航距离减小至第一预设距离时电子地图的比例尺的差值除以所述第一预设次数得到的。
进一步的,还包括:
确定模块,用于当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
第一维持模块,用于当重新确定的导航距离小于所述第二预设距离时,将电子地图的比例尺维持在所述目标比例尺。
进一步的,还包括:
第二调整模块,用于当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角;
切换模块,用于将电子地图从相机角为所述目标相机角的3D界面切换为2D界面。
进一步的,所述第二调整模块具体用于:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角。
进一步的,所述第二调整模块具体用于:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
其中,所述第二设定距离步长小于或等于所述第三预设距离除以所述第二预设次数得到的商;所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
进一步的,所述第二调整模块具体用于:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度,将所述第三预设距离除以所述定位对象的当前参考行进速度,得到第二参考时 长,设置第二设定时间步长,所述第二设定时间步长小于或等于所述第二参考时长除以所述第二预设次数得到的商,当定位到所述定位对象按照导航路线每行进所述第二设定时间步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
其中,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
进一步的,还包括:
确定模块,用于当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
第二维持模块,用于当重新确定的导航距离小于所述第三预设距离时,将电子地图维持在2D界面。
进一步的,还包括:
第三维持模块,用于若所述定位对象进入环岛时电子地图为2D界面,在所述定位对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
进一步的,还包括:
设定模块,用于当定位到所述定位对象进入隧道时,将所述导航路线中出所述隧道之后的第一个导航点作为目标导航点。
与现有技术相比,本发明提供了一种电子地图的自适应调整方法和装置。本发明提供的电子地图的比例尺调整的技术方案,通过监测定位对象的定位位置与目标导航点之间的导航距离,其中,目标导航点为导航路线中定位对象处于定位位置时对应的下一个导航点(导航点包括现有技术中的路口),在确定导航距离减小至第一预设距离时(其中,第一预设距离大于第二预设距离),在定位对象按照导航路线行进至导航距离减小至第二预设距离的过程中,逐渐增大电子地图的比例尺至目标比例尺,从而能够以渐变的形式相对平缓地对电子地图的比例尺进行调整,实现电子地图平缓的变化,使用户查看时视觉效果较好,能够有效提升用户体验。
此外,本发明还提供了另外一种电子地图的自适应调整方法和装置,能够以渐变的形式相对平缓地对电子地图3D界面的相机角进行调整,实现电子地图平缓的变化,使用户查看时视觉效果较好。
为实现上述目的,本发明提供如下技术方案:
一种电子地图的自适应调整方法,包括:
监测定位对象的定位位置与目标导航点之间的导航距离,所述目标导航点为导航路线中定位对象处于所述定位位置时对应的下一个导航点;
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角;
将电子地图从相机角为所述目标相机角的3D界面切换为2D界面。
进一步的,所述在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角,包括:
在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角。
进一步的,所述在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角,包括:
当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
其中,所述第二设定距离步长小于或等于所述第三预设距离除以所述第二预设次数得到的商;所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
进一步的,所述在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角,包括:
将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度;
将所述第三预设距离除以所述定位对象的当前参考行进速度,得到第二参考时长;
设置第二设定时间步长,所述第二设定时间步长小于或等于所述第二参考时长除以所述第二预设次数得到的商;
当定位到所述定位对象按照导航路线每行进所述第二设定时间步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
其中,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
进一步的,还包括:
当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确 定导航距离;
当重新确定的导航距离小于所述第三预设距离时,将电子地图维持在2D界面。
进一步的,还包括:
若所述定位对象进入环岛时电子地图为2D界面,在所述定位对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
进一步的,还包括:
当定位到所述定位对象进入隧道时,将所述导航路线中出所述隧道之后的第一个导航点作为目标导航点。
一种电子地图的自适应调整装置,包括:
监测模块,用于监测定位对象的定位位置与目标导航点之间的导航距离,所述目标导航点为导航路线中定位对象处于所述定位位置时对应的下一个导航点;
第二调整模块,用于当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角;
切换模块,用于将电子地图从相机角为所述目标相机角的3D界面切换为2D界面。
进一步的,所述第二调整模块具体用于:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角。
进一步的,所述第二调整模块具体用于:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
其中,所述第二设定距离步长小于或等于所述第三预设距离除以所述第二预设次数得到的商;所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
进一步的,所述第二调整模块具体用于:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度,将所述第三预设距离除以所述定位对象的当前参考行进速度,得到第二参考时 长,设置第二设定时间步长,所述第二设定时间步长小于或等于所述第二参考时长除以所述第二预设次数得到的商,当定位到所述定位对象按照导航路线每行进所述第二设定时间步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
其中,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
进一步的,还包括:
确定模块,用于当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
第二维持模块,用于当重新确定的导航距离小于所述第三预设距离时,将电子地图维持在2D界面。
进一步的,还包括:
第三维持模块,用于若所述定位对象进入环岛时电子地图为2D界面,在所述定位对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
进一步的,还包括:
设定模块,用于当定位到所述定位对象进入隧道时,将所述导航路线中出所述隧道之后的第一个导航点作为目标导航点。
与现有技术相比,本发明提供了另外一种电子地图的自适应调整方法和装置。本发明提供的电子地图的相机角调整的技术方案,通过监测定位对象的定位位置与目标导航点之间的导航距离,其中,目标导航点为导航路线中定位对象处于定位位置时对应的下一个导航点(导航点包括现有技术中的路口),当导航距离减小至第三预设距离时,若电子地图为3D界面,在定位对象按照导航路线行进至目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角,再将电子地图从相机角为目标相机角的3D界面切换为2D界面,从而能够在定位对象到达目标导航点时,电子地图为2D界面,方便用户清楚的查看关键转向节点等信息,能够进一步提升用户体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以 根据提供的附图获得其他的附图。
图1为本发明实施例提供的一种电子地图的自适应调整方法的流程图;
图2为本发明实施例提供的一段导航线路的示意图;
图3为本发明实施例提供的电子地图一个示意图;
图4为本发明实施例提供的电子地图另外一个示意图;
图5为本发明实施例提供的电子地图另外一个示意图;
图6为本发明实施例提供的另外一种电子地图的自适应调整方法的流程图;
图7为本发明实施例提供的一种电子地图的自适应调整装置的结构图;
图8为本发明实施例提供的另外一种电子地图的自适应调整装置的结构图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。
实施例
本发明实施例提供的电子地图的自适应调整方法,可以应用于具有定位功能的导航设备,比如车载终端设备或者智能手机等移动终端设备等。
请参阅图1,图1为本发明实施例提供的一种电子地图的自适应调整方法的流程图。如图1所示,该方法包括:
步骤S101,监测定位对象的定位位置与目标导航点之间的导航距离;
具体的,所述目标导航点为导航路线中定位对象处于所述定位位置时对应的下一个导航点。可选的,所述定位对象为具有定位功能的导航设备,比如车载终端设备或者智能手机等移动终端设备等,一般默认为定位对象的定位位置便是用户的定位位置。
请参阅图2,图2为本发明实施例提供的一段导航线路的示意图。如图2所示,一段A→B→C→D→E的导航线路,其中,A、B、C、D和E均为导航点,箭头表示行驶方向,以定位对象为车辆为例,假如车辆的定位位置P点在B和C之间,那么C便是所 述目标导航点。也就是说,导航路线中车辆处于所述定位位置时对应的下一个导航点是指,在车俩尚未行驶的导航线路中,距离车俩的定位位置最近的导航点。其中,所述车辆的定位位置可以通过如车载终端设备等导航设备定位得到。
可选的,所述导航点包括各种类型的拐弯点,如交叉路口的拐点等。
可选的,通过所述定位对象的定位位置的经纬度坐标和所述目标导航点的经纬度坐标,计算二者之间的导航距离,从而实现二者之间导航距离的监测。
步骤S102,当所述导航距离减小至第一预设距离时,在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,逐渐增大电子地图的比例尺至目标比例尺;
具体的,所述第二预设距离小于所述第一预设距离。
具体的,所述第一预设距离、所述第二预设距离和所述目标比例尺皆为预先设定的数值。可选的,所述第一预设距离为300米,所述第二预设距离为100米。
可选的,预先设定的所述目标比例尺应当足够大,以使电子地图能够清晰的展示目标导航点的画面,包括路口的画面,从而使用户能够清楚的看到关键转向节点,具有良好的效果,如方便驾驶。可选的,预先设定的所述目标比例尺可以为电子地图当前能够提供的最大比例尺;比如,若电子地图当前的比例尺下限是(1厘米:100米),上限是(1厘米:25米),则预先设定的所述目标比例尺可以为(1厘米:25米)。
也就是说,当定位对象距离所述目标导航点第二预设距离时,电子地图的比例尺便已调整为所述目标比例尺,从而使用户能够清楚的看到关键转向节点。
请参阅图3~图5,图3为本发明实施例提供的电子地图一个示意图,图4为本发明实施例提供的电子地图另外一个示意图,图5为本发明实施例提供的电子地图另外一个示意图。如图3~图5所示,一段B→C的导航线路,其中,B和C均为导航点,箭头表示行驶方向,P表示定位对象的定位点,以定位对象为车辆为例,车辆的定位位置在B和C之间,那么C便是所述目标导航点,图3中示出了导航距离为300米时对应的电子地图的比例尺,图4中示出了导航距离为200米时对应的电子地图的比例尺,图5中示出了导航距离为100米时对应的电子地图的比例尺。图3~图5中,各图的左下角部分内容表示比例尺,图3中比例尺为(1厘米:100米),图4中比例尺为(1厘米:50米),图5中比例尺为(1厘米:25米),需要说明的是,图5中由于比例尺很大,B点未能显示在图中,也就是说,电子地图优先显示定位对象的定位位置与目标导航点之间的线路,以车辆为例,便是优先显示尚未驶过的导航路线。由图3~图5可以获知,随着导航 距离逐渐减小,电子地图的比例尺相应的逐渐调大,从而实现电子地图渐变的视觉效果。
本发明实施例提供的技术方案,通过监测定位对象的定位位置与目标导航点之间的导航距离,其中,所述目标导航点为导航路线中定位对象处于所述定位位置时对应的下一个导航点(导航点包括现有技术中的路口),在确定所述导航距离减小至第一预设距离时(其中,第一预设距离大于第二预设距离),在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,逐渐增大电子地图的比例尺至目标比例尺,从而能够以渐变的形式相对平缓地对电子地图的比例尺进行调整,实现电子地图平缓的变化,使用户查看时视觉效果较好,能够有效提升用户体验。
此外,本发明实施例提供的技术方案,所述目标比例尺可以预先设定为足够大,使所述导航距离减小至第一预设距离时,即定位对象距离目标导航点较近时,电子地图能够清晰的展示目标导航点的画面,包括路口的画面,从而使用户能够清楚的看到关键转向节点,能够避免现有技术中将比例尺直接放大一级后因比例尺可能仍然较小导致需要用户再手动将比例尺调大的情况,因此,本发明实施例提供的技术方案,更加智能化,比较方便,能够有效提升用户体验。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,所述步骤S102包括:
当所述导航距离减小至第一预设距离时,在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,将电子地图的比例尺经过第一预设次数的增大调整,增大至目标比例尺。
具体的,所述第一预设次数可以为预先设定的固定数值。需要说明的是,本实施例将电子地图的比例尺经过第一预设次数的增大调整,增大至目标比例尺,而对电子地图的比例尺每次调整的幅度并不限定。
进一步的,可选的,所述当所述导航距离减小至第一预设距离时,在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,将电子地图的比例尺经过第一预设次数的增大调整,增大至目标比例尺,包括:
当所述导航距离减小至第一预设距离时,当定位到所述定位对象按照导航路线每行进第一设定距离步长,将电子地图的比例尺增大比例尺调整步长,直至所述导航距离减小至第二预设距离时,电子地图的比例尺增大至目标比例尺;
具体的,所述比例尺调整步长为所述目标比例尺减去所述导航距离减小至第一预设距离时电子地图的比例尺的差值除以所述第一预设次数得到的。
具体的,本实施例中,当定位到所述定位对象按照导航路线每行进第一设定距离步长,将电子地图的比例尺增大比例尺调整步长,即每次调整的幅度相等,能够实现对电子地图的比例尺进行均匀调节,从而使电子地图的渐变更为平缓,视觉感受更佳,能够进一步提升用户体验。
进一步的,可选的,所述当所述导航距离减小至第一预设距离时,在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,将电子地图的比例尺经过第一预设次数的增大调整,增大至目标比例尺,包括:
当所述导航距离减小至第一预设距离时,将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度;
将所述第一预设距离减所述第二预设距离的差值除以所述当前参考行进速度,得到第一参考时长;
设置第一设定时间步长,所述第一设定时间步长小于或等于所述第一参考时长除以所述第一预设次数得到的商;
当定位到所述定位对象按照导航路线每行进所述第一设定时间步长,将电子地图的比例尺增大比例尺调整步长,直至电子地图的比例尺增大至目标比例尺;
具体的,所述比例尺调整步长为所述目标比例尺减去所述导航距离减小至第一预设距离时电子地图的比例尺的差值除以所述第一预设次数得到的。
可以理解的是,定位对象以车辆为例,车辆在距离目标导航点(比如路口)越来越近时,一般情况下会选择保持当前的速度,或者减速,也就是说,车辆由距离目标导航点第一预设距离的位置(如X位置)行进至距离目标导航点第二预设距离的位置(如Y位置)所用的时间至少为车辆以在X位置时的速度行驶X-Y这段距离所用的时间。本发明创造性的基于此实际情况,设置第一设定时间步长,从而保证定位对象在到达Y位置时,电子地图的比例尺已经或者正好增大至目标比例尺。
具体的,由于定位时间间隔一般都较小,比如0.5秒,因此,所述当前参考行进速度的取值虽然是根据定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔得到的平均速度,但是,仍然是相对准确的(定位对象的)当前速度。
具体的,本实施例中,当定位到所述定位对象按照导航路线每行进第一设定时间步 长,将电子地图的比例尺增大比例尺调整步长,即每次调整的幅度相等,并且每次调整的时间间隔也相等,能够实现对电子地图的比例尺在调整幅度和调整时间间隔两个方向上均实现均匀调整,从而使电子地图的渐变更为平缓,视觉感受更佳,能够进一步提升用户体验。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,还包括:
当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
当重新确定的导航距离小于所述第二预设距离时,将电子地图的比例尺维持在所述目标比例尺。
具体的,当重新确定的导航距离小于所述第二预设距离时,则可以确定定位对象距离下一个导航点很近,因此,仍旧将电子地图的比例尺维持在所述目标比例尺,从而方便用户能够清楚的看到关键转向节点,具有良好的效果,如方便驾驶。
目前,在导航过程中电子地图可以选择3D界面,但是,定位对象即将驶入目标导航点时,3D界面的电子地图反而不利于用户清楚的查看关键转向节点等信息,从而影响用户的判断。为此,本发明还提供了另外一个实施例,用以解决该问题。可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,还包括:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角(即Camera Degree)至目标相机角;
具体的,所述第三预设距离和所述目标相机角为预先设定的固定数值。可选的,所述目标相机角位于较小的数值区间,如不小于10°。可选的,所述第三预设距离为100米。
将电子地图从相机角为所述目标相机角的3D界面切换为2D界面。
具体的,可以将电子地图从相机角为所述目标相机角的3D界面直接切换为2D界面。
本实施例提供的技术方案,当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角,将电子地图从相机角为所述目标相机角的3D界面切换为2D界面,从而能够在定位对象到达目标导航点时,电子地图为2D界面,方便用 户清楚的查看关键转向节点等信息,能够进一步提升用户体验。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,所述当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角,包括:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角;
具体的,所述第二预设次数的降低调整的过程中,每次调整的幅度,本发明并不限定,可以相同,也可以不同。可选的,所述第二预设次数为预先设定的数值。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,所述当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角,包括:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
具体的,所述第二设定距离步长小于或等于所述第三预设距离除以所述第二预设次数得到的商,以保证定位对象行进至目标导航点时,电子地图的相机角已降至或者正好降至目标相机角。
具体的,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
具体的,本实施例中,当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,即每次调整的幅度相等,能够实现对电子地图的相机角进行均匀调节,从而使电子地图的渐变更为平缓,视觉感受更佳,能够进一步提升用户体验。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,所述当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航 路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角,包括:
将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度;
将所述第三预设距离除以所述定位对象的当前参考行进速度,得到第二参考时长;
设置第二设定时间步长,所述第二设定时间步长小于或等于所述第二参考时长除以所述第二预设次数得到的商;
当定位到所述定位对象按照导航路线每行进所述第二设定时间步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
具体的,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
可以理解的是,定位对象以车辆为例,车辆在距离目标导航点(比如路口)越来越近时,一般情况下会选择保持当前的速度,或者减速,也就是说,车辆由距离目标导航点第三预设距离的位置(如S位置)行进至距离目标导航点(如T位置)所用的时间至少为车辆以在S位置时的速度行驶S~T这段距离(即第三预设距离)所用的时间。本发明创造性的基于此实际情况,设置第二设定时间步长,从而保证定位对象在到达T位置(即目标导航点)时,电子地图的相机角已经或者正好降至目标相机角。
具体的,由于定位时间间隔一般都较小,比如0.5秒,因此,所述当前参考行进速度的取值虽然是根据定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔得到的平均速度,但是,仍然是相对准确的(定位对象的)当前速度。
具体的,本实施例中,当定位到所述定位对象按照导航路线每行进第二设定时间步长,将电子地图的相机角降低角度调整步长,即每次调整的幅度相等,能够实现对电子地图的相机角进行均匀调节,从而使电子地图的渐变更为平缓,视觉感受更佳,能够进一步提升用户体验。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,还包括:
当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
当重新确定的导航距离小于所述第三预设距离时,将电子地图维持在2D界面。
具体的,当重新确定的导航距离小于所述第三预设距离时,则可以确定定位对象距 离下一个导航点较近,因此,仍旧将电子地图的相机角维持在所述目标相机角,从而方便用户能够清楚的看到关键转向节点,具有良好的效果,如方便驾驶。
可选的,当重新确定的导航距离达到所述第三预设距离时,将电子地图切回3D界面,然后电子地图的相机角也可相应的做增加调整。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,还包括:
若所述定位对象进入环岛时电子地图为2D界面,在所述定位对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
具体的,由于环岛的入口和出口都属于导航点,应用本发明上述实施例提供的技术方案,定位对象进入环岛时电子地图为2D界面,或者用户一直选择的为2D界面,基于环岛的特殊构造,定位对象按照导航路线沿所述环岛行进的过程中,环岛的3D电子地图不容易看清楚,反而容易使用户目眩,即电子地图为2D界面更适合用户查看线路,因此,本实施例确定所述定位对象进入环岛时电子地图为2D界面,在所述定位对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,
当定位到所述定位对象进入隧道时,将所述导航路线中出所述隧道之后的第一个导航点作为目标导航点。
具体的,定位对象在隧道内行驶的过程中,用户一般想要维持定位对象当前行驶状态,不做太大改变,同时,由于该过程中,信号容易中断,导航设备也难以准确对定位对象进行定位,因此,当定位到定位对象进入隧道时,可以将导航线路中出隧道之后的第一个导航点作为所述目标导航点。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,还包括:
在未确定所述目标导航点或者所述导航距离至少为所述第一预设距离时,将电子地图的比例尺设置为默认比例尺。
具体的,所述默认比例尺可以为中间数值的比例尺,比如(1厘米:50米)。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,还包括:
检测用户手动调整比例尺的操作;
按照用户手动调整比例尺的操作调整比例尺;
若经过预设时间未检测到用户的操作,切换至当前导航距离对应的比例尺;
具体的,当前导航距离为定位对象的定位位置与目标导航点之间的导航距离。
目前,在导航过程中电子地图可以选择3D界面,但是,定位对象即将驶入目标导航点时,3D界面的电子地图反而不利于用户清楚的查看关键转向节点等信息,从而影响用户的判断。为此,本发明还提供了另外一个实施例,用以解决该问题。
请参阅图6,图6为本发明实施例提供的另外一种电子地图的自适应调整方法的流程图。如图6所示,该方法包括:
步骤S601,监测定位对象的定位位置与目标导航点之间的导航距离;
具体的,所述目标导航点为导航路线中定位对象处于所述定位位置时对应的下一个导航点。
步骤S602,当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角;
具体的,所述第三预设距离和所述目标相机角为预先设定的固定数值。可选的,所述目标相机角位于较小的数值区间,如不大于10°。可选的,所述第三预设距离为100米。步骤S603,将电子地图从相机角为所述目标相机角的3D界面切换为2D界面。
具体的,可以将电子地图从相机角为所述目标相机角的3D界面直接切换为2D界面。
本实施例提供的技术方案,当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角,将电子地图从相机角为所述目标相机角的3D界面切换为2D界面,从而能够在定位对象到达目标导航点时,电子地图为2D界面,方便用户清楚的查看关键转向节点等信息,能够进一步提升用户体验。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,所述步骤S602包括:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角;
具体的,所述第二预设次数的降低调整的过程中,每次调整的幅度,本发明并不限定,可以相同,也可以不同。可选的,所述第二预设次数为预先设定的数值。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,所述当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角,包括:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
具体的,所述第二设定距离步长小于或等于所述第三预设距离除以所述第二预设次数得到的商,以保证定位对象行进至目标导航点时,电子地图的相机角已降至或者正好降至目标相机角。
具体的,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
具体的,本实施例中,当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,即每次调整的幅度相等,能够实现对电子地图的相机角进行均匀调节,从而使电子地图的渐变更为平缓,视觉感受更佳,能够进一步提升用户体验。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,所述当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角,包括:
将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度;
将所述第三预设距离除以所述定位对象的当前参考行进速度,得到第二参考时长;
设置第二设定时间步长,所述第二设定时间步长小于或等于所述第二参考时长除以所述第二预设次数得到的商;
当定位到所述定位对象按照导航路线每行进所述第二设定时间步长,将电子地图的 相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
具体的,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
可以理解的是,定位对象以车辆为例,车辆在距离目标导航点(比如路口)越来越近时,一般情况下会选择保持当前的速度,或者减速,也就是说,车辆由距离目标导航点第三预设距离的位置(如S位置)行进至距离目标导航点(如T位置)所用的时间至少为车辆以在S位置时的速度行驶S~T这段距离(即第三预设距离)所用的时间。本发明创造性的基于此实际情况,设置第二设定时间步长,从而保证定位对象在到达T位置(即目标导航点)时,电子地图的相机角已经或者正好降至目标相机角。
具体的,由于定位时间间隔一般都较小,比如0.5秒,因此,所述当前参考行进速度的取值虽然是根据定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔得到的平均速度,但是,仍然是相对准确的(定位对象的)当前速度。
具体的,本实施例中,当定位到所述定位对象按照导航路线每行进第二设定时间步长,将电子地图的相机角降低角度调整步长,即每次调整的幅度相等,能够实现对电子地图的相机角进行均匀调节,从而使电子地图的渐变更为平缓,视觉感受更佳,能够进一步提升用户体验。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,还包括:
当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
当重新确定的导航距离小于所述第三预设距离时,将电子地图维持在2D界面。
具体的,当重新确定的导航距离小于所述第三预设距离时,则可以确定定位对象距离下一个导航点较近,因此,仍旧将电子地图的相机角维持在所述目标相机角,从而方便用户能够清楚的看到关键转向节点,具有良好的效果,如方便驾驶。
可选的,当重新确定的导航距离达到所述第三预设距离时,将电子地图切回3D界面,然后电子地图的相机角也可相应的做增加调整。
可选的,本发明另外一个实施例提供的电子地图的自适应调整方法,还包括:
若所述定位对象进入环岛时电子地图为2D界面,在所述定位对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
具体的,由于环岛的入口和出口都属于导航点,应用本发明上述实施例提供的技术方案,定位对象进入环岛时电子地图为2D界面,或者用户一直选择的为2D界面,基于环岛的特殊构造,定位对象按照导航路线沿所述环岛行进的过程中,环岛的3D电子地图不容易看清楚,反而容易使用户目眩,即电子地图为2D界面更适合用户查看线路,因此,本实施例确定所述定位对象进入环岛时电子地图为2D界面,在所述定位对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
为了更加全面地阐述本发明提供的技术方案,对应于本发明实施例提供的电子地图的自适应调整方法,本发明公开一种电子地图的自适应调整装置。
请参阅图7,图7为本发明实施例提供的一种电子地图的自适应调整装置的结构图。如图7所示,该装置包括:
监测模块701,用于监测定位对象的定位位置与目标导航点之间的导航距离,所述目标导航点为导航路线中定位对象处于所述定位位置时对应的下一个导航点;
第一调整模块702,用于当所述导航距离减小至第一预设距离时,在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,逐渐增大电子地图的比例尺至目标比例尺;所述第二预设距离小于所述第一预设距离。
应用本发明实施例提供的电子地图的自适应调整装置,能够以渐变的形式相对平缓地对电子地图的比例尺进行调整,实现电子地图平缓的变化,使用户查看时视觉效果较好,能够有效提升用户体验。
此外,本发明实施例提供的电子地图的自适应调整装置,所述目标比例尺可以预先设定为足够大,使所述导航距离减小至第一预设距离时,即定位对象距离目标导航点较近时,电子地图能够清晰的展示目标导航点的画面,包括路口的画面,从而使用户能够清楚的看到关键转向节点,能够避免现有技术中将比例尺直接放大一级后因比例尺可能仍然较小导致需要用户再手动将比例尺调大的情况,因此,本发明实施例提供的电子地图的自适应调整装置,更加智能化,比较方便,能够有效提升用户体验。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,所述第一调整模块具体用于:
当所述导航距离减小至第一预设距离时,在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,将电子地图的比例尺经过第一预设次数的增大 调整,增大至目标比例尺。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,所述第一调整模块具体用于:
当所述导航距离减小至第一预设距离时,当定位到所述定位对象按照导航路线每行进第一设定距离步长,将电子地图的比例尺增大比例尺调整步长,直至所述导航距离减小至第二预设距离时,电子地图的比例尺增大至目标比例尺,其中,所述比例尺调整步长为所述目标比例尺减去所述导航距离减小至第一预设距离时电子地图的比例尺的差值除以所述第一预设次数得到的。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,所述第一调整模块具体用于:
当所述导航距离减小至第一预设距离时,将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度,将所述第一预设距离减所述第二预设距离的差值除以所述当前参考行进速度,得到第一参考时长,设置第一设定时间步长,所述第一设定时间步长小于或等于所述第一参考时长除以所述第一预设次数得到的商,当定位到所述定位对象按照导航路线每行进所述第一设定时间步长,将电子地图的比例尺增大比例尺调整步长,直至电子地图的比例尺增大至目标比例尺;
其中,所述比例尺调整步长为所述目标比例尺减去所述导航距离减小至第一预设距离时电子地图的比例尺的差值除以所述第一预设次数得到的。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,还包括:
确定模块,用于当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
第一维持模块,用于当重新确定的导航距离小于所述第二预设距离时,将电子地图的比例尺维持在所述目标比例尺。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,还包括:
第二调整模块,用于当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角;
切换模块,用于将电子地图从相机角为所述目标相机角的3D界面切换为2D界面。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,所述第二调整模块具体用于:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,所述第二调整模块具体用于:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
其中,所述第二设定距离步长小于或等于所述第三预设距离除以所述第二预设次数得到的商;所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,所述第二调整模块具体用于:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度,将所述第三预设距离除以所述定位对象的当前参考行进速度,得到第二参考时长,设置第二设定时间步长,所述第二设定时间步长小于或等于所述第二参考时长除以所述第二预设次数得到的商,当定位到所述定位对象按照导航路线每行进所述第二设定时间步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
其中,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,还包括:
确定模块,用于当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
第二维持模块,用于当重新确定的导航距离小于所述第三预设距离时,将电子地图维持在2D界面。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,还包括:
第三维持模块,用于若所述定位对象进入环岛时电子地图为2D界面,在所述定位对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,还包括:
设定模块,用于当定位到所述定位对象进入隧道时,将所述导航路线中出所述隧道之后的第一个导航点作为目标导航点。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,还包括:
第二设定模块,用于在未确定所述目标导航点或者所述导航距离至少为所述第一预设距离时,将电子地图的比例尺设置为默认比例尺。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,还包括:
检测模块,用于检测用户手动调整比例尺的操作;
第三调整模块,用于按照用户手动调整比例尺的操作调整比例尺;
第二切换模块,用于若经过预设时间未检测到用户的操作,切换至当前导航距离对应的比例尺;
具体的,当前导航距离为定位对象的定位位置与目标导航点之间的导航距离。
目前,在导航过程中电子地图可以选择3D界面,但是,定位对象即将驶入目标导航点时,3D界面的电子地图反而不利于用户清楚的查看关键转向节点等信息,从而影响用户的判断。为此,本发明还提供了另外一种电子地图的自适应调整装置,用以解决该问题。
请参阅图8,图8为本发明实施例提供的另外一种电子地图的自适应调整装置的结构图。如图8所示,该装置包括:
监测模块801,用于监测定位对象的定位位置与目标导航点之间的导航距离,所述目标导航点为导航路线中定位对象处于所述定位位置时对应的下一个导航点;
第二调整模块802,用于当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低 电子地图的相机角至目标相机角;
切换模块803,用于将电子地图从相机角为所述目标相机角的3D界面切换为2D界面。
本实施例提供的电子地图的自适应调整装置,能够在定位对象到达目标导航点时,电子地图为2D界面,方便用户清楚的查看关键转向节点等信息,能够进一步提升用户体验。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,所述第二调整模块802具体用于:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,所述第二调整模块802具体用于:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
其中,所述第二设定距离步长小于或等于所述第三预设距离除以所述第二预设次数得到的商;所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,所述第二调整模块802具体用于:
当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度,将所述第三预设距离除以所述定位对象的当前参考行进速度,得到第二参考时长,设置第二设定时间步长,所述第二设定时间步长小于或等于所述第二参考时长除以所述第二预设次数得到的商,当定位到所述定位对象按照导航路线每行进所述第二设定时间步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
其中,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相 机角减去所述目标相机角的差值除以所述第二预设次数得到的。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,还包括:
确定模块,用于当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
第二维持模块,用于当重新确定的导航距离小于所述第三预设距离时,将电子地图维持在2D界面。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,还包括:
第三维持模块,用于若所述定位对象进入环岛时电子地图为2D界面,在所述定位对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
可选的,本发明另外一个实施例提供的电子地图的自适应调整装置,还包括:
设定模块,用于当定位到所述定位对象进入隧道时,将所述导航路线中出所述隧道之后的第一个导航点作为目标导航点。
与现有技术相比,本发明提供了一种电子地图的自适应调整方法和装置。本发明提供的技术方案,通过监测定位对象的定位位置与目标导航点之间的导航距离,其中,所述目标导航点为导航路线中定位对象处于所述定位位置时对应的下一个导航点(导航点包括现有技术中的路口),在确定所述导航距离减小至第一预设距离时(其中,第一预设距离大于第二预设距离),在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,逐渐增大电子地图的比例尺至目标比例尺,从而能够以渐变的形式相对平缓地对电子地图的比例尺进行调整,实现电子地图平缓的变化,使用户查看时视觉效果较好,能够有效提升用户体验。
此外,本发明实施例提供的技术方案,所述目标比例尺可以预先设定为足够大,使所述导航距离减小至第一预设距离时,即定位对象距离目标导航点较近时,电子地图能够清晰的展示目标导航点的画面,包括路口的画面,从而使用户能够清楚的看到关键转向节点,能够避免现有技术中将比例尺直接放大一级后因比例尺可能仍然较小导致需要用户再手动将比例尺调大的情况,因此,本发明实施例提供的技术方案,更加智能化,比较方便,能够有效提升用户体验。
此外,本发明实施例提供的技术方案,当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角,将电子地图从相机角为所述目标相机角的3D界面切换为2D界面,从而能够在定位对象到达目标导航点时,电子地图为2D界面,方便用户清楚的查看关键转向节点等信息,能够进一步提升用户体验。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘或技术领域内所公知的任意其它形式的存储介质中。
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (38)

  1. 一种电子地图的自适应调整方法,其特征在于,包括:
    监测定位对象的定位位置与目标导航点之间的导航距离,所述目标导航点为导航路线中定位对象处于所述定位位置时对应的下一个导航点;
    当所述导航距离减小至第一预设距离时,在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,逐渐增大电子地图的比例尺至目标比例尺;所述第二预设距离小于所述第一预设距离。
  2. 根据权利要求1所述的方法,其特征在于,所述在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,逐渐增大电子地图的比例尺至目标比例尺,包括:
    在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,将电子地图的比例尺经过第一预设次数的增大调整,增大至目标比例尺。
  3. 根据权利要求2所述的方法,其特征在于,所述在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,将电子地图的比例尺经过第一预设次数的增大调整,增大至目标比例尺,包括:
    当定位到所述定位对象按照导航路线每行进第一设定距离步长,将电子地图的比例尺增大比例尺调整步长,直至所述导航距离减小至第二预设距离时,电子地图的比例尺增大至目标比例尺,其中,所述比例尺调整步长为所述目标比例尺减去所述导航距离减小至第一预设距离时电子地图的比例尺的差值除以所述第一预设次数得到的。
  4. 根据权利要求2所述的方法,其特征在于,所述在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,将电子地图的比例尺经过第一预设次数的增大调整,增大至目标比例尺,包括:
    将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度;
    将所述第一预设距离减所述第二预设距离的差值除以所述当前参考行进速度,得到第一参考时长;
    设置第一设定时间步长,所述第一设定时间步长小于或等于所述第一参考时长除以所述第一预设次数得到的商;
    当定位到所述定位对象按照导航路线每行进所述第一设定时间步长,将电子地图的比例尺增大比例尺调整步长,直至电子地图的比例尺增大至目标比例尺;
    其中,所述比例尺调整步长为所述目标比例尺减去所述导航距离减小至第一预设距离时电子地图的比例尺的差值除以所述第一预设次数得到的。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,还包括:
    当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
    当重新确定的导航距离小于所述第二预设距离时,将电子地图的比例尺维持在所述目标比例尺。
  6. 根据权利要求1所述的方法,其特征在于,还包括:
    当所述导航距离减小至第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角;
    将电子地图从相机角为所述目标相机角的3D界面切换为2D界面。
  7. 根据权利要求6所述的方法,其特征在于,所述在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角,包括:
    在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角。
  8. 根据权利要求7所述的方法,其特征在于,所述在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角,包括:
    当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
    其中,所述第二设定距离步长小于或等于所述第三预设距离除以所述第二预设次数得到的商;所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
  9. 根据权利要求7所述的方法,其特征在于,所述在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角,包括:
    将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度;
    将所述第三预设距离除以所述定位对象的当前参考行进速度,得到第二参考时长;
    设置第二设定时间步长,所述第二设定时间步长小于或等于所述第二参考时长除以所述第二预设次数得到的商;
    当定位到所述定位对象按照导航路线每行进所述第二设定时间步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
    其中,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
  10. 根据权利要求6-9任一项所述的方法,其特征在于,还包括:
    当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
    当重新确定的导航距离小于所述第三预设距离时,将电子地图维持在2D界面。
  11. 根据权利要求1所述的方法,其特征在于,还包括:
    若所述定位对象进入环岛时电子地图为2D界面,在所述定位对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
  12. 根据权利要求1所述的方法,其特征在于,还包括:
    当定位到所述定位对象进入隧道时,将所述导航路线中出所述隧道之后的第一个导航点作为目标导航点。
  13. 一种电子地图的自适应调整方法,其特征在于,包括:
    监测定位对象的定位位置与目标导航点之间的导航距离,所述目标导航点为导航路线中定位对象处于所述定位位置时对应的下一个导航点;
    当所述导航距离减小至第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角;
    将电子地图从相机角为所述目标相机角的3D界面切换为2D界面。
  14. 根据权利要求13所述的方法,其特征在于,所述在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角,包括:
    在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角。
  15. 根据权利要求14所述的方法,其特征在于,所述在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角,包括:
    当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
    其中,所述第二设定距离步长小于或等于所述第三预设距离除以所述第二预设次数得到的商;所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
  16. 根据权利要求14所述的方法,其特征在于,所述在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角,包括:
    将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度;
    将所述第三预设距离除以所述定位对象的当前参考行进速度,得到第二参考时长;
    设置第二设定时间步长,所述第二设定时间步长小于或等于所述第二参考时长除以所述第二预设次数得到的商;
    当定位到所述定位对象按照导航路线每行进所述第二设定时间步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
    其中,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
  17. 根据权利要求13-16任一项所述的方法,其特征在于,还包括:
    当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
    当重新确定的导航距离小于所述第三预设距离时,将电子地图维持在2D界面。
  18. 根据权利要求13所述的方法,其特征在于,还包括:
    若所述定位对象进入环岛时电子地图为2D界面,在所述定位对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
  19. 根据权利要求13所述的方法,其特征在于,还包括:
    当定位到所述定位对象进入隧道时,将所述导航路线中出所述隧道之后的第一个导航点作为目标导航点。
  20. 一种电子地图的自适应调整装置,其特征在于,包括:
    监测模块,用于监测定位对象的定位位置与目标导航点之间的导航距离,所述目标导航点为导航路线中定位对象处于所述定位位置时对应的下一个导航点;
    第一调整模块,用于当所述导航距离减小至第一预设距离时,在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,逐渐增大电子地图的比例尺至目标比例尺;所述第二预设距离小于所述第一预设距离。
  21. 根据权利要求20所述的装置,其特征在于,所述第一调整模块具体用于:
    当所述导航距离减小至第一预设距离时,在所述定位对象按照导航路线行进至所述导航距离减小至第二预设距离的过程中,将电子地图的比例尺经过第一预设次数的增大调整,增大至目标比例尺。
  22. 根据权利要求21所述的装置,其特征在于,所述第一调整模块具体用于:
    当所述导航距离减小至第一预设距离时,当定位到所述定位对象按照导航路线每行进第一设定距离步长,将电子地图的比例尺增大比例尺调整步长,直至所述导航距离减小至第二预设距离时,电子地图的比例尺增大至目标比例尺,其中,所述比例尺调整步长为所述目标比例尺减去所述导航距离减小至第一预设距离时电子地图的比例尺的差值除以所述第一预设次数得到的。
  23. 根据权利要求21所述的装置,其特征在于,所述第一调整模块具体用于:
    当所述导航距离减小至第一预设距离时,将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度,将所述第一预设距离减所述第二预设距离的差值除以所述当前参考行进速度,得到第一参考时长,设置第一设定时间步长,所述第一设定时间步长小于或等于所述第一参考时长除以所述第一预设次数得到的商,当定位到所述定位对象按照导航路线每行进所述第一设定时间步长,将电子地图的比例尺增大比例尺调整步长,直至电子地图的比例尺增大至目标比例尺;
    其中,所述比例尺调整步长为所述目标比例尺减去所述导航距离减小至第一预设距离时电子地图的比例尺的差值除以所述第一预设次数得到的。
  24. 根据权利要求20-23任一项所述的装置,其特征在于,还包括:
    确定模块,用于当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
    第一维持模块,用于当重新确定的导航距离小于所述第二预设距离时,将电子地图的比例尺维持在所述目标比例尺。
  25. 根据权利要求20所述的装置,其特征在于,还包括:
    第二调整模块,用于当所述导航距离减小至第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图 的相机角至目标相机角;
    切换模块,用于将电子地图从相机角为所述目标相机角的3D界面切换为2D界面。
  26. 根据权利要求25所述的装置,其特征在于,所述第二调整模块具体用于:
    当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角。
  27. 根据权利要求26所述的装置,其特征在于,所述第二调整模块具体用于:
    当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
    其中,所述第二设定距离步长小于或等于所述第三预设距离除以所述第二预设次数得到的商;所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
  28. 根据权利要求26所述的装置,其特征在于,所述第二调整模块具体用于:
    当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度,将所述第三预设距离除以所述定位对象的当前参考行进速度,得到第二参考时长,设置第二设定时间步长,所述第二设定时间步长小于或等于所述第二参考时长除以所述第二预设次数得到的商,当定位到所述定位对象按照导航路线每行进所述第二设定时间步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
    其中,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
  29. 根据权利要求25-28任一项所述的装置,其特征在于,还包括:
    确定模块,用于当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
    第二维持模块,用于当重新确定的导航距离小于所述第三预设距离时,将电子地图维持在2D界面。
  30. 根据权利要求20所述的装置,其特征在于,还包括:
    第三维持模块,用于若所述定位对象进入环岛时电子地图为2D界面,在所述定位 对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
  31. 根据权利要求20所述的装置,其特征在于,还包括:
    设定模块,用于当定位到所述定位对象进入隧道时,将所述导航路线中出所述隧道之后的第一个导航点作为目标导航点。
  32. 一种电子地图的自适应调整装置,其特征在于,包括:
    监测模块,用于监测定位对象的定位位置与目标导航点之间的导航距离,所述目标导航点为导航路线中定位对象处于所述定位位置时对应的下一个导航点;
    第二调整模块,用于当所述导航距离减小至第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,逐渐降低电子地图的相机角至目标相机角;
    切换模块,用于将电子地图从相机角为所述目标相机角的3D界面切换为2D界面。
  33. 根据权利要求32所述的装置,其特征在于,所述第二调整模块具体用于:
    当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,在所述定位对象按照导航路线行进至所述目标导航点的过程中,将电子地图的相机角经过第二预设次数的降低调整,降低至目标相机角。
  34. 根据权利要求33所述的装置,其特征在于,所述第二调整模块具体用于:
    当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,当定位到所述定位对象按照导航路线每行进第二设定距离步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
    其中,所述第二设定距离步长小于或等于所述第三预设距离除以所述第二预设次数得到的商;所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
  35. 根据权利要求33所述的装置,其特征在于,所述第二调整模块具体用于:
    当所述导航距离减小至所述第三预设距离时,若电子地图为3D界面,将定位对象的当前定位位置与上一定位位置的距离除以定位时间间隔,得到定位对象的当前参考行进速度,将所述第三预设距离除以所述定位对象的当前参考行进速度,得到第二参考时长,设置第二设定时间步长,所述第二设定时间步长小于或等于所述第二参考时长除以所述第二预设次数得到的商,当定位到所述定位对象按照导航路线每行进所述第二设定时间步长,将电子地图的相机角降低角度调整步长,直至电子地图的相机角降低至目标相机角;
    其中,所述角度调整步长为所述导航距离减小至所述第三预设距离时电子地图的相机角减去所述目标相机角的差值除以所述第二预设次数得到的。
  36. 根据权利要求32-35任一项所述的装置,其特征在于,还包括:
    确定模块,用于当定位到所述定位对象离开导航点时,基于离开的导航点的下一个导航点,重新确定导航距离;
    第二维持模块,用于当重新确定的导航距离小于所述第三预设距离时,将电子地图维持在2D界面。
  37. 根据权利要求32所述的装置,其特征在于,还包括:
    第三维持模块,用于若所述定位对象进入环岛时电子地图为2D界面,在所述定位对象按照导航路线沿所述环岛行进的过程中,将电子地图维持在2D界面。
  38. 根据权利要求32所述的装置,其特征在于,还包括:
    设定模块,用于当定位到所述定位对象进入隧道时,将所述导航路线中出所述隧道之后的第一个导航点作为目标导航点。
PCT/CN2018/072394 2017-01-23 2018-01-12 电子地图的自适应调整方法和装置 WO2018133728A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710062571.1 2017-01-23
CN201710062571.1A CN108344425B (zh) 2017-01-23 2017-01-23 电子地图的自适应调整方法和装置

Publications (1)

Publication Number Publication Date
WO2018133728A1 true WO2018133728A1 (zh) 2018-07-26

Family

ID=62908345

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/072394 WO2018133728A1 (zh) 2017-01-23 2018-01-12 电子地图的自适应调整方法和装置

Country Status (2)

Country Link
CN (1) CN108344425B (zh)
WO (1) WO2018133728A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110779541B (zh) * 2019-04-10 2021-11-23 北京嘀嘀无限科技发展有限公司 一种转向箭头的显示方法及系统
CN110514219B (zh) * 2019-09-20 2022-03-18 广州小鹏汽车科技有限公司 一种导航地图显示方法、装置、车辆及机器可读介质
CN111246374B (zh) * 2020-03-12 2021-09-10 长沙闪笛科技有限公司 一种车载终端显示乘客位置的方法
CN113029165B (zh) * 2021-02-24 2022-04-22 腾讯科技(深圳)有限公司 导航数据处理方法、装置、电子设备及存储介质
CN116300861A (zh) * 2022-12-20 2023-06-23 上海木蚁机器人科技有限公司 路径规划方法以及电子设备
CN117076593A (zh) * 2023-10-18 2023-11-17 中微智创(北京)软件技术有限公司 一种基于内存数据库的动态目标轨迹多级构建及存储方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003269967A (ja) * 2002-03-19 2003-09-25 Alpine Electronics Inc ナビゲーション装置とその地図表示方法
CN1995919A (zh) * 2006-12-22 2007-07-11 凯立德欣技术(深圳)有限公司 一种导航图像比例尺的自动控制方法、装置及设备
CN101720481A (zh) * 2007-06-25 2010-06-02 韩国(株)地图软件 用于在导航设备中显示十字路口放大图像的方法
CN103033190A (zh) * 2011-09-30 2013-04-10 北京四维图新科技股份有限公司 显示方向看板实景图的方法、装置及导航仪
CN103278172A (zh) * 2013-05-31 2013-09-04 深圳市凯立德科技股份有限公司 一种路口诱导方法及定位导航设备
CN103616032A (zh) * 2013-11-29 2014-03-05 北京掌行通信息技术有限公司 导航地图显示比例尺与三维视角自动控制方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003269967A (ja) * 2002-03-19 2003-09-25 Alpine Electronics Inc ナビゲーション装置とその地図表示方法
CN1995919A (zh) * 2006-12-22 2007-07-11 凯立德欣技术(深圳)有限公司 一种导航图像比例尺的自动控制方法、装置及设备
CN101720481A (zh) * 2007-06-25 2010-06-02 韩国(株)地图软件 用于在导航设备中显示十字路口放大图像的方法
CN103033190A (zh) * 2011-09-30 2013-04-10 北京四维图新科技股份有限公司 显示方向看板实景图的方法、装置及导航仪
CN103278172A (zh) * 2013-05-31 2013-09-04 深圳市凯立德科技股份有限公司 一种路口诱导方法及定位导航设备
CN103616032A (zh) * 2013-11-29 2014-03-05 北京掌行通信息技术有限公司 导航地图显示比例尺与三维视角自动控制方法及装置

Also Published As

Publication number Publication date
CN108344425A (zh) 2018-07-31
CN108344425B (zh) 2019-07-09

Similar Documents

Publication Publication Date Title
WO2018133728A1 (zh) 电子地图的自适应调整方法和装置
US10739980B2 (en) Mapping application with interactive compass
US10634512B2 (en) Route navigation method and system, terminal, and server
US9823077B2 (en) Navigation application with several navigation modes
US10317233B2 (en) Direction list
US10126743B2 (en) Vehicle navigation route search system, method, and program
US20180274603A1 (en) Rendering Road Signs During Navigation
US9631942B2 (en) Providing maneuver indicators on a map
US9500492B2 (en) Map application with improved navigation tools
WO2016188061A1 (zh) 一种道路信息处理方法及装置
US9696170B2 (en) Route calculation system, route calculation method, and computer program
US20230129821A1 (en) Navigation Application with Novel Declutter Mode
US9599485B2 (en) Navigation peek ahead and behind
KR20170046675A (ko) 경로 중단이 감소된 내비게이션 검색 결과의 제공 기법
EP3407020B1 (en) Map-based navigation method and device, and storage medium
CN103162693A (zh) 一种车道信息显示方法及导航设备
US20150066356A1 (en) Navigation search area refinement
EP3303998B1 (en) Traffic notifications during navigation
CN110514219A (zh) 一种导航地图显示方法、装置、车辆及机器可读介质
WO2024066881A1 (zh) 地图导航方法、装置、计算机设备和存储介质
CN113739800A (zh) 导航引导方法及计算机程序产品
WO2019051783A1 (zh) 一种基于智能终端的轨迹记录方法及轨迹记录装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18741975

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/10/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 18741975

Country of ref document: EP

Kind code of ref document: A1