Cleaning control method and device for cleaning mechanism and storage medium

文档序号:1133256 发布日期:2020-10-09 浏览:4次 中文

阅读说明:本技术 清洁机构的清洗控制方法、装置及存储介质 (Cleaning control method and device for cleaning mechanism and storage medium ) 是由 吴军 于 2020-06-23 设计创作,主要内容包括:本申请涉及一种清洁机构的清洗控制方法、装置及存储介质,属于计算机技术领域,该方法包括:获取清洁设备的开始清洁时间;获取清洁机构的清洗时长;基于开始清洁时间和清洗时长确定清洁机构的清洗时间,清洗时间位于开始清洁时间之前;在时间到达清洗时间时控制清洁设备对清洁机构进行清洗;可以解决在开始工作时才对清洁机构进行清洗,导致清洁设备的清洁效率较低的问题;由于可以在开始工作之前对清洗机构清洗完成,因此,可以提高清洁设备的清洁效率。(The application relates to a cleaning control method, a cleaning control device and a storage medium of a cleaning mechanism, belonging to the technical field of computers, wherein the method comprises the following steps: acquiring the cleaning starting time of the cleaning equipment; acquiring the cleaning time of a cleaning mechanism; determining a cleaning time of the cleaning mechanism based on the cleaning start time and the cleaning duration, the cleaning time being before the cleaning start time; when the time reaches the cleaning time, the cleaning device is controlled to clean the cleaning mechanism; the problem that the cleaning efficiency of the cleaning equipment is low due to the fact that the cleaning mechanism is cleaned when the cleaning equipment starts to work can be solved; since the washing of the washing mechanism can be completed before the start of the operation, the cleaning efficiency of the cleaning apparatus can be improved.)

1. A washing control method of a cleaning mechanism mounted on a cleaning device for cleaning a work area under the control of the cleaning device, the method comprising:

acquiring a cleaning start time of the cleaning device;

acquiring the cleaning time of the cleaning mechanism;

determining a wash time for the cleaning mechanism based on the start cleaning time and the wash duration, the wash time being prior to the start cleaning time;

and controlling the cleaning equipment to clean the cleaning mechanism when the time reaches the cleaning time.

2. The method of claim 1, wherein the obtaining a start cleaning time for the cleaning device comprises:

and receiving the cleaning starting time sent by other equipment, wherein the other equipment is connected with the cleaning equipment in a communication way, and the receiving time for receiving the cleaning starting time is positioned before the cleaning starting time.

3. The method of claim 1, wherein the obtaining a start cleaning time for the cleaning device comprises:

acquiring historical cleaning starting time of the cleaning equipment;

predicting the start cleaning time based on the historical start cleaning time.

4. The method of claim 3, wherein predicting the start cleaning time from the historical start cleaning times comprises:

when more than preset number of historical cleaning starting time is in the same time range, determining the cleaning starting time according to a plurality of historical cleaning starting time in the time range.

5. The method of claim 1, wherein said obtaining a wash duration of said cleaning mechanism comprises:

acquiring historical cleaning time of the cleaning mechanism;

and predicting the cleaning time of the current time according to the historical cleaning time.

6. The method of claim 1, wherein said obtaining a wash duration of said cleaning mechanism comprises:

acquiring the dirt degree of the cleaning mechanism;

and determining the cleaning time according to the dirt degree.

7. The method of claim 1, wherein said obtaining a degree of soiling of said cleaning mechanism comprises:

acquiring the last working time of the cleaning equipment;

and determining the dirt degree according to the working time length, wherein the working time length and the dirt degree are in positive correlation.

8. The method of any of claims 1 to 7, further comprising:

determining whether the cleaning mechanism is to be cleaned after the last operation;

when the cleaning mechanism is not cleaned, triggering and executing the step of determining the cleaning time of the cleaning mechanism based on the cleaning starting time and the cleaning time length.

9. A cleaning control device for a cleaning mechanism, the device comprising a processor and a memory; the memory stores therein a program that is loaded and executed by the processor to implement the washing control method of the cleaning mechanism according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that the storage medium has stored therein a program for implementing a wash control method of a cleaning mechanism according to any one of claims 1 to 8 when executed by a processor.

Technical Field

The application relates to a cleaning control method and device of a cleaning mechanism and a storage medium, and belongs to the technical field of computers.

Background

Cleaning equipment (such as a sweeping robot, a mopping robot and the like) is one of intelligent household appliances, and can automatically finish the ground cleaning work in a room by means of certain artificial intelligence. In the existing cleaning equipment, the floor mopping function is realized by arranging the rag at the bottom of the equipment. When the degree of dirt of the cleaning cloth is serious, secondary pollution can be caused to the ground in the subsequent ground cleaning process. Thus, the cleaning mechanism (e.g., mop cloth) needs to be cleaned before the cleaning device can be operated.

The washing control method of the existing cleaning mechanism comprises the following steps: when the cleaning equipment receives a signal for starting working, cleaning the cleaning mechanism at first; and cleaning the working area after the cleaning mechanism is cleaned.

However, the cleaning mechanism is cleaned only when the cleaning mechanism starts to work, which causes a delay in the starting time of the cleaning apparatus and reduces the cleaning efficiency of the cleaning apparatus.

Disclosure of Invention

The application provides a cleaning control method and device for a cleaning mechanism and a storage medium, which can solve the problem that the cleaning efficiency of cleaning equipment is low because the cleaning mechanism is cleaned only when the cleaning mechanism starts to work. The application provides the following technical scheme:

in a first aspect, there is provided a washing control method for a cleaning mechanism mounted on a cleaning device, the cleaning mechanism being used for cleaning a work area under the control of the cleaning device, the method including:

acquiring a cleaning start time of the cleaning device;

acquiring the cleaning time of the cleaning mechanism;

determining a wash time for the cleaning mechanism based on the start cleaning time and the wash duration, the wash time being prior to the start cleaning time;

and controlling the cleaning equipment to clean the cleaning mechanism when the time reaches the cleaning time.

Optionally, the acquiring a start cleaning time of the cleaning device includes:

and receiving the cleaning starting time sent by other equipment, wherein the other equipment is connected with the cleaning equipment in a communication way, and the receiving time for receiving the cleaning starting time is positioned before the cleaning starting time.

Optionally, the acquiring a start cleaning time of the cleaning device includes:

acquiring historical cleaning starting time of the cleaning equipment;

predicting the start cleaning time based on the historical start cleaning time.

Optionally, the predicting the start cleaning time according to the historical start cleaning time includes:

when more than preset number of historical cleaning starting time is in the same time range, determining the cleaning starting time according to a plurality of historical cleaning starting time in the time range.

Optionally, the obtaining the washing duration of the cleaning mechanism includes:

acquiring historical cleaning time of the cleaning mechanism;

and predicting the cleaning time of the current time according to the historical cleaning time.

Optionally, the obtaining the washing duration of the cleaning mechanism includes:

acquiring the dirt degree of the cleaning mechanism;

and determining the cleaning time according to the dirt degree.

Optionally, the acquiring the degree of contamination of the cleaning mechanism includes:

acquiring the last working time of the cleaning equipment;

and determining the dirt degree according to the working time length, wherein the working time length and the dirt degree are in positive correlation.

Optionally, the method further comprises:

determining whether the cleaning mechanism is to be cleaned after the last operation;

when the cleaning mechanism is not cleaned, triggering and executing the step of determining the cleaning time of the cleaning mechanism based on the cleaning starting time and the cleaning time length.

In a second aspect, there is provided a wash control device of a cleaning mechanism mounted on a cleaning device for cleaning a work area under control of the cleaning device, the device comprising:

the time acquisition module is used for acquiring the cleaning starting time of the cleaning equipment;

the time length acquisition module is used for acquiring the cleaning time length of the cleaning mechanism;

a time determination module for determining a wash time for the cleaning mechanism based on the start cleaning time and the wash duration, the wash time being before the start cleaning time;

and the cleaning control module is used for controlling the cleaning equipment to clean the cleaning mechanism when the time reaches the cleaning time.

In a third aspect, there is provided a purge control apparatus for a cleaning mechanism, the apparatus comprising a processor and a memory; the memory stores therein a program that is loaded and executed by the processor to implement the washing control method of the cleaning mechanism of the first aspect.

In a fourth aspect, there is provided a computer-readable storage medium having a program stored therein, the program being loaded and executed by the processor to implement the purge control method of the cleaning mechanism of the first aspect.

The beneficial effect of this application lies in: by acquiring a start cleaning time of the cleaning device; acquiring the cleaning time of a cleaning mechanism; determining a cleaning time of the cleaning mechanism based on the cleaning start time and the cleaning duration, the cleaning time being before the cleaning start time; when the time reaches the cleaning time, the cleaning device is controlled to clean the cleaning mechanism; the problem that the cleaning efficiency of the cleaning equipment is low due to the fact that the cleaning mechanism is cleaned when the cleaning equipment starts to work can be solved; since the washing of the washing mechanism can be completed before the start of the operation, the cleaning efficiency of the cleaning apparatus can be improved.

The foregoing description is only an overview of the technical solutions of the present application, and in order to make the technical solutions of the present application more clear and clear, and to implement the technical solutions according to the content of the description, the following detailed description is made with reference to the preferred embodiments of the present application and the accompanying drawings.

Drawings

FIG. 1 is a schematic view of a cleaning apparatus according to an embodiment of the present application;

FIG. 2 is a flow chart of a method for controlling a cleaning mechanism according to an embodiment of the present application;

FIG. 3 is a block diagram of a purge control device of a cleaning mechanism provided in an embodiment of the present application;

fig. 4 is a block diagram of a wash control device of a cleaning mechanism according to an embodiment of the present application.

Detailed Description

The following detailed description of embodiments of the present application will be described in conjunction with the accompanying drawings and examples. The following examples are intended to illustrate the present application but are not intended to limit the scope of the present application.

Fig. 1 is a schematic structural diagram of a cleaning device provided in an embodiment of the present application. The cleaning device is a device having a cleaning function and a self-moving function, such as: a sweeping robot, a mopping robot, etc., and the present embodiment does not limit the type of the cleaning device. As shown in fig. 1, the cleaning apparatus includes at least: a cleaning structure 110 and a control assembly 120.

Wherein the cleaning mechanism 110 is used to clean the work area under the control of the cleaning device. Alternatively, the cleaning mechanism 110 may be a brush, a rag, etc., and the embodiment is not limited to the type of the cleaning mechanism 110.

The control assembly 120 is used to control the operation of the cleaning device, such as: controlling the time when the cleaning device starts to work, the time when the cleaning device finishes to work, controlling the cleaning mechanism to be cleaned and the like.

In this embodiment, the control component 120 is configured to: acquiring the cleaning starting time of the cleaning equipment; acquiring the cleaning time of a cleaning mechanism; determining a cleaning time of the cleaning mechanism based on the cleaning start time and the cleaning duration, the cleaning time being before the cleaning start time; and controlling the cleaning device to clean the cleaning mechanism when the time reaches the cleaning time.

In addition, in the present embodiment, the control unit 120 is described as being mounted on the cleaning device, but in actual implementation, the control unit 120 may be mounted on another device independent from the cleaning device.

In addition, the cleaning device may also comprise further components, such as: the cleaning device comprises a moving component (such as a wheel) for driving the cleaning device to move, a driving component (such as a motor) for driving the moving component to move, and a power supply component (such as a battery pack).

Fig. 2 is a flowchart of a cleaning control method of a cleaning mechanism according to an embodiment of the present application, where the method is applied to the cleaning apparatus shown in fig. 1, and the execution subject of each step is exemplified by the control component 120. The method at least comprises the following steps:

in step 201, a cleaning start time of the cleaning device is obtained.

Optionally, the manner of obtaining the start cleaning time of the cleaning device includes, but is not limited to, at least one of the following manners:

the first method comprises the following steps: the start cleaning time sent by the other device is received. Wherein the reception time at which the cleaning start time is received is located before the cleaning start time.

The other device is communicatively coupled to the cleaning device. The other device may be a terminal in which a device control program for controlling the cleaning device by a user is installed. The terminal may be a mobile phone, a tablet computer, a wearable device, and the like, and the embodiment does not limit the type of the terminal.

And the second method comprises the following steps: acquiring historical cleaning starting time of the cleaning equipment; the start cleaning time is predicted from the historical start cleaning time.

In one example, predicting a start cleaning time from historical start cleaning times includes: when more than the preset number of historical cleaning starting times are in the same time range, the cleaning starting time is determined according to a plurality of historical cleaning starting times in the time range.

Such as: and calculating the average value of a plurality of historical cleaning starting times within the time range to obtain the cleaning starting time.

For another example: and distributing corresponding weights according to the times of each historical cleaning starting time, and calculating the weighted average value of the historical cleaning starting times to obtain the cleaning starting time. Wherein, the times and the weight are in positive correlation.

Of course, the manner of determining the cleaning start time may be other manners according to a plurality of historical cleaning start times in the same time range, and this embodiment is not listed here.

The preset number may be 5, 10, etc., and the value of the preset number is not limited in this embodiment.

The span of the time range is less than 24 hours. Such as: the time range spans half an hour, one hour, ten minutes, and the like, and the setting manner of the time range is not limited in this embodiment.

In another example, the cleaning apparatus determines the last start cleaning time as the start cleaning time of this time. Of course, the cleaning device may also predict the cleaning start time based on the historical cleaning start time in other ways, and this embodiment is not described here.

Step 202, the cleaning duration of the cleaning mechanism is obtained.

Wherein, the washing duration of the cleaning mechanism is obtained, including but not limited to the following modes:

the first method comprises the following steps: acquiring the historical cleaning time of a cleaning mechanism; and predicting the cleaning time of the current time according to the historical cleaning time.

Such as: and determining the average value of the historical cleaning time lengths as the cleaning time length of the time.

And the second method comprises the following steps: acquiring the dirt degree of the cleaning mechanism; and determining the cleaning time according to the dirt degree.

Optionally, obtaining a degree of soiling of the cleaning mechanism comprises: acquiring the last working time of the cleaning equipment; and determining the dirt degree according to the working time. Wherein, the working time length and the dirt degree are in positive correlation. Alternatively, a contamination detection sensor is mounted on the cleaning device, and the degree of contamination of the cleaning structure is determined from the detection result of the contamination sensor. The contamination detection sensor may be an image sensor.

Wherein, the cleaning time length of this time is determined according to the dirt degree, and comprises the following steps: and establishing a mapping relation between the dirt degree and the cleaning time length, and determining the cleaning time length corresponding to the current dirt degree of the cleaning mechanism according to the mapping relation.

Alternatively, step 202 may be performed after step 201; alternatively, it may be performed before step 201; alternatively, the steps 201 may be executed simultaneously, and the execution sequence between the steps 201 and 202 is not limited in this embodiment.

Step 203, determining the cleaning time of the cleaning mechanism based on the cleaning start time and the cleaning duration, wherein the cleaning time is before the cleaning start time.

Optionally, the cleaning time is before the time obtained by subtracting the cleaning time length from the cleaning start time; alternatively, the washing time is the time obtained by subtracting the washing time length from the cleaning start time.

Since the cleaning device may have cleaned the cleaning mechanism after the last cleaning operation is completed. Therefore, in order to avoid the problem of repeated cleaning, in the present embodiment, the cleaning apparatus determines whether or not the cleaning mechanism is to be cleaned after the last operation; step 203 is performed when the cleaning mechanism is not being cleaned.

And step 204, controlling the cleaning device to clean the cleaning mechanism when the time reaches the cleaning time.

In one example, the cleaning device is not carried with a water tank, and the cleaning device is controlled to clean the cleaning mechanism at the time, the cleaning mechanism comprises: and controlling the cleaning equipment to move to the water tank position so that the cleaning structure is cleaned by the cleaning equipment out of the water tank position.

In another example, the cleaning device carries a water tank thereon, and at this time, the cleaning device is controlled to wash the cleaning mechanism, including: and controlling the water pumping device to pump water from the water tank and spray the pumped water tank cleaning mechanism to clean the cleaning mechanism.

In summary, in the cleaning control method of the cleaning mechanism provided in this embodiment, the cleaning start time of the cleaning device is obtained; acquiring the cleaning time of a cleaning mechanism; determining a cleaning time of the cleaning mechanism based on the cleaning start time and the cleaning duration, the cleaning time being before the cleaning start time; when the time reaches the cleaning time, the cleaning device is controlled to clean the cleaning mechanism; the problem that the cleaning efficiency of the cleaning equipment is low due to the fact that the cleaning mechanism is cleaned when the cleaning equipment starts to work can be solved; since the washing of the washing mechanism can be completed before the start of the operation, the cleaning efficiency of the cleaning apparatus can be improved.

Fig. 3 is a block diagram of a cleaning control device of a cleaning mechanism according to an embodiment of the present application, and the embodiment is described by taking an example in which the cleaning control device is applied to the cleaning apparatus shown in fig. 1. The device at least comprises the following modules: a time acquisition module 310, a duration acquisition module 320, a time determination module 330, and a purge control module 340.

A time acquisition module 310 for acquiring a start cleaning time of the cleaning apparatus;

a duration obtaining module 320, configured to obtain a cleaning duration of the cleaning mechanism;

a time determination module 330 for determining a wash time for the cleaning mechanism based on the start cleaning time and the wash duration, the wash time being before the start cleaning time;

and the cleaning control module 340 is used for controlling the cleaning equipment to clean the cleaning mechanism when the time reaches the cleaning time.

For relevant details reference is made to the above-described method embodiments.

It should be noted that: in the cleaning control device for a cleaning mechanism provided in the above embodiment, only the division of the above functional modules is illustrated when performing the cleaning control of the cleaning mechanism, and in practical applications, the above functions may be distributed to different functional modules according to needs, that is, the internal structure of the cleaning control device for a cleaning mechanism may be divided into different functional modules to complete all or part of the above described functions. In addition, the cleaning control device of the cleaning mechanism and the cleaning control method of the cleaning mechanism provided by the above embodiments belong to the same concept, and the specific implementation process thereof is described in detail in the method embodiments and will not be described herein again.

Fig. 4 is a block diagram of a washing control device of a cleaning mechanism according to an embodiment of the present application, which may be the cleaning apparatus shown in fig. 1. The apparatus comprises at least a processor 401 and a memory 402.

Processor 401 may include one or more processing cores such as: 4 core processors, 8 core processors, etc. The processor 401 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 401 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.

Memory 402 may include one or more computer-readable storage media, which may be non-transitory. Memory 402 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 402 is used to store at least one instruction for execution by processor 401 to implement the purge control method of the cleaning mechanism provided by the method embodiments herein.

In some embodiments, the washing control device of the cleaning mechanism may further include: a peripheral interface and at least one peripheral. The processor 401, memory 402 and peripheral interface may be connected by bus or signal lines. Each peripheral may be connected to the peripheral interface via a bus, signal line, or circuit board. Illustratively, peripheral devices include, but are not limited to: radio frequency circuits and power supplies, etc.

Of course, the cleaning control device of the cleaning mechanism may also include fewer or more components, and this embodiment is not limited thereto.

Optionally, the present application also provides a computer-readable storage medium, in which a program is stored, the program being loaded and executed by a processor to implement the cleaning control method of the cleaning mechanism of the above-described method embodiment.

Optionally, the present application further provides a computer product including a computer-readable storage medium, in which a program is stored, the program being loaded and executed by a processor to implement the cleaning control method of the cleaning mechanism of the above-described method embodiment.

The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种KBS植物萃取湿巾

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!