Data uploading method, floor cleaning robot and computer readable storage medium
Patent Information
- Application Number
- CN202310858681.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-13
- Publication Date
- 2026-09-04
- Estimated Expiration
- 2043-07-13
AI Technical Summary
[0004]基于此,有必要针对上述技术问题,提供一种数据的上传方法、扫地机器人及计算机可读存储介质,以解决现有技术中的扫地机器人去到不同房间清扫过程中信号不统一导致数据传输出现异常的问题
第二判断模块,所述第二判断模块用于判断所述数据的上传速度是否大于预设的数据的上传速度;
Smart Images

Figure CN116743623B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of robotic vacuum cleaners, and more particularly to a data uploading method, a robotic vacuum cleaner, and a computer-readable storage medium. Background Technology
[0002] Robotic vacuum cleaners, also known as automatic cleaning machines, intelligent vacuums, or robotic vacuums, are a type of smart home appliance that uses artificial intelligence to automatically clean floors both indoors and outdoors. They typically use a combination of brushing and vacuuming to collect debris into their dustbin, thus completing the cleaning process. Generally, robots that perform mopping, vacuuming, and wiping are also categorized as robotic vacuum cleaners. Current robotic vacuum cleaners often include a mop, which adds a mopping function during the cleaning process. In other words, robotic vacuum cleaners not only sweep but also mop, enhancing their versatility and improving the user experience.
[0003] Generally, when a robot vacuum cleaner starts performing a global cleaning task, it needs to go to different rooms to perform cleaning operations in different areas. However, since the WIFI device is fixed, the stability of the WIFI signal in different rooms is different. This can easily cause the device to go offline when uploading map data and cleaning data due to poor network signal. This affects the map drawing and the display of status data such as the cleaning progress of the robot vacuum cleaner, which is not conducive to the operation of the robot vacuum cleaner. Summary of the Invention
[0004] Therefore, it is necessary to provide a data uploading method, a robotic vacuum cleaner, and a computer-readable storage medium to address the aforementioned technical problems, in order to solve the problem of abnormal data transmission caused by inconsistent signals when a robotic vacuum cleaner goes to different rooms to clean.
[0005] This invention provides a data uploading method for a robotic vacuum cleaner, the data uploading method comprising: Real-time acquisition of the connection status between the robotic vacuum cleaner and the current server; Obtain the connection latency value between the robotic vacuum cleaner and the current server; Determine whether the connection delay value is greater than a preset delay value; If so, obtain the data upload speed of the robotic vacuum cleaner; Determine whether the upload speed of the data is greater than the preset upload speed of the data; If so, control the robotic vacuum cleaner to upload map data in real time.
[0006] The data uploading method of this invention first involves the robotic vacuum cleaner acquiring its connection status with the current server in real time. Then, it acquires the connection latency value between the robotic vacuum cleaner and the current server. Next, it determines whether the connection latency value is greater than a preset latency value. If the connection latency value is greater than the preset latency value, it indicates an abnormal connection status. At this point, the robot vacuum cleaner's data upload speed is acquired, and then it is checked whether the robot vacuum cleaner's data upload speed is greater than a preset data upload speed. Only if the robot vacuum cleaner's data upload speed is greater than the preset data upload speed will it be controlled to perform real-time map data upload. In other words, in this embodiment of the invention, the robotic vacuum cleaner monitors its connection status with the current server in real time, and only checks the data upload speed when there is significant latency. Real-time map data upload will only occur if the data upload speed is greater than the preset data upload speed. If the data upload speed is less than the preset data upload speed, the robotic vacuum cleaner can activate a delayed upload mode, meaning that real-time upload will only occur when the robotic vacuum cleaner moves to an area with a good connection to the server. This avoids data upload anomalies caused by inconsistent signals, improves transmission accuracy, and benefits the operation of the robotic vacuum cleaner.
[0007] Further, if so, obtaining the data upload speed of the robotic vacuum cleaner includes: Control the robotic vacuum cleaner to upload a certain amount of map data within 5 seconds; Then, the upload speed of the robot vacuum cleaner is obtained based on the uploaded map data values and time.
[0008] Further, if so, obtaining the data upload speed of the robotic vacuum cleaner includes: Obtain current network quality data; Determine whether the current network quality data is lower than the preset network quality data; If so, obtain the data upload speed of the robotic vacuum cleaner; Determine whether the upload speed of the data is greater than the preset upload speed of the data; If so, control the robotic vacuum cleaner to upload map data in real time.
[0009] Furthermore, determining whether the data upload speed is greater than a preset data upload speed includes: If not, control the robotic vacuum cleaner to stop uploading map data in real time; The real-time map data upload of the robotic vacuum cleaner was changed to timed map data upload.
[0010] Furthermore, changing the real-time upload of map data by the robotic vacuum cleaner to timed upload of map data includes: Get the currently drawn map data; Determine whether the currently drawn map data is greater than 80%; If so, control the robotic vacuum cleaner to continue performing the timed upload of map data.
[0011] Further, determining whether the currently drawn map data is greater than 80% includes: If not, control the robot vacuum cleaner to change the scheduled map data upload to a delayed map data upload.
[0012] Furthermore, if not, controlling the robotic vacuum cleaner to change the timed upload of map data to a delayed upload of map data includes: Get the current upload speed of real-time data; Determine whether the current upload speed of the real-time data is higher than 10Mbps; If not, control the sweeping robot to change the delayed map data upload to a sub-package single-point map data upload.
[0013] Furthermore, if not, controlling the sweeping robot to change the delayed upload of map data to a sub-package single-point upload of map data includes: The recorded map data was divided into 10 parts; The 10 map data are stored in the local memory of the sweeping robot; Determine whether the 10 map data sets have been successfully stored in the local memory of the robotic vacuum cleaner; If so, upload the 10 map data sets to the server.
[0014] This invention provides a robotic vacuum cleaner, the robotic vacuum cleaner comprising: The first acquisition module is used to acquire the connection status between the sweeping robot and the current server in real time. The second acquisition module is used to acquire the connection delay value between the sweeping robot and the current server. The first judgment module is used to determine whether the connection delay value is greater than a preset delay value; The third acquisition module is used to acquire the data upload speed of the sweeping robot when the first judgment module determines that the connection delay value is greater than the preset delay value. The second judgment module is used to determine whether the upload speed of the data is greater than the preset upload speed of the data; The control module is used to control the robot vacuum cleaner to upload map data in real time when the second judgment module determines that the data upload speed is greater than the preset data upload speed.
[0015] The robotic vacuum cleaner of this invention first acquires its connection status with the current server in real time, then acquires the connection latency value between the robotic vacuum cleaner and the current server, and then determines whether the connection latency value is greater than a preset latency value. If the connection latency value is greater than the preset latency value, it indicates that the connection status is abnormal. At this time, the upload speed of the robotic vacuum cleaner is acquired, and then it is determined whether the upload speed of the robotic vacuum cleaner is greater than the preset upload speed. Only if the upload speed of the robotic vacuum cleaner is greater than the preset upload speed will the robotic vacuum cleaner be controlled to perform real-time map data upload. In other words, in this embodiment of the invention, the robotic vacuum cleaner monitors its connection status with the current server in real time, and then checks the upload speed when there is a serious delay. Only if the upload speed is greater than the preset upload speed will the robotic vacuum cleaner upload map data in real time. If the upload speed is less than the preset upload speed, the robotic vacuum cleaner can activate a delayed upload mode, that is, the robotic vacuum cleaner will only upload in real time when it moves to a place with a good connection with the server. This can avoid abnormal data upload due to inconsistent signals, improve the accuracy of transmission, and benefit the operation of the robotic vacuum cleaner.
[0016] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for uploading data.
[0017] The computer-readable storage medium of this invention first allows the robotic vacuum cleaner to acquire its connection status with the current server in real time. Then, it acquires the connection latency value between the robotic vacuum cleaner and the current server. Next, it determines whether the connection latency value is greater than a preset latency value. If the connection latency value is greater than the preset latency value, it indicates an abnormal connection status. At this point, it acquires the data upload speed of the robotic vacuum cleaner and checks whether the data upload speed is greater than a preset data upload speed. Only if the data upload speed is greater than the preset data upload speed will the robotic vacuum cleaner be controlled to perform real-time map data upload. In other words, in this embodiment of the invention, the robotic vacuum cleaner monitors its connection status with the current server in real time, and only checks the data upload speed when there is significant latency. Real-time map data upload will only occur if the data upload speed is greater than the preset data upload speed. If the data upload speed is less than the preset data upload speed, the robotic vacuum cleaner can activate a delayed upload mode, meaning that real-time upload will only occur when the robotic vacuum cleaner moves to an area with a good connection to the server. This avoids data upload anomalies caused by inconsistent signals, improves transmission accuracy, and benefits the operation of the robotic vacuum cleaner. Attached Figure Description
[0018] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0019] Figure 1 This is a flowchart illustrating the data uploading method in an embodiment of the present invention; Figure 2 This is another flowchart illustrating the data uploading method in an embodiment of the present invention; Figure 3 This is another flowchart illustrating the data uploading method in an embodiment of the present invention; Figure 4 This is another flowchart illustrating the data uploading method in an embodiment of the present invention; Figure 5 This is another flowchart illustrating the data uploading method in an embodiment of the present invention; Figure 6 This is another flowchart illustrating the data uploading method in an embodiment of the present invention; Figure 7 This is another flowchart illustrating the data uploading method in an embodiment of the present invention; Figure 8 This is a structural schematic diagram of the sweeping robot in an embodiment of the present invention. Detailed Implementation
[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] Please see Figure 1 This invention provides a data uploading method for a robotic vacuum cleaner. The data uploading method includes: Step S10: Obtain the connection status between the robot vacuum cleaner and the current server in real time; Step S20: Obtain the connection latency value between the robot vacuum cleaner and the current server; Step S30: Determine whether the connection delay value is greater than the preset delay value; If so, in step S40, obtain the upload speed of the robot vacuum cleaner's data; Step S50: Determine whether the data upload speed is greater than the preset data upload speed; If so, in step S60, control the robot vacuum cleaner to upload map data in real time.
[0022] The data uploading method of this invention first involves the robotic vacuum cleaner acquiring its connection status with the current server in real time. Then, it acquires the connection latency value between the robotic vacuum cleaner and the current server. Next, it determines whether the connection latency value is greater than a preset latency value. If the connection latency value is greater than the preset latency value, it indicates an abnormal connection status. At this point, the robot vacuum cleaner's data upload speed is acquired, and then it is checked whether the robot vacuum cleaner's data upload speed is greater than a preset data upload speed. Only if the robot vacuum cleaner's data upload speed is greater than the preset data upload speed will it be controlled to perform real-time map data upload. In other words, in this embodiment of the invention, the robotic vacuum cleaner monitors its connection status with the current server in real time, and only checks the data upload speed when there is significant latency. Real-time map data upload will only occur if the data upload speed is greater than the preset data upload speed. If the data upload speed is less than the preset data upload speed, the robotic vacuum cleaner can activate a delayed upload mode, meaning that real-time upload will only occur when the robotic vacuum cleaner moves to an area with a good connection to the server. This avoids data upload anomalies caused by inconsistent signals, improves transmission accuracy, and benefits the operation of the robotic vacuum cleaner.
[0023] In this embodiment of the invention, the robotic vacuum cleaner can change the way it uploads data according to the strength of the signal, which can avoid data upload anomalies and improve the accuracy of data upload.
[0024] Please see Figure 2 Furthermore, if so, the upload speed of the data obtained from the robot vacuum cleaner includes: Step S401: Control the robot vacuum cleaner to upload certain map data within 5 seconds; Step S402: Then, based on the uploaded map data values and time, the upload speed of the robot vacuum cleaner is obtained.
[0025] In this embodiment, the robot vacuum cleaner uploads a certain amount of map data within a certain time period, and then obtains the upload speed based on the time and the value of the uploaded map data. The operation is convenient and helps the robot vacuum cleaner to quickly obtain the upload speed.
[0026] Of course, in other implementations, upload speed can also be obtained through other methods. The specific design can be based on the actual situation and is not limited here.
[0027] Please see Figure 3 Furthermore, if so, the upload speed of the data obtained from the robot vacuum cleaner includes: Step S403: Obtain current network quality data; Step S404: Determine whether the current network quality data is lower than the preset network quality data; If so, in step S405, obtain the upload speed of the robot vacuum cleaner's data; Step S406: Determine whether the data upload speed is greater than the preset data upload speed; If so, in step S407, control the robot vacuum cleaner to upload map data in real time.
[0028] In this embodiment, the robotic vacuum cleaner can detect network quality data in real time. If the network quality data is lower than the preset network quality data, it indicates that the signal is weak. In this case, the robotic vacuum cleaner will obtain its data upload speed. If the upload speed is greater than the preset upload speed, it means that the data upload speed is normal. Only then will the robotic vacuum cleaner be controlled to upload map data in real time. That is to say, even when the signal is poor, the robotic vacuum cleaner can determine whether to upload map data in real time based on the upload speed. If the upload speed is poor, the robotic vacuum cleaner will not be controlled to upload map data in real time, thereby avoiding abnormal data upload due to signal problems and facilitating data upload.
[0029] Please see Figure 4 Furthermore, determining whether the data upload speed is greater than the preset data upload speed includes: If not, in step S501, control the robot vacuum cleaner to stop uploading map data in real time; Step S502: Change the real-time upload of map data by the robot vacuum cleaner to timed upload of map data.
[0030] In other words, in this embodiment, if the data upload speed is found to be abnormal, the real-time upload of map data will be changed to a timed upload. This is because the data upload speed will be delayed when the upload speed is slow. In this case, changing to a timed upload of map data can provide more time for the previous data upload, so that the next data upload can be carried out after the previous data upload is completed. This avoids the data upload backlog caused by poor signal, which would affect the data upload effect.
[0031] For example, if there are three data points A, B, and C to upload, real-time upload can upload all three simultaneously. However, in situations with a weak signal, simultaneous upload of all three data points can easily lead to one or two data points failing to upload, resulting in data anomalies. By using timed upload, data can be uploaded sequentially, avoiding the above situation and improving the stability of data upload.
[0032] Please see Figure 5 Furthermore, after changing the robot vacuum cleaner's real-time map data upload to scheduled map data uploads, the following will be achieved: Step S503: Obtain the currently drawn map data; Step S504: Determine whether the currently drawn map data is greater than 80%; If so, in step S505, control the robot vacuum cleaner to continue uploading map data at regular intervals.
[0033] In this embodiment, when the map data upload is greater than 80%, it indicates that the map data of the robot vacuum cleaner is close to complete. At this time, the robot vacuum cleaner can be controlled to continue to upload map data on a timed basis to ensure the accuracy of the map upload, which is beneficial to the subsequent work of the robot vacuum cleaner.
[0034] Furthermore, determining whether the currently drawn map data is greater than 80% includes: If not, control the robot vacuum cleaner to change the scheduled map data upload to a delayed map data upload.
[0035] If less than 80% of the map data is uploaded, it indicates that there are also some anomalies in the scheduled data upload. In this case, the scheduled map data upload can be changed to a delayed map data upload, that is, the map data is uploaded only after the robot vacuum cleaner moves to a location with a better signal, in order to improve the stability of the map.
[0036] For example, if the signal strength of the robot vacuum in room A is greater than that in room B, then after the robot vacuum moves from room B to room A and detects the increased signal strength, it will continue to upload map data.
[0037] Please see Figure 6 Furthermore, if not, control the robot vacuum cleaner to change the scheduled map data upload to a delayed map data upload, including: Step S5041: Obtain the current upload speed of the real-time data; Step S5042: Determine whether the current upload speed of the real-time data is higher than 10Mbps; If not, in step S5043, control the robot vacuum cleaner to change the delayed upload of map data to a single-point upload of map data in sub-packages.
[0038] In delayed map data uploads, if the current upload speed is less than 10Mbps, it indicates that the signal is still abnormal. In this case, a packet-splitting single-point method can be used to upload map data. This upload method results in smaller data volumes for each upload, which facilitates data upload.
[0039] Please see Figure 7 Furthermore, if not, control the robot vacuum cleaner to change the delayed upload of map data to a sub-package, single-point upload of map data, including: Step S5044: Divide the recorded map data into 10 parts; Step S5045: Store 10 map data into the local memory of the robot vacuum cleaner; Step S5046: Determine whether the 10 map data sets have been successfully stored in the robot vacuum cleaner's local memory; If so, in step S5047, upload 10 map data sets to the server.
[0040] In this embodiment, the robotic vacuum cleaner can divide the recorded map data into multiple parts and store them in its own memory before uploading them to the server. After returning to the base station, the robotic vacuum cleaner can retrieve the data from its local memory and compare and integrate it with the data on the server to obtain more complete data, thereby improving data accuracy and enhancing the user experience.
[0041] For example, a piece of data is divided into ten data packets: a, b, c, d, e, f, g, h, i, and z. All of these packets are stored in local memory and then uploaded to the server sequentially. Due to signal issues, data packets a, b, c, d, e, f, g, and h are uploaded to the server, but data packets i and z are not. After the robot vacuum returns to the base station, it can retrieve all ten data packets from the local memory and then upload the missing i and z data packets from the local memory to the server to complete the data and improve the accuracy of the data upload.
[0042] Please see Figure 8 The present invention provides a sweeping robot, which includes: The first acquisition module 100 is used to acquire the connection status between the sweeping robot and the current server in real time. The second acquisition module 200 is used to acquire the connection delay value between the sweeping robot and the current server. The first judgment module 300 is used to determine whether the connection delay value is greater than the preset delay value; The third acquisition module 400 is used to acquire the data upload speed of the robot vacuum cleaner when the first judgment module determines that the connection delay value is greater than the preset delay value. The second judgment module 500 is used to determine whether the data upload speed is greater than the preset data upload speed. The control module 600 is used to control the robot vacuum cleaner to upload map data in real time when the second judgment module determines that the data upload speed is greater than the preset data upload speed.
[0043] The robotic vacuum cleaner of this invention first acquires its connection status with the current server in real time, then acquires the connection latency value between the robotic vacuum cleaner and the current server, and then determines whether the connection latency value is greater than a preset latency value. If the connection latency value is greater than the preset latency value, it indicates that the connection status is abnormal. At this time, the upload speed of the robotic vacuum cleaner is acquired, and then it is determined whether the upload speed of the robotic vacuum cleaner is greater than the preset upload speed. Only if the upload speed of the robotic vacuum cleaner is greater than the preset upload speed will the robotic vacuum cleaner be controlled to perform real-time map data upload. In other words, in this embodiment of the invention, the robotic vacuum cleaner monitors its connection status with the current server in real time, and then checks the upload speed when there is a serious latency. Only if the upload speed is greater than the preset upload speed will the robotic vacuum cleaner upload map data in real time. If the upload speed is less than the preset upload speed, the robotic vacuum cleaner can activate a delayed upload mode, that is, the robotic vacuum cleaner will only upload in real time when it moves to a place with a good connection with the server. This can avoid abnormal data upload due to inconsistent signals, improve the accuracy of transmission, and benefit the operation of the robotic vacuum cleaner.
[0044] A computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method for uploading the aforementioned data.
[0045] The computer-readable storage medium of this invention first obtains the connection status of the robotic vacuum cleaner with the current server in real time, then obtains the connection latency value between the robotic vacuum cleaner and the current server, and then determines whether the connection latency value is greater than a preset latency value. If the connection latency value is greater than the preset latency value, it indicates that the connection status is abnormal. At this time, the upload speed of the robotic vacuum cleaner is obtained, and then it is determined whether the upload speed of the robotic vacuum cleaner is greater than a preset upload speed. Only if the upload speed of the robotic vacuum cleaner is greater than the preset upload speed will the robotic vacuum cleaner be controlled to perform real-time map data upload. That is to say, in the embodiment of this invention, the robotic vacuum cleaner will detect its connection status with the current server in real time, and then detect the upload speed when the latency is serious. Only if the upload speed is greater than the preset upload speed will the map data be uploaded in real time. If the upload speed is less than the preset upload speed, the robotic vacuum cleaner can start a delayed upload mode, that is, the robotic vacuum cleaner will only perform real-time upload when it moves to a place with a good connection with the server. This can avoid the abnormal data upload due to inconsistent signals, improve the accuracy of transmission, and benefit the operation of the robotic vacuum cleaner.
[0046] Those skilled in the art will understand that all or part of the processes in the above-described embodiments can be implemented by instructing related hardware with computer-readable instructions. These computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When executed, these computer-readable instructions can include the processes of the embodiments described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0047] Those skilled in the art will understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above.
[0048] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A method for uploading data, characterized in that, For a robotic vacuum cleaner, the data uploading method includes: Real-time acquisition of the connection status between the robotic vacuum cleaner and the current server; Obtain the connection latency value between the robotic vacuum cleaner and the current server; Determine whether the connection delay value is greater than a preset delay value; If the connection delay value is not greater than the preset delay value, control the robot vacuum cleaner to upload map data in real time; If the connection delay value is greater than the preset delay value, obtain the data upload speed of the robotic vacuum cleaner; Determine whether the upload speed of the data is greater than the preset upload speed of the data; If the data upload speed is greater than the preset data upload speed, control the robot vacuum cleaner to upload map data in real time; If the data upload speed is not greater than the preset data upload speed, control the robot vacuum to stop uploading map data in real time; change the robot vacuum to upload map data on a timed basis. Obtain the currently drawn map data that the robotic vacuum cleaner has uploaded to the current server; Determine whether the currently drawn map data is greater than 80%; If the current map data is greater than 80%, control the robot vacuum to continue performing the timed map data upload; If the currently drawn map data is not greater than 80%, control the robot vacuum cleaner to change the timed map data upload to a delayed map data upload.
2. The data uploading method as described in claim 1, characterized in that, If the connection latency value is greater than the preset latency value, the step of obtaining the data upload speed of the robotic vacuum cleaner includes: Control the robotic vacuum cleaner to upload a certain amount of map data within 5 seconds; Then, the upload speed of the robot vacuum cleaner is obtained based on the uploaded map data values and time.
3. The data uploading method as described in claim 1, characterized in that, If the currently drawn map data is not greater than 80%, the step of controlling the robot vacuum to change the timed map data upload to a delayed map data upload includes: Get the current upload speed of real-time data; Determine whether the current upload speed of the real-time data is higher than 10Mbps; If so, control the robotic vacuum cleaner to perform the delayed upload of map data; If not, control the sweeping robot to change the delayed map data upload to a sub-package single-point map data upload.
4. The data uploading method as described in claim 3, characterized in that, If not, control the sweeping robot to change the delayed map data upload to a single-point, segmented map data upload, including: The recorded map data was divided into 10 parts; The 10 map data are stored in the local memory of the sweeping robot; Determine whether the 10 map data sets have been successfully stored in the local memory of the robotic vacuum cleaner; If so, upload the 10 map data files already stored in the local storage to the server; If not, continue with the step of storing the 10 map data into the local memory of the robot vacuum cleaner.
5. A robotic vacuum cleaner, characterized in that, The robotic vacuum cleaner includes: The first acquisition module is used to acquire the connection status between the sweeping robot and the current server in real time. The second acquisition module is used to acquire the connection delay value between the sweeping robot and the current server. The first judgment module is used to determine whether the connection delay value is greater than a preset delay value; The third acquisition module is used to acquire the data upload speed of the sweeping robot when the first judgment module determines that the connection delay value is greater than the preset delay value. The second judgment module is used to determine whether the upload speed of the data is greater than the preset upload speed of the data; The control module is configured to control the robotic vacuum cleaner to upload map data in real time when the first judgment module determines that the connection delay value is not greater than the preset delay value, or when the second judgment module determines that the data upload speed is greater than the preset data upload speed; and to control the robotic vacuum cleaner to stop uploading map data in real time when the second judgment module determines that the data upload speed is not greater than the preset data upload speed; and to change the real-time uploading of map data by the robotic vacuum cleaner to timed uploading of map data; and further configured to: Obtain the currently drawn map data that the robotic vacuum cleaner has uploaded to the current server; Determine whether the currently drawn map data is greater than 80%; If the current map data is greater than 80%, control the robot vacuum to continue performing the timed map data upload; If the currently drawn map data is not greater than 80%, control the robot vacuum cleaner to change the timed map data upload to a delayed map data upload.
6. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the data uploading method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
IoT data reporting method, device and system
CN108667870A