CN111623488B - Equipment operation method and electronic equipment - Google Patents

Equipment operation method and electronic equipment Download PDF

Info

Publication number
CN111623488B
CN111623488B CN202010435326.2A CN202010435326A CN111623488B CN 111623488 B CN111623488 B CN 111623488B CN 202010435326 A CN202010435326 A CN 202010435326A CN 111623488 B CN111623488 B CN 111623488B
Authority
CN
China
Prior art keywords
operation mode
environment
time
state
determining
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.)
Active
Application number
CN202010435326.2A
Other languages
Chinese (zh)
Other versions
CN111623488A (en
Inventor
岳冬
陈翀
王玉宾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010435326.2A priority Critical patent/CN111623488B/en
Publication of CN111623488A publication Critical patent/CN111623488A/en
Application granted granted Critical
Publication of CN111623488B publication Critical patent/CN111623488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/65Electronic processing for selecting an operating mode
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention relates to an equipment operation method and electronic equipment, relating to the technical field of intelligent control of equipment, wherein the method comprises the following steps: determining a time index required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode; and selecting the operation mode for controlling the environment adjusting equipment according to the determined time index of each operation mode. Because the embodiment of the invention considers time and automatically selects the operation mode, compared with the mode that the user needs to select the operation mode, the operation process is simplified.

Description

Equipment operation method and electronic equipment
Technical Field
The invention relates to the technical field of intelligent control of equipment, in particular to an equipment operation method and electronic equipment.
Background
Along with the improvement of the life quality of people, more and more people can set up indoor environment conditioning equipment such as air conditioner, humidifier, new fan in the family, and people can adjust according to own demand for it is indoor more comfortable.
At present, when adjusting, generally, a user inputs an environmental state required by the user through a remote controller configured by the environment adjusting equipment or a control panel on the environment adjusting equipment, then the user is required to select an operation mode, and after the selection is completed, the environmental state is input to the environment adjusting equipment, so that the environment adjusting equipment operates according to the operation mode selected by the user, and the operation is complex.
Disclosure of Invention
The invention provides an equipment operation method and electronic equipment, and solves the problem that in the prior art, the operation is complicated in the process of selecting an operation mode by a user.
In a first aspect, an apparatus operation method provided in an embodiment of the present invention includes:
determining a time index required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode;
and selecting the operation mode for controlling the environment adjusting equipment according to the determined time index of each operation mode.
According to the method, the time index required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode is determined, so that the operation mode is selected according to the time index.
In a possible implementation manner, after determining a time index required for the environment adjusting apparatus to reach the environment state required by the user from the current environment state in each operation mode, the method further includes:
determining the comfort value of each operation mode according to the determined time index of each operation mode and the preset noise index when each operation mode works;
selecting an operation mode for controlling the environment adjusting apparatus according to the comfort value in each operation mode.
The method comprises the steps of firstly determining the time index required by the environment adjusting equipment to reach the environment state required by a user from the current environment state in each operation mode, then comprehensively considering the time index of each determined operation mode and the preset noise index when each operation mode works, determining the comfort value of each operation mode, and selecting the operation mode according to the comfort value.
In a possible implementation manner, determining a comfort value of each operation mode according to the determined time index of each operation mode and a preset noise index when each operation mode works includes:
and adding the determined time indexes of the running modes and preset noise indexes when the running modes work to obtain the comfort value of each running mode.
According to the method, the time index in the operation mode and the noise index in the same operation mode are added to calculate the comfort value of the operation mode, so that the purpose of comprehensively considering the time and the noise is achieved through simple addition operation, and the calculation efficiency is improved.
In one possible implementation, selecting an operation mode for controlling the environment adjusting apparatus according to the comfort value in each operation mode includes:
sequencing the comfort values in each operation mode according to the comfort values;
and selecting an operation mode corresponding to the comfort value at the preset position in the queue and used for controlling the environment adjusting equipment.
According to the method, the operation mode is selected through the comfort value to control the operation of the environment adjusting equipment, so that the environment adjusting equipment can meet the requirements of users in a short time during operation, and the influence of noise on the users can be reduced.
In one possible implementation manner, determining a time index required for the environment adjusting apparatus to reach the environment state required by the user from the current environment state in each operation mode includes:
determining the states of various objects corresponding to the environment adjusting equipment; wherein the different changing states of each object have different effects on the environmental state adjusted by the environmental adjustment device;
searching a change relation set corresponding to the states of the multiple determined objects, wherein the change relation set comprises the change relation between the time corresponding to each operation mode and the environment state;
according to the found change relation set, determining the time required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode;
and determining the time index of each operation mode according to the time required by each operation mode and the weight of each operation mode.
The method can determine the states of various objects influencing the environment state adjusted by the environment adjusting equipment, further finds the corresponding change relation set, determines the time required by the environment adjusting equipment to reach the environment state required by a user from the current environment state in each operation mode according to the change relation between the time corresponding to each operation mode in the change relation set and the environment state, and determines the time index according to the required time and the weight, so the influence of the actual operation environment of the environment adjusting equipment on the adjustment is considered, and the accuracy of the determined time index is improved.
In a possible implementation manner, the change relationship between the time of each operation mode corresponding to different change states of the object and the environment state is obtained according to a linear fitting model. According to the method, because the time and the environmental state have a linear relation, compared with other types of modes, when the thread fitting model is selected, the change relation between the time and the environmental state can be determined more quickly and simply.
In a possible implementation manner, for the same time, an error between the environmental state determined according to the change relationship and an actual environmental state used in generating the change relationship is smaller than a preset value.
According to the method, the error between the corresponding environment state and the corresponding actual environment state in the change relation is smaller than the preset value, so that the change relation is closer to the actual situation, and the accuracy of the change relation is improved.
In a second aspect, an embodiment of the present invention provides an electronic device, including: a processor and a memory;
the memory is used for storing program codes used when the electronic equipment runs;
the processor is configured to execute the program code to implement the following processes:
determining a time index required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode;
and selecting the operation mode for controlling the environment adjusting equipment according to the determined time index of each operation mode.
In one possible implementation, the processor is further configured to:
determining the comfort value of each operation mode according to the determined time index of each operation mode and the preset noise index when each operation mode works;
selecting an operation mode for controlling the environment adjusting apparatus according to the comfort value in each operation mode.
In one possible implementation, the processor is specifically configured to:
and adding the determined time indexes of the running modes and preset noise indexes when the running modes work to obtain the comfort value of each running mode.
In one possible implementation, the processor is specifically configured to:
sequencing the comfort values in each operation mode according to the comfort values;
and selecting an operation mode corresponding to the comfort value at the preset position in the queue and used for controlling the environment adjusting equipment.
In one possible implementation, the processor is specifically configured to:
determining the states of various objects corresponding to the environment adjusting equipment; wherein the different changing states of each object have different effects on the environmental state adjusted by the environmental adjustment device;
searching a change relation set corresponding to the states of the multiple determined objects, wherein the change relation set comprises the change relation between the time corresponding to each operation mode and the environment state;
according to the found change relation set, determining the time required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode;
and determining the time index of each operation mode according to the time required by each operation mode and the weight of each operation mode.
In a possible implementation manner, the change relationship between the time of each operation mode corresponding to different change states of the object and the environment state is obtained according to a linear fitting model.
In a possible implementation manner, for the same time, an error between the environmental state determined according to the change relationship and an actual environmental state used in generating the change relationship is smaller than a preset value.
In a third aspect, the present application further provides a computer storage medium having a computer program stored thereon, where the computer program is executed by a processing unit to implement the steps of the method for operating an apparatus according to the first aspect.
In addition, for technical effects brought by any one implementation manner of the second aspect to the third aspect, reference may be made to technical effects brought by different implementation manners of the first aspect, and details are not described here.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention and are not to be construed as limiting the invention.
FIG. 1 is a flow chart of a method for operating a device according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for operating a device according to an embodiment of the present invention;
fig. 3 is a flowchart of an air conditioner operation method according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for operating a humidifier according to an embodiment of the present invention;
FIG. 5 is a flow chart of a method of operating an air purifier in accordance with an embodiment of the present invention;
FIG. 6 is a schematic diagram of a workflow for determining a time indicator for each operating mode according to an embodiment of the present invention;
FIG. 7 is a flow chart of a complete method of operation of an apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another electronic device provided in the embodiment of the present invention;
fig. 10 is a schematic structural diagram of an interaction between an electronic device and an environment adjusting device according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.
The term "electronic device" in the embodiments of the present invention refers to any intelligent electronic device that can automatically process a large amount of data at high speed according to a program.
At present, a user inputs an environmental state required by the user and selects an operation mode to further control the environmental conditioning equipment, so that the operation is complicated.
Based on this, the embodiment of the invention provides an equipment operation method and electronic equipment, wherein an operation mode is selected from a plurality of operation modes by determining a time index required by the environment adjusting equipment to reach the environment state required by a user from the current environment state in each operation mode.
The specific case is explained in detail with the following figures:
referring to fig. 1, an embodiment of the present invention provides an apparatus operation method, including:
s100: and determining the time index required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode.
The operation mode is a preset operation mode of the environment adjusting device, for example, when the environment adjusting device is an air conditioner, the operation mode may be energy saving, ventilation, cooling, heating, forced cooling, forced heating, and the like; of course, the operation mode may be a mode divided by a parameter of the operation of the air conditioner, for example, a wind stroke, a 1 st wind speed, in addition to the existing operation mode.
The environment state is characterized by some physical quantities expressed by the environment, and the physical quantities for representing the environment state are different for different environment adjusting devices. For example, when the environment conditioning device is an air conditioner, the environmental state may be characterized by temperature, when the environment conditioning device is a humidifier, the environmental state may be characterized by humidity, and when the environment conditioning device is an air purifier, the environmental state may be characterized by air environment parameters, such as carbon dioxide concentration and formaldehyde concentration.
The current environmental state may be obtained by detecting the current environmental state indoors through a sensor, the sensor being connected to the electronic device, and the sensor transmitting the detected current environmental state to the electronic device.
The environmental state required by the user may be acquired by inputting the environmental state required by the user through an input unit of the environment adjusting apparatus or the electronic apparatus.
As for the current temperature in the room, the current temperature in the room may be detected by a temperature sensor, and the temperature sensor transmits the detected current temperature to the electronic device. For the temperature required by the user, the user can input the required temperature through an air conditioner remote controller, or the voice of the user can be collected through a voice collecting unit in the electronic equipment, and the current temperature required by the user is identified.
For the current indoor humidity, the current indoor humidity can be detected by a humidity sensor, and the humidity sensor sends the detected current temperature to the electronic device. For the humidity required by the user, the voice of the user can be collected through a voice collecting unit in the electronic equipment, and the current humidity required by the user can be identified through voice recognition.
For the current air environment parameters in the room, the current carbon dioxide concentration in the room can be detected by the carbon dioxide detector, and the current formaldehyde concentration in the room can be detected by the formaldehyde detector and sent to the electronic equipment. For the carbon dioxide concentration and the formaldehyde concentration required by the user, the voice of the user can be collected through a voice collecting unit in the electronic equipment, and the carbon dioxide concentration and the formaldehyde concentration required by the current user are identified through voice recognition.
S101: and selecting the operation mode for controlling the environment adjusting equipment according to the determined time index of each operation mode.
For example, the operation mode a corresponds to a time index, the operation mode B corresponds to a time index, and the operation mode C corresponds to a time index, and an operation mode for controlling the environment adjusting apparatus may be selected according to the time index of the operation mode a, the time index of the operation mode B, and the time index of the operation mode C.
Wherein, according to the time index selection operation mode specifically includes: and sorting the time indexes of the operation modes according to the size of the time indexes, and selecting the operation mode corresponding to the time index meeting the preset position in the queue.
It should be noted that the preset position may be any position in the queue, and the present invention is not limited in this regard.
For example, if the time index of the operation mode a is 10 minutes, the time index of the operation mode B is 9 minutes, and the time index of the operation mode C is 12 minutes, then the operation mode a is selected if the time index of the operation mode a is 9 minutes, 10 minutes, and 12 minutes in the descending order, and the position in the preset queue is the second position, and if the position in the preset queue is the first position, the operation mode B is selected, and if the position in the preset queue is the third position, the operation mode C is selected.
Referring to fig. 2, an embodiment of the present invention provides another apparatus operation method, including:
s200: and determining the time index required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode.
S201: and determining the comfort value of each operation mode according to the determined time index of each operation mode and the preset noise index when each operation mode works.
The comfort value in each operation mode is a time index and a corresponding noise index of each operation mode, for example, the comfort value in the operation mode a is obtained according to the time index in the operation mode a and the noise index in the operation mode a, and the comfort value in the operation mode B is obtained according to the time index in the operation mode B and the noise index in the operation mode B.
Wherein the noise index is obtained according to noise generated when the environment adjusting device works in the running mode. The noise generated during operation in each mode of operation is empirically derived.
S202: selecting an operation mode for controlling the environment adjusting apparatus according to the comfort value in each operation mode.
The method for operating the equipment introduced by the process mainly comprises the steps of selecting one operation mode from a plurality of operation modes, and controlling the environment adjusting equipment to operate according to the selected operation mode. During selection, the comfort value of each operation mode is determined based on the time index required by the current environment state of the environment adjusting equipment to reach the environment state required by the user in each operation mode and the noise index of each operation mode, and selection is performed according to the comfort value, so that the selected operation mode takes both time and noise into consideration, and compared with the prior art in which only the shortest time is pursued, the comfort degree of the user is improved.
Based on the above provided device operation method, the operation process of the corresponding specific electrical appliance is described below.
1. When the environment conditioning device is an air conditioner, referring to fig. 3, the method for operating the air conditioner includes:
s300: the current temperature in the room and the temperature required by the user are obtained.
S301: and determining the time index required by the air conditioner to reach the temperature required by the user from the current temperature in each operation mode.
S302: and determining the comfort value of each operation mode according to the determined time index of each operation mode and the preset noise index of the air conditioner in each operation mode.
S303: and selecting an operation mode for controlling the air conditioner according to the comfort value in each operation mode.
2. When the environment conditioning equipment is a humidifier, referring to fig. 4, the operation method of the humidifier includes:
s400: the current humidity in the room and the humidity required by the user are obtained.
S401: and determining the time index required by the humidifier to reach the humidity required by the user from the current humidity in each operation mode.
S402: and determining the comfort value of each operation mode according to the determined time index of each operation mode and the preset noise index of the humidifier in the operation of each operation mode.
S403: and selecting the operation mode for controlling the humidifier according to the comfort value in each operation mode.
3. When the environment conditioning device is an air purifier, as shown in fig. 5, the operation method of the air purifier includes:
s500: and acquiring the current indoor air environment parameters and the air environment parameters required by the user.
S501: and determining the time index required by the air purifier to reach the air environment parameter required by the user from the current air environment parameter in each operation mode.
S502: and determining the comfort value of each operation mode according to the determined time index of each operation mode and the preset noise index of the air purifier in each operation mode.
S503: an operation mode for controlling the air cleaner is selected according to the comfort value in each operation mode.
The different changing states of the indoor object may have different influences on the environmental state adjusted by the environmental conditioning device, for example, the indoor object is a window, and the time required for the environmental conditioning device to reach the environmental state required by the user from the current environmental state when the window is opened is different from the time required for the environmental conditioning device to reach the environmental state required by the user from the current environmental state when the window is closed. In order to improve the accuracy of the calculation, an embodiment of the present invention provides a method for determining a time index, which is shown in fig. 6 and includes:
s600: determining the states of various objects corresponding to the environment adjusting equipment; wherein the different changing states of each object have different effects on the environmental state adjusted by the environment adjusting device.
When the environment conditioning device is an air conditioner, the plurality of objects corresponding to the air conditioner may include: window, weather conditions, number of people in the room, status of users in the room. Different change states of each object, for example, a window can have two change states of opening and closing, a weather state can have different outdoor temperatures, the outdoor temperature is 36 degrees in summer, the outdoor temperature is 5 degrees in winter, the number of indoor people can be more than 3 people and less than 3 people, the state of an indoor user can have static state and motion state, the static state belongs to the static state when the user reads books, watches TV, works, chats and the like indoors, and the motion state belongs to the motion state range when the user runs, yoga and the like indoors.
When the environment adjusting device is a humidifier, the plurality of objects corresponding to the humidifier may include: window, weather conditions, status of indoor users. Different change states of each object, for example, a window can be opened and closed, the weather state is a rainy state and a snowy state, and the sunny state is two states, wherein outdoor humidity is higher in rainy days and snowy days, outdoor humidity is lower in sunny days, indoor user states can be static and moving states, when a user reads books, watches TV, works, chats and the like indoors, the states belong to static categories, and when the user runs indoors and yoga and the like belong to moving state categories.
When the environment adjusting device is an air purifier, the plurality of objects corresponding to the air purifier may include: window, outdoor air index. For example, a window may have two states of variation, open and closed, with an outdoor air index of above and below good.
S601: searching a change relation set corresponding to the states of the determined multiple objects, wherein the change relation set comprises the change relation between the time corresponding to each operation mode and the environment state;
s602: according to the found change relation set, determining the time required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode;
s603: and determining the time index of each operation mode according to the time required by each operation mode and the weight of each operation mode.
Specifically, a change relationship set corresponding to the states of the plurality of objects is stored in advance, when the step shown in fig. 6 is executed, the current states of the plurality of objects corresponding to the environment adjusting device are determined, and the time required for the environment adjusting device to reach the environment state required by the user from the current environment state in each operation mode is determined according to the change relationship set in the current state.
For example, when the environment conditioning device is an air conditioner, the various objects corresponding to the air conditioner are windows, weather conditions, the number of indoor people, and the conditions of indoor users; each object has two change states, and a total of 8 times 8 equals 64 different combinations, each corresponding to a change relation set.
When it is determined that the window is opened, the weather state is summer, the number of indoor people is 2, one user watches television and moves, the states of various objects corresponding to the air conditioner are the states of the window, the weather state is summer, the number of indoor people is 2 and the movement state of the indoor user, a change relation set in the states is searched, the time required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode is determined from the change relation set, and the time index of each operation mode is determined according to the time required by each operation mode and the weight of each operation mode.
The time index is obtained by multiplying the numerical value of time by a weight. For example, when the time required for the operation mode 1 is 60 minutes, the time required for the operation mode 2 is 70 minutes, the time required for the operation mode 3 is 50 minutes, the weight of the operation mode 1 is 3, the weight of the operation mode 2 is 2, and the weight of the operation mode 3 is 5. The time index for operating mode 1 is 60 x 3-180, the time index for operating mode 2 is 70 x 2-140, and the time index for operating mode 3 is 50 x 5-250.
The change relation between the time of each operation mode corresponding to different change states of the object and the environment state is obtained according to a linear fitting model, and for the same time, the error between the environment state determined according to the change relation and the actual environment state used in the generation of the change relation is smaller than a preset value.
The formula of the linear fitting model is as follows:
Figure BDA0002502023160000121
in the formula, akIs a polynomial coefficient, and the coefficient is,
Figure BDA0002502023160000122
Figure BDA0002502023160000123
for the present invention, the time and environment state variation relationship is determined by a cubic polynomial where n is 2, and the above formula varies as: a is0+a1x+a2x2
Taking an air conditioner as an example, the process of obtaining the change relation between the time and the temperature corresponding to the operation mode 1 of the air conditioner is as follows:
the time and temperature combinations for operating mode 1 were obtained in combination as shown in table 1 below:
TABLE 1
i 0 1 2 3 4 5
XiSecond/second 0 30 60 90 120 150
YiDegree of 30 29 27 26.5 25 24.5
The temperature for 0 second was 30, the temperature for 30 seconds was 29, the temperature for 60 seconds was 27, the temperature for 90 seconds was 26.5, the temperature for 120 seconds was 25, and the temperature for 150 seconds was 24.5.
The combination of the time and the temperature corresponding to the acquired operation mode 1 is taken into y as a by taking x as the time and y as the temperature0+a1x+a2x2Find a0、a1、a2And obtaining the change relation between the time and the temperature under each operation mode.
And analogizing in turn to obtain the change relation between the time and the temperature of each operation mode of the air conditioner.
Since the fitting curve calculated in linear fitting generally has an error from the actual situation, the present invention sets the formula y as a in order to reduce the calculation error0+a1x+a2x2A correction term is added.
Wherein, the formula of the correction term is as follows:
Figure BDA0002502023160000131
in the formula, λ represents an influence factor, and is generally 0.6, n represents the number of parameters, and w represents a parameter value, i.e., a value of the correction term L1 is obtained by modifying the value of w.
When determining the change relation between time and environment state, firstly adopting a0、a1、a2Dividing the sum of the three by 3, namely, taking the average value of the three as an initial correction term, and adding the initial correction term to y ═ a0+a1x+a2x2In (b), obtaining y ═ a0+a1x+a2x2+L1。
Will yield y ═ a0+a1x+a2x2Time 1 of (a) is taken into y ═ a0+a1x+a2x2In + L1, the environmental state y11 corresponding to time 1 is obtained, and y ═ a is obtained0+a1x+a2x2The actual environment state y1 corresponding to the time 1, calculating the difference between y11 and y1, judging whether the difference is smaller than a preset value, and repeating the steps to calculate all the obtained y ═ a0+a1x+a2x2And if the environmental state is greater than the actual environmental state, subtracting the step value from the current value to obtain a new value of L1, and performing the calculation until the error between the environmental state determined according to the change relationship and the actual environmental state used in generating the change relationship is less than the preset value at the same time. If the environmental state is smaller than the actual environmental state, adding the step value to the current value to obtain a new value of L1, and performing the above calculation until the environmental state determined according to the change relation and the use in generating the change relation at the same timeIs less than a preset value.
The specific process of obtaining the comfort value by considering two factors of time and noise in the embodiment of the invention is as follows:
and adding the determined time indexes of the running modes and preset noise indexes when the running modes work to obtain the comfort value of each running mode.
Specifically, the following equations are combined:
cos t=α*time+β*noise
in the formula: time represents a numerical value of time required by the environment adjusting equipment to reach an environment state required by a user from a current environment state in an operation mode, noise represents a numerical value of noise generated when the environment adjusting equipment works in the operation mode, and alpha and beta are weights of the operation mode.
For example, if the time required for the environment adjusting apparatus to reach the environmental state required by the user from the current environmental state in the operation mode 1 is 60 seconds, the time is 60, and if the noise generated when the environment adjusting apparatus operates in the operation mode 1 is 40 decibels, the noise is 40, then 60 and 40 are multiplied by the corresponding weights, respectively, to obtain the comfort value in the operation mode 1. And analogizing in turn, and respectively obtaining the comfort values of all the operation modes of the environment adjusting equipment.
In order to obtain an operation mode under proper time and noise, the comfort values of the operation modes are sorted according to the comfort values from the plurality of obtained comfort values in the same selection mode of only considering time, and then the operation mode corresponding to the comfort value at the preset position in the queue and used for controlling the environment adjusting equipment is selected to control the environment adjusting equipment to operate.
Based on the above description, the embodiment of the present invention provides a complete method for operating a device, which is shown in fig. 7 and includes:
s700: determining the states of various objects corresponding to the environment adjusting equipment;
s701: searching a change relation set corresponding to the determined states of the various objects;
s702: according to the found change relation set, determining the time required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode;
s703: determining the time index of each operation mode according to the time required by each operation mode and the weight of each operation mode;
s704: adding the determined time indexes of the running modes and preset noise indexes when the running modes work to obtain comfort values of the running modes;
s705: sequencing the comfort values of the operation modes according to the comfort values;
s706: and selecting an operation mode corresponding to the comfort value at the preset position in the queue and used for controlling the environment adjusting equipment.
An embodiment of the present invention further provides an electronic device 800, shown in fig. 8, including: a processor 810 and a memory 820;
the memory 820 is used for storing program codes used when the electronic device runs;
the processor 810 is configured to execute the program code to implement the following processes:
determining a time index required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode;
and selecting the operation mode for controlling the environment adjusting equipment according to the determined time index of each operation mode.
Optionally, the processor 810 is further configured to:
determining the comfort value of each operation mode according to the determined time index of each operation mode and the preset noise index when each operation mode works;
selecting an operation mode for controlling the environment adjusting apparatus according to the comfort value in each operation mode.
Optionally, the processor 810 is specifically configured to:
and adding the determined time indexes of the running modes and preset noise indexes when the running modes work to obtain the comfort value of each running mode.
Optionally, the processor 810 is specifically configured to:
sequencing the comfort values in each operation mode according to the comfort values;
and selecting an operation mode corresponding to the comfort value at the preset position in the queue and used for controlling the environment adjusting equipment.
Optionally, the processor 810 is specifically configured to:
determining the states of various objects corresponding to the environment adjusting equipment; wherein the different changing states of each object have different effects on the environmental state adjusted by the environmental adjustment device;
searching a change relation set corresponding to the states of the multiple determined objects, wherein the change relation set comprises the change relation between the time corresponding to each operation mode and the environment state;
according to the found change relation set, determining the time required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode;
and determining the time index of each operation mode according to the time required by each operation mode and the weight of each operation mode.
Optionally, the change relationship between the time of each operation mode corresponding to different change states of the object and the environment state is obtained according to a linear fitting model.
Optionally, for the same time, an error between the environmental state determined according to the change relationship and an actual environmental state used in generating the change relationship is smaller than a preset value.
In an exemplary embodiment, a storage medium comprising instructions, such as a memory comprising instructions, executable by a processor 810 of an electronic device to perform the above-described indoor security alerting method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In the embodiment of the present invention, the electronic device further includes other elements, and the structure of the electronic device is as shown in fig. 9, including: radio Frequency (RF) circuitry 910, a power supply 920, a processor 930, a memory 940, an input unit 950, a display unit 960, a sensor assembly 970, a communication interface 980, and a Wireless Fidelity (Wi-Fi) module 990. Those skilled in the art will appreciate that the configuration of the electronic device shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device provided by the embodiments of the present application may include more or less components than those shown, or may combine some components, or may be arranged in different components.
The following describes each component of the electronic device 900 in detail with reference to fig. 9:
the RF circuit 910 may be used for receiving and transmitting data during a communication or conversation. In particular, the RF circuit 910 sends the downlink data of the base station to the processor 930 for processing; and in addition, sending the uplink data to be sent to the base station. Generally, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
In addition, the RF circuit 910 may also communicate with networks and other electronic devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The Wi-Fi technology belongs to a short-distance wireless transmission technology, and the electronic device 900 may connect to an Access Point (AP) through a Wi-Fi module 990, thereby implementing Access to a data network. The Wi-Fi module 990 may be used for receiving and transmitting data during communication.
The electronic device 900 may be physically connected to other electronic devices via the communication interface 980. Optionally, the communication interface 980 is connected to the communication interfaces of the other electronic devices through cables, so as to implement data transmission between the electronic device 900 and the other electronic devices.
In this embodiment of the application, the electronic device 900 can implement a communication service to send information to other contacts, so that the electronic device 900 needs to have a data transmission function, that is, the electronic device 900 needs to include a communication module inside. Although fig. 9 illustrates communication modules such as the RF circuit 910, the Wi-Fi module 990, and the communication interface 980, it is to be understood that at least one of the above components or other communication modules (e.g., bluetooth module) for enabling communication may be present in the electronic device 900 for data transmission.
For example, as shown in fig. 10, the electronic device 900 is connected to a plurality of environment adjusting devices, the electronic device 900 receives an environment state required by a user and a current environment state, determines an operation mode, and transmits the operation mode to the environment adjusting devices, and the environment adjusting devices operate according to the operation mode. The plurality of environment adjusting devices may be an air conditioner 1000, a humidifier 1100, and an air purifier 1200, and when the environment state required by the user is temperature, the electronic device 900 selects an operation mode of the air conditioner 1000, and transmits the selected operation mode to the air conditioner 1000, and the air conditioner 1000 operates according to the operation mode. When the environmental state required by the user is humidity, the electronic device 900 selects an operation mode of the humidifier 1100, and transmits the selected operation mode to the humidifier 1100, and the humidifier 1100 operates according to the operation mode. When the environmental state required by the user is the carbon dioxide concentration and the formaldehyde concentration, the electronic device 900 selects the operation mode of the air purifier 1200, and sends the selected operation mode to the air purifier 1200, and the air purifier 1200 operates according to the operation mode.
The memory 940 may be used to store software programs and modules. The processor 930 executes various functional applications and data processing of the electronic device 900 by executing the software programs and modules stored in the memory 940, and after the processor 930 executes the program codes in the memory 940, part or all of the processes in fig. 1 according to the embodiment of the present invention can be implemented.
Alternatively, the memory 940 may mainly include a program storage area and a data storage area. The storage program area can store an operating system, various application programs (such as communication application), a face recognition module and the like; the storage data area may store data (such as various multimedia files like pictures, video files, etc., and face information templates) created according to the use of the electronic device, and the like.
Further, the memory 940 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 950 may be used to receive numeric or character information input by a user and generate key signal inputs related to user settings and function control of the electronic apparatus 900.
Optionally, the input unit 950 may include a touch panel 951 and other input electronics 952.
The touch panel 951, also referred to as a touch screen, can collect touch operations of a user (for example, operations of a user on or near the touch panel 951 using any suitable object or accessory such as a finger or a stylus pen) and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 951 may include two parts, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 930, and can receive and execute commands sent from the processor 830. In addition, the touch panel 951 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave.
Optionally, the other input electronics 952 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 960 may be used to display information input by or provided to a user and various menus of the electronic device 900. The display unit 960 is a display system of the electronic device 900, and is configured to present an interface to implement human-computer interaction.
The display unit 960 may include a display panel 961. Alternatively, the Display panel 961 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Further, the touch panel 951 may cover the display panel 961, and when the touch panel 851 detects a touch operation on or near the touch panel, the touch panel transmits the touch operation to the processor 930 to determine the type of the touch event, and then the processor 930 provides a corresponding visual output on the display panel 961 according to the type of the touch event.
Although in fig. 9, the touch panel 951 and the display panel 961 are two independent components to implement the input and output functions of the electronic device 900, in some embodiments, the touch panel 951 and the display panel 961 may be integrated to implement the input and output functions of the electronic device 900.
The processor 930 is a control center of the electronic device 900, connects each component using various interfaces and lines, and performs various functions of the electronic device 900 and processes data by operating or executing software programs and/or modules stored in the memory 940 and calling data stored in the memory 940, thereby implementing various services based on the electronic device.
Optionally, the processor 930 may include one or more processing units. Optionally, the processor 930 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 930.
Sensor component 970, including temperature sensor 971, humidity transducer 972, formaldehyde sensor 973, carbon dioxide sensor 974, temperature sensor 971 detects indoor temperature, and humidity sensor 972 detects indoor humidity, and formaldehyde sensor 973 detects indoor formaldehyde concentration, and carbon dioxide sensor 974 detects indoor carbon dioxide concentration.
The electronic device 900 also includes a power supply 920 (e.g., a battery) for powering the various components. Optionally, the power supply 920 may be logically connected to the processor 930 through a power management system, so as to implement functions of managing charging, discharging, power consumption, and the like through the power management system.
An embodiment of the present invention further provides a computer program product, which, when running on an electronic device, enables the electronic device to execute a method for implementing any one of the above-mentioned device running methods according to the embodiments of the present invention.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (12)

1. A method of operating a plant, comprising:
determining a time index required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode;
selecting an operation mode for controlling the environment adjusting equipment according to the determined time index of each operation mode;
determining a time index required by the environment adjusting device to reach the environment state required by the user from the current environment state in each operation mode, comprising:
determining the states of various objects corresponding to the environment adjusting equipment; wherein the different changing states of each object have different effects on the environmental state adjusted by the environmental adjustment device; the object includes some or all of the following: window, weather, number of indoor people, indoor users;
searching a change relation set corresponding to the states of the multiple determined objects, wherein the change relation set comprises the change relation between the time corresponding to each operation mode and the environment state;
according to the found change relation set, determining the time required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode;
and determining the time index of each operation mode according to the time required by each operation mode and the weight of each operation mode.
2. The method of operating an apparatus according to claim 1, wherein after determining the time index required for the climate regulating apparatus to reach the user-requested environmental state from the current environmental state in each operating mode, the method further comprises:
determining the comfort value of each operation mode according to the determined time index of each operation mode and the preset noise index when each operation mode works;
selecting an operation mode for controlling the environment adjusting apparatus according to the comfort value in each operation mode.
3. The method of operating a plant according to claim 2, wherein determining a comfort level for each operating mode based on the determined time indicator for each operating mode and a predetermined noise indicator for each operating mode, comprises:
and adding the determined time indexes of the running modes and preset noise indexes when the running modes work to obtain the comfort value of each running mode.
4. The apparatus operating method according to claim 1, wherein selecting the operation mode for controlling the environment adjusting apparatus according to the comfort value in each operation mode comprises:
sequencing the comfort values in each operation mode according to the comfort values;
and selecting an operation mode corresponding to the comfort value at the preset position in the queue and used for controlling the environment adjusting equipment.
5. The apparatus operating method according to claim 1, wherein the change relationship between the time and the environmental state of each operating mode corresponding to different change states of the object is obtained according to a linear fitting model.
6. The apparatus operating method according to claim 5, wherein an error between the environmental state determined from the change relationship and an actual environmental state used in generating the change relationship is smaller than a preset value for a same time.
7. An electronic device, comprising: a processor and a memory;
the memory is used for storing program codes used when the electronic equipment runs;
the processor is configured to execute the program code to implement the following processes:
determining a time index required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode;
selecting an operation mode for controlling the environment adjusting equipment according to the determined time index of each operation mode;
the processor is specifically configured to:
determining the states of various objects corresponding to the environment adjusting equipment; wherein the different changing states of each object have different effects on the environmental state adjusted by the environmental adjustment device; the object includes some or all of the following: window, weather, number of indoor people, indoor users;
searching a change relation set corresponding to the states of the multiple determined objects, wherein the change relation set comprises the change relation between the time corresponding to each operation mode and the environment state;
according to the found change relation set, determining the time required by the environment adjusting equipment to reach the environment state required by the user from the current environment state in each operation mode;
and determining the time index of each operation mode according to the time required by each operation mode and the weight of each operation mode.
8. The electronic device of claim 7, wherein the processor is further configured to:
determining the comfort value of each operation mode according to the determined time index of each operation mode and the preset noise index when each operation mode works;
selecting an operation mode for controlling the environment adjusting apparatus according to the comfort value in each operation mode.
9. The electronic device of claim 7, wherein the processor is specifically configured to:
and adding the determined time indexes of the running modes and preset noise indexes when the running modes work to obtain the comfort value of each running mode.
10. The electronic device of claim 7, wherein the processor is specifically configured to:
sequencing the comfort values in each operation mode according to the comfort values;
and selecting an operation mode corresponding to the comfort value at the preset position in the queue and used for controlling the environment adjusting equipment.
11. The electronic device according to claim 7, wherein the time-to-environment variation relationship of each operation mode corresponding to different variation states of the object is obtained according to a linear fitting model.
12. The electronic device according to claim 11, wherein an error between the environmental state determined from the change relationship and an actual environmental state used in generating the change relationship is smaller than a preset value for a same time.
CN202010435326.2A 2020-05-21 2020-05-21 Equipment operation method and electronic equipment Active CN111623488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010435326.2A CN111623488B (en) 2020-05-21 2020-05-21 Equipment operation method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010435326.2A CN111623488B (en) 2020-05-21 2020-05-21 Equipment operation method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111623488A CN111623488A (en) 2020-09-04
CN111623488B true CN111623488B (en) 2021-10-15

Family

ID=72271932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010435326.2A Active CN111623488B (en) 2020-05-21 2020-05-21 Equipment operation method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111623488B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5745365B2 (en) * 2011-08-23 2015-07-08 三菱電機株式会社 Air conditioning system controller
JP6022335B2 (en) * 2012-12-13 2016-11-09 株式会社日立製作所 Deep sea water use air conditioning system
CN106288157A (en) * 2016-08-05 2017-01-04 珠海格力电器股份有限公司 Method and device for evaluating use effect of unit
CN107975918B (en) * 2017-11-21 2020-10-13 广东美的暖通设备有限公司 Air conditioning system, and control method and device of air conditioning system
CN109084420B (en) * 2018-07-28 2019-11-12 珠海格力电器股份有限公司 Control method and device of air conditioner, storage medium and air conditioner
CN110595012B (en) * 2019-09-23 2021-08-31 海信(广东)空调有限公司 Recommendation method and device for air conditioner operation mode

Also Published As

Publication number Publication date
CN111623488A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
CN106371324B (en) operation interface display method and device
CN109612034A (en) Temprature control method, device and storage medium
CN103414488B (en) A kind of control method, device and equipment of mobile device antenna
CN105222278B (en) Gate inhibition's air conditioning linkend system and its control method
CN103398451A (en) Multi-dimensional indoor environment controlling method and system based on learning of user behaviors
CA2910895A1 (en) System and method for monitoring building environmental data
CN107525243A (en) Air conditioner temperature control system and method
KR101622205B1 (en) Method for controlling air conditioner interworking mobile terminal
CN104807130B (en) The virtual key generation method and system of air conditioner custom parameter
CN108370540B (en) Communication equipment and method and device for reducing power consumption of communication equipment
CN106371326B (en) Storage method and device for equipment working scene
CN105100197B (en) The method and device of application is installed
CN106453840B (en) The method for adjusting performance and mobile terminal of mobile terminal
CN105180365A (en) Household appliance, household appliance control method and household appliance control system
CN110912911B (en) Air conditioning equipment authority control method, user equipment and control system
CN111486562A (en) Air conditioner control method and device, air conditioner and storage medium
CN110491379A (en) A kind of sound control method of household electrical appliance, voice controller and air conditioner
CN111623488B (en) Equipment operation method and electronic equipment
KR101870391B1 (en) Intelligent terminal and method for displaying input operation interface thereof
US11592202B2 (en) Control device and method for controlling air conditioner communicatively coupled to multiple user devices
CN108415549B (en) Method for improving endurance of mobile terminal, mobile terminal and readable storage medium
CN114025215A (en) File processing method, mobile terminal and storage medium
CN113494756A (en) Terminal and indoor air conditioning method
CN203443020U (en) Multi-dimensional comfort level indoor environment control system based on learning of user behaviors
CN107329547B (en) Temperature control method and device and mobile terminal

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
GR01 Patent grant
GR01 Patent grant