Method, system, electronic device and medium for switching vehicle position in navigation map
By acquiring images of the vehicle's surrounding environment, analyzing road features, detecting the vehicle's actual position, and switching navigation maps, the problem of low reliability of altitude sensors is solved, and the accuracy of vehicle position switching in navigation maps is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI QINGGAN INTELLIGENT TECH CO LTD
- Filing Date
- 2021-06-21
- Publication Date
- 2026-06-30
AI Technical Summary
In existing technologies, the reliability of altitude sensors in the automatic switching function between on-bridge and off-bridge navigation is not high, which can easily lead to incorrect switching of vehicle positions on the navigation map.
By acquiring images of the vehicle's surrounding environment, analyzing road features, detecting the vehicle's current actual position, and determining whether the position on the navigation map is correct based on the actual position, the system switches if it is incorrect.
It improves the reliability of vehicle location switching in navigation maps, avoids erroneous switching, and reduces navigation errors caused by sensor malfunctions.
Smart Images

Figure CN115574830B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle navigation technology, and in particular to a method, system, electronic device, and medium for switching vehicle positions in a navigation map. Background Technology
[0002] Currently, in-vehicle navigation systems are widely used in vehicles. However, during navigation, users often need to manually determine whether the vehicle is on or off an elevated road based on the surrounding environment. When users find the displayed location incorrect, they need to manually operate the in-vehicle screen to correct it. For example, when driving, a user might suddenly be unsure which toll gate to use to enter or exit an elevated road. In this case, the user can use voice commands to activate the navigation system and tell the intelligent voice the destination. However, the navigation might then provide a different route than the vehicle's current location, requiring the user to manually switch between being on or off a bridge, which often increases the risk of accidents. Currently, to achieve automatic switching between being on or off a bridge in the navigation map, a height sensor is generally used. However, this method is unreliable and prone to errors due to sensor malfunction, leading to incorrect location adjustments on the navigation map. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to overcome the shortcomings of the existing technology in which the use of height sensors to achieve the function of automatically switching the vehicle position on or under the bridge in the navigation map is not very reliable. The present invention provides a method, system, electronic device and medium for switching the vehicle position in the navigation map.
[0004] The present invention solves the above-mentioned technical problems through the following technical solution:
[0005] This invention provides a method for switching vehicle locations in a navigation map, the method comprising the following steps:
[0006] In response to a condition that triggers a vehicle position change, an image of the vehicle's surrounding environment is acquired;
[0007] Road features are extracted from the image;
[0008] Based on the road features, the vehicle's current actual location is detected; and
[0009] Based on the vehicle's current actual location, determine whether the vehicle's current location on the navigation map is correct. If not, switch the vehicle's location on the navigation map to the location on the navigation map corresponding to the current actual location.
[0010] The present invention also provides a system for switching vehicle positions in a navigation map, the system comprising a processing device, an image acquisition device, an image recognition device, and a vehicle position recognition device;
[0011] The processing device is used to respond to the triggering of vehicle position switching conditions and generate an image acquisition command;
[0012] The processing device is also used to send the image acquisition command to the image acquisition device;
[0013] The image acquisition device is used to receive the image acquisition command and acquire images of the environment surrounding the vehicle;
[0014] The image acquisition device is also used to send the image to the image recognition device, and the image recognition device receives the image and parses road features from the image;
[0015] The vehicle location recognition device is used to detect the current actual location of the vehicle based on the road features;
[0016] The vehicle location recognition device is also used to determine whether the vehicle's current location on the navigation map is correct based on the vehicle's current actual location. If not, the processing device is invoked to switch the vehicle's location on the navigation map to the location on the navigation map corresponding to the current actual location.
[0017] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for switching vehicle positions in a navigation map as described above.
[0018] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method for switching vehicle positions in a navigation map as described above.
[0019] The positive and progressive effects of this invention are as follows:
[0020] This invention provides a method, system, electronic device, and medium for switching vehicle positions in a navigation map. By acquiring an image of the current vehicle's surrounding environment, it further determines whether the vehicle's current position in the navigation map is correct, thereby improving the reliability of switching vehicle positions in the navigation map and avoiding erroneous switching of vehicle positions in the navigation map. Attached Figure Description
[0021] Figure 1 This is a flowchart of the method for switching vehicle positions in a navigation map according to Embodiment 1 of the present invention;
[0022] Figure 2 This is a schematic diagram of the vehicle location switching system in the navigation map according to Embodiment 2 of the present invention;
[0023] Figure 3 This is a schematic diagram of the electronic device that implements the method for switching vehicle positions in a navigation map according to Embodiment 3 of the present invention. Detailed Implementation
[0024] The present invention will be further illustrated by way of embodiments below, but the present invention is not limited to the scope of the embodiments described herein.
[0025] Example 1
[0026] Currently, height sensors are generally used to automatically switch a vehicle's position on or under a bridge in a navigation map. Specifically, a height sensor collects the vehicle's current height value, compares it with a preset height value to determine the vehicle's actual position, and then automatically switches the vehicle's position on the navigation map based on this value. However, this method is unreliable because the height sensor malfunctions, resulting in erroneous data. To overcome these shortcomings, this embodiment provides a method for switching vehicle positions in a navigation map. Specifically, this method acquires an image of the vehicle's surrounding environment to further determine the accuracy of the vehicle's current position on the navigation map, improving the reliability of position switching and avoiding erroneous switching.
[0027] Specifically, such as Figure 1 As shown in the figure, this embodiment discloses a method for switching vehicle locations in a navigation map, the switching method including the following steps:
[0028] Step S101: In response to the triggering of the vehicle position switching condition, acquire an image of the environment surrounding the vehicle; specifically, a 360-degree holographic camera can be used to acquire an image of the environment surrounding the vehicle.
[0029] In one feasible approach, acquiring an image of the vehicle's surrounding environment in response to triggering a vehicle position switching condition includes: acquiring an image of the vehicle's surrounding environment in response to receiving a vehicle position switching command. For example, in a specific embodiment, a vehicle position switching control is provided in the vehicle's central control screen. The user can generate a vehicle position switching command by controlling the vehicle position switching control with voice or by directly clicking the vehicle position switching control and sending the command to a processing device inside the vehicle. Upon receiving the vehicle position switching command, the processing device inside the vehicle triggers a data acquisition device inside the vehicle to acquire an image of the vehicle's surrounding environment.
[0030] In another feasible approach, acquiring an image of the vehicle's surrounding environment in response to a triggered vehicle position switching condition includes: acquiring a vehicle altitude value; and acquiring an image of the vehicle's surrounding environment in response to the vehicle altitude value exceeding a preset height range. Specifically, in addition to acquiring the vehicle altitude value, vehicle coordinate data is also acquired; a preset height range is determined based on the vehicle coordinate data; and if the vehicle altitude value exceeds the preset height range, an image of the vehicle's surrounding environment is acquired.
[0031] For example, in one specific implementation, a high-precision altimeter is installed inside the vehicle to detect the current altitude of the vehicle's actual location in real time. Additionally, an altitude value is preset in the vehicle's processing device, which can be the altitude value of an average elevated location in the city where the vehicle is currently located. The high-precision altimeter sends the detected altitude of the vehicle's current actual location to the processing device. The processing device receives the vehicle's current altitude and compares it with a preset altitude value. If the altitude of the preceding vehicle is lower than the preset value, the vehicle's current actual location is under the overpass. If the vehicle's current location on the navigation map is under the overpass, the location on the navigation map is considered correct. If the vehicle's current location on the navigation map is on the overpass, the location on the navigation map is considered incorrect. Similarly, if the altitude of the preceding vehicle is greater than the preset value, the vehicle's current actual location is on the overpass. If the vehicle's current location on the navigation map is on the overpass, the location on the navigation map is considered correct. If the vehicle's current location on the navigation map is under the overpass, the location on the navigation map is considered incorrect.
[0032] In another specific embodiment, a high-precision altimeter is installed inside the vehicle. This altimeter is used to detect the vehicle's current altitude in real time. A preset altitude value is also stored in the vehicle's processing unit, obtained from the vehicle's current coordinates. The high-precision altimeter sends the detected altitude of the vehicle's current location to the processing unit. Simultaneously, the vehicle's current coordinates, obtained from the navigation system, are also sent to the processing unit. Based on the received coordinates, the processing unit retrieves the corresponding altitude from a pre-stored map and compares the current altitude with the corresponding altitude value. The specific comparison and judgment methods are as described above and will not be repeated here.
[0033] Step S102: Extract road features from the image; specifically, road features include at least one of noise barriers, pedestrians, bicycles, trees, traffic lights, intersections, signs, or zebra crossings.
[0034] Step S103: Detect the vehicle's current actual location based on the road features; specifically, the vehicle's current actual location includes its position on or under the overpass. In one specific embodiment, if the image of the vehicle's surrounding environment includes a sound barrier, it indicates that the vehicle's current actual location is under the bridge; in another specific embodiment, if the image of the vehicle's surrounding environment includes pedestrians, it indicates that the vehicle's current actual location is under the bridge; and in yet another specific embodiment, if the image of the vehicle's surrounding environment includes traffic lights, it indicates that the vehicle's current actual location is under the bridge. In this solution, if the image of the vehicle's surrounding environment includes at least one of the following: a sound barrier, pedestrians, bicycles, trees, traffic lights, intersections, signs, or zebra crossings, it indicates that the vehicle's current actual location is under the bridge; these will not be listed individually here.
[0035] Step S104: Based on the vehicle's current actual location, determine whether the vehicle's current location on the navigation map is correct. If not, proceed to step S105; if yes, proceed to step S106.
[0036] Step S105: Switch the vehicle's position on the navigation map to the position on the navigation map corresponding to the current actual position.
[0037] Step S106: Continue navigation based on the vehicle's current location on the navigation map.
[0038] In one specific embodiment, if the current actual location of the vehicle is determined to be under the overpass based on the image analysis of the acquired vehicle's surrounding environment, and the current location of the vehicle on the navigation map is on the overpass, then the location of the vehicle on the navigation map will be switched to the location on the navigation map corresponding to the current actual location, i.e., under the overpass.
[0039] In another specific embodiment, if the current actual location of the vehicle is determined to be on the overpass based on the image analysis of the acquired vehicle's surrounding environment, and the current location of the vehicle in the navigation map is below the overpass, then the location of the vehicle in the navigation map will be switched to the location in the navigation map corresponding to the current actual location, i.e., on the overpass.
[0040] This embodiment discloses a method for switching vehicle positions in a navigation map. This method acquires images of the vehicle's surrounding environment and parses road features from the images. Based on the road features, it detects the vehicle's current actual position. If, based on the vehicle's current actual position, it is determined that the vehicle's current position in the navigation map is incorrect, the vehicle's position in the navigation map is switched to the position in the navigation map corresponding to the current actual position. This method improves the reliability of switching vehicle positions in the navigation map, thereby avoiding erroneous switching of vehicle positions in the navigation map.
[0041] Example 2
[0042] Currently, height sensors are generally used to automatically switch a vehicle's position on or under a bridge in a navigation map. Specifically, a height sensor collects the vehicle's current height value, and by comparing the collected height value with a preset height value, the vehicle's actual position is determined. Based on the vehicle's actual position, the vehicle's position in the navigation map is automatically switched. However, if the height sensor malfunctions in the above system, the collected data will be incorrect, making this method unreliable.
[0043] To overcome the aforementioned deficiencies, this embodiment provides a vehicle position switching system in a navigation map. Specifically, the system acquires an image of the vehicle's surrounding environment and further determines whether the vehicle's current position in the navigation map is correct, thereby improving the reliability of vehicle position switching in the navigation map and avoiding erroneous switching of vehicle positions in the navigation map.
[0044] like Figure 2 As shown, this embodiment discloses a vehicle location switching system in a navigation map. The switching system includes a processing device 21, an image acquisition device 22, an image recognition device 23, and a vehicle location recognition device 24.
[0045] The processing device 21 is used to generate an image acquisition command in response to triggering a vehicle position switching condition.
[0046] The processing device 21 is also used to send the image acquisition command to the image acquisition device 22;
[0047] The image acquisition device 22 is used to receive the image acquisition command and acquire images of the environment around the vehicle; specifically, a 360-degree holographic camera can be used to acquire images of the environment around the vehicle.
[0048] In one feasible approach, acquiring an image of the vehicle's surrounding environment in response to triggering a vehicle position switching condition includes: acquiring an image of the vehicle's surrounding environment in response to receiving a vehicle position switching command. For example, in a specific embodiment, a vehicle position switching control is provided in the vehicle's central control screen. The user can generate a vehicle position switching command by controlling the vehicle position switching control with voice or by directly clicking the vehicle position switching control and sending the command to a processing device inside the vehicle. Upon receiving the vehicle position switching command, the processing device inside the vehicle triggers a data acquisition device inside the vehicle to acquire an image of the vehicle's surrounding environment.
[0049] In another feasible approach, acquiring an image of the vehicle's surrounding environment in response to a triggered vehicle position switching condition includes: acquiring a vehicle altitude value; and acquiring an image of the vehicle's surrounding environment in response to the vehicle altitude value exceeding a preset height range. Specifically, in addition to acquiring the vehicle altitude value, vehicle coordinate data is also acquired; a preset height range is determined based on the vehicle coordinate data; and if the vehicle altitude value exceeds the preset height range, an image of the vehicle's surrounding environment is acquired.
[0050] For example, in one specific implementation, a high-precision altimeter is installed inside the vehicle to detect the current altitude of the vehicle in real time. Additionally, an altitude value is preset in the vehicle's processing device, which can be the altitude of an average elevated location in the city where the vehicle is currently located. The high-precision altimeter sends the detected altitude of the vehicle's current actual location to the processing device. The processing device receives the vehicle's current altitude and compares it with a preset altitude value. If the altitude of the preceding vehicle is lower than the preset value, the vehicle's current actual location is under the overpass. If the vehicle's current location on the navigation map is under the overpass, the location on the navigation map is considered correct. If the vehicle's current location on the navigation map is on the overpass, the location on the navigation map is considered incorrect. Similarly, if the altitude of the preceding vehicle is greater than the preset value, the vehicle's current actual location is on the overpass. If the vehicle's current location on the navigation map is on the overpass, the location on the navigation map is considered correct. If the vehicle's current location on the navigation map is under the overpass, the location on the navigation map is considered incorrect.
[0051] In another specific embodiment, a high-precision altimeter is installed inside the vehicle. This altimeter is used to detect the vehicle's current altitude in real time. A preset altitude value is also stored in the vehicle's processing unit, obtained from the vehicle's current coordinates. The high-precision altimeter sends the detected altitude of the vehicle's current location to the processing unit. Simultaneously, the vehicle's current coordinates, obtained from the navigation system, are also sent to the processing unit. Based on the received coordinates, the processing unit retrieves the corresponding altitude from a pre-stored map and compares the current altitude with the corresponding altitude value. The specific comparison and judgment methods are as described above and will not be repeated here.
[0052] The image acquisition device 22 is also used to send the image to the image recognition device 23, and the image recognition device 23 receives the image and parses the road features from the image; specifically, the road features include at least one of noise barriers, pedestrians, bicycles, trees, traffic lights, intersections, signs or zebra crossings.
[0053] The vehicle location identification device 24 is used to detect the vehicle's current actual location based on the road features; specifically, the vehicle's current actual location includes its position on or under the overpass. In one specific embodiment, if the image of the vehicle's surrounding environment includes a sound barrier, it indicates that the vehicle's current actual location is under the bridge; in another specific embodiment, if the image of the vehicle's surrounding environment includes pedestrians, it indicates that the vehicle's current actual location is under the bridge; and in yet another specific embodiment, if the image of the vehicle's surrounding environment includes traffic lights, it indicates that the vehicle's current actual location is under the bridge. In this solution, as long as the image of the vehicle's surrounding environment includes at least one of the following: a sound barrier, pedestrians, bicycles, trees, traffic lights, intersections, signs, or zebra crossings, it indicates that the vehicle's current actual location is under the bridge; these will not be listed individually here.
[0054] The vehicle location identification device 24 is further configured to determine whether the vehicle's current location on the navigation map is correct based on the vehicle's current actual location. If not, the processing device 21 is invoked, and the processing device 21 switches the vehicle's location on the navigation map to the location on the navigation map corresponding to the current actual location. If yes, navigation continues based on the vehicle's current location on the navigation map.
[0055] In one specific embodiment, if the current actual location of the vehicle is determined to be under the overpass based on the image analysis of the acquired vehicle's surrounding environment, and the current location of the vehicle on the navigation map is on the overpass, then the location of the vehicle on the navigation map will be switched to the location on the navigation map corresponding to the current actual location, i.e., under the overpass.
[0056] In another specific embodiment, if the current actual location of the vehicle is determined to be on the overpass based on the image analysis of the acquired vehicle's surrounding environment, and the current location of the vehicle in the navigation map is below the overpass, then the location of the vehicle in the navigation map will be switched to the location in the navigation map corresponding to the current actual location, i.e., on the overpass.
[0057] This embodiment discloses a system for switching vehicle positions in a navigation map. The system acquires images of the vehicle's surrounding environment and parses road features from the images. Based on the road features, it detects the vehicle's current actual position. If, based on the vehicle's current actual position, it is determined that the vehicle's current position in the navigation map is incorrect, the system switches the vehicle's position in the navigation map to the position corresponding to the current actual position. This system improves the reliability of switching vehicle positions in the navigation map, thereby avoiding erroneous switching of vehicle positions in the navigation map.
[0058] Example 3
[0059] Figure 3 This is a schematic diagram of an electronic device provided in Embodiment 3 of the present invention. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the method for switching vehicle positions in the navigation map provided in Embodiment 1. Figure 3 The electronic device 40 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.
[0060] like Figure 3 As shown, the electronic device 40 can be manifested as a general-purpose computing device, such as a server device. The components of the electronic device 40 may include, but are not limited to: at least one processor 41, at least one memory 42, and a bus 43 connecting different system components (including memory 42 and processor 41).
[0061] Bus 43 includes a data bus, an address bus, and a control bus.
[0062] The memory 42 may include volatile memory, such as random access memory (RAM) 421 and / or cache memory 422, and may further include read-only memory (ROM) 423.
[0063] The memory 42 may also include a program / utility 425 having a set (at least one) of program modules 424, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0064] The processor 41 executes various functional applications and data processing by running computer programs stored in the memory 42, such as the method for switching vehicle positions in a navigation map provided in Embodiment 1 of the present invention.
[0065] Electronic device 40 can also communicate with one or more external devices 44 (e.g., keyboard, pointing device, etc.). This communication can be performed via input / output (I / O) interface 45. Furthermore, the model-generated device 40 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public network, such as the Internet) via network adapter 46. As shown, network adapter 46 communicates with other modules of the model-generated device 40 via bus 43. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the model-generated device 40, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.
[0066] It should be noted that although several units / modules or sub-units / modules of the electronic device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.
[0067] Example 4
[0068] This embodiment provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for switching vehicle positions in a navigation map provided in Embodiment 1.
[0069] The readable storage medium may be more specifically adopted, including but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device, or any suitable combination thereof.
[0070] In a possible implementation, the present invention can also be implemented as a program product comprising program code, which, when the program product is run on a terminal device, causes the terminal device to perform the steps in the method for switching vehicle locations in a navigation map provided in Embodiment 1.
[0071] The program code for executing the present invention can be written in any combination of one or more programming languages. The program code can be executed entirely on the user device, partially on the user device, as a standalone software package, partially on the user device and partially on a remote device, or entirely on a remote device.
[0072] While specific embodiments of the present invention have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but all such changes and modifications fall within the scope of protection of the present invention.
Claims
1. A method for switching vehicle locations in a navigation map, characterized in that, The switching method includes the following steps: In response to a condition that triggers a vehicle position change, an image of the vehicle's surrounding environment is acquired; Road features are extracted from the image; Based on the road features, the vehicle's current actual location is detected; and Based on the vehicle's current actual location, determine whether the vehicle's current location on the navigation map is correct. If not, switch the vehicle's location on the navigation map to the location on the navigation map corresponding to the current actual location. The step of acquiring an image of the vehicle's surrounding environment in response to a vehicle location switching condition further includes the following steps: Obtain the vehicle's altitude value; In response to the vehicle's altitude value exceeding a preset altitude range, an image of the vehicle's surrounding environment is acquired; It also obtains the vehicle's coordinate data; A preset height range is determined based on the vehicle's coordinate data. If the vehicle's altitude value exceeds the preset height range, an image of the vehicle's surrounding environment is acquired. The road features include at least one of the following: noise barriers, pedestrians, bicycles, trees, traffic lights, intersections, signs, or zebra crossings.
2. The method for switching vehicle positions in a navigation map as described in claim 1, wherein the current actual position of the vehicle includes the vehicle's location on or under the overpass.
3. The method for switching vehicle positions in a navigation map as described in claim 1, wherein acquiring an image of the vehicle's surrounding environment in response to triggering a vehicle position switching condition includes: In response to receiving a vehicle location switching command, an image of the vehicle's surrounding environment is acquired.
4. The method for switching vehicle positions in a navigation map as described in claim 1, wherein acquiring images of the vehicle's surrounding environment includes: A 360-degree holographic camera is used to acquire images of the vehicle's surrounding environment.
5. A system for switching vehicle locations in a navigation map, characterized in that, The switching system includes a processing device, an image acquisition device, an image recognition device, and a vehicle location recognition device. The processing device is used to respond to the triggering of vehicle position switching conditions and generate an image acquisition command; The processing device is also used to send the image acquisition command to the image acquisition device; The image acquisition device is used to receive the image acquisition command and acquire images of the environment surrounding the vehicle; The image acquisition device is also used to send the image to the image recognition device, and the image recognition device receives the image and parses road features from the image; The vehicle location recognition device is used to detect the current actual location of the vehicle based on the road features; The vehicle location recognition device is also used to determine whether the vehicle's current location on the navigation map is correct based on the vehicle's current actual location. If not, the processing device is invoked, and the processing device switches the vehicle's location on the navigation map to the location on the navigation map corresponding to the current actual location. The step of acquiring an image of the vehicle's surrounding environment in response to a vehicle location switching condition further includes the following steps: Obtain the vehicle's altitude value; In response to the vehicle's altitude value exceeding a preset altitude range, an image of the vehicle's surrounding environment is acquired; It also obtains the vehicle's coordinate data; A preset height range is determined based on the vehicle's coordinate data. If the vehicle's altitude value exceeds the preset height range, an image of the vehicle's surrounding environment is acquired. The road features include at least one of the following: noise barriers, pedestrians, bicycles, trees, traffic lights, intersections, signs, or zebra crossings.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method for switching vehicle positions in a navigation map as described in any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for switching vehicle positions in a navigation map as described in any one of claims 1 to 4.