CN115406063A - Method, device, terminal and storage medium for automatically controlling terminal equipment - Google Patents
Method, device, terminal and storage medium for automatically controlling terminal equipment Download PDFInfo
- Publication number
- CN115406063A CN115406063A CN202110584178.5A CN202110584178A CN115406063A CN 115406063 A CN115406063 A CN 115406063A CN 202110584178 A CN202110584178 A CN 202110584178A CN 115406063 A CN115406063 A CN 115406063A
- Authority
- CN
- China
- Prior art keywords
- target
- terminal equipment
- terminal device
- data
- target terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000008859 change Effects 0.000 claims abstract description 55
- 230000007613 environmental effect Effects 0.000 claims description 41
- 238000013507 mapping Methods 0.000 claims description 15
- 238000012544 monitoring process Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 230000009467 reduction Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000002354 daily effect Effects 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/54—Control or safety arrangements characterised by user interfaces or communication using one central controller connected to several sub-controllers
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/61—Control or safety arrangements characterised by user interfaces or communication using timers
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control 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/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/70—Control systems characterised by their outputs; Constructional details thereof
- F24F11/72—Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/10—Temperature
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/20—Humidity
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a method, a device, a terminal and a storage medium for automatically controlling terminal equipment, wherein the method comprises the following steps: acquiring an environment change parameter corresponding to a target environment, and determining target terminal equipment to be controlled according to the environment change parameter, wherein the target terminal equipment is positioned in the target environment; acquiring time data, and acquiring target historical use data of the target terminal equipment according to the time data; determining target operation parameters of the target terminal equipment according to the target historical use data; and controlling the target terminal equipment according to the target operation parameters. The invention can control the target terminal equipment based on the historical use data of the target terminal equipment, thereby realizing that the target terminal equipment automatically operates according to the previous setting habit of the user under the condition of no manual setting of the operating parameters by the user.
Description
Technical Field
The invention relates to the field of smart home, in particular to a method, a device, a terminal and a storage medium for automatically controlling terminal equipment.
Background
With the continuous progress of the times, household appliances have gone into every family and become essential things for daily household life. However, most of the conventional household appliances require people to manually set the operation parameters through a touch button or an infrared remote controller, for example, when a user returns home and needs to open the dehumidifier, the operation parameters of the dehumidifier need to be manually set through the remote controller or the button on the dehumidifier, so as to control the starting of the dehumidifier and operate according to the set operation parameters. The existing methods for controlling the terminal equipment all need a user to manually set operation parameters, otherwise, the terminal equipment cannot execute corresponding operations, so that inconvenience is brought to the user.
Thus, there is a need for improvement and development of the prior art.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, an apparatus, a terminal and a storage medium for automatically controlling a terminal device, aiming at solving the problem that the existing methods for controlling a terminal device all require a user to manually set operation parameters, otherwise the terminal device cannot execute corresponding operations.
The technical scheme adopted by the invention for solving the problems is as follows:
in a first aspect, an embodiment of the present invention provides a method for automatically controlling a terminal device, where the method includes:
acquiring an environment change parameter corresponding to a target environment, and determining target terminal equipment to be controlled according to the environment change parameter, wherein the target terminal equipment is positioned in the target environment;
acquiring time data, and acquiring target historical use data of the target terminal equipment according to the time data;
determining target operation parameters of the target terminal equipment according to the target historical use data;
and controlling the target terminal equipment according to the target operation parameters.
In one embodiment, the obtaining of the environment change parameter of the target environment includes:
acquiring an environmental parameter corresponding to the target environment, and acquiring a historical environmental parameter corresponding to the environmental parameter;
and when the environmental parameter is not equal to the historical environmental parameter, taking the environmental parameter as the environmental change parameter.
In one embodiment, the determining a target terminal device to be controlled according to the environment variation parameter includes:
acquiring preset mapping relation data;
and determining the terminal equipment corresponding to the environment change parameters according to the mapping relation data to obtain the target terminal equipment to be controlled.
In one embodiment, the obtaining of the target historical usage data of the target terminal device according to the time data includes:
acquiring historical use data of the target terminal equipment, and acquiring use time data corresponding to the historical use data;
comparing the time data with the use time data, and when the use time data is the same as the time data, taking the historical use data as the target historical use data.
In one embodiment, the obtaining of the historical usage data of the target terminal device includes:
acquiring target user information bound with the target terminal equipment;
and acquiring historical use data of the target terminal equipment according to the target user information.
In one embodiment, the determining the target operation parameter of the target terminal device according to the target historical usage data includes:
calculating the quantity of the target historical use data, and comparing the quantity of the target historical use data with a preset quantity threshold value;
and when the quantity of the target historical use data is larger than the quantity threshold value, taking the equipment operation parameter in the target historical use data as the target operation parameter.
In one embodiment, the controlling the target terminal device according to the target operation parameter includes:
generating a control instruction corresponding to the target operation parameter according to the target operation parameter;
and controlling the target terminal equipment according to the control instruction.
In one embodiment, the generating a control command corresponding to the target operating parameter according to the target operating parameter includes:
and acquiring an instruction template for creating a control instruction, and filling the instruction template according to the target operation parameters to obtain the control instruction.
In one embodiment, the controlling the target terminal device according to the control instruction includes:
displaying operation reminding information corresponding to the control instruction according to the control instruction;
and when a trigger event generated based on the operation reminding information is acquired, sending the control instruction to the target terminal equipment so as to control the target terminal equipment.
In a second aspect, an embodiment of the present invention further provides an apparatus for automatically controlling a terminal device, where the apparatus includes:
the environment monitoring module is used for acquiring an environment change parameter corresponding to a target environment and determining target terminal equipment to be controlled according to the environment change parameter, wherein the target terminal equipment is positioned in the target environment;
the data acquisition module is used for acquiring time data and acquiring target historical use data of the target terminal equipment according to the time data;
the parameter determining module is used for determining target operation parameters of the target terminal equipment according to the target historical use data;
and the equipment control module is used for controlling the target terminal equipment according to the target operation parameters.
In a third aspect, an embodiment of the present invention further provides a terminal, where the terminal includes a memory and one or more processors; the memory stores one or more programs; said program containing instructions for carrying out the method of automatically controlling a terminal device according to any one of the preceding claims; the processor is configured to execute the program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a plurality of instructions are stored, where the instructions are loaded and executed by a processor to implement the steps of any one of the above methods for automatically controlling a terminal device.
The invention has the beneficial effects that: according to the embodiment of the invention, the environment change parameter corresponding to the target environment is obtained, and the environment change parameter can reflect the current state of the target environment, such as temperature rise or reduction, or humidity rise or reduction in the current environment. Since a change in the environment may cause a reduction in the user's comfort, in order to improve the user's comfort, a target terminal device to be controlled may be determined according to the environment change parameter, wherein the target terminal device is located in the target environment. In order to determine the operation parameters of the target terminal equipment after being started, time data is required to be acquired, target historical use data of the target terminal equipment is acquired according to the time data, and the target historical use data can reflect the setting habits of a user on the target terminal equipment at the current time, so that the target operation parameters of the target terminal equipment are determined according to the target historical use data, and the target terminal equipment is controlled according to the target operation parameters, so that the target terminal equipment can automatically operate according to the previous setting habits of the user under the condition that the operation parameters are not manually set by the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and it is also possible for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of a specific implementation of a method for automatically controlling a terminal device according to an embodiment of the present invention.
Fig. 2 is a flowchart for acquiring an environment change parameter of a target environment in a method for automatically controlling a terminal device according to an embodiment of the present invention.
Fig. 3 is a flowchart of determining a target terminal device to be controlled in a method for automatically controlling a terminal device according to an embodiment of the present invention.
Fig. 4 is a flowchart of acquiring target historical usage data in a method for automatically controlling a terminal device according to an embodiment of the present invention.
Fig. 5 is a flowchart of determining a target operation parameter in a method for automatically controlling a terminal device according to an embodiment of the present invention.
Fig. 6 is a flowchart of controlling a target terminal device in a method for automatically controlling a terminal device according to an embodiment of the present invention.
Fig. 7 is a schematic block diagram of an apparatus for automatically controlling a terminal device according to an embodiment of the present invention.
Fig. 8 is a schematic block diagram of an internal structure of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
It should be noted that, if directional indications (such as upper, lower, left, right, front, rear, 8230; \8230;) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components in a specific posture (as shown in the figure), the motion situation, etc., and if the specific posture is changed, the directional indications are correspondingly changed.
With the continuous progress of the times, household appliances have entered into thousands of households, and become essential things for daily household life. However, most of the conventional household appliances require people to manually set the operation parameters through a touch button or an infrared remote controller, for example, when a user returns home and needs to open the dehumidifier, the user needs to manually set the operation parameters of the dehumidifier through the remote controller or a button on the dehumidifier to control the start of the dehumidifier and operate according to the set operation parameters. The existing methods for controlling the terminal equipment all need a user to manually set operation parameters, otherwise, the terminal equipment cannot execute corresponding operations, so that inconvenience is brought to the user.
In view of the above defects in the prior art, this embodiment provides a method for automatically controlling a terminal device, and with the method for automatically controlling a terminal device of this embodiment, a target terminal device may also execute a corresponding operation or start a corresponding function without manually setting an operation parameter by a user, so that the user may use the target terminal device more conveniently. In specific implementation, the embodiment first obtains an environment change parameter corresponding to the target environment, where the environment change parameter may reflect a current state of the target environment, for example, whether a temperature in the current environment is increased or decreased, or whether a humidity is increased or decreased. Since a change in the environment may cause a reduction in the user's comfort, in order to improve the user's comfort, a target terminal device to be controlled may be determined according to the environment change parameter, wherein the target terminal device is located in the target environment. In order to determine the operation parameters of the target terminal equipment after being started, time data is required to be acquired, target historical use data of the target terminal equipment is acquired according to the time data, and the target historical use data can reflect the setting habits of a user on the target terminal equipment at the current time, so that the target operation parameters of the target terminal equipment are determined according to the target historical use data, and the target terminal equipment is controlled according to the target operation parameters, so that the target terminal equipment can automatically operate according to the previous setting habits of the user under the condition that the operation parameters are not manually set by the user.
For example, when the environment change parameter is temperature, it indicates that the temperature in the target environment has changed, and since the environment change parameter is temperature, the air conditioner is determined as the target terminal device to be controlled in the target environment. And then, acquiring current time, for example, if the current time is 18 points, acquiring historical use data of the air conditioner at 18 points, namely acquiring target historical use data, wherein the target historical use data reflects that the temperature of the air conditioner is set to 26 degrees when a user is used to the 18 points, and setting a target operation parameter corresponding to the air conditioner according to the target historical use data, so that the air conditioner operates at the temperature of 26 degrees at the 18 points, thereby realizing the automatic control process of the air conditioner.
Exemplary method
The method for automatically controlling the terminal device of the embodiment may be applied to the terminal device, which includes the devices such as the air conditioner and the humidifier in the above examples. By applying the method for automatically controlling the terminal equipment in the embodiment to the terminal equipment, the terminal equipment in the target environment can be automatically controlled without manually setting the operation parameters by a user. As shown in fig. 1, the method for automatically controlling a terminal device of this embodiment specifically includes the following steps:
step S100, obtaining an environment change parameter corresponding to a target environment, and determining target terminal equipment to be controlled according to the environment change parameter, wherein the target terminal equipment is located in the target environment.
Specifically, the target environment in this embodiment may be a complete room, and the environment change parameter reflects change information of the environmental conditions in the room, such as temperature increase/decrease, humidity increase/decrease, and the like. A plurality of terminal devices exist in a target environment, and the terminal devices may be various smart home devices, such as air conditioners, humidifiers, and the like. In order to control the terminal devices, the present embodiment needs to monitor a target environment, and once it is monitored that the target environment changes, an environment change parameter corresponding to the target environment is obtained, and the target terminal device to be turned on is determined in all the terminal devices located in the target environment according to the environment change parameter. For example, when the environment change parameter corresponding to the obtained target environment is the temperature, it indicates that the temperature in the current target environment has changed, and because the environment change parameter is the temperature, the target terminal device to be turned on is determined to be the air conditioner according to the environment change parameter.
In one implementation, as shown in fig. 2, the acquiring the environment change parameter of the target environment specifically includes the following steps:
s101, acquiring an environmental parameter corresponding to the target environment, and acquiring a historical environmental parameter corresponding to the environmental parameter;
and S102, when the environmental parameter is not equal to the historical environmental parameter, taking the environmental parameter as the environmental change parameter.
In particular, the environmental parameter in the target environment refers to a parameter characterizing an environmental condition of the target environment, such as temperature, humidity, and the like. In this embodiment, various environmental parameters in the target environment need to be detected and recorded in real time, and the recorded environmental parameters are historical environmental parameters. In practical application, when the latest detected environmental parameter is not equal to the historical environmental parameter corresponding to the environmental parameter in value, it indicates that the environmental condition of the environment parameter representing the target environment has changed, and the environmental parameter is taken as an environmental change parameter. For example, regarding the environmental parameter of temperature, the latest detected temperature is 28 degrees, and the last detected temperature is 25 degrees, which indicates that the temperature in the target environment has changed, and the temperature is taken as the environmental change parameter.
In an implementation manner, as shown in fig. 3, the determining, according to the environment variation parameter, a target terminal device to be controlled specifically includes the following steps:
step S103, acquiring preset mapping relation data;
and step S104, determining the terminal equipment corresponding to the environment change parameters according to the mapping relation data to obtain the target terminal equipment to be controlled.
Specifically, in the present embodiment, a mapping relationship between the environmental change parameter and the terminal device is set in advance according to the type of the environmental change parameter and the function between the terminal devices, and then mapping relationship data is generated according to the set mapping relationship between the environmental change parameter and the terminal device, for example, the mapping relationship data may reflect a mapping relationship between temperature and air conditioner, a mapping relationship between humidity and dehumidifier, and the like. Therefore, after the environmental change parameter is determined, the terminal device corresponding to the environmental change parameter can be found according to the mapping relation data, and the target terminal device to be controlled is obtained. For example, when the temperature is determined to be the environmental change parameter, the air conditioner may be determined to be the target terminal device according to the mapping relationship data; when the environment change parameter is determined to be humidity, the dehumidifier can be determined to be the target terminal device according to the mapping relation data.
And S200, acquiring time data, and acquiring target historical use data of the target terminal equipment according to the time data.
Specifically, since the target terminal device usually has a timing function, time data can be directly obtained by the target terminal device, and the time data can reflect the current specific time. And then acquiring historical use data corresponding to the time data in the target terminal equipment to obtain the target historical use data. The target historical usage data may reflect a setting habit of the user at the target terminal device at a fixed point in time. For example, when the target terminal device is an air conditioner, the time data on the air conditioner is obtained to obtain that the current time is 18 points, and then the historical usage data corresponding to the 18 points is searched in the memory of the air conditioner to obtain the target historical usage data, where the target historical usage data may reflect the setting habit of the user to the air conditioner at 18 points, for example, the user habit sets the air conditioner to 26 degrees at 18 points.
In an implementation manner, as shown in fig. 4, the obtaining of the target historical usage data of the target terminal device according to the time data specifically includes the following steps:
step S201, obtaining historical use data of the target terminal device, and obtaining use time data corresponding to the historical use data;
step S202, comparing the time data with the use time data, and taking the historical use data as the target historical use data when the use time data is the same as the time data.
In order to realize the control of the target terminal device without manually setting the operation parameters by the user, the embodiment may control the target terminal device based on the usage habit of the user for the target device. Specifically, the present embodiment performs data point burying processing on the target terminal device in advance, and acquires the historical usage data on the target terminal device in a data point burying manner. Each piece of historical usage data has time of use data stored in association with it that may reflect the point in time at which the historical usage data was generated. Therefore, the time data is compared with the use time data to obtain historical use data with the same use time data as the time data, and the historical use data is target historical use data. For example, when the target terminal device is an air conditioner and the time data is 18 points, historical usage data of the air conditioner and usage time data corresponding to the historical usage data are obtained, and if the usage time data of a certain historical usage data is 18 points, the historical usage data is target historical usage data, and the target historical usage data may reflect setting habits of a user to the air conditioner at 18 points, for example, setting the temperature of the air conditioner at 18 points by the user habit to 26 degrees.
In an implementation manner, in order to obtain historical usage data of a target terminal device, in this embodiment, first target user information bound to the target terminal device needs to be obtained, and then historical usage data of the target terminal device is obtained according to the target user information. Specifically, the target user information may reflect an actual control user of the target terminal device, so that the historical usage data corresponding to the target user information may be obtained by screening the historical usage data of the target terminal device through the target user information, so as to filter out some abnormal data, for example, the historical usage data generated by a guest using the target terminal device. For example, when the target terminal device is an air conditioner, the device information of the air conditioner is acquired, and if the target user information bound to the device information is obtained as the user a, it indicates that the user a is an actual control user of the air conditioner. And acquiring historical use data corresponding to the user A according to the target user information, wherein the historical use data can reflect the operation habits of the user A on the air conditioner, for example, the user A is used to turn on the air conditioner at 12 noon, and the air conditioner is set to be 24 degrees.
And step S300, determining target operation parameters of the target terminal equipment according to the target historical use data.
In order to realize the control of the target terminal device without manually setting the operation parameters by the user, the present embodiment may control the target terminal device based on the usage habit of the user for the target device. Specifically, the present embodiment may determine, based on the target historical usage data, an operation habit of the user on the target terminal device, and determine the operation parameter of the target terminal device, that is, the target operation parameter, according to the operation habit.
For example, when the current time is 18 o ' clock, the target terminal device is an air conditioner, the operating habit of the user on the air conditioner at 18 o ' clock is determined according to the target historical use data, and the temperature is set to 26 degrees, then the target operating parameter is determined according to the operating habit, and the air conditioner is controlled to be started at 18 o ' clock according to the target operating parameter, and the temperature is automatically set to 26 degrees.
In one implementation, as shown in fig. 5, the step S300 specifically includes the following steps:
step S301, calculating the quantity of the target historical use data, and comparing the quantity of the target historical use data with a preset quantity threshold value;
step S302, when the quantity of the target historical use data is larger than the quantity threshold value, taking the equipment operation parameter in the target historical use data as the target operation parameter.
Since the user sometimes operates the target terminal device accidentally and not frequently, the usage data generated based on the accidental operation on the target terminal device belongs to abnormal data, and the abnormal data interferes with the judgment of the operation habit of the user, so that the usage data cannot be adopted. Therefore, in this embodiment, after the target historical usage data is determined, the number of the target historical usage data needs to be calculated, and only when the number of the target historical usage data is greater than the preset number threshold, it can be determined that the target historical usage data is not generated based on accidental operation of the user, but is generated based on operation habits of the user on the target terminal device. For example, the preset number threshold is 20, the target terminal device is an air conditioner, and if the number of the target historical usage data is 15, the target historical usage data is judged to be abnormal data because the target historical usage data is smaller than the number threshold, and cannot be used for determining the target operation parameters of the air conditioner; if the number of the target historical usage data is 30, the target historical usage data is greater than the number threshold, and therefore the device operation parameter in the target historical usage data is set as the target operation parameter of the air conditioner, for example, if the device operation parameter in the target historical usage data is temperature and the value is 26, the temperature of the air conditioner is set to 26 degrees.
In an implementation manner, after obtaining the target historical usage data, the present embodiment may further generate a user representation according to the target historical usage data, where the user representation includes operations performed by a target user (the target user is a user corresponding to the target user information) on a target terminal device at fixed time points every day, and may reflect an operation habit of the user on the target terminal device. For example, the user profile of user a is such that the temperature of the air conditioner is set to 26 degrees at 18 pm per day or to 24 degrees at 12 pm per day.
And S400, controlling the target terminal equipment according to the target operation parameters.
After the target operation parameters are determined, the present embodiment further needs to control the target terminal device according to the target operation parameters, so that the target terminal device can be controlled without manually setting the operation parameters by the user, and the target terminal device is enabled to operate based on the operation habits of the user. For example, when the target terminal device is an air conditioner, the target operation parameter is temperature, and the value is 26, the air conditioner is controlled to set the temperature to 26 degrees according to the target operation parameter.
In one implementation, as shown in fig. 6, the step S400 specifically includes the following steps:
step S401, generating a control instruction corresponding to the target operation parameter according to the target operation parameter;
and S402, controlling the target terminal equipment according to the control instruction.
In order to control the target terminal device, the embodiment needs to generate a control instruction corresponding to the target operating parameter according to the target operating parameter. And then the control instruction is sent to the target terminal equipment, and after the target terminal equipment receives the control instruction, the operation corresponding to the control instruction can be executed. For example, if the target terminal device is an air conditioner, the target operating parameter is temperature, and the value is 26, a control instruction is generated according to the target operating parameter, and then the control instruction is sent to the air conditioner, and when the air conditioner receives the control instruction, the temperature is automatically set to 26 degrees.
In order to generate a control instruction corresponding to a target operating parameter, in an implementation manner, in this embodiment, an instruction template for creating the control instruction needs to be obtained first, and the instruction template is filled according to the target operating parameter to obtain the control instruction. Specifically, in this embodiment, an instruction template for creating a control instruction is preset, and the instruction template is filled according to a target operation parameter, so that a control instruction corresponding to the target operation parameter can be obtained, where the filled target operation parameter is different, and the obtained control instruction is also different. For example, when the target terminal device is an air conditioner, the instruction template is to set the temperature to XX degrees, and the instruction template is filled according to the target operation parameter, so that the control instruction of the air conditioner is to set the temperature to 26 degrees.
In order to control the target terminal device more reasonably, in an implementation manner, the embodiment further needs to display operation reminding information corresponding to the control instruction according to the control instruction; and when a trigger event generated based on the operation reminding information is acquired, sending the control instruction to the target terminal equipment so as to control the target terminal equipment. Specifically, the present embodiment shows the operation reminding information corresponding to the control instruction to the user, and can determine whether the user needs to control the target terminal device, so as to reasonably control the target terminal device according to the user's requirement. When a trigger event generated based on the operation reminding information is acquired, the user indicates that the target terminal equipment needs to be controlled currently, and the control instruction is sent to the target terminal equipment; when the trigger event generated based on the operation reminding information is not acquired within the preset time, the fact that the user does not need to control the target terminal device currently is indicated, and the control instruction is not sent to the target terminal device. In a specific application, the operation reminding information may be generated on a mobile terminal of a user, for example, a mobile phone, so as to remind the user to control a target terminal device by clicking the operation reminding information. For example, when the control instruction is to set the temperature of the air conditioner to 24 degrees, an operation reminding message is generated according to the control instruction to prompt the user whether to confirm that the temperature is set to 24 degrees, and when the user does not click to confirm, the control instruction is automatically cancelled after a preset time; when the user clicks the confirmation, the control instruction is sent to the air conditioner, and after the air conditioner receives the control instruction, the temperature is automatically set to 24 ℃.
Exemplary devices
As shown in fig. 7, the present embodiment also provides an apparatus for automatically controlling a terminal device, the apparatus including: the system comprises an environment monitoring module 01, a data acquisition module 02, a parameter determination module 03 and an equipment control module 04. Specifically, the environment monitoring module 01 is configured to obtain an environment change parameter corresponding to a target environment, and determine a target terminal device to be controlled according to the environment change parameter, where the target terminal device is located in the target environment. The data obtaining module 02 is configured to obtain time data, and obtain historical target usage data of the target terminal device according to the time data. The parameter determining module 03 is configured to determine a target operation parameter of the target terminal device according to the target historical usage data. And the device control module 04 is configured to control the target terminal device according to the target operation parameter.
Based on the above embodiment, the present invention further provides a terminal device, and a schematic block diagram thereof may be as shown in fig. 8. The terminal equipment comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. Wherein the processor of the terminal device is configured to provide computing and control capabilities. The memory of the terminal equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the terminal device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a method of automatically controlling a terminal device. The display screen of the terminal equipment can be a liquid crystal display screen or an electronic ink display screen.
It will be understood by those skilled in the art that the block diagram of fig. 8 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the terminal device to which the solution of the present invention is applied, and a specific terminal device may include more or less components than those shown in the figure, or may combine some components, or have different arrangements of components.
In one embodiment, a terminal device is provided, where the terminal device includes a memory, a processor, and a device control program stored in the memory and executable on the processor, and when the processor executes the device control program, the following operation instructions are implemented:
acquiring an environment change parameter corresponding to a target environment, and determining target terminal equipment to be controlled according to the environment change parameter, wherein the target terminal equipment is positioned in the target environment;
acquiring time data, and acquiring target historical use data of the target terminal equipment according to the time data;
determining target operation parameters of the target terminal equipment according to the target historical use data;
and controlling the target terminal equipment according to the target operation parameters.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
In summary, the present invention discloses a method, an apparatus, a terminal and a storage medium for automatically controlling a terminal device, wherein the method comprises: acquiring an environment change parameter corresponding to a target environment, and determining target terminal equipment to be controlled according to the environment change parameter, wherein the target terminal equipment is positioned in the target environment; acquiring time data, and acquiring target historical use data of the target terminal equipment according to the time data; determining target operation parameters of the target terminal equipment according to the target historical use data; and controlling the target terminal equipment according to the target operation parameters. The invention can control the target terminal equipment based on the historical use data of the target terminal equipment, thereby realizing that the target terminal equipment automatically operates according to the previous setting habit of the user under the condition of no manual setting of the operating parameters by the user.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (12)
1. A method for automatically controlling a terminal device, the method comprising:
acquiring an environment change parameter corresponding to a target environment, and determining target terminal equipment to be controlled according to the environment change parameter, wherein the target terminal equipment is positioned in the target environment;
acquiring time data, and acquiring target historical use data of the target terminal equipment according to the time data;
determining target operation parameters of the target terminal equipment according to the target historical use data;
and controlling the target terminal equipment according to the target operation parameters.
2. The method for automatically controlling a terminal device according to claim 1, wherein the obtaining of the environment change parameter of the target environment comprises:
acquiring an environmental parameter corresponding to the target environment, and acquiring a historical environmental parameter corresponding to the environmental parameter;
and when the environmental parameter is not equal to the historical environmental parameter, taking the environmental parameter as the environmental change parameter.
3. The method for automatically controlling terminal equipment according to claim 1, wherein the determining a target terminal equipment to be controlled according to the environment change parameter comprises:
acquiring preset mapping relation data;
and determining the terminal equipment corresponding to the environment change parameters according to the mapping relation data to obtain the target terminal equipment to be controlled.
4. The method for automatically controlling a terminal device according to claim 1, wherein the obtaining target historical usage data of the target terminal device according to the time data comprises:
acquiring historical use data of the target terminal equipment, and acquiring use time data corresponding to the historical use data;
comparing the time data with the use time data, and when the use time data is the same as the time data, taking the historical use data as the target historical use data.
5. The method for automatically controlling a terminal device according to claim 4, wherein the obtaining historical usage data of the target terminal device comprises:
acquiring target user information bound with the target terminal equipment;
and acquiring historical use data of the target terminal equipment according to the target user information.
6. The method of claim 1, wherein determining the target operating parameter of the target terminal device according to the target historical usage data comprises:
calculating the quantity of the target historical use data, and comparing the quantity of the target historical use data with a preset quantity threshold value;
and when the quantity of the target historical use data is larger than the quantity threshold value, taking the equipment operation parameters in the target historical use data as the target operation parameters.
7. The method of claim 1, wherein the controlling the target terminal device according to the target operating parameter comprises:
generating a control instruction corresponding to the target operation parameter according to the target operation parameter;
and controlling the target terminal equipment according to the control instruction.
8. The method for automatically controlling a terminal device according to claim 7, wherein the generating a control command corresponding to the target operation parameter according to the target operation parameter comprises:
and acquiring an instruction template for creating a control instruction, and filling the instruction template according to the target operation parameters to obtain the control instruction.
9. The method for automatically controlling a terminal device according to claim 7, wherein the controlling the target terminal device according to the control instruction comprises:
displaying operation reminding information corresponding to the control instruction according to the control instruction;
and when a trigger event generated based on the operation reminding information is acquired, sending the control instruction to the target terminal equipment so as to control the target terminal equipment.
10. An apparatus for automatically controlling a terminal device, the apparatus comprising:
the environment monitoring module is used for acquiring an environment change parameter corresponding to a target environment and determining target terminal equipment to be controlled according to the environment change parameter, wherein the target terminal equipment is positioned in the target environment;
the data acquisition module is used for acquiring time data and acquiring target historical use data of the target terminal equipment according to the time data;
the parameter determining module is used for determining target operation parameters of the target terminal equipment according to the target historical use data;
and the equipment control module is used for controlling the target terminal equipment according to the target operation parameters.
11. A terminal, comprising a memory and one or more processors; the memory stores one or more programs; the program comprising instructions for carrying out the method of automatically controlling a terminal device according to any one of claims 1-9; the processor is configured to execute the program.
12. A computer-readable storage medium having stored thereon a plurality of instructions, wherein said instructions are loaded and executed by a processor to perform the steps of the method of automatically controlling a terminal device according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110584178.5A CN115406063A (en) | 2021-05-27 | 2021-05-27 | Method, device, terminal and storage medium for automatically controlling terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110584178.5A CN115406063A (en) | 2021-05-27 | 2021-05-27 | Method, device, terminal and storage medium for automatically controlling terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115406063A true CN115406063A (en) | 2022-11-29 |
Family
ID=84155350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110584178.5A Pending CN115406063A (en) | 2021-05-27 | 2021-05-27 | Method, device, terminal and storage medium for automatically controlling terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115406063A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115682207A (en) * | 2023-01-04 | 2023-02-03 | 江门市恒天科技有限公司 | Humidifier intelligent control method based on user use preference |
CN116739638A (en) * | 2023-06-16 | 2023-09-12 | 厦门广开电子有限公司 | Big data analysis system based on use habit of treasured consumer charges |
-
2021
- 2021-05-27 CN CN202110584178.5A patent/CN115406063A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115682207A (en) * | 2023-01-04 | 2023-02-03 | 江门市恒天科技有限公司 | Humidifier intelligent control method based on user use preference |
CN116739638A (en) * | 2023-06-16 | 2023-09-12 | 厦门广开电子有限公司 | Big data analysis system based on use habit of treasured consumer charges |
CN116739638B (en) * | 2023-06-16 | 2024-03-22 | 厦门广开电子有限公司 | Big data analysis system based on use habit of treasured consumer charges |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115406063A (en) | Method, device, terminal and storage medium for automatically controlling terminal equipment | |
CN108489042B (en) | Air conditioner control method, air conditioner, server, and storage medium | |
CN111397078B (en) | Parameter adjusting method and device and electrical equipment | |
CN113639435A (en) | Air conditioner control method, apparatus, medium, and program product | |
CN108958784B (en) | Software upgrading control method, household appliance, server, device and medium | |
CN110595017A (en) | Air conditioner temperature setting method and device, computer equipment and storage medium | |
CN110830334B (en) | Household appliance control method, device, system, server and household appliance | |
CN114928538A (en) | Equipment configuration processing method and device, computer equipment and storage medium | |
CN107341007B (en) | Display terminal, timing starting method thereof and computer readable storage medium | |
CN113672263A (en) | Firmware parameter update control method and device and electronic equipment | |
CN109425076A (en) | Adjusting method, device and the storage medium of air regulator | |
EP3767411A1 (en) | Control system, development assistance device, and development assistance program | |
CN111442501B (en) | Air conditioning equipment and control method and device thereof | |
CN110457101B (en) | Information processing method, electronic equipment and computer readable storage medium | |
CN111651067A (en) | Terminal control method, terminal and storage medium | |
CN111782494A (en) | Application software control method and device, computer equipment and storage medium | |
CN112432312A (en) | Air conditioning system information synchronization method, device and system and storage medium | |
CN112735118B (en) | Household appliance remote control method and device, infrared device and storage medium | |
CN114963497B (en) | Water temperature correction control method and device for water heater, electronic equipment and storage medium | |
CN114003394B (en) | Dynamic memory expansion method and device for memory shortage of constant temperature machine and constant temperature machine | |
CN109144347A (en) | Equipment state adjusting method, device, equipment and storage medium | |
CN108269166A (en) | Upgrade method, device, server and the storage medium of customed product | |
CN114079588B (en) | Equipment control method, device, server and storage medium | |
CN112015100B (en) | Intelligent switch authority adjusting method and device, intelligent switch and storage medium | |
CN110811290B (en) | Food pumping method and device, computer equipment and storage medium |
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 |