Method, device and equipment for acquiring tile map data and medium

By acquiring the coordinates of the target location and a preset radius, and using cached tile map data to obtain tile map data beyond the vehicle positioning information, the problem of limited map data acquisition range in existing technologies is solved, achieving flexible and efficient data acquisition.

CN117235194BActive Publication Date: 2026-02-06ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311013673.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-11
Publication Date
2026-02-06
Estimated Expiration
2043-08-11

AI Technical Summary

Technical Problem

In existing technologies, vehicles can only acquire tile map data within the vicinity of the location information, and cannot quickly acquire tile map data within other specified ranges outside the location information.

Method used

By responding to the user's specified operation on the map, the coordinate information of the target location is obtained. The cached tile map data is used as the target tile map data within a preset radius with the target location as the center, and the corresponding map is output on the graphical user interface.

Benefits of technology

It enables the rapid retrieval of tile map data within a specified range from cached multi-layer tile map data, in addition to vehicle location information, thereby improving the flexibility and efficiency of map data acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117235194B_ABST
    Figure CN117235194B_ABST
Patent Text Reader

Abstract

The application provides a tile map data acquisition method, device, equipment and medium. The method comprises the following steps: acquiring coordinate information of a target position selected by a user in response to a specified operation of the user on a map; and acquiring cached tile map data according to the coordinate information of the target position. Data within a preset radius range with the target position as the center is taken as target tile map data, and a corresponding map is output on a graphical user interface according to the target tile map data. According to the above scheme, the target tile map data can be acquired from the cached multi-layer tile map data according to the set coordinate information of the target position and the preset radius, so that tile map data within a specified range other than the positioning information of a vehicle can be quickly acquired.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of intelligent driving, and in particular to a tile map data acquisition method and device, equipment and medium. BACKGROUND

[0002] Vehicles with intelligent driving functions of higher levels (L3+) are the focus of research and development of major automobile manufacturers, and high-precision maps have become an important part of the high-level (L3+) intelligent driving technology.

[0003] The high-precision map engine stores high-precision map data in the form of tile map data. The high-precision map engine will cache a portion of the tile map data, and when the vehicle needs to acquire high-precision map data, the positioning information of the vehicle is transmitted to the high-precision map engine, and the engine acquires tile map data within a specified range around the positioning point through the positioning information.

[0004] However, the current scheme can only acquire tile map data within the range around the positioning information of the vehicle, and cannot quickly acquire tile map data within other specified ranges outside the positioning information of the vehicle. SUMMARY

[0005] The present application provides a tile map data acquisition method, device, equipment and medium to solve the problem that the current vehicle can only acquire tile map data within the range around the positioning information of the vehicle, and cannot quickly acquire tile map data within other specified ranges outside the positioning information of the vehicle.

[0006] In a first aspect, the embodiments of the present application provide a tile map data acquisition method, comprising:

[0007] In response to a specified operation of a user on a map, acquiring coordinate information of a target position selected by the user;

[0008] According to the coordinate information of the target position, acquiring cached tile map data, and taking data within a preset radius range around the target position as target tile map data, wherein the tile map data includes map data of an origin tile where the current position of the vehicle is located and multiple layers of tiles around the origin tile;

[0009] According to the target tile map data, outputting a corresponding map on a graphical user interface.

[0010] In a possible implementation, according to the coordinate information of the target position, acquiring cached tile map data, and taking data within a preset radius range around the target position as target tile map data, comprises:

[0011] For each tile in the tile map data, according to the coordinate information of each vertex of the tile and the coordinate information of the target position, a distance between each vertex of the tile and the target position is calculated;

[0012] It is determined whether the distance between each vertex of the tile and the target position is less than the preset radius;

[0013] If the distance between at least one vertex of the tile and the target position is less than the preset radius, the tile is determined as a target tile;

[0014] From the tile map data, map data of all target tiles is obtained, and target tile map data is obtained.

[0015] In a possible implementation, before the coordinate information of the target position selected by the user is obtained in response to the specified operation of the user on the map, the method further includes:

[0016] During the driving of the vehicle, positioning information of the vehicle is obtained in real time;

[0017] According to the positioning information of the vehicle, map data of an origin tile where the center is located and a plurality of layers of tiles around the origin tile is cached with a position indicated by the positioning information of the vehicle as the center, and the tile map data is obtained.

[0018] In a possible implementation, the method further includes:

[0019] When a distance between the positioning information of the vehicle after the movement and the positioning information of the vehicle before the movement is greater than a preset distance, the positioning information of the vehicle after the movement is taken as a new center, and map data of an origin tile where the new center is located and a plurality of layers of tiles around the origin tile is cached again, and refreshed tile map data is obtained.

[0020] In a possible implementation, in the tile map data, map data of each tile includes two-dimensional data composed of encoding data of the tile and encoding data of a plurality of other tiles around the tile.

[0021] In a possible implementation, the caching of the map data of the origin tile where the center is located and the plurality of layers of tiles around the origin tile includes:

[0022] The map data of the origin tile where the center is located and the plurality of layers of tiles around the origin tile is obtained from a map database and stored locally.

[0023] In a second aspect, the embodiments of the present application provide a device for acquiring tile map data, comprising: a first acquiring module, a second acquiring module and an output module.

[0024] The first acquiring module is configured to acquire coordinate information of a target position selected by a user in response to a specified operation of the user on a map.

[0025] The second acquiring module is configured to acquire cached tile map data according to the coordinate information of the target position, and acquire data within a preset radius range with the target position as the center as target tile map data, wherein the tile map data comprises map data of an origin tile where a current position of a vehicle is located and a plurality of layers of tiles around the origin tile.

[0026] The output module is configured to output a corresponding map on a graphical user interface according to the target tile map data.

[0027] In a possible implementation, the second acquiring module is specifically configured to:

[0028] For each tile in the tile map data, calculate a distance between each vertex of the tile and the target position according to coordinate information of each vertex of the tile and coordinate information of the target position.

[0029] Determine whether the distance between each vertex of the tile and the target position is less than the preset radius.

[0030] If the distance between at least one vertex of the tile and the target position is less than the preset radius, determine that the tile is a target tile.

[0031] Acquire map data of all target tiles from the tile map data to obtain the target tile map data.

[0032] In a possible implementation, the first acquiring module is specifically configured to:

[0033] Acquire positioning information of the vehicle in real time during driving of the vehicle.

[0034] According to the positioning information of the vehicle, cache map data of an origin tile where the vehicle is located and a plurality of layers of tiles around the origin tile with a position indicated by the positioning information of the vehicle as the center to obtain the tile map data.

[0035] In a possible implementation, the device further comprises a caching module,

[0036] The cache module is configured to, when the distance between the positioning information after the movement of the vehicle and the positioning information before the movement of the vehicle is greater than a preset distance, cache, as a new center, the map data of the origin tile where the new center is located and the multiple layers of tiles around the origin tile, to obtain refreshed tile map data.

[0037] In a possible implementation, in the tile map data, the map data of each tile includes two-dimensional data composed of the encoded data of the tile and the encoded data of multiple other tiles around the tile.

[0038] In a possible implementation, the first acquisition module is specifically configured to:

[0039] acquire, from a map database, the map data of the origin tile where the center is located and the multiple layers of tiles around the origin tile, and store the map data locally.

[0040] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory.

[0041] The memory stores computer execution instructions.

[0042] The processor executes the computer execution instructions stored in the memory, so that the processor executes the method in any one of the first aspect.

[0043] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, and the computer readable storage medium stores computer execution instructions, when the computer execution instructions are executed by a processing unit, the computer execution instructions are used to implement the method in any one of the first aspect.

[0044] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, when the computer program is executed by a processing unit, the computer program implements the method in any one of the first aspect.

[0045] The tile map data acquisition method, device, equipment and medium provided by the present application can acquire the coordinate information of the target position selected by the user in response to the specified operation of the user on the map. According to the coordinate information of the target position, the cached tile map data is acquired, and the data within the preset radius range with the target position as the center is taken as the target tile map data. According to the target tile map data, the corresponding map is output on the graphical user interface. Because the coordinate information of the target position and the preset radius are set, the tile map data within the specified range other than the positioning information of the vehicle can be quickly acquired from the cached multiple layers of tile map data. BRIEF DESCRIPTION OF DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained from these drawings without creative labor, which are incorporated into the specification and constitute a part of the specification, and are used to explain the principles of the present application together with the specification.

[0047] Figure 1 A schematic diagram of a tile map data use scenario provided by an embodiment of the present application;

[0048] Figure 2 A flowchart of a tile map data acquisition method provided by an embodiment of the present application;

[0049] Figure 3 A coding schematic diagram of tile map data provided by an embodiment of the present application;

[0050] Figure 4 A flowchart of detailed steps of a tile map data acquisition method provided by an embodiment of the present application;

[0051] Figure 5 A schematic diagram of cached tile map data provided by an embodiment of the present application;

[0052] Figure 6 A schematic diagram of refreshed tile map data provided by an embodiment of the present application;

[0053] Figure 7 A schematic diagram of tile map data of a specified target position provided by an embodiment of the present application;

[0054] Figure 8 A schematic diagram of tile map data with a circular range in the number of cache layers provided by an embodiment of the present application;

[0055] Figure 9 A schematic diagram of tile map data with a circular range partially in the number of cache layers provided by an embodiment of the present application;

[0056] Figure 10 A structural schematic diagram of a tile map data acquisition device provided by an embodiment of the present application;

[0057] Figure 11 A structural schematic diagram of an electronic device provided by an embodiment of the present application.

[0058] The specific embodiments of the application will now be described in detail with reference to the following figures. The following description, along with the figures, will assist in understanding the application. It will be apparent, however, that the application is not limited to these specific embodiments. DETAILED DESCRIPTION

[0059] The exemplary embodiments will be described in detail with reference to the accompanying drawings. The following detailed description, along with the figures, will assist in understanding the application. It will be apparent, however, that the application is not limited to these specific embodiments.

[0060] Figure 1 A schematic diagram of a tile map data use scenario is provided for the embodiments of the application. Referring to FIG. 1, a vehicle can be provided with a vehicle terminal and a navigation system, and a high-definition map engine can be deployed in the navigation system to provide a high-definition map. The high-definition map can include a plurality of tile map data. For any one tile map data, a small part of map data can be included in the tile map data. For example, tile map data 1 can include map data within a 3-kilometer radius from the location of the vehicle. Figure 1

[0061] During the driving of the vehicle, when high-definition map data needs to be acquired, the vehicle terminal can send the positioning information of the vehicle to the high-definition map engine. After receiving the positioning information of the vehicle, the high-definition map engine can acquire tile map data within a specified range around the vehicle positioning according to the positioning information, and send the tile map data to the vehicle terminal. For example, if the current positioning information of the vehicle is 100° east longitude and 30° north latitude, the vehicle terminal can send the positioning information (100° east longitude and 30° north latitude) to the high-definition map engine. After receiving the positioning information, the high-definition map engine can acquire tile map data within a 3-kilometer range around the vehicle positioning according to the positioning information, and the tile map data can be tile map data 1.

[0062] In the prior art, the high-definition map engine can only acquire tile map data within the range around the vehicle positioning information.

[0063] ​In the embodiment of the present application, the high-definition map engine receives the positioning information of the vehicle, and can cache part of the tile map data according to the positioning information. Then, the high-definition map engine acquires the coordinate information of the target position selected by the user in response to the specified operation of the user on the map, and acquires the cached tile map data according to the coordinate information of the target position. Then, the high-definition map engine takes the data within the preset radius range with the target position as the center as the target tile map data. According to the target tile map data, the corresponding map is output on the graphical user interface. Since part of the tile map data is cached in advance according to the positioning information of the vehicle, and the tile map data within the specified range other than the positioning information of the vehicle can be acquired from the cached tile map data according to the coordinate information of the target position and the preset radius.

[0064] The technical solutions shown in the present application will be described in detail below through specific embodiments. It should be noted that the following embodiments can exist independently or be combined with each other. For the same or similar content, the description will not be repeated in different embodiments.

[0065] Figure 2 A flowchart of a tile map data acquisition method according to an embodiment of the present application is provided. Please refer to Figure 2 The method can include:

[0066] S201, in response to the specified operation of the user on the map, acquiring the coordinate information of the target position selected by the user.

[0067] The execution subject of the embodiment of the present application can be a vehicle terminal or a tile map data processing device or equipment arranged in the vehicle. The tile map data processing device or equipment can be realized by software or by the combination of software and hardware. For the convenience of understanding, the execution subject will be taken as a vehicle terminal in the following description.

[0068] In this step, in order to acquire the coordinate information of the target position, the user needs to perform a specified operation on the map. In the specific implementation, the coordinate information of the target position can be set in the vehicle terminal, and then the coordinate information of the target position is sent to the high-definition map engine by the vehicle terminal.

[0069] The coordinate information of the target position can be longitude and latitude coordinate information. For example, 100° east longitude and 30° north latitude. The coordinate information can also be relative coordinate information of the real-time coordinate information of the vehicle. The relative coordinate information can include bearing information and distance information. For example, the real-time coordinate information of the vehicle is 100° east longitude and 30° north latitude. The relative coordinate information is the coordinate information of 30° east and 5km north of the vehicle.

[0070] S202, according to the coordinate information of the target position, obtaining the cached tile map data, and taking the data within the preset radius range with the target position as the center as the target tile map data.

[0071] In this step, the high-precision map engine receives the coordinate information of the target position sent by the vehicle terminal, takes the coordinate information of the target position as the center, forms a circle through a preset radius, and takes the tile map data covered by the circle as the target tile map data. In a specific implementation, the cached tile map data needs to be obtained first, and then the size of the circle and the position of the circle are determined according to the coordinate information of the target position and the preset radius. The tile map data falling within the circle range can be taken as the target tile map data.

[0072] Tile map data refers to map data within a certain range according to a certain size and format, according to a zoom level or scale, which can be cut into a certain range of square grid pictures in rows and columns by using latitude and longitude coordinates. The square grid pictures after cutting are like the tiles of a roof, which are called tile map data. Each tile has a global identifier (Global Identifier, GID), which can be simply referred to as ID. The ID code of the tile map data can be saved in a map database.

[0073] In the specific implementation of the embodiment of the present application, the tile map data encoding method is described in detail below in combination with Figure 3

[0074] Figure 3 An encoding diagram of tile map data provided by the embodiment of the present application. Please refer to Figure 3 Tile map data can be obtained by using latitude and longitude slicing. Latitude and longitude is the combination of longitude and latitude. Latitude and longitude coordinate information can form a coordinate system, which can represent any position on the earth. In the example, the X-axis direction can be taken as the longitude direction, which increases from left to right. The Y-axis direction can be taken as the latitude direction, which increases from bottom to top. Each tile map data can be represented by a region formed by four point coordinates.

[0075] For example, four point coordinates (0, 0), (0, 1), (1, 1) and (1, 0) can form a tile map data 1; four point coordinates (1, 1), (1, 2), (2, 2) and (2, 1) can form a tile map data 2. For ease of understanding, only the lower left corner coordinates (0, 0) and (1, 1) are taken as the ID codes of tile map data 1 and tile map data 2, respectively.

[0076] ​The map data of each tile in the tile map data comprises two-dimensional data composed of the encoded data of the tile and the encoded data of a plurality of other tiles around the tile.

[0077] For example, the number of the plurality of other tiles can be four tiles above, below, left and right, or tiles above, below, left, right and four corners.

[0078] In a feasible implementation, when the number of the plurality of other tiles is four tiles above, below, left and right, the map data encoded as the (2, 2) tile can comprise a two-dimensional array composed of five tile map data [(1, 2); (2, 3); (3, 2); (2, 1); (2, 2)].

[0079] In a feasible implementation, when the number of the plurality of other tiles is tiles above, below, left, right and four corners, the map data encoded as the (2, 2) tile can comprise a two-dimensional array composed of nine tile map data [(1, 1); (1, 2); (1, 3); (2, 3); (3, 3); (3, 2); (3, 1); (2, 1); (2, 2)].

[0080] By constructing the two-dimensional array, when the tile map data in the specified range is obtained, only the tile map data around the tile map data in the specified range is related. It is not necessary to rely on the ID coding of the tile map data.

[0081] For example, the high-definition map engine receives the coordinate information of the target position, which is 100° east longitude and 30° north latitude. Taking the coordinate information as the center, a circular range is obtained by a preset circular radius, which can be 5 km. Thus, it can be obtained which pre-cached tile map data is in the circular range. For example, the ID coding of the pre-cached tile map data can be (0, 0) and (0, 1), and if the tile map data with the ID coding (0, 0) and (0, 1) is in the circular range, the tile map data with the ID coding (0, 0) and (0, 1) can be used as the target tile data.

[0082] S203, output the corresponding map on the graphical user interface according to the target tile map data.

[0083] In this step, in order to provide the vehicle with the required high-definition map data of the specified position, the high-definition map engine needs to send the target tile map data to the vehicle terminal. In a specific implementation, all tile map data in the circular range can be added to a container and returned to the vehicle terminal, and the vehicle terminal can output the corresponding map through the graphical user interface of the vehicle.

[0084] The container refers to a device for carrying tile map data in the basic plane map, which can be virtual. For example, the container can be a virtual rectangular area, a device with a frame, which can be used to carry the target tile map data.

[0085] For example, the high-definition map engine can encode the IDs of the tile map data as (0, 0) and (0, 1) target tile map data to send to the vehicle terminal in the virtual device. The vehicle terminal can process the target tile map data to obtain the corresponding map, and display the map through the graphical user interface of the vehicle.

[0086] In the embodiment of the present application, the coordinate information of the target position selected by the user can be obtained in response to the user's specified operation on the map, and the cached tile map data can be obtained according to the coordinate information of the target position. The data within the preset radius range with the target position as the center is taken as the target tile map data. According to the target tile map data, the corresponding map is output on the graphical user interface. Since the coordinate information of the target position and the preset radius are set, the tile map data within the specified range other than the positioning information of the vehicle can be quickly obtained from the cached multi-layer tile map data.

[0087] Next, based on the embodiment shown in Figure 2 , the method for obtaining tile map data is described in detail. Figure 4

[0088] A flowchart of the detailed steps of the tile map data acquisition method provided in the embodiment of the present application is shown in Figure 4 , and the method for obtaining tile map data is described in detail. Figure 4 , and the method for obtaining tile map data is described in detail. Figure 2 In the embodiment shown in , before obtaining the coordinate information of the target position selected by the user in response to the user's specified operation on the map, the method comprises:

[0089] S401, in the process of driving the vehicle, the positioning information of the vehicle is obtained in real time.

[0090] In this step, in order to determine the cached tile map data, the positioning information of the vehicle needs to be obtained first.

[0091] The positioning information of the vehicle can be obtained by the positioning device provided in the vehicle, for example, the positioning information sent by the vehicle locator to the vehicle terminal. The positioning information of the vehicle can also be sent by a mobile phone or a tablet computer to the vehicle terminal, or the positioning information of the vehicle can be input by the driver to the vehicle terminal.

[0092] The positioning information can be a specific latitude and longitude coordinate, for example, the positioning information of the vehicle is: 100° east longitude and 30° north latitude.

[0093] S402, according to the positioning information of the vehicle, taking the position indicated by the positioning information of the vehicle as the center, caching the map data of the origin tile and the multi-layer tiles around the origin tile to obtain the tile map data.

[0094] In this step, the cache center point needs to be determined based on the obtained vehicle location information. This cache center point is also the center of the origin tile map data. Then, the cache area of ​​the tile map data is determined according to the preset number of cache layers.

[0095] Origin tile map data: refers to the tile map data located at the center of the cache when caching tile map data, and it is also the tile map data where the vehicle is located when caching.

[0096] The number of caching layers refers to the number of layers of cached tile map data, which can be 3, 4, 5, or more. In one specific implementation, the number of caching layers is 5.

[0097] It should be noted that the high-precision map engine will obtain the map data of the origin tile where the center is located and the multi-layer tiles around the origin tile from the map database and store them locally.

[0098] Below, in conjunction with Figure 5 The following example illustrates the use of cached tile map data.

[0099] Figure 5 This is a schematic diagram illustrating a cached tile map data provided in an embodiment of this application. Please refer to [link / reference]. Figure 5 For example, when a high-precision map engine receives the vehicle's location information, which may be the initial location information of the vehicle (100° East longitude and 30° North latitude), this location information can be converted into data point 1 in the tile map data. For ease of understanding, the tile map data with ID encoding (0,0) is represented by region 0, which is the origin tile map data. The data point 1 after the initial vehicle location information is converted is within region 0. Region 0 is the cache center, and the surrounding layers 1, 2, 3, 4, and 5 are the cached tile map data layers, respectively.

[0100] Since the vehicle is in motion, the high-precision map engine receives new vehicle location information from the onboard terminal. It needs to determine whether new tile map data needs to be cached based on this new location information. Cached new tile map data is performed according to a preset refresh layer count. Specifically, if the distance between the vehicle's location information after movement and its location information before movement is greater than a preset distance, the location indicated by the new vehicle location information is used as the new center. The map data of the origin tile where the new center is located, as well as the map data of multiple layers of tiles surrounding the origin tile, are cached to obtain the refreshed tile map data.

[0101] Refresh Layers: This refers to the number of refresh layers that will refresh the cached tile map data when a vehicle reaches or exceeds this number. For example, the refresh layer count can be 2, 3, 4, or more layers. Due to the limitation of the cached layer count, the preset refresh layer count will be less than the cached layer count. In one specific implementation, the refresh layer count is 3.

[0102] Below, in Figure 5 Based on the combination Figure 6 Let's take a refreshed tile map as an example for illustration.

[0103] Figure 6 This is a schematic diagram of refreshed tile map data provided in an embodiment of this application. Please refer to [link / reference]. Figure 6 In one specific implementation, the preset distance is the distance between cache layer number 3 and cache layer number 0, i.e., 3 layers. During actual vehicle operation, the high-precision map engine receives the vehicle's location information a second time from the onboard terminal, converts this location information into data point 2 in the tile map data, and the tile map data where data point 2 is located is the current tile map data. It is assumed that the current tile map data can be located in... Figure 5 The area enclosed by the circle shown is designated as layer 3. Since the location of the second vehicle is at a distance of 3 layers from the location of the first vehicle, the second vehicle's location will be used as the new origin to cache the new tile map data. The cached new tile map data will cover the area shown by the cross-section in the figure. Simultaneously, tile map data outside the cached layer will be discarded; the discarded tile map data will be the area marked with an "X" in the figure.

[0104] It should be noted that when the high-precision map engine receives the second vehicle location information sent by the vehicle terminal, if the distance between the area where the location information is located and the area where the first vehicle location information is located does not meet the preset distance requirement of 3 layers, the origin will not change and there is no need to cache the tile map data of the new location.

[0105] For example, the high-precision map engine receives the vehicle's location information a second time from the vehicle terminal. This location information is 110°E longitude and 40°N latitude. The engine converts this latitude and longitude information into data point 2 in the tile map data. The tile map data containing this data point 2 is used as the current tile map data. For example, the current tile map data is located at... Figure 5 Within the area enclosed by the circle shown in Figure 3, the location information of the first vehicle is converted into data point 1 in the tile map data. This data point 1 is located in area 0 and compared. The distance between the two areas meets the requirement of a preset distance of 3 layers. The location of the second vehicle will be used as the new origin of the tile map, and new tile map data will be cached.

[0106] It should be noted that as long as the positioning information of the second vehicle is converted into a data point 2 in the tile map data, if the data point 2 is in any area in the 3rd, 4th or 5th layer in the cache, it can be considered that the two areas have reached the preset distance of 3 layers, and the new tile map data will be cached, otherwise, if the data point 2 is in any area in the 0th, 1st or 2nd layer in the figure, the cache layer will not be refreshed. Figure 5

[0107] During the driving of the vehicle, the high-precision map engine receives the positioning information of the vehicle multiple times, and the current tile map data can be obtained through the positioning information of the latest vehicle, and compared with the original tile map data obtained by the previous caching. Whether the positioning information of the two vehicles reaches the preset distance of 3 layers is determined, so as to determine whether the tile map data of the new original point needs to be cached.

[0108] S403, in response to the user's specified operation on the map, obtaining the coordinate information of the target position selected by the user.

[0109] It should be noted that the specific execution process of step S403 can refer to the specific execution process of step S201, which will not be repeated here.

[0110] S404, for each tile in the tile map data, calculating the distance between each vertex of the tile and the target position according to the coordinate information of each vertex of the tile and the coordinate information of the target position.

[0111] In this step, each tile map data represents data in a certain area range, which can be composed of the area formed by the four vertex coordinates of the tile. Given the coordinate information of the target position, first determine the coordinate information of the target position in which tile map data. The coordinates of the target position and the four vertex coordinates of the tile can be connected into a straight line. In the specific implementation process, the high-precision map engine obtains the coordinate information of the target position sent by the vehicle terminal, converts the coordinate information into a data point in the tile map data, obtains the coordinate, and connects the coordinate with the four vertexes of the tile into a straight line.

[0112] Next, combined with Figure 7 , an example of specifying the tile map data of the target position is taken.

[0113] Figure 7 A schematic diagram of the tile map data of the target position provided by the embodiment of the present application is shown in FIG. 4. Please refer to FIG. 4. Figure 7 ​For example, the ID code of the tile map data is (2, 2), and the four vertices of the tile map data can be determined as B point (2, 2), C point (3, 2), D point (3, 3) and E point (2, 3). The coordinate information of the target position is 100° east longitude and 30° north latitude, which is converted into data point 3 in the tile map data, which can be (4, 1). The ID code of the tile map data where the data point 3 is located is (4, 1), as shown by point A in the figure. Then the four vertices of the tile map data with the ID code (2, 2) and point A can form four line segments, respectively, AB, AC, AD and AE.

[0114] S405, determine whether the distance between each vertex of the tile and the target position is less than the preset radius.

[0115] In this step, a circle is formed with the coordinates of the target position as the center and a preset radius. The preset radius can be replaced by the number R. By comparing R with the lengths of the four line segments AB, AC, AD and AE, it is determined whether the tile is the target tile.

[0116] For example, the coordinates of the target position are A point, which is the center of the circle, and the preset radius can be replaced by R, which can be 1, 2, 3 or other numerical values. Then a circle range is formed by the center and the preset radius R, and the four vertices of the tile are connected to form line segments with certain lengths. By judging the size of the preset radius R and the length of the line segment, it is determined whether the four vertices of the tile fall within the circle range, thereby determining whether the tile is the target tile.

[0117] S406, if at least one vertex of the tile has a distance less than the preset radius from the target position, the tile is determined to be the target tile.

[0118] In this step, by calculation, if at least one of the four line segments formed by the four vertices of the tile and the target position has a distance less than the preset radius, the tile is considered to be the target tile.

[0119] For example, after calculation, the lengths of AB and AD are both 2.2, the length of AE is 2.8, and the length of AC is 1.4. The preset radius is 1, and the lengths of AB, AC, AD and AE are all greater than 1, so it can be determined that the tile map data does not fall within the circle range, and the tile is not the target tile.

[0120] For example, after calculation, the lengths of AB and AD are both 2.2, the length of AE is 2.8, and the length of AC is 1.4. The preset radius is 2, and although the lengths of AB, AD and AE are all greater than 2, the length of AC is less than 2, so it can be determined that the tile map data falls within the circle range, and the tile is the target tile.

[0121] For example, it is calculated that the lengths of AB and AD are both 2.2, the length of AE is 2.8, and the length of AC is 1.4. The preset radius is 3, and the lengths of AB, AC, AD, and AE are all less than 3, so it is determined that the tile map data falls within the circular range, and the tile is the target tile.

[0122] S407, obtaining all the target tile map data from the tile map data.

[0123] In this step, the lengths of the line segments formed by the four vertices of each tile and the center of the circle are compared with the preset radius, to determine whether the tile map data is target tile map data. Each target tile map data is collected, so that the target tile map data to be finally obtained can be formed.

[0124] Next, the embodiments of the present application will be described in detail with reference to the accompanying drawings. Figure 8 For example, the center of the circle and the radius of the tile map data are in the cache layer.

[0125] Figure 8 A schematic diagram of tile map data with a circular range in the cache layer is provided for the embodiments of the present application. Please refer to Figure 8 The entire area represents the tile map data cached by the high-precision map engine at a certain time. The time can be when the high-precision map engine first receives the positioning information of the vehicle. The cached tile map data can be the first cached tile map data, or the tile map data updated at a later time. The cached tile map data can include multiple tile map data. The shaded part in the figure is the circular range formed by the target position coordinate information and the preset radius. The area blocked by the section line and the shade is the target tile map data. At least one of the four vertex coordinates of the tile and the distance from the center of the circle is less than the preset radius, and falls within the circular range to become the target tile map data. The remaining blank area is not the target tile map data.

[0126] Next, the embodiments of the present application will be described in detail with reference to the accompanying drawings. Figure 9 For example, the center of the circle is in the cache layer, and the range covered by the preset radius does not fall entirely in the cache layer.

[0127] Figure 9 A schematic diagram of tile map data with a circular range partially in the cache layer is provided for the embodiments of the present application. Please refer to Figure 9 The shaded part in the figure is the circular range formed by the target position coordinate information and the preset radius. The area blocked by the section line and the shade is the target tile map data. The remaining blank area is not the target tile map data. It should be noted that a part of the circular range is not in the cache layer, so the tile map data obtained from this part is blank.

[0128] S408. Output a corresponding map on a graphical user interface according to the target tile map data.

[0129] The specific execution process of step S408 can refer to the specific execution process of step S203, which will not be repeated here.

[0130] In the embodiments of the present application, by acquiring the positioning information of the vehicle in real time during the driving of the vehicle, taking the position indicated by the positioning information of the vehicle as the center, caching the map data of the origin tile where the center is located and the map data of the multiple layers of tiles around the origin tile, obtaining the coordinate information of the target position selected by the user in response to the specified operation of the user on the map, for each tile in the tile map data, calculating the distance between each vertex of the tile and the target position according to the coordinate information of each vertex of the tile and the coordinate information of the target position, determining whether the distance between each vertex of the tile and the target position is less than the preset radius, if there is at least one vertex of the tile whose distance to the target position is less than the preset radius, the tile is determined as the target tile. Obtain the map data of all target tiles from the tile map data, obtain the target tile map data, and output a corresponding map on a graphical user interface according to the target tile map data. Because the map data of the origin tile where the center is located and the map data of the multiple layers of tiles around the origin tile are cached, the tile map data in other specified ranges other than the positioning information of the vehicle can be quickly obtained from the cached multiple layers of tile map data through the coordinate information of the target position and the preset radius.

[0131] Figure 10 A structure diagram of a tile map data acquisition device provided by the embodiments of the present application is provided. Please refer to Figure 10 , the tile map data acquisition device 10 comprises a first acquisition module 11, a second acquisition module 12 and an output module 13.

[0132] The first acquisition module 11 is configured to acquire the coordinate information of the target position selected by the user in response to the specified operation of the user on the map.

[0133] The second acquisition module 12 is configured to acquire the cached tile map data according to the coordinate information of the target position, and take the data within the preset radius range with the target position as the center as the target tile map data, wherein the tile map data comprises the map data of the origin tile where the current position of the vehicle is located and the map data of the multiple layers of tiles around the origin tile.

[0134] The output module 13 is configured to output a corresponding map on a graphical user interface according to the target tile map data.

[0135] The tile map data acquisition device provided by the embodiments of the present application can execute the technical solutions shown in the method embodiments, and the implementation principles and beneficial effects are similar, which will not be repeated here.

[0136] In a possible implementation, the second acquisition module 12 is specifically configured to:

[0137] For each tile in the tile map data, the distance between each vertex of the tile and the target position is calculated according to the coordinate information of each vertex of the tile and the coordinate information of the target position.

[0138] It is determined whether the distance between each vertex of the tile and the target position is less than the preset radius.

[0139] If the distance between at least one vertex of the tile and the target position is less than the preset radius, the tile is determined as a target tile.

[0140] The map data of all target tiles is acquired from the tile map data, and the target tile map data is obtained.

[0141] In a possible implementation, the first acquisition module 11 is specifically configured to:

[0142] In the process of driving the vehicle, the positioning information of the vehicle is acquired in real time.

[0143] According to the positioning information of the vehicle, the map data of the origin tile where the center indicated by the positioning information of the vehicle is located and the map data of multiple layers of tiles around the origin tile are cached, and the tile map data is obtained.

[0144] In a possible implementation, the device further includes a caching module 14,

[0145] The caching module 14 is configured to, when the distance between the positioning information after the movement of the vehicle and the positioning information before the movement of the vehicle is greater than a preset distance, cache the map data of the origin tile where the new center indicated by the positioning information after the movement of the vehicle is located and the map data of multiple layers of tiles around the origin tile again, and obtain refreshed tile map data.

[0146] In a possible implementation, the map data of each tile in the tile map data includes two-dimensional data composed of the encoding data of the tile and the encoding data of multiple other tiles around the tile.

[0147] In a possible implementation, the first acquisition module 11 is specifically configured to:

[0148] Obtain map data of the origin tile where the center is located and multiple layers of tiles around the origin tile from the map database and store locally.

[0149] The tile map data acquisition device provided by the embodiments of the present application can implement the technical solutions shown in the method embodiments, and the implementation principles and beneficial effects are similar, which will not be described here again.

[0150] Figure 11 A structural schematic diagram of an electronic device provided by the embodiments of the present application is provided. Please refer to Figure 11 The electronic device 20 can include a processor 21 and a memory 22. Exemplarily, the processor 21 and the memory 22 are connected to each other through a bus 23.

[0151] The memory 22 stores computer execution instructions;

[0152] The processor 21 executes the computer execution instructions stored in the memory 22, so that the processor 21 executes the method provided by the above method embodiments.

[0153] Correspondingly, the embodiments of the present application provide a computer readable storage medium, which stores computer execution instructions. When the computer execution instructions are executed by a processor, the method provided by any of the above method embodiments is implemented.

[0154] Correspondingly, the embodiments of the present application can also provide a computer program product, which includes a computer program. When the computer program is executed by a processor, the method provided by any of the above method embodiments can be implemented.

[0155] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can be in the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can be in the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.

[0156] The present application is described with reference to flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to produce a machine, so that the instructions executed by the computer or other programmable data processing devices produce a device that implements the functions described in the flowcharts and / or block diagrams. The computer program instructions can also be stored in a computer readable storage medium that can guide the computer or other programmable data processing devices to work.Figure 1 apparatuses that perform the functions recited in block Figure 1

[0157] These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the Figure 1 apparatuses that perform the functions recited in block Figure 1

[0158] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the Figure 1 apparatuses that perform the functions recited in block Figure 1

[0159] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0160] The memory can include non-persistent memory and / or volatile memory, such as random access memory (RAM) and / or cache memory. The memory can also include non-volatile memory, such as read-only memory (ROM), electrically programmable read-only memory (EPROM), electrically erasable read-only memory (EEPROM), flash memory, or non-volatile random access memory (NVRAM). The memory is an example of computer readable media.

[0161] Computer readable media includes permanent and non-permanent, moveable and non- moveable media that can be implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile discs (DVDs) or other optical storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that is accessible to a computing device. According to the definition herein, computer readable media does not include transitory media, such as modulated data signals and carrier waves.

[0162] ​​​It is also to be noted that the terms "comprising", "including", and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises a... " does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0163] The above description is merely illustrative of the application, and not restrictive. Various modifications and changes can become apparent to those skilled in the art. Incorporating any modification, equivalent substitution, improvement, etc. within the spirit and principle of the application, shall be included in the scope of the claims of the application.

Claims

1. A method for acquiring tile map data, characterized in that, include: During vehicle operation, the vehicle's location information is acquired in real time. Based on the vehicle's location information, taking the location indicated by the vehicle's location information as the center, the map data of the origin tile where the center is located and the multi-layer tiles around the origin tile are cached to obtain tile map data. In response to a user's specified operation on the map, obtain the coordinate information of the target location selected by the user; Based on the coordinate information of the target location, cached tile map data is obtained, and then data within a preset radius centered on the target location is used as the target tile map data. Based on the target tile map data, output the corresponding map on the graphical user interface; When the distance between the vehicle's location information after it moves and the vehicle's location information before it moves is greater than a preset distance, the location indicated by the vehicle's location information after it moves is used as the new center again. The map data of the origin tile where the new center is located and the multi-layer tiles around the origin tile are cached to obtain the refreshed tile map data.

2. The method according to claim 1, characterized in that, The step of obtaining cached tile map data based on the coordinate information of the target location, and then using data within a preset radius centered on the target location as the target tile map data, includes: For each tile in the tile map data, the distance between each vertex of the tile and the target location is calculated based on the coordinate information of each vertex of the tile and the coordinate information of the target location. Determine whether the distance between each vertex of the tile and the target position is less than the preset radius; If at least one vertex of the tile is less than the target position in distance from the target position, then the tile is determined to be the target tile. The target tile map data is obtained by retrieving all the target tile map data from the tile map data.

3. The method according to claim 1 or 2, characterized in that, The tile map data includes two-dimensional data consisting of the coded data of the tile and the coded data of multiple other tiles surrounding the tile.

4. The method according to claim 1, characterized in that, The cached map data includes the origin tile where the center is located and the surrounding multi-layer tiles, including: The map data of the origin tile where the center is located and the multi-layer tiles surrounding the origin tile are obtained from the map database and stored locally.

5. A device for acquiring tile map data, characterized in that, The device includes: The first acquisition module is used to acquire the vehicle's location information in real time during vehicle operation; based on the vehicle's location information, using the location indicated by the vehicle's location information as the center, cache the map data of the origin tile where the center is located and the multi-layer tiles around the origin tile to obtain tile map data; and in response to the user's specified operation on the map, acquire the coordinate information of the target location selected by the user. The second acquisition module is used to acquire cached tile map data based on the coordinate information of the target location, and then use the data within a preset radius with the target location as the center as the target tile map data. The tile map data includes map data of the origin tile where the vehicle is currently located and the multi-layer tile around the origin tile. The output module is used to output the corresponding map on the graphical user interface based on the target tile map data; The caching module is used to cache the map data of the origin tile where the new center is located and the surrounding multi-layer tiles when the distance between the positioning information after the vehicle moves and the positioning information before the vehicle moves is greater than a preset distance, so as to obtain refreshed tile map data.

6. An electronic device, characterized in that, include: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 4.

8. A computer program product, characterized in that, It includes a computer program that, when executed by a processing unit, implements the method described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Multisource tile map acquiring method and device

    CN105468691A

  • Map updating method and map-based driving decision-making method and device

    CN115080672A