Temperature determination method and device, storage medium and air conditioner
By obtaining the working status of the temperature sensor and the wireless communication module in the air conditioner and determining the temperature adjustment value, the problem that the wireless communication module heat generation affects the temperature sensor detection results is solved, and more accurate temperature adjustment is achieved.
Patent Information
- Application Number
- CN202311625246.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2025-05-30
AI Technical Summary
The heating of the wireless communication module in the air conditioner affects the detection results of the temperature sensor on the ambient temperature, resulting in poor temperature regulation effect of the air conditioner.
By obtaining the temperature detected by the temperature sensor and the working mode and working duration of the wireless communication module, determine the temperature adjustment value and adjust the temperature detected by the temperature sensor to obtain the target temperature of the environment in which the air conditioner is located.
It effectively avoids the adverse effects of the heating of the wireless communication module on the temperature sensor detection results, and improves the accuracy of temperature regulation of the air conditioner.
Smart Images

Figure CN120062746A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of air conditioners, and in particular, to a method, a device, a storage medium, and an air conditioner for determining temperature. Background Art
[0002] To achieve the intelligence of the air conditioner, a wireless communication module capable of wireless communication can be set on the air conditioner; for example, through the wireless communication module set in the air conditioner, the communication connection between the user's terminal device and the air conditioner is realized, so that the user can remotely control the air conditioner through the terminal device.
[0003] The wireless communication module set in the air conditioner may generate heat during operation, and the heat generated by the wireless communication module will affect the detection result of the ambient temperature by the temperature sensor, thereby affecting the temperature regulation effect of the air conditioner. Summary of the Invention
[0004] To overcome the problems existing in the related art, the present disclosure provides a method, a device, a storage medium, and an air conditioner for determining temperature.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a method for determining temperature, including:
[0006] Obtain a first temperature detected by a temperature sensor of the air conditioner;
[0007] Determine the working mode of the wireless communication module of the air conditioner and the working duration of the wireless communication module in the working mode;
[0008] Determine a temperature adjustment value according to the working mode and the working duration;
[0009] Adjust the first temperature according to the temperature adjustment value to obtain the target temperature of the environment where the air conditioner is located.
[0010] Optionally, the determining the temperature adjustment value according to the working mode and the working duration includes:
[0011] Determine a first mapping relationship from a plurality of preset mapping relationships according to the working mode, where different working modes correspond to different preset mapping relationships, and the first mapping relationship is used to represent the relationship between the working duration and the temperature adjustment value;
[0012] Determine the temperature adjustment value according to the first mapping relationship and the working duration.
[0013] Optionally, the preset mapping relationship is obtained by the following method:
[0014] Determine a second temperature detected by the temperature sensor before the wireless communication module is turned on;
[0015] For each operating mode of the wireless communication module, when the wireless communication module is operating in the operating mode, monitor the third temperature detected by the temperature sensor of the wireless communication module at multiple operating durations, and obtain a preset mapping relationship corresponding to the operating mode according to the second temperature, the third temperature, and the multiple operating durations.
[0016] Optionally, the obtaining the preset mapping relationship corresponding to the operating mode according to the second temperature, the third temperature, and the multiple operating durations includes:
[0017] For each operating duration, obtain a temperature adjustment value corresponding to the operating duration according to the second temperature, the third temperature, and the operating duration, and establish an adjustment value mapping relationship between the operating duration and the temperature adjustment value;
[0018] Use the adjustment value mapping relationships corresponding to the multiple durations as the preset mapping relationship corresponding to the operating mode.
[0019] Optionally, the method further includes:
[0020] When it is determined that the first temperature difference between the first temperature and the second temperature is greater than or equal to a first preset temperature difference, output a prompt message, where the prompt message is used to prompt that there is a temperature abnormality in the wireless communication module or the temperature sensor.
[0021] Optionally, the method further includes:
[0022] Obtain the set temperature of the air conditioner;
[0023] When it is determined that the second temperature difference between the set temperature and the target temperature is greater than or equal to a second preset temperature difference, control the air outlet of the air conditioner so that the second temperature difference is less than the second preset temperature difference.
[0024] Optionally, the adjusting the first temperature according to the temperature adjustment value to obtain the target temperature of the environment where the air conditioner is located includes:
[0025] Use the difference between the first temperature and the temperature adjustment value as the target temperature of the environment where the air conditioner is located.
[0026] According to a second aspect of the embodiments of the present disclosure, there is provided a temperature determination device, including:
[0027] A first acquisition module, configured to acquire the first temperature detected by the temperature sensor of the air conditioner;
[0028] A first determination module, configured to determine an operating mode of a wireless communication module of the air conditioner, and an operating duration of the wireless communication module in the operating mode;
[0029] A second determination module, configured to determine a temperature adjustment value according to the operating mode and the operating duration;
[0030] A second acquisition module, configured to adjust the first temperature according to the temperature adjustment value to obtain a target temperature of an environment where the air conditioner is located.
[0031] According to a third aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the method for determining temperature provided in the first aspect of the present disclosure are implemented.
[0032] According to a fourth aspect of the embodiments of the present disclosure, there is provided an air conditioner, including: a processor and a memory for storing processor-executable instructions; wherein, the processor is configured to implement the steps of the method for determining temperature provided in the first aspect of the present disclosure.
[0033] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: According to the operating mode of the wireless communication module and the operating duration of the wireless communication module in the operating mode, the first temperature detected by the temperature sensor is adjusted to obtain the target temperature of the environment where the air conditioner is located, avoiding the adverse effect of the heat generated by the wireless communication module on the ambient temperature detected by the temperature sensor, and helping the air conditioner to achieve more accurate temperature adjustment.
[0034] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.
[0036] Figure 1 is a flowchart of a method for determining temperature shown according to an exemplary embodiment.
[0037] Figure 2 is a block diagram of a device for determining temperature shown according to an exemplary embodiment.
[0038] Figure 3 is a block diagram of another device for determining temperature shown according to an exemplary embodiment.
[0039] Figure 4 is a block diagram of yet another device for determining temperature shown according to an exemplary embodiment. Detailed implementation manners
[0040] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0041] First, the application scenario of the present disclosure is described. The present disclosure is applied to the scenario of determining the ambient temperature of an air conditioner. In this scenario, to achieve the intelligence of the air conditioner, a wireless communication module capable of wireless communication can be set on the air conditioner. However, the wireless communication module set in the air conditioner may generate heat during operation, affecting the detection result of the temperature sensor in the air conditioner for the ambient temperature, thereby affecting the temperature control effect of the air conditioner.
[0042] The heat generated by the wireless communication module may cause the indoor ambient temperature detected by the temperature sensor to be higher than the actual indoor ambient temperature. For example, when the air conditioner is cooling, since the detected ambient temperature is on the high side, in order to keep the indoor ambient temperature within the temperature range set by the user of the air conditioner, the air conditioner may continue to cool when the actual ambient temperature has reached the temperature range set by the user, resulting in the user feeling colder than the temperature set by the user and reducing the user experience.
[0043] For another example, when the air conditioner is heating, due to the detected ambient temperature being on the high side, in order to keep the indoor ambient temperature within the temperature range set by the user of the air conditioner, the air conditioner may stop heating when the actual ambient temperature has not reached the temperature range set by the user, resulting in a reduced user experience.
[0044] To solve the above problems, the present disclosure provides a method, device, storage medium, and air conditioner for temperature determination.
[0045] Figure 1 is a flowchart of a method for temperature determination shown according to an exemplary embodiment. As Figure 1 shown, the method for temperature determination can be used in an air conditioner and includes the following steps.
[0046] In step S11, obtain a first temperature detected by a temperature sensor of the air conditioner.
[0047] A temperature sensor is a sensor that converts a temperature variable into a standardized output signal that can be transmitted. Temperature sensors can be classified into two major categories: contact type and non-contact type according to the measurement method, and can be divided into two types: thermal resistors and thermocouples according to the sensor material and electronic component characteristics. They are mostly used in the fields of temperature detection, measurement, display, temperature control, overheat protection, etc.
[0048] When the wireless communication module is in the working state, by obtaining the first temperature detected by the temperature sensor, it helps to determine the actual temperature of the environment where the air conditioner is located. Among them, the wireless communication module can be, for example, a wireless communication module such as a WiFi module or a Bluetooth module.
[0049] In step S12, determine the working mode of the wireless communication module of the air conditioner and the working duration of the wireless communication module in the working mode.
[0050] The wireless communication module in the air conditioner can be divided into different working modes according to different working frequencies. For example, the working modes of the wireless communication module can be divided into a sleep mode, a normal working mode, and a network configuration mode.
[0051] The power of the wireless communication module is different in different working modes, so that the heat generated by the wireless communication module is also different in different working modes. For example, in the above three exemplary working modes, when the wireless communication module is in the sleep mode with low power consumption, the heat generated by the wireless communication module is the lowest, and the influence on the temperature measurement result of the temperature sensor is the smallest. When the wireless communication module is in the network configuration mode, the heat generated by the wireless communication module is the highest among the three modes, and the influence on the temperature measurement result of the temperature sensor is the largest.
[0052] As the working duration of the wireless communication module gradually increases, the heat generated by the wireless communication module shows an upward trend. Therefore, even in the same working mode, if the working duration of the wireless communication module is different, the heat generated by the wireless communication module is different, and the temperature measurement result of the temperature sensor is also different.
[0053] Determining the working mode of the wireless communication module of the air conditioner and the working duration of the wireless communication module in the working mode helps to determine the influence of the wireless communication module on the temperature measurement result of the temperature sensor, thereby helping to obtain a more accurate environmental temperature detection result.
[0054] In step S13, determine the temperature adjustment value according to the working mode and the working duration.
[0055] In one embodiment, determining a temperature adjustment value according to the working mode and the working duration includes: determining a first mapping relationship from a plurality of preset mapping relationships according to the working mode, where different working modes correspond to different preset mapping relationships, and the first mapping relationship is used to characterize the relationship between the working duration and the temperature adjustment value; and determining the temperature adjustment value according to the first mapping relationship and the working duration.
[0056] For example, the preset mapping relationship can be a correspondence table between the working duration and the temperature adjustment value, and different working modes correspond to different correspondence tables; among them, the correspondence tables respectively corresponding to different working modes can be obtained by pre-statistically analyzing the temperature adjustment values under different working durations.
[0057] Also for example, the preset mapping relationship can also be a temperature curve used to characterize the correspondence between the working duration and the temperature adjustment value; for example, the horizontal axis of the temperature curve is the working duration of the wireless communication module in the working mode, and the vertical axis of the temperature curve is the temperature adjustment value corresponding to the working duration for the first temperature detected by the temperature sensor, and different working modes correspond to different corresponding temperature curves. Among them, the temperature curves respectively corresponding to different working modes can be obtained by pre-statistically analyzing the temperature adjustment values under different working durations.
[0058] Still for example, the preset mapping relationship can also be an equation used to characterize the correspondence between the working duration and the temperature adjustment value, the independent variable of the equation is the working duration of the wireless communication module in the working mode, and the dependent variable of the equation is the temperature adjustment value corresponding to the working duration for the first temperature detected by the temperature sensor, and different working modes correspond to different equations; for example, the magnitudes of the coefficients in the equations corresponding to different working modes are different; among them, the equations respectively corresponding to different working modes can be obtained by pre-statistically analyzing the temperature adjustment values under different working durations and performing curve fitting.
[0059] In this way, according to the working mode of the wireless communication module and the working duration of the wireless communication module, combined with the preset mapping relationship determined in advance, the temperature adjustment value for the first temperature detected by the temperature sensor can be effectively determined, so as to obtain the target temperature of the environment where the air conditioner is located.
[0060] In step S14, the first temperature is adjusted according to the temperature adjustment value to obtain the target temperature of the environment where the air conditioner is located.
[0061] For example, the difference between the first temperature and the temperature adjustment value can be used as the target temperature of the environment where the air conditioner is located. Since the temperature sensor may be affected by the heat generated by the wireless communication module and the temperature value measured by the temperature sensor is higher than the actual temperature of the environment, using the difference between the first temperature and the temperature adjustment value can effectively avoid the increase in the temperature value of the temperature sensor caused by the heat generated by the wireless communication module, thereby obtaining a more accurate temperature detection result for the environment where the air conditioner is located.
[0062] In this way, the obtained target temperature excludes the influence of the heat generated by the wireless communication module, which helps the air conditioner to achieve more accurate temperature control.
[0063] Through the temperature determination method provided by the present disclosure, according to the working mode of the wireless communication module and the working duration of the wireless communication module in the working mode, the first temperature detected by the temperature sensor is adjusted to obtain the target temperature of the environment where the air conditioner is located, avoiding the adverse effect of the heat generated by the wireless communication module on the ambient temperature detected by the temperature sensor, which helps the air conditioner to achieve more accurate temperature adjustment.
[0064] At the same time, through the temperature determination method provided by the present disclosure, when the wireless communication module and the temperature sensor are within the same range, the temperature detected by the temperature sensor can also be adjusted according to the working mode of the wireless communication module and the working duration in the working mode, which is beneficial to shortening the distance between the wireless communication module and the temperature sensor without affecting the detected temperature of the temperature sensor, thereby being beneficial to improving the integration of the device that simultaneously includes the wireless communication module and the temperature sensor.
[0065] In one embodiment, the preset mapping relationship can be obtained in the following manner: determine the second temperature detected by the temperature sensor before the wireless communication module is turned on; for each working mode of the wireless communication module, when the wireless communication module is operating in the working mode, monitor the third temperature detected by the temperature sensor at multiple working durations, and obtain the preset mapping relationship corresponding to the working mode according to the second temperature, the third temperature, and the multiple working durations.
[0066] For example, obtaining the preset mapping relationship corresponding to the working mode according to the second temperature, the third temperature, and the multiple working durations may include: for each working duration, obtain the temperature adjustment value corresponding to the working duration according to the second temperature, the third temperature, and the working duration, and establish an adjustment value mapping relationship between the working duration and the temperature adjustment value; use the adjustment value mapping relationships corresponding to the multiple durations as the preset mapping relationship corresponding to the working mode. For example, the difference between the third temperature and the second temperature of the temperature sensor when the operating duration of the wireless communication module is t is used as the temperature adjustment value of the temperature sensor when the operating duration is t.
[0067] In one embodiment, when it is determined that the first temperature difference between the first temperature and the second temperature is greater than or equal to the first preset temperature difference, a prompt message is output, and the prompt message is used to prompt that there is a temperature anomaly in the wireless communication module or the temperature sensor.
[0068] For example, the first temperature currently detected by the temperature sensor is 36°C, and the second temperature detected by the temperature sensor before the wireless communication module runs is 16°C. Although the temperature detected by the temperature sensor may be affected by the operation of the wireless communication module, the influence of the operation of the wireless communication module on the temperature detected by the temperature sensor will not exceed the first preset temperature difference. The difference in the temperature detected by the temperature sensor before and after the wireless communication module runs is relatively large. It may be that the temperature anomaly of the wireless communication module causes the abnormal rise of the temperature of the temperature sensor, or it may be that the temperature sensor itself has a temperature anomaly; the first preset temperature difference can be 15°C for example.
[0069] Here, the wireless communication module can be operated in a lower power mode for a preset period of time, or the wireless communication module can be powered off temporarily for a preset period of time, and the fourth temperature detected by the temperature sensor is obtained again when the preset period of time is reached. Combining with the fourth temperature obtained by the temperature sensor again, the component with the temperature anomaly can be determined.
[0070] For example, if the fourth temperature detected by the temperature sensor is relatively close to the first temperature, for example, the third temperature difference between the fourth temperature and the first temperature is less than or equal to the third preset temperature difference, it indicates that as the wireless communication module operates in a lower power mode or is powered off, the temperature detected by the temperature sensor still remains at a relatively high temperature level, and it may be that the temperature sensor itself has an anomaly; the third preset temperature difference can be 5°C for example.
[0071] For another example, if the fourth temperature detected by the temperature sensor is relatively close to the second temperature, for example, the fourth temperature difference between the fourth temperature and the second temperature is less than or equal to the third preset temperature difference, it indicates that as the wireless communication module operates in a lower power mode or is powered off, the temperature detected by the temperature sensor returns to the temperature level before the wireless communication module is turned on, and it may be that the temperature anomaly of the wireless communication module causes the temperature detected by the temperature sensor to rise.
[0072] In one embodiment, the set temperature of the air conditioner can be obtained; when it is determined that the second temperature difference between the set temperature and the target temperature is greater than or equal to the second preset temperature difference, the air outlet of the air conditioner is controlled to make the second temperature difference less than the second preset temperature difference. The second preset temperature difference can be 3°C for example.
[0073] For example, the set temperature received by the air conditioner is 25°C. After adjusting the first temperature detected by the temperature sensor, the target temperature of the environment where the air conditioner is located is 20°C, indicating that the actual ambient temperature at the current moment is lower than the set temperature. When the air conditioner is cooling, the temperature of the environment where the air conditioner is located can be gradually adjusted to the set temperature by increasing the air outlet temperature or decreasing the air outlet speed.
[0074] In this way, since the influence of the heat generation of the wireless communication module on the measurement result of the temperature sensor is excluded, the obtained target temperature can better reflect the actual ambient temperature of the air conditioner. Using this target temperature and combining it with the set temperature of the air conditioner to control the air outlet of the air conditioner can make the user experience of the air conditioner more in line with the temperature set by the user, and can improve the user experience.
[0075] Figure 2 It is a block diagram of a temperature determination device 120 shown according to an exemplary embodiment. Refer to Figure 2 This temperature determination device 120 includes a first acquisition module 121, a first determination module 122, a second determination module 123, and a second acquisition module 124.
[0076] The first acquisition module 121 is configured to acquire the first temperature detected by the temperature sensor of the air conditioner.
[0077] The first determination module 122 is configured to determine the working mode of the wireless communication module of the air conditioner and the working duration of the wireless communication module in the working mode.
[0078] The second determination module 123 is configured to determine a temperature adjustment value according to the working mode and the working duration.
[0079] The second acquisition module 124 is configured to adjust the first temperature according to the temperature adjustment value to obtain the target temperature of the environment where the air conditioner is located.
[0080] In one embodiment, the second determination module 123 is further configured to determine a first mapping relationship from a plurality of preset mapping relationships according to the working mode. Different working modes correspond to different preset mapping relationships. The first mapping relationship is used to characterize the relationship between the working duration and the temperature adjustment value; according to the first mapping relationship and the working duration, determine the temperature adjustment value.
[0081] In one embodiment, the second determination module 123 is further configured to determine a second temperature detected by the temperature sensor before the wireless communication module is turned on; for each operating mode of the wireless communication module, when the wireless communication module is operating in the operating mode, monitor third temperatures detected by the temperature sensor at multiple operating durations, and obtain a preset mapping relationship corresponding to the operating mode according to the second temperature, the third temperature, and the multiple operating durations.
[0082] In one embodiment, the second determination module 123 is further configured to, for each operating duration, obtain a temperature adjustment value corresponding to the operating duration according to the second temperature, the third temperature, and the operating duration, and establish an adjustment value mapping relationship between the operating duration and the temperature adjustment value; use the adjustment value mapping relationships corresponding to the multiple durations as the preset mapping relationship corresponding to the operating mode.
[0083] In one embodiment, the temperature determination device 120 further includes a prompt module 125, which is configured to output a prompt message when it is determined that a first temperature difference between the first temperature and the second temperature is greater than or equal to a first preset temperature difference, and the prompt message is used to prompt that there is a temperature abnormality in the wireless communication module or the temperature sensor.
[0084] In one embodiment, the temperature determination device 120 further includes a control module 126, which is configured to control the air outlet of the air conditioner when it is determined that a second temperature difference between the set temperature and the target temperature is greater than or equal to a second preset temperature difference, so that the second temperature difference is less than the second preset temperature difference.
[0085] In one embodiment, the second acquisition module 124 is further configured to use the difference between the first temperature and the temperature adjustment value as the target temperature of the environment where the air conditioner is located.
[0086] Through the temperature determination device provided by the present disclosure, the first temperature detected by the temperature sensor is adjusted according to the operating mode of the wireless communication module and the operating duration of the wireless communication module in the operating mode, and the target temperature of the environment where the air conditioner is located is obtained, avoiding the adverse impact of the heat generated by the wireless communication module on the ambient temperature detected by the temperature sensor, and helping the air conditioner to achieve more accurate temperature adjustment.
[0087] Meanwhile, through the temperature determination device provided by the present disclosure, when the wireless communication module and the temperature sensor are within the same range, the temperature detected by the temperature sensor can also be adjusted according to the working mode of the wireless communication module and the working duration in the working mode, which is beneficial to shortening the distance between the wireless communication module and the temperature sensor without affecting the temperature detected by the temperature sensor, thereby facilitating improving the integration of the device that includes both the wireless communication module and the temperature sensor.
[0088] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.
[0089] The present disclosure also provides a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the temperature determination method provided by the present disclosure are implemented.
[0090] Figure 3 FIG. 10 is a block diagram of a temperature determination device 800 shown according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0091] Referring to Figure 3 , the device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output interface 812, a sensor component 814, and a communication component 816.
[0092] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above temperature determination method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0093] The memory 804 is configured to store various types of data to support the operation of the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0094] The power supply component 806 provides power to various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0095] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can not only sense the boundaries of the touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0096] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.
[0097] The input / output interface 812 provides an interface between the processing component 802 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a power-on button, and a lock button.
[0098] The sensor assembly 814 includes one or more sensors for providing a status assessment of various aspects of the device 800. For example, the sensor assembly 814 can detect the on / off state of the device 800, the relative positioning of components, such as the display and keypad of the device 800. The sensor assembly 814 can also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and a change in the temperature of the device 800. The sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0099] The communication component 816 is configured to facilitate communication between the device 800 and other devices in a wired or wireless manner. The device 800 can access a wireless network based on communication standards, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0100] In an exemplary embodiment, the device 800 can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described temperature determination method.
[0101] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 804 including instructions, is also provided. The above instructions can be executed by the processor 820 of the device 800 to complete the above-described temperature determination method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0102] In addition to being an independent electronic device, the above device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip. The integrated circuit can be a single IC or a collection of multiple ICs. The chip can include, but is not limited to, the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip), etc. The above integrated circuit or chip can be used to execute executable instructions (or code) to implement the above temperature determination method. The executable instructions can be stored in the integrated circuit or chip, or obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instructions can be stored in the memory, and when the executable instructions are executed by the processor, the above temperature determination method is implemented. Alternatively, the integrated circuit or chip can receive the executable instructions through the interface and transmit them to the processor for execution to implement the above temperature determination method.
[0103] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above temperature determination method when executed by the programmable device.
[0104] Figure 4 is a block diagram of a temperature determination device 1900 shown according to an exemplary embodiment. For example, device 1900 can be provided as a server. Referring to Figure 4 , device 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by a memory 1932 for storing instructions executable by the processing component 1922, such as application programs. The application programs stored in the memory 1932 can include one or more modules each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above temperature determination method.
[0105] Device 1900 may also include a power supply component 1926 configured to perform power management of device 1900, a wired or wireless network interface 1950 configured to connect device 1900 to a network, and an input / output interface 1958. Device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM or the like.
[0106] Embodiments of the present disclosure also provide an air conditioner, which includes: a processor and a memory for storing processor-executable instructions; wherein, the processor is configured to implement some or all of the steps of the method for determining temperature in the embodiments of the present disclosure.
[0107] For example, a wireless communication module and a temperature sensor may be provided in the air conditioner, wherein the wireless communication module may be, for example, a wireless communication module such as a WiFi module or a Bluetooth module.
[0108] In one embodiment, the air conditioner may be configured to obtain a set temperature of the air conditioner; in a case where a second temperature difference between the set temperature and a target temperature is greater than or equal to a second preset temperature difference, control the air outlet of the air conditioner so that the second temperature difference is less than the second preset temperature difference.
[0109] Through the air conditioner provided by the present disclosure, according to the working mode of the wireless communication module and the working duration of the wireless communication module in the working mode, the first temperature detected by the temperature sensor is adjusted to obtain the target temperature of the environment where the air conditioner is located, avoiding the adverse effect of the heat generated by the wireless communication module on the environmental temperature detected by the temperature sensor, and being able to achieve more accurate temperature adjustment and improve the user experience of the air conditioner.
[0110] Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include well-known common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0111] It should be understood that the present disclosure is not limited to the exact structures already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A method for temperature determination, characterized in that, it includes: Obtain the first temperature detected by the temperature sensor of the air conditioner; Determine the working mode of the wireless communication module of the air conditioner and the working duration of the wireless communication module in the working mode; Determine the temperature adjustment value according to the working mode and the working duration; Adjust the first temperature according to the temperature adjustment value to obtain the target temperature of the environment where the air conditioner is located.
2. The method according to claim 1, characterized in that, The step of determining the temperature adjustment value according to the working mode and the working duration includes: According to the working mode, determine the first mapping relationship from multiple preset mapping relationships. Different working modes correspond to different preset mapping relationships, and the first mapping relationship is used to represent the relationship between the working duration and the temperature adjustment value; Determine the temperature adjustment value according to the first mapping relationship and the working duration.
3. The method according to claim 2, characterized in that, The preset mapping relationship is obtained by the following method: Determine the second temperature detected by the temperature sensor before the wireless communication module is turned on; For each working mode of the wireless communication module, when the wireless communication module is running in the working mode, monitor the third temperature detected by the temperature sensor at multiple working durations. According to the second temperature, the third temperature and the multiple working durations, obtain the preset mapping relationship corresponding to the working mode.
4. The method according to claim 3, characterized in that, The step of obtaining the preset mapping relationship corresponding to the working mode according to the second temperature, the third temperature and the multiple working durations includes: For each working duration, obtain the temperature adjustment value corresponding to the working duration according to the second temperature, the third temperature and the working duration, and establish an adjustment value mapping relationship between the working duration and the temperature adjustment value; Use the adjustment value mapping relationships corresponding to the multiple durations as the preset mapping relationship corresponding to the working mode.
5. The method according to claim 2, characterized in that, The method further includes: When it is determined that the first temperature difference between the first temperature and the second temperature is greater than or equal to the first preset temperature difference, output a prompt message, and the prompt message is used to prompt that there is a temperature abnormality in the wireless communication module or the temperature sensor.
6. The method according to claim 1, characterized in that, The method further includes: Obtain the set temperature of the air conditioner; When it is determined that the second temperature difference between the set temperature and the target temperature is greater than or equal to the second preset temperature difference, control the air outlet of the air conditioner so that the second temperature difference is less than the second preset temperature difference.
7. The method according to any one of claims 1-6, characterized in that, The step of adjusting the first temperature according to the temperature adjustment value to obtain the target temperature of the environment where the air conditioner is located includes: Use the difference between the first temperature and the temperature adjustment value as the target temperature of the environment where the air conditioner is located.
8. A device for temperature determination, characterized in that, it comprises: a first acquisition module configured to acquire a first temperature detected by a temperature sensor of an air conditioner; a first determination module configured to determine an operating mode of a wireless communication module of the air conditioner and an operating duration of the wireless communication module in the operating mode; a second determination module configured to determine a temperature adjustment value according to the operating mode and the operating duration; a second acquisition module configured to adjust the first temperature according to the temperature adjustment value to obtain a target temperature of an environment where the air conditioner is located.
9. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, when the program instructions are executed by a processor, the steps of the method according to any one of claims 1-7 are implemented.
10. An air conditioner, comprising: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to implement the steps of the method according to any one of claims 1-7.