Map editing method, electronic equipment and computer readable storage medium

By editing and updating the map of smart mobile devices on the electronic device side, the problem of low map editing efficiency is solved, and convenient improvement of the success rate of map editing and navigation tasks is achieved.

CN118964499APending Publication Date: 2024-11-15UBTECH ROBOTICS CORP LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411039683.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing technology has low map editing efficiency on the smart mobile device side, making it difficult to easily edit maps, affecting the success rate of navigation tasks.

Method used

By displaying the map to be edited on the visual interface of the electronic device, editing the map content and type, and sending the edited map storage address to the smart mobile device, map update is realized.

Benefits of technology

Improves the efficiency and accuracy of map editing, allowing users to edit their maps without following smart mobile devices, and enhances the success rate of navigation tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964499A_ABST
    Figure CN118964499A_ABST
Patent Text Reader

Abstract

The invention is applicable to the technical field of intelligent mobile equipment, and provides a map editing method, electronic equipment and a computer readable storage medium, and the method comprises the following steps: displaying a to-be-edited map on a visual interface; editing the map content and / or the map type of the to-be-edited map to obtain an edited map; storing the edited map, and recording a storage address of the edited map; and sending the storage address to the first intelligent mobile device. Through the method, the editing efficiency of the map can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of intelligent mobile devices, and in particular, relates to a map editing method, an electronic device, and a computer-readable storage medium. Background Art

[0002] Navigation is one of the core functions of intelligent mobile devices (such as robots), and maps are necessary configurations to realize navigation.

[0003] At present, when a smart mobile device performs a navigation task according to a configured map, it can usually complete the navigation task successfully. However, there are still cases where the navigation task cannot be successfully executed. In this case, the configured map can be edited on the smart mobile device, and then the navigation task can be performed according to the edited map to increase the probability of successfully executing the navigation task.

[0004] However, it is difficult to edit the map conveniently and quickly using the above method. Therefore, it is necessary to provide a new map editing method for editing the map of the smart mobile device. Summary of the invention

[0005] The embodiments of the present application provide a map editing method, an electronic device, and a computer-readable storage medium, which can solve the problem of low editing efficiency when editing maps on smart mobile devices using existing methods.

[0006] In a first aspect, an embodiment of the present application provides a map editing method, which is applied to an electronic device, wherein the electronic device includes a visual interface, and the map editing method includes:

[0007] Displaying the map to be edited on the visual interface;

[0008] Editing the map content and / or map type of the map to be edited to obtain an edited map;

[0009] Storing the edited map and recording the storage address of the edited map;

[0010] The storage address is sent to the first smart mobile device.

[0011] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0012] In the embodiment of the present application, since the map to be edited is displayed on the visual interface of the electronic device, it is convenient for the user to edit the map to be edited through the electronic device. At the same time, since the electronic device edits the map content and / or map type of the map to be edited, after obtaining the edited map, the edited map is stored, and the storage address of the edited map is sent to the first smart mobile device, the first smart mobile device can download the edited map according to the storage address to update its configured map. That is, since the user can edit the map on the electronic device side, the map of the first smart mobile device can be edited without following the first smart mobile device, thereby improving the map editing efficiency on the first smart mobile device side. In addition, since the map content and / or map type of the map to be edited is edited, the edited map is more matched with the first smart mobile device in terms of map content and / or map type.

[0013] In a second aspect, an embodiment of the present application provides a map editing method, which is applied to a first smart mobile device, and the map editing method includes:

[0014] Receiving a storage address of an edited map sent by an electronic device, wherein the edited map is a map obtained after editing the map content and / or map type of the map to be edited;

[0015] Download the corresponding map from the storage address;

[0016] Update the map based on the downloaded map.

[0017] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the computer program.

[0018] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented, or when the computer program is executed, the method described in the second aspect is implemented.

[0019] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the method described in the first aspect above.

[0020] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0022] Figure 1 It is a flowchart of a map editing method provided by an embodiment of the present application;

[0023] Figure 2 is a schematic diagram of an editable map content provided in an embodiment of the present application;

[0024] Figure 3 It is a flowchart of another map editing method provided by an embodiment of the present application;

[0025] Figure 4 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0026] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0027] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0028] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0029] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0030] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.

[0031] When performing navigation tasks, intelligent mobile devices (such as humanoid mobile devices or non-humanoid mobile devices) need to use maps of corresponding scenes. For example, when a robot moves in Park A, it needs to use the map corresponding to Park A to avoid obstacles in Park A during movement.

[0032] When the smart mobile device cannot successfully perform the navigation task according to the configured map, the user can edit the map on the smart mobile device, and the smart mobile device will then perform the navigation task according to the edited map to increase the probability of successfully performing the navigation task. Since smart mobile devices usually need to move in different scenarios, and it is difficult for users to always follow the smart mobile device, and the screen of the smart mobile device is usually small, and the editing operation is usually cumbersome, it is difficult to conveniently edit the map on the smart mobile device, resulting in low editing efficiency.

[0033] In order to improve the map editing efficiency, the embodiment of the present application provides a map editing method. In the map editing method, the map is edited by an electronic device with a visual interface, and then the storage address of the edited map is sent to the first smart mobile device. Since the user can edit the map on the electronic device side, that is, the map of the first smart mobile device can be edited without following the first smart mobile device, thus improving the map editing efficiency.

[0034] The map editing method provided in the embodiment of the present application is described below with reference to the accompanying drawings.

[0035] Figure 1 A flowchart of a map editing method provided in an embodiment of the present application is shown. The map editing method is applied to an electronic device, and the electronic device includes a visual interface. In this case, the electronic device can be regarded as a web terminal. Optionally, the electronic device can be a personal computer. The map editing method provided in an embodiment of the present application is described in detail as follows:

[0036] S11, displaying the map to be edited in the visual interface.

[0037] The map to be edited here may be a map to be configured on the smart mobile device, or may be a map that has been configured on the smart mobile device.

[0038] The number of maps displayed to be edited may be equal to 1 or may be greater than 1.

[0039] In the embodiment of the present application, after the electronic device starts its own browser or other application, the map to be edited is displayed on its display screen, and the interface of the map to be edited displayed on the display screen is the above-mentioned visual interface.

[0040] Optionally, the map to be edited is a map sent by a smart mobile device to the electronic device, or a map acquired by the electronic device itself (such as a map imported into the electronic device), that is, before the above S11, it also includes:

[0041] The map sent by the second smart mobile device is determined as the map to be edited, or the stored map is determined as the map to be edited.

[0042] The second smart mobile device here can be the same as the first smart mobile device, or can be a smart mobile device different from the first smart mobile device, which is not limited here. For example, the electronic device can edit the map sent by smart mobile device A and send the edited map to smart mobile device A. The electronic device can also edit the map sent by smart mobile device A and send the edited map to smart mobile device B.

[0043] In the embodiment of the present application, a user (such as a developer) can edit a map stored in an electronic device (the map can be downloaded from the cloud by the electronic device and then stored, or the map is a map stored by the electronic device itself). At this time, the map stored in the electronic device will be used as the map to be edited for subsequent display. The map sent by the second smart mobile device can also be edited. At this time, the map sent by the second smart mobile device will be used as the map to be edited for subsequent display. It should be noted that since the map configured by the second smart mobile device is usually obtained from other electronic devices (such as downloaded from other electronic devices through the network), before the maps stored in the second smart mobile device and the electronic device are edited, the maps stored in the two are the same. Therefore, the map sent by the second smart mobile device is usually a map that has been partially or fully edited on the second smart mobile device side, that is, the map sent by the second smart mobile device received by the electronic device is usually a map different from the map stored in the electronic device itself (otherwise, the second smart mobile device does not need to send a map to the electronic device). At this time, the map received by the electronic device is used as the map to be edited, instead of the map stored in the second smart mobile device as the map to be edited, so that the content of the map edited on the second smart mobile device side can be retained, thereby facilitating the improvement of the accuracy of the editing result.

[0044] S12, editing the map content and / or map type of the map to be edited to obtain an edited map.

[0045] Specifically, when the number of maps to be edited is equal to 1, the displayed maps to be edited can be directly edited to obtain the edited maps. When the number of maps to be edited is greater than 1, the current map to be edited is first selected from the displayed multiple maps to be edited, and then the current map to be edited is edited.

[0046] Editing the map content refers to editing the data that affects the map content. Optionally, the data that affects the map content includes at least one of the following: location points (locations and quantities of location points), tracks (coordinate points and quantities of tracks), virtual walls (coordinate points and quantities of virtual walls), resolution, area type (such as slope areas, deceleration areas, safety areas, etc.), and noise points. Figure 2As shown, the top of the editing interface (i.e., the visual interface for editing the map) displays four icons: "Location Point", "Track", "Virtual Wall", and "Original Image Editing". The number and name of the location points are displayed on the left side of the editing interface. When the user clicks the trash can icon corresponding to a location point, the electronic device will think that it has received an editing instruction to delete the location point and delete the location point according to the editing instruction. In addition, the left side of the editing interface also displays information about charging piles, tracks, and virtual walls, that is, in the embodiment of the present application, editing the map content of the map to be edited may include: adding or deleting location points, adding or modifying or deleting tracks, adding or modifying or deleting virtual walls, erasing noise points, etc.

[0047] After editing of the map to be edited is completed, if the electronic device detects that the "local" icon in the upper right corner of the editing interface is clicked, the edited map will be stored locally. If it detects that the "upload to cloud" icon in the upper right corner of the editing interface is clicked, the edited map will be uploaded to the cloud.

[0048] Among them, the map type usually corresponds to the manufacturer that generates the map. For example, the map type corresponding to the manufacturer A that generates the map is map type A, and the map type corresponding to the manufacturer B that generates the map is map type B. Editing a map type means converting the format (or data structure) of a map generated by a certain manufacturer to the format (or data structure) of a map generated by a specified manufacturer. For example, assuming that the "height" of manufacturer A is expressed as "gridHeight", and the "height" of manufacturer B is expressed as "metadata.height", when map type A is edited to map type B, "gridHeight" needs to be edited to "metadata.height", and the characters under the "gridHeight" field name are the characters under the "metadata.height" field name. Considering that the algorithms for generating maps by different manufacturers are usually different, and the difference in maps will affect the success rate of smart mobile devices in performing navigation tasks, when the smart mobile device fails to navigate using a map of a certain map type, it can try to change to another map type to navigate again. Since a smart mobile device can only run maps of one map type, when changing to a map navigation of another map type, the map type of the map of the other map type needs to be changed to a map of its own corresponding map type first.

[0049] Since the map content and / or map type can be edited, it is possible to increase, decrease or modify the map content and / or change the map type, which is beneficial to improve the accuracy of the edited map.

[0050] Optionally, considering that the edited map will be sent to the first smart mobile device, it is possible to first determine whether the map type corresponding to the first smart mobile device is the same as the map type of the map to be edited, and when it is determined that they are different, regardless of whether the map content of the map to be edited is edited, the map type of the map to be edited needs to be edited. At this time, the map content and / or map type of the map to be edited is edited to obtain the edited map, including:

[0051] A1. When the map type of the map to be edited is different from the map type corresponding to the first smart mobile device, the map type of the map to be edited is edited, or the map type and map content of the map to be edited are edited to obtain an edited map, wherein the map type of the edited map is the same as the map type corresponding to the first smart mobile device.

[0052] Specifically, the map information of each map may be recorded in advance, and the map information may include the map type, the unique identifier of the map, and may also include one or more information such as the map name, the map compression package download address, the map image download address, and the map version number. Also, the correspondence between different smart mobile devices and map types may be recorded in advance, and the map type corresponding to the first smart mobile device may be determined based on the correspondence, and the determined map type corresponding to the first smart mobile device may be compared with the map type of the map to be edited determined from the map information to determine whether the two map types are the same.

[0053] A2. When the map type of the map to be edited is the same as the map type corresponding to the first smart mobile device, the map content of the map to be edited is edited to obtain an edited map.

[0054] In the embodiment of the present application, when the map to be edited is not a map configured for the first smart mobile device, if the map to be edited is edited, it is necessary to select a corresponding editing method based on the result of judging whether the map type of the map to be edited is the same as the map type configured for the first smart mobile device. Through the above editing method, the edited map can be more suitable for the first smart mobile device.

[0055] In some embodiments, in A1 above, editing the map type of the map to be edited includes:

[0056] A11. Parse the map to be edited according to the map type of the map to be edited to obtain a parsing result including a correspondence between field names, field descriptions, and characters.

[0057] A12. According to the field description in the parsing result and the field description of the map type corresponding to the first smart mobile device, the field name in the above parsing result is converted into a field name that matches the map type corresponding to the above first smart mobile device, and a correspondence between the characters in the parsing result and the converted field name is established.

[0058] Specifically, the field names and field descriptions corresponding to various map types are recorded in advance, and the data of the map to be edited is parsed according to the recorded information (field names and field descriptions) and the map type of the map to be edited, and the parsing result obtained includes the correspondence between each field name, field description and character. After obtaining the correspondence between each field name, field description and character of the map to be edited, according to the correspondence between the field name and field description in the map type of the first smart mobile device, the characters corresponding to the field description of the map to be edited that is the same as the field description of the map type of the first smart mobile device are matched with the field description of the map type of the first smart mobile device, thereby obtaining the correspondence between the corresponding field name and character in the map type of the first smart mobile device.

[0059] For example, assuming that the map type of the map to be edited is map type A, and the map type of the first smart mobile device is map type B, the field names and field descriptions of the parts corresponding to the two map types are shown in Table 1 below.

[0060] Table 1:

[0061]

[0062] Assume that the map type of the map to be edited is map type A, and some of its data are as follows:

[0063] "metadata":{

[0064] "name":"8F Map",

[0065] "width":1568,

[0066] "height":768,

[0067] "modify_time":"20240719_133029",

[0068] "origin":[

[0069] -35.200000000000003,

[0070] -33.600000000000001, 0.0

[0072] ],

[0073] "resolution":0.05000000074505806

[0074] }

[0075] Convert the data of the map to be edited into the data corresponding to map type B to obtain the following data:

[0076] "createdAt":"2024-07-19 13:30:29",

[0077] "mapInfo":{

[0078] "gridHeight":768,

[0079] "gridWidth":1568,

[0080] "originX":-35.2,

[0081] "originY":-33.6,

[0082] "resolution":0.05000000074505806

[0083] }

[0084] Optionally, when editing the map content of the map to be edited, if the core data of the map type corresponding to the first smart mobile device (i.e., the characters under the core field) does not exist, a conversion exception is prompted, that is, before A12, if it is determined based on the parsing result that the core data of the map type corresponding to the first smart mobile device does not exist (such as the core field does not exist, or, when the core field exists, the characters corresponding to the core field do not exist), a conversion exception is prompted, and if it exists, the description of the data of the above-mentioned map to be edited is converted into a description that matches the map type corresponding to the above-mentioned first smart mobile device. Among them, the core field here includes a field that affects the map display, and optionally, the core field includes at least one of the location point coordinates, the coordinate origin, the virtual wall, the virtual track, and the area (safety area, deceleration area, slope area).

[0085] It should be pointed out that if it is determined based on the analysis results that there is core data of the map type corresponding to the first smart mobile device, but there is no non-core data of the map type corresponding to the first smart mobile device, then the conversion will continue, and the edited map obtained will lack the non-core data. Afterwards, the characters corresponding to the non-core data will not be displayed when the edited map is displayed, but it will not affect the first smart mobile device's use of the edited map for navigation. For example, when the non-core data is a map name, if it is determined that the map name is missing, then when the edited map is displayed, only the map name will not be displayed, but the first smart mobile device can still use the edited map for navigation.

[0086] S13, storing the edited map and recording the storage address of the edited map.

[0087] Specifically, the edited map may be stored locally or in the cloud, and the storage address of the edited map may be recorded. The storage address may be represented by a Uniform Resource Locator (URL) address.

[0088] Optionally, in the above S13, the edited map is compressed before being stored, and the storage address of the compressed package of the edited map is recorded. Since the edited map is compressed before being stored, it is beneficial to save storage space and also beneficial to increase the speed of downloading the compressed package from the storage address.

[0089] Optionally, after obtaining the edited map, the download address of the map image corresponding to the edited map is stored, and the map image corresponding to the edited map can be displayed by accessing the download address later, so as to facilitate user viewing.

[0090] S14, sending the storage address to the first smart mobile device.

[0091] Specifically, the electronic device can communicate directly with the first smart mobile device and directly send the storage address to the first smart mobile device. The electronic device can also communicate with the first smart mobile device through a third party. At this time, the electronic device can first send the storage address to the third party, and then the third party sends the received storage address to the first smart mobile device to realize indirect sending of the storage address.

[0092] In the embodiment of the present application, since the map to be edited is displayed on the visual interface of the electronic device, it is convenient for the user to edit the map to be edited through the electronic device. At the same time, since the electronic device edits the map to be edited, after obtaining the edited map, stores the edited map, and sends the storage address of the edited map to the first smart mobile device, the first smart mobile device can download the edited map according to the storage address to update its configured map. That is, since the user can edit the map on the electronic device side, the map of the first smart mobile device can be edited without following the first smart mobile device, thereby improving the efficiency of map editing.

[0093] Optionally, the map editing method provided in the embodiment of the present application further includes:

[0094] Generate map verification code.

[0095] Correspondingly, the above S14 includes:

[0096] The storage address and the map verification code are sent to the first smart mobile device.

[0097] The map verification code can be used to verify whether the edited map has been tampered with. Specifically, after the first smart mobile device downloads the edited map from the storage address, it can compare its own stored map verification code with the received map verification code. If the two are the same, it indicates that the edited map downloaded by it has not been tampered with.

[0098] Specifically, when the map verification code is related to the data of the map to be edited, the map verification code can be generated according to the edited map, that is, when the data of the map to be edited changes, the corresponding map verification code will usually change. Of course, if the map verification code is not related to the data of the map to be edited, the map verification code can be generated according to other methods, which is not limited here.

[0099] In the embodiment of the present application, since the map verification code is also sent to the first smart mobile device, and the map verification code is used to verify the integrity of the edited map, it is beneficial for the first smart mobile device to subsequently verify the integrity of the edited map it downloads.

[0100] In some embodiments, the smart mobile device to be sent needs to be determined before the edited map can be sent to the determined smart mobile device, that is, before the above S14, the following steps are further included:

[0101] B1. Determine a smart mobile device corresponding to the map to be edited, obtain candidate smart mobile devices, and determine the first smart mobile device from the candidate smart mobile devices.

[0102] Specifically, the map information of the map to be edited is recorded in advance, and the map information includes the map type, the unique identifier of the map, and the information of the smart mobile device using the map to be edited. At this time, the candidate smart mobile device can be determined according to the map information of the map to be edited. Of course, the map information can also include other information, which is not limited here.

[0103] It should be pointed out that the information of the smart mobile device that uses the map to be edited included in the map information is used to indicate the smart mobile device that uses the map to be edited, and can be changed according to actual needs. For example, after editing the map type of the map to be edited, the smart mobile device to which the map to be edited is applicable is modified accordingly.

[0104] Optionally, considering that smart mobile devices are usually purchased by enterprises, and one enterprise usually purchases multiple smart mobile devices, the information of the smart mobile device using the map to be edited can be represented by an enterprise number (the enterprise number corresponds one to one to the enterprise), and then the smart mobile device corresponding to the map to be edited is determined based on the correspondence between the enterprise number and the information of the smart mobile device (such as a serial number or a unique identifier, etc.), so as to more clearly determine the correspondence between the enterprise number and the smart mobile device.

[0105] For example, assuming that the map information is as shown in Table 2 below, the corresponding relationship between the enterprise number and the smart mobile device is as shown in Table 3.

[0106] Table 2:

[0107] Field Name Field Description map_id Map ID map_type Map Type map_name Map Name map_original_url Map compressed package download address map_png_url Map image download address map_md5 Map verification code of map compression package version Map version Enterprise_num Enterprise

[0108] Table 3:

[0109]

[0110] According to the information recorded in Table 2, the enterprise number corresponding to the map to be edited can be determined based on the map ID of the map to be edited, and then the unique identifier of the corresponding smart mobile device can be determined based on the enterprise number in Table 3. The determined unique identifier of the smart mobile device is the above-mentioned candidate smart mobile device.

[0111] Specifically, all candidate smart mobile devices may be determined as the first smart mobile device, or some of the candidate smart mobile devices may be determined as the first smart mobile device, according to actual needs. For example, after determining the enterprise number corresponding to the map to be edited, the electronic device displays the unique identifiers of each smart mobile device under the enterprise number in a drop-down menu, so that the user can quickly select the corresponding first smart mobile device according to the unique identifiers of the displayed smart mobile devices.

[0112] It should be noted that after the candidate smart mobile devices are determined to be the first smart mobile devices, the electronic device will send the storage address, or send the storage address and the map verification code to these first smart mobile devices.

[0113] Since the map type corresponding to the same smart mobile device is fixed, when the first smart mobile device is determined according to the smart mobile device corresponding to the map to be edited, it indicates that there is no need to edit the map type of the map to be edited.

[0114] Or, before the above S14, it also includes:

[0115] B2. Determine a smart mobile device that will use the edited map, and obtain a first smart mobile device.

[0116] Among them, when the smart mobile device determined to use the edited map is not the smart mobile device corresponding to the map to be edited, the map type corresponding to the determined smart mobile device may be different from the map type corresponding to the map to be edited. At this time, when editing the map to be edited, if it is determined that the map type corresponding to the determined smart mobile device is different from the map type corresponding to the map to be edited, the map type needs to be edited.

[0117] In the embodiment of the present application, since the first smart mobile device is first determined according to the edited map before the storage address is sent to the first smart mobile device, the accuracy of the storage address sending can be guaranteed. In addition, since the first smart mobile device can be determined according to the smart mobile device corresponding to the map to be edited, or the first smart mobile device can be determined by the smart mobile device corresponding to the map not to be edited, the flexibility of determining the first smart mobile device is improved, which is also conducive to applying maps of different map types on the same smart mobile device, thereby improving the success rate of the smart mobile device in performing navigation tasks.

[0118] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0119] Corresponding to the map editing method described in the above embodiment, Figure 3 A schematic flow chart of another map editing method provided in an embodiment of the present application is shown, and the map editing method is applied to a first intelligent mobile device, wherein the first intelligent mobile device may be a mobile device with a human shape or a mobile device without a human shape.

[0120] S31, receiving a storage address of an edited map sent by an electronic device, wherein the edited map is a map obtained by editing the map content and / or map type of the map to be edited.

[0121] Specifically, the first smart mobile device can communicate directly with the electronic device and directly receive the storage address sent by the electronic device; the first smart mobile device can also communicate with the electronic device through a third party. In this case, the first smart mobile device will indirectly receive the storage address forwarded by the electronic device through the third party.

[0122] S32, downloading the corresponding map from the above storage address.

[0123] Specifically, if the edited map is an uncompressed map, the downloaded map is the data of the uncompressed map; if the edited map is a compressed map, the downloaded map is a compressed map package of the compressed map. At this time, the corresponding data needs to be decompressed from the compressed map package first.

[0124] S33, updating the map according to the downloaded map.

[0125] Specifically, if the first smart mobile device does not store a map, the downloaded map is directly stored; if the first smart mobile device has stored a map, the stored map is updated according to the downloaded map.

[0126] In the embodiment of the present application, since the first smart mobile device can download the corresponding map from the received storage address to update the map, the map update can be achieved without editing on the first smart mobile device, thereby improving the map editing efficiency.

[0127] In some embodiments, the above S31 includes:

[0128] Receiving the storage address of the edited map and the map verification code sent by the electronic device;

[0129] Compare its own stored map verification code with the received map verification code;

[0130] Correspondingly, the above S32 includes:

[0131] When the map verification code stored in the first smart mobile device itself is consistent with the received map verification code, the corresponding map is downloaded from the storage address.

[0132] Among them, the map verification code is used to verify the integrity of the edited map.

[0133] In the embodiment of the present application, since the first intelligent mobile device downloads the corresponding map from the storage address only when it determines that the map verification code stored in itself is consistent with the received map verification code, and when the map verification code stored in itself is consistent with the received map verification code, it indicates that the map stored in the storage address is complete. Therefore, downloading the map in this case is conducive to improving the integrity of the obtained map (i.e., the edited map).

[0134] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0135] Figure 4 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 4 As shown, the electronic device 4 of this embodiment includes: at least one processor 40 ( Figure 4 Only one processor is shown in the figure), a memory 41, and a computer program 42 stored in the above-mentioned memory 41 and executable on the above-mentioned at least one processor 40, wherein the above-mentioned processor 40 implements the steps in any of the above-mentioned method embodiments when executing the above-mentioned computer program 42.

[0136] The electronic device 4 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will appreciate that Figure 4 It is only an example of the electronic device 4 and does not constitute a limitation on the electronic device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0137] The processor 40 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0138] In some embodiments, the memory 41 may be an internal storage unit of the electronic device 4, such as a hard disk or memory of the electronic device 4. In other embodiments, the memory 41 may also be an external storage device of the electronic device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. Further, the memory 41 may include both an internal storage unit and an external storage device of the electronic device 4. The memory 41 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 41 may also be used to temporarily store data that has been output or is to be output.

[0139] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0140] An embodiment of the present application also provides a network device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor implements the steps of any of the above method embodiments when executing the computer program.

[0141] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0142] An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0143] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code can be in source code form, object code form, executable file or some intermediate form. The above-mentioned computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / electronic device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0144] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0145] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0146] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0147] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0148] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A map editing method, It is characterized in that Applied to an electronic device, the electronic device includes a visual interface, and the map editing method includes: Displaying the map to be edited on the visual interface; Editing the map content and / or map type of the map to be edited to obtain an edited map; Storing the edited map and recording the storage address of the edited map; The storage address is sent to the first smart mobile device.

2. The map editing method according to claim 1, It is characterized in that Editing the map content of the map to be edited includes: The position points and / or tracks and / or virtual walls and / or resolutions and / or area types and / or noise points of the map to be edited are edited to obtain an edited map.

3. The map editing method according to claim 1, It is characterized in that The step of editing the map content and / or the map type of the map to be edited to obtain the edited map includes: In the case where the map type of the map to be edited is different from the map type corresponding to the first smart mobile device, the map type of the map to be edited is edited, or the map type and map content of the map to be edited are edited to obtain an edited map, wherein the map type of the edited map is the same as the map type corresponding to the first smart mobile device; When the map type of the map to be edited is the same as the map type corresponding to the first smart mobile device, the map content of the map to be edited is edited to obtain an edited map.

4. The map editing method according to claim 3, It is characterized in that The editing of the map type of the map to be edited includes: Parsing the map to be edited according to the map type of the map to be edited, and obtaining a parsing result including a correspondence relationship between field names, field descriptions, and characters; According to the field description in the parsing result and the field description of the map type corresponding to the first smart mobile device, the field name in the parsing result is converted into a field name that matches the map type corresponding to the first smart mobile device, and a correspondence between the characters in the parsing result and the converted field name is established.

5. The map editing method according to any one of claims 1 to 4, It is characterized in that Before sending the storage address to the first smart mobile device, the method further includes: Determine a smart mobile device corresponding to the map to be edited, obtain candidate smart mobile devices, and determine the first smart mobile device from the candidate smart mobile devices; or, A smart mobile device that will use the edited map is determined to obtain the first smart mobile device.

6. A map editing method according to any one of claims 1 to 4, It is characterized in that Also includes: Generate map verification code; The sending the storage address to the first smart mobile device includes: The storage address and the map verification code are sent to the first smart mobile device.

7. A map editing method according to any one of claims 1 to 4, It is characterized in that Before displaying the map to be edited on the visual interface, the method further includes: Determine the map sent by the second smart mobile device as the map to be edited; or, The stored map is determined as the map to be edited.

8. A map editing method, It is characterized in that Applied to a first intelligent mobile device, the map editing method comprises: Receiving a storage address of an edited map sent by an electronic device, wherein the edited map is a map obtained after editing the map content and / or map type of the map to be edited; Download the corresponding map from the storage address; Update the map based on the downloaded map.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented; or when the computer program is executed, the method according to claim 8 is implemented.

Citation Information

Patent Citations

  • Visual map editing method and device

    CN110309239A

  • Map editing method, device, mobile platform and storage medium

    CN110399443A

  • Map editing method, system, equipment and medium

    CN116304164A

  • Map updating method and device

    CN118227719A