Control Method, Device, Electronic Device, Air Conditioner and Storage Medium
By obtaining the target information input by the user, determining the meteorological data corresponding to the target information, and controlling the operation of the air conditioner based on the meteorological data to simulate the environment corresponding to the target information, the problem of poor sleep quality is solved, and the effect of effectively promoting sleep and improving sleep quality is achieved.
Patent Information
- Application Number
- CN202211105051.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-09
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2042-09-09
AI Technical Summary
When people are under great work pressure, they are prone to poor sleep quality, prone to insomnia, and difficulty in falling asleep. The prior art is difficult to effectively simulate the environment in the target to promote sleep.
By obtaining the target information input by the user, the meteorological data corresponding to the target information is determined, and the air conditioner operation is controlled based on the meteorological data to simulate the environment corresponding to the target information.
By simulating the environment of the target, it can effectively promote sleep, improve sleep quality, and help users relax and restore energy.
Smart Images

Figure CN116085959B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of control technologies, and particularly to a control method, device, electronic device, air conditioner, and storage medium. Background Art
[0002] When people are under great work pressure, they are prone to problems such as poor sleep quality, insomnia, and difficulty falling asleep. Sleep quality directly affects people's physical and mental health, mental state, etc. Good sleep is the foundation of mental health. Deep sleep allows the cerebral cortex cells of people to be in a fully rested state, which is extremely important for stabilizing emotions, balancing the mind, and restoring energy. Research shows that the outdoor environment can make people closer to nature, make people more relaxed, and has a role in promoting sleep. Summary of the Invention
[0003] In view of the above problems, this application provides a control method, device, electronic device, air conditioner, and storage medium, which can control the air conditioner to simulate the environment of the target location to promote sleep.
[0004] This application provides a control method, including:
[0005] Obtaining the target location information input by the user;
[0006] Determining the meteorological data corresponding to the target location information;
[0007] Controlling the operation of the air conditioner based on the meteorological data to simulate the environment corresponding to the target location information.
[0008] In some embodiments, the meteorological data includes at least one of temperature, humidity, and wind speed. The controlling the operation of the air conditioner based on the meteorological data includes:
[0009] Respectively determining whether the temperature, humidity, and / or wind speed are within the parameter range corresponding to the air conditioner;
[0010] When it is determined that the temperature, humidity, and / or wind speed are within the corresponding parameter range, controlling the operation of the air conditioner based on the temperature, the humidity, and / or the wind speed.
[0011] In some embodiments, the meteorological data further includes: a wind sound audio file, and the method further includes:
[0012] Controlling the voice broadcast module of the air conditioner to play the wind sound audio file.
[0013] In some embodiments, the method further includes:
[0014] Determining the wind sound frequency based on the wind sound audio file;
[0015] Control the swing frequency of the air deflector of the air conditioner based on the wind sound frequency.
[0016] In some embodiments, the method further includes:
[0017] When it is determined that the temperature, humidity, and / or wind speed are not within the corresponding parameter ranges, control the voice broadcast module of the air conditioner to output a first prompt message for prompting that the temperature, humidity, and / or wind speed are not within the corresponding parameter ranges.
[0018] In some embodiments, determining the meteorological data corresponding to the target location information includes:
[0019] Send the target location information to the cloud so that the cloud queries based on the target location information to obtain a query result;
[0020] Obtain the query result sent by the cloud;
[0021] When the query result indicates that there is meteorological data corresponding to the target location information, obtain the meteorological data corresponding to the target location information.
[0022] In some embodiments, the method further includes:
[0023] When the query result indicates that there is no meteorological data corresponding to the target location information, control the voice broadcast module of the air conditioner to output a second prompt message for prompting the user that the meteorological data corresponding to the target location information cannot be queried.
[0024] An embodiment of the present application provides a control device, including:
[0025] An acquisition module for acquiring target location information input by a user;
[0026] A determination module for determining the meteorological data corresponding to the target location information;
[0027] A control module for controlling the operation of the air conditioner based on the meteorological data to simulate the environment corresponding to the target location information.
[0028] An embodiment of the present application provides an electronic device, including a memory and a processor. When the computer program stored on the memory is executed by the processor, the above-mentioned control method is executed.
[0029] An embodiment of the present application provides an air conditioner, including: the above-mentioned electronic device.
[0030] An embodiment of the present application provides a computer-readable storage medium. The computer program stored in the computer-readable storage medium can be executed by one or more processors and can be used to implement the above-mentioned control method.
[0031] A control method, device, electronic device, air conditioner and storage medium provided by the present application can promote sleep by obtaining destination information input by a user, then determining meteorological data corresponding to the destination information, and controlling the operation of the air conditioner based on the meteorological data, so as to simulate the environment corresponding to the destination information through the air conditioner. Description of the Drawings
[0032] In the following, the present application will be described in more detail based on embodiments with reference to the drawings.
[0033] Figure 1 It is a schematic flowchart of the implementation of a control method provided in the related art;
[0034] Figure 2 It is a schematic structural diagram of a control system provided by an embodiment of the present application;
[0035] Figure 3 It is a schematic structural diagram of a control device provided by an embodiment of the present application;
[0036] Figure 4 It is a schematic diagram of the composition structure of an electronic device provided by an embodiment of the present application.
[0037] In the drawings, the same components are denoted by the same reference numerals, and the drawings are not drawn to actual scale. Detailed Embodiments
[0038] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings. The described embodiments should not be construed as limiting the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.
[0039] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with each other without conflict.
[0040] If similar descriptions such as "first / second / third" appear in the application documents, the following description shall be added. In the following description, the terms "first / second / third" only distinguish similar objects and do not represent a specific order for the objects. Understandably, "first / second / third" can be interchanged in a specific order or sequence when allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0042] Based on the problems existing in the related art, embodiments of the present application provide a control method. The method is applied to an electronic device, such as a computer, a mobile terminal, a server, a cloud data center, etc. The mobile terminal may include a mobile phone, a tablet computer, etc. In some embodiments, the electronic device may be installed on an air conditioner, and the electronic device may be a controller of the air conditioner. The functions implemented by the control method provided by the embodiments of the present application can be realized by a processor of the electronic device calling program code, where the program code can be stored in a computer storage medium.
[0043] Example 1
[0044] Embodiments of the present application provide a control method. Figure 1 For the implementation flow schematic diagram of a control method provided by an embodiment of the present application, as Figure 1 shown, the method includes:
[0045] Step S101, obtaining target location information input by the user.
[0046] In the embodiments of the present application, an APP for controlling the air conditioner may be installed on the electronic device. After the user opens the APP, the user inputs the target location information through the APP. The APP may determine the target location information input by the user by obtaining the user's voice information. In some embodiments, a virtual keyboard may also be output on the APP, and the user inputs the target location information through the virtual keyboard, so that the electronic device obtains the target location information input by the user. In some embodiments, the user may set multiple pieces of target location information, and option information may be output in the APP. The user selects the target location information from the option of the target location information, so that the electronic device obtains the target location information.
[0047] In some embodiments, the target location information input by the user may be obtained through a voice module.
[0048] In the embodiments of the present application, the destination can be an outdoor location. For example, the destination information is Location A.
[0049] In the embodiments of the present application, the user can input the destination information before going to sleep to control the air conditioner, so as to promote the user's sleep.
[0050] Step S102, determine the meteorological data corresponding to the destination information.
[0051] In the embodiments of the present application, the corresponding relationship between the destination information and the meteorological data can be stored in the electronic device, and the meteorological data can be configured by the user. The user can set the meteorological data of Location A as the most suitable meteorology. After the electronic device obtains the destination information, it can determine the meteorological data corresponding to the destination information based on the corresponding relationship.
[0052] In some embodiments, the meteorological data can be real-time meteorological data. For real-time meteorological data, the electronic device can be communicatively connected to the cloud. The electronic device sends the destination information to the cloud. After the cloud obtains the destination information, it can query the meteorological data corresponding to the destination information in the meteorological monitoring station.
[0053] In the embodiments of the present application, the meteorological data can include one or more of temperature, humidity, wind speed, and wind sound audio file.
[0054] Continuing with the above example, determine the temperature, humidity, wind speed, and wind sound audio file corresponding to Location A.
[0055] Step S103, control the operation of the air conditioner based on the meteorological data to simulate the environment corresponding to the destination information.
[0056] In the embodiments of the present application, the operating state of the air conditioner can be controlled based on temperature, humidity, and wind speed, and the air conditioner temperature, humidity, and air outlet wind speed can be adjusted to be consistent with the environment of the destination.
[0057] A control method provided by the present application can promote sleep by obtaining the destination information input by the user, then determining the meteorological data corresponding to the destination information, and controlling the operation of the air conditioner based on the meteorological data, so as to simulate the environment corresponding to the destination information through the air conditioner.
[0058] In some embodiments, the meteorological data includes at least one of temperature, humidity, and wind speed. The step S103 "controlling the operation of the air conditioner based on the meteorological data" can be implemented by the following steps:
[0059] Step S1031, respectively determine whether the temperature, humidity, and / or wind speed are within the parameter range corresponding to the air conditioner.
[0060] In the embodiments of the present application, the parameter ranges corresponding to the air conditioner include: a temperature range, a humidity range, and a wind speed range. Exemplarily, taking the temperature range as an example, the temperature range is from 16°C to 36°C.
[0061] In the embodiments of the present application, it is possible to compare whether the temperature is within the temperature range, whether the humidity is within the humidity range, and / or whether the wind speed is within the wind speed range.
[0062] Step S1032, when it is determined that the temperature, humidity, and / or wind speed are within the corresponding parameter ranges, control the operation of the air conditioner based on the temperature, humidity, and / or wind speed.
[0063] In the embodiments of the present application, when the temperature, humidity, and / or wind speed are within the corresponding parameter ranges, it indicates that the air conditioner can adjust the temperature, humidity, and / or wind speed to the parameters corresponding to the meteorological data.
[0064] In the embodiments of the present application, by controlling the air conditioner, it is possible to ensure that the user has a tactile feeling of temperature, humidity, and wind blowing. It can simulate the environment of the target location, thus contributing to the user's sleep.
[0065] In some embodiments, after step S1031, the method further includes:
[0066] Step S1033, when it is determined that the temperature, humidity, and / or wind speed are not within the corresponding parameter ranges, control the voice broadcast module of the air conditioner to output a first prompt message, where the first prompt message is used to prompt that the temperature, humidity, and / or wind speed are not within the corresponding parameter ranges.
[0067] In the embodiments of the present application, the first prompt message can be played through the voice broadcast module. The first prompt message can be: the temperature adjustment exceeds the temperature range, the wind speed adjustment exceeds the wind speed range, and / or the humidity adjustment exceeds the humidity range.
[0068] In the embodiments of the present application, the voice broadcast module can be a speaker.
[0069] In some embodiments, the meteorological data further includes: a wind sound audio file.
[0070] In the embodiments of the present application, when the wind sound audio file is played, it can play a sound, and this sound is the sound of the wind.
[0071] In the embodiments of the present application, while step S103 is being executed, the method further includes:
[0072] Step S104, control the voice broadcast module of the air conditioner to play the wind sound audio file.
[0073] In the embodiments of the present application, by playing a wind sound audio file, the auditory experience of the user can be guaranteed, so that the user can be on the scene and experience outdoor sleep, thereby promoting the user to fall asleep and improving the sleep quality.
[0074] In some embodiments, in order to make the outdoor environment of the simulated destination more realistic, the method further includes:
[0075] Step S105, determining the wind sound frequency based on the wind sound audio file.
[0076] In the embodiments of the present application, the wind sound audio file can be analyzed to determine the frequency of the sound, that is, the wind sound frequency. The frequency of the wind sound can be analyzed by an audio analysis tool or an acoustic spectrum analysis software.
[0077] Step S106, controlling the swing frequency of the air conditioner's air deflector based on the wind sound frequency.
[0078] In the embodiments of the present application, a corresponding relationship between the wind sound frequency and the sweeping direction and speed of the air deflector can be established in advance. After determining the wind sound frequency, the sweeping direction and speed of the air deflector can be determined, thereby controlling the swing frequency of the air conditioner's air deflector.
[0079] In some embodiments, the waveform of the wind sound audio file can be analyzed, and then converted into a sweeping direction and speed based on the waveform, so as to control the air conditioner according to the sweeping direction and speed.
[0080] In the embodiments of the present application, the movement of the air deflector can be controlled based on the sweeping direction and speed, so as to simulate the wind sound frequency through the air deflector.
[0081] In the embodiments of the present application, by simulating the wind sound frequency, the environment where the user's air conditioner is located is made closer to the environment of the destination, thereby promoting the user to fall asleep and improving the sleep quality.
[0082] In some embodiments, step S102 "determining the meteorological data corresponding to the destination information" can be implemented through the following steps:
[0083] Step S1021, sending the destination information to the cloud so that the cloud queries based on the destination information to obtain a query result.
[0084] In the embodiments of the present application, the electronic device can be communicatively connected to the cloud. After the electronic device obtains the destination information, it can be sent to the cloud.
[0085] In the embodiments of the present application, the cloud can query and search based on the destination information to obtain a query result. The query result may include: there is no meteorological data corresponding to the destination, and there is meteorological data corresponding to the destination.
[0086] Step S1022, obtain the query result sent by the cloud.
[0087] In the embodiment of the present application, after the cloud determines the query result, it sends the query result to the electronic device, so that the electronic device obtains the query result.
[0088] Step S1023, when the query result indicates the existence of meteorological data corresponding to the target location information, obtain the meteorological data corresponding to the target location information.
[0089] In the embodiment of the present application, the electronic device can parse the query result. If the query result indicates the existence of meteorological data corresponding to the target location information, the electronic device obtains the meteorological data corresponding to the target location information.
[0090] In some embodiments, the method further includes:
[0091] Step S1023, when the query result indicates the non-existence of meteorological data corresponding to the target location information, control the voice broadcast module of the air conditioner to output a second prompt message, where the second prompt message is used to prompt the user that the meteorological data corresponding to the target location information cannot be queried.
[0092] Example 2
[0093] Based on the foregoing embodiments, the embodiment of the present application further provides a control method, which is applied to a control system. Figure 2 The following is a schematic structural diagram of a control system provided by the embodiment of the present application. As Figure 2 shown, it includes:
[0094] The control system includes: APP, cloud data center, meteorological monitoring station, voice module, air conditioner control module, broadcast module, audio analysis module, etc. Among them, the APP and the voice module are used to obtain target information (the same as the target location information in the above embodiments). The APP and the voice module send the target information to the cloud data center, and the cloud data center obtains meteorological data from the meteorological monitoring station. The cloud data center sends the audio file to the audio analysis module for analysis to obtain frequency information, and sends the frequency information and temperature, humidity, and wind speed data to the air conditioner control module to control the air conditioner.
[0095] In the embodiments of the present application, the user can issue a target information (such as: the outdoor environment of the Sun and Moon Shell) through the voice module or the APP application. Then the voice module or the APP application will send the target information to the cloud data center. The cloud data center will query the meteorological data of the outdoor environment of the Sun and Moon Shell from a large number of meteorological monitoring stations. The meteorological data includes the temperature, humidity, wind speed, and environmental monitoring wind sound of the current target. And it will send the temperature, humidity, and wind speed data of the current target to the air conditioner control module; and send the environmental monitoring wind sound audio file to the audio analysis module. If the cloud data center cannot query the corresponding target, it will issue a reminder (such as: the target cannot be queried), and send it to the air conditioner control module, which will broadcast it through the broadcast module.
[0096] The audio analysis module obtains the wind sound audio file monitored by the meteorological monitoring station from the cloud data center, analyzes its wind sound frequency, and keeps the wind speed frequency change consistent with the audio file time (to facilitate subsequent synchronization of the wind sound played when playing the audio file and the frequency controlling the swing frequency of the air deflector in time), and sends the frequency information to the air conditioner control module.
[0097] The air conditioner control module obtains the temperature, humidity, wind speed and other information from the cloud data center, will control the air conditioner to adjust the air conditioner state, and adjust the air conditioner temperature, humidity, and air outlet wind speed to be consistent with the target outdoor environment; if the air conditioner control module such as temperature, humidity, and wind speed obtains the frequency information from the audio analysis module, it will control the air deflector to swing at the same frequency at a certain angle according to the frequency.
[0098] The broadcast module broadcasts the audio file sent by the air conditioner control module.
[0099] For the control method provided by the embodiments of the present application, the user issues an instruction to the air conditioner, obtains the user's outdoor target, and obtains the outdoor target meteorological data through networking. Adjust the air conditioner state to achieve the temperature, humidity, and wind speed of the target outdoor environment; and play the wind sound audio file in the meteorological data through the broadcast module. Thus, it simulates the outdoor environment to make the user feel immersive from the sense of touch and hearing to promote sleep.
[0100] Example 3
[0101] Based on the foregoing embodiments, an embodiment of the present application provides a control device. Each module included in the device, as well as each unit included in each module, can be implemented by a processor in a computer device; of course, it can also be implemented by specific logic circuits. During implementation, the processor can be a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Microprocessor Unit), a digital signal processor (DSP, Digital Signal Processing), or a field programmable gate array (FPGA, Field Programmable Gate Array), etc.
[0102] An embodiment of the present application provides a control device. Figure 3 As shown in the structural schematic diagram of a control device provided by an embodiment of the present application, Figure 3 as shown, the control device 300 includes:
[0103] An acquisition module 301, configured to acquire target location information input by a user;
[0104] A determination module 302, configured to determine meteorological data corresponding to the target location information;
[0105] A control module 303, configured to control the operation of the air conditioner based on the meteorological data to simulate the environment corresponding to the target location information.
[0106] In some embodiments, the meteorological data includes at least one of temperature, humidity, and wind speed. The controlling the operation of the air conditioner based on the meteorological data includes:
[0107] Respectively determining whether the temperature, humidity, and / or wind speed are within the parameter range corresponding to the air conditioner;
[0108] When it is determined that the temperature, humidity, and / or wind speed are within the corresponding parameter range, controlling the operation of the air conditioner based on the temperature, the humidity, and / or the wind speed.
[0109] In some embodiments, the meteorological data further includes: a wind sound audio file, and the control device 300 is further configured to:
[0110] Control the voice broadcast module of the air conditioner to play the wind sound audio file.
[0111] In some embodiments, the control device 300 is further configured to: determine the wind sound frequency based on the wind sound audio file;
[0112] Control the swing frequency of the air deflector of the air conditioner based on the wind sound frequency.
[0113] In some embodiments, the control device 300 is further configured to: when it is determined that the temperature, humidity, and / or wind speed are not within the corresponding parameter ranges, control the voice broadcast module of the air conditioner to output a first prompt message for prompting that the temperature, humidity, and / or wind speed are not within the corresponding parameter ranges.
[0114] In some embodiments, determining the meteorological data corresponding to the target location information includes:
[0115] Sending the target location information to the cloud so that the cloud queries based on the target location information to obtain a query result;
[0116] Obtaining the query result sent by the cloud;
[0117] When the query result indicates that there is meteorological data corresponding to the target location information, obtaining the meteorological data corresponding to the target location information.
[0118] In some embodiments, determining the meteorological data corresponding to the target location information further includes:
[0119] When the query result indicates that there is no meteorological data corresponding to the target location information, controlling the voice broadcast module of the air conditioner to output a second prompt message for prompting the user that the meteorological data corresponding to the target location information cannot be queried.
[0120] It should be noted that in the embodiments of the present application, if the above control method is implemented in the form of software function modules and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read Only Memory), magnetic disks, or optical discs that can store program codes. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0121] Correspondingly, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps in the control method provided in the above embodiments are implemented.
[0122] Example 4
[0123] An embodiment of the present application provides an electronic device; Figure 4 It is a schematic diagram of the composition structure of the electronic device provided by the embodiment of the present application. As Figure 4 shown, the electronic device 700 includes: a processor 701, at least one communication bus 702, a user interface 703, at least one external communication interface 704, and a memory 705. Among them, the communication bus 702 is configured to implement connection communication between these components. Among them, the user interface 703 may include a display screen, and the external communication interface 704 may include a standard wired interface and a wireless interface. The processor 701 is configured to execute a program of a control method stored in the memory to implement the steps in the control method provided in the above embodiment.
[0124] The descriptions of the above embodiments of the electronic device and the storage medium are similar to the descriptions of the above method embodiments, and have beneficial effects similar to those of the method embodiments. For the technical details not disclosed in the embodiments of the computer device and the storage medium of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.
[0125] It should be pointed out here that: the descriptions of the above embodiments of the storage medium and the device are similar to the descriptions of the above method embodiments, and have beneficial effects similar to those of the method embodiments. For the technical details not disclosed in the embodiments of the storage medium and the device of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.
[0126] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures, or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the appearances of "in one embodiment" or "in an embodiment" throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the magnitudes of the serial numbers of the above processes do not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The serial numbers of the embodiments of the present application above are only for description and do not represent the advantages or disadvantages of the embodiments.
[0127] It should be noted that in this article, the term "comprising", "including" or any other variant thereof is intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "including a..." does not exclude the presence of additional identical elements in the process, method, article or device including the element.
[0128] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the couplings, direct couplings, or communication connections between the various components shown or discussed may be through some interfaces. The indirect couplings or communication connections of devices or units can be electrical, mechanical, or other forms.
[0129] The units described above as separate components may or may not be physically separated. The components shown as units may or may not be physical units. They can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0130] In addition, each functional unit in the embodiments of the present application can be all integrated in a processing unit, or each unit can be separately used as a unit, or two or more units can be integrated in a unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.
[0131] Those of ordinary skill in the art can understand that all or part of the steps to implement the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above method embodiments. The foregoing storage medium includes: removable storage devices, read-only memories (ROMs), magnetic disks, or optical disks, etc., which can store program codes.
[0132] Alternatively, if the above-mentioned integrated units of the present application are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to enable a controller to execute all or part of the methods described in the various embodiments of the present application. The foregoing storage medium includes: removable storage devices, ROMs, magnetic disks, or optical disks, etc., which can store program codes.
[0133] As described above, it is only the implementation mode of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims described above.
Claims
1. A control method, characterized in that, Including: Obtain the destination information input by the user; Determine the meteorological data corresponding to the destination information; Control the operation of the air conditioner based on the meteorological data to simulate the environment corresponding to the destination information; The meteorological data includes at least one of temperature, humidity, and wind speed. Controlling the operation of the air conditioner based on the meteorological data includes: Respectively determine whether the temperature, humidity, and / or wind speed are within the parameter range corresponding to the air conditioner; When it is determined that the temperature, humidity, and / or wind speed are within the corresponding parameter range, control the operation of the air conditioner based on the temperature, the humidity, and / or the wind speed; The meteorological data further includes: a wind sound audio file. The method further includes: Control the voice broadcast module of the air conditioner to play the wind sound audio file; The method further includes: Determine the wind sound frequency based on the wind sound audio file; Control the swing frequency of the air deflector of the air conditioner based on the wind sound frequency.
2. The method according to claim 1, characterized in that, The method further includes: When it is determined that the temperature, humidity, and / or wind speed are not within the corresponding parameter range, control the voice broadcast module of the air conditioner to output a first prompt message, and the first prompt message is used to prompt that the temperature, humidity, and / or wind speed are not within the corresponding parameter range.
3. The method according to claim 1, characterized in that, Determining the meteorological data corresponding to the destination information includes: Send the destination information to the cloud so that the cloud queries based on the destination information to obtain a query result; Obtain the query result sent by the cloud; When the query result indicates that there is meteorological data corresponding to the destination information, obtain the meteorological data corresponding to the destination information.
4. The method according to claim 3, characterized in that, The method further includes: When the query result indicates that there is no meteorological data corresponding to the destination information, control the voice broadcast module of the air conditioner to output a second prompt message, and the second prompt message is used to prompt the user that the meteorological data corresponding to the destination information cannot be queried.
5. A control device, characterized in that, Including: An acquisition module for acquiring the destination information input by the user; A determination module for determining the meteorological data corresponding to the destination information; A control module for controlling the operation of the air conditioner based on the meteorological data to simulate the environment corresponding to the destination information; The meteorological data includes at least one of temperature, humidity, and wind speed. The control module is used for: Respectively determine whether the temperature, humidity, and / or wind speed are within the parameter range corresponding to the air conditioner; When it is determined that the temperature, humidity, and / or wind speed are within the corresponding parameter range, control the operation of the air conditioner based on the temperature, the humidity, and / or the wind speed; The meteorological data further includes: a wind sound audio file. The control device is further used for: Control the voice broadcast module of the air conditioner to play the wind sound audio file; The control device is further used for: Determine the wind sound frequency based on the wind sound audio file; Control the swing frequency of the air deflector of the air conditioner based on the wind sound frequency.
6. An electronic device, characterized in that, Including a memory and a processor. A computer program is stored on the memory. When the computer program is executed by the processor, it executes the control method according to any one of claims 1 to 4.
7. An air conditioner, characterized in that, Including:The electronic device according to claim 6.
8. A storage medium, characterized in that, The computer program stored in the storage medium can be executed by one or more processors and can be used to implement the control method described in any one of claims 1 to 4.
Citation Information
Patent Citations
Air conditioner control method and device, storage medium and air conditioner
CN108302711A
Air conditioning device, control method thereof, control terminal and server
CN108397862A