[ detailed description ] embodiments
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
As mentioned in the background, the cleaning devices of the related art usually return to the base station for cleaning of the mops after the continuous cleaning area reaches a corresponding preset threshold or the continuous cleaning time reaches a corresponding preset threshold, in order to ensure that the cleaning degree of the mops meets the cleaning requirements. However, since different types of rooms may have different stains, for example, the floor of the kitchen may have oil stains, and if the cleaning device cleans the kitchen after cleaning, the oil stains are easily brought into the living room or the like, causing the stains to cross in different areas, because the continuous cleaning time or the continuous cleaning area does not reach the corresponding preset threshold value and the mop is not cleaned directly into the living room or the like.
In order to solve the above technical problem, according to an aspect of an embodiment of the present application, a control method of a cleaning apparatus is provided. Alternatively, in the present embodiment, the control method of the cleaning apparatus described above may be applied to a hardware environment constituted by theterminal 102 and thecleaning apparatus 104 and the base station 106 (also referred to as dust collection station) as shown in fig. 1. As shown in fig. 1,terminal 102 may be connected tocleaning device 104 and/or base station 106 via a network to configure the functionality ofcleaning device 104 and/or base station 106, e.g., to configure the cleaning functionality ofcleaning device 104.Cleaning device 104 may connect with base station 106 over a network to determine the current status of the peer (e.g., power status, operating status, location information, etc.).
The network may include, but is not limited to, at least one of: wired networks, wireless networks. The wired network may include, but is not limited to, at least one of: wide area networks, metropolitan area networks, local area networks, which may include, but are not limited to, at least one of the following: WIFI (Wireless Fidelity ), bluetooth, infrared. The network used by theterminal 102 to communicate with thecleaning device 104 and/or the base station 106 may be the same or different than the network used by thecleaning device 104 to communicate with the base station 106. Theterminal 102 may not be limited to a PC, a cell phone, a tablet, etc., thecleaning device 104 may be a host of a self-cleaning robot (e.g., a washing and mopping robot), such as an automatic washing and mopping machine, and the base station 106 may be a base station of the self-cleaning robot.
The control method of the cleaning device according to the embodiment of the present application may be executed by theterminal 102, thecleaning device 104, or the base station 106 alone, or may be executed by at least two of theterminal 102, thecleaning device 104, and the base station 106 in combination. Theterminal 102, thecleaning device 104, or the base station 106 may execute the control method of the cleaning device according to the embodiment of the present application by a client installed thereon.
Taking thecleaning device 104 as an example to execute the control method of the cleaning device in the present embodiment, fig. 2 is a schematic flowchart of an alternative control method of the cleaning device according to the embodiment of the present application, and as shown in fig. 2, the flowchart of the method may include the following steps:
step S202, determining a cleaning area of the cleaning device, wherein the cleaning area comprises one or more to-be-cleaned partitions obtained by dividing according to the room type.
The control method of the cleaning apparatus in the present embodiment may be applied to a scene in which an area to be cleaned is cleaned by the cleaning apparatus. The area to be cleaned may be an indoor area in a home, or may be other areas such as an office and a studio, or may be any other area having partitions divided according to room types. The cleaning device may be a main body of the self-cleaning robot (e.g. a washing and mopping integrated robot), or may be other devices having an area cleaning function. The cleaning can be mopping, mopping or sweeping, and the like, and any cleaning operation can be realized. This is not limited in this embodiment.
In performing area cleaning, the cleaning apparatus may first determine an area to be cleaned by the apparatus, i.e., an area to be cleaned. One or more subareas to be cleaned which are divided according to the room types can be contained in the area to be cleaned. The partition to be cleaned may be determined in various ways, for example, based on the partition identifier, or may be determined according to default configuration information, where the default configuration information is used to indicate the partition that needs to be cleaned by the cleaning device, and this is not limited in this embodiment.
The partition to be cleaned may be a partial partition selected from a plurality of candidate partitions, or may be all of the candidate partitions. Each partition to be cleaned may be a room, a type of room (one or more rooms of the same type), or other partitions allowing simultaneous cleaning, for example, sub-room partitions (or sub-areas) divided within a room. In this embodiment, the partition mode for obtaining the partition is not limited.
And step S204, determining a target backwashing mode corresponding to the cleaning equipment.
In order to ensure the cleanliness of the area, the cleaning device can be configured with at least one backwashing mode to control the cleaning device to automatically return to the base station for mop cleaning during mopping or mopping, and after the cleaning is finished, the cleaning device can continue to perform the cleaning work. Each backwash mode is used to instruct the cleaning device to return to the base station for mop cleaning during cleaning of the area to be cleaned, which may correspond to a backwash frequency.
The backwashing frequency can be set in various ways. For example, the cleaning device defaults to a backwash frequency, which is not user settable; for another example, the cleaning device defaults to a backwash frequency, and the user can manually set how many square meters of backwashing should be cleaned (i.e., a backwash mode in which backwashing is performed by area); as another example, the cleaning device defaults to a backwash frequency, and the user can manually set how long to backwash (i.e., a backwash pattern that backwashes by time). With the arrangement mode, because the area and the area sweeping time are not fixed, the cleaning equipment can sweep a plurality of room areas in the process of one round of sweeping, and automatic backwashing can not be carried out after one room is cleaned. In order to alleviate the problem of cross-stains appearing in different zones (e.g., throughout a room), a backwashing mode may also be provided in which backwashing is performed according to zones.
Before or during the cleaning of the area to be cleaned, the cleaning device can also determine a target backwash mode corresponding to the device, i.e. a mode in which the cleaning device returns to the base station for mop cleaning during the cleaning of the area to be cleaned.
And step S206, when the target backwashing mode is the zone-based backwashing, the cleaning equipment cleans the zones to be cleaned and moves to the base station to clean the mops after cleaning each zone to be cleaned.
The cleaning device can clean each subarea to be cleaned. The cleaning sequence of each partition to be cleaned can be determined according to the position relation of the partition to be cleaned, and can also be determined according to the priority of each partition to be cleaned. This is not limited in this embodiment.
If the determined target backwashing mode is backwashing according to subareas, the cleaning equipment can move to a base station for mop cleaning after cleaning each subarea to be cleaned in the process of cleaning each subarea to be cleaned. The above mop cleaning may include cleaning the mop by the base station, or may include replacing the mop by the base station, or sending a prompt message for replacing the mop after the cleaning device returns to the base station so that the user can manually replace the mop according to the prompt message, which is not limited in this embodiment. The number of times of cleaning for each partition to be cleaned may be the same, for example, each partition to be cleaned is cleaned once, each partition to be cleaned is cleaned twice, etc., or may be different, for example, for an indoor area such as a living room, a bedroom, etc., each partition to be cleaned may be cleaned only once, and for an indoor area such as a kitchen, a bathroom, etc., each partition to be cleaned may be cleaned multiple times (for example, twice, three times, etc.), which is not limited in this embodiment.
Alternatively, it is possible to clean all the subareas to be cleaned with one mop cloth or with several mop cloths, each for cleaning part of the areas to be cleaned. For example, indoor areas such as living rooms, bedrooms, etc. may be cleaned using the same mops, while for indoor areas such as kitchens, toilets, etc. additional mops may be used for cleaning.
The mop change can be performed manually, i.e. the cleaning device sends a prompt for changing the mop, and after the mop is changed by the user, the cleaning device continues to clean other sections. The mop replacement can also be performed automatically, for example, different mops can be fixed in different adsorbable components (e.g., magnetic attraction components), the mops are fixed at the bottom of the cleaning device by the adsorbable components, when the mops need to be replaced, the first adsorbable component can be pushed to a specific position of the base station to be fixed by rotating the polarity of the magnet in the cleaning device or by other mechanical components, the polarity of the magnet in the cleaning device is rotated again, the second adsorbable component where the mops need to be used is pushed to the bottom of the cleaning device, and is in adsorption connection with the cleaning device, the replacement of the mops is completed, and other ways of replacing the mops are also possible, which is not limited in this embodiment.
Through the steps S202 to S206, determining a cleaning area of the cleaning device, wherein the cleaning area includes one or more cleaning subareas divided according to the room type; determining a target backwashing mode corresponding to the cleaning equipment; when the target backwashing mode is backwashing according to the subareas, the cleaning equipment cleans the subareas to be cleaned and moves to the base station to clean the mop after cleaning one subarea to be cleaned, so that the problem that stains are easy to cross in different areas due to improper backwashing frequency setting of the cleaning equipment in the related art is solved, the probability that the stains are easy to cross in different areas is reduced, and the reasonability of area cleaning is improved.
In one exemplary embodiment, determining an area to be cleaned of a cleaning device includes:
s11, determining a room to be cleaned corresponding to the cleaning equipment according to the received cleaning instruction;
and S12, dividing the room to be cleaned into partitions to be cleaned according to the room types of the room to be cleaned, wherein the partitions to be cleaned contain all the rooms to be cleaned with the same room type and the number of the room types not more than one.
The operation of determining the cleaning area of the cleaning device as described above may be triggered by a cleaning instruction. The cleaning instruction may be sent by a user through operating a base station, or sent by operating a cleaning device or a target terminal, or automatically generated according to a preset daily cleaning task, and the sending manner of the cleaning instruction is not limited in this embodiment.
The target terminal is a terminal with control authority over the cleaning device, and can send a cleaning instruction to the cleaning device through a network, so that the cleaning device can execute corresponding cleaning operation according to the cleaning instruction.
Based on the received cleaning instructions, the cleaning device may determine an area to be cleaned. For example, a to-be-cleaned partition identifier for identifying a to-be-cleaned partition may be carried in the cleaning instruction, and based on the to-be-cleaned partition identifier and a preset area map, the cleaning device may determine all the to-be-cleaned partitions. The preset area map may be associated with an area map of a current area where the cleaning device is located (e.g., a house map of a user's home), which may be pre-stored or carried in the cleaning instruction. The preset area map includes partition information (which may include partition boundaries, partition identifiers of candidate partitions, and the like) for identifying a plurality of candidate partitions into which the preset area map is divided, and the cleaning device may determine the one or more partitions to be cleaned based on the partition information of the candidate partitions and the partition identifiers to be cleaned.
Alternatively, in order to ensure flexibility of the configuration of the backwashing mode and reduce complexity of the configuration of the map, the cleaning device may determine the one or more subareas to be cleaned according to the received cleaning instruction. After receiving the cleaning instruction, the cleaning device may determine the room that needs to be cleaned for this cleaning task, i.e., the room to be cleaned. The room to be cleaned may be all or part of a plurality of candidate rooms corresponding to the cleaning apparatus. That is, the cleaning instruction may carry a room type identifier corresponding to a specified room type to be cleaned or a room identifier corresponding to a specified room to be cleaned, and based on the identifier and a preset area map, the cleaning device may determine a room to be cleaned and further determine a partition to be cleaned, and determine a corresponding area to be cleaned based on the partition to be cleaned. The cleaning apparatus may divide the room to be cleaned into the sections to be cleaned according to the room type of the room to be cleaned. Each section to be cleaned contains all rooms to be cleaned of the same room type and does not contain more than one room type, i.e., one section to be cleaned contains rooms to be cleaned of one room type or a partial region of rooms to be cleaned of one room type. For example, the cleaning apparatus may determine one room to be cleaned as one section to be cleaned, i.e., the two have a one-to-one correspondence. For another example, the cleaning apparatus may determine all rooms to be cleaned of one room type as one partition to be cleaned. As another example, the cleaning apparatus may determine a partial area of a room to be cleaned (i.e., a sub-room area) as a section to be cleaned. This is not limited in this embodiment.
In addition, the foregoing operation of determining the partition to be cleaned may also be performed by other devices, for example, a target terminal, a server, and the like, and the process of determining the partition to be cleaned by other devices is similar to that described above, and is not described herein again.
By the aid of the method and the device, the room to be cleaned is determined in response to the received cleaning instruction, and the room to be cleaned is divided into the partitions to be cleaned based on the room types, so that the flexibility of configuration of the backwashing mode can be improved, and the complexity of map configuration can be reduced.
In one exemplary embodiment, dividing a room to be cleaned into partitions to be cleaned according to room types of the room to be cleaned includes:
s21, when a room to be cleaned including at least one preset sub-room area exists in the room to be cleaned, determining the partition to be cleaned corresponding to each sub-room area according to the room type of the sub-room area.
Based on house function (e.g., one room is functioning as both a kitchen and a living room, i.e., an open kitchen), the type of soiling generated by different areas within one room may be different; based on the floor area, if the floor area is too large, cleaning the rag after cleaning the complete room each time is easy to cause dirty cleaning. In this embodiment, all or part of the rooms of the preset area map may be divided into a plurality of sub-room areas as needed, and one sub-room area may correspond to one partition to be cleaned.
After determining the room to be cleaned, the cleaning apparatus may further determine whether the room to be cleaned is a room divided into a plurality of sub-room regions. If a room to be cleaned including at least one preset sub-room region exists in the room to be cleaned, the cleaning device can determine the cleaning partition corresponding to each sub-room region according to the room type of the sub-room region.
For example, if the room to be cleaned comprises a living room, which is divided into two living room partitions, i.e. two sub-room areas, the cleaning device may determine each living room partition as one partition to be cleaned.
According to the method and the device for cleaning the subareas, the subareas to be cleaned are determined according to the subarea areas divided by the rooms, and the subarea cleaning can be performed by taking the subarea areas as units, so that the cross appearance of stains in different areas of the same room can be relieved, and the rationality of the area cleaning is improved.
In one exemplary embodiment, the cleaning instructions include a to-be-cleaned area identification for identifying the to-be-cleaned room described above. According to the received cleaning instruction, determining a room to be cleaned corresponding to the cleaning device, wherein the method comprises the following steps:
and S31, identifying and positioning the room to be cleaned contained in the preset area map according to the area to be cleaned identifier included in the cleaning instruction.
The cleaning device, after receiving the cleaning instruction, may extract therefrom an identification of the area to be cleaned. Based on the cleaning area identification and the preset area map, the cleaning device can identify and locate the cleaning room in the preset room map. In this case, the preset area map includes room information (which may include room boundaries, room identifications of the candidate rooms, room types of the candidate rooms, and the like) for identifying a plurality of candidate rooms included in the preset area map.
Correspondingly, when the target backwashing mode is backwashing by subareas, the cleaning equipment cleans subareas to be cleaned and moves to the base station for mop cleaning after cleaning each subarea to be cleaned, and the method comprises the following steps:
and S32, moving the cleaning equipment to the rooms to be cleaned contained in the subareas to be cleaned according to the preset area map for cleaning, and moving the cleaning equipment to the base station for mop cleaning after cleaning each subarea to be cleaned.
When the area to be cleaned is cleaned, the cleaning equipment can move to the room to be cleaned contained in the subarea to be cleaned according to the preset area map for cleaning, and move to the base station for mop cleaning after cleaning one subarea to be cleaned. For example, the room position of the room to be cleaned contained in the current partition to be cleaned may be located according to the preset area map, the room position of the room to be cleaned is moved to, and the current partition to be cleaned is cleaned from the preset point of the room to be cleaned along the preset direction. After cleaning the current section to be cleaned, the cleaning device can be moved to the base station for mop cleaning.
If all the rooms to be cleaned belong to one subarea to be cleaned, the cleaning equipment can determine the room to be cleaned corresponding to the next subarea to be cleaned, move the room to be cleaned contained in the next subarea to be cleaned according to a preset area map for cleaning, and move the room to be cleaned to the base station for mop cleaning after the next subarea to be cleaned is cleaned. If part of the room to be cleaned belongs to one section to be cleaned (i.e. each sub-room area of the room to be cleaned corresponds to one section to be cleaned), the cleaning device may be moved back to the current room to be cleaned after mop cleaning is completed, cleaned for the next section to be cleaned in the room to be cleaned, and moved to the base station for mop cleaning after cleaning the next section to be cleaned.
Through the embodiment, the room to be cleaned is positioned and identified based on the preset area map, and the cleaning equipment is controlled to clean the room to be cleaned, so that the accuracy of room cleaning can be improved.
In an exemplary embodiment, the method further includes:
s41, visually displaying a cleaning configuration interface to a user by the target terminal;
s42, in response to the detection that the user performs a first selection operation on the room to be cleaned and a second selection operation on the target backwashing option through the cleaning configuration page, the target terminal generates a cleaning instruction according to the first selection operation and the second selection operation and sends the cleaning instruction to the cleaning equipment.
In consideration of the fact that the height of the cleaning device or the base station is generally not high, the cleaning device is not convenient to operate, and sensing complex trigger operations (for example, operations of setting a region to be cleaned, a backwashing mode and the like) have high requirements on software and hardware of the cleaning device, so that the cost of the cleaning device is increased, and the existing cleaning device is difficult to be compatible, in the embodiment, the target terminal can be triggered to generate a cleaning instruction through the operation target terminal, and the generated cleaning instruction is sent to the cleaning device.
To generate the cleaning instructions, the target terminal may display a visualization interface, i.e., a cleaning configuration interface, which may be an interface displayed on a target application running on the target terminal, which may be used for configuring cleaning tasks visually by the user. At least one zone option and at least one backwash option may be displayed on the cleaning configuration interface, each zone option may be used to identify a candidate room, and each backwash option may be used to identify a backwash pattern corresponding to the cleaning device.
Optionally, the area option and the backwashing option may be displayed on the same configuration interface (or configuration window) or on different configuration interfaces (or configuration windows), and the area option and the backwashing option may or may not be displayed simultaneously, for example, the area option is displayed first and then the backwashing option is displayed, or the backwashing option is displayed first and then the area option is displayed. In this embodiment, the display modes of the region option and the backwashing option are not limited.
The user can perform a first selection operation on a target area option in the area options, the target area option is an area option corresponding to a room to be cleaned, the room to be cleaned can be selected by selecting the target area option, and a second selection operation can be performed on a target backwashing option in the backwashing options, so that a target backwashing mode is selected.
For example, a cleaning configuration interface may be shown in fig. 3, in which a plurality of room options (i.e., zone options), namely zone a, zone B, zone C, and zone D, may be displayed. The cleaning configuration interface may also include: options for cleaning and self-cleaning settings, cleaning area (cleaned area), cleaning time (cleaned time), host power, selection options (by selecting this option an interface for selecting a partition to be cleaned can be displayed), global options (by selecting this option all partitions can be displayed), and zoning options (by selecting this option a interface for partitioning partitions can be displayed). In addition, a map management option (an option for managing a preset area map), a recharge start option (an option for triggering the start of recharge) and the like can be included in the configuration interface.
By selecting the self-cleaning setting option in fig. 3, a configuration interface as shown in fig. 4 may be entered, on which a number of backwash options may be displayed: options for backwashing by area, including every 5m2Every 10m2(this option is selected in FIG. 4), and every 15m2Option of backwashing once; the option of backwashing by sections comprises the option of backwashing a single area once. In addition, options for cleaning mops and drying mops can be included in the configuration interface shown in fig. 4. When the "single area" option is selected, a configuration interface such as that shown in FIG. 5 is displayed.
The target terminal can detect the first selection operation and the second selection operation, and in response to the detection of the first selection operation and the second selection operation, the target terminal can determine a room to be cleaned and a target backwashing mode, so that a cleaning instruction can be generated according to an area identifier to be cleaned of the area to be cleaned and a target mode identifier of the target backwashing mode, and the cleaning instruction is sent to the cleaning equipment.
Correspondingly, the target backwashing mode corresponding to the cleaning equipment is determined, and the method comprises the following steps:
and S43, the cleaning device determines a target backwashing mode corresponding to the cleaning device according to the cleaning instruction.
After the cleaning device receives the cleaning instruction, the target pattern identifier may be extracted from the cleaning instruction, and a backwashing pattern, that is, a target backwashing pattern, used when the cleaning device cleans the region to be cleaned is determined according to the target pattern identifier.
Through the embodiment, the convenience of cleaning instruction configuration can be improved through the visual configuration of the configuration interface cleaning task and the determination of the room to be cleaned and the backwashing mode used by the configuration task based on the operation of the user on the configuration interface.
In an exemplary embodiment, the cleaning instructions may further comprise sub-area information indicating a sub-room area comprised by the room to be cleaned. Correspondingly, the method further comprises the following steps:
s51, when a room to be cleaned with an area exceeding a preset area threshold value exists in the room to be cleaned and/or a room to be cleaned with a corresponding room function exceeding one exists, visually displaying a subarea interface corresponding to the room to be cleaned by the target terminal to a user;
and S52, in response to the detection of the partition operation executed by the user through the sub-area partition interface, generating corresponding sub-area information by the target terminal according to the partition operation.
In this embodiment, the rooms may be partitioned by area and/or room function. For example, the maximum area of each room area allowed to be cleaned per cleaning round may be pre-configured, i.e. a preset area threshold, e.g. 10m2. If the area of the room to be cleaned is larger than the preset area threshold, the room to be cleaned may be partitioned into a plurality of sub-room regions according to the partition, the area of each sub-room region is smaller than or equal to the preset area threshold, and each sub-room region may be a partition to be cleaned. For another example, if a room to be cleaned has more than one corresponding room function, the room to be cleaned may be divided into a plurality of room regions according to the room function the room to be cleaned has and the room region corresponding to each room function.
The partitioning according to the area may be automatically performed by the server based on a region partitioning rule. The region division rule may be: the method comprises the steps of dividing a room to be cleaned into two sub-room regions along a first direction, determining the region area of each sub-room region, if the sub-room region with the area larger than a preset area region exists, dividing the sub-room region into two smaller sub-room regions along a second direction, and the like until the area of each sub-room region is smaller than or equal to a preset area threshold value, so as to obtain the sub-region information.
The above partitioning by room function may be automatically performed by the server based on the zone function configuration information. The zone function configuration information is used for indicating zone functions of the room to be cleaned and room zones corresponding to each zone function. Based on the zone function configuration information, the server may determine a room zone corresponding to one zone function as one sub-room zone, so as to obtain the above sub-zone information.
Alternatively, the area division may be performed manually by a user. If there is a room to be cleaned whose area exceeds a preset area threshold and/or there is a room to be cleaned whose corresponding room function exceeds one, the target terminal may visually display a sub-area partition interface corresponding to the room to be cleaned to the user, and may display the room to be cleaned on the sub-area partition interface, for example, area a in fig. 3. The sub-area partition interface may be displayed after determining that the backwashing mode is backwashing according to the partition, or may be displayed in other scenes, for example, when a preset map area is configured, which is not limited in this embodiment.
The user may perform a partition operation on the room to be cleaned displayed in the subarea partition interface, for example, by sliding, designating a partition endpoint, or the like, to partition the room to be cleaned. In response to the detected partitioning operation, the target terminal may generate corresponding sub-region information according to the partitioning operation. The generated sub-area information may be stored locally in the target terminal, or may be sent to the server for storage, or directly carried in the cleaning instruction, which is not limited in this embodiment.
Through this embodiment, carry out the regional division of sub-room according to area and/or room function to can carry out the backwash based on area and/or room function when carrying out the backwash based on the subregion, can improve the rationality of backwash configuration and regional division, and then promote user's use experience.
In one exemplary embodiment, when the target backwash mode is zone-by-zone backwash, the cleaning device cleans zones to be cleaned and moves to the base station for mop cleaning after cleaning each zone to be cleaned, comprising:
and S61, when the continuous cleaning time of the cleaning equipment reaches a preset time threshold value, the cleaning equipment moves to a base station for mop cleaning.
In order to improve the reasonability of area cleaning and avoid the problems of insufficient power, unclean cleaning and the like of cleaning equipment caused by long time needed at one time, backwashing can be carried out according to the cleaning time while backwashing according to subareas. If the duration of cleaning time of the cleaning device reaches a preset time threshold, the cleaning device may be moved to a base station for mop cleaning. Also, the cleaning device will be moved to the base station for mop cleaning each time a section to be cleaned is cleaned. In this way, the duration of each cleaning does not exceed the preset time threshold.
The preset time threshold may be a preset maximum time for each cleaning, which may be manually configured by a user, or may be determined based on default configuration information, which is not limited in this embodiment.
Through this embodiment, when according to subregion backwash, carry out the backwash according to the clean time, can improve regional clear rationality.
In an exemplary embodiment, the method further includes:
and S71, when the number of the subareas to be cleaned exceeds one, determining the cleaning sequence of the subareas to be cleaned according to the priority sequence of the subareas to be cleaned.
If the number of the partitions to be cleaned is multiple, the washing sequence of the partitions to be cleaned may be determined according to the area positions of the partitions to be cleaned, may also be determined based on the sequence of the partitions to be cleaned in the partition list of the partitions to be cleaned, and may also be determined according to a preset priority sequence of the partitions to be cleaned, where the priority sequence of the partitions to be cleaned may be a cleaning priority sequence based on the room type. The priority order of the partitions to be cleaned may be determined based on default configuration information, or may be configured based on a configuration instruction of a user, which is not limited in this embodiment.
For example, bedrooms and living rooms may be configured to have a higher cleaning priority than kitchens and toilets; the cleaning priorities of the bedroom and the living room can be the same or different; the cleaning priorities for the kitchen and the toilet may be the same or different.
Correspondingly, when the target backwashing mode is backwashing by subareas, the cleaning equipment cleans subareas to be cleaned and moves to the base station for mop cleaning after cleaning each subarea to be cleaned, and the method comprises the following steps:
and S72, cleaning the subareas to be cleaned according to the cleaning sequence by the cleaning equipment, and moving to the base station to clean the mops after cleaning each subarea to be cleaned.
Based on the determined number of the subareas to be cleaned exceeding one, the cleaning device can clean the subareas to be cleaned in sequence and move to the base station for mop cleaning after cleaning each subarea to be cleaned. In addition, the cleaning device can also acquire the cleaning times corresponding to each subarea to be cleaned, and in the process of cleaning each subarea to be cleaned, the cleaning device moves to the base station to clean the mop after each area cleaning is finished according to the cleaning times corresponding to each subarea to be cleaned.
Through the embodiment, the plurality of subareas are cleaned in sequence according to the priority order of the subareas, so that the rationality of subarea cleaning can be ensured, and the probability of cross occurrence of stains in different areas is reduced.
In one exemplary embodiment, when the number of the subareas to be cleaned exceeds one, the cleaning sequence of the subareas to be cleaned is determined according to the priority sequence of the subareas to be cleaned, and the cleaning sequence comprises at least one of the following steps:
(1) and determining the priority order of the subareas to be cleaned according to the room types corresponding to the subareas to be cleaned.
The priority order of the partitions to be cleaned may be determined based on the room type to which the partitions to be cleaned correspond. For example, cleaning priority orders corresponding to different room types may be configured in advance, and the priority corresponding to each partition to be cleaned may be obtained by searching for the cleaning priority of the room type corresponding to the partition to be cleaned. And sequencing the subareas to be cleaned according to the corresponding priority of each subarea to be cleaned, so as to obtain the priority sequence of the subareas to be cleaned.
(2) And determining the priority sequence of the subareas to be cleaned according to the pollution degree corresponding to the subareas to be cleaned acquired by the preset sensor.
The priority order of the partitions to be cleaned may be determined based on the degree of contamination corresponding to the partitions to be cleaned. The sensors for detecting the pollution degree of the room can be arranged in different rooms or on the cleaning equipment in advance, namely, the sensors are preset, and the pollution degree corresponding to the to-be-cleaned partition can be determined based on the regional information acquired by the preset sensors. The preset sensor may be an image capturing device such as a camera or a video camera, or may be another sensor capable of detecting a contamination level, which is not limited in this embodiment.
The partitions to be cleaned may be sorted according to the pollution degrees corresponding to the partitions to be cleaned, and the partitions to be cleaned may be arranged in the order from the small pollution degree to the large pollution degree, or may be arranged in the order from the large pollution degree to the small pollution degree. Based on the sorting results, a priority order of the subareas to be cleaned can be obtained, wherein the higher the pollution degree, the lower the priority.
(3) And determining the priority sequence of the subareas to be cleaned according to the real-time position of the cleaning equipment and the position information corresponding to the subareas to be cleaned.
The priority order of the partitions to be cleaned may be determined based on the real-time location of the cleaning device and the location information corresponding to the partitions to be cleaned. The real-time location of the cleaning device may be determined by a location sensor, which may be a location in a world coordinate system or a location in a preset area map. According to the real-time position of the cleaning equipment and the position information corresponding to the subarea to be cleaned, the cleaning path of the cleaning equipment can be planned, so that the priority order of the subareas to be cleaned is determined.
For example, based on the distance between the real-time position of the cleaning device and the partition to be cleaned, the partition to be cleaned closest to the cleaning device may be determined as the first partition to be cleaned, and then, based on the magnitude of the real-time distance between the partition to be cleaned and the cleaning device, the priority of each partition to be cleaned is determined, thereby determining the priority of the partition to be cleaned.
Alternatively, since the base station is returned for mop cleaning after each partition to be cleaned is cleaned, the priority order of the partitions to be cleaned may also be determined based on the distance between the partition to be cleaned and the base station.
(4) And determining the priority sequence corresponding to the partition to be cleaned according to the preset configuration information corresponding to the partition to be cleaned.
The cleaning priorities of the different cleaning zones can be pre-configured, i.e. the cleaning priorities of the cleaning zones are indicated by means of pre-set configuration information. Alternatively, the preset configuration information may be other information associated with the partition to be cleaned. According to the preset configuration information, the priority sequence corresponding to the to-be-cleaned partition can be determined.
Optionally, determining the priority order corresponding to the partition to be cleaned may be performed by the cleaning device, may also be performed by the server, and may also be performed by the target terminal, which is not limited in this embodiment.
By the embodiment, the priority sequence of the subareas to be cleaned is determined by adopting at least one of a plurality of priority determination modes, so that the flexibility of area cleaning can be improved.
The following explains a control method of the cleaning apparatus in the present embodiment with reference to an alternative example. In this alternative example, the cleaning apparatus is the host computer, and the preset area map is the zone map.
The alternative example provides a setting scheme of the backwashing frequency of the automatic mop washing, the backwashing frequency can be set according to the subareas, and mopping of a single area is completed or the mopping returns to a base station for mopping cleaning after mopping according to the saved subareas on the subarea map.
With reference to fig. 3 to 6, the flow of the control method of the cleaning apparatus in this alternative example may include the steps of:
step S602, a self-cleaning setting on the home page is clicked.
An APP home page as shown in fig. 3 is displayed on the terminal device, and the user may click on the self-cleaning setting on the home page to enter into the self-cleaning setting interface as shown in fig. 4.
In step S604, a single region is selected.
On the self-cleaning setting interface, the user may select the "single zone" option for backwash mode setting, as shown in FIG. 5.
And step S606, completing the setting, and when the host is cleaned again, performing backwashing according to the cleaning completion of the single area on the stored subarea map.
According to the embodiment, backwashing is performed according to the subareas, so that the habit of washing the mop cloth after a part of users manually mop one room daily is met, and cross appearance of stains in different rooms can be prevented.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, an optical disk) and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the methods according to the embodiments of the present application.
According to still another aspect of the embodiments of the present application, there is also provided a control device of a cleaning apparatus for implementing the control method of the cleaning apparatus described above. Fig. 7 is a block diagram of a control device of an alternative cleaning apparatus according to an embodiment of the present application, and as shown in fig. 7, the control device may include:
a first determiningunit 702, configured to determine a region to be cleaned of the cleaning device, where the region to be cleaned includes one or more partitions to be cleaned divided according to room types;
a second determiningunit 704 for determining a target backwashing mode corresponding to the cleaning device;
and anoperation unit 706, configured to clean the subareas to be cleaned when the target backwashing mode is subarea-by-subarea backwashing, and move to the base station for mop cleaning after each cleaning of one subarea to be cleaned.
It should be noted that the first determiningunit 702, the second determiningunit 704 and theoperating unit 706 may be program modules located on the cleaning device, the first determiningunit 702 in this embodiment may be configured to execute the step S202, the second determiningunit 704 in this embodiment may be configured to execute the step S204, and theoperating unit 706 in this embodiment may be configured to execute the step S206.
Determining a region to be cleaned of the cleaning equipment through the module, wherein the region to be cleaned comprises one or more subareas to be cleaned, which are obtained by dividing according to the room type; determining a target backwashing mode corresponding to the cleaning equipment; when the target backwashing mode is backwashing according to the subareas, the cleaning equipment cleans the subareas to be cleaned and moves to the base station to clean the mop after cleaning one subarea to be cleaned, so that the problem that stains are easy to cross in different areas due to improper backwashing frequency setting of the cleaning equipment in the related art is solved, the probability that the stains are easy to cross in different areas is reduced, and the reasonability of area cleaning is improved.
In one exemplary embodiment, the first determination unit includes:
the first determining module is used for determining a room to be cleaned corresponding to the cleaning equipment according to the received cleaning instruction;
the cleaning system comprises a dividing module, a cleaning module and a cleaning module, wherein the dividing module is used for dividing a room to be cleaned into partitions to be cleaned according to the room types of the room to be cleaned, all the rooms to be cleaned contained in the partitions to be cleaned are the same in room type, and the number of the room types contained in the partitions to be cleaned is not more than one.
In one exemplary embodiment, the partitioning module includes:
the determining submodule is used for determining the to-be-cleaned partition corresponding to each sub-room area according to the room type of the sub-room areas when the to-be-cleaned room comprising at least one preset sub-room area exists in the to-be-cleaned room.
In one exemplary embodiment, the cleaning instructions include an identification of an area to be cleaned, and the first determining module includes: the recognition submodule is used for recognizing and positioning a room to be cleaned contained in a preset area map according to the area to be cleaned identifier included in the cleaning instruction;
the operation unit includes: the first operation module is used for moving to a room to be cleaned contained in the subarea to be cleaned according to the preset area map for cleaning and moving to the base station for mop cleaning after cleaning one subarea to be cleaned.
In an exemplary embodiment, the apparatus further includes:
the first display unit is used for visually displaying a cleaning configuration interface to a user;
the cleaning device comprises a first generating unit, a second generating unit and a cleaning unit, wherein the first generating unit is used for responding to a first selecting operation executed by a user on a room to be cleaned through a cleaning configuration interface and a second selecting operation executed on a target backwashing option, generating a cleaning instruction according to the first selecting operation and the second selecting operation and sending the cleaning instruction to the cleaning device;
the second determination unit includes: and the second determining module is used for determining a target backwashing mode corresponding to the cleaning equipment according to the cleaning instruction.
Alternatively, the first display unit and the first generation unit described above may be program modules located on the target terminal.
In an exemplary embodiment, the cleaning instructions further include sub-region information, and the apparatus further includes:
the second display unit is used for visually displaying a subarea interface corresponding to the room to be cleaned to a user when the room to be cleaned with the area exceeding a preset area threshold value exists in the room to be cleaned and/or the room to be cleaned with the corresponding room function exceeding one exists;
and the second generating unit is used for responding to the detection of the partition operation executed by the user through the sub-region partition interface and generating corresponding sub-region information according to the partition operation.
Alternatively, the second display unit and the second generation unit may be program modules located on the target terminal.
In one exemplary embodiment, the operation unit includes:
and the moving module is used for moving to the base station to clean the mop when the continuous cleaning time of the cleaning equipment reaches a preset time threshold.
In an exemplary embodiment, the apparatus further includes: a third determination unit, the operation unit including: a second operation module, wherein,
the third determining unit is used for determining the cleaning sequence of the subareas to be cleaned according to the priority sequence of the subareas to be cleaned when the number of the subareas to be cleaned exceeds one;
and the second operation module is used for cleaning the subareas to be cleaned according to the cleaning sequence and moving the subareas to the base station to clean mops after cleaning one subarea to be cleaned.
Alternatively, the third determination unit described above may be a program module located on the cleaning device or the target terminal.
In one exemplary embodiment, the operation unit includes:
the third determining module is used for determining the priority order of the partitions to be cleaned according to the room types corresponding to the partitions to be cleaned; and/or the presence of a gas in the gas,
the fourth determining module is used for determining the priority sequence of the subareas to be cleaned according to the pollution degree corresponding to the subareas to be cleaned, which is acquired by the preset sensor; and/or the presence of a gas in the gas,
the fifth determining module is used for determining the priority sequence of the subareas to be cleaned according to the real-time position of the cleaning equipment and the position information corresponding to the subareas to be cleaned; and/or the presence of a gas in the gas,
and the sixth determining module is used for determining the priority sequence corresponding to the partition to be cleaned according to the preset configuration information corresponding to the partition to be cleaned.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above embodiments. It should be noted that the modules described above as a part of the apparatus may be operated in a hardware environment as shown in fig. 1, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
According to still another aspect of an embodiment of the present application, there is also provided a storage medium. Alternatively, in this embodiment, the storage medium may be a program code for executing a control method of any one of the cleaning apparatuses described in the embodiments of the present application.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
s1, determining a region to be cleaned of the cleaning equipment, wherein the region to be cleaned comprises one or more partitions to be cleaned, which are obtained by dividing according to the room type;
s2, determining a target backwashing mode corresponding to the cleaning equipment;
and S3, when the target backwashing mode is subarea backwashing, cleaning subareas to be cleaned by the cleaning equipment, and moving the cleaning equipment to a base station for mop cleaning after cleaning each subarea to be cleaned.
Optionally, the specific example in this embodiment may refer to the example described in the above embodiment, which is not described again in this embodiment.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a U disk, a ROM, a RAM, a removable hard disk, a magnetic disk, or an optical disk.
According to still another aspect of the embodiments of the present application, there is also provided an electronic device for implementing the control method of the cleaning apparatus, which may be a server, a terminal, or a combination thereof.
Fig. 8 is a block diagram of an alternative electronic device according to an embodiment of the present application, as shown in fig. 8, including aprocessor 802, acommunication interface 804, amemory 806, and acommunication bus 808, where theprocessor 802, thecommunication interface 804, and thememory 806 are in communication with each other via thecommunication bus 808, where,
amemory 806 for storing a computer program;
theprocessor 802, when executing the computer program stored in thememory 806, performs the following steps:
s1, determining a region to be cleaned of the cleaning equipment, wherein the region to be cleaned comprises one or more partitions to be cleaned, which are obtained by dividing according to the room type;
s2, determining a target backwashing mode corresponding to the cleaning equipment;
and S3, when the target backwashing mode is subarea backwashing, cleaning subareas to be cleaned by the cleaning equipment, and moving the cleaning equipment to a base station for mop cleaning after cleaning each subarea to be cleaned.
Alternatively, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus. The communication interface is used for communication between the electronic device and other equipment.
The memory may include RAM, or may include non-volatile memory (non-volatile memory), such as at least one disk memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
As an example, thememory 806 may include, but is not limited to, afirst determination unit 702, asecond determination unit 704, and anoperation unit 706 in a control apparatus including the above-described device. In addition, other module units in the control device of the above-mentioned apparatus may also be included, but are not limited to these, and are not described in detail in this example.
The processor may be a general-purpose processor, and may include but is not limited to: a CPU (Central Processing Unit), an NP (Network Processor), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration, and the device implementing the control method of the cleaning device may be a terminal device, and the terminal device may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 8 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 8, or have a different configuration than shown in FIG. 8.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, network devices, or the like) to execute all or part of the steps of the method described in the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, and may also be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.