Equipment control method, device and computer storage medium

文档序号:999121 发布日期:2020-10-23 浏览:2次 中文

阅读说明:本技术 一种设备控制方法、装置和计算机存储介质 (Equipment control method, device and computer storage medium ) 是由 刘雪清 于 2020-06-04 设计创作,主要内容包括:本发明实施例公开了一种设备控制方法、装置和计算机存储介质。所述方法包括:获取至少一个参考值,所述至少一个参考值包括:至少一个环境参考值;根据所述至少一个参考值,确定至少一个目标控制参数;将所述至少一个目标控制参数发送至目标设备;以便所述目标设备根据所述至少一个目标控制参数对自身的控制参数进行设置。如此,可以根据不同的环境参考值对目标设备进行不同程序的设定,解决用户每次都需进行程序选择,操作不够灵活的问题,为用户提供更便捷的服务。(The embodiment of the invention discloses a device control method, a device control device and a computer storage medium. The method comprises the following steps: obtaining at least one reference value, the at least one reference value comprising: at least one environmental reference value; determining at least one target control parameter according to the at least one reference value; sending the at least one target control parameter to a target device; so that the target device can set the control parameter of the target device according to the at least one target control parameter. Therefore, different programs can be set for the target equipment according to different environment reference values, the problem that a user needs to select the programs each time and the operation is not flexible enough is solved, and more convenient and faster service is provided for the user.)

1. An apparatus control method, characterized in that the method comprises:

obtaining at least one reference value, the at least one reference value comprising: at least one environmental reference value;

determining at least one target control parameter according to the at least one reference value;

sending the at least one target control parameter to a target device; so that the target device can set the control parameter of the target device according to the at least one target control parameter.

2. The method of claim 1, wherein determining at least one target control parameter based on the at least one reference value comprises:

acquiring a preset control parameter mapping relation; the preset control parameter mapping relationship comprises: mapping relation between multiple groups of environment reference values and control parameters;

and determining a target control parameter corresponding to each environmental reference value in the at least one environmental reference value according to the mapping relation between the at least one environmental reference value and a preset control parameter.

3. The method of claim 2, wherein the environmental reference value comprises: a seasonal reference value, a temperature reference value; the control parameters comprise: a mode-dependent parameter;

the preset control parameter mapping relationship comprises one of the following: corresponding relation between seasons and control parameters; the corresponding relation between the temperature and the control parameter;

the determining, according to the at least one environmental reference value and a preset control parameter mapping relationship, a target control parameter corresponding to each environmental reference value in the at least one environmental reference value includes one of:

inquiring the corresponding relation between the temperature and the control parameter according to the temperature reference value, and determining the mode related parameter corresponding to the temperature reference value;

and inquiring the corresponding relation between the seasons and the control parameters according to the season reference values, and determining the mode related parameters corresponding to the season reference values.

4. The method according to claim 2, wherein the target device is a laundry treatment apparatus, and the environment reference value comprises: a water quality reference value; the control parameters comprise: a detergent-related parameter; the preset control parameter mapping relationship comprises: the corresponding relation between the water quality and the control parameters;

the determining, according to the at least one environmental reference value and a preset control parameter mapping relationship, a target control parameter corresponding to each environmental reference value in the at least one environmental reference value includes:

and inquiring the corresponding relation between the water quality and the control parameters according to the water quality reference value, and determining the relevant parameters of the detergent corresponding to the water quality reference value.

5. The method of claim 1, wherein the at least one reference value further comprises: a historical reference set;

said determining at least one target control parameter based on said at least one reference value comprises:

at least one target control parameter is determined from the historical reference set and at least one environmental reference value.

6. The method of claim 5, wherein the historical reference set comprises: at least one historical environment reference value and historical control parameters corresponding to the historical environment reference values in the at least one historical environment reference value;

determining at least one target control parameter based on the historical reference set and at least one environmental reference value, comprising:

querying the at least one historical environmental reference value according to the at least one environmental reference value, and determining at least one matched historical environmental reference value;

and determining the historical control parameters corresponding to the historical environment reference values in the matched at least one historical environment reference value as target control parameters.

7. The method according to claim 6, wherein the determining, as the target control parameter, the historical control parameter corresponding to each historical environmental reference value of the at least one matched historical environmental reference value comprises:

determining at least one historical control parameter corresponding to each historical environment reference value in at least one historical environment reference value;

screening at least one historical control parameter corresponding to each historical environment reference value according to the historical use times;

and determining at least one historical control parameter meeting the screening condition as a target control parameter.

8. The method according to any one of claims 1 to 7, wherein said sending said at least one target control parameter to a target device comprises:

generating a target control instruction according to the at least one target control parameter;

and sending the target control instruction to target equipment, wherein the target control instruction is used for setting control parameters of the target equipment.

9. An apparatus control device, characterized in that the device comprises:

an obtaining module configured to obtain at least one reference value, where the at least one reference value includes: at least one environmental reference value;

a determination module for determining at least one target control parameter according to the at least one reference value;

the setting module is used for sending the at least one target control parameter to the target equipment; so that the target device can set the control parameter of the target device according to the at least one target control parameter.

10. An apparatus control device, characterized in that the device comprises: a processor and a memory for storing a computer program capable of running on the processor; wherein the content of the first and second substances,

the processor is adapted to perform the steps of the method of any one of claims 1 to 8 when running the computer program.

11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.

Technical Field

The invention relates to a household appliance control technology, in particular to a device control method, a device and a computer storage medium.

Background

The appearance of intelligent household appliances brings great convenience to the daily life of people. For example, the washing machine, the user only needs to select the corresponding washing mode, washing time, etc., and can automatically wash according to the selected washing mode, washing time, etc. However, the current intelligent household appliance is fixed in a program of starting up every time, and a user needs to select a mode according to needs every time, so that the intelligent household appliance is not flexible enough and cannot meet the convenience requirement of the user.

Disclosure of Invention

In order to solve the existing technical problem, embodiments of the present invention provide an apparatus control method, an apparatus, and a computer storage medium.

In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:

the embodiment of the invention provides a device control method, which comprises the following steps:

obtaining at least one reference value, the at least one reference value comprising: at least one environmental reference value;

determining at least one target control parameter according to the at least one reference value;

sending the at least one target control parameter to a target device; so that the target device can set the control parameter of the target device according to the at least one target control parameter.

In an embodiment, said determining at least one target control parameter based on said at least one reference value comprises:

acquiring a preset control parameter mapping relation; the preset control parameter mapping relationship comprises: mapping relation between multiple groups of environment reference values and control parameters;

and determining a target control parameter corresponding to each environmental reference value in the at least one environmental reference value according to the mapping relation between the at least one environmental reference value and a preset control parameter.

In one embodiment, the environment reference value includes: a seasonal reference value, a temperature reference value; the control parameters comprise: a mode-dependent parameter;

the preset control parameter mapping relationship comprises one of the following: corresponding relation between seasons and control parameters; the corresponding relation between the temperature and the control parameter;

the determining, according to the at least one environmental reference value and a preset control parameter mapping relationship, a target control parameter corresponding to each environmental reference value in the at least one environmental reference value includes one of:

inquiring the corresponding relation between the temperature and the control parameter according to the temperature reference value, and determining the mode related parameter corresponding to the temperature reference value;

and inquiring the corresponding relation between the seasons and the control parameters according to the season reference values, and determining the mode related parameters corresponding to the season reference values.

In one embodiment, the target device is a clothes treating apparatus, and the environment reference value includes: a water quality reference value; the control parameters comprise: a detergent-related parameter; the preset control parameter mapping relationship comprises: the corresponding relation between the water quality and the control parameters;

the determining, according to the at least one environmental reference value and a preset control parameter mapping relationship, a target control parameter corresponding to each environmental reference value in the at least one environmental reference value includes:

and inquiring the corresponding relation between the water quality and the control parameters according to the water quality reference value, and determining the relevant parameters of the detergent corresponding to the water quality reference value.

In an embodiment, the at least one reference value further comprises: a historical reference set;

said determining at least one target control parameter based on said at least one reference value comprises:

at least one target control parameter is determined from the historical reference set and at least one environmental reference value.

In one embodiment, the historical reference set comprises: at least one historical environment reference value and historical control parameters corresponding to the historical environment reference values in the at least one historical environment reference value;

determining at least one target control parameter based on the historical reference set and at least one environmental reference value, comprising:

querying the at least one historical environmental reference value according to the at least one environmental reference value, and determining at least one matched historical environmental reference value;

and determining the historical control parameters corresponding to the historical environment reference values in the matched at least one historical environment reference value as target control parameters.

In an embodiment, the determining, as the target control parameter, the historical control parameter corresponding to each historical environment reference value in the at least one matched historical environment reference value includes:

determining at least one historical control parameter corresponding to each historical environment reference value in at least one historical environment reference value;

screening at least one historical control parameter corresponding to each historical environment reference value according to the historical use times;

and determining at least one historical control parameter meeting the screening condition as a target control parameter.

In an embodiment, the sending the at least one target control parameter to the target device includes:

generating a target control instruction according to the at least one target control parameter;

and sending the target control instruction to target equipment, wherein the target control instruction is used for setting control parameters of the target equipment.

An embodiment of the present invention provides an apparatus control device, where the apparatus includes:

an obtaining module configured to obtain at least one reference value, where the at least one reference value includes: at least one environmental reference value;

a determination module for determining at least one target control parameter according to the at least one reference value;

the setting module is used for sending the at least one target control parameter to the target equipment; so that the target device can set the control parameter of the target device according to the at least one target control parameter.

In an embodiment, the determining module is configured to obtain a preset control parameter mapping relationship; the preset control parameter mapping relationship comprises: mapping relation between multiple groups of environment reference values and control parameters;

and determining at least one target control parameter corresponding to each environmental reference value in the at least one environmental reference value according to the mapping relation between the at least one environmental reference value and a preset control parameter.

In one embodiment, the environment reference value includes: a seasonal reference value, a temperature reference value; the control parameters comprise: a mode-dependent parameter;

the preset control parameter mapping relationship comprises one of the following: corresponding relation between seasons and control parameters; the corresponding relation between the temperature and the control parameter;

the determining module is configured to perform one of:

inquiring the corresponding relation between the temperature and the control parameter according to the temperature reference value, and determining the mode related parameter corresponding to the temperature reference value;

and inquiring the corresponding relation between the seasons and the control parameters according to the season reference values, and determining the mode related parameters corresponding to the season reference values.

In one embodiment, the target device is a clothes treating apparatus, and the environment reference value includes: a water quality reference value; the control parameters comprise: a detergent-related parameter; the preset control parameter mapping relationship comprises: the corresponding relation between the water quality and the control parameters;

and the determining module is used for inquiring the corresponding relation between the water quality and the control parameters according to the water quality reference value and determining the relevant parameters of the detergent corresponding to the water quality reference value.

In an embodiment, the at least one reference value further comprises: a historical reference set;

the determining module is configured to determine at least one target control parameter according to the historical reference set and at least one environmental reference value.

In one embodiment, the historical reference set comprises: at least one historical environment reference value and historical control parameters corresponding to the historical environment reference values in the at least one historical environment reference value;

the determining module is used for querying the at least one historical environment reference value according to the at least one environment reference value and determining at least one matched historical environment reference value;

and determining the historical control parameters corresponding to the historical environment reference values in the matched at least one historical environment reference value as target control parameters.

In an embodiment, the determining module is configured to determine at least one historical control parameter corresponding to each historical environmental reference value in the at least one historical environmental reference value;

screening at least one historical control parameter corresponding to each historical environment reference value according to the historical use times;

and determining at least one historical control parameter meeting the screening condition as a target control parameter.

In an embodiment, the setting module is configured to generate a target control instruction according to the at least one target control parameter;

and sending the target control instruction to target equipment, wherein the target control instruction is used for setting control parameters of the target equipment.

An embodiment of the present invention further provides an apparatus control device, where the apparatus includes: a processor and a memory for storing a computer program capable of running on the processor; wherein the content of the first and second substances,

the processor is configured to execute the steps of the apparatus control method according to any one of the above when the computer program is executed.

Embodiments of the present invention also provide a computer storage medium, on which computer instructions are stored, and the instructions, when executed by a processor, implement the steps of the apparatus control method according to any one of the above.

The embodiment of the invention provides a device control method, a device and a computer storage medium, wherein the method comprises the following steps: obtaining at least one reference value, the at least one reference value comprising: at least one environmental reference value; determining at least one target control parameter according to the at least one reference value; sending the at least one target control parameter to a target device; so that the target device can set the control parameter of the target device according to the at least one target control parameter. By adopting the technical scheme of the embodiment of the invention, different target control parameters can be determined according to different environment reference values so as to set different programs for the target equipment and provide more convenient service for users.

Drawings

Fig. 1 is a schematic flow chart of an apparatus control method according to an embodiment of the present invention;

FIG. 2 is a schematic flow chart illustrating a process for determining target control parameters according to an embodiment of the present invention;

FIG. 3 is a schematic flow chart illustrating another exemplary embodiment of determining target control parameters;

FIG. 4 is a flowchart illustrating a control method of a washing machine according to an embodiment of the present invention;

FIG. 5 is a schematic structural diagram of an apparatus control device according to an embodiment of the present invention;

fig. 6 is a schematic structural diagram of another apparatus control device according to an embodiment of the present invention.

Detailed Description

In order to make the embodiments of the present application better understood, the technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments.

The terms "first," "second," and "third," etc. in the description and claims of the present application and the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprises" and "comprising," as well as any variations thereof, are intended to cover a non-exclusive inclusion, such as a list of steps or elements. A method, system, article, or apparatus is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, system, article, or apparatus.

The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.

Fig. 1 is a schematic flowchart of an apparatus control method according to an embodiment of the present invention; the execution subject of the control method may be a server; as shown in fig. 1, the method includes:

step 101, obtaining at least one reference value, the at least one reference value comprising: at least one environmental reference value.

The server may obtain the at least one reference value in three ways:

as a first possible implementation manner, the server acquires at least one environment reference value every preset time; such as: the server inquires weather information of an area to which the target equipment belongs from a weather bureau every morning; for another example: the server inquires season information and the like from the weather bureau every 10 days.

As a second possible implementation manner, the server is connected to the target device, and the target device acquires at least one environmental reference value of an area to which the target device belongs at preset intervals, and sends the acquired at least one environmental reference value to the server.

As a third possible implementation manner, the server is connected to a terminal (the terminal may be a terminal device that can access a network, such as a mobile phone, a tablet computer, a personal computer, or a notebook computer), the terminal is connected to the target device, the terminal acquires at least one environmental reference value according to an area to which the target device belongs at preset intervals, and sends the acquired at least one environmental reference value to the server.

Step 102, determining at least one target control parameter according to at least one reference value.

Here, the server may determine the target control parameter corresponding to the reference value after acquiring the at least one reference value.

103, sending at least one target control parameter to target equipment; so that the target device sets its own control parameters according to at least one target control parameter.

The server determines at least one target control parameter and then sends the determined at least one target control parameter to the target device, and the target device receives the at least one target control parameter and then sets the control parameter according to the at least one target control parameter.

As a possible implementation, the target device is an intelligent household appliance, including a washing machine, a dryer, an air conditioner, a refrigerator, an electric rice cooker, a microwave oven, and the like. The control parameters are default program parameters for starting.

The server sends the at least one target control parameter to the target device in three ways:

as a first possible implementation, the server is connected with at least one target device; the target device can receive the target control parameters sent by the server and carry out corresponding setting or operation according to the target control parameters sent by the server; the target device may also send the parameters set by itself to the server.

As a second possible implementation, the server may be connected to at least one terminal, and the terminal may be connected to the target device; the terminal can receive the target control parameters sent by the server and send the target control parameters to the target equipment, so that the target equipment can perform corresponding setting or operation according to the target control parameters sent by the server; the target device can also send the parameters set by the target device to the terminal, and the terminal sends the corresponding parameters to the server.

As a third possible implementation, the server may connect at least one terminal and at least one target device; each terminal can also be connected with the target equipment respectively; the terminal and the target device can both receive the target control parameters sent by the server, and the terminal can also send the target control parameters to the target device, so that the target device can perform corresponding setting or operation according to the target control parameters sent by the server or the terminal; the target device may also send the parameters set by itself to the terminal, and the terminal sends the corresponding parameters to the server, or the target device may also directly send the parameters set by itself to the server.

As a possible implementation manner, after the server acquires at least one target control parameter, a corresponding target control instruction is generated according to the acquired at least one target control parameter; and sending a target control instruction to the target equipment, wherein the target control instruction is used for setting the control parameters of the target equipment. The target control instruction is executed by the target device.

Optionally, a manner in which the server sends the target control instruction to the target device is the same as the three implementation manners, and details are not described here.

It should be added that the target control parameters set by the target device may be control parameters of a default program for starting the target device.

In the embodiment of the invention, the target devices are respectively provided with the unique device identifiers, and when the target devices are connected with the server or the terminal, the terminal or the server can record the corresponding connection relation according to the device identifiers.

The equipment control method provided by the embodiment of the invention comprises the following steps: acquiring at least one reference value; determining at least one target control parameter according to at least one reference value; sending at least one target control parameter to a target device; so that the target device sets its own control parameters according to at least one target control parameter. By adopting the technical scheme of the embodiment of the invention, different target control instructions can be determined according to different environment reference values, different startup default programs can be set for the target equipment, the user is prevented from setting programs required by the user when the user uses the target equipment every time, and more convenient service is provided for the user.

Based on the embodiment shown in fig. 1, determining at least one target control parameter according to at least one reference value may be implemented by the following steps, as shown in fig. 2:

step 201, acquiring a preset control parameter mapping relation; the preset control parameter mapping relationship comprises: and mapping relationships between the multiple sets of environment reference values and the control parameters.

The server stores a plurality of groups of mapping relations between environment reference values and control parameters in advance. Such as: the target equipment is a washing machine, the environment reference value is season, the control parameter is a washing program, and the mapping relation comprises the following steps: and mapping relation between summer and quick washing modes.

Step 202, determining a target control parameter corresponding to each environmental reference value in the at least one environmental reference value according to a mapping relation between the at least one environmental reference value and a preset control parameter.

After the server obtains at least one environment reference value, each environment reference value is compared with a pre-stored mapping relation, a control parameter corresponding to each environment reference value is determined, and the control parameter obtained through mapping is determined to be a target control parameter.

As a possible implementation manner, the environment reference value may include: a seasonal reference value, a temperature reference value; the seasonal reference value and the temperature reference value may be obtained by a server, such as a seasonal reference value from a throttle-related website and a temperature reference value from a weather bureau, respectively.

Optionally, the control parameters may include: program mode dependent parameters.

Optionally, the preset control parameter mapping relationship may include:

a first group, the corresponding relation between seasons and control parameters;

and a second group, temperature and control parameter correspondence.

Step 202 may include at least one of:

inquiring the corresponding relation between the temperature and the control parameter according to the temperature reference value, and determining the mode related parameter corresponding to the temperature reference value;

and inquiring the corresponding relation between the seasons and the control parameters according to the season reference values, and determining the mode related parameters corresponding to the season reference values.

For example, the target device is a washing machine, and the correspondence between seasons and control parameters includes:

the parameters are related to the standard mode in spring, the quick washing mode in summer, the standard mode in autumn and the mixed mode or the strong washing mode in winter.

The corresponding relation between the temperature and the control parameter comprises the following steps:

when the air temperature is below 10 ℃, the relevant parameters of the mixed mode or the intensive washing mode, when the air temperature is between 10 and 25 ℃, the relevant parameters of the standard mode, and when the air temperature exceeds 25 ℃, the relevant parameters of the quick washing mode are corresponded.

As another possible implementation, the environment reference value may further include: a water quality reference value; the water quality reference value can be obtained by the server from a water bureau.

The control parameters may further include: a detergent related parameter for the detergent;

the preset control parameter mapping relationship may further include:

and the third group is the corresponding relation between the water quality and the control parameters.

Step 202 may include:

and inquiring the corresponding relation between the water quality and the control parameters according to the water quality reference value, and determining the relevant parameters of the detergent corresponding to the water quality reference value.

Optionally, the corresponding relationship between the water quality and the control parameter includes: the water quality and the control parameters for the detergent.

The method specifically comprises the following steps: the water quality of the first state corresponds to the first control parameter, the water quality of the second state corresponds to the second control parameter, and the water quality of the third state corresponds to the third control parameter.

Here, the control parameter one may include: and adding a certain proportion (such as any value between 15% and 30%) of detergent according to the target detergent amount.

The second control parameter may include: aiming at the target detergent amount, a certain proportion (such as any value between 15% and 30%) of detergent is less added.

The third control parameter may include: and (4) putting according to the target detergent amount.

Here, the target detergent amount is determined by the washing machine according to its own detergent amount calculation strategy; the detergent dose calculation strategy may be any method, for example: the range value of the amount of the detergent preset by the user may be the amount of the detergent calculated by the washing machine according to the amount of the laundry input.

It should be noted that, whether to determine the control parameter for the detergent according to the correspondence between the water quality and the control parameter may be predetermined, and the type of the laundry treatment apparatus may be generally applied to a washing machine capable of automatically putting the detergent.

The preset control parameter mapping relationship can be preset and stored by a developer aiming at different reference values.

Based on the embodiments shown in fig. 1 and fig. 2, as another possible implementation embodiment, the at least one reference value may further include: a set of historical references. Specifically, the device control method, as shown in fig. 3, includes:

step 301, at least one environmental reference value and a historical reference set are obtained.

Here, the history reference set includes: the at least one historical environment reference value and the historical control parameters corresponding to the historical environment reference values in the at least one historical environment reference value.

Step 302, determining at least one target control parameter according to the historical reference set and the at least one environmental reference value.

After the server obtains the at least one environment reference value, the server can query the at least one historical environment reference value according to the at least one environment reference value and determine the matched at least one historical environment reference value; and acquiring at least one corresponding historical control parameter according to the at least one historical environmental reference value which is determined to be matched.

Such as: the target device is a washing machine, and the at least one environmental reference value is: and in summer, determining the use condition of the washing program of the washing machine in summer of the last 2 years in the historical environment reference value according to summer.

Specifically, determining at least one target control parameter from the historical reference set and the at least one environmental reference value may include:

querying at least one historical environmental reference value according to the at least one environmental reference value, and determining at least one matched historical environmental reference value;

and determining the historical control parameters corresponding to the historical environment reference values in the matched at least one historical environment reference value as target control parameters.

Determining the historical control parameter corresponding to each historical environment reference value in the at least one matched historical environment reference value as the target control parameter may include:

determining at least one historical control parameter corresponding to each historical environment reference value in at least one historical environment reference value;

screening at least one historical control parameter corresponding to each historical environment reference value according to the historical use times;

and determining at least one historical control parameter meeting the screening condition as a target control parameter.

Here, satisfying the screening condition indicates that the number of uses satisfies the condition. For example, the history control parameter that is used the most frequently is selected as the target control parameter that satisfies the filtering condition.

The server acquires and screens the historical control parameters of the user to obtain at least one historical control parameter corresponding to different season reference values, different temperature reference values and/or different water quality reference values respectively, and the method can include the following steps: at least one historical program mode related parameter, at least one historical detergent related parameter. At least one historical program mode related parameter and at least one historical detergent related parameter are screened to obtain the historical program mode related parameter and the historical detergent related parameter which are the most frequent as target control parameters.

For example, determining at least one historical control parameter corresponding to each historical environmental reference value in the at least one historical environmental reference value includes:

at least one historical control parameter determined for a historical environmental reference value 1 (specifically summer), comprising: a quick-wash mode (wash mode), a detergent amount one (detergent amount);

a quick-wash mode (wash mode), a detergent amount two (detergent amount);

a quick-wash mode (wash mode), a detergent amount one (detergent amount);

correspondingly, the determined target control parameters may include: a quick washing mode corresponding to summer and a first detergent amount.

At least one historical control parameter determined for a historical environmental reference value 2 (in particular winter), comprising:

mixed mode or intensive wash mode (wash mode), detergent amount one (detergent amount);

standard mode (wash mode), detergent amount three (detergent amount);

mixed mode or intensive wash mode (wash mode), detergent amount three (detergent amount).

Correspondingly, the determined target control parameter may include: mixed mode or strong washing mode corresponding to winter, and third detergent amount.

Here, the detergent amount one, the detergent amount two, and the detergent amount three may be percentages of specific target detergent amounts; in another embodiment, it may also be a numerical value of the specific recommended amount of detergent.

Here, the at least one historical control parameter corresponding to each historical environmental reference value of the at least one historical environmental reference value is a historical control parameter of a target device obtained by the server in the past period, and the historical control parameter is determined based on a corresponding historical control instruction. The period of time may be the past year, two years, etc.

This is to consider that in practical use, the user may want to select a corresponding washing mode as desired before and then want to perform parameter setting on the server side for washing.

In practical application, the server can collect data (namely, the target device sends historical control parameters to the server) when the user selects a corresponding washing mode as required, so that the server can determine the target control parameters commonly used by the user according to the user selection.

In the embodiment of the present invention, the target device is provided with a switch key for the user to select whether to start the server control function (specifically, whether to start receiving the target control instruction sent by the server, and execute a corresponding operation according to the target control instruction). Specifically, in an embodiment, the display panel of the target device is provided with an on-off key, the user selects the on-off key, and the target device determines a selection result (carrying a device identifier of the target device) for the on-off key and sends the selection result to the server, so that the server can determine whether the target device starts a server control function. In another embodiment, a terminal (specifically, a corresponding application) in communication with the target device may provide an on/off key, and accordingly, the user selects the on/off key, and the terminal determines a selection result (carrying an identifier of the corresponding target device) for the on/off key and sends the selection result to the server, so that the server may determine whether the target device starts a server control function.

In the embodiment of the invention, the target control instruction is generated according to at least one target control parameter, and the obtained target control instruction is sent to the washing machine, so that the washing machine changes and stores the default starting program according to the target control instruction, and the next starting is the changed default program and parameter.

Specifically, the target appliance is a washing machine, and the appliance control method may further include:

receiving washing machine information, and determining the type of the washing machine according to the washing machine information; the type of the washing machine represents whether the washing machine can automatically put detergent or not;

and under the condition that the washing machine type is that the detergent can be automatically put in, the server determines the control parameters aiming at the detergent according to the corresponding relation between the water quality and the control parameters.

That is, for a washing machine that cannot automatically dispense detergent, the server may choose not to send control parameters for detergent determined according to water quality; alternatively, the control parameter for the detergent may be determined, and the control parameter for the detergent may be transmitted to the washing machine or the terminal as notification information to notify the user that more, less, or normal detergent is recommended to be dispensed.

In the embodiment of the present invention, the parameters included in the target control command are not limited to the washing mode and the washing command; other temperatures, such as washing temperature, drying temperature, etc., may be available depending on the function of the washing machine.

That is to say, in the mapping relationship between multiple sets of environment reference values preset by the server and the control parameters, the control parameters include, but are not limited to: washing mode, washing temperature, drying temperature, etc.

Namely, the first group of corresponding relations between seasons and control parameters, the control parameters include but are not limited to: washing mode, washing temperature, drying temperature and the like;

in the second set of temperature and control parameter relationships, the control parameters include, but are not limited to: washing mode, washing temperature, drying temperature, etc.

As an example, taking the target device as a washing machine as an example, as shown in fig. 4, the control method of the washing machine includes:

step 401, the server queries multiple sets of environment reference values.

Wherein, the plurality of groups of environmental reference values comprise seasons, temperature, water quality and the like.

The server inquires weather information of the current area of the washing machine from the weather bureau at preset time intervals, inquires water quality information of the current area of the washing machine from the water conservancy bureau, and stores the water quality information.

Step 402, the server determines current season information according to the multiple sets of environment reference values.

And the server determines the current season information according to the weather information continuously acquired from the weather bureau.

Specifically, when the server determines that the temperatures are all above 25 ℃ according to the weather information acquired from the weather bureau in the last 2 weeks, the server determines that the current season information of the area where the washing machine is located is summer; when the server determines that the temperatures of the last 2 weeks are all between 10 and 25, determining that the current season information of the area where the washing machine is located is spring and autumn; and when the server determines that the temperatures of the last 2 weeks are all below 10 ℃, determining that the current season information of the area where the washing machine is located is winter.

In step 403, the server confirms the historical program usage of the washing machine within a preset time period according to the season information.

And after the server acquires the season information, acquiring the historical program use condition corresponding to the season information within a preset time period according to the season information.

Specifically, the server determines that the area where the washing machine is located is in summer currently, and acquires historical program use conditions (equivalent to the historical reference set) of the washing machine in summer in the last 2 years; after the server determines that the area where the washing machine is located is in spring and autumn at present, acquiring the historical program use conditions of the washing machine in spring and autumn in the last 2 years; the server determines that the area where the washing machine is located is in winter currently, and obtains historical program use conditions of the washing machine in winter in the last 2 years.

And step 404, taking the washing program and the washing parameters with the most frequent use as default startup programs and parameters according to the historical program use condition.

After the server acquires the use condition of the historical programs, the washing programs used in the history are sequenced according to the use frequency from more to less, and the washing program with the highest use frequency is used as a default starting program according to the sequencing result. After the default starting program is determined, historical washing parameters corresponding to the program can be obtained according to the determined starting program, the historical washing parameters are also sorted from more to less according to the use frequency, and the washing parameter with the highest use frequency is used as the washing parameter corresponding to the default starting program.

Such as: in summer, the washing program with the most frequent use is a quick washing program, and the washing parameters comprise that the washing temperature is properly reduced; in spring and autumn, the washing program with the most frequent use is a cotton and linen program; in winter, the most frequently used washing program is a mixing program.

The parameters may further include: detergent amount parameters. The server may determine a detergent amount parameter from the water quality data. For example: the server determines the detergent dosage to be thrown more, for example, 15-30% more detergent dosage, when determining that the water quality of the area where the washing machine is located is hard according to the water quality data; when the water quality is determined to be soft, the detergent dosage is determined to be less, if the detergent dosage is 15% -30%.

Step 405, the server issues the determined default startup program and parameters to the washing machine.

And after receiving the washing instruction, the washing machine changes and stores the default starting program according to the washing instruction, and the next starting is the changed starting program and parameters. Accordingly, the washing machine also has a communication module for receiving the instructions or data transmitted from the server.

By the method provided by the embodiment of the invention, the server can inquire the season, the temperature and the water quality in real time, issue a washing instruction (namely a target control instruction) to the washing machine according to different environmental reference values, and the washing machine sets a starting program, washing parameters and detergent quantity parameters according to the washing instruction; therefore, intelligent selection can be provided for the user, and the steps of manually switching programs by the user are reduced.

Fig. 5 is a schematic structural diagram of an apparatus control device according to an embodiment of the present invention; as shown in fig. 5, the apparatus includes:

an obtaining module configured to obtain at least one reference value, the at least one reference value comprising: at least one environmental reference value.

A determination module for determining at least one target control parameter based on at least one reference value.

The setting module is used for sending at least one target control parameter to the target equipment; so that the target device sets its own control parameters according to at least one target control parameter.

Specifically, the determining module is configured to obtain a preset control parameter mapping relationship; the preset control parameter mapping relationship comprises: mapping relation between multiple groups of environment reference values and control parameters;

and determining at least one target control parameter corresponding to each environmental reference value in the at least one environmental reference value according to the mapping relation between the at least one environmental reference value and the preset control parameter.

Specifically, the environment reference value includes: a seasonal reference value, a temperature reference value; control parameters, including: a mode dependent parameter.

The preset control parameter mapping relationship comprises one of the following: corresponding relation between seasons and control parameters; temperature and control parameter.

A determination module to perform one of:

inquiring the corresponding relation between the temperature and the control parameter according to the temperature reference value, and determining the mode related parameter corresponding to the temperature reference value;

and inquiring the corresponding relation between the seasons and the control parameters according to the season reference values, and determining the mode related parameters corresponding to the season reference values.

Specifically, the target device is a clothes treatment device, and the environment reference value comprises: a water quality reference value; control parameters, including: a detergent-related parameter; the preset control parameter mapping relationship comprises the following steps: the corresponding relation between the water quality and the control parameters.

And the determining module is used for inquiring the corresponding relation between the water quality and the control parameters according to the water quality reference value and determining the relevant parameters of the detergent corresponding to the water quality reference value.

In particular, the at least one reference value further comprises: a set of historical references.

A determination module for determining at least one target control parameter based on the historical reference set and the at least one environmental reference value.

Specifically, the history reference set includes: the at least one historical environment reference value and the historical control parameters corresponding to the historical environment reference values in the at least one historical environment reference value.

The determining module is used for inquiring at least one historical environment reference value according to the at least one environment reference value and determining at least one matched historical environment reference value;

and determining the historical control parameters corresponding to the historical environment reference values in the matched at least one historical environment reference value as target control parameters.

Specifically, the determining module is configured to determine at least one historical control parameter corresponding to each historical environment reference value in the at least one historical environment reference value;

screening at least one historical control parameter corresponding to each historical environment reference value according to the historical use times;

and determining at least one historical control parameter meeting the screening condition as a target control parameter.

Specifically, the setting module is used for generating a target control instruction according to at least one target control parameter;

and sending the target control instruction to the target equipment, wherein the target control instruction is used for setting the control parameters of the target equipment.

It should be noted that: in the device control apparatus provided in the foregoing embodiment, when implementing the corresponding device control method, only the division of each program module is illustrated, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the server is divided into different program modules to complete all or part of the processing described above. In addition, the apparatus provided by the above embodiment and the embodiment of the corresponding method belong to the same concept, and the specific implementation process thereof is described in the method embodiment, which is not described herein again.

Fig. 6 is a schematic structural diagram of another device control apparatus according to an embodiment of the present invention; as shown in fig. 6, the apparatus 60 is applied to a server, and includes: a processor 601 and a memory 602 for storing computer programs capable of running on the processor; when the processor 601 is used to run the computer program, steps of the device control methods in the embodiments of the present invention are executed, and are not described herein again for brevity.

In practical applications, the apparatus 60 may further include: at least one network interface 603. The various components in the device 60 are coupled together by a bus system 604. It is understood that the bus system 604 is used to enable communications among the components. The bus system 604 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 604 in fig. 6. The number of the processors 601 may be at least one. The network interface 603 is used for wired or wireless communication between the apparatus 60 and other devices.

Memory 602 in embodiments of the present invention is used to store various types of data to support the operation of device 60.

The method disclosed by the above-mentioned embodiment of the present invention can be applied to the processor 601, or implemented by the processor 601. The processor 601 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 601. The Processor 601 may be a general purpose Processor, a DiGital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 601 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 602, and the processor 601 reads the information in the memory 602 and performs the steps of the aforementioned methods in conjunction with its hardware.

In an exemplary embodiment, the apparatus 60 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field-Programmable Gate arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the foregoing methods.

The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for controlling each device in the embodiment of the present invention are executed, which are not described herein again for brevity.

In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of a unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.

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, that is, may be located in one place, or may be distributed on a plurality of 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, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.

Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.

The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:洗涤设备的排水方法、装置及设备

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!