CN114911170A - Device control method, storage medium, and electronic apparatus - Google Patents

Device control method, storage medium, and electronic apparatus Download PDF

Info

Publication number
CN114911170A
CN114911170A CN202210453731.6A CN202210453731A CN114911170A CN 114911170 A CN114911170 A CN 114911170A CN 202210453731 A CN202210453731 A CN 202210453731A CN 114911170 A CN114911170 A CN 114911170A
Authority
CN
China
Prior art keywords
target
airing
washing
equipment
target object
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
CN202210453731.6A
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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202210453731.6A priority Critical patent/CN114911170A/en
Publication of CN114911170A publication Critical patent/CN114911170A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Control Of Washing Machine And Dryer (AREA)

Abstract

The invention discloses an equipment control method, a storage medium and an electronic device, which relate to the technical field of intelligent home furnishing, and the method comprises the following steps: receiving a washing trigger instruction, wherein the washing trigger instruction is used for indicating that a target object is to be washed by using a target washing device; responding to a washing trigger instruction, and acquiring current weather environment parameters of the geographical position of the target washing equipment; and controlling the target washing equipment and/or the target airing equipment to perform drying and/or airing operation on the target object according to the current weather environment parameters and the type of the target object. The invention solves the technical problem of higher equipment use cost in the existing washing method.

Description

Device control method, storage medium, and electronic apparatus
Technical Field
The invention relates to the technical field of smart homes/smart families, in particular to an equipment control method, a storage medium and an electronic device.
Background
A large number of washing machine products with drying functions are emerged in the market at present, and the automatic drying program entering after the washing is finished is supported to be set by a user. However, the existing drying technology has higher power consumption cost and higher loss to the equipment. That is, the existing clothes washing control method has the technical problem of high equipment use cost.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an equipment control method, a storage medium and an electronic device, which at least solve the technical problem of higher equipment use cost of the existing washing method.
According to an aspect of an embodiment of the present invention, there is provided an apparatus control method including: receiving a washing trigger instruction, wherein the washing trigger instruction is used for indicating that a target object is to be washed by using a target washing device; responding to a washing trigger instruction, and acquiring current weather environment parameters of the geographical position of the target washing equipment; and controlling the target washing equipment and/or the target airing equipment to perform drying and/or airing operation on the target object according to the current weather environment parameters and the type of the target object.
According to still another aspect of the embodiments of the present invention, there is also provided an apparatus control device including: a receiving unit for receiving a washing trigger instruction, wherein the washing trigger instruction is used for indicating that a target object is to be washed using a target washing device; the acquisition unit is used for responding to the washing trigger instruction and acquiring the current weather environment parameters of the geographical position of the target washing equipment; and the control unit is used for controlling the target washing equipment and/or the target airing equipment to perform drying and/or airing operation on the target object according to the current weather environment parameters and the type of the target object.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned apparatus control method when running.
According to still another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory in which a computer program is stored, and a processor configured to execute the device control method described above by the computer program.
In an embodiment of the present invention, a washing trigger instruction is received, wherein the washing trigger instruction is used to indicate that a target object is to be washed using a target washing apparatus; responding to a washing trigger instruction, and acquiring current weather environment parameters of the geographical position of the target washing equipment; according to the current weather environment parameters and the type of the target object identified, the target washing equipment and/or the target airing equipment are controlled to perform drying and/or airing operations on the target object, so that the airing program is controlled to be executed under the condition that the weather environment is suitable for airing clothes, and the normal washing and drying program is started under the condition that the weather environment is not suitable for washing clothes, so that the equipment drying program is prevented from being directly used, and the technical problem that the equipment using cost is high in the existing washing method is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of a hardware environment for an alternative device control method according to an embodiment of the invention;
FIG. 2 is a flow chart of an alternative appliance control method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another alternative device control method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an alternative apparatus control arrangement according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one aspect of the embodiment of the application, an interaction method of intelligent household equipment is provided. The interaction method of the intelligent Home equipment is widely applied to full-House intelligent digital control application scenes such as intelligent homes (Smart Home), intelligent homes, intelligent Home equipment ecology, intelligent House (Intelligent House) ecology and the like. Optionally, in this embodiment, the interaction method of the smart home device may be applied to a hardware environment formed by the terminal device 102 and the server 104 as shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be configured to provide a service (e.g., an application service) for the terminal or a client installed on the terminal, set a database on the server or independent of the server, and provide a data storage service for the server 104, and configure a cloud computing and/or edge computing service on the server or independent of the server, and provide a data operation service for the server 104.
The network may include, but is not limited to, at least one of: wired network, wireless network. The wired network may include, but is not limited to, at least one of: wide area networks, metropolitan area networks, local area networks, which may include, but are not limited to, at least one of the following: WIFI (Wireless Fidelity), bluetooth. Terminal equipment 102 can be but not limited to be PC, the cell-phone, the panel computer, intelligent air conditioner, intelligent cigarette machine, intelligent refrigerator, intelligent oven, intelligent kitchen range, intelligent washing machine, intelligent water heater, intelligent washing equipment, intelligent dish washer, intelligent projection equipment, intelligent TV, intelligent clothes hanger, intelligent (window) curtain, intelligence audio-visual, smart jack, intelligent stereo set, intelligent audio amplifier, intelligent new trend equipment, intelligent kitchen guarding equipment, intelligent bathroom equipment, intelligence robot of sweeping the floor, intelligence robot of wiping the window, intelligence robot of mopping the ground, intelligent air purification equipment, intelligent steam ager, intelligent microwave oven, intelligent kitchen is precious, intelligent clarifier, intelligent water dispenser, intelligent lock etc..
As an alternative embodiment, as shown in fig. 2, the device control method includes the following steps:
s202, receiving a washing trigger instruction, wherein the washing trigger instruction is used for indicating that a target object is to be washed by using target washing equipment;
it can be understood that the manner of receiving the cleaning trigger instruction may be that a control instruction for triggering a cleaning task is received on the mobile terminal, and specifically, the manner of receiving a touch operation of a user on the mobile terminal to instruct the cleaning device to start the cleaning task; the cleaning equipment can also receive a control instruction for triggering the cleaning task on the cleaning equipment, and the specific mode can be that the touch operation of a touch panel of a user on the cleaning equipment is received, or the touch operation of a physical control of the user on the cleaning equipment is received to indicate the cleaning equipment to start the cleaning task; in another alternative, the cleaning task may also be triggered according to a voice command received at the mobile terminal or the cleaning device, for example, the voice command "start cleaning" received by the audio receiving unit of the cleaning device. The manner in which the purge trigger instruction is specifically received is not limited herein.
S204, responding to the washing trigger instruction, and acquiring current weather environment parameters of the geographic position of the target washing equipment;
it should be noted that the target washing device in this embodiment may include, but is not limited to, an intelligent home device for performing a washing task, such as an intelligent washing machine, an intelligent dishwasher, an intelligent vegetable washer, an intelligent floor washing machine, and the like, and the target object in this embodiment may be an object for cleaning in the washing task, corresponding to different intelligent devices. For example, corresponding to an intelligent washing machine, the target object may be clothes, textiles, bedding, and the like; corresponding to the intelligent dish washer, the target object can be bowls and chopsticks, tableware, cookers and the like; corresponding to the intelligent floor washing machine, the target object can be a consumable of the intelligent floor washing machine, such as a mop. The target cleaning apparatus and the corresponding target cleaning object are not limited herein.
Further, under the condition that the cleaning triggering instruction is received, the weather environment parameters of the geographic position where the target cleaning equipment is located can be obtained. The weather environment parameters in this embodiment may include, but are not limited to, sun-cure index, air temperature, air humidity, ultraviolet intensity, and other parameters. The manner of obtaining the weather environment parameter of the geographical location of the target cleaning device may be obtaining the weather environment parameter according to a weather sensing sensor built in the target cleaning device, such as a built-in temperature detection unit, to obtain the air temperature value of the current environment, such as a built-in air humidity detection unit, to obtain the air humidity value of the current environment, such as a built-in ultraviolet detection unit, to obtain the ultraviolet intensity of the current environment. In another optional mode, under the condition that the parameters such as the temperature, the humidity, the ultraviolet intensity and the like are obtained, the airing index can be calculated and determined by integrating the weather parameters according to a calculation unit built in the cleaning device, so that the suitability degree of airing the target object in the current environment can be determined. Optionally, the parameters may also be directly obtained through a network, such as an interface in which a certain weather app is built, and the weather environment parameters may be obtained by calling the interface of the weather app when the cleaning trigger instruction is received. In this embodiment, the specific manner of acquiring the weather environment parameter is not limited.
And S206, controlling the target washing equipment and/or the target airing equipment to perform drying and/or airing operations on the target object according to the current weather environment parameters and the type of the target object.
It should be noted that the type of the target object may be obtained by recognizing an image of the target object acquired by the image acquisition device, or may be obtained by recognizing information input by a user. For example, before starting the washing triggering process, an image of a target object to be washed is acquired through an image acquisition device carried by the washing equipment to determine the type of the target object, such as clothes, beddings, bowls and chopsticks, mops and other objects. In another approach, the object type of the target object may be determined based on information input by the user.
As an alternative, in the case that the target object is determined to be laundry, the washing identifier of the target laundry may be further identified to determine the material of the target laundry and the operation type of the washing, drying, and the like. For example, after the washing identifier of the target clothes is identified, the material of the current clothes is determined to be polyester fiber, the current clothes is indicated to be suitable for insolation and quick drying, and then the airing operation can be preferentially started in the subsequent operation; for another example, after the washing identifier of the target clothes is identified, the material of the current clothes is determined to be wool, which indicates that the current clothes are not suitable for insolation and quick drying and high-temperature drying, and then the subsequent operation can be processed by combining short-time drying operation and drying operation according to the identification result of the target clothes.
The influence relationship of the weather environment parameters on the subsequent operation is explained below. Under the condition that the weather environment parameter is a numerical value, a threshold value corresponding to the object airing condition can be determined according to the type of the object needing airing, and under the condition that the weather environment parameter reaches the object airing condition or exceeds the threshold value corresponding to the object airing condition, the target airing device for controlling the airing target object is determined to enter the running state. Optionally, in the case that the weather environment parameter is a sunning index, the sunning index may be classified into 1-5 levels, and a higher level indicates that the current weather is more suitable for sunning. Furthermore, setting airing conditions according to the aired object, wherein the equipment airing conditions can be 3 levels under the condition that the aired object is clothes easy to air, namely, the airing equipment (such as an intelligent clothes hanger) is controlled to enter an operating state under the condition that the obtained weather environment parameters are airing indexes of 3 levels or more than 3 levels; under the condition that the airing object is a textile which is not easy to air, such as a quilt, the airing condition can be set to be 5-level, namely under the condition that the obtained weather environment parameter is 5-level airing index, the airing equipment is controlled to enter the running state. In the present embodiment, the specific setting method of the airing condition is not limited.
One specific embodiment is described below: under the condition of obtaining the washing trigger instruction, firstly, obtaining the current weather environment parameter of the geographical position where the target washing equipment indicated by the washing trigger instruction is located. Assuming that the target washing equipment is a clothes washing and drying integrated machine, the weather environment parameter of the current geographical position is 2-level, and indicating that the clothes cannot be dried quickly under the current weather condition. Then, the type of the target clothes to be washed is obtained, the type of the target clothes to be washed can be specifically identified through the clothes type input by the user, the target clothes to be washed at present is determined to be a woolen sweater, and the target clothes to be washed at present are indicated to be neither suitable for high-temperature drying nor suitable for insolation drying. And determining the subsequently executed operation flow by combining the current weather environment parameters and the type of the target clothes as follows: the drying device is controlled to perform the medium-low temperature drying operation, then the drying device is controlled to adjust to the running state, and the user is prompted to perform the drying operation, so that the drying/drying requirements of the clothes types are met, and the energy consumption of the washing and drying integrated machine is saved.
By the above-described embodiments of the present application, a washing trigger instruction is received, where the washing trigger instruction is used to indicate that a target object is to be washed using a target washing apparatus; responding to a washing trigger instruction, and acquiring current weather environment parameters of the geographical position of the target washing equipment; according to the current weather environment parameters and the type of the target object identified, the target washing equipment and/or the target airing equipment are controlled to perform drying and/or airing operations on the target object, so that the airing equipment is controlled to run under the condition that the current weather conditions are determined to be suitable for airing, a user is prompted to adopt a natural airing mode to achieve drying operations on the target object, and then a drying mode is prevented from being directly used in the washing equipment, so that the power consumption of the washing equipment is reduced, and the equipment loss of the washing equipment is reduced.
As an optional implementation, the controlling the target washing apparatus and/or the target airing apparatus to perform the drying and/or airing operation on the target object includes: and controlling the target airing device in the running state to adjust the airing height to a target height, wherein the target height is matched with the height of a user role for airing the target object by using the target airing device at present.
It should be noted that, the airing device in this embodiment may be operated to a higher position in a normal state to improve the airing effect. Under the condition that a target airing device for airing a target object is controlled to enter an operating state, the object to be aired needs to be manually moved to the airing device by a user, so that the height of the object to be aired is required to be adjusted to be matched with the height of the user, and the user can conveniently transfer the aired object from the washing device to the airing device.
Further, the manner of determining a height match with the user character may be: and under the condition of receiving a voice instruction of the user, determining the age and the height of the user role according to voice analysis, and further controlling the airing equipment to adjust to the height matched with the height of the user role. In another mode, the operation height may be determined according to the operation mode of the current drying device, for example, in the case that the current drying device is determined to be in an adult mode, the operation is controlled to be performed to a height matched with the height of an adult; and under the condition that the current airing device is determined to be in the non-adult mode, controlling the airing device to run to a height matched with the height of the user role which is adult in the current family.
In a specific embodiment, under the condition that a voice command of a user is received to instruct a washing device to execute a washing task, the voice control command of the user is analyzed to determine that the current user is a specific role of the current family, the running height matched with the airing device is determined according to the height value matched with the current user, and the airing device is controlled to run to the target height matched with the height of the current user role, so that the current user role can transfer a washing object to the airing device conveniently.
As an optional implementation manner, the controlling the target airing device entering the operating state to adjust the airing height to the target height includes:
s1, playing a use prompt voice of the target airing device;
and S2, controlling the target airing equipment to adjust to the target height under the condition of receiving the use confirmation instruction.
In the embodiment, in the case that it is detected that there is an available airing device, a use prompt tone for the target airing device is played to acquire a control instruction of the user character. If playing the prompt tone, "do or not start washing and drying linkage? And when a determination instruction of 'determination on' is received from the user, the airing device is controlled to be adjusted to the target height.
In the embodiment, the use prompt voice of the target airing device is played; under the condition that the use confirmation instruction is received, the target airing equipment is controlled to be adjusted to the target height, the airing equipment is accurately controlled to operate according to the user instruction, and therefore the control efficiency of the washing and airing linkage mode is improved.
As an optional implementation manner, when the control unit controls the target airing device in the operating state to adjust the airing height to the target height, the method further includes: and warning information for prompting that the airing height of the target airing equipment is being adjusted.
It can be understood that, in the embodiment, the device and the user perform human interaction during the interaction process. If the height of the airing device is adjusted, a warning tone 'clothes hanger is pulled up and hit end carefully' is played.
Through the embodiment of the application, when the airing height is adjusted to the target height by the target airing equipment in the control entering running state, the early warning information that the airing height is being adjusted by the target airing equipment is prompted, and therefore humanized interaction between the airing equipment and the user role is achieved.
As an optional implementation manner, before controlling the target washing apparatus and/or the target airing apparatus to perform the drying and/or airing operation on the target object, the method further includes:
s1, acquiring the occupation state of the candidate airing equipment currently in the online mode;
and S2, determining the airing device with the occupation state indicated as unoccupied as the target airing device.
It will be appreciated that in this embodiment, it is first detected whether there are available airing devices, including those in the networked control state and currently operating in the idle state. Further, in the case where it is determined that there is an available airing device, i.e., an unoccupied airing device, a target airing device is determined.
In the embodiment of the application, the occupation state of the candidate airing equipment currently in the online mode is obtained; the airing equipment with the occupation state indication that the equipment is not occupied is determined as target airing equipment, so that the airing equipment needing to be controlled to operate is accurately determined, and accurate control over the airing equipment is achieved.
As an optional implementation manner, the controlling the target washing apparatus and/or the target airing apparatus to perform the drying and/or airing operation on the target object further includes:
s1, acquiring the planned operation duration;
s2, determining a first running time length of drying operation of the target object performed by the target washing equipment and a second running time length of airing operation of the target object performed by the target airing equipment according to the current weather environment parameters, the type of the target object and the planned running time length, wherein the sum of the first running time length and the second running time length is less than or equal to the planned running time length;
and S3, controlling the target washing device and/or the target airing device to perform drying and/or airing operation on the target object according to the first operation time length and the second operation time length.
It should be noted that the scheduled operation time may be a total operation time of the device determined by the user role, or may be a total operation time preset in the setting condition of the target device.
Further, under the condition that the total running time of the target device is obtained, the time required for airing the target object to be completely dried can be further calculated according to the weather environment parameters, if the calculated time is longer than the total running time of the device, it is determined that the airing operation cannot be completed within the preset time, and then it is determined that the washing device needs to be controlled to firstly perform the drying operation on the target object for the first time, and then the airing device is controlled to perform the airing operation on the target object for the second time. It is understood that the sum of the first duration and the second duration is less than or equal to the total operating duration.
That is to say, under the condition that the target object cannot be aired to be dry within the preset time length is determined based on the weather environment parameter calculation, the target washing equipment is determined to be controlled to firstly dry the target object for a period of time, then the airing equipment is controlled to air the target object, the operation time of the drying mode of the washing equipment is further shortened, and the technical effect of saving energy consumption is achieved.
Specifically, in the case where the target appliance is a washing machine, the scheduled operation time period may be a received "predicted clothes drying time period" set by the user as 8 hours. And calculating by combining with the current weather environment parameters, and determining that the washed clothes cannot be dried only after 8 hours of airing. Further, the drying program is calculated and determined to run for 10 minutes (namely the first running time period), and the washed clothes can be dried in combination with airing for 7 hours and 50 minutes (namely the second running time period).
Further, under the condition that the operation time of the drying program and the operation time of the airing device are determined, the washing machine is controlled to automatically execute the drying program for 10 minutes after the washing program is completed, the role of the user is prompted to air, and meanwhile the airing device is controlled to be adjusted to be in the operation state. Furthermore, the drying of the washed clothes within a preset 8 hours can be realized, and the energy consumption is minimum.
In another case, in the case where the target appliance is a washing machine, the scheduled operation time period may be a preset "predicted drying time period" of the appliance of 8 hours. And calculating by combining with the current weather environment parameters, determining that the washed clothes can be dried only after 7-hour airing, and further determining that the operation time of the drying program is 0 hour (first operation time), and the operation time of the airing equipment is 7 hours (second operation time).
Further, under the condition that the operation time of the drying program and the operation time of the airing device are determined, the washing machine is controlled to directly prompt a user role to air after the washing program is completed, and meanwhile, the airing device is controlled to be adjusted to be in an operation state. Furthermore, the clothes can be dried in the preset 8 hours, and the energy consumption of the drying program is not generated.
In still another case, in the case where the target appliance is a washing machine, the scheduled operation time period is still 8 hours, which is the "predicted drying time period". And calculating by combining the current weather environment parameters to determine that the current weather is not suitable for airing. And further determining that the operation time of the drying program is 0.5 hour (first operation time), and the operation time of the airing device is 0 hour. It can be understood that, in the present embodiment, the preset 0.5 hour drying program can achieve the effect of completely drying the just-washed laundry.
Further, under the condition that the operation time of the drying program and the operation time of the airing device are determined, the washing machine is controlled to operate the drying program for 0.5 hour after the washing program is finished, and the user is prompted to store clothes after the program is finished.
According to the embodiment of the application, the planned operation time length is obtained; determining a first running time length of drying operation performed on the target object by the target washing equipment and a second running time length of airing operation performed on the target object by the target airing equipment according to the current weather environment parameters, the type of the target object and the target time length, wherein the sum of the first running time length and the second running time length is less than or equal to a planned running time length; and controlling the target washing equipment and/or the target airing equipment to perform drying and/or airing operations on the target object according to the first operation time length and the second operation time length, so that the control operation is performed in a drying/airing combined mode under the condition that the drying operation of the target object cannot be completely realized through airing within the preset time period, and the technical effect of saving energy consumption is realized.
As an optional implementation manner, after obtaining the current weather environment parameter of the geographic location where the target washing device is located, the method further includes: and under the condition that the weather environment parameters indicate that the current weather state of the geographic position does not reach the object airing condition, controlling the target washing equipment to enter an automatic drying mode.
It can be understood that, in this embodiment, when the current weather environment parameter indicates that the current environment is not suitable for airing the target object, the automatic operation washing device is controlled to enter the washing-drying mode (washing-drying linkage), so as to avoid the problem that the washed object cannot be dried when the user does not set the subsequent operation.
As an optional implementation, the method further includes:
s1, obtaining the target operation parameter from a temporary database, wherein the temporary database is used for caching a plurality of operation parameters obtained in history, and the operation parameters include: the current weather environment parameter, the type parameter of the target object, and the height parameter of the user role of the target object;
s2, obtaining a target device control instruction from an instruction queue, wherein the instruction queue is used for caching a plurality of device control instructions received historically;
and S3, controlling the target washing equipment and/or the target airing equipment to perform drying and/or airing operation on the target object based on the target operation parameters and the target equipment control instruction.
Optionally, the method may be implemented by:
s1, under the condition that the target washing equipment is in an instruction idle state, acquiring a target equipment control instruction from the instruction queue, wherein the instruction idle state indicates the current state that the target washing equipment does not process other control instructions;
s2, under the condition that the obtained target equipment control instruction is a washing trigger instruction, obtaining current weather environment parameters and type parameters of a target object from a temporary database, wherein the current weather environment parameters and the type parameters of the target object are data stored in the temporary database in advance;
s3, determining the operation mode of the target washing equipment and the operation mode of the target airing equipment based on the weather environment parameters and the type parameters of the target object;
s4, controlling the target washing device and/or the target airing device to perform drying and/or airing operations on the target object according to the operation modes of the target washing device and the target airing device, wherein the drying and/or airing operations comprise: and obtaining the height parameter of the user role of the target object from the temporary database, and adjusting the airing height of the airing device in the running state according to the height parameter.
Specifically, the temporary database may be a redis database. And caching the firstly acquired operation parameters by using a redis database, and directly acquiring the relevant operation parameters from the redis database under the condition that the operation parameters need to be acquired again. For example, before receiving the washing trigger instruction, the current weather environment parameters may be obtained from the network in advance and cached in the redis database. Under the condition of receiving a washing trigger instruction, the current weather environment parameters are directly obtained from a redis database, and further the technical problem of slow response caused by temporarily obtaining the weather environment parameters from a network in the process of responding to the washing trigger instruction of a user is solved. It can be understood that other relevant operation parameters in the washing process can be cached in the redis database and acquired from the redis database when needed, so that the response speed of the user instruction is improved by utilizing the characteristic of quick response in the redis database. For another example, the occupation state parameters of the current airing equipment can be stored in real time through the redis database, and the occupation state parameters of the current airing equipment are directly obtained from the redis database under the condition that the occupation state of the candidate airing equipment currently in the online mode needs to be obtained, so that the occupation state of the current airing equipment is rapidly determined.
In the process of executing the washing-drying-airing related operation, the acquired user instruction or information sent by other equipment can be buffered in the roketmq queue, and then the instruction and the information can be acquired from the roketmq queue. The roketmq is a message middleware, and a message sender sends a message to a message queue according to the sending rhythm of the message sender; the message queue stores messages sent by a sender; the message acquirer acquires the message from the message queue according to the rhythm of the message acquirer, so that asynchronous message communication between the message sender and the message acquirer is realized. That is to say, the message middleware is used for buffering the message, plays the roles of buffering, peak clipping and valley filling, avoids message accumulation and improves the response rate of the equipment.
Through the above embodiment of the application, the response speed is improved by adopting a mode of combining the redis database and the roketmq message middleware.
One specific embodiment is described below in conjunction with fig. 3.
First, in step S1, a laundry instruction is received;
specifically, it may be determined that the laundry instruction is received in a case where a corpus instruction such as a voice instruction "laundry is cheering" or "i want to wash laundry" of the user is received.
Step S2, detecting whether the weather is suitable for airing;
specifically, under the condition that a washing instruction of a user is determined, a current airing index is obtained from the linked weather app according to the network, and under the condition that the obtained airing index indicates that the clothes are suitable for airing currently, the step S3 is executed; if the obtained airing index indicates that it is currently suitable for airing the laundry, step S9 is executed to execute the washing and drying linkage program.
Step S3, judging whether intelligent washing is selected;
specifically, in the case where the obtained airing index indicates that it is currently suitable to air the laundry, a prompt tone "whether to turn on the smart wash mode? "in the case of acquiring the positive answer of the user, step S4 is executed, and in the case of acquiring the negative answer of the user, after it is determined that the washing is finished, the whole flow is ended.
Step S4, prompting the end of washing;
specifically, after washing is finished, a voice is played to play the voice "washing is finished, and clothes are recorded to be dried! "
Step S5, judging whether the clothes hanger is available, and executing step S6 under the condition that the available clothes hanger is determined to exist; in case there is no laundry rack available, it jumps to step S8, and normal logic is executed.
Specifically, whether available laundry racks exist is detected firstly, and the available laundry racks comprise laundry racks which are in a networking control state and are in an idle state in a current operation state. Further, in the case where it is determined that there is an available laundry rack, i.e., an unoccupied laundry rack, a target laundry rack is determined.
S6, judging whether the washing and airing linkage is started, executing the step S7 under the condition that the washing and airing linkage is started, and executing the step S8 under the condition that the washing and airing linkage is not started;
specifically, a voice prompt tone "whether to turn on wash and dry linkage? If the user's positive answer is received, the subsequent washing and airing linkage program is executed, and if the user's positive answer is not received, the subsequent normal logic is executed.
S7, the clothes hanger descends;
specifically, under the condition that the target clothes hanger is determined, the height of the role of the user is determined according to the voice command of the user, the target clothes hanger is controlled to be lowered to the height matched with the height of the role of the user, and an indicator tone 'clothes hanger is lowered and head touch is performed'.
S8, execute normal logic.
It is understood that the normal logic here is the normal washing procedure and the subsequent logic procedure of the drying procedure. In this embodiment, caching is performed based on redis, for example, online device information, height data of a user role, and the like are cached, so as to improve a device response rate.
And finally ending.
Through the above embodiments of the present application, to receive a washing trigger instruction, where the washing trigger instruction is used to indicate that a target object is to be washed using a target washing apparatus; responding to a washing trigger instruction, and acquiring current weather environment parameters of the geographical position of the target cleaning equipment; according to the current weather environment parameters and the type of the target object identified, the target washing equipment and/or the target airing equipment are controlled to perform drying and/or airing operations on the target object, so that the airing equipment is controlled to run under the condition that the current weather conditions are determined to be suitable for airing, a user is prompted to adopt a natural airing mode to achieve drying operations on the cleaning object, and then a drying mode is prevented from being directly used in the cleaning equipment, so that the power consumption of the cleaning equipment is reduced, and the equipment loss of the cleaning equipment is reduced.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the invention, a device control apparatus for implementing the device control method is also provided. As shown in fig. 4, the apparatus includes:
a receiving unit 402 for receiving a washing trigger instruction, wherein the washing trigger instruction is used for indicating that a target object is to be washed using a target washing device;
an obtaining unit 404, configured to, in response to the washing trigger instruction, obtain a current weather environment parameter of a geographic location where the target washing device is located;
and a control unit 406 for controlling the target washing device and/or the target airing device to perform drying and/or airing operations on the target object according to the current weather environment parameter and the type of the target object identified.
Optionally, in this embodiment, reference may be made to the above-mentioned method embodiments for implementing the above-mentioned unit modules, which are not described herein again.
According to still another aspect of the embodiment of the present invention, there is also provided an electronic apparatus for implementing the device control method, where the electronic apparatus may be a terminal device or a server shown in fig. 5. The present embodiment takes the electronic apparatus as a terminal device as an example for explanation. As shown in fig. 5, the electronic device comprises a memory 502 and a processor 504, the memory 502 having a computer program stored therein, the processor 504 being arranged to perform the steps of any of the above-described method embodiments by means of the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, receiving a washing trigger instruction, wherein the washing trigger instruction is used to indicate that the target object is to be washed using the target washing apparatus;
s2, responding to the washing trigger instruction, and acquiring the current weather environment parameters of the geographical position of the target washing equipment;
and S3, controlling the target washing equipment and/or the target airing equipment to perform drying and/or airing operations on the target object according to the current weather environment parameters and the type of the target object.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 5 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, and the like. Fig. 5 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 5, or have a different configuration than shown in FIG. 5.
The memory 502 may be used to store software programs and modules, such as program instructions/modules corresponding to the device control method and apparatus in the embodiments of the present invention, and the processor 504 executes various functional applications and data processing by running the software programs and modules stored in the memory 502, that is, implements the device control method described above. The memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 502 may further include memory located remotely from the processor 504, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 502 may be, but not limited to, specifically configured to store attribute information of the virtual character, device control information, and the like. As an example, as shown in fig. 5, the memory 502 may include, but is not limited to, the receiving unit 402, the obtaining unit 404, and the control unit 406 in the device control apparatus. In addition, other module units in the above device control apparatus may also be included, but are not limited to these, and are not described in detail in this example.
Optionally, the transmission device 506 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 506 includes a network adapter (NIC) that can be connected to a router via a network cable and other network devices so as to communicate with the internet or a local area network. In one example, the transmission device 506 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 508 for controlling the operation interface on the display interface device; and a connection bus 510 for connecting the respective module components in the above-described electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. Nodes can form a peer-to-peer (P2P, PeerToPeer) network, and any type of computing device, such as a server, a terminal, and other electronic devices, can become a node in the blockchain system by joining the peer-to-peer network.
According to an aspect of the application, there is provided a computer program product comprising a computer program/instructions containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. When executed by the central processing unit, the computer program performs various functions provided by the embodiments of the present application.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
According to an aspect of the present application, there is provided a computer-readable storage medium from which a processor of a computer device reads computer instructions, the processor executing the computer instructions, causing the computer device to execute the above device control method.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, receiving a washing trigger instruction, wherein the washing trigger instruction is used to indicate that the target object is to be washed using the target washing apparatus;
s2, responding to the washing trigger instruction, and acquiring the current weather environment parameters of the geographical position of the target washing equipment;
and S3, controlling the target washing equipment and/or the target airing equipment to perform drying and/or airing operations on the target object according to the current weather environment parameters and the type of the target object.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the above methods according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. An apparatus control method characterized by comprising:
receiving a washing trigger instruction, wherein the washing trigger instruction is used for indicating that a target object is to be washed by using a target washing device;
responding to the washing trigger instruction, and acquiring current weather environment parameters of the geographical position of the target washing equipment;
and controlling the target washing equipment and/or the target airing equipment to perform drying and/or airing operations on the target object according to the current weather environment parameters and the type of the target object.
2. The method of claim 1, wherein controlling the target washing apparatus and/or the target airing apparatus to perform the drying and/or airing operation on the target object comprises:
and controlling the target airing device in the running state to adjust the airing height to a target height, wherein the target height is matched with the height of the user role currently using the target airing device to air the target object.
3. The method of claim 2, wherein controlling the target airing device entering the operating state to adjust the airing height to the target height comprises:
playing a use prompt voice of the target airing device;
and controlling the target airing equipment to adjust to the target height under the condition of receiving the use confirmation instruction.
4. The method of claim 2, wherein when controlling the target airing device in the operation state to adjust the airing height to the target height, further comprising:
and prompting the early warning information that the airing height of the target airing device is being adjusted.
5. The method of claim 1, wherein before controlling the target washing apparatus and/or the target airing apparatus to perform the drying and/or airing operation on the target object, further comprising:
acquiring the occupation state of the candidate airing equipment currently in the online mode;
and determining the airing equipment with the occupation state indicated as unoccupied as the target airing equipment.
6. The method of claim 1, wherein the controlling the target washing apparatus and/or the target airing apparatus to perform the drying and/or airing operation on the target object further comprises:
acquiring a planned operation time length;
determining a first operation time length of drying operation of the target object performed by the target washing equipment and a second operation time length of airing operation of the target object performed by the target airing equipment according to the current weather environment parameter, the type of the target object and the planned operation time length, wherein the sum of the first operation time length and the second operation time length is less than or equal to the planned operation time length;
and controlling the target washing equipment and/or the target airing equipment to perform drying and/or airing operation on the target object according to the first operation time length and the second operation time length.
7. The method of any one of claims 1 to 6, further comprising, after obtaining the weather environment parameters present at the geographic location where the target wash is located:
and under the condition that the weather environment parameters indicate that the current weather state of the geographic position does not reach the object airing condition, controlling the target washing equipment to enter an automatic drying mode.
8. The method of any of claims 1 to 6, further comprising:
obtaining a target operation parameter from a temporary database, wherein the temporary database is used for caching a plurality of operation parameters obtained in a historical manner, and the operation parameters comprise: the current weather environment parameter, the type parameter of the target object, and the height parameter of the user role of the target object;
acquiring a target device control instruction from an instruction queue, wherein the instruction queue is used for caching a plurality of historically received device control instructions;
and controlling the target washing equipment and/or the target airing equipment to perform drying and/or airing operation on the target object based on the target operation parameters and the target equipment control instruction.
9. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any one of claims 1 to 8.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 8 by means of the computer program.
CN202210453731.6A 2022-04-27 2022-04-27 Device control method, storage medium, and electronic apparatus Pending CN114911170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210453731.6A CN114911170A (en) 2022-04-27 2022-04-27 Device control method, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210453731.6A CN114911170A (en) 2022-04-27 2022-04-27 Device control method, storage medium, and electronic apparatus

Publications (1)

Publication Number Publication Date
CN114911170A true CN114911170A (en) 2022-08-16

Family

ID=82765614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210453731.6A Pending CN114911170A (en) 2022-04-27 2022-04-27 Device control method, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN114911170A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008194153A (en) * 2007-02-09 2008-08-28 Fujitsu Ltd Clothes drying state prediction program and washing machine
CN112176665A (en) * 2019-06-13 2021-01-05 青岛海尔洗衣机有限公司 Control method of clothes airing device
CN112386207A (en) * 2019-08-12 2021-02-23 青岛海尔洗衣机有限公司 Control method for shoe washing machine
CN112941802A (en) * 2019-12-11 2021-06-11 合肥海尔洗衣机有限公司 Control method of washing machine and washing machine
CN113802325A (en) * 2020-06-11 2021-12-17 青岛海尔洗衣机有限公司 Clothes airing reminding method and device in washing machine, server and storage medium
CN113820981A (en) * 2021-09-15 2021-12-21 珠海格力电器股份有限公司 Control method, system, device, equipment and storage medium of clothes hanger
CN113849002A (en) * 2021-10-09 2021-12-28 珠海格力电器股份有限公司 Clothes hanger control method, device, equipment and storage medium
CN113960935A (en) * 2021-09-15 2022-01-21 珠海格力电器股份有限公司 Control method and device of intelligent clothes hanger and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008194153A (en) * 2007-02-09 2008-08-28 Fujitsu Ltd Clothes drying state prediction program and washing machine
CN112176665A (en) * 2019-06-13 2021-01-05 青岛海尔洗衣机有限公司 Control method of clothes airing device
CN112386207A (en) * 2019-08-12 2021-02-23 青岛海尔洗衣机有限公司 Control method for shoe washing machine
CN112941802A (en) * 2019-12-11 2021-06-11 合肥海尔洗衣机有限公司 Control method of washing machine and washing machine
CN113802325A (en) * 2020-06-11 2021-12-17 青岛海尔洗衣机有限公司 Clothes airing reminding method and device in washing machine, server and storage medium
CN113820981A (en) * 2021-09-15 2021-12-21 珠海格力电器股份有限公司 Control method, system, device, equipment and storage medium of clothes hanger
CN113960935A (en) * 2021-09-15 2022-01-21 珠海格力电器股份有限公司 Control method and device of intelligent clothes hanger and storage medium
CN113849002A (en) * 2021-10-09 2021-12-28 珠海格力电器股份有限公司 Clothes hanger control method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US10705494B2 (en) Laundry machine and online system including the same
JP2003047796A (en) Washing machine
WO2023207170A1 (en) Washing program recommendation method and apparatus, storage medium, and electronic apparatus
CN115167164A (en) Method and device for determining equipment scene, storage medium and electronic device
CN109722842B (en) Clothes data collection and analysis method and system
CN115327934A (en) Intelligent household scene recommendation method and system, storage medium and electronic device
CN116016002A (en) Intelligent household appliance network distribution method and device and electronic device
CN111241921A (en) Message reminding method and device for Internet of things operating system
CN114697150A (en) Command issuing method and device, storage medium and electronic device
CN113296729A (en) Prompt message broadcasting method, device and system, storage medium and electronic device
CN114911170A (en) Device control method, storage medium, and electronic apparatus
CN114691731A (en) Usage preference determination method and apparatus, storage medium, and electronic apparatus
CN110856639B (en) Partitioned washing method and device for dish washing machine and computer readable storage medium
CN115494737A (en) Control method of intelligent household appliance, storage medium and electronic device
CN110119278A (en) A kind of household electrical appliance online updating method
CN115404685A (en) Clothes drying mode prompting method and device, storage medium and electronic device
CN115297463B (en) Equipment binding method and device, storage medium and electronic device
CN115314332B (en) Equipment theme setting method and device, storage medium and electronic device
CN111676654B (en) Control method of household appliance
CN115821549A (en) Clothes airing method and device, electronic equipment and storage medium
CN115988152A (en) Target cooking video generation method and device, storage medium and electronic device
KR101830746B1 (en) laundry machine and online system including the same
CN115167163A (en) Scene execution method and device, storage medium and electronic device
CN117240874A (en) Equipment linkage method and device, storage medium and electronic device
KR101742995B1 (en) laundry machine and online system including the same

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