Map display methods, devices, electronic equipment and storage media
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2024-12-30
- Publication Date
- 2026-06-30
AI Technical Summary
When network quality is poor, the real-time transmission of the mobile robot's grid map and movement trajectory to the terminal device causes display lag, inaccuracies, and untimely updates, affecting the user experience.
By retrieving the first map from the server and updating the map with incremental information every second interval, a periodic incremental approach is adopted to reduce network resource consumption and ensure timely updates and accurate display.
When network quality is poor, the map can be updated and displayed accurately in a timely manner, improving user experience and saving network resources.
Smart Images

Figure CN122308976A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of smart device technology, and in particular to a map display method, apparatus, electronic device and storage medium. Background Technology
[0002] With the rapid development of artificial intelligence and Laser Direct Structuring (LDS) technology, mobile robots are increasingly used in daily life. Mobile robots typically use LDS technology to build grid maps and generate movement trajectories, which are then sent to terminal devices in real time for users to view and manage. However, sending the grid map and movement trajectory to the terminal device in real time consumes significant network resources. Therefore, when network quality is poor, the terminal device is prone to display lag, inaccurate displays, and untimely updates, negatively impacting the user experience. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this disclosure provides a map display method, apparatus, electronic device, and storage medium.
[0004] According to a first aspect of the present disclosure, a map display method is provided, the method comprising:
[0005] The first map is obtained from the server and displayed. The first map is sent to the server by the second device at first intervals. The first map is used to show the movement path of the second device in the current area map when the first map is sent.
[0006] The second device retrieves incremental information of the first map from the server at every second time interval, and updates the first map based on the incremental information to obtain the updated first map. The incremental information is sent from the second device to the server. The incremental information is the newly added movement path within the current second time interval, and the second time interval is shorter than the first time interval.
[0007] Whenever the updated first map is obtained, the updated first map is displayed.
[0008] In one exemplary embodiment, obtaining the first map from the server includes:
[0009] In response to receiving an update instruction sent by the server, the first map is retrieved from the server. The update instruction is used to instruct the first device to retrieve the first map. The update instruction is sent to the server by the second device after sending the first map to the server.
[0010] In one exemplary embodiment, obtaining the first map from the server includes:
[0011] Send a first request message to the server. The first request message is information sent by the first device to request the acquisition of a first resource positioning system. The first resource positioning system is used to indicate the storage location of the first map.
[0012] Receive the first resource location system sent by the server;
[0013] Based on the first resource positioning system, a second request message is sent to the server. The second request message is information sent by the first device to request the acquisition of the first map.
[0014] Based on the first resource location system, the system receives the first map sent by the server.
[0015] In an exemplary embodiment, obtaining incremental information of the first map from the server includes:
[0016] A third request message is sent to the server so that the server forwards the third request message to the second device. The third request message is information sent by the first device to request the acquisition of the incremental information.
[0017] Receive the incremental information sent by the server.
[0018] In an exemplary embodiment, updating the first map based on the incremental information to obtain the updated first map includes:
[0019] If the incremental information is at least one location information, based on the at least one location information, add location points to the movement path in the first map to obtain the updated first map;
[0020] The location point refers to the additional location point on the movement path when obtaining the incremental information from the server compared to the movement path in the first map.
[0021] In one exemplary embodiment, the method further includes:
[0022] In response to receiving a termination command from the server, the acquisition of incremental information is stopped. The termination command is used to indicate that the mobile task of the second device has ended, and the termination command is sent by the second device to the server.
[0023] In one exemplary embodiment, the method further includes:
[0024] In response to receiving a viewing instruction for the second map, the second map is retrieved from the server. The second map is sent to the server by the second device when the mobile task ends or restarts. The second map is used to display at least one area map.
[0025] The second map is displayed.
[0026] In one exemplary embodiment, obtaining the second map from the server includes:
[0027] If the second device is performing a mobile task and obtains the first map from the server, it uses the first map as the second map.
[0028] If the second device does not perform a movement task, it retrieves the second map from the server.
[0029] In one exemplary embodiment, the step of obtaining the second map from the server if the second device does not perform a movement task includes:
[0030] If the second device does not perform a movement task, it sends a fourth request message to the server. The fourth request message is information sent by the first device to request the acquisition of a second resource positioning system. The second resource positioning system is used to indicate the storage location of the second map.
[0031] Receive the second resource location system sent by the server;
[0032] Based on the second resource positioning system, a fifth request message is sent to the server. The fifth request message is information sent by the first device to request the acquisition of the second map.
[0033] Based on the second resource location system, the system receives the second map sent by the server.
[0034] In an exemplary embodiment, if the first map is obtained from the server at any time during the current second time period, the incremental information is a newly added movement path within a third time period, and the third time period is the duration between the time when the first map was obtained during the current second time period and the current time.
[0035] According to a second aspect of the present disclosure, a map display method is provided, the method comprising:
[0036] At a first time interval, the first device sends a first map to the server so that the first device can obtain the first map from the server. The first map is used to show the movement path of the second device in the current area map when the second device sends the first map.
[0037] The incremental information of the first map is sent to the server so that the server forwards the incremental information to the first device. The incremental information is obtained by the first device from the server every second time interval. The incremental information is the newly added movement path within the current second time interval, and the second time interval is shorter than the first time interval.
[0038] In one exemplary embodiment, after sending the first map to the server, the method further includes:
[0039] An update instruction is sent to the server so that the server forwards the update instruction to the first device, and the update instruction is used to instruct the first device to obtain the first map.
[0040] In one exemplary embodiment, sending the first map to the server includes:
[0041] A sixth request message is sent to the server. The sixth request message is information sent by the second device to request the acquisition of the first resource positioning system, which is used to indicate the storage location of the first map.
[0042] Receive the first resource location system sent by the server;
[0043] Based on the first resource location system, the first map is sent to the server.
[0044] In an exemplary embodiment, sending the incremental information of the first map to the server includes:
[0045] In response to receiving a third request message from the server, the incremental information is sent to the server, wherein the third request message is information sent by the first device to request the acquisition of the incremental information.
[0046] In an exemplary embodiment, when sending the incremental information to the server, the method further includes:
[0047] If the current movement path is the same as the movement path when the incremental information was last sent to the server, the incremental information is empty.
[0048] If the current movement path is different from the movement path when the incremental information was last sent to the server, the incremental information is at least one location information, which is information about the number of location points added to the current movement path compared to the movement path when the incremental information was last sent to the server.
[0049] In one exemplary embodiment, the method further includes:
[0050] When the movement task ends, stop sending the first map to the server;
[0051] A termination command is sent to the server so that the server forwards the termination command to the first device. The termination command is used to indicate that the mobile task of the second device has ended.
[0052] In one exemplary embodiment, the method further includes:
[0053] When the mobile task ends or restarts, a second map is sent to the server so that the first device can obtain the second map from the server. The second map is used to display at least one area map.
[0054] In one exemplary embodiment, sending the second map to the server includes:
[0055] A seventh request message is sent to the server. The seventh request message is information sent by the second device to request the acquisition of the second resource positioning system, which is used to indicate the storage location of the second map.
[0056] Receive the second resource location system sent by the server;
[0057] Based on the second resource location system, the second map is sent to the server.
[0058] In an exemplary embodiment, if the first map is sent to the server at any time within a preset time period, the incremental information is a newly added movement path within a third time period, the third time period is the duration between the time when the first map is sent to the server within the preset time period and the current time, and the preset time period is the interval between two consecutive times the incremental information is sent to the server.
[0059] According to a third aspect of the present disclosure, a map display method is provided, the method comprising:
[0060] Receive a first map sent by a second device, the first map being sent by the second device at first intervals, the first map being used to show the movement path of the second device in the current area map when the first map is sent;
[0061] Send the first map to the first device;
[0062] In response to receiving incremental information of the first map sent by the second device, the incremental information is forwarded to the first device. The incremental information is obtained by the first device every second time interval. The incremental information is the newly added movement path within the current second time interval, and the second time interval is shorter than the first time interval.
[0063] In one exemplary embodiment, after receiving the first map sent by the second device, the method further includes:
[0064] In response to receiving an update instruction sent by the second device, the update instruction is forwarded to the first device, the update instruction being used to instruct the first device to acquire the first map.
[0065] In one exemplary embodiment, receiving the first map sent by the second device includes:
[0066] In response to receiving a sixth request message, a first resource location system is generated, wherein the sixth request message is information sent by the second device to request the acquisition of the first resource location system, and the first resource location system is used to indicate the storage location of the first map;
[0067] Send the first resource location system to the second device;
[0068] Based on the first resource positioning system, the system receives the first map sent by the second device.
[0069] In one exemplary embodiment, sending the first map to the first device includes:
[0070] In response to receiving a first request message, a first resource location system is sent to the first device. The first request message is information sent by the first device to request the acquisition of the first resource location system, and the first resource location system is used to indicate the storage location of the first map.
[0071] Based on the first resource positioning system, in response to receiving the second request information, the first map is sent to the first device, wherein the second request information is information sent by the first device to request the acquisition of the first map.
[0072] In an exemplary embodiment, forwarding the incremental information to the first device in response to receiving incremental information of the first map sent by the second device includes:
[0073] In response to receiving a third request message, the third request message is forwarded to the second device, wherein the third request message is information sent by the first device to request the acquisition of the incremental information;
[0074] In response to receiving the incremental information sent by the second device, the incremental information is forwarded to the first device.
[0075] In one exemplary embodiment, the method further includes:
[0076] In response to receiving an end command sent by the second device, the end command is forwarded to the first device, the end command being used to indicate that the mobile task of the second device has ended.
[0077] In one exemplary embodiment, the method further includes:
[0078] Receive a second map sent by the second device, the second map being used to display at least one area map;
[0079] Send the second map to the first device.
[0080] In one exemplary embodiment, receiving the second map sent by the second device includes:
[0081] In response to receiving a seventh request message, a second resource positioning system is generated, wherein the seventh request message is information sent by the second device to request the acquisition of the second resource positioning system, and the second resource positioning system is used to indicate the storage location of the second map;
[0082] Send the second resource location system to the second device;
[0083] Based on the second resource positioning system, the second map sent by the second device is received.
[0084] In an exemplary embodiment, sending the second map to the first device includes:
[0085] In response to receiving a fourth request message, a second resource location system is sent to the first device. The fourth request message is information sent by the first device to request the acquisition of the second resource location system, and the second resource location system is used to indicate the storage location of the second map.
[0086] Based on the second resource positioning system, in response to receiving the fifth request information, the second map is sent to the first device, wherein the fifth request information is information sent by the first device to request the acquisition of the second map.
[0087] In an exemplary embodiment, if the first map sent by the second device is received at any time within a preset time period, the incremental information is a newly added movement path within a third time period, the third time period is the time between the time when the first map sent by the second device is received within the preset time period and the current time, and the preset time period is the interval between two consecutive times the incremental information sent by the second device is received.
[0088] According to a fourth aspect of the present disclosure, a map display device is provided, the device comprising:
[0089] The first acquisition module is configured to acquire a first map from a server. The first map is sent to the server by the second device at a first time interval. The first map is used to show the movement path of the second device in the current area map when the second device sends the first map.
[0090] The second acquisition module is configured to acquire incremental information of the first map from the server at second intervals, and update the first map based on the incremental information to obtain the updated first map. The incremental information is sent to the server by the second device. The incremental information is the newly added movement path within the current second interval, and the second interval is shorter than the first interval.
[0091] The display module is configured to display the first map whenever the first map is obtained, and to display the updated first map whenever the updated first map is obtained.
[0092] According to a fifth aspect of the present disclosure, a map display device is provided, the device comprising:
[0093] The first sending module is configured to send a first map to the server at a first time interval, so that the first device can obtain the first map from the server. The first map is used to show the movement path of the second device in the current area map when the second device sends the first map.
[0094] The second sending module is configured to send incremental information of the first map to the server, so that the server forwards the incremental information to the first device. The incremental information is obtained by the first device from the server every second time interval. The incremental information is the newly added movement path within the current second time interval, and the second time interval is shorter than the first time interval.
[0095] According to a sixth aspect of the present disclosure, a map display device is provided, the device comprising:
[0096] The receiving module is configured to receive a first map sent by a second device. The first map is sent by the second device at first intervals. The first map is used to show the movement path of the second device in the current area map when the second device sends the first map.
[0097] The sending module is configured to send the first map to the first device; in response to receiving incremental information of the first map sent by the second device, forwarding the incremental information to the first device, wherein the incremental information is acquired by the first device at second intervals, and the incremental information is the newly added movement path within the current second interval, wherein the second interval is shorter than the first interval.
[0098] According to a seventh aspect of the present disclosure, an electronic device is provided, comprising:
[0099] processor;
[0100] Memory used to store processor-executable instructions;
[0101] The processor is configured to perform the methods described in the first, second, or third aspects of the embodiments of this disclosure.
[0102] According to an eighth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method described in the first, second, or third aspect of the present disclosure.
[0103] The method described above has the following advantages: the first map is the movement path of the second device in the regional map, and the first device updates the first map in a periodic incremental manner after acquiring the first map, which can save a lot of network resources, ensure timely updates of the first map, and ensure real-time and accurate display of the first map. Especially when the network quality is poor, the first device can also update the first map in a timely manner and display it in real time and accurately, thereby improving the user experience.
[0104] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0105] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0106] Figure 1 This is a flowchart illustrating a map display method according to an exemplary embodiment;
[0107] Figure 2 This is a flowchart illustrating a map display method according to an exemplary embodiment;
[0108] Figure 3 This is a flowchart illustrating a map display method according to an exemplary embodiment;
[0109] Figure 4 This is a flowchart illustrating a map display method according to an exemplary embodiment;
[0110] Figure 5 This is a flowchart illustrating a map display method according to an exemplary embodiment;
[0111] Figure 6 This is a flowchart illustrating a map display method according to an exemplary embodiment;
[0112] Figure 7 This is a flowchart illustrating a map display method according to an exemplary embodiment;
[0113] Figure 8 This is a flowchart illustrating a map display method according to an exemplary embodiment;
[0114] Figure 9 This is a flowchart illustrating a map display method according to an exemplary embodiment;
[0115] Figure 10 This is an interactive flowchart illustrating a map display method according to an exemplary embodiment;
[0116] Figure 11 This is an interactive flowchart illustrating a map display method according to an exemplary embodiment;
[0117] Figure 12 This is an interactive flowchart illustrating a map display method according to an exemplary embodiment;
[0118] Figure 13 This is a block diagram illustrating a map display device according to an exemplary embodiment;
[0119] Figure 14 This is a block diagram illustrating a map display device according to an exemplary embodiment;
[0120] Figure 15 This is a block diagram illustrating a map display device according to an exemplary embodiment;
[0121] Figure 16 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0122] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0123] In the exemplary embodiments of this disclosure, to overcome the problems of lag, inaccuracy, and untimely updates in the display of raster maps and movement trajectories on terminal devices in related technologies, a map display method is provided, applied to a first device, comprising: obtaining a first map from a server and displaying the first map, wherein the first map is sent to the server by a second device at first intervals, and the first map is used to display the movement path of the second device in the current area map when the first map is sent; obtaining incremental information of the first map from the server at second intervals, and updating the first map based on the incremental information to obtain an updated first map, wherein the incremental information is sent to the server by the second device, and the incremental information is the newly added movement path within the current second interval, and the second interval is shorter than the first interval. In this method, the first map is the movement path of the second device in the area map, and the first device updates the first map periodically and incrementally after obtaining the first map, which can save a lot of network resources, ensure timely updates of the first map, and ensure real-time and accurate display of the first map, especially when the network quality is poor, the first device can also update the first map in a timely manner and display it in real time and accurately, thereby improving the user experience.
[0124] In an exemplary embodiment of this disclosure, a map display method is provided, which is applied to a first device, including electronic devices such as smartphones, tablets, personal computers, smart screens, smart TVs, smart wearable devices, and smart vehicle systems. Figure 1 This is a flowchart illustrating a map display method according to an exemplary embodiment. Figure 1 ,like Figure 1 As shown, the process includes the following steps S101-S103:
[0125] Step S101: Obtain the first map from the server and display the first map. The first map is sent to the server by the second device at first intervals. The first map is used to show the movement path of the second device in the current area map when sending the first map.
[0126] The second device is a mobile robot, such as a cleaning robot, an assistive robot, a delivery robot, or a medical robot. The area map represents the grid map corresponding to the movement area of the second device. The number of area maps and the quantity of each area map are set by the user and stored in the electronic device; for example, one area map per household or one area map per room. The current area map represents the grid map corresponding to the area where the mobile robot is currently located. For example, if the cleaning robot is currently in room 1, then the grid map of room 1 is the current area map. The first map is the movement path within the current area map, that is, the movement path marked in the current area map, and the movement path is relative to the current area map. Optionally, the first map can also be called the homepage map.
[0127] When the second device performs a movement task, such as a cleaning or delivery task, it sends a first map to the server at regular intervals of a preset duration, such as 10 seconds. Optionally, a timer of the same duration can be set in the second device, and the first map is sent to the server when the timer expires. The first map displays the movement path of the second device in the current area map when it sends the first map. The movement path when the second device sends the first map represents the movement path of the second device during the time period from the start of the movement task to the current sending of the first map. Therefore, each first map sent by the second device is the latest first map. The movement paths in the first maps sent by the second device at different times may be the same or different, depending on the actual movement. The movement path is composed of multiple movement location points connected together, and the movement path is marked in the current area map. Therefore, each movement location point in the movement path represents a relative position point in the current area map.
[0128] In one example, the start time of the second device's movement task is recorded as second 0, and the first duration is 10 seconds. Then, at second 0, the second device sends the first map corresponding to second 0, and the movement path in the first map only includes the location of the second device; at second 10, the second device sends the first map corresponding to second 10, and the movement path in the first map is the movement path within the time period from second 0 to second 10; at second 20, the second device sends the first map corresponding to second 20, and the movement path in the first map is the movement path within the time period from second 0 to second 20, and so on.
[0129] Each time the second device sends the first map to the server, the first device retrieves the first map from the server and displays the retrieved first map in the map management application or application service corresponding to the second device, so that the user can view the movement progress of the second device in real time.
[0130] In some implementations, in response to receiving an indication message for a first duration, a first map is retrieved from the server at intervals of the first duration.
[0131] The second device sends the first duration of instruction information to the server, which then forwards the instruction information to the first device. After receiving the first duration of instruction information, the first device retrieves the first map from the server at intervals of the first duration. In this embodiment, retrieving the first map from the server at intervals after receiving the first duration of instruction information ensures timely and accurate acquisition of the latest first map from the server, while avoiding the waste of network resources caused by retrieving the first map from the server in real time.
[0132] In some implementations, in response to receiving an update instruction from the server, a first map is obtained from the server. The update instruction is used to instruct the first device to obtain the first map. The update instruction is sent to the server by the second device after sending the first map to the server.
[0133] Each time the second device sends the first map to the server, it sends an update command to the server, instructing the first device to update the first map. The server then forwards the update command to the first device. Upon receiving the update command from the server, the first device retrieves the first map from the server. Retrieving the first map from the server upon receiving the update command ensures timely access to the latest first map and avoids the network resource waste caused by constantly retrieving the first map from the server.
[0134] Step S102: At every second time interval, incremental information of the first map is obtained from the server, and the first map is updated based on the incremental information to obtain the updated first map. The incremental information is sent to the server by the second device. The incremental information is the newly added movement path within the current second time interval. The second time interval is shorter than the first time interval.
[0135] The second duration is a preset duration. The shorter the second duration, the higher the update frequency of the first map, and the more real-time and accurate the first map is. For example, the second duration is 2 seconds. Optionally, a timer with the second duration can be set in the first device. Incremental information is obtained from the server when the timer expires. The first device obtains incremental information of the first map from the server every second duration. The incremental information is obtained by the server from the second device. The first map is the most recently obtained first map by the first device from the server. The current second duration represents the second duration before the current acquisition of incremental information from the server. The incremental information is the newly added movement path in the first map when the incremental information is obtained from the server this time compared to the movement path in the first map when the incremental information is obtained from the server last time, or the newly added movement path in the first map when the incremental information is obtained from the server this time compared to the movement path in the first map when the incremental information is obtained from the server last time. That is, the movement path of the second device in the time period from the last acquisition of incremental information from the server to the current acquisition of incremental information from the server, or the movement path of the second device in the time period from the most recent acquisition of the first map from the server to the current acquisition of incremental information from the server. For example, the first device obtains incremental information from the server once in the 2nd second and once in the 4th second. The incremental information obtained from the server in the 4th second is the newly added movement path during the time period from the 2nd second to the 4th second. That is, the newly added movement path in the first map corresponding to the 4th second compared to the movement path in the first map corresponding to the 2nd second, that is, the movement path of the second device during the time period from the 2nd second to the 4th second.
[0136] After each incremental information is obtained from the server, the newly added movement paths in the incremental information are added to the first map. This first map is the most recently obtained first map from the server by the first device, resulting in an updated first map. Obtaining incremental information from the server every second time interval ensures that the movement paths in each updated first map are displayed smoothly, avoiding abrupt changes.
[0137] In some implementations, if the time of acquiring incremental information is the same as the time of acquiring the first map, then only the first map is acquired, skipping the acquisition of incremental information, and the next incremental information acquired is based on the incremental information of the first map acquired this time. This implementation can avoid repeatedly updating the first map.
[0138] In some implementations, if the first map is obtained from the server at any time during the current second time period, the incremental information is the newly added movement path within the third time period, and the third time period is the duration between the time when the first map was obtained within the current second time period and the current time.
[0139] Since the second device sends the first map to the server at first intervals, the first device can also retrieve the first map from the server at first intervals. Therefore, within the current second interval, there may be one retrieval of the first map. If the first map is retrieved from the server at any time within the current second interval, the incremental information is the newly added movement path within the time interval between the time when the first map was retrieved and the current time. For example, if the first interval is 10 seconds, the second interval is 3 seconds, and the second device starts executing the movement task at second 0, then the first device retrieves incremental information at second 9 and second 12. There is one retrieval of the first map between second 9 and second 12, i.e., at second 10. If the current second interval is from second 9 to second 12, then the incremental information retrieved at second 12 is the newly added movement path within the time interval from second 10 to second 12. This implementation can avoid retrieving duplicate incremental information and ensure that incremental information is minimized, saving network resources.
[0140] The second duration is shorter than the first duration, indicating that the first device acquires incremental information within the period during which the second device sends the first map to the server. This means that after acquiring the first map, the first device continuously updates the first map incrementally before acquiring it again, which can ensure the accuracy of the first map while reducing the network resources required to update it.
[0141] Step S103: Whenever the updated first map is obtained, display the updated first map.
[0142] Each time an updated first map is obtained, the first device displays the updated first map in the map management application or application service corresponding to the second device.
[0143] In an exemplary embodiment of this disclosure, after the second device sends the first map to the server at a first time interval, the first device retrieves the first map from the server and displays it. After displaying the first map, the first device retrieves incremental information of the first map from the server at a second time interval and updates the first map based on the incremental information to obtain an updated first map. Each time an updated first map is obtained, it is then displayed. This method, where the first device updates the first map periodically and incrementally after retrieval, saves significant network resources compared to related technologies where the first device retrieves the first map in real time. It ensures timely updates of the first map and guarantees real-time and accurate display, especially when network quality is poor, thereby improving the user experience. Furthermore, compared to related technologies where the second device sends the movement path and area map to the server separately, and the first device obtains the separate movement path and area map from the server, and then combines the movement path and area map for display, in this embodiment, the second device marks the movement path on the area map to form the first map, and sends the first map directly to the server, so that the first device can directly obtain the first map from the server. This can save network resources and quickly display the first map on the first device, ensuring real-time display of the first map.
[0144] In an exemplary embodiment of this disclosure, a map display method is provided, applied to a first device. Figure 2 This is a flowchart illustrating a map display method according to an exemplary embodiment, such as... Figure 2 As shown, the process includes the following steps S201-S209:
[0145] Step S201: Send a first request message to the server. The first request message is information sent by the first device to request the acquisition of the first resource positioning system. The first resource positioning system is used to indicate the storage location of the first map.
[0146] The first resource location system is a Uniform Resource Locator (URL) used to indicate the storage location of the first map in the network. The first device sends a first request message to the server, which carries the device identifier of the first device and is used to request the acquisition of the first resource location system.
[0147] Step S202: Receive the first resource location system sent by the server.
[0148] After receiving the first request information sent by the first device, the server responds to the first request information by sending the first resource location system to the first device, and the first device receives the first resource location system sent by the server.
[0149] Step S203: Based on the first resource positioning system, send a second request message to the server. The second request message is information sent by the first device to request the acquisition of the first map.
[0150] The first device sends a second request to the server through the first resource positioning system to request the acquisition of the first map.
[0151] Step S204: Based on the first resource positioning system, receive the first map sent by the server and display the first map.
[0152] After receiving the second request information sent by the first device, the server responds to the second request information by sending the first map to the first device through the first resource positioning system. The first device receives the first map and displays it.
[0153] Step S205: At every second time interval, a third request message is sent to the server so that the server forwards the third request message to the second device. The third request message is the message sent by the first device to request incremental information.
[0154] Every second time interval, the first device sends a third request to the server to request incremental information from the second device. After receiving the third request, the server forwards the third request to the second device.
[0155] Step S206: Receive incremental information sent by the server.
[0156] After receiving the third request information, the second device determines the incremental information based on the current changes in the movement path, sends the incremental information to the server, and then the server forwards the incremental information to the first device, which receives the incremental information sent by the server.
[0157] Step S207: If the incremental information is at least one location information, add a location point to the movement path in the first map based on the at least one location information to obtain an updated first map; wherein, the location point is the location point added to the movement path in the first map compared to the movement path when obtaining incremental information from the server.
[0158] Location information represents the coordinates of the second device's mobile location within the current area map. This coordinates are determined by the second device using positioning technology, such as Simultaneous Localization and Mapping (SLAM). Each location information corresponds to one mobile location, and the number of location information entries is determined by the actual movement of the second device. If the incremental information consists of at least one location, it indicates that the second device's movement path has increased. The first device determines at least one location point in the current area map based on this incremental information. Each location point represents the increase in the second device's movement path compared to its movement path in the first map when the incremental information is obtained from the server. This at least one location point is added to the first map, and then connected to the original movement path in the first map to obtain an updated first map. If the incremental information is empty, it indicates that the second device's movement path has not increased, and therefore, there is no need to update the first map.
[0159] Step S208: Whenever the updated first map is obtained, display the updated first map.
[0160] Each time the first device obtains an updated first map, it displays the updated first map in the map management application or application service corresponding to the second device.
[0161] Step S209: In response to receiving the termination command sent by the server, stop acquiring incremental information. The termination command is used to indicate that the second device's mobile task has ended, and the termination command is sent by the second device to the server.
[0162] When the second device finishes its mobile task, such as when a cleaning or delivery task ends, it sends an end command to the server to indicate that the mobile task of the second device has ended. When the server receives the end command, it forwards the end command to the first device. When the first device receives the end command, it determines that the mobile task of the second device has ended and there is no need to update the first map anymore. Therefore, it stops acquiring incremental information. At the same time, the second device will also stop sending the first map to the server when the mobile task ends, and the first device will also stop acquiring the first map from the server.
[0163] In this embodiment, a first map is formed by the movement path and the area map. The first device can directly obtain the first map from the server and subsequently update the first map in a periodic incremental manner, which can save network resources, ensure timely updates of the first map, and display the first map in real time and accurately.
[0164] In an exemplary embodiment of this disclosure, a map display method is provided, applied to a first device. Figure 3This is a flowchart illustrating a map display method according to an exemplary embodiment, such as... Figure 3 As shown, the steps S304-S305 are included:
[0165] Step S301: Obtain the first map from the server and display the first map. The first map is sent to the server by the second device at first intervals. The first map is used to show the movement path of the second device in the current area map when the first map is sent.
[0166] Step S302: At every second time interval, incremental information of the first map is obtained from the server, and the first map is updated based on the incremental information to obtain the updated first map. The incremental information is sent to the server by the second device. The incremental information is the newly added movement path within the current second time interval. The second time interval is shorter than the first time interval.
[0167] Step S303: Whenever the updated first map is obtained, display the updated first map.
[0168] For specific implementation methods of steps S301-S303, please refer to steps S101-S103 or steps S201-S209.
[0169] Step S304: In response to receiving a viewing instruction for the second map, the second map is retrieved from the server. The second map is sent to the server by the second device when the mobile task ends or restarts. The second map is used to display at least one area map.
[0170] The second map is a list of raster maps stored in the first device, used to display at least one area map. Each area map represents a raster map corresponding to a mobile area of the second device. The number of area maps and the quantity of each area map are set by the user and stored in the electronic device; for example, one area map per household or one area map per room. Optionally, the second map can also be called a persistent map or a static map. The second device sends the second map to the server when the mobile task ends or restarts. This allows for updating the area maps during the mobile task and sending the updated area maps to the server to update the second map. It also sends area maps to the server upon restart or when no area maps are updated, ensuring that the second map list on the server is up-to-date. When the first device receives a user's command to view the corresponding second map, it retrieves the second map from the server so that the user can view the area map list.
[0171] In some implementations, since the second device may have completed its movement task or not when the first device receives the viewing instruction, the first device obtaining the second map from the server includes the following two scenarios:
[0172] The first option is that if the second device is performing a mobile task, it obtains the first map from the server and uses the first map as the second map.
[0173] If the second device is performing a mobile task, such as cleaning or delivery, it obtains a first map from the server and uses it as the second map. The specific implementation of obtaining the first map is described in steps S201-S204, and will not be repeated here. In some implementations, after obtaining the first map, the area map and the movement path in the first map are separated; that is, the movement path is deleted from the first map, and the separated area map is used as the second map.
[0174] The second method involves obtaining a second map from the server if the second device does not perform a movement task.
[0175] In some implementations, obtaining a second map from a server includes the following steps:
[0176] If the second device does not perform the movement task, it sends a fourth request message to the server. The fourth request message is information sent by the first device to request the second resource positioning system. The second resource positioning system is used to indicate the storage location of the second map.
[0177] The second resource location system received by the server;
[0178] Based on the second resource positioning system, a fifth request message is sent to the server. The fifth request message is information sent by the first device to request the acquisition of the second map.
[0179] Based on the second resource positioning system, a second map is received from the server.
[0180] The second resource location system is a URL used to indicate the storage location of the second map on the network. The first device sends a fourth request message to the server, which carries the device identifier of the first device and is used to request the second resource location system. After receiving the fourth request message from the first device, the server responds by sending the second resource location system to the first device, and the first device receives the second resource location system sent by the server. The first device then sends a fifth request message to the server through the second resource location system to request the second map. After receiving the fifth request message from the first device, the server responds by sending the second map to the first device through the second resource location system, and the first device receives the second map.
[0181] Step S305: Display the second map.
[0182] After obtaining the second map, the first device displays the second map in the map management application or application service corresponding to the second device.
[0183] In this embodiment, the second device sends the second map to the server when the movement task ends or restarts, and the first device retrieves the second map from the server when it receives the viewing instruction. This ensures that the second map is the latest version and thus ensures that the second map is displayed correctly. Furthermore, compared to related technologies where the second device sends the area map, movement path, and second map to the server simultaneously and the server then sends them to the first device, this embodiment saves a significant amount of network resources by transmitting the first and second maps in a time-sharing manner.
[0184] In an exemplary embodiment of this disclosure, a map display method is provided, which is applied to a second device, such as a mobile robot, a cleaning robot, a disability assistance robot, a delivery robot, a medical robot, etc. Figure 4 This is a flowchart illustrating a map display method according to an exemplary embodiment, such as... Figure 4 As shown, the process includes the following steps S401-S402:
[0185] Step S401: Send a first map to the server at first intervals of a first time duration so that the first device can obtain the first map from the server. The first map is used to show the movement path of the second device in the current area map when the first map is sent.
[0186] In some implementations, a first duration indication is sent to the first device so that the first device retrieves the first map from the server at first duration intervals.
[0187] In some implementations, an update instruction is sent to a server so that the server forwards the update instruction to the first device, and the update instruction is used to instruct the first device to obtain a first map.
[0188] For a detailed implementation of step S401, please refer to step S101, and it will not be repeated here.
[0189] Step S402: Send incremental information of the first map to the server so that the server forwards the incremental information to the first device. The incremental information is obtained by the first device from the server every second time interval. The incremental information is the newly added movement path within the current second time interval. The second time interval is shorter than the first time interval.
[0190] The first device retrieves incremental information of the first map from the server every second time interval. Upon receiving the request to retrieve the first map, the server retrieves incremental information from the second device. The second device, upon determining that the first device needs incremental information, determines the incremental information based on changes in the movement path within the current second time interval, sends the incremental information to the server, and the server forwards the incremental information to the second device. The changes in the movement path within the current second time interval represent the newly added movement path compared to the movement path when the incremental information was last sent to the server; this newly added movement path is sent to the server as incremental information.
[0191] In some implementations, if the current movement path is the same as the movement path when incremental information was last sent to the server, the incremental information is empty; if the current movement path is different from the movement path when incremental information was last sent to the server, the incremental information is at least one location information, and the at least one location information is the information of the location points added to the current movement path compared to the movement path when incremental information was last sent to the server.
[0192] When the second device determines incremental information, if the current movement path is the same as the movement path when it last sent incremental information to the server, it means that the second device has not moved within the current second time period, and the newly added movement path is 0. In this case, empty information is used as incremental information. If the current movement path is different from the movement path when it last sent incremental information to the server, it means that the second device has moved within the current second time period. The information of the additional location points in the current movement path compared to the movement path when it last sent incremental information to the server is used as incremental information. Here, the location information represents the coordinate information of the second device's movement location point in the current area map.
[0193] In some implementations, if a first map is sent to the server at any time within a preset time period, the incremental information is the newly added movement path within a third time period. The third time period is the duration between the time when the first map is sent to the server within the preset time period and the current time. The preset time period is the interval between two consecutive incremental information transmissions to the server.
[0194] Since the second device sends the first map to the server at first intervals, there may be one instance of sending the first map to the server within the interval between two consecutive incremental information transmissions. If the second device sends the first map to the server at any time within the interval between two consecutive incremental information transmissions, the incremental information will be the newly added movement path within the third interval. The third interval is the time between the time when the first map was sent to the server within the preset interval and the current time. That is, the second device determines the third interval based on the changes in its movement path within the time period between the time when the first map was sent to the server within the preset interval and the current time.
[0195] In some implementations, if the current movement path is the same as the movement path when the first map was last sent to the server, the incremental information is empty; if the current movement path is different from the movement path when the first map was last sent to the server, the incremental information is at least one location information, which is information about the number of location points added to the current movement path compared to the movement path when the first map was last sent to the server.
[0196] When the second device determines incremental information, if the current movement path is the same as the movement path when it last sent the first map to the server, it means that the second device has not moved in the current second time period, and the newly added movement path is 0. In this case, the empty information is used as incremental information. If the current movement path is different from the movement path when it last sent the first map to the server, it means that the second device has moved in the current second time period. The information of the additional position points in the current movement path compared to the movement path when it last sent the first map to the server is used as incremental information. Here, the position information represents the coordinate information of the movement position point of the second device in the current area map.
[0197] In the exemplary embodiments of this disclosure, a first map is formed by the movement path and the area map. The second device sends the first map to the server at a first time interval and sends incremental information of the first map to the server multiple times. This can ensure the accuracy of the first map while reducing the network resources required to update the first map, so that the first device can update the first map in a timely manner and ensure that the first map is displayed in real time and accurately.
[0198] In an exemplary embodiment of this disclosure, a map display method is provided, applied to a second device. Figure 5 This is a flowchart illustrating a map display method according to an exemplary embodiment, such as... Figure 5 As shown, the process includes the following steps S501-S506:
[0199] Step S501: At each first time interval, a sixth request message is sent to the server. The sixth request message is information sent by the second device to request the first resource positioning system. The first resource positioning system is used to indicate the storage location of the first map.
[0200] The second device sends a sixth request message to the server. The sixth request message carries the device identifier of the second device and is used to request the first resource positioning system.
[0201] Step S502: Receive the first resource location system sent by the server.
[0202] After receiving the sixth request information sent by the second device, the server responds to the first request information, generates a first resource location system, and sends the first resource location system to the second device, which then receives the first resource location system sent by the server.
[0203] Step S503: Based on the first resource positioning system, send the first map to the server.
[0204] The second device sends the first map to the server through the first resource positioning system.
[0205] Step S504: In response to receiving the third request information sent by the server, send incremental information to the server. The third request information is information sent by the first device to request the acquisition of incremental information.
[0206] When the second device receives a third request message sent by the first device and forwarded by the server, it determines incremental information based on the current changes in the movement path and sends the incremental information to the server so that the server forwards the incremental information to the first device.
[0207] Step S505: When the movement task ends, stop sending the first map to the server.
[0208] When the second device finishes a mobile task, such as when a cleaning task or a delivery task ends, it stops sending the first map to the server. Optionally, it turns off a timer for a duration of the first duration.
[0209] Step S506: Send an end command to the server so that the server forwards the end command to the first device. The end command is used to indicate that the mobile task of the second device has ended.
[0210] When the second device finishes its movement task, it simultaneously sends an end command to the server, which then forwards the end command to the first device to notify the first device that the second device's movement task has ended.
[0211] In this embodiment, a first map is formed by the movement path and the area map. The second device directly sends the first map to the server, and subsequently uses an incremental method to help the first device update the first map. This can save network resources, ensure timely updates of the first map, and display the first map in real time and accurately.
[0212] In an exemplary embodiment of this disclosure, a map display method is provided, applied to a second device. Figure 6 This is a flowchart illustrating a map display method according to an exemplary embodiment, such as... Figure 6 As shown, the process includes the following steps S601-S603:
[0213] Step S601: Send a first map to the server at first intervals of a first time duration so that the first device can obtain the first map from the server. The first map is used to show the movement path of the second device in the current area map when the first map is sent.
[0214] Step S602: Send incremental information of the first map to the server so that the server forwards the incremental information to the first device. The incremental information is obtained by the first device from the server every second time interval. The incremental information is the newly added movement path within the current second time interval. The second time interval is shorter than the first time interval.
[0215] For specific implementation methods of steps S601-S602, please refer to steps S401-S403 or steps S501-S506.
[0216] Step S603: When the mobile task ends or restarts, a second map is sent to the server so that the first device can obtain the second map from the server. The second map is used to display at least one area map.
[0217] For a detailed implementation of step S603, please refer to step S304.
[0218] In some implementations, sending a second map to the server includes the following steps:
[0219] Send a seventh request message to the server. The seventh request message is information sent by the second device to request the acquisition of the second resource positioning system. The second resource positioning system is used to indicate the storage location of the second map.
[0220] The second resource location system received by the server;
[0221] Based on the second resource location system, a second map is sent to the server.
[0222] The second device sends a seventh request message to the server. This seventh request message carries the device identifier of the second device and is used to request the acquisition of the second resource positioning system. After receiving the seventh request message from the second device, the server responds by sending the second resource positioning system to the second device. The second device receives the second resource positioning system sent by the server. The second device then sends a second map to the server through the second resource positioning system.
[0223] In an exemplary embodiment of this disclosure, a map display method is provided, applied to a server. Figure 7 This is a flowchart illustrating a map display method according to an exemplary embodiment, such as... Figure 7 As shown, the process includes the following steps S701-S703:
[0224] Step S701: Receive the first map sent by the second device. The first map is sent by the second device at first intervals. The first map is used to show the movement path of the second device in the current area map when it sends the first map.
[0225] In some implementations, a first duration indication information is received from a second device, and the first duration indication information is sent to a first device so that the first device can obtain a first map from the server according to the first duration indication information.
[0226] In some implementations, in response to receiving an update instruction sent by a second device, an update instruction is forwarded to a first device, the update instruction being used to instruct the first device to acquire a first map.
[0227] Step S702: Send the first map to the first device.
[0228] For the specific implementation of steps S701-S702, please refer to step S101, and will not be repeated here.
[0229] Step S703: In response to receiving incremental information of the first map sent by the second device, the incremental information is forwarded to the first device. The incremental information is obtained by the first device every second time interval. The incremental information is the newly added movement path within the current second time interval. The second time interval is shorter than the first time interval.
[0230] In some implementations, if a first map sent by a second device is received at any time within a preset time period, the incremental information is a newly added movement path within a third time period. The third time period is the duration between the time when the first map sent by the second device is received within the preset time period and the current time. The preset time period is the interval between two consecutive receptions of incremental information sent by the second device.
[0231] For the specific implementation of step S703, please refer to steps S102 and S402, and will not be repeated here.
[0232] In an exemplary embodiment of this disclosure, a first map is formed by a movement path and a regional map. The server forwards the first map sent by the second device to the first device at a first time interval, and forwards incremental information of the first map sent by the second device to the first device at a second time interval. This can reduce the network resources required for the transmission and updating of the first map while ensuring the accuracy of the first map, so that the first device can update the first map in a timely manner and ensure real-time and accurate display of the first map.
[0233] In an exemplary embodiment of this disclosure, a map display method is provided, applied to a server. Figure 8 This is a flowchart illustrating a map display method according to an exemplary embodiment, such as... Figure 8 As shown, the process includes the following steps S801-S808:
[0234] Step S801: In response to receiving the sixth request information, a first resource positioning system is generated. The sixth request information is information sent by the second device to request the acquisition of the first resource positioning system. The first resource positioning system is used to indicate the storage location of the first map.
[0235] Step S802: Send the first resource positioning system to the second device.
[0236] Step S803: Based on the first resource positioning system, receive the first map sent by the second device.
[0237] Step S804: In response to receiving the first request information, send the first resource location system to the first device. The first request information is information sent by the first device to request the acquisition of the first resource location system.
[0238] Step S805: Based on the first resource positioning system, in response to receiving the second request information, a first map is sent to the first device. The second request information is information sent by the first device to request the acquisition of the first map.
[0239] Step S806: In response to receiving the third request information, the third request information is forwarded to the second device. The third request information is information sent by the first device to request the acquisition of incremental information.
[0240] Step S807: In response to receiving incremental information sent by the second device, send incremental information to the first device.
[0241] Step S808: In response to receiving the termination command sent by the second device, the termination command is forwarded to the first device. The termination command is used to indicate that the second device's mobile task has ended.
[0242] For the specific implementation of steps S801-S808, please refer to steps S201-S209 and S501-S506, which will not be repeated here.
[0243] In an exemplary embodiment of this disclosure, a map display method is provided, applied to a server. Figure 9 This is a flowchart illustrating a map display method according to an exemplary embodiment, such as... Figure 9 As shown, the steps S901-S905 are included:
[0244] Step S901: Receive the first map sent by the second device. The first map is sent by the second device at first intervals. The first map is used to show the movement path of the second device in the current area map when it sends the first map.
[0245] Step S902: Send the first map to the first device.
[0246] Step S903: In response to receiving incremental information of the first map sent by the second device, the incremental information is forwarded to the first device. The incremental information is obtained by the first device every second time interval. The incremental information is the newly added movement path within the current second time interval. The second time interval is shorter than the first time interval.
[0247] Step S904: Receive a second map sent by the second device. The second map is used to display at least one area map.
[0248] In some implementations, receiving a second map sent by a second device includes the following steps:
[0249] In response to receiving the seventh request information, a second resource positioning system is generated. The seventh request information is information sent by the second device to request the acquisition of the second resource positioning system. The second resource positioning system is used to indicate the storage location of the second map.
[0250] Send the second resource positioning system to the second device;
[0251] Based on the second resource positioning system, the second map sent by the second device is received.
[0252] Step S905: Send the second map to the first device.
[0253] In some implementations, sending a second map to the first device includes:
[0254] In response to receiving the fourth request information, the first device sends the second resource positioning system. The fourth request information is information sent by the first device to request the acquisition of the second resource positioning system. The second resource positioning system is used to indicate the storage location of the second map.
[0255] Based on the second resource positioning system, in response to receiving the fifth request information, the system sends a second map to the first device. The fifth request information is information sent by the first device to request the acquisition of the second map.
[0256] For specific implementation methods of steps S901-S905, please refer to steps S301-S304 and S601-S603, which will not be repeated here.
[0257] In an exemplary embodiment of this disclosure, a map display method is provided. Figure 10 This is an interactive flowchart illustrating a map display method according to an exemplary embodiment, such as... Figure 10 As shown, the process includes the following steps S1001-S1007:
[0258] Step S1001: The second device sends a first map to the server at first intervals. The first map is used to display the movement path of the second device in the current area map when it sends the first map.
[0259] Step S1002: The server sends the first map to the first device.
[0260] Step S1003: The first device displays the first map.
[0261] In step S1004, the second device sends incremental information of the first map to the server every second time interval. The incremental information is the newly added movement path within the current second time interval, and the second time interval is shorter than the first time interval.
[0262] Step S1005: The server forwards incremental information to the first device.
[0263] Step S1006: The first device updates the first map based on incremental information to obtain the updated first map.
[0264] Step S1007: Whenever the first device obtains an updated first map, it displays the updated first map.
[0265] In an exemplary embodiment of this disclosure, a map display method is provided. Figure 11 This is an interactive flowchart illustrating a map display method according to an exemplary embodiment, such as... Figure 11 As shown, the process includes the following steps S1101-S1119:
[0266] In step S1101, the second device sends a sixth request message to the server at a first time interval. The sixth request message is information sent by the second device to request the acquisition of the first resource positioning system.
[0267] The first resource positioning system is used to indicate the storage location of the first map, and the first map is used to display the movement path of the second device in the current area map when the second device sends the first map.
[0268] In one example, the second device starts a timer for a duration of the first duration.
[0269] Step S1102: The server generates the first resource location system.
[0270] Step S1103: The server sends the first resource location system to the second device.
[0271] In step S1104, the second device sends the first map to the server based on the first resource positioning system.
[0272] In step S1105, the first device sends a first request message to the server. The first request message is information sent by the first device to request the acquisition of the first resource positioning system.
[0273] Step S1106: The server sends the first resource location system to the first device.
[0274] In step S1107, the first device sends a second request message to the server based on the first resource positioning system. The second request message is information sent by the first device to request the acquisition of the first map.
[0275] In step S1108, the server sends the first map to the first device based on the first resource positioning system.
[0276] Step S1109: The first device displays the first map.
[0277] In step S1110, the first device sends a third request message to the server every second time interval. The third request message is a message sent by the first device to request incremental information.
[0278] In one example, the first device starts a timer for a duration of the second duration.
[0279] Step S1111: The server forwards the third request information to the second device.
[0280] In step S1112, the second device determines the incremental information.
[0281] In some implementations, if the current movement path is the same as the movement path when incremental information was last sent to the server, the incremental information is empty; if the current movement path is different from the movement path when incremental information was last sent to the server, the incremental information is at least one location information, and the at least one location information is the information of the location points added to the current movement path compared to the movement path when incremental information was last sent to the server.
[0282] In step S1113, the second device sends incremental information to the server.
[0283] In step S1114, the server forwards incremental information to the first device.
[0284] In step S1115, the second device stops sending the first map to the server when the mobile task ends.
[0285] In one example, the second device shuts down a timer for a duration equal to the first duration.
[0286] In step S1116, the second device sends a termination command to the server, which indicates that the second device's movement task has ended.
[0287] In step S1117, the server forwards the termination command to the first device.
[0288] In step S1118, the first device stops obtaining incremental information from the server and updates the first map based on the incremental information to obtain the updated first map.
[0289] In one example, the first device turns off a timer for a duration of the second duration.
[0290] Step S1119: Whenever the first device obtains the updated first map, it displays the updated first map.
[0291] In an exemplary embodiment of this disclosure, a map display method is provided. Figure 12 This is an interactive flowchart illustrating a map display method according to an exemplary embodiment, such as... Figure 12 As shown, the process includes the following steps S1201-S1215:
[0292] In step S1201, when the mobile task ends or restarts, the second device sends a seventh request message to the server. The seventh request message is information sent by the second device to request the acquisition of the second resource positioning system.
[0293] The second resource location system is used to indicate the storage location of the second map, which is used to display at least one area map.
[0294] Step S1202: The server generates a second resource location system.
[0295] Step S1203: The server sends the second resource location system to the second device.
[0296] In step S1204, the second device sends the second map to the server based on the second resource positioning system.
[0297] In step S1205, the first device responds to receiving the viewing command of the second map and determines whether the second device is performing a movement task;
[0298] If the second device is not performing a movement task, proceed to steps S1206-S1210; if the second device is performing a movement task, proceed to steps S1211-S1215.
[0299] In step S1206, the first device sends a fourth request message to the server. The fourth request message is information sent by the first device to request the acquisition of the second resource positioning system.
[0300] Step S1207: The server sends the second resource location system to the first device.
[0301] In step S1208, the first device sends a fifth request message to the server based on the second resource positioning system. The fifth request message is information sent by the first device to request the acquisition of the second map.
[0302] In step S1209, the server sends the second map to the first device based on the second resource positioning system.
[0303] Step S1210: The first device displays the second map.
[0304] In step S1211, the first device sends a first request message to the server. The first request message is information sent by the first device to request the acquisition of the first resource positioning system.
[0305] In step S1212, the server sends the first resource location system to the first device.
[0306] In step S1213, the first device sends a second request message to the server based on the first resource positioning system. The second request message is information sent by the first device to request the acquisition of the first map.
[0307] In step S1214, the server sends the first map to the first device based on the first resource positioning system.
[0308] Step S1215: The first device displays the first map.
[0309] In an exemplary embodiment of this disclosure, the server includes a management server and a storage server. The storage server stores a first map and a second map, while the management server handles message forwarding, such as message forwarding between a first device and a second device, message forwarding between the first device and the storage server, and message forwarding between the second device and the storage server. This separation of the management server and storage server decouples the server architecture and reduces the risk of anomalies caused by server failures.
[0310] In an exemplary embodiment of this disclosure, a map display device is provided, applied to a first device. Figure 13 This is a block diagram illustrating a map display device according to an exemplary embodiment, such as... Figure 13 As shown, it includes:
[0311] The first acquisition module 1301 is configured to acquire a first map from the server. The first map is sent to the server by the second device at a first time interval. The first map is used to display the movement path of the second device in the current area map when the first map is sent.
[0312] The second acquisition module 1302 is configured to acquire incremental information of the first map from the server every second time interval, and update the first map based on the incremental information to obtain the updated first map. The incremental information is sent to the server by the second device. The incremental information is the newly added movement path within the current second time interval, and the second time interval is shorter than the first time interval.
[0313] Display module 1303 is configured to display the first map whenever the first map is obtained, and to display the updated first map whenever the updated first map is obtained.
[0314] In one exemplary embodiment, the first acquisition module 1301 is further configured to:
[0315] In response to receiving an update command from the server, the device retrieves a first map from the server. The update command instructs the first device to retrieve the first map. The update command is sent to the server by the second device after sending the first map to the server.
[0316] In one exemplary embodiment, the first acquisition module 1301 is further configured to:
[0317] Send a first request message to the server. The first request message is information sent by the first device to request the acquisition of the first resource positioning system. The first resource positioning system is used to indicate the storage location of the first map.
[0318] The first resource location system received by the server;
[0319] Based on the first resource positioning system, a second request message is sent to the server. The second request message is information sent by the first device to request the acquisition of the first map.
[0320] Based on the first resource location system, receive the first map sent by the server.
[0321] In one exemplary embodiment, the second acquisition module 1302 is further configured to:
[0322] Send a third request message to the server so that the server forwards the third request message to the second device. The third request message is the message sent by the first device to request incremental information.
[0323] Receive incremental information sent by the server.
[0324] In one exemplary embodiment, the second acquisition module 1302 is further configured to:
[0325] If the incremental information is at least one location information, add a location point to the movement path in the first map based on at least one location information to obtain the updated first map;
[0326] The location point is the additional location point on the movement path when obtaining incremental information from the server compared to the movement path in the first map.
[0327] In one exemplary embodiment, the second acquisition module 1302 is further configured to:
[0328] Upon receiving a termination command from the server, the acquisition of incremental information is stopped. The termination command is used to indicate the end of the second device's mobile task and is sent by the second device to the server.
[0329] In one exemplary embodiment,
[0330] The first acquisition module 1301 is also configured to acquire a second map from a server in response to receiving a viewing instruction for the second map. The second map is sent to the server by the second device when the mobile task ends or restarts. The second map is used to display at least one area map.
[0331] Display module 1303 is also configured to display a second map.
[0332] In one exemplary embodiment, the first acquisition module 1301 is further configured to:
[0333] If the second device is performing a movement task and obtains the first map from the server, it will use the first map as the second map;
[0334] If the second device does not perform a movement task, retrieve the second map from the server.
[0335] In one exemplary embodiment, the first acquisition module 1301 is further configured to:
[0336] If the second device does not perform the movement task, it sends a fourth request message to the server. The fourth request message is information sent by the first device to request the second resource positioning system. The second resource positioning system is used to indicate the storage location of the second map.
[0337] The second resource location system received by the server;
[0338] Based on the second resource positioning system, a fifth request message is sent to the server. The fifth request message is information sent by the first device to request the acquisition of the second map.
[0339] Based on the second resource positioning system, a second map is received from the server.
[0340] In an exemplary embodiment, if a first map is obtained from the server at any time during the current second time period, the incremental information is the newly added movement path within the third time period, and the third time period is the duration between the time when the first map was obtained within the current second time period and the current time.
[0341] In an exemplary embodiment of this disclosure, a map display device is provided, applied to a second device. Figure 14 This is a block diagram illustrating a map display device according to an exemplary embodiment, such as... Figure 14 As shown, it includes:
[0342] The first sending module 1401 is configured to send a first map to the server at a first time interval, so that the first device can obtain the first map from the server. The first map is used to show the movement path of the second device in the current area map when the second device sends the first map.
[0343] The second sending module 1402 is configured to send incremental information of the first map to the server so that the server forwards the incremental information to the first device. The incremental information is obtained by the first device from the server every second time interval. The incremental information is the newly added movement path within the current second time interval, and the second time interval is shorter than the first time interval.
[0344] In one exemplary embodiment, the first sending module 1401 is further configured to:
[0345] An update command is sent to the server so that the server forwards the update command to the first device. The update command is used to instruct the first device to obtain the first map.
[0346] In one exemplary embodiment, the first sending module 1401 is further configured to:
[0347] A sixth request message is sent to the server. The sixth request message is information sent by the second device to request the first resource positioning system. The first resource positioning system is used to indicate the storage location of the first map.
[0348] The first resource location system received by the server;
[0349] Based on the first resource location system, the first map is sent to the server.
[0350] In one exemplary embodiment, the second sending module 1402 is further configured to:
[0351] In response to receiving a third request message from the server, the device sends incremental information to the server. The third request message is information sent by the first device to request the acquisition of incremental information.
[0352] In one exemplary embodiment, the second sending module 1402 is further configured to:
[0353] If the current movement path is the same as the movement path when the incremental information was last sent to the server, the incremental information is empty.
[0354] If the current movement path is different from the movement path when the incremental information was last sent to the server, the incremental information is at least one location information, which is the information of the additional location points in the current movement path compared to the movement path when the incremental information was last sent to the server.
[0355] In one exemplary embodiment, the first sending module 1401 is further configured to:
[0356] Stop sending the first map to the server when the movement task ends;
[0357] Send a termination command to the server so that the server forwards the termination command to the first device. The termination command is used to indicate that the mobile task of the second device has ended.
[0358] In one exemplary embodiment, the first sending module 1401 is further configured to:
[0359] When the mobile task ends or restarts, a second map is sent to the server so that the first device can obtain the second map from the server. The second map is used to display at least one area map.
[0360] In one exemplary embodiment, the first sending module 1401 is further configured to:
[0361] Send a seventh request message to the server. The seventh request message is information sent by the second device to request the acquisition of the second resource positioning system. The second resource positioning system is used to indicate the storage location of the second map.
[0362] The second resource location system received by the server;
[0363] Based on the second resource location system, a second map is sent to the server.
[0364] In an exemplary embodiment, if a first map is sent to the server at any time within a preset time period, the incremental information is a newly added movement path within a third time period. The third time period is the duration between the time when the first map is sent to the server within the preset time period and the current time. The preset time period is the interval between two consecutive incremental information transmissions to the server.
[0365] In an exemplary embodiment of this disclosure, a map display device is provided, applied to a server. Figure 15 This is a block diagram illustrating a map display device according to an exemplary embodiment, such as... Figure 15 As shown, it includes:
[0366] The receiving module 1501 is configured to receive a first map sent by the second device. The first map is sent by the second device at a first time interval. The first map is used to display the movement path of the second device in the current area map when the first map is sent.
[0367] The sending module 1502 is configured to send a first map to a first device; in response to receiving incremental information of the first map sent by a second device, it forwards incremental information to the first device. The incremental information is obtained by the first device every second time interval. The incremental information is the newly added movement path within the current second time interval, and the second time interval is shorter than the first time interval.
[0368] In one exemplary embodiment, the sending module 1502 is further configured to:
[0369] In response to receiving an update command from the second device, the update command is forwarded to the first device, which instructs the first device to obtain the first map.
[0370] In one exemplary embodiment,
[0371] The sending module 1502 is also configured to, in response to receiving a sixth request message, generate a first resource location system, wherein the sixth request message is information sent by the second device to request the acquisition of the first resource location system, and the first resource location system is used to indicate the storage location of the first map; and send the first resource location system to the second device.
[0372] The receiving module 1501 is also configured to receive a first map sent by a second device based on a first resource positioning system.
[0373] In one exemplary embodiment, the sending module 1502 is further configured to:
[0374] In response to receiving the first request information, a first resource positioning system is sent to the first device. The first request information is information sent by the first device to request the acquisition of the first resource positioning system. The first resource positioning system is used to indicate the storage location of the first map.
[0375] Based on the first resource positioning system, in response to receiving the second request information, the system sends the first map to the first device. The second request information is information sent by the first device to request the acquisition of the first map.
[0376] In one exemplary embodiment, the sending module 1502 is further configured to:
[0377] In response to receiving the third request information, the third request information is forwarded to the second device. The third request information is information sent by the first device to request the acquisition of incremental information.
[0378] In response to receiving incremental information from the second device, the incremental information is forwarded to the first device.
[0379] In one exemplary embodiment, the sending module 1502 is further configured to:
[0380] In response to receiving an end command from the second device, the first device forwards the end command to the second device. The end command is used to indicate that the second device's movement task has ended.
[0381] In one exemplary embodiment,
[0382] The receiving module 1501 is also configured to receive a second map sent by the second device, the second map being used to display at least one area map;
[0383] The sending module 1502 is also configured to send a second map to the first device.
[0384] In one exemplary embodiment,
[0385] The sending module 1502 is also configured to, in response to receiving a seventh request message, generate a second resource positioning system, wherein the seventh request message is information sent by the second device to request the acquisition of the second resource positioning system, and the second resource positioning system is used to indicate the storage location of the second map; and send the second resource positioning system to the second device.
[0386] The receiving module 1501 is also configured to receive a second map sent by a second device based on a second resource positioning system.
[0387] In one exemplary embodiment, the sending module 1502 is further configured to:
[0388] In response to receiving the fourth request information, the first device sends the second resource positioning system. The fourth request information is information sent by the first device to request the acquisition of the second resource positioning system. The second resource positioning system is used to indicate the storage location of the second map.
[0389] Based on the second resource positioning system, in response to receiving the fifth request information, the system sends a second map to the first device. The fifth request information is information sent by the first device to request the acquisition of the second map.
[0390] In an exemplary embodiment, if a first map sent by a second device is received at any time within a preset time period, the incremental information is a newly added movement path within a third time period, the third time period is the time between the time when the first map sent by the second device is received within the preset time period and the current time, and the preset time period is the interval between two adjacent receptions of incremental information sent by the second device.
[0391] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0392] Figure 16This is a block diagram illustrating an electronic device 1600 according to an exemplary embodiment.
[0393] Reference Figure 16 The electronic device 1600 may include one or more of the following components: a processing component 1602, a memory 1604, a power supply component 1606, a multimedia component 1608, an audio component 1610, an input / output (I / O) interface 1612, a sensor component 1614, and a communication component 1616.
[0394] Processing component 1602 typically controls the overall operation of electronic device 1600, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1602 may include one or more processors 1620 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 1602 may include one or more modules to facilitate interaction between processing component 1602 and other components. For example, processing component 1602 may include a multimedia module to facilitate interaction between multimedia component 1608 and processing component 1602.
[0395] Memory 1604 is configured to store various types of data to support the operation of electronic device 1600. Examples of this data include instructions for any application or method operating on electronic device 1600, contact data, phonebook data, messages, pictures, videos, etc. Memory 1604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0396] Power supply component 1606 provides power to various components of electronic device 1600. Power supply component 1606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1600.
[0397] Multimedia component 1608 includes a screen that provides an output interface between the electronic device 1600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 1608 includes a front-facing camera and / or a rear-facing camera. When the electronic device 1600 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0398] Audio component 1610 is configured to output and / or input audio signals. For example, audio component 1610 includes a microphone (MIC) configured to receive external audio signals when electronic device 1600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1604 or transmitted via communication component 1616. In some embodiments, audio component 1610 also includes a speaker for outputting audio signals.
[0399] I / O interface 1612 provides an interface between processing component 1602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0400] Sensor assembly 1614 includes one or more sensors for providing state assessments of various aspects of electronic device 1600. For example, sensor assembly 1614 may detect the on / off state of electronic device 1600, the relative positioning of components such as the display and keypad of electronic device 1600, changes in position of electronic device 1600 or a component of electronic device 1600, the presence or absence of user contact with electronic device 1600, the orientation or acceleration / deceleration of electronic device 1600, and temperature changes of electronic device 1600. Sensor assembly 1614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1614 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0401] Communication component 1616 is configured to facilitate wired or wireless communication between electronic device 1600 and other devices. Electronic device 1600 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 1616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1616 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0402] In an exemplary embodiment, the electronic device 1600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0403] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1604 including instructions, which can be executed by a processor 1620 of an electronic device 1600 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0404] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor or server of an electronic device, enables the electronic device or server to perform a map display method, including any of the methods described above.
[0405] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0406] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A map display method characterized by, The method includes: The first map is obtained from the server and displayed. The first map is sent to the server by the second device at first intervals. The first map is used to show the movement path of the second device in the current area map when the first map is sent. The second device retrieves incremental information of the first map from the server at every second time interval, and updates the first map based on the incremental information to obtain the updated first map. The incremental information is sent from the second device to the server. The incremental information is the newly added movement path within the current second time interval, and the second time interval is shorter than the first time interval. Whenever the updated first map is obtained, the updated first map is displayed.
2. The map display method according to claim 1, characterized by, The step of obtaining the first map from the server includes: In response to receiving an update instruction sent by the server, the first map is retrieved from the server. The update instruction is used to instruct the first device to retrieve the first map. The update instruction is sent to the server by the second device after sending the first map to the server.
3. The map display method according to claim 1 or 2, characterized by, The step of obtaining the first map from the server includes: Send a first request message to the server. The first request message is information sent by the first device to request the acquisition of a first resource positioning system. The first resource positioning system is used to indicate the storage location of the first map. Receive the first resource location system sent by the server; Based on the first resource positioning system, a second request message is sent to the server. The second request message is information sent by the first device to request the acquisition of the first map. Based on the first resource location system, the system receives the first map sent by the server.
4. The map display method according to claim 1, characterized by The step of obtaining incremental information of the first map from the server includes: A third request message is sent to the server so that the server forwards the third request message to the second device. The third request message is information sent by the first device to request the acquisition of the incremental information. Receive the incremental information sent by the server.
5. The map display method according to claim 1 or 4, characterized by, The step of updating the first map based on the incremental information to obtain the updated first map includes: If the incremental information is at least one location information, based on the at least one location information, add location points to the movement path in the first map to obtain the updated first map; The location point refers to the additional location point on the movement path when obtaining the incremental information from the server compared to the movement path in the first map.
6. The map display method according to claim 1, characterized in that, The method further includes: In response to receiving a termination command from the server, the acquisition of incremental information is stopped. The termination command is used to indicate that the mobile task of the second device has ended, and the termination command is sent by the second device to the server.
7. The map display method according to claim 1, characterized in that, The method further includes: In response to receiving a viewing instruction for the second map, the second map is retrieved from the server. The second map is sent to the server by the second device when the mobile task ends or restarts. The second map is used to display at least one area map. The second map is displayed.
8. The map display method according to claim 7, characterized in that, The step of obtaining the second map from the server includes: If the second device is performing a mobile task and obtains the first map from the server, it uses the first map as the second map. If the second device does not perform a movement task, it retrieves the second map from the server.
9. The map display method according to claim 8, characterized in that, If the second device does not perform a movement task, obtaining the second map from the server includes: If the second device does not perform a movement task, it sends a fourth request message to the server. The fourth request message is information sent by the first device to request the acquisition of a second resource positioning system. The second resource positioning system is used to indicate the storage location of the second map. Receive the second resource location system sent by the server; Based on the second resource positioning system, a fifth request message is sent to the server. The fifth request message is information sent by the first device to request the acquisition of the second map. Based on the second resource location system, the system receives the second map sent by the server.
10. The map display method according to claim 1, characterized in that, If the first map is obtained from the server at any time within the current second time period, the incremental information is a newly added movement path within the third time period, and the third time period is the duration between the time when the first map was obtained within the current second time period and the current time.
11. A map display method, characterized in that, The method includes: At a first time interval, the first device sends a first map to the server so that the first device can obtain the first map from the server. The first map is used to show the movement path of the second device in the current area map when the second device sends the first map. The incremental information of the first map is sent to the server so that the server forwards the incremental information to the first device. The incremental information is obtained by the first device from the server every second time interval. The incremental information is the newly added movement path within the current second time interval, and the second time interval is shorter than the first time interval.
12. The map display method according to claim 11, characterized in that, After sending the first map to the server, the method further includes: An update instruction is sent to the server so that the server forwards the update instruction to the first device, and the update instruction is used to instruct the first device to obtain the first map.
13. The map display method according to claim 11 or 12, characterized in that, Sending the first map to the server includes: A sixth request message is sent to the server. The sixth request message is information sent by the second device to request the acquisition of the first resource positioning system, which is used to indicate the storage location of the first map. Receive the first resource location system sent by the server; Based on the first resource location system, the first map is sent to the server.
14. The map display method according to claim 11, characterized in that, Sending the incremental information of the first map to the server includes: In response to receiving a third request message from the server, the incremental information is sent to the server, wherein the third request message is information sent by the first device to request the acquisition of the incremental information.
15. The map display method according to claim 11 or 14, characterized in that, When sending the incremental information to the server, the method further includes: If the current movement path is the same as the movement path when the incremental information was last sent to the server, the incremental information is empty. If the current movement path is different from the movement path when the incremental information was last sent to the server, the incremental information is at least one location information, which is information about the number of location points added to the current movement path compared to the movement path when the incremental information was last sent to the server.
16. The map display method according to claim 11, characterized in that, The method further includes: When the movement task ends, stop sending the first map to the server; A termination command is sent to the server so that the server forwards the termination command to the first device. The termination command is used to indicate that the mobile task of the second device has ended.
17. The map display method according to claim 11, characterized in that, The method further includes: When the mobile task ends or restarts, a second map is sent to the server so that the first device can obtain the second map from the server. The second map is used to display at least one area map.
18. The map display method according to claim 17, characterized in that, Sending the second map to the server includes: A seventh request message is sent to the server. The seventh request message is information sent by the second device to request the acquisition of the second resource positioning system, which is used to indicate the storage location of the second map. Receive the second resource location system sent by the server; Based on the second resource location system, the second map is sent to the server.
19. The map display method according to claim 11, characterized in that, If the first map is sent to the server at any time within a preset time period, the incremental information is a newly added movement path within a third time period, the third time period is the time between the time when the first map is sent to the server within the preset time period and the current time, and the preset time period is the interval between two consecutive times the incremental information is sent to the server.
20. A map display method, characterized in that, The method includes: Receive a first map sent by a second device, the first map being sent by the second device at first intervals, the first map being used to show the movement path of the second device in the current area map when the first map is sent; Send the first map to the first device; In response to receiving incremental information of the first map sent by the second device, the incremental information is forwarded to the first device. The incremental information is obtained by the first device every second time interval. The incremental information is the newly added movement path within the current second time interval, and the second time interval is shorter than the first time interval.
21. The map display method according to claim 20, characterized in that, After receiving the first map sent by the second device, the method further includes: In response to receiving an update instruction sent by the second device, the update instruction is forwarded to the first device, the update instruction being used to instruct the first device to acquire the first map.
22. The map display method according to claim 20 or 21, characterized in that, The first map sent by the second device includes: In response to receiving a sixth request message, a first resource location system is generated, wherein the sixth request message is information sent by the second device to request the acquisition of the first resource location system, and the first resource location system is used to indicate the storage location of the first map; Send the first resource location system to the second device; Based on the first resource positioning system, the system receives the first map sent by the second device.
23. The map display method according to claim 20, characterized in that, Sending the first map to the first device includes: In response to receiving a first request message, a first resource location system is sent to the first device. The first request message is information sent by the first device to request the acquisition of the first resource location system, and the first resource location system is used to indicate the storage location of the first map. Based on the first resource positioning system, in response to receiving the second request information, the first map is sent to the first device, wherein the second request information is information sent by the first device to request the acquisition of the first map.
24. The map display method according to claim 20, characterized in that, The step of forwarding the incremental information to the first device in response to receiving the incremental information of the first map sent by the second device includes: In response to receiving a third request message, the third request message is forwarded to the second device, wherein the third request message is information sent by the first device to request the acquisition of the incremental information; In response to receiving the incremental information sent by the second device, the incremental information is forwarded to the first device.
25. The map display method according to claim 20, characterized in that, The method further includes: In response to receiving an end command sent by the second device, the end command is forwarded to the first device, the end command being used to indicate that the mobile task of the second device has ended.
26. The map display method according to claim 20, characterized in that, The method further includes: Receive a second map sent by the second device, the second map being used to display at least one area map; Send the second map to the first device.
27. The map display method according to claim 26, characterized in that, The receiving of the second map sent by the second device includes: In response to receiving a seventh request message, a second resource positioning system is generated, wherein the seventh request message is information sent by the second device to request the acquisition of the second resource positioning system, and the second resource positioning system is used to indicate the storage location of the second map; Send the second resource location system to the second device; Based on the second resource positioning system, the second map sent by the second device is received.
28. The map display method according to claim 26, characterized in that, Sending the second map to the first device includes: In response to receiving a fourth request message, a second resource location system is sent to the first device. The fourth request message is information sent by the first device to request the acquisition of the second resource location system, and the second resource location system is used to indicate the storage location of the second map. Based on the second resource positioning system, in response to receiving the fifth request information, the second map is sent to the first device, wherein the fifth request information is information sent by the first device to request the acquisition of the second map.
29. The map display method according to claim 20, characterized in that, If the first map sent by the second device is received at any time within a preset time period, the incremental information is a newly added movement path within a third time period, the third time period is the time between the time when the first map sent by the second device is received within the preset time period and the current time, and the preset time period is the interval between two consecutive times the incremental information sent by the second device is received.
30. A map display device, characterized in that, The device includes: The first acquisition module is configured to acquire a first map from a server. The first map is sent to the server by the second device at a first time interval. The first map is used to show the movement path of the second device in the current area map when the second device sends the first map. The second acquisition module is configured to acquire incremental information of the first map from the server at second intervals, and update the first map based on the incremental information to obtain the updated first map. The incremental information is sent to the server by the second device. The incremental information is the newly added movement path within the current second interval, and the second interval is shorter than the first interval. The display module is configured to display the first map whenever the first map is obtained, and to display the updated first map whenever the updated first map is obtained.
31. A map display device, characterized in that, The device includes: The first sending module is configured to send a first map to the server at a first time interval, so that the first device can obtain the first map from the server. The first map is used to show the movement path of the second device in the current area map when the second device sends the first map. The second sending module is configured to send incremental information of the first map to the server, so that the server forwards the incremental information to the first device. The incremental information is obtained by the first device from the server every second time interval. The incremental information is the newly added movement path within the current second time interval, and the second time interval is shorter than the first time interval.
32. A map display device, characterized in that, The device includes: The receiving module is configured to receive a first map sent by a second device. The first map is sent by the second device at first intervals. The first map is used to show the movement path of the second device in the current area map when the second device sends the first map. The sending module is configured to send the first map to the first device; in response to receiving incremental information of the first map sent by the second device, forwarding the incremental information to the first device, wherein the incremental information is acquired by the first device at second intervals, and the incremental information is the newly added movement path within the current second interval, wherein the second interval is shorter than the first interval.
33. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the method as described in any one of claims 1-10, 11-19, or 20-29.
34. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the method as described in any one of claims 1-10, 11-19, or 20-29.