Control method, cleaning method and device, electronic equipment and medium
By providing multiple preset cleaning modes and automatically determining cleaning instructions for cleaning equipment, the problems of insufficient flexibility in managed mode and cumbersome operation in custom mode are solved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2024-10-18
- Publication Date
- 2026-04-21
AI Technical Summary
The existing managed cleaning equipment model lacks flexibility and fails to meet diverse user needs, while the custom mode requires users to manually set cleaning instructions, resulting in a poor user experience.
It offers a variety of preset cleaning modes. By determining the target cleaning mode and the corresponding cleaning instructions, it automatically controls the cleaning equipment to perform cleaning operations, reducing the need for manual settings by the user.
It enables automatic determination of cleaning instructions in multiple cleaning modes, meeting diverse user needs and improving the user experience.
Smart Images

Figure CN121890909A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of control technology, and in particular to a control method, cleaning method, apparatus, electronic device, and medium. Background Technology
[0002] Currently, the cleaning equipment has a managed mode and / or a custom mode. In managed mode, the cleaning equipment can automatically determine cleaning instructions based on the environment of the area to be cleaned and execute the cleaning operations indicated by those instructions. In custom mode, the user can manually set cleaning instructions and send them to the cleaning equipment, which can then execute the cleaning operations indicated by those instructions.
[0003] However, the managed mode is less flexible and struggles to meet diverse user needs; while the custom mode requires users to manually set cleaning instructions, which consumes a lot of their time and effort, resulting in a poor user experience. Summary of the Invention
[0004] To overcome the problems existing in related technologies, this disclosure provides a control method, a cleaning method, an apparatus, an electronic device, and a medium.
[0005] According to a first aspect of the present disclosure, a control method is provided, comprising:
[0006] Select the first target cleaning mode from multiple preset cleaning modes;
[0007] Based on the first target cleaning mode, determine the first target cleaning instruction corresponding to the first target cleaning mode;
[0008] Based on the first target cleaning instruction, the first electronic device is controlled to perform the cleaning operation indicated by the first target cleaning instruction.
[0009] In some embodiments, determining a first target cleaning instruction corresponding to the first target cleaning mode based on the first target cleaning mode includes:
[0010] Determine the cleaning parameters corresponding to the first target cleaning mode;
[0011] Based on the cleaning parameters, the first target cleaning instruction is generated.
[0012] In some embodiments, determining the cleaning parameters corresponding to the first target cleaning mode includes at least one of the following:
[0013] Determine the setting parameters, which are used to characterize the parameters used when the first electronic device is cleaned;
[0014] Determine path parameters, which are used to characterize the cleaning path of the first electronic device;
[0015] Determine the base parameters, which are used to characterize parameters related to the base task of the first electronic device;
[0016] Determine the switching parameters, which are used to indicate switching to other areas to be cleaned when a target object exists in the current area to be cleaned;
[0017] Determine obstacle avoidance parameters, which are used to instruct the first electronic device to bypass preset objects when performing cleaning.
[0018] In some embodiments, the first target cleaning mode is a quiet cleaning mode, and determining the base parameters includes at least one of the following:
[0019] Determine the task status of the base task; the task status includes an on state or a off state.
[0020] Determine the noise parameters of the base task in the "on" state; the noise parameters are used to characterize the noise generated when the base task in the "on" state is running.
[0021] In some embodiments, determining the task state of the base task includes:
[0022] When the noise during the operation of the base task exceeds a first preset threshold, the task status of the base task is determined to be the closed state.
[0023] When the noise level during the operation of the base task is less than or equal to the first preset threshold, the task state of the base task is determined to be the "on" state.
[0024] In some embodiments, the first target cleaning mode is a butler cleaning mode, and determining the cleaning parameters corresponding to the first target cleaning mode includes:
[0025] Obtain reference parameters; the reference parameters include at least one of the following: material of the area to be cleaned, degree of dirt in the area to be cleaned, space type of the area to be cleaned, object to be cleaned in the area to be cleaned, historical cleaning parameters, and air humidity;
[0026] The cleaning parameters are determined based on the reference parameters.
[0027] In some embodiments, the first target cleaning mode is a pet cleaning mode, and determining the cleaning parameters corresponding to the first target cleaning mode includes:
[0028] Determine the functional status of preset functions; the preset functions include at least one of pet finding function, anti-accidental touch function and pet capture function, and the functional status includes on state or off state.
[0029] In some embodiments, the method further includes:
[0030] The system receives feedback information sent by the first electronic device; the feedback information is used to indicate that the first electronic device detects that the degree of dirt in the area to be cleaned is greater than a second preset threshold, and the feedback information is used to indicate that the cleaning parameters are adjusted.
[0031] Based on the feedback information, the cleaning parameters are adjusted.
[0032] In some embodiments, determining the first target cleaning mode from a plurality of preset cleaning modes includes:
[0033] In response to the detection of a first operation, a first target cleaning mode is determined from a plurality of preset cleaning modes; the first operation is used to select a cleaning mode.
[0034] In some embodiments, controlling the first electronic device to perform the cleaning operation indicated by the first target cleaning instruction includes:
[0035] Send the first target cleaning instruction to the first electronic device; the first target cleaning instruction is used to control the first electronic device to perform the cleaning operation indicated by the first target cleaning instruction.
[0036] According to a second aspect of the present disclosure, a cleaning method is provided, comprising:
[0037] Based on the first target cleaning instruction, the cleaning operation indicated by the first target cleaning instruction is executed; the first target cleaning instruction is determined based on the first target cleaning mode, which is the cleaning mode determined by the second electronic device from a plurality of preset cleaning modes.
[0038] In some embodiments, the method further includes:
[0039] Inspect the level of dirt in the area to be cleaned;
[0040] When the level of dirt in the area to be cleaned exceeds a second preset threshold, feedback information is sent to the second electronic device; the feedback information is used to indicate the adjustment of cleaning parameters.
[0041] According to a third aspect of the present disclosure, a cleaning method is provided, comprising:
[0042] Based on the environmental parameters of the area to be cleaned, a second target cleaning mode is selected from multiple preset cleaning modes; the environmental parameters include environmental audio parameters and / or environmental image parameters.
[0043] Based on the second target cleaning mode, determine the second target cleaning instruction corresponding to the second target cleaning mode;
[0044] Based on the second target cleaning instruction, perform the cleaning operation indicated by the second target cleaning instruction.
[0045] According to a fourth aspect of the present disclosure, a control device is provided, comprising:
[0046] The first determining module is configured to determine a first target cleaning mode from a plurality of preset cleaning modes;
[0047] The second determining module is configured to determine a first target cleaning instruction corresponding to the first target cleaning mode based on the first target cleaning mode.
[0048] The control module is configured to control the first electronic device to perform the cleaning operation indicated by the first target cleaning instruction based on the first target cleaning instruction.
[0049] According to a fifth aspect of the present disclosure, a cleaning apparatus is provided, comprising:
[0050] The first execution module is configured to execute the cleaning operation indicated by the first target cleaning instruction based on the first target cleaning instruction; the first target cleaning instruction is determined based on a first target cleaning mode, which is a cleaning mode determined by the second electronic device from a plurality of preset cleaning modes.
[0051] According to a sixth aspect of the present disclosure, a cleaning apparatus is provided, comprising:
[0052] The selection module is configured to select a second target cleaning mode from multiple preset cleaning modes based on environmental parameters of the area to be cleaned; the environmental parameters include environmental audio parameters and / or environmental image parameters.
[0053] The third determining module is configured to determine a second target cleaning instruction corresponding to the second target cleaning mode based on the second target cleaning mode.
[0054] The second execution module is configured to execute the cleaning operation indicated by the second target cleaning instruction based on the second target cleaning instruction.
[0055] According to a seventh aspect of the present disclosure, an electronic device is provided, comprising:
[0056] processor;
[0057] Memory used to store processor-executable instructions;
[0058] The processor is configured to perform the control method as described in the first aspect of this disclosure.
[0059] According to an eighth aspect of the present disclosure, an electronic device is provided, comprising:
[0060] processor;
[0061] Memory used to store processor-executable instructions;
[0062] The processor is configured to perform the cleaning method as described in the second or third aspect of this disclosure.
[0063] According to a ninth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the control method as described in the first aspect of the present disclosure.
[0064] According to a tenth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform a control method as described in a second or third aspect of the present disclosure.
[0065] The method described above has the following advantages: This disclosure can provide a variety of preset cleaning modes, thereby providing users with a variety of selectable cleaning modes to meet their diverse needs; and this disclosure can determine a first target cleaning mode from a variety of preset cleaning modes, and directly determine the first target cleaning instruction corresponding to the first target cleaning mode, thereby eliminating the need for users to manually set cleaning instructions, saving users time and effort, and thus improving the user experience.
[0066] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0067] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0068] Figure 1 This is a flowchart illustrating a control method according to an exemplary embodiment.
[0069] Figure 2 This is a flowchart illustrating a cleaning method according to an exemplary embodiment.
[0070] Figure 3 This is a flowchart illustrating a cleaning method according to an exemplary embodiment.
[0071] Figure 4 This is a flowchart illustrating an interactive method according to an exemplary embodiment.
[0072] Figure 5 This is a block diagram illustrating a control device according to an exemplary embodiment.
[0073] Figure 6 This is a block diagram illustrating a cleaning apparatus according to an exemplary embodiment.
[0074] Figure 7 This is a block diagram illustrating a cleaning apparatus according to an exemplary embodiment.
[0075] Figure 8 This is a block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation
[0076] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0077] Currently, cleaning equipment offers managed and / or custom modes. In managed mode, the cleaning equipment automatically determines cleaning instructions based on the environment of the area to be cleaned and executes the cleaning operations indicated by those instructions. In custom mode, users can manually set cleaning instructions and send them to the cleaning equipment, which then executes the cleaning operations specified in those instructions. For example, users can add quick cleaning instructions and set parameters for each instruction in a preset interface, then send the completed instructions to the cleaning equipment, which will then execute the cleaning operations indicated by those instructions. The preset interface can be the application interface corresponding to the cleaning equipment and can be displayed on an electronic device that communicates with the cleaning equipment.
[0078] However, the managed mode is less flexible and struggles to meet diverse user needs; while the custom mode requires users to manually set cleaning instructions, which consumes a lot of their time and effort, resulting in a poor user experience.
[0079] To address the aforementioned problems, this disclosure provides a control method comprising: determining a first target cleaning mode from a plurality of preset cleaning modes; determining a first target cleaning instruction corresponding to the first target cleaning mode based on the first target cleaning mode; and controlling a first electronic device to execute the cleaning operation indicated by the first target cleaning instruction based on the first target cleaning instruction. This disclosure provides multiple preset cleaning modes, thereby offering users a variety of selectable cleaning modes to meet diverse user needs. Furthermore, this disclosure can determine the first target cleaning mode from a plurality of preset cleaning modes and directly determine the first target cleaning instruction corresponding to the first target cleaning mode, thus eliminating the need for users to manually set cleaning instructions, saving users time and effort, and thereby improving the user experience.
[0080] The control method provided in this disclosure is executed by a second electronic device, which may be a mobile phone, tablet computer, laptop, smart robot, smart wearable device, or other smart device. Furthermore, the second electronic device is equipped with various hardware resources and an energy storage device that provides power for the operation of these hardware resources. This disclosure is applied to cleaning scenarios.
[0081] Figure 1 This is a flowchart illustrating a control method according to an exemplary embodiment, executed by a second electronic device, see [link to flowchart]. Figure 1 The method includes the following steps:
[0082] Step S101: Determine the first target cleaning mode from multiple preset cleaning modes.
[0083] Optionally, multiple preset cleaning modes may include regular cleaning mode, deep cleaning mode, quiet cleaning mode, concierge cleaning mode, pet cleaning mode, and entertainment cleaning mode. Regular cleaning mode refers to a commonly used cleaning mode without special requirements; the cleaning parameters in this mode can be the initial cleaning parameters for other modes. Quiet cleaning mode reduces the noise emitted by the primary electronic device during cleaning, thus minimizing disturbance to the target object. Deep cleaning mode is a thorough and comprehensive cleaning mode; for example, it may include thorough vacuuming and cleaning corners and crevices. Concierge cleaning mode automatically determines the cleaning method. Pet cleaning mode is suitable for households with pets. Entertainment cleaning mode is a cleaning mode that allows user interaction.
[0084] It should be noted that the first electronic device is a device that performs cleaning operations; for example, the first electronic device can be a cleaning device. Furthermore, a communication connection is established between the first electronic device and the second electronic device. Thus, the second electronic device can send operation commands to the first electronic device, and correspondingly, the first electronic device can execute the operations indicated by the operation commands.
[0085] In some embodiments, the second electronic device includes an application corresponding to the first electronic device. For example, if the first electronic device is a robotic vacuum cleaner, the second electronic device may include an application for the robotic vacuum cleaner. Optionally, the application of the first electronic device may include controls corresponding to multiple preset cleaning modes. For example, the homepage of the application of the first electronic device may have a cleaning mode entry point, and the second electronic device may display multiple controls corresponding to the preset cleaning modes on its display interface in response to a click on the cleaning mode entry point.
[0086] In some embodiments, in response to detecting a first operation, the second electronic device can determine a first target cleaning mode from a plurality of preset cleaning modes. The first operation is used to select a cleaning mode, and can be a user's click, double-click, or voice input operation on the controls corresponding to the plurality of preset cleaning modes. For example, if the display interface of the second electronic device shows controls corresponding to a quiet cleaning mode, a deep cleaning mode, and a pet cleaning mode, and the user double-clicks the control corresponding to the quiet cleaning mode, the second electronic device can determine that the first target cleaning mode is the quiet cleaning mode.
[0087] In some embodiments, the second electronic device can obtain its own device state and, based on the device state, determine a first target cleaning mode from a plurality of preset cleaning modes. The device state may include the mode the device is in, the device's usage status, etc. In one example, when the device mode is Do Not Disturb mode, indicating that the user may not want to be disturbed, the second electronic device can determine the first target cleaning mode as a silent cleaning mode. In one example, when the second electronic device is in use, such as when it is playing a video, the second electronic device can determine the first target cleaning mode from the plurality of preset cleaning modes other than the silent cleaning mode.
[0088] Step S102: Based on the first target cleaning mode, determine the first target cleaning instruction corresponding to the first target cleaning mode.
[0089] The cleaning command can include multiple parameters, such as cleaning location, suction parameters during the cleaning process, cleaning path, and water output parameters.
[0090] In some embodiments, the second electronic device stores multiple preset cleaning modes and cleaning instructions corresponding to each preset cleaning mode. Accordingly, a first target cleaning instruction corresponding to the first target cleaning mode can be determined based on the first target cleaning mode and the multiple preset cleaning modes and their corresponding cleaning instructions. Optionally, after the second electronic device determines the first target cleaning mode, it can directly determine the first target cleaning instruction corresponding to the first target cleaning mode based on the first target cleaning mode. For example, the second electronic device includes cleaning instruction a corresponding to the quiet cleaning mode A, cleaning instruction b corresponding to the deep cleaning mode B, cleaning instruction c corresponding to the pet cleaning mode C, etc. If the first target cleaning mode is determined to be pet cleaning mode C, then the first target cleaning instruction is cleaning instruction c.
[0091] In some embodiments, cleaning parameters corresponding to a first target cleaning mode can be determined based on the first target cleaning mode, and then a first target cleaning instruction corresponding to the first target cleaning mode can be generated based on the cleaning parameters. The specific determination process can be found in the following description.
[0092] Step S103: Based on the first target cleaning instruction, control the first electronic device to execute the cleaning operation indicated by the cleaning instruction.
[0093] In some embodiments, the second electronic device sends a first target cleaning instruction to the first electronic device based on the communication connection between the second electronic device and the first electronic device, thereby controlling the first electronic device to perform the cleaning operation indicated by the first target cleaning instruction. Optionally, the cleaning operation performed by the first electronic device can be determined based on various parameters in the first target cleaning instruction.
[0094] This disclosure provides multiple preset cleaning modes, thus offering users a variety of selectable cleaning modes to meet diverse user needs. Furthermore, this disclosure can determine a first target cleaning mode from among multiple preset cleaning modes, and directly determine the first target cleaning instruction corresponding to the first target cleaning mode, thereby eliminating the need for users to manually set cleaning instructions, saving users time and effort, and improving the user experience.
[0095] In some embodiments, determining a first target cleaning instruction based on a first target cleaning mode may include: determining cleaning parameters corresponding to the first target cleaning mode based on the first target cleaning mode, and generating a first target cleaning instruction based on the cleaning parameters.
[0096] In some embodiments, determining the cleaning parameters corresponding to the first target cleaning mode includes determining at least one parameter selected from setting parameters, path parameters, base parameters, switching parameters, and obstacle avoidance parameters. It should be noted that different cleaning modes may determine different cleaning parameters. For example, when the first target cleaning mode is a quiet cleaning mode, determining the cleaning parameters corresponding to this mode includes determining the setting parameters, path parameters, and base parameters. Similarly, when the first target cleaning mode is a pet cleaning mode, determining the cleaning parameters corresponding to this mode includes determining the setting parameters, path parameters, and obstacle avoidance parameters.
[0097] Additionally, it should be noted that for cleaning parameters that are not yet determined in a certain cleaning mode, cleaning instructions can be generated based on the initial parameters preset in that cleaning mode. For example, in the quiet cleaning mode, the setting parameters, path parameters, and base parameters are determined. For the undetermined switching parameters and obstacle avoidance parameters, the initial parameters of the switching parameters and obstacle avoidance parameters can be obtained, and cleaning instructions can be generated based on the determined setting parameters, path parameters, base parameters, initial switching parameters, and initial obstacle avoidance parameters.
[0098] In some embodiments, the second electronic device can receive feedback information sent by the first electronic device and adjust the cleaning parameters based on the feedback information. The feedback information is used to characterize that the first electronic device detects that the degree of dirt in the area to be cleaned is greater than a second preset threshold. Optionally, adjusting the cleaning parameters includes increasing the number of cleaning cycles, increasing suction parameters, pressure parameters, water output parameters, etc. For example, when the first target cleaning mode is a quiet cleaning mode, if the second electronic device receives feedback information, it can adjust the cleaning parameters corresponding to the current area to be cleaned, such as increasing the number of cleaning cycles (correspondingly, the first electronic device will sweep multiple times when the object to be cleaned is dry waste; and wipe multiple times when the object to be cleaned is wet waste).
[0099] The parameters mentioned above are explained below:
[0100] The setting parameters are used to characterize the parameters used by the first electronic device during cleaning. Optionally, the setting parameters may include cleaning-related parameters such as suction power, pressure, backwash frequency, and water output. Specifically, the suction power parameter refers to the suction force of the first electronic device during cleaning, the pressure parameter refers to the pressure applied by the mop during cleaning, the backwash frequency refers to the frequency at which the first electronic device returns to the base to clean the mop, and the water output parameter refers to the water output during cleaning.
[0101] The path parameter is used to characterize the cleaning path of the first electronic device. In some embodiments, the cleaning path of the first electronic device may include various types, such as a cleaning path with high coverage of the area to be cleaned, a cleaning path with moderate coverage of the area to be cleaned, etc. A cleaning path with high coverage may refer to a cleaning path that covers the corners or gaps of the area to be cleaned.
[0102] Base parameters are used to characterize parameters related to base tasks of the first electronic device. In one example, base tasks include dust collection, cleaning, drying, water tank replenishment, adding cleaning fluid, and charging. Base parameters can refer to the task status of a base task, including an on or off state; alternatively, base parameters can refer to noise parameters of a base task, where noise refers to the noise level. For example, base parameters could include a dust collection task with the task status set to off, a drying task with the task status set to on, and a cleaning task with a noise level of 0 dB.
[0103] The switching parameter is used to indicate whether to switch to another area to be cleaned when a target object is present in the current area to be cleaned. In some embodiments, the switching parameter can be used to characterize whether to switch to another area to be cleaned.
[0104] In some embodiments, a first electronic device can detect whether a target object exists in the current area to be cleaned and send the detection result to a second electronic device. The second electronic device can receive the detection result and determine switching parameters based on the detection result. When the detection result indicates that a target object exists in the current area to be cleaned, the second electronic device can determine that the switching parameters indicate switching to another area to be cleaned; conversely, when the detection result indicates that a target object does not exist in the current area to be cleaned, the second electronic device can determine that the switching parameters indicate not switching to another area to be cleaned.
[0105] Optionally, the switching parameters can be represented as status codes, numbers, letters, etc. For example, a switching parameter of 0 indicates that the system will not switch to other areas to be cleaned; a switching parameter of 1 indicates that the system will switch to other areas to be cleaned.
[0106] By determining the switching parameters, when a target object is present in the area to be cleaned, the first electronic device can be controlled to clean other areas to be cleaned, thereby reducing disturbance to the target object and improving the user experience of the target object.
[0107] Obstacle avoidance parameters are used to instruct the first electronic device to bypass preset objects when cleaning. The preset objects can be objects to be cleaned on the ground, or objects such as pets.
[0108] In some embodiments, each cleaning mode has corresponding cleaning parameters, which are described below:
[0109] For the quiet cleaning mode:
[0110] During the cleaning operation of the first electronic device, different settings may produce varying levels of noise. In some embodiments, to further reduce the noise generated during the cleaning operation of the first electronic device, when the first target cleaning mode is a quiet cleaning mode, the suction parameters, pressure parameters, etc., in the settings can be set to smaller values. For example, the values of suction parameters and pressure parameters in the quiet cleaning mode can be smaller than the values of suction parameters and pressure parameters in the regular cleaning mode.
[0111] In some embodiments, a first preset range can be set for each parameter in the setting parameters. The first preset range includes parameter sizes that can be selected in the quiet cleaning mode. In this way, a suitable parameter size can be determined within the first preset range corresponding to each parameter to determine the setting parameters.
[0112] Currently, when the first electronic device performs cleaning operations, it can interact with the user or a second electronic device through voice announcements. For example, the first electronic device can use voice announcements to provide the target object with its status, prompt for pending operation instructions, or provide feedback information. Below are some common applications of voice announcements from the first electronic device:
[0113] Power-on and power-off notifications: When the first electronic device is powered on or off, the user's current status will be announced via voice.
[0114] Battery reminder: When the first electronic device has low battery, it will issue a voice prompt to remind the user that it needs to be charged.
[0115] Error or fault indication: If the first electronic device encounters a problem, such as a wheel getting stuck, a full dustbin, or a sensor being blocked, the user will be notified via voice broadcast to check or repair the first electronic device.
[0116] Cleaning mode prompts: When switching between different cleaning modes (such as automatic, spot, edge, etc.), a voice prompt will inform the user of the current mode.
[0117] Navigation status: In the first electronic device using laser navigation or other navigation technologies, voice announcements are made to inform the user of the current navigation status or map information.
[0118] Time reminder: The first electronic device can be set to be cleaned at a set time, and a voice broadcast will remind the user at the scheduled time.
[0119] The voice broadcast operation of the first electronic device may disturb the target object. Optionally, when the first target cleaning mode is the quiet cleaning mode, in order to reduce disturbance to the user, the voice broadcast task of the first electronic device can be turned off, or the volume of the voice broadcast task of the first electronic device can be reduced.
[0120] In some embodiments, the base task of the first electronic device may also generate significant noise. Therefore, when the first target cleaning mode is a quiet cleaning mode, determining the base parameters includes at least one of the following: determining the task state of the base task, and determining the noise parameters of the base task when it is in the on state. The task state includes an on state or a off state, and the noise parameters are used to characterize the noise generated by the base task when it is in the on state.
[0121] In one example, determining the task status of a base task can identify base tasks to be shut down, thereby reducing noise during the cleaning process. In some embodiments, determining the task status of a base task includes: determining the task status of the base task to be off when the noise during operation of the base task exceeds a first preset threshold; and determining the task status of the base task to be on when the noise during operation of the base task is less than or equal to the first preset threshold. The first preset threshold can be set and selected based on actual needs. That is, for base tasks with excessive noise during operation, the base task can be shut down; for base tasks with normal or low noise during operation, the base task can continue to run. For example, if the dust collection task in the base task is very noisy during operation, the dust collection task can be shut down; if the charging task in the base task is very quiet during operation, the base task can remain on.
[0122] In one example, determining the noise parameter of a docking task that is in the active state refers to determining the noise parameter of a docking task that is not closed during operation. Optionally, the noise parameter of a docking task that is not closed during operation can be set to a small value, which can be less than or equal to a first preset threshold. For example, the noise parameter of a docking task that is not closed during operation can be 0, meaning that the docking task is in a silent state during operation.
[0123] For deep cleaning mode:
[0124] It should be noted that the deep cleaning mode is suitable for areas that have not been cleaned for a long time and / or have a lot of dirt, or for users who want to thoroughly clean the area to be cleaned. When the first target cleaning mode is deep cleaning mode, the first electronic device can activate a more refined, powerful, and comprehensive cleaning method to improve the cleaning effect on the area to be cleaned.
[0125] Larger suction and pressure parameters allow the primary electronic device to perform deep cleaning operations more quickly and accurately. In some embodiments, a second preset range can be set for each parameter in the settings. This second preset range includes the parameter sizes selectable in deep cleaning mode. Thus, a suitable parameter size can be determined within the second preset range for each parameter to define the settings. For example, larger values for suction and pressure parameters can be determined within the second preset range.
[0126] It should be noted that, compared to the quiet cleaning mode, the deep cleaning mode provides a better cleaning effect for other cleaning parameters of the first electronic device. For example, the suction power and pressure parameters of the first electronic device in deep cleaning mode can be greater than those in quiet cleaning mode.
[0127] Optionally, when the first target cleaning mode is deep cleaning mode, the second electronic device can also determine that the backwash frequency and water output parameters in the settings are set to larger values, thereby increasing the backwash frequency and water output parameters of the first electronic device to ensure that the mop is always clean and that the area to be cleaned is hygienic. Optionally, when the first target cleaning mode is deep cleaning mode, the area to be cleaned may have a lot of difficult-to-clean dirt. Therefore, when cleaning the mop, cleaning solution and hot water can be used to clean the mop to quickly clean it to a clean state.
[0128] In some embodiments, the deep cleaning mode represents cleaning more areas to be cleaned. Accordingly, when the first target cleaning mode is the deep cleaning mode, the path parameters of the first electronic device can be a cleaning path with higher coverage.
[0129] For butler cleaning mode:
[0130] The Butler Cleaning Mode refers to a cleaning mode that automatically determines cleaning parameters based on the recognition function of a first electronic device. Accordingly, the Butler Cleaning Mode is suitable for users who require intelligent recognition and customized cleaning methods based on the first electronic device.
[0131] In some embodiments, when the first target cleaning mode is a butler cleaning mode, determining the cleaning parameters corresponding to the first target cleaning mode includes: obtaining reference parameters; and determining the cleaning parameters based on the reference parameters. The reference parameters include at least one of the following: the material of the area to be cleaned, the degree of dirt in the area to be cleaned, the space type of the area to be cleaned, the object to be cleaned in the area to be cleaned, historical cleaning parameters, and air humidity.
[0132] The above reference parameters are explained below:
[0133] The material of the area to be cleaned can include ceramic, wood, marble, etc.; the space type of the area to be cleaned can refer to the room type, such as a bedroom, a kitchen, or a bathroom; the object to be cleaned can refer to the type of object, such as particulate matter, oil stains, or pet excrement; historical cleaning parameters can refer to the cleaning habits of the target object; and air humidity refers to the air humidity of the area to be cleaned.
[0134] It should be noted that the second electronic device can pre-acquire historical cleaning parameters. These parameters can include various cleaning habits of the objects to be cleaned. For example, they could include controlling the first electronic device to execute a deep cleaning mode command every N days; or controlling the first electronic device to execute a deep cleaning mode command on a preset area; or controlling the first electronic device to execute a quiet cleaning mode command at a preset time. Optionally, the second electronic device can acquire historical cleaning parameters based on the target object's input. For example, the second electronic device can display a questionnaire on its interface to acquire historical cleaning parameters, obtaining these parameters based on user input. The specific acquisition method is not limited here.
[0135] In some embodiments, a humidity sensor is provided on the first electronic device, which can detect the air humidity of the external environment. The first electronic device can send the detected air humidity to a second electronic device, and the second electronic device can receive the air humidity sent by the first electronic device. Similarly, an image sensor is provided on the first electronic device, which can detect the material of the area to be cleaned, the degree of dirt in the area to be cleaned, the spatial type of the area to be cleaned, and the object to be cleaned in the area to be cleaned, and send the detected data to the second electronic device. The second electronic device can obtain reference parameters such as the material of the area to be cleaned, the degree of dirt in the area to be cleaned, the spatial type of the area to be cleaned, and the object to be cleaned in the area to be cleaned based on the received data.
[0136] In some embodiments, there is a correlation between reference parameters and cleaning parameters, meaning that reference parameters influence cleaning parameters. For example, when the material of the area to be cleaned is wood, the second electronic device can be set to a smaller water output parameter, thereby reducing the impact of water / water vapor on the wooden floor and extending its lifespan. Alternatively, when the space type of the area to be cleaned is a kitchen, the second electronic device can be set to larger suction and pressure parameters. Furthermore, since kitchens tend to have more grease, the second electronic device can also be set to use cleaning solution and hot water to wash the mop of the first electronic device, thus better cleaning the grease in the kitchen and ensuring the mop is clean. Another example is when the object to be cleaned in the area includes soy sauce stains; for areas with soy sauce stains, the second electronic device can set larger suction and pressure parameters. Finally, historical cleaning parameters include the user's usual cleaning habits (such as performing deep cleaning every N days). Based on these historical cleaning parameters, the second electronic device can set the cleaning parameters of the butler cleaning mode to the same parameters as the deep cleaning mode every N days.
[0137] In some embodiments, the second electronic device includes a pre-trained first preset large language model. The training data for the large language model includes reference parameters and corresponding cleaning parameters. Thus, the second electronic device can determine the cleaning parameters based on the reference parameters and the first preset large language model.
[0138] Additionally, it should be noted that since the Butler Cleaning Mode automatically determines cleaning parameters without user intervention, functions related to user-defined cleaning parameters can be hidden, and the display interface of the application corresponding to the first electronic device can be simplified. Of course, it is understandable that users can adjust the cleaning parameters according to their personal needs in Butler Cleaning Mode.
[0139] For pet cleaning mode:
[0140] The pet cleaning mode is suitable for pet owners in households. In some embodiments, when the first target cleaning mode is the pet cleaning mode, the second electronic device can determine the functional state of a preset function. The preset function is a pet-related function, and the functional state includes an on or off state. Optionally, the preset function includes at least one of a pet capture function, a pet locator function, and an anti-accidental touch function. The pet capture function refers to the first electronic device capturing images of a pet in a stationary or moving state; the pet locator function refers to the first electronic device locating the pet; and the anti-accidental touch function may refer to a child lock function to address the inconvenience caused by accidental touch by the pet.
[0141] Optionally, when the first target cleaning mode is pet cleaning mode, the second electronic device can automatically activate a preset function. Optionally, when the first target cleaning mode is pet cleaning mode, the second electronic device can display a prompt message and, in response to detecting a second operation, activate the preset function. The second operation can be a user-performed click, double-click, voice input, etc.
[0142] In some embodiments, a preset function has a corresponding control. In response to a third operation on the control, the second electronic device generates an instruction corresponding to the function and controls the first electronic device to execute the instruction. The third operation can be a user click, double-click, voice input, etc. For example, if a user clicks the control corresponding to the pet-finding function, the second electronic device generates a pet-finding instruction, sends the instruction to the first electronic device, and executes the instruction. Executing the pet-finding instruction involves the first electronic device searching for a pet in all areas to be cleaned until it is found. For instance, the first electronic device uses an image sensor to detect whether a pet exists in the current area to be cleaned. If it does, it locates the pet's position; if not, it continues to switch areas to be cleaned and detects whether a pet exists in the current area until a pet is detected.
[0143] Optionally, for pet-friendly home environments, the system can acquire information about the pet's activity area and determine cleaning parameters for that area. For example, the cleaning parameters used in deep cleaning mode can be set as the cleaning parameters for the pet's activity area, thus ensuring that the area remains clean and tidy.
[0144] Optionally, the first electronic device can detect objects such as pets, pet excrement, and pet toys in the area to be cleaned using an image sensor, and send the detected data to the second electronic device. The second electronic device can then adjust cleaning parameters based on the received data. For example, if the first electronic device detects a pet in the area to be cleaned, the second electronic device can re-determine obstacle avoidance parameters and replan the cleaning path to bypass the pet and avoid cleaning the area where the pet is located, thereby preventing harm to the pet. Similarly, if the first electronic device detects pet excrement in the area to be cleaned, the second electronic device can re-determine obstacle avoidance parameters and replan the cleaning path to bypass the pet excrement and avoid the area where the pet excrement is located, thereby preventing secondary contamination of the area to be cleaned.
[0145] For the entertainment cleaning mode:
[0146] The "entertainment cleaning mode" refers to a cleaning mode that enables interactive, entertaining, and fitness activities with the first electronic device. In some embodiments, when the first target cleaning mode is the entertainment cleaning mode, the second electronic device can determine fixed path parameters to control the interactive entertainment between the first electronic device and the user. For example, the second electronic device can determine a fixed front-to-back cleaning path to adjust the distance between the first electronic device and the user. Interactive entertainment between the first electronic device and the user can include the user installing a basketball hoop on the first electronic device for basketball practice. By setting an entertainment cleaning mode, special features can be added to expand the usage scenarios and users of the first electronic device, increase the user's enjoyment of using the second electronic device, and enhance the user's willingness to purchase the first electronic device.
[0147] It should be noted that, in this embodiment of the disclosure, the preset cleaning mode may also include other cleaning modes besides those shown in the examples above, which will not be elaborated here. By setting multiple preset cleaning modes, a first target cleaning mode can be determined based on user needs, thereby providing users with a faster and more convenient cleaning method and meeting their diverse needs.
[0148] The cleaning method provided in this embodiment is executed by a first electronic device, which may be a mobile phone, tablet computer, laptop, smart robot, robot vacuum cleaner, smart wearable device, or other smart device. Furthermore, the first electronic device is also equipped with various hardware resources and an energy storage device that provides power for the operation of these hardware resources.
[0149] Figure 2 This is a flowchart illustrating a cleaning method according to an exemplary embodiment, performed by a first electronic device, see [link to flowchart]. Figure 2 The method includes the following steps:
[0150] Step S201: Based on the first target cleaning instruction, execute the cleaning operation indicated by the first target cleaning instruction; the first target cleaning instruction is determined based on the first target cleaning mode, which is the cleaning mode determined by the second electronic device from multiple preset cleaning modes.
[0151] The process of determining the first target cleaning mode and the first target cleaning instruction can be referred to the content shown in the above embodiments, and will not be repeated here.
[0152] In some embodiments, the first electronic device can detect the degree of dirt in the area to be cleaned. When the degree of dirt in the area to be cleaned is greater than a second preset threshold, the first electronic device can send feedback information to the second electronic device. This feedback information is used to instruct adjustments to the cleaning parameters. Conversely, when the degree of dirt in the area to be cleaned is less than or equal to the second preset threshold, the first electronic device will not send feedback information to the second electronic device. Accordingly, the second electronic device, not receiving feedback information, will not adjust the cleaning parameters. Optionally, the first electronic device can detect the degree of dirt in the area to be cleaned using an image sensor mounted thereon; the specific detection process will not be detailed here.
[0153] In this embodiment of the present disclosure, by executing the cleaning operation indicated by the first target cleaning instruction corresponding to the cleaning mode determined by the second electronic device from a plurality of preset cleaning modes, the diverse needs of users can be met, and the user's energy and time can be saved, thereby improving the user experience.
[0154] In some embodiments, if the second electronic device fails to determine the first target cleaning mode from a plurality of preset cleaning modes, the first electronic device can determine the second target cleaning mode from the plurality of preset cleaning modes, determine the second cleaning instruction corresponding to the second target cleaning mode, and finally execute the cleaning operation indicated by the second target cleaning instruction based on the second target cleaning instruction. The following describes... Figure 3 The illustrated embodiment explains the process of determining a second target cleaning instruction.
[0155] Figure 3 This is a flowchart illustrating a cleaning method according to an exemplary embodiment, performed by a first electronic device, see [link to flowchart]. Figure 3 The method includes the following steps:
[0156] Step S301: Based on the environmental parameters of the area to be cleaned, select a second target cleaning mode from multiple preset cleaning modes; the environmental parameters include environmental audio parameters and / or environmental image parameters.
[0157] Among them, environmental audio parameters may include ambient audio, user speech / conversation audio, etc., and environmental image parameters may include the material of the area to be cleaned, the degree of dirt in the area to be cleaned, the spatial type of the area to be cleaned, the objects to be cleaned in the area to be cleaned, etc.
[0158] In some embodiments, the first electronic device is equipped with an image sensor and a sound sensor. Therefore, the first electronic device can acquire environmental image parameters through the image sensor and acquire environmental audio data through the sound sensor.
[0159] In some embodiments, the first electronic device can select a second target cleaning mode from multiple preset cleaning modes by analyzing acquired environmental parameters. Optionally, the first electronic device includes a second preset large language model, the training parameters of which include environmental parameters and the second target cleaning mode corresponding to the environmental parameters. In some embodiments, the first electronic device can determine the second target cleaning mode based on the environmental parameters and the second preset large language model.
[0160] Step S302: Based on the second target cleaning mode, determine the second target cleaning instruction corresponding to the second target cleaning mode.
[0161] In some embodiments, the process of determining the second target cleaning instruction corresponding to the second target cleaning mode based on the second target cleaning mode can refer to the process of determining the first target cleaning instruction corresponding to the first target cleaning mode based on the first target cleaning mode, and will not be repeated here.
[0162] Step S203: Based on the second target cleaning instruction, perform the cleaning operation indicated by the second target cleaning instruction.
[0163] The process of executing the cleaning operation indicated by the second target cleaning instruction can be referred to the process of executing the cleaning operation indicated by the first target cleaning instruction based on the first target cleaning instruction as described above, and will not be repeated here.
[0164] In this embodiment of the present disclosure, when the second electronic device does not determine the first target cleaning mode, the first electronic device can determine the second target cleaning mode based on environmental parameters and execute the cleaning operation indicated by the second target cleaning instruction corresponding to the second target cleaning mode, thereby realizing the cleaning operation of the area to be cleaned.
[0165] Figure 4 This is a flowchart illustrating an interaction method according to an exemplary embodiment, executed by a first electronic device and a second electronic device, see [link to flowchart]. Figure 4 The method includes the following steps:
[0166] In step S401, the second electronic device, in response to detecting the first operation, determines a first target cleaning mode from a plurality of preset cleaning modes.
[0167] In step S402, the second electronic device determines the cleaning parameters corresponding to the first target cleaning mode based on the first target cleaning mode.
[0168] In step S403, the second electronic device generates a first target cleaning instruction based on the cleaning parameters.
[0169] In step S404, the second electronic device sends a first target cleaning instruction to the first electronic device.
[0170] In step S405, the first electronic device receives the first target cleaning instruction and executes the cleaning operation indicated by the first target cleaning instruction.
[0171] Figure 5 This is a block diagram illustrating a control device according to an exemplary embodiment, configured in a second electronic device, see [link to relevant documentation]. Figure 5 The device includes:
[0172] The first determining module 501 is configured to determine a first target cleaning mode from a plurality of preset cleaning modes;
[0173] The second determining module 502 is configured to determine a first target cleaning instruction corresponding to the first target cleaning mode based on the first target cleaning mode.
[0174] The control module 503 is configured to control the first electronic device to perform the cleaning operation indicated by the first target cleaning instruction based on the first target cleaning instruction.
[0175] In some embodiments, the second determining module 502 is configured to:
[0176] Determine the cleaning parameters corresponding to the first target cleaning mode;
[0177] Based on the cleaning parameters, a first target cleaning instruction is generated.
[0178] In some embodiments, the second determining module 502 is configured to be at least one of the following:
[0179] Determine the setting parameters, which characterize the parameters used when the first electronic device is cleaned;
[0180] Determine the path parameters, which characterize the cleaning path of the first electronic device;
[0181] Determine the base parameters, which are used to characterize parameters related to the base mission of the first electronic device;
[0182] Determine the switching parameters, which indicate whether to switch to another area to be cleaned when a target object exists in the current area to be cleaned.
[0183] Determine obstacle avoidance parameters, which are used to instruct the first electronic device to bypass preset objects when performing cleaning.
[0184] In some embodiments, the first target cleaning mode is a quiet cleaning mode, and the second determining module 502 is configured to be at least one of the following:
[0185] Determine the task status of the base task; the task status includes whether it is on or off.
[0186] Determine the noise parameters of the base task when it is in the enabled state; the noise parameters are used to characterize the noise generated when the base task is in the enabled state.
[0187] In some embodiments, the second determining module 502 is configured to:
[0188] When the noise during the operation of the base task exceeds the first preset threshold, the task status of the base task is determined to be closed.
[0189] When the noise level during base task operation is less than or equal to the first preset threshold, the base task is determined to be in the "on" state.
[0190] In some embodiments, the first target cleaning mode is a butler cleaning mode, and the second determining module 502 is configured to:
[0191] Obtain reference parameters; the reference parameters include at least one of the following: the material of the area to be cleaned, the degree of dirt in the area to be cleaned, the space type of the area to be cleaned, the object to be cleaned in the area to be cleaned, historical cleaning parameters, and air humidity.
[0192] Based on the reference parameters, determine the cleaning parameters.
[0193] In some embodiments, the first target cleaning mode is a pet cleaning mode, and the second determining module 502 is configured to:
[0194] Determine the function status of the preset functions; the preset functions include at least one of the pet finding function, the anti-accidental touch function, and the pet capture function, and the function status includes the on state or the off state.
[0195] In some embodiments, the second determining module 502 is further configured to:
[0196] Receive feedback information sent by the first electronic device; the feedback information is used to indicate that the degree of dirt in the area to be cleaned detected by the first electronic device is greater than a second preset threshold, and the feedback information is used to indicate the adjustment of cleaning parameters;
[0197] Based on the feedback information, the cleaning parameters were adjusted.
[0198] In some embodiments, the first determining module 501 is configured to:
[0199] In response to the detection of the first operation, a first target cleaning mode is determined from a plurality of preset cleaning modes; the first operation is used to select the cleaning mode.
[0200] In some embodiments, the control module 503 is configured to:
[0201] Send a first target cleaning instruction to a first electronic device; the first target cleaning instruction is used to control the first electronic device to perform the cleaning operation indicated by the first target cleaning instruction.
[0202] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0203] Figure 6 This is a block diagram illustrating a cleaning device according to an exemplary embodiment, configured in a first electronic device, see [link to example]. Figure 6 The device includes:
[0204] The first execution module 601 is configured to execute the cleaning operation indicated by the first target cleaning instruction based on the first target cleaning instruction; the first target cleaning instruction is determined based on the first target cleaning mode, which is the cleaning mode determined by the second electronic device from a plurality of preset cleaning modes.
[0205] In some embodiments, the first execution module 601 is configured to:
[0206] Inspect the level of dirt in the area to be cleaned;
[0207] When the level of dirt in the area to be cleaned exceeds the second preset threshold, feedback information is sent to the second electronic device; the feedback information is used to indicate the adjustment of cleaning parameters.
[0208] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0209] Figure 7 This is a block diagram illustrating a cleaning device according to an exemplary embodiment, configured in a first electronic device, see [link to example]. Figure 7 The device includes:
[0210] Selection module 701 is configured to select a second target cleaning mode from multiple preset cleaning modes based on environmental parameters of the area to be cleaned; the environmental parameters include environmental audio parameters and / or environmental image parameters.
[0211] The third determining module 702 is configured to determine a second target cleaning instruction corresponding to the second target cleaning mode based on the second target cleaning mode.
[0212] The second execution module 703 is configured to execute the cleaning operation indicated by the second target cleaning instruction based on the second target cleaning instruction.
[0213] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0214] This disclosure also provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the control method or cleaning method described above.
[0215] Figure 8 This is a block diagram of an electronic device 800 according to an exemplary embodiment.
[0216] Reference Figure 8 The electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0217] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0218] Memory 804 is configured to store various types of data to support the operation of electronic device 800. Examples of this data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0219] Power supply component 806 provides power to various components of electronic device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.
[0220] Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0221] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0222] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0223] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 can detect the on / off state of electronic device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or a component of electronic device 800, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0224] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0225] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0226] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of an electronic device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0227] A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a control method or cleaning method provided in an exemplary embodiment of this disclosure.
[0228] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0229] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A control method, characterized in that, include: Select the first target cleaning mode from multiple preset cleaning modes; Based on the first target cleaning mode, determine the first target cleaning instruction corresponding to the first target cleaning mode; Based on the first target cleaning instruction, the first electronic device is controlled to perform the cleaning operation indicated by the first target cleaning instruction.
2. The control method according to claim 1, characterized in that, The step of determining the first target cleaning instruction corresponding to the first target cleaning mode based on the first target cleaning mode includes: Determine the cleaning parameters corresponding to the first target cleaning mode; Based on the cleaning parameters, the first target cleaning instruction is generated.
3. The control method according to claim 2, characterized in that, The determination of the cleaning parameters corresponding to the first target cleaning mode includes at least one of the following: Determine the setting parameters, which are used to characterize the parameters used when the first electronic device is cleaned; Determine path parameters, which are used to characterize the cleaning path of the first electronic device; Determine the base parameters, which are used to characterize parameters related to the base task of the first electronic device; Determine the switching parameters, which are used to indicate switching to other areas to be cleaned when a target object exists in the current area to be cleaned; Determine obstacle avoidance parameters, which are used to instruct the first electronic device to bypass preset objects when performing cleaning.
4. The control method according to claim 3, characterized in that, The first target cleaning mode is a quiet cleaning mode, and determining the base parameters includes at least one of the following: Determine the task status of the base task; the task status includes an on state or a off state. Determine the noise parameters of the base task in the "on" state; the noise parameters are used to characterize the noise generated when the base task in the "on" state is running.
5. The control method according to claim 4, characterized in that, The process of determining the task status of the base task includes: When the noise during the operation of the base task exceeds a first preset threshold, the task status of the base task is determined to be the closed state. When the noise level during the operation of the base task is less than or equal to the first preset threshold, the task state of the base task is determined to be the "on" state.
6. The control method according to claim 2 or 3, characterized in that, The first target cleaning mode is the butler cleaning mode, and determining the cleaning parameters corresponding to the first target cleaning mode includes: Obtain reference parameters; the reference parameters include at least one of the following: material of the area to be cleaned, degree of dirt in the area to be cleaned, space type of the area to be cleaned, object to be cleaned in the area to be cleaned, historical cleaning parameters, and air humidity; The cleaning parameters are determined based on the reference parameters.
7. The control method according to claim 3, characterized in that, The first target cleaning mode is a pet cleaning mode, and determining the cleaning parameters corresponding to the first target cleaning mode includes: Determine the functional status of preset functions; the preset functions include at least one of pet finding function, anti-accidental touch function and pet capture function, and the functional status includes on state or off state.
8. The control method according to claim 2, characterized in that, The method further includes: The system receives feedback information sent by the first electronic device; the feedback information is used to indicate that the first electronic device detects that the degree of dirt in the area to be cleaned is greater than a second preset threshold, and the feedback information is used to indicate that the cleaning parameters are adjusted. Based on the feedback information, the cleaning parameters are adjusted.
9. The control method according to claim 1, characterized in that, The step of determining the first target cleaning mode from multiple preset cleaning modes includes: In response to the detection of a first operation, a first target cleaning mode is determined from a plurality of preset cleaning modes; the first operation is used to select a cleaning mode.
10. The control method according to claim 1, characterized in that, The step of controlling the first electronic device to perform the cleaning operation indicated by the first target cleaning instruction includes: Send the first target cleaning instruction to the first electronic device; the first target cleaning instruction is used to control the first electronic device to perform the cleaning operation indicated by the first target cleaning instruction.
11. A cleaning method, characterized in that, include: Based on the first target cleaning instruction, execute the cleaning operation indicated by the first target cleaning instruction; The first target cleaning instruction is determined based on a first target cleaning mode, which is a cleaning mode determined by the second electronic device from a plurality of preset cleaning modes.
12. The cleaning method according to claim 11, characterized in that, The method further includes: Inspect the level of dirt in the area to be cleaned; When the level of dirt in the area to be cleaned exceeds a second preset threshold, feedback information is sent to the second electronic device; the feedback information is used to indicate the adjustment of cleaning parameters.
13. A cleaning method, characterized in that, include: Based on the environmental parameters of the area to be cleaned, select the second target cleaning mode from multiple preset cleaning modes; The environmental parameters include environmental audio parameters and / or environmental image parameters; Based on the second target cleaning mode, determine the second target cleaning instruction corresponding to the second target cleaning mode; Based on the second target cleaning instruction, perform the cleaning operation indicated by the second target cleaning instruction.
14. A control device, characterized in that, include: The first determining module is configured to determine a first target cleaning mode from a plurality of preset cleaning modes; The second determining module is configured to determine a first target cleaning instruction corresponding to the first target cleaning mode based on the first target cleaning mode. The control module is configured to control the first electronic device to perform the cleaning operation indicated by the first target cleaning instruction based on the first target cleaning instruction.
15. A cleaning device, characterized in that, include: The first execution module is configured to execute the cleaning operation indicated by the first target cleaning instruction based on the first target cleaning instruction; The first target cleaning instruction is determined based on a first target cleaning mode, which is a cleaning mode determined by the second electronic device from a plurality of preset cleaning modes.
16. A cleaning device, characterized in that, include: The selection module is configured to select a second target cleaning mode from multiple preset cleaning modes based on the environmental parameters of the area to be cleaned. The environmental parameters include environmental audio parameters and / or environmental image parameters; The third determining module is configured to determine a second target cleaning instruction corresponding to the second target cleaning mode based on the second target cleaning mode. The second execution module is configured to execute the cleaning operation indicated by the second target cleaning instruction based on the second target cleaning instruction.
17. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the control method as described in any one of claims 1-10.
18. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform any one of claims 11-12 or to perform the cleaning method as described in claim 13.
19. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the control method as described in any one of claims 1-10.
20. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform any one of claims 11-12 or perform the cleaning method as described in claim 13.