CN112923526B - Temperature adjusting method, fan, system and storage medium - Google Patents
Temperature adjusting method, fan, system and storage medium Download PDFInfo
- Publication number
- CN112923526B CN112923526B CN201911236529.2A CN201911236529A CN112923526B CN 112923526 B CN112923526 B CN 112923526B CN 201911236529 A CN201911236529 A CN 201911236529A CN 112923526 B CN112923526 B CN 112923526B
- Authority
- CN
- China
- Prior art keywords
- fan
- air conditioner
- position information
- air
- temperature adjustment
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000007664 blowing Methods 0.000 claims abstract description 78
- 238000004891 communication Methods 0.000 claims description 32
- 238000004590 computer program Methods 0.000 claims description 16
- 238000011897 real-time detection Methods 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 18
- 238000005516 engineering process Methods 0.000 description 7
- 238000001816 cooling Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 2
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 238000004378 air conditioning Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 238000013527 convolutional neural network Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000005485 electric heating Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000004297 night vision Effects 0.000 description 1
- 230000000306 recurrent effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 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/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
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D27/00—Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
-
- 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/56—Remote control
-
- 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
- F24F11/79—Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure for controlling the direction of the supplied air
-
- 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
- F24F2120/00—Control inputs relating to users or occupants
- F24F2120/10—Occupancy
- F24F2120/12—Position of occupants
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Air Conditioning Control Device (AREA)
Abstract
Description
技术领域technical field
本申请涉及智能家居领域,尤其涉及一种温度调节方法、风扇、系统和存储介质。The present application relates to the field of smart homes, and in particular, to a temperature adjustment method, a fan, a system and a storage medium.
背景技术Background technique
风扇和空调都是可以使空气加速流通、降低室内温度的家用电器。但是现有的风扇无法和空调配合使用,例如在开启空调对室内降温,风扇无法将空调冷气吹散,使室内快速降温;当室内温度下降后,空调会一直保持工作状态,浪费资源。现有的风扇不够智能化,不能提高用户的体验度。Fans and air conditioners are both home appliances that circulate air faster and lower the temperature in the room. However, the existing fans cannot be used in conjunction with the air conditioner. For example, when the air conditioner is turned on to cool the room, the fan cannot blow away the cold air from the air conditioner to quickly cool the room; when the indoor temperature drops, the air conditioner will keep working and waste resources. Existing fans are not intelligent enough to improve user experience.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种温度调节方法、风扇、系统和存储介质,通过确定空调的吹风方向以及风扇的送风范围,实现风扇和空调联合调节室内温度的效果,提高了用户的体验度。The present application provides a temperature adjustment method, a fan, a system and a storage medium. By determining the air blowing direction of the air conditioner and the air supply range of the fan, the effect of the fan and the air conditioner jointly adjusting the indoor temperature is realized, and the user experience is improved.
第一方面,本申请提供了一种温度调节方法,应用于温度调节系统中风扇中,所述温度调节系统包括互联的空调和风扇,所述温度调节方法包括:In a first aspect, the present application provides a temperature adjustment method, which is applied to a fan in a temperature adjustment system, where the temperature adjustment system includes an interconnected air conditioner and a fan, and the temperature adjustment method includes:
确定空调相对风扇的第一位置信息;determining the first position information of the air conditioner relative to the fan;
确定用户相对所述风扇的第二位置信息;determining the second position information of the user relative to the fan;
根据所述第一位置信息和所述第二位置信息,确定所述空调的吹风方向以及所述风扇的送风范围;determining the blowing direction of the air conditioner and the blowing range of the fan according to the first position information and the second position information;
发送包括所述吹风方向的吹风指令至所述空调,以使所述空调按照所述吹风指令吹风;sending a blowing instruction including the blowing direction to the air conditioner, so that the air conditioner blows according to the blowing instruction;
调节所述风扇的转动角度在所述送风范围内送风。The rotation angle of the fan is adjusted to supply air within the air supply range.
第二方面,本申请还提供了一种风扇,所述风扇包括通信模块、存储器和处理器;In a second aspect, the present application further provides a fan, the fan includes a communication module, a memory and a processor;
所述通信模块用于与空调进行通信;the communication module is used to communicate with the air conditioner;
所述存储器,用于存储计算机程序;the memory for storing computer programs;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时实现如上述的温度调节方法。The processor is configured to execute the computer program and implement the above temperature adjustment method when executing the computer program.
第三方面,本申请还提供了一种温度调节系统,所述温度调节系统包括风扇和空调;In a third aspect, the present application also provides a temperature adjustment system, the temperature adjustment system includes a fan and an air conditioner;
所述风扇,设有通信模块;The fan is provided with a communication module;
所述空调,设有用于与所述风扇进行通信的通信模块;the air conditioner is provided with a communication module for communicating with the fan;
其中,所述空调用于根据所述风扇发送的吹风指令进行吹风,所述风扇用于实现如上述的温度调节方法。Wherein, the air conditioner is used for blowing air according to a blowing instruction sent by the fan, and the fan is used for implementing the above temperature adjustment method.
第四方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如上述的温度调节方法。In a fourth aspect, the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the above temperature adjustment method .
本申请公开了一种温度调节方法、风扇、系统和存储介质,通过确定空调相对风扇的第一位置信息和确定用户相对风扇的第二位置信息,可以准确得到空调和用户的位置信息;根据第一位置信息和第二位置信息,可以确定空调的吹风方向以及风扇的送风范围;通过发送包括吹风方向的吹风指令至空调,以使空调按照吹风指令吹风,可以对用户所在位置进行吹风,提高用户吹风时的舒适性,更加智能化;调节风扇的转动角度在送风范围内送风,实现风扇和空调联合调节室内温度的效果,使室内温度快速下降,提高了用户的体验度。The present application discloses a temperature adjustment method, a fan, a system and a storage medium. By determining the first position information of the air conditioner relative to the fan and determining the second position information of the user relative to the fan, the position information of the air conditioner and the user can be accurately obtained; The first position information and the second position information can determine the air blowing direction of the air conditioner and the air supply range of the fan; by sending the air blowing instruction including the air blowing direction to the air conditioner, so that the air conditioner blows according to the air blowing instruction, the air conditioner can blow air at the location of the user, improving the performance of the air conditioner. The comfort of the user when blowing is more intelligent; the rotation angle of the fan is adjusted to supply air within the air supply range, and the effect of the fan and the air conditioner to jointly adjust the indoor temperature is realized, which makes the indoor temperature drop rapidly and improves the user experience.
附图说明Description of drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.
图1是本申请的实施例提供的一种温度调节系统的结构示意图;1 is a schematic structural diagram of a temperature regulation system provided by an embodiment of the present application;
图2是本申请的实施例提供的一种风扇的示意性框图;2 is a schematic block diagram of a fan provided by an embodiment of the present application;
图3是本申请的实施例提供的一种温度调节方法的步骤示意流程图;3 is a schematic flowchart of steps of a temperature adjustment method provided by an embodiment of the present application;
图4是本申请的实施例提供的三角形定位原理的示意图;4 is a schematic diagram of a triangle positioning principle provided by an embodiment of the present application;
图5是本申请的实施例提供的全景图像的示意图;5 is a schematic diagram of a panoramic image provided by an embodiment of the present application;
图6是本申请的实施例提供的另一全景图像的示意图FIG. 6 is a schematic diagram of another panoramic image provided by an embodiment of the present application
图7是本申请实施例提供的确定用户相对空调的方位角度的示意图;7 is a schematic diagram of determining an azimuth angle of a user relative to an air conditioner provided by an embodiment of the present application;
图8是本申请实施例提供的确定第一方位角和第二方位角的示意图;8 is a schematic diagram of determining a first azimuth angle and a second azimuth angle provided by an embodiment of the present application;
图9是本申请实施例提供的在送风范围内摆动送风的场景示意图;9 is a schematic diagram of a scene of swinging air supply within an air supply range provided by an embodiment of the present application;
图10是本申请实施例提供的在送风范围内定向送风的场景示意图。FIG. 10 is a schematic diagram of a scenario of directional air supply within an air supply range provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the figures are for illustration only, and do not necessarily include all contents and operations/steps, nor do they have to be performed in the order described. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to the actual situation.
应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should be understood that the terms used in the specification of the present application herein are for the purpose of describing particular embodiments only and are not intended to limit the present application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural unless the context clearly dictates otherwise.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It will also be understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items.
请参阅图1,图1是本申请的实施例提供的一种温度调节系统的结构示意图。该温度调节系统100包括风扇10和空调20,风扇10和空调20通信连接用于控制空调20。Please refer to FIG. 1 , which is a schematic structural diagram of a temperature adjustment system provided by an embodiment of the present application. The
比如,用于向空调20发送吹风指令,以使所述空调20根据所述吹风指令对用户进行吹风。For example, it is used to send a blowing instruction to the
具体地,可以在风扇10中安装通信模块,可以实现将吹风指令发送至所述空调20中,以使所述空调20按照所述吹风指令进行吹风。Specifically, a communication module may be installed in the
其中,所述空调20可以包括挂壁式空调、立柜式空调、窗式空调、中央空调等等。所述空调20也可以是单冷空调或冷暖两用空调。The
其中,所述风扇10包括落地扇、塔扇、台扇、无叶风扇、壁扇等,当然也可以包括电暖扇或空调扇等。示例性的,风扇10的送风可以是常温风、冷风或暖风。Wherein, the
具体地,该风扇10中设有通信模块,该通信模块用于和空调20进行通信连接,比如为蓝牙模块、Wi-Fi模块、4G模块、5G模块、NB-IoT模块、LoRa模块等等。Specifically, the
示例性的,采用WiFi模块与空调20进行通信连接;同时该空调中也设有WiFi模块。Exemplarily, a WiFi module is used to communicate with the
需要说明的是,Wi-Fi模块是将串口或TTL电平转为符合Wi-Fi无线网络通信标准的嵌入式模块,内置无线网络协议IEEE802.11b.g.n协议栈以及TCP/IP协议栈。WiFi模块通过指定信道号的方式来进行快速联网。在通常的无线联网过程中,会首先对当前的所有信道自动进行一次扫描,搜索准备连接的目的AP创建的网络。传统的硬件设备嵌入Wi-Fi模块可以直接利用Wi-Fi联入互联网,是实现无线智能家居、M2M等物联网应用的重要组成部分。It should be noted that the Wi-Fi module is an embedded module that converts the serial port or TTL level into an embedded module that conforms to the Wi-Fi wireless network communication standard, and has a built-in wireless network protocol IEEE802.11b.g.n protocol stack and TCP/IP protocol stack. The WiFi module performs fast networking by specifying the channel number. In the normal wireless networking process, all current channels are automatically scanned once, and the network created by the destination AP to be connected is searched. Traditional hardware devices embedded in Wi-Fi modules can directly use Wi-Fi to connect to the Internet, which is an important part of realizing wireless smart home, M2M and other Internet of Things applications.
其中,风扇10和空调20配合用于执行本申请实施例提供的温度调节方法,以实现快速降低室内的温度,提高了用户的体验度。The
示例性的,所述风扇与室内的空调进行通信连接,通过确定所述空调相对所述风扇的第一位置信息和确定用户相对风扇的第二位置信息,可以准确得到所述空调和所述用户的位置信息;根据所述第一位置信息和所述第二位置信息,可以确定所述空调的吹风方向以及所述风扇的送风范围;通过发送包括吹风方向的吹风指令至所述空调,以使所述空调按照吹风指令吹风,可以对所述用户所在位置进行吹风,提高所述用户吹风时的舒适性,更加智能化;调节所述风扇的转动角度在送风范围内送风,实现所述风扇和所述空调联合调节室内温度的效果,使室内温度快速下降,提高了用户的体验度。Exemplarily, the fan is connected in communication with an indoor air conditioner, and by determining the first position information of the air conditioner relative to the fan and determining the second position information of the user relative to the fan, the air conditioner and the user can be accurately obtained. location information; according to the first location information and the second location information, the air blowing direction of the air conditioner and the air supply range of the fan can be determined; by sending a blowing instruction including the air blowing direction to the air conditioner, Making the air conditioner blow air according to the blowing instruction can blow air at the location of the user, improving the comfort of the user when blowing air, and making it more intelligent; adjusting the rotation angle of the fan to supply air within the air supply range to achieve all The effect of jointly adjusting the indoor temperature by the fan and the air conditioner makes the indoor temperature drop rapidly and improves the user experience.
请结合图2,图2是本申请实施例提供的一种风扇的示意性框图。在图2中,该风扇10包括处理器11、存储器12和通信模块13,其中,处理器11、存储器12和通信模块13通过总线连接,该总线比如为I2C(Inter-integrated Circuit)总线。Please refer to FIG. 2 . FIG. 2 is a schematic block diagram of a fan provided by an embodiment of the present application. In FIG. 2 , the
其中,存储器12可以包括非易失性存储介质和内存储器。Among them, the
非易失性存储介质可存储操作系统和计算机程序。该计算机程序包括程序指令,该程序指令被执行时,可使得处理器执行任意一种温度调节方法。The nonvolatile storage medium can store operating systems and computer programs. The computer program includes program instructions that, when executed, cause the processor to perform any temperature adjustment method.
通信模块13用于通信,在本申请的实施例中主要用于与空调进行通信。The
处理器11用于提供计算和控制能力,支撑整个风扇的运行。The
其中,所述处理器可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (application specific integrated circuit) , ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
其中,所述处理器11用于运行存储在存储器12中的计算机程序,并在执行所述计算机程序时实现如下步骤:Wherein, the
确定空调相对风扇的第一位置信息;确定用户相对所述风扇的第二位置信息;根据所述第一位置信息和所述第二位置信息,确定所述空调的吹风方向以及所述风扇的送风范围;发送包括所述吹风方向的吹风指令至所述空调,以使所述空调按照所述吹风指令吹风;调节所述风扇的转动角度在所述送风范围内送风。Determine the first position information of the air conditioner relative to the fan; determine the second position information of the user relative to the fan; determine the blowing direction of the air conditioner and the blowing direction of the fan according to the first position information and the second position information wind range; sending a blowing instruction including the blowing direction to the air conditioner, so that the air conditioner blows according to the blowing instruction; adjusting the rotation angle of the fan to blow air within the blowing range.
在一些实施例中,所述处理器在实现根据所述第一位置信息和所述第二位置信息,确定所述空调的吹风方向时,实现:In some embodiments, when the processor determines the air blowing direction of the air conditioner according to the first location information and the second location information, the processor implements:
根据所述第一位置信息和所述第二位置信息,确定所述用户相对所述空调的方位信息;根据所述方位信息确定所述空调的吹风方向。The orientation information of the user relative to the air conditioner is determined according to the first position information and the second position information; the blowing direction of the air conditioner is determined according to the orientation information.
在一些实施例中,所述处理器在根据所述第一位置信息和所述第二位置信息,确定所述风扇的送风范围时,实现:In some embodiments, when determining the air supply range of the fan according to the first position information and the second position information, the processor implements:
根据所述第一位置信息,确定所述空调相对所述风扇的第一方位角;根据所述第二位置信息,确定所述用户相对所述风扇的第二方位角;根据所述第一方位角和所述第二方位角,确定所述风扇对应的送风范围。According to the first position information, determine the first azimuth angle of the air conditioner relative to the fan; according to the second position information, determine the second azimuth angle of the user relative to the fan; according to the first azimuth angle and the second azimuth angle to determine the air supply range corresponding to the fan.
在一些实施例中,所述处理器在实现调节所述风扇的转动角度在所述送风范围内送风时,实现:In some embodiments, when the processor adjusts the rotation angle of the fan to supply air within the air supply range, the processor implements:
调节所述风扇的转动角度在所述送风范围内进行定向送风;或调节所述风扇的转动角度在所述送风范围内进行摆动送风。Adjust the rotation angle of the fan to perform directional air supply within the air supply range; or adjust the rotation angle of the fan to perform swing air supply within the air supply range.
在一些实施例中,所述处理器在实现调节所述风扇的转动角度在所述送风范围内送风之后,还实现:In some embodiments, after the processor adjusts the rotation angle of the fan to supply air within the air supply range, the processor further implements:
获取所述空调实时检测室内的温度值;若所述温度值小于或等于预设温度阈值,则停止所述空调送风。Acquire the temperature value in the room detected by the air conditioner in real time; if the temperature value is less than or equal to a preset temperature threshold, stop the air supply of the air conditioner.
在一些实施例中,所述处理器在实现确定空调相对风扇的第一位置信息时,实现:In some embodiments, when the processor implements determining the first position information of the air conditioner relative to the fan, the processor implements:
获取所述空调的位置信息,以及获取所述风扇的位置信息;以所述风扇的位置信息为坐标原点,确定所述空调相对所述风扇的第一位置信息。Obtain the position information of the air conditioner and obtain the position information of the fan; and use the position information of the fan as the coordinate origin to determine the first position information of the air conditioner relative to the fan.
在一些实施例中,室内安装有摄像头,所述处理器在实现确定用户相对所述风扇的第二位置信息时,实现:In some embodiments, a camera is installed indoors, and when the processor determines the second position information of the user relative to the fan, the processor implements:
获取所述摄像头拍摄的全景图像;确定所述全景图像中的用户的位置信息;以所述风扇的位置信息为坐标原点,得到所述用户相对所述风扇的第二位置信息。Obtaining a panoramic image captured by the camera; determining the position information of the user in the panoramic image; and taking the position information of the fan as a coordinate origin to obtain second position information of the user relative to the fan.
为了便于理解,以下将结合图1中的温度调节系统和图2中的风扇,对本申请的实施例提供的温度调节方法进行详细介绍。需知,上述的温度调节系统和风扇并构成对本申请实施例提供的温度调节方法应用场景的限定。For ease of understanding, the temperature adjustment method provided by the embodiments of the present application will be described in detail below with reference to the temperature adjustment system in FIG. 1 and the fan in FIG. 2 . It should be noted that the above-mentioned temperature adjustment system and fan do not constitute a limitation on the application scenarios of the temperature adjustment method provided by the embodiments of the present application.
请参阅图3,图3是本申请一实施例提供的一种温度调节方法的步骤示意流程图。该温度调节方法可应用于温度调节系统中风扇中,所述温度调节系统包括互联的空调和风扇,通过确定所述空调的吹风方向以及所述风扇的送风范围,通过发送包括吹风方向的吹风指令至所述空调,以使所述空调按照吹风指令吹风,实现所述风扇和所述空调联合调节室内温度的效果,使室内温度快速下降,提高了用户的体验度。Please refer to FIG. 3 , which is a schematic flowchart of steps of a temperature adjustment method provided by an embodiment of the present application. The temperature adjustment method can be applied to a fan in a temperature adjustment system. The temperature adjustment system includes interconnected air conditioners and fans. By determining the air blowing direction of the air conditioner and the air supply range of the fan, by sending the air blowing direction including the air blowing direction The instruction is sent to the air conditioner, so that the air conditioner blows air according to the blowing instruction, so as to realize the effect of jointly adjusting the indoor temperature by the fan and the air conditioner, so that the indoor temperature drops rapidly, and the user experience is improved.
如图3所示,该温度调节方法包括步骤S10至步骤S50。As shown in FIG. 3 , the temperature adjustment method includes steps S10 to S50.
步骤S10、确定空调相对风扇的第一位置信息。Step S10: Determine first position information of the air conditioner relative to the fan.
具体地,所述风扇与所述空调建立通信连接。Specifically, the fan establishes a communication connection with the air conditioner.
示例性的,所述风扇与所述空调之间可以通过蓝牙模块、Wi-Fi模块、4G模块、5G模块、NB-IoT模块或LoRa模块进行通信连接。Exemplarily, a Bluetooth module, a Wi-Fi module, a 4G module, a 5G module, an NB-IoT module or a LoRa module may be used for communication and connection between the fan and the air conditioner.
在一些实施例中,所述风扇和所述空调中均设有蓝牙模块,所述风扇和所述空调通过蓝牙模块建立通信连接,连接成功后的两个蓝牙模块相当于两个异步通信串口。In some embodiments, both the fan and the air conditioner are provided with a Bluetooth module, the fan and the air conditioner establish a communication connection through the Bluetooth module, and the two Bluetooth modules after successful connection are equivalent to two asynchronous communication serial ports.
在另一些实施例中,所述风扇和所述空调中均设有4G模块,所述风扇和所述空调通过4G模块建立通信连接。其中,4G模块是指硬件加载到指定频段,软件支持标准的LTE协议,软硬件高度集成模组化的一种产品的统称。4G模块具有通信速度快、网络频谱宽、通信灵活等特点。In other embodiments, both the fan and the air conditioner are provided with a 4G module, and the fan and the air conditioner establish a communication connection through the 4G module. Among them, 4G module refers to the general term for a product whose hardware is loaded into a designated frequency band, the software supports the standard LTE protocol, and the software and hardware are highly integrated and modular. The 4G module has the characteristics of fast communication speed, wide network spectrum, and flexible communication.
具体地,获取所述空调的位置信息,以及获取所述风扇的位置信息;然后以所述风扇的位置信息为坐标原点,确定所述空调相对所述风扇的第一位置信息。Specifically, the position information of the air conditioner is obtained, and the position information of the fan is obtained; and then the first position information of the air conditioner relative to the fan is determined by using the position information of the fan as a coordinate origin.
可以理解的是,空调的位置一般是固定的,不容易变化的,而风扇的位置可以灵活变动;因此以所述风扇的位置信息为坐标原点,便于确定所述空调相对所述风扇的第一位置信息。It can be understood that the position of the air conditioner is generally fixed and not easy to change, while the position of the fan can be flexibly changed; therefore, the position information of the fan is used as the origin of the coordinates to facilitate the determination of the first position of the air conditioner relative to the fan. location information.
在一些实施例中,在所述风扇与所述空调通过蓝牙模块建立通信连接后,可以基于蓝牙定位技术,获取所述空调的位置信息和获取所述风扇的位置信息;然后以所述风扇的位置信息为坐标原点,确定所述空调相对所述风扇的第一位置信息。所述位置信息可以是位置坐标。In some embodiments, after the fan and the air conditioner establish a communication connection through a Bluetooth module, the location information of the air conditioner and the location information of the fan can be acquired based on the Bluetooth positioning technology; The position information is the origin of coordinates, and the first position information of the air conditioner relative to the fan is determined. The location information may be location coordinates.
其中,蓝牙定位技术基于RSSI(Received Signal Strength Indication,信号强度)值,通过三角形定位原理进行定位。Among them, the Bluetooth positioning technology is based on an RSSI (Received Signal Strength Indication, signal strength) value, and performs positioning through a triangle positioning principle.
示例性的,如图4所示,图4是三角形定位原理的示意图。其中,BS1、BS2、BS3表示在不同位置的三个蓝牙基站;可以将智能家电中的蓝牙模块作为蓝牙基站,比如屋内的电冰箱、电视机、洗衣机、热水器等智能家电中的蓝牙模块;该三个蓝牙基站的位置信息是已知的;O点为待定位的蓝牙模块,并已测出三个蓝牙基站到O点的距离分别为r1,r2,r3,则以三个蓝牙基站坐标为圆心,三个蓝牙基站到待定位的蓝牙模块的距离为半径可以画出三个相交的圆。Exemplarily, as shown in FIG. 4 , FIG. 4 is a schematic diagram of the principle of triangular positioning. Among them, BS1, BS2, BS3 represent three Bluetooth base stations in different locations; the Bluetooth module in smart home appliances can be used as the Bluetooth base station, such as the Bluetooth module in smart home appliances such as refrigerators, TV sets, washing machines, and water heaters in the house; The location information of the three Bluetooth base stations is known; point O is the Bluetooth module to be located, and the distances from the three Bluetooth base stations to point O have been measured as r1, r2, and r3, respectively, and the coordinates of the three Bluetooth base stations are The center of the circle, the distance from the three Bluetooth base stations to the Bluetooth module to be located is the radius, and three intersecting circles can be drawn.
其中,所述三个蓝牙基站的坐标可以表示为(x1,y1)、(x2,y2)、(x3,y3)。The coordinates of the three Bluetooth base stations may be represented as (x1, y1), (x2, y2), and (x3, y3).
示例性的,所述待定位的蓝牙模块在O点发出信号,同时被BS1、BS2、BS3三个蓝牙基站收到,根据三角定位算法通过已知的三个坐标可以反推出O点的坐标。Exemplarily, the to-be-located Bluetooth module sends a signal at point O, and is simultaneously received by three Bluetooth base stations BS1, BS2, and BS3, and the coordinates of point O can be deduced from three known coordinates according to a triangulation algorithm.
在本实施例中,若所述空调的位置坐标为(x4,y4),所述风扇的位置坐标为(x5,y5);以所述风扇的位置信息为坐标原点,可以确定所述空调相对所述风扇的第一位置信息为(x4-x5,y4-y5)。In this embodiment, if the position coordinates of the air conditioner are (x4, y4), the position coordinates of the fan are (x5, y5); using the position information of the fan as the coordinate origin, it can be determined that the air conditioner is relatively The first position information of the fan is (x4-x5, y4-y5).
通过蓝牙定位技术确定所述空调相对所述风扇的第一位置信息,蓝牙定位技术成熟且定位精确,可以保证所述空调的位置信息的准确度。The first position information of the air conditioner relative to the fan is determined through the Bluetooth positioning technology. The Bluetooth positioning technology is mature and accurate in positioning, which can ensure the accuracy of the position information of the air conditioner.
在另一些实施例中,可以获取室内的全景图像,根据所述全景图像生成全景坐标图像;然后基于所述全景坐标图像,确定所述空调的位置信息和所述风扇的位置信息;最后,以所述风扇的位置信息为坐标原点,确定所述空调相对所述风扇的第一位置信息。如图5所示,图5是室内的全景图像的示意图。In other embodiments, an indoor panoramic image may be acquired, and a panoramic coordinate image may be generated according to the panoramic image; then, based on the panoramic coordinate image, the location information of the air conditioner and the location information of the fan may be determined; The position information of the fan is the origin of coordinates, and the first position information of the air conditioner relative to the fan is determined. As shown in FIG. 5 , FIG. 5 is a schematic diagram of an indoor panoramic image.
示例性的,可以通过室内的监控摄像头获取室内的全景图像。其中,所述监控摄像头可以包括一体化摄像头、普通枪式摄像头、红外线夜视防水型摄像头、球形摄像头。所述监控摄像头可以拍摄标清图像、高清图像。Exemplarily, an indoor panoramic image may be acquired through an indoor surveillance camera. Wherein, the monitoring camera may include an integrated camera, a common gun camera, an infrared night vision waterproof camera, and a spherical camera. The surveillance camera can capture standard definition images and high-definition images.
其中,所述监控摄像头可以和所述风扇进行无线/有线连接,将拍摄的全景图像发送给所述风扇。Wherein, the monitoring camera can be connected wirelessly/wired to the fan, and the captured panoramic image can be sent to the fan.
具体地,对所述全景图像进行视觉场景分析,获取所述全景图像下的场景及物体;然后对所述全景图像对应场景下的物体进行目标识别,确定多个物体的名称;以所述全景图像的左上角为坐标原点,根据所述多个物体在所述全景图像中的位置距离比例,确定所述多个物体在所述全景图像中的位置坐标。Specifically, perform visual scene analysis on the panoramic image to obtain scenes and objects under the panoramic image; then perform target recognition on objects under the scene corresponding to the panoramic image to determine the names of multiple objects; The upper left corner of the image is the origin of coordinates, and the position coordinates of the multiple objects in the panoramic image are determined according to the position and distance ratio of the multiple objects in the panoramic image.
示例性的,对所述全景图像中的空调和风扇进行识别,然后以所述全景图像的左上角为坐标原点,根据所述空调和所述风扇在所述全景图像中的位置距离比例,确定所述空调和所述风扇在所述全景图像中的位置坐标。比如,所述空调的位置坐标为(x6,y6),所述风扇的位置坐标为(x7,y7)。以所述风扇的位置信息为坐标原点,可以确定所述空调相对所述风扇的第一位置信息为(x6-x7,y6-y7)。Exemplarily, the air conditioner and the fan in the panoramic image are identified, and then the upper left corner of the panoramic image is used as the coordinate origin, and the position distance ratio of the air conditioner and the fan in the panoramic image is determined. Position coordinates of the air conditioner and the fan in the panoramic image. For example, the position coordinates of the air conditioner are (x6, y6), and the position coordinates of the fan are (x7, y7). Taking the position information of the fan as the coordinate origin, it can be determined that the first position information of the air conditioner relative to the fan is (x6-x7, y6-y7).
通过获取室内的全景图像,识别出室内所有的物体并根据全景图像中各物体的位置距离比例,可以准确地确定空调相对风扇的第一位置信息,简单方便。还可以识别全景图像中的用户。By acquiring an indoor panoramic image, all objects in the room are identified, and the first position information of the air conditioner relative to the fan can be accurately determined according to the position distance ratio of each object in the panoramic image, which is simple and convenient. Users in panoramic images can also be identified.
步骤S20、确定用户相对所述风扇的第二位置信息。Step S20, determining the second position information of the user relative to the fan.
在一些实施例中,用户穿戴有智能穿戴设备,比如智能手环、智能手表、3D眼镜等电子设备;所述智能穿戴设备中设有通信模块。因此,所述风扇可以通过通信模块与所述用户穿戴的智能穿戴设备进行通信连接,根据所述智能穿戴设备的位置信息确定所述用户的位置信息。其中,所述通信模块可以是蓝牙模块。In some embodiments, the user wears a smart wearable device, such as an electronic device such as a smart bracelet, a smart watch, and 3D glasses; the smart wearable device is provided with a communication module. Therefore, the fan can communicate with the smart wearable device worn by the user through a communication module, and determine the location information of the user according to the location information of the smart wearable device. Wherein, the communication module may be a Bluetooth module.
示例性的,基于蓝牙定位技术,可以先获取所述风扇的第一蓝牙定位信息,然后获取所述智能穿戴设备的第二蓝牙定位信息;以所述第一蓝牙定位信息作为坐标原点,将所述第二蓝牙定位信息相对所述坐标原点的坐标作为所述用户相对所述风扇的第二位置信息。Exemplarily, based on the Bluetooth positioning technology, the first Bluetooth positioning information of the fan may be obtained first, and then the second Bluetooth positioning information of the smart wearable device may be obtained; using the first Bluetooth positioning information as the origin of coordinates, the The coordinates of the second Bluetooth positioning information relative to the coordinate origin are used as the second position information of the user relative to the fan.
通过蓝牙定位技术确定所述用户相对所述风扇的第一位置信息,蓝牙定位技术成熟且定位精确,可以保证所述用户的位置信息的准确度。The first position information of the user relative to the fan is determined through the Bluetooth positioning technology. The Bluetooth positioning technology is mature and accurate in positioning, which can ensure the accuracy of the user's position information.
在一些实施例中,室内的监控摄像头可以获取室内的全景图像;可以获取所述摄像头拍摄的全景图像,确定所述全景图像中的用户的位置信息;然后以所述风扇的位置信息为坐标原点,得到所述用户相对所述风扇的第二位置信息。In some embodiments, an indoor surveillance camera can acquire an indoor panoramic image; the panoramic image captured by the camera can be acquired, and the location information of the user in the panoramic image can be determined; and then the location information of the fan is used as the coordinate origin to obtain the second position information of the user relative to the fan.
具体地,如图6所示,图6是室内的全景图像的示意图。对所述全景图像进行视觉场景分析,获取所述全景图像下的场景及物体;基于训练好的人体识别模型,对所述全景图像对应场景下的物体进行人体识别,确定用户在所述全景图像中的位置坐标。Specifically, as shown in FIG. 6 , FIG. 6 is a schematic diagram of an indoor panoramic image. Perform visual scene analysis on the panoramic image, and obtain the scene and objects under the panoramic image; based on the trained human body recognition model, perform human body recognition on the objects in the scene corresponding to the panoramic image, and determine that the user is in the panoramic image. location coordinates in .
其中,所述人体识别模型可以是卷积神经网络、受限玻尔兹曼机或循环神经网络。Wherein, the human body recognition model may be a convolutional neural network, a restricted Boltzmann machine or a recurrent neural network.
示例性的,所述全景图像经所述人体识别模型检测,得到的预测结果可以包括:[person,90%,(x8,y8)];其中90%是person类别的预测概率,(x8,y8)表示person在所述目标图像中的位置坐标。Exemplarily, the panoramic image is detected by the human body recognition model, and the obtained prediction result may include: [person, 90%, (x8, y8)]; where 90% is the predicted probability of the person category, (x8, y8 ) represents the position coordinates of the person in the target image.
在本实施例中,由上述可以得到所述风扇的位置坐标为(x7,y7);以所述风扇的位置信息为坐标原点,可以确定所述用户相对所述风扇的第二位置信息为(x8-x7,y8-y7)。In this embodiment, the position coordinates of the fan can be obtained from the above as (x7, y7); taking the position information of the fan as the coordinate origin, it can be determined that the second position information of the user relative to the fan is ( x8-x7, y8-y7).
通过训练好的人体识别模型,可以准确地确定用户相对风扇的第二位置信息,提高了准确度。Through the trained human body recognition model, the second position information of the user relative to the fan can be accurately determined, and the accuracy is improved.
步骤S30、根据所述第一位置信息和所述第二位置信息,确定所述空调的吹风方向以及所述风扇的送风范围。Step S30: Determine the blowing direction of the air conditioner and the blowing range of the fan according to the first position information and the second position information.
具体地,根据所述第一位置信息和所述第二位置信息,确定所述用户相对所述空调的方位信息,然后根据所述方位信息确定所述空调的吹风方向。Specifically, the position information of the user relative to the air conditioner is determined according to the first position information and the second position information, and then the blowing direction of the air conditioner is determined according to the position information.
示例性的,所述空调相对所述风扇的第一位置信息为(x6-x7,y6-y7),所述用户相对所述风扇的第二位置信息为(x8-x7,y8-y7)。Exemplarily, the first position information of the air conditioner relative to the fan is (x6-x7, y6-y7), and the second position information of the user relative to the fan is (x8-x7, y8-y7).
可以理解的是,所述第一位置信息和所述第二位置信息都是以所述风扇的位置信息为坐标原点确定的,所述空调的位置坐标和所述用户的位置坐标都属于同一坐标系,因此可以根据所述第一位置信息和所述第二位置信息,确定所述用户相对所述空调的方位信息。It can be understood that the first position information and the second position information are both determined with the position information of the fan as the coordinate origin, and the position coordinates of the air conditioner and the user's position coordinates belong to the same coordinate. Therefore, the position information of the user relative to the air conditioner can be determined according to the first position information and the second position information.
其中,所述方位信息包括方位角度。Wherein, the orientation information includes an orientation angle.
在一些实施例中,根据所述用户的位置坐标以及所述空调的位置坐标,以所述空调的位置坐标为坐标原点,可以确定所述用户相对所述空调的方位角度。需要说明的是,在直角坐标系中,所述方位角度为所述用户的位置坐标与坐标主轴之间的夹角。示例性的,坐标主轴可以是X轴,也可以是Y轴。In some embodiments, according to the position coordinates of the user and the position coordinates of the air conditioner, and taking the position coordinates of the air conditioner as the coordinate origin, the azimuth angle of the user relative to the air conditioner can be determined. It should be noted that, in the Cartesian coordinate system, the azimuth angle is the angle between the position coordinates of the user and the coordinate principal axis. Exemplarily, the main axis of the coordinate may be the X axis or the Y axis.
示例性的,如图7所示,图7是根据所述用户的位置坐标确定所述用户相对所述空调的方位角度的示意图。在图7中的直角坐标系中,坐标原点表示所述空调的位置坐标;点F表示所述用户的位置坐标(x8-x6,y8-y6),方位角度a为所述用户的位置坐标与坐标X轴之间的夹角。Exemplarily, as shown in FIG. 7 , FIG. 7 is a schematic diagram of determining the azimuth angle of the user relative to the air conditioner according to the position coordinates of the user. In the rectangular coordinate system in FIG. 7 , the origin of the coordinates represents the position coordinates of the air conditioner; point F represents the position coordinates of the user (x8-x6, y8-y6), and the azimuth angle a is the difference between the position coordinates of the user and the The angle between the X axes of the coordinates.
根据三角形的正切公式可以得到:According to the tangent formula of a triangle, we can get:
进一步可以得到方位角度:Further, the azimuth angle can be obtained:
式中,Δx表示所述用户的位置坐标的横坐标,Δy表示所述用户的位置坐标的纵坐标;比如Δx=x8-x6,Δy=y8-y6。In the formula, Δx represents the abscissa of the user's position coordinate, and Δy represents the ordinate of the user's position coordinate; for example, Δx=x8-x6, Δy=y8-y6.
示例性的,若所述用户相对于所述风扇的位置坐标为(350,300),根据三角形的正切公式计算得到所述用户的坐标方位角a为50°。Exemplarily, if the position coordinates of the user relative to the fan are (350, 300), the azimuth angle a of the coordinates of the user calculated according to the tangent formula of the triangle is 50°.
具体地,在计算出所述用户的方位角度之后,根据所述方位角度确定所述空调的吹风方向。Specifically, after the azimuth angle of the user is calculated, the blowing direction of the air conditioner is determined according to the azimuth angle.
可以理解的,所述方位角度与所述空调的吹风方向一一对应;所述用户位于所述空调的50°方位角度上,在吹风时,所述空调的吹风方向也相应调整为50°,以对准所述用户进行吹风。It can be understood that the azimuth angle corresponds to the blowing direction of the air conditioner one-to-one; the user is located at an azimuth angle of 50° of the air conditioner, and the blowing direction of the air conditioner is correspondingly adjusted to 50° when blowing air. to blow the air at the user.
示例性的,将所述方位角度50°发送至所述空调,以使所述空调根据所述方位角度调整吹风方向为50°。Exemplarily, the azimuth angle of 50° is sent to the air conditioner, so that the air conditioner adjusts the blowing direction to 50° according to the azimuth angle.
通过根据第一位置信息和第二位置信息,确定用户相对空调的方位信息,进而可以确定空调的吹风方向;可以对用户所在位置进行吹风,提高用户吹风时的舒适性。By determining the orientation information of the user relative to the air conditioner according to the first position information and the second position information, the air blowing direction of the air conditioner can be determined; the user's location can be blown to improve the comfort of the user when blowing.
具体地,根据所述第一位置信息,确定所述空调相对所述风扇的第一方位角;根据所述第二位置信息,确定所述用户相对所述风扇的第二方位角;根据所述第一方位角和所述第二方位角,确定所述风扇对应的送风范围。Specifically, according to the first position information, determine the first azimuth angle of the air conditioner relative to the fan; according to the second position information, determine the second azimuth angle of the user relative to the fan; according to the The first azimuth angle and the second azimuth angle determine the air supply range corresponding to the fan.
可以理解的是,在以所述风扇的位置坐标为原点的直角坐标系中,所述第一方位角为所述空调的位置坐标与坐标轴之间的夹角;所述第二方位角为所述用户的位置坐标与坐标轴之间的夹角。It can be understood that, in a rectangular coordinate system with the position coordinates of the fan as the origin, the first azimuth angle is the angle between the position coordinates of the air conditioner and the coordinate axis; the second azimuth angle is The angle between the position coordinates of the user and the coordinate axis.
示例性的,所述空调的位置坐标为所述第一位置信息(x6-x7,y6-y7),所述用户的位置坐标为所述第二位置信息(x8-x7,y8-y7)。Exemplarily, the location coordinates of the air conditioner are the first location information (x6-x7, y6-y7), and the user's location coordinates are the second location information (x8-x7, y8-y7).
请参阅图8,图8是确定第一方位角和第二方位角的示意图。在图8中的直角坐标系中,坐标原点表示所述风扇的位置坐标。点F表示所述用户相对所述风扇的位置坐标(x8-x7,y8-y7),角度b为所述空调相对所述风扇的第一方位角。点E表示所述空调相对所述风扇的位置坐标(x6-x7,y6-y7),角度c为所述用户相对所述风扇的第二方位角。Please refer to FIG. 8 , which is a schematic diagram of determining the first azimuth angle and the second azimuth angle. In the Cartesian coordinate system in FIG. 8 , the coordinate origin represents the position coordinate of the fan. Point F represents the position coordinates (x8-x7, y8-y7) of the user relative to the fan, and angle b is the first azimuth angle of the air conditioner relative to the fan. Point E represents the position coordinates (x6-x7, y6-y7) of the air conditioner relative to the fan, and angle c is the second azimuth angle of the user relative to the fan.
在一些实施例中,若所述用户相对所述风扇的位置坐标(-150,300),所述空调相对所述风扇的位置坐标(300,450),根据三角形的正切公式可以计算出所述空调相对所述风扇的第一方位角b为56°,所述用户相对所述风扇的第二方位角c为180°-63°=117°。In some embodiments, if the position coordinates of the user relative to the fan are (-150, 300), and the position coordinates of the air conditioner relative to the fan are (300, 450), the tangent formula of the triangle can be used to calculate the The first azimuth angle b of the air conditioner relative to the fan is 56°, and the second azimuth angle c of the user relative to the fan is 180°-63°=117°.
具体地,根据所述第一方位角b和所述第二方位角c,确定所述风扇对应的送风范围。示例性的,可以将所述第一方位角b和所述第二方位角c的重叠部分作为所述风扇的送风范围。由上述可以得到所述第一方位角b为56°,所述第二方位角c为117°,则可以将送风范围设置为[56°,117°]。Specifically, the air supply range corresponding to the fan is determined according to the first azimuth angle b and the second azimuth angle c. Exemplarily, the overlapping portion of the first azimuth angle b and the second azimuth angle c may be used as the air supply range of the fan. From the above, it can be obtained that the first azimuth angle b is 56°, and the second azimuth angle c is 117°, and the air supply range can be set to [56°, 117°].
通过计算空调相对风扇的第一方位角和计算用户相对风扇的第二方位角,可以根据第一方位角和第二方位角确定风扇对应的送风范围;通过确定风扇的送风范围,可以使风扇在空调的吹风方向进行送风,可以使空调的冷气散开,达到室内快速降温的效果。By calculating the first azimuth angle of the air conditioner relative to the fan and calculating the second azimuth angle of the user relative to the fan, the air supply range corresponding to the fan can be determined according to the first azimuth angle and the second azimuth angle; The fan blows air in the direction of the air conditioner, which can disperse the cold air of the air conditioner and achieve the effect of rapid cooling of the room.
步骤S40、发送包括所述吹风方向的吹风指令至所述空调,以使所述空调按照所述吹风指令吹风。Step S40, sending a blowing instruction including the blowing direction to the air conditioner, so that the air conditioner blows according to the blowing instruction.
具体地,在根据所述第一位置信息和所述第二位置信息,确定所述空调的吹风方向之后,可以将所述吹风方向发送至所述空调;所述空调可以根据按照所述吹风方法进行吹风。Specifically, after determining the air blowing direction of the air conditioner according to the first position information and the second position information, the air blowing direction may be sent to the air conditioner; the air conditioner may send the air blowing direction to the air conditioner according to the air blowing method. Do a blow dryer.
在一些实施例中,可以生成一个包括所述吹风方向的吹风指令,将所述吹风指令通过通信模块发送至所述空调中。比如,生成一个吹风方向为50°的吹风指令,通过所述风扇中的蓝牙模块将该吹风指令发送至所述空调。In some embodiments, a blowing instruction including the blowing direction may be generated, and the blowing instruction may be sent to the air conditioner through a communication module. For example, a blowing instruction with a blowing direction of 50° is generated, and the blowing instruction is sent to the air conditioner through the Bluetooth module in the fan.
在另一些实施例中,可以根据所述空调的请求指令,生成一个包括所述吹风方向的吹风指令,将所述吹风指令通过通信模块发送至所述空调中。比如,所述空调可以定时向所述风扇发送一个请求指令,所述请求指令可以用于表示吹风方向;所述风扇可以根据所述空调的请求指令生成一个吹风方向为50°的吹风指令,通过所述风扇中的蓝牙模块将该吹风指令发送至所述空调。In other embodiments, a blowing instruction including the blowing direction may be generated according to a request instruction of the air conditioner, and the blowing instruction may be sent to the air conditioner through a communication module. For example, the air conditioner can periodically send a request instruction to the fan, and the request instruction can be used to indicate the blowing direction; the fan can generate a blowing instruction with a blowing direction of 50° according to the request instruction of the air conditioner, The Bluetooth module in the fan sends the blowing instruction to the air conditioner.
步骤S50、调节所述风扇的转动角度在所述送风范围内送风。Step S50, adjusting the rotation angle of the fan to supply air within the air supply range.
具体地,调节所述风扇的转动角度在所述送风范围内进行定向送风;或调节所述风扇的转动角度在所述送风范围内进行摆动送风。Specifically, the rotational angle of the fan is adjusted to perform directional air supply within the air supply range; or the rotational angle of the fan is adjusted to perform swing air supply within the air supply range.
需要说明的是,所述转动角度是指风扇的扇头左右反复转动的角度或上下反复转动的角度。当所述风扇的送风模式为摆动送风时,所述风扇的转动角度与所述送风范围一一对应;当所述风扇的送风模式为定向送风时,若所述风扇的扇头没有处于所述送风范围内,需要调节所述风扇的转动角度,以使所述风扇的扇头处于所述送风范围内。It should be noted that the rotation angle refers to the angle at which the fan head of the fan repeatedly rotates left and right or the angle at which the fan head repeatedly rotates up and down. When the air supply mode of the fan is swing air supply, the rotation angle of the fan corresponds to the air supply range one-to-one; when the air supply mode of the fan is directional air supply, if the fan of the fan If the head is not within the air supply range, the rotation angle of the fan needs to be adjusted so that the fan head of the fan is within the air supply range.
在一些实施例中,如图9所示,图9是调节所述风扇的转动角度在所述送风范围内摆动送风的场景示意图。若所述风扇的送风模式为摆动送风,且所述送风范围为[56°,117°],则可以调节所述风扇的转动角度为[56°,117°],以使所述风扇的扇头在所述送风范围[56°,117°]内进行送风。In some embodiments, as shown in FIG. 9 , FIG. 9 is a schematic diagram of a scenario where the rotation angle of the fan is adjusted to swing and supply air within the air supply range. If the air supply mode of the fan is swing air supply and the air supply range is [56°, 117°], the rotation angle of the fan can be adjusted to be [56°, 117°], so that the The fan head of the fan supplies air within the air supply range [56°, 117°].
在另一些实施例中,如图10所示,图10是调节所述风扇的转动角度在所述送风范围内定向送风的场景示意图。若所述风扇的送风模式为定向送风,且所述送风范围为[56°,117°],则可以将所述风扇的转动角度调整到所述送风范围的中间位置;比如将所述转动角度调整为86°,以使所述风扇的扇头在固定角度86°这一位置进行送风。In other embodiments, as shown in FIG. 10 , FIG. 10 is a schematic diagram of a scenario in which the rotation angle of the fan is adjusted to directionally supply air within the air supply range. If the air supply mode of the fan is directional air supply and the air supply range is [56°, 117°], the rotation angle of the fan can be adjusted to the middle position of the air supply range; The rotation angle is adjusted to 86°, so that the fan head of the fan supplies air at a fixed angle of 86°.
通过调节风扇的转动角度在送风范围内送风,实现风扇和空调联合调节室内温度的效果,使室内温度快速下降,提高了用户的体验度。By adjusting the rotation angle of the fan to supply air within the air supply range, the effect of the fan and the air conditioner to jointly adjust the indoor temperature is realized, the indoor temperature is rapidly decreased, and the user experience is improved.
具体地,在调节所述风扇的转动角度在所述送风范围内送风之后,还可以获取所述空调实时检测室内的温度值;若所述温度值小于或等于预设温度阈值,则停止所述空调送风。Specifically, after adjusting the rotation angle of the fan to supply air within the air supply range, the real-time detection indoor temperature value of the air conditioner can also be obtained; if the temperature value is less than or equal to a preset temperature threshold, stop The air conditioner supplies air.
可以理解的是,所述空调中设有温度传感器,该温度传感器可以实时检测室内的温度值;所述空调可以通过通信模块将实时检测的温度值发送至所述风扇。It can be understood that the air conditioner is provided with a temperature sensor, and the temperature sensor can detect the temperature value in the room in real time; the air conditioner can send the temperature value detected in real time to the fan through the communication module.
示例性的,所述预设温度阈值可以是24℃。Exemplarily, the preset temperature threshold may be 24°C.
在一些实例中,若获取所述空调实时检测室内的温度值为23℃,该温度值小于所述预设温度阈值24℃,则可以发送一个用于表示停止工作的停止指令至所述空调,以使所述空调停止工作。In some instances, if the temperature value in the room detected by the air conditioner in real time is 23°C, and the temperature value is lower than the preset temperature threshold value of 24°C, a stop instruction indicating stop working may be sent to the air conditioner, to stop the air conditioner.
可以理解的是,当室内的温度值小于或等于所述预设温度阈值,表示已经完成室内的降温;这时只需要风扇进行吹风即可维持室内处于较低的温度,不需要继续开启空调,浪费资源。It can be understood that when the indoor temperature value is less than or equal to the preset temperature threshold, it means that the indoor cooling has been completed; at this time, only the fan is required to blow air to maintain the indoor temperature at a lower level, and there is no need to continue to turn on the air conditioner. a waste of resource.
上述实施例提供的温度调节方法,通过获取空调的位置信息和风扇的位置信息,可以确定空调相对风扇的第一位置信息;通过获取用户的位置信息,可以确定用户相对风扇的第二位置信息,可以准确得到空调和用户的位置信息;通过根据第一位置信息和第二位置信息,确定用户相对空调的方位信息,进而可以确定空调的吹风方向,可以对用户所在位置进行吹风,提高用户吹风时的舒适性;通过计算空调相对风扇的第一方位角和用户相对风扇的第二方位角,可以确定风扇的送风范围;通过调节风扇的转动角度在送风范围内送风,实现风扇和空调联合调节室内温度的效果,使室内温度快速下降,提高了用户的体验度。In the temperature adjustment method provided by the above embodiment, by obtaining the position information of the air conditioner and the position information of the fan, the first position information of the air conditioner relative to the fan can be determined; by obtaining the position information of the user, the second position information of the user relative to the fan can be determined, The position information of the air conditioner and the user can be accurately obtained; by determining the position information of the user relative to the air conditioner according to the first position information and the second position information, and then the blowing direction of the air conditioner can be determined. By calculating the first azimuth angle of the air conditioner relative to the fan and the second azimuth angle of the user relative to the fan, the air supply range of the fan can be determined; by adjusting the rotation angle of the fan to supply air within the air supply range, the fan and the air conditioner can be supplied. The effect of jointly adjusting the indoor temperature makes the indoor temperature drop rapidly and improves the user experience.
本申请的实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序中包括程序指令,所述处理器执行所述程序指令,实现本申请实施例提供的任一项温度调节方法。The embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the present application Any one of the temperature adjustment methods provided in the embodiments.
其中,所述计算机可读存储介质可以是前述实施例所述的风扇的内部存储单元,例如所述风扇的硬盘或内存。所述计算机可读存储介质也可以是所述风扇的外部存储设备,例如所述风扇上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字卡(Secure Digital,SD),闪存卡(Flash Card)等。Wherein, the computer-readable storage medium may be the internal storage unit of the fan described in the foregoing embodiments, such as a hard disk or a memory of the fan. The computer-readable storage medium may also be an external storage device of the fan, such as a plug-in hard disk equipped on the fan, a smart memory card (Smart Media Card, SMC), or a secure digital card (Secure Digital, SD) , Flash card (Flash Card) and so on.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in the present application. Modifications or substitutions shall be covered by the protection scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911236529.2A CN112923526B (en) | 2019-12-05 | 2019-12-05 | Temperature adjusting method, fan, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911236529.2A CN112923526B (en) | 2019-12-05 | 2019-12-05 | Temperature adjusting method, fan, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112923526A CN112923526A (en) | 2021-06-08 |
CN112923526B true CN112923526B (en) | 2022-09-13 |
Family
ID=76161017
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911236529.2A Expired - Fee Related CN112923526B (en) | 2019-12-05 | 2019-12-05 | Temperature adjusting method, fan, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112923526B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113757956A (en) * | 2021-08-16 | 2021-12-07 | 佛山市顺德区美的电子科技有限公司 | Air conditioner control method, device and equipment, air conditioner and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013231550A (en) * | 2012-04-27 | 2013-11-14 | Panasonic Corp | Air conditioning system |
CN107084505A (en) * | 2017-05-25 | 2017-08-22 | 广东美的制冷设备有限公司 | Inter-linked controlling method and system, the computer-readable medium of air conditioner and fan |
CN108870686A (en) * | 2018-03-30 | 2018-11-23 | 广东美的制冷设备有限公司 | Control method, air conditioner and the computer readable storage medium of air conditioner |
CN109555721A (en) * | 2018-12-12 | 2019-04-02 | 珠海格力电器股份有限公司 | Air supply device, control method and device for air supply device and storage medium |
JP2019094855A (en) * | 2017-11-24 | 2019-06-20 | 三菱電機株式会社 | Electric fan and air-conditioning system |
-
2019
- 2019-12-05 CN CN201911236529.2A patent/CN112923526B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013231550A (en) * | 2012-04-27 | 2013-11-14 | Panasonic Corp | Air conditioning system |
CN107084505A (en) * | 2017-05-25 | 2017-08-22 | 广东美的制冷设备有限公司 | Inter-linked controlling method and system, the computer-readable medium of air conditioner and fan |
JP2019094855A (en) * | 2017-11-24 | 2019-06-20 | 三菱電機株式会社 | Electric fan and air-conditioning system |
CN108870686A (en) * | 2018-03-30 | 2018-11-23 | 广东美的制冷设备有限公司 | Control method, air conditioner and the computer readable storage medium of air conditioner |
CN109555721A (en) * | 2018-12-12 | 2019-04-02 | 珠海格力电器股份有限公司 | Air supply device, control method and device for air supply device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112923526A (en) | 2021-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105423502B (en) | Air-conditioning control method and device | |
CN105546747B (en) | Air-conditioning control method and device | |
CN112178784B (en) | A kind of air conditioner dehumidification control method and dehumidification equipment | |
CN105571046A (en) | Method for adjusting air outlet state of air conditioner and indoor unit | |
CN104879895A (en) | Linkage method and device for air parameter adjustment and intelligent equipment | |
CN105546748B (en) | Air-conditioning control method and device | |
CN108375168B (en) | Method for adjusting air conditioning equipment | |
CN108224699B (en) | A kind of control method of air-conditioning, device, storage medium and air-conditioning | |
CN105571066A (en) | Air supply control method and device of air conditioner | |
WO2022247332A1 (en) | Method and apparatus for controlling air handling device and air conditioner | |
JP6790249B2 (en) | Air conditioners, air conditioners, air conditioners and programs | |
JP7008866B2 (en) | Air conditioner | |
CN112923526B (en) | Temperature adjusting method, fan, system and storage medium | |
CN105546746B (en) | Air-conditioning control method and device | |
CN105465965B (en) | Air-conditioning control method and device | |
CN113819081B (en) | Blowing control method, fan, and storage medium | |
CN114877500A (en) | Method and device for controlling air conditioner, air conditioner and storage medium | |
CN112696785B (en) | Air conditioner control method and system and air conditioner | |
KR20120079539A (en) | Control method for air conditioning apparatus | |
CN112923527A (en) | Temperature adjusting method, air conditioner, system and storage medium | |
CN112855591B (en) | Fan control method, fan, system and storage medium | |
CN110864411B (en) | Air conditioner control method and air conditioner | |
CN112922891B (en) | Fan control method, fan, air supply system and storage medium | |
CN117249536A (en) | Air conditioning and control method | |
CN115930389A (en) | Air conditioner and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220913 |
|
CF01 | Termination of patent right due to non-payment of annual fee |