| CPC G06F 16/29 (2019.01) [G06F 16/2365 (2019.01); G06F 16/2379 (2019.01)] | 9 Claims |

|
1. A map data updating method, performed by an electronic device, comprising:
obtaining update information of first map data, and then obtaining, according to the update information, a mapsheet in the first map data that corresponds to the update information;
deleting, based on a spatial update range of the update information, at least a portion of target data of the mapsheet to obtain first target mapsheet data, the target data being all data within a spatial range of the mapsheet, the first target mapsheet data comprising data in the target data that is within the spatial update range;
updating, based on the first target mapsheet data and the update information, the first map data;
wherein the update information comprises M to-be-updated elements, M being a positive integer, each of the to-be-updated elements comprises a map location that needs to be updated and corresponding update content, and the updating, based on the first target mapsheet data and the update information, the first map data comprises:
performing, based on the M to-be-updated elements, edit processing on the first target mapsheet data to obtain second target mapsheet data;
modifying the target data in accordance with a difference of the second target mapsheet data relative to the first target mapsheet data, to obtain second map data;
wherein, before the performing, based on the M to-be-updated elements, the edit processing on the first target mapsheet data to obtain the second target mapsheet data, the method further comprises:
marking an editable range corresponding to the first target mapsheet data as a first range, wherein the editable range comprises data in the first target mapsheet data that is other than boundary data of the first target mapsheet data;
the performing, based on the M to-be-updated elements, the edit processing on the first target mapsheet data to obtain the second target mapsheet data comprises:
performing, in case that the M to-be-updated elements comprise a first to-be-updated element, edit processing on the first target mapsheet data based on the first to-be-updated element, to obtain the second target mapsheet data, wherein an update location of the first to-be-updated element is within the first range.
|