CN114468855A - Equipment control method, device, equipment and storage medium - Google Patents

Equipment control method, device, equipment and storage medium Download PDF

Info

Publication number
CN114468855A
CN114468855A CN202210019399.2A CN202210019399A CN114468855A CN 114468855 A CN114468855 A CN 114468855A CN 202210019399 A CN202210019399 A CN 202210019399A CN 114468855 A CN114468855 A CN 114468855A
Authority
CN
China
Prior art keywords
cleaning
target area
area
target
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210019399.2A
Other languages
Chinese (zh)
Inventor
陈建军
秦萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202210019399.2A priority Critical patent/CN114468855A/en
Publication of CN114468855A publication Critical patent/CN114468855A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/24Floor-sweeping machines, motor-driven
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4002Installations of electric equipment
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4011Regulation of the cleaning machine by electric means; Control systems and remote control systems therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • A47L2201/04Automatic control of the travelling movement; Automatic obstacle detection
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • A47L2201/06Control of the cleaning action for autonomous devices; Automatic detection of the surface condition before, during or after cleaning

Abstract

The embodiment of the invention relates to a method, a device, equipment and a storage medium for controlling equipment, wherein the method comprises the following steps: when a target object is detected to appear in a preset area, acquiring a movement record corresponding to the target object in a preset time period; determining a target area and a non-target area from the preset area based on the mobile record; determining a cleaning strategy of the preset area aiming at the mobile record; when cleaning operation is performed on the target area and the non-target area, the equipment is controlled to switch different cleaning modes in different areas through the cleaning strategy. Therefore, the area needing to be cleaned can be divided according to the movement record of the object, the divided areas are cleaned in different cleaning modes, the cleaning time is reasonably distributed, the cleaning efficiency is improved, the resource waste is reduced, and the user experience is improved.

Description

Equipment control method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of smart home, in particular to a device control method, a device and a storage medium.
Background
With the continuous development of scientific technology, the high-end sweeping robot in the market usually needs a user to manually select a position to be swept to be a sweeping area, so that the sweeping robot can automatically sweep a designated area in a house.
In the prior art, only the user sets the area to be cleaned, and the sweeper automatically cleans the set area and performs cleaning at scheduled timing. However, the activity degree and the frequency of each area in a home are different, the dirt degree of each area is also different, and not every area needs to be cleaned frequently, so that intelligent cleaning cannot be performed according to the activity condition of a user in a room through the prior art, useless workload is increased easily, and the problems of resource waste and low cleaning efficiency are caused.
Disclosure of Invention
In view of the above, to solve the technical problems or some technical problems, embodiments of the present invention provide a method, an apparatus, a device and a storage medium for controlling a device.
In a first aspect, an embodiment of the present invention provides a method for controlling a device, including:
when a target object is detected to appear in a preset area, acquiring a movement record corresponding to the target object in a preset time period;
determining a target area and a non-target area from the preset area based on the mobile record;
determining a cleaning strategy of the preset area aiming at the mobile record;
when cleaning operation is performed on the target area and the non-target area, the equipment is controlled to switch different cleaning modes in different areas through the cleaning strategy.
In a possible implementation manner, the obtaining the movement record corresponding to the target object within the preset time period includes:
acquiring a position set of the target object in the preset region within the preset time period, and the frequency and the dwell time of the target object corresponding to each position in the position set;
and taking the frequency and the dwell time of the target object appearing at each position in the position set and the position set as the mobile record corresponding to the target object.
In one possible embodiment, the determining the target area and the non-target area from the preset area based on the movement record includes:
selecting the position with the frequency larger than a first threshold value and the dwell time larger than a second threshold value from the position set as a target position;
when the target position is multiple, the target area is formed by the multiple target positions;
and taking the area in the preset area except the target area as the non-target area.
In one possible embodiment, the determining the sweeping strategy of the preset area for the mobile record includes:
determining a cleaning strategy corresponding to the target area corresponding to the mobile record as a first cleaning strategy, wherein the first cleaning strategy is to adopt a first cleaning mode to execute cleaning operation;
and determining that the cleaning strategy corresponding to the non-target area is a second cleaning strategy, wherein the second cleaning strategy is to adopt a second cleaning mode to execute cleaning operation.
In one possible embodiment, the controlling the device to switch different sweeping modes in different areas through the sweeping strategy includes:
when the equipment moves from the target area to the non-target area, controlling the cleaning mode of the equipment to be switched from the first cleaning mode to the second cleaning mode;
or the like, or, alternatively,
when the equipment moves from the non-target area to the target area, controlling the cleaning mode of the equipment to be switched from the second cleaning mode to the first cleaning mode.
In one possible embodiment, the method further comprises:
grading the target area based on the mobile record to obtain a plurality of sub-target areas;
determining the priority of each sub-target area to obtain a plurality of priorities corresponding to the plurality of sub-target areas;
determining a sweeping gear corresponding to the first sweeping mode corresponding to each priority;
wherein the cleaning gear includes: cleaning time, cleaning frequency or cleaning intensity.
In one possible embodiment, the method further comprises:
and aiming at any one sub-target area in the target area, adopting the corresponding cleaning gear to clean the sub-target area.
In one possible embodiment, the method further comprises:
generating a cleaning map of the preset area according to the target area, the non-target area and the cleaning mode;
displaying the cleaning map;
receiving adjustment of the cleaning map to obtain an updated cleaning map;
and controlling the equipment to execute cleaning operation according to the updated cleaning map.
In a second aspect, the present invention provides a control apparatus for a device, comprising:
the device comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a movement record corresponding to a target object within a preset time period when the target object is detected to appear in a preset area;
a determining module, configured to determine a target area and a non-target area from the preset area based on the movement record;
the determining module is further configured to determine a cleaning strategy of the preset area for the mobile record;
and the control module is used for controlling the equipment to switch different cleaning modes in different areas through the cleaning strategy when cleaning operation is performed on the target area and the non-target area.
In a third aspect, an embodiment of the present invention provides an apparatus, including: a processor and a memory, the processor being configured to execute a control program of the apparatus stored in the memory to implement the control method of the apparatus of any one of the first aspects described above.
In a fourth aspect, an embodiment of the present invention provides a storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the method for controlling an apparatus according to any one of the first aspects.
According to the control scheme of the equipment provided by the embodiment of the invention, when the target object is detected to appear in the preset area, the movement record corresponding to the target object in the preset time period is obtained; determining a target area and a non-target area from the preset area based on the movement record; determining a cleaning strategy of the preset area aiming at the mobile record; when cleaning operation is performed on the target area and the non-target area, the equipment is controlled to switch different cleaning modes in different areas through the cleaning strategy. Different cleaning strategies are determined according to the movement records of the target object, cleaning time is reasonably distributed, cleaning efficiency is improved, and resource waste is avoided.
Drawings
Fig. 1 is a schematic flowchart of a method for controlling a device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another method for controlling a device according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a control method of another apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control device of an apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For the convenience of understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
Fig. 1 is a schematic flowchart of a method for controlling a device according to an embodiment of the present invention, and as shown in fig. 1, the method specifically includes:
s11, when the target object is detected to appear in the preset area, obtaining the movement record corresponding to the target object in the preset time period.
The control method of the equipment provided by the embodiment of the invention is applied to the intelligent household equipment, and the intelligent household equipment can be as follows: sweeping robots and other intelligent cleaning equipment, in particular, control of the equipment is achieved by obtaining a movement record of a target object, which may include: users, pets, and the like.
In the present embodiment, a preset time period and a preset area are preset, the preset area is an area where a cleaning operation needs to be performed, and may be one room or a plurality of rooms (e.g., a living room, a main bed, a sub bed, a kitchen, etc.), the target object is an object moving within the preset area, the target object may be a person or a pet, the movement record is a position of the target object after entering the preset area, and a staying time and a frequency of entering a moving range at each position,
specifically, when detecting that a target object enters a preset area, an obtaining device obtains a position of the target object, an area formed by at least one position is used as a moving area, and the residence time and frequency corresponding to the moving area are used as movement records, and the obtaining device may include, but is not limited to, a thermal infrared imager, an AI micro sensor and other human body sensor devices.
And S12, determining a target area and a non-target area from the preset area based on the movement record.
In this embodiment, the target area is an area that needs to be intensively cleaned in the moving area of the target object, and the non-target area is an area that needs to be normally cleaned, that is, the non-target area is an area other than the target area in the preset area.
Specifically, a part of moving area with frequency larger than a first threshold value and dwell time larger than a second threshold value is taken as a target area; and taking the area except the target area in the preset area as a non-target area, namely taking a partial moving area with the frequency not greater than a first threshold and the dwell time not greater than a second threshold and the non-moving area as the non-target area, wherein the non-moving area is an area which is not entered by the target object in the preset area during moving.
And S13, determining the cleaning strategy of the preset area aiming at the movement record.
In this embodiment, a corresponding relationship is preset, where the corresponding relationship includes cleaning strategies corresponding to the target area and the non-target area when the frequency and the dwell time are in different ranges, and the cleaning strategies include: the control equipment adopts different cleaning modes to clean different areas. Specifically, the cleaning strategy of the target area and the cleaning strategy of the non-target area are respectively determined from the corresponding relation according to the movement record.
And S14, controlling the equipment to switch different cleaning modes in different areas through the cleaning strategy when cleaning operation is carried out on the target area and the non-target area.
In the present embodiment, the sweeping mode may include a deep sweeping mode in which the control apparatus performs a sweeping operation when the apparatus is in the target area; when the equipment enters a non-target area from the target area, the control equipment is switched to a normal cleaning mode from a deep cleaning mode and performs cleaning operation on the non-target area; when the device enters the target area from the non-target area, the control device switches from the normal cleaning mode to the deep cleaning mode and performs a cleaning operation on the target area. Wherein the deep sweeping mode may be to perform the sweeping operation based on the first sweeping time, the first sweeping times, and the first sweeping intensity. The normal sweeping mode may be to perform the sweeping operation based on the second sweeping time, the second number of times of sweeping, and the second intensity of sweeping.
For example, the deep sweeping mode is: the cleaning time is 20 minutes, the cleaning times are twice per day, the cleaning intensity is that after strong suction cleaning, large water is used for cleaning, the cleaning time is 5 minutes in the ordinary cleaning mode, the cleaning times are once per week, and the cleaning intensity is that after ordinary suction cleaning, small water is used for cleaning.
According to the control method of the equipment provided by the embodiment of the invention, when the target object is detected to appear in the preset area, the movement record corresponding to the target object in the preset time period is obtained; determining a target area and a non-target area from the preset area based on the mobile record; determining a cleaning strategy of the preset area aiming at the mobile record; when cleaning operation is performed on the target area and the non-target area, the equipment is controlled to switch different cleaning modes in different areas through the cleaning strategy. The cleaning method and the cleaning device have the advantages that the areas needing to be cleaned are divided according to the movement records of the objects, different areas are cleaned in different cleaning modes, cleaning time is reasonably distributed, and cleaning efficiency is improved.
Fig. 2 is a schematic flowchart of another method for controlling a device according to an embodiment of the present invention, and as shown in fig. 2, the method specifically includes:
s21, acquiring a position set of the target object in the preset area in the preset time period, and the frequency and the stay time of the target object corresponding to each position in the position set; and taking the frequency and the dwell time of the target object appearing at each position in the position set and the position set as the mobile record corresponding to the target object.
In this embodiment, a preset time period and a preset area are preset, the preset time period may be set by a user through a terminal, the preset area is an area where a cleaning operation needs to be performed, the preset area may be one room or multiple rooms in a room, a range or a map of the preset area may be stored in the device in advance or the preset range may be set by the terminal and then sent to the device, so that the device performs the cleaning operation according to the preset range, the target object is a movable object, the location set is a set formed by locations through which the target object passes when moving in the preset area, the frequency is a number of times that the target object appears at each location, the retention time is an accumulated duration during which the target object stays at each location within the preset time period, and the movement record represents a movement condition of the target object within the preset area.
Specifically, the positions of the target object appearing in the preset area within the preset time period are obtained as a position set through the obtaining device, the times of the target object appearing at each position within the preset time period are obtained as a frequency, the accumulated duration of the target object staying at each position within the preset time period is obtained as a staying time, and the position set, the frequency and the staying time are used as a mobile record.
S22, selecting the position with the frequency larger than a first threshold and the stay time larger than a second threshold from the position set as a target position; when the target position is multiple, the target area is formed by the multiple target positions; and taking the area in the preset area except the target area as the non-target area.
In this embodiment, a first threshold and a second threshold are preset, where the first threshold is used to determine how many times the target object is frequently, the second threshold is used to determine how long the target object stays, the number of times the target object appears is greater than the first threshold, and the accumulated stay time is greater than the second threshold, one or more target positions form a target area, the target area represents an area that needs to be cleaned in a preset area, a non-target area is an area in the preset area except for the target area, and the non-target area represents an area that needs to be cleaned in the preset area.
Specifically, whether the frequency of each position in the position set is greater than a first threshold value or not and whether the stay time of each position is greater than a second threshold value or not are judged, one or more positions with the frequency greater than the first threshold value and the stay time greater than the second threshold value are taken as target positions, an area formed by the one or more target positions is taken as a target area, and an area except the target area in a preset area is determined as a non-target area.
And S23, determining that the cleaning strategy corresponding to the target area corresponding to the movement record is a first cleaning strategy, wherein the first cleaning strategy is to adopt a first cleaning mode to execute cleaning operation. And determining that the cleaning strategy corresponding to the non-target area is a second cleaning strategy, wherein the second cleaning strategy is to adopt a second cleaning mode to execute cleaning operation.
In this embodiment, the first sweeping mode may be a deep sweeping mode or a power sweeping mode, including: the cleaning time of the equipment is a first duration, the cleaning intensity is high intensity, and the cleaning times are first preset times; the second sweeping mode may be a normal sweeping mode or a light sweeping mode including: the cleaning time of the equipment is a second duration, the cleaning intensity is low intensity, and the cleaning times are second preset times; the first duration is longer than the second duration, the first preset times is longer than the second preset times, the high-strength characterization equipment cleans the area by using strong suction and cleans the area by using large sprinkling quantity, and the low-strength characterization equipment cleans the area by using ordinary suction and cleans the area by using small sprinkling quantity or only cleans the area by using ordinary suction.
Specifically, the cleaning operation is executed on the target area after the cleaning mode is adjusted to the first cleaning mode according to the first cleaning strategy control equipment; and executing the cleaning operation on the non-target area after the cleaning mode is adjusted to the second cleaning mode according to the second cleaning strategy control equipment.
S24, when the equipment moves from the target area to the non-target area, controlling the cleaning mode of the equipment to be switched from the first cleaning mode to the second cleaning mode; or, when the equipment moves from the non-target area to the target area, the cleaning mode of the equipment is controlled to be switched from the second cleaning mode to the first cleaning mode.
In this embodiment, a current position of the device is constantly acquired, an area where the current position is located is determined, when the current position of the device is within a target area, a first cleaning mode is adopted to clean the target area, when the current position of the device enters a non-target area from the target area, a control instruction for switching the cleaning mode is generated, and the cleaning mode of the device is controlled to be switched from the first cleaning mode to a second cleaning mode based on the control instruction; and when the current position of the equipment enters the target area from the non-target area, controlling the cleaning mode of the equipment to be switched from the second cleaning mode to the first cleaning mode based on the control instruction.
In one possible embodiment, a preset range around a position where the target area and the non-target area are connected is used as a transition area, that is, a part of the non-target area outside the boundary of the target area within a preset width range is used as the transition area, and the cleaning strategy of the transition area is determined as the first cleaning strategy. (for example, a region within a width of 15 cm outside the boundary of the target region is used as a transition region).
According to the control method of the device provided by the embodiment of the invention, the position set of the target object in the preset area in the preset time period and the frequency and the residence time of the target object corresponding to each position in the position set are obtained; taking the frequency and the dwell time of the target object appearing at each position in the position set and the position set as a mobile record corresponding to the target object, and selecting the position with the frequency larger than a first threshold value and the dwell time larger than a second threshold value from the position set as a target position; when the target position is multiple, the target area is formed by the multiple target positions; and taking an area in the preset area except the target area as the non-target area, determining that the cleaning strategy corresponding to the target area corresponding to the mobile record is a first cleaning strategy, determining that the cleaning strategy corresponding to the non-target area is a second cleaning strategy, and intelligently switching cleaning modes when the equipment cleans different areas. The intelligent cleaning mode is intelligently selected according to the condition that objects appear in each area, the cleaning efficiency is enhanced, the resource waste is reduced, and the use by a user is facilitated.
Fig. 3 is a schematic flowchart of a control method of another device according to an embodiment of the present invention, and as shown in fig. 3, the method specifically includes:
s31, when the target object is detected to appear in the preset area, obtaining the movement record corresponding to the target object in the preset time period.
In this embodiment, similar to the step in S11, reference may be specifically made to the related description in fig. 1, and for brevity, no further description is provided here.
S32, grading the target area based on the mobile record to obtain a plurality of sub-target areas.
In this embodiment, the target area is ranked based on the frequency and dwell time of each location in the movement record; and the area formed by the positions of the target area, the frequency of which is in the first range and the dwell time of which is in the second range, is the sub-target area of the first level, and the area formed by the positions of the target area, the frequency of which is not in the first range and the dwell time of which is not in the second range, is the sub-target area of the second level.
S33, determining the priority of each sub-target area to obtain a plurality of priorities corresponding to the sub-target areas.
In this embodiment, the priority represents the order of cleaning and the cleaning gear of the equipment when the equipment performs cleaning operation on a plurality of sub-target areas in the target area, and it is determined that the sub-target area of the first level is the first priority, and the sub-target area of the second level is the second priority.
S34, determining a cleaning gear corresponding to the first cleaning mode corresponding to each priority; and aiming at any one sub-target area in the target area, adopting the corresponding cleaning gear to clean the sub-target area.
In this embodiment, a correspondence relationship between a cleaning range and a priority is set in advance, and the cleaning range of the apparatus in the first cleaning mode is determined from the correspondence relationship according to the priority, and the cleaning range includes: cleaning time, cleaning frequency or cleaning intensity.
Specifically, the control device uses the first gear of the first cleaning mode to preferentially clean the sub-target area of the first priority, and after the cleaning of the sub-target area of the first priority is completed, the control device uses the second gear of the first cleaning mode to clean the sub-target area of the second priority.
In an optional embodiment, when the device is used for the first time, a map of a preset area may be acquired through an acquisition device in the device or an acquisition device in the preset area, where the acquisition device may be a camera or a sensor, and a cleaning map of the preset area is generated according to the target area, the non-target area, and the cleaning mode before the cleaning operation is performed; different areas in the cleaning map are distinguished through areas with different colors, the area with the darker color represents a target area, the area with the lighter color is a transition area between the target area and a non-target area, and the area with the lightest color is the non-target area; the cleaning map further comprises: the current cleaning mode, the position and state of the equipment, and the cleaning time, the number of times of cleaning or the cleaning intensity in the current mode. Displaying the cleaning map on a screen of a target terminal (such as a mobile phone, a computer and the like); the cleaning method comprises the steps that a user adjusts a cleaning mode and a cleaning range according to a cleaning map, and after equipment receives an adjusting instruction of the user on the cleaning map, the cleaning map is updated according to the adjusting instruction; and controlling the equipment to perform sweeping operation according to the updated sweeping map.
For example: taking the dark red as an area with the most frequent user activities and the longest dwell time as a target area, namely a core clean area with the highest room level, executing cleaning operation by using a first cleaning mode, taking the area encircled in the dark red as a sub-target area with a first priority in the target area, and cleaning the sub-target area by using a high-grade priority in the first cleaning mode; the light red is a transition area, and the cleaning operation is also performed using the first cleaning mode, and the white is an area where the user does not move frequently and stays for a long time, and is used as a non-target area, i.e., a normal cleaning area of the room.
According to the control method of the equipment, when a target object is detected to appear in a preset area, a mobile record corresponding to the target object in a preset time period is obtained, the target area is classified based on the mobile record to obtain a plurality of sub-target areas, the priority of each sub-target area is determined, a plurality of priorities corresponding to the sub-target areas are obtained, and a cleaning gear corresponding to the first cleaning mode corresponding to each priority is determined; and aiming at any one sub-target area in the target area, cleaning operation is carried out on the sub-target area by adopting the corresponding cleaning gear, so that cleaning by using different gears according to the cleaning grades of different positions is realized, a cleaning map is generated according to a cleaning mode, the cleaning equipment is more intelligent, the cleaning efficiency is increased, the resource waste is reduced, and the user experience is improved.
Fig. 4 is a schematic structural diagram of a control device of an apparatus according to an embodiment of the present invention, as shown in fig. 4:
the acquiring module 41 is configured to acquire a movement record corresponding to a target object within a preset time period when the target object is detected to appear in a preset area;
a determining module 42, configured to determine a target area and a non-target area from the preset area based on the movement record;
the determining module 42 is further configured to determine a sweeping strategy of the preset area for the mobile record;
a control module 43, configured to control the apparatus to switch different cleaning modes in different areas through the cleaning strategy when cleaning operations are performed on the target area and the non-target area.
In a possible embodiment, the obtaining module 41 is specifically configured to obtain a position set of the target object in the preset area within the preset time period, and a frequency and a dwell time of the target object appearing at each position in the position set;
and taking the frequency and the dwell time of the target object appearing at each position in the position set and the position set as the mobile record corresponding to the target object.
In a possible embodiment, the determining module 42 is specifically configured to select, as the target location, a location from the location set where the frequency is greater than a first threshold and the dwell time is greater than a second threshold;
when the target position is multiple, the target area is formed by the multiple target positions;
and taking the area in the preset area except the target area as the non-target area.
In a possible embodiment, the determining module 42 is specifically configured to determine that a cleaning policy corresponding to the target area corresponding to the mobile record is a first cleaning policy, where the first cleaning policy is to perform a cleaning operation in a first cleaning mode;
and determining that the cleaning strategy corresponding to the non-target area is a second cleaning strategy, wherein the second cleaning strategy is to adopt a second cleaning mode to execute cleaning operation.
In a possible embodiment, the control module 43 is specifically configured to control the cleaning mode of the equipment to be switched from the first cleaning mode to the second cleaning mode when the equipment moves from the target area to the non-target area;
or the like, or, alternatively,
when the equipment moves from the non-target area to the target area, controlling the cleaning mode of the equipment to be switched from the second cleaning mode to the first cleaning mode.
In a possible embodiment, the determining module 42 is specifically configured to rank the target area based on the mobile record to obtain a plurality of sub-target areas;
determining the priority of each sub-target area to obtain a plurality of priorities corresponding to the plurality of sub-target areas;
determining a sweeping gear corresponding to the first sweeping mode corresponding to each priority;
wherein the cleaning gear includes: cleaning time, cleaning frequency or cleaning intensity.
In a possible embodiment, the control module 43 is specifically configured to, for any one of the sub-target areas in the target area, perform a cleaning operation on the sub-target area by using the corresponding cleaning gear.
In a possible embodiment, the determining module 41 is specifically configured to generate a cleaning map of the preset area according to the target area, the non-target area and the cleaning mode;
displaying the cleaning map;
receiving adjustment of the cleaning map to obtain an updated cleaning map;
the control module 43 is specifically configured to control the device to perform a cleaning operation according to the updated cleaning map.
The apparatus for controlling a device provided in this embodiment may be the apparatus shown in fig. 4, and may perform all the steps of the method for controlling the device shown in fig. 1 to 3, so as to achieve the technical effects of the method for controlling the device shown in fig. 1 to 3, and for brevity, reference is specifically made to the descriptions related to fig. 1 to 3, which are not described herein again.
Fig. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present invention, where the apparatus 500 shown in fig. 5 includes: at least one processor 501, memory 502, at least one network interface 504, and other user interfaces 503. The various components in device 500 are coupled together by a bus system 505. It is understood that the bus system 505 is used to enable connection communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 505 in FIG. 5.
The user interface 503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that memory 502 in embodiments of the present invention can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), synchlronous SDRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 502 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 502 stores elements, executable units or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 5021 and application programs 5022.
The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 5022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. The program for implementing the method according to the embodiment of the present invention may be included in the application program 5022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in the application 5022, the processor 501 is configured to execute the method steps provided by the method embodiments, for example, including:
when a target object is detected to appear in a preset area, acquiring a movement record corresponding to the target object in a preset time period;
determining a target area and a non-target area from the preset area based on the mobile record;
determining a cleaning strategy of the preset area aiming at the mobile record;
when cleaning operation is performed on the target area and the non-target area, the equipment is controlled to switch different cleaning modes in different areas through the cleaning strategy.
In a possible implementation manner, a position set of the target object in the preset region within the preset time period, and a frequency and a dwell time of the target object appearing at each position in the position set are obtained;
and taking the frequency and the dwell time of the target object appearing at each position in the position set and the position set as the mobile record corresponding to the target object.
In one possible embodiment, the position with the frequency larger than a first threshold and the stay time larger than a second threshold is selected from the position set as a target position;
when the target position is multiple, the target area is formed by the multiple target positions;
and taking the area in the preset area except the target area as the non-target area.
In one possible implementation manner, a cleaning strategy corresponding to the target area corresponding to the mobile record is determined to be a first cleaning strategy, and the first cleaning strategy is to perform cleaning operation by adopting a first cleaning mode;
and determining that the cleaning strategy corresponding to the non-target area is a second cleaning strategy, wherein the second cleaning strategy is to adopt a second cleaning mode to execute cleaning operation.
In one possible embodiment, the cleaning mode of the equipment is controlled to be switched from the first cleaning mode to the second cleaning mode when the equipment moves from the target area to the non-target area;
or the like, or, alternatively,
when the equipment moves from the non-target area to the target area, controlling the cleaning mode of the equipment to be switched from the second cleaning mode to the first cleaning mode.
In a possible implementation manner, the target area is graded based on the mobile record to obtain a plurality of sub-target areas;
determining the priority of each sub-target area to obtain a plurality of priorities corresponding to the plurality of sub-target areas;
determining a sweeping gear corresponding to the first sweeping mode corresponding to each priority;
wherein the cleaning gear includes: cleaning time, cleaning frequency or cleaning intensity.
In one possible embodiment, for any one of the sub-target areas in the target area, the corresponding cleaning gear is used to perform cleaning operation on the sub-target area.
In one possible embodiment, a cleaning map of the preset area is generated according to the target area, the non-target area and the cleaning mode;
displaying the cleaning map;
receiving adjustment of the cleaning map to obtain an updated cleaning map;
and controlling the equipment to execute cleaning operation according to the updated cleaning map.
The method disclosed by the above-mentioned embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The Processor 501 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The device provided in this embodiment may be the device shown in fig. 5, and may perform all the steps of the control method of the device shown in fig. 1 to 3, so as to achieve the technical effect of the control method of the device shown in fig. 1 to 3, and for brevity, it is described with reference to fig. 1 to 3, which is not described herein again.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium herein stores one or more programs. Among others, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the storage medium are executable by one or more processors, the control method of the device executed on the device side described above is realized.
The processor is configured to execute a control program of the device stored in the memory to implement the following steps of the control method of the device executed on the device side:
when a target object is detected to appear in a preset area, acquiring a movement record corresponding to the target object in a preset time period;
determining a target area and a non-target area from the preset area based on the mobile record;
determining a cleaning strategy of the preset area aiming at the mobile record;
when cleaning operation is performed on the target area and the non-target area, the equipment is controlled to switch different cleaning modes in different areas through the cleaning strategy.
In a possible implementation manner, a position set of the target object in the preset region within the preset time period, and a frequency and a dwell time of the target object appearing at each position in the position set are obtained;
and taking the frequency and the dwell time of the target object appearing at each position in the position set and the position set as the mobile record corresponding to the target object.
In one possible embodiment, the position with the frequency larger than a first threshold and the stay time larger than a second threshold is selected from the position set as a target position;
when the target position is multiple, the target area is formed by the multiple target positions;
and taking the area in the preset area except the target area as the non-target area.
In one possible implementation manner, a cleaning strategy corresponding to the target area corresponding to the mobile record is determined to be a first cleaning strategy, and the first cleaning strategy is to perform cleaning operation by adopting a first cleaning mode;
and determining that the cleaning strategy corresponding to the non-target area is a second cleaning strategy, wherein the second cleaning strategy is to adopt a second cleaning mode to execute cleaning operation.
In one possible embodiment, the cleaning mode of the equipment is controlled to be switched from the first cleaning mode to the second cleaning mode when the equipment moves from the target area to the non-target area;
or the like, or, alternatively,
when the equipment moves from the non-target area to the target area, controlling the cleaning mode of the equipment to be switched from the second cleaning mode to the first cleaning mode.
In a possible implementation manner, the target area is graded based on the mobile record to obtain a plurality of sub-target areas;
determining the priority of each sub-target area to obtain a plurality of priorities corresponding to the plurality of sub-target areas;
determining a sweeping gear corresponding to the first sweeping mode corresponding to each priority;
wherein the cleaning gear includes: cleaning time, cleaning frequency or cleaning intensity.
In one possible embodiment, for any one of the sub-target areas in the target area, the corresponding cleaning gear is used to perform cleaning operation on the sub-target area.
In one possible embodiment, a cleaning map of the preset area is generated according to the target area, the non-target area and the cleaning mode;
displaying the cleaning map;
receiving adjustment of the cleaning map to obtain an updated cleaning map;
and controlling the equipment to execute cleaning operation according to the updated cleaning map.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (11)

1. A method of controlling a device, comprising:
when a target object is detected to appear in a preset area, acquiring a movement record corresponding to the target object in a preset time period;
determining a target area and a non-target area from the preset area based on the mobile record;
determining a cleaning strategy of the preset area aiming at the mobile record;
when cleaning operation is performed on the target area and the non-target area, the equipment is controlled to switch different cleaning modes in different areas through the cleaning strategy.
2. The method according to claim 1, wherein the obtaining of the movement record corresponding to the target object within the preset time period includes:
acquiring a position set of the target object in the preset region within the preset time period, and the frequency and the dwell time of the target object corresponding to each position in the position set;
and taking the frequency and the dwell time of the target object appearing at each position in the position set and the position set as the mobile record corresponding to the target object.
3. The method of claim 2, wherein the determining a target area and a non-target area from the preset area based on the mobile record comprises:
selecting the position with the frequency larger than a first threshold value and the dwell time larger than a second threshold value from the position set as a target position;
when the target position is multiple, the target area is formed by the multiple target positions;
and taking the area in the preset area except the target area as the non-target area.
4. The method of claim 3, wherein the determining the cleaning strategy for the preset area for the mobile record comprises:
determining a cleaning strategy corresponding to the target area corresponding to the mobile record as a first cleaning strategy, wherein the first cleaning strategy is to adopt a first cleaning mode to execute cleaning operation;
and determining that the cleaning strategy corresponding to the non-target area is a second cleaning strategy, wherein the second cleaning strategy is to adopt a second cleaning mode to execute cleaning operation.
5. The method of claim 4, wherein said controlling the device to switch different sweeping modes in different zones by the sweeping strategy comprises:
when the equipment moves from the target area to the non-target area, controlling the cleaning mode of the equipment to be switched from the first cleaning mode to the second cleaning mode;
or the like, or, alternatively,
when the equipment moves from the non-target area to the target area, controlling the cleaning mode of the equipment to be switched from the second cleaning mode to the first cleaning mode.
6. The method of claim 4, further comprising:
grading the target area based on the mobile record to obtain a plurality of sub-target areas;
determining the priority of each sub-target area to obtain a plurality of priorities corresponding to the plurality of sub-target areas;
determining a sweeping gear corresponding to the first sweeping mode corresponding to each priority;
wherein the cleaning gear includes: cleaning time, cleaning frequency or cleaning intensity.
7. The method of claim 6, further comprising:
and aiming at any one sub-target area in the target area, adopting the corresponding cleaning gear to clean the sub-target area.
8. The method of claim 1, further comprising:
generating a cleaning map of the preset area according to the target area, the non-target area and the cleaning mode;
displaying the cleaning map;
receiving adjustment of the cleaning map to obtain an updated cleaning map;
and controlling the equipment to execute cleaning operation according to the updated cleaning map.
9. A control apparatus of a device, characterized by comprising:
the device comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a movement record corresponding to a target object within a preset time period when the target object is detected to appear in a preset area;
a determining module, configured to determine a target area and a non-target area from the preset area based on the movement record;
the determining module is further configured to determine a cleaning strategy of the preset area for the mobile record;
and the control module is used for controlling the equipment to switch different cleaning modes in different areas through the cleaning strategy when cleaning operation is performed on the target area and the non-target area.
10. An apparatus, comprising: a processor and a memory, the processor being configured to execute a control program of the apparatus stored in the memory to implement the control method of the apparatus of any one of claims 1 to 8.
11. A storage medium storing one or more programs executable by one or more processors to implement a method of controlling an apparatus according to any one of claims 1 to 8.
CN202210019399.2A 2022-01-07 2022-01-07 Equipment control method, device, equipment and storage medium Pending CN114468855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210019399.2A CN114468855A (en) 2022-01-07 2022-01-07 Equipment control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210019399.2A CN114468855A (en) 2022-01-07 2022-01-07 Equipment control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114468855A true CN114468855A (en) 2022-05-13

Family

ID=81509945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210019399.2A Pending CN114468855A (en) 2022-01-07 2022-01-07 Equipment control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114468855A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108338749A (en) * 2018-03-20 2018-07-31 盛世乐居(亚东)智能科技有限公司 Sweeping robot and its control method, device
CN108693882A (en) * 2018-06-05 2018-10-23 北京智行者科技有限公司 A kind of multimode cleaning path generating method
EP3424395A1 (en) * 2017-07-06 2019-01-09 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for performing cleaning operation by cleaning device
CN109464074A (en) * 2018-11-29 2019-03-15 深圳市银星智能科技股份有限公司 Area division method, subarea cleaning method and robot thereof
CN111643011A (en) * 2020-05-26 2020-09-11 深圳市杉川机器人有限公司 Cleaning robot control method and device, cleaning robot and storage medium
CN112842149A (en) * 2021-02-03 2021-05-28 追创科技(苏州)有限公司 Control method of intelligent cleaning equipment and intelligent cleaning equipment
CN113509104A (en) * 2021-04-25 2021-10-19 珠海格力电器股份有限公司 Cleaning method, storage medium and cleaning robot
CN113598651A (en) * 2021-07-23 2021-11-05 深圳市云鼠科技开发有限公司 Cleaning robot control method and device based on microwaves, computer equipment and memory

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3424395A1 (en) * 2017-07-06 2019-01-09 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for performing cleaning operation by cleaning device
CN108338749A (en) * 2018-03-20 2018-07-31 盛世乐居(亚东)智能科技有限公司 Sweeping robot and its control method, device
CN108693882A (en) * 2018-06-05 2018-10-23 北京智行者科技有限公司 A kind of multimode cleaning path generating method
CN109464074A (en) * 2018-11-29 2019-03-15 深圳市银星智能科技股份有限公司 Area division method, subarea cleaning method and robot thereof
CN111643011A (en) * 2020-05-26 2020-09-11 深圳市杉川机器人有限公司 Cleaning robot control method and device, cleaning robot and storage medium
CN112842149A (en) * 2021-02-03 2021-05-28 追创科技(苏州)有限公司 Control method of intelligent cleaning equipment and intelligent cleaning equipment
CN113509104A (en) * 2021-04-25 2021-10-19 珠海格力电器股份有限公司 Cleaning method, storage medium and cleaning robot
CN113598651A (en) * 2021-07-23 2021-11-05 深圳市云鼠科技开发有限公司 Cleaning robot control method and device based on microwaves, computer equipment and memory

Similar Documents

Publication Publication Date Title
CN110575099B (en) Fixed-point cleaning method, floor sweeping robot and storage medium
CN111741425B (en) Intelligent household appliance positioning method and device, server, robot and storage medium
CN112842149B (en) Control method of intelligent cleaning equipment and intelligent cleaning equipment
CN105204620A (en) Method and device for regulating screen brightness and mobile terminal
CN114468855A (en) Equipment control method, device, equipment and storage medium
CN113143112A (en) Cleaning device control method, cleaning system, cleaning device, and storage medium
CN110353593B (en) Control method, system, equipment and storage medium for automatically cleaning tableware
CN113367616B (en) Robot control method, robot control device, robot, and storage medium
CN104062918A (en) Method for controlling electronic product through power-on/power-off operation
CN110032351A (en) Screen blue light adjusting method, device, electronic equipment and storage medium
CN113243355A (en) Household appliance control method and device for repelling mosquitoes and household appliance
EP4353136A1 (en) Cleaning method and apparatus, sweeper, and computer-readable medium
CN116540556A (en) Equipment control method and device based on user habit
CN116466762A (en) Wheelchair swing control method and device, electronic equipment and storage medium
CN109116978A (en) Light emitting device and its exchange method, electronic equipment, storage medium
CN109363578A (en) Clean monitoring method, device and dust catcher and mobile terminal
CN114468856A (en) Sweeping robot control method and device, electronic equipment and storage medium
CN116300844A (en) Intelligent control method and device for cleaning equipment
CN109989221B (en) Washing machine self-cleaning control method, washing machine and computer readable storage medium
CN114438708A (en) Control method and device of washing machine, washing machine and storage medium
CN108523770A (en) Cleaning method, intelligentized Furniture and the storage medium on the bottom ground of intelligentized Furniture
CN108646593A (en) Cleaning method, intelligentized Furniture and the storage medium on the bottom ground of intelligentized Furniture
CN111743474A (en) Cleaning device, control method and device thereof, electronic device and storage medium
CN111371462A (en) Anti-interference method and device for touch key, electronic equipment and storage medium
CN114586697B (en) Intelligent habit development method, device, equipment and medium for pet with disabled legs

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220513