[0031] First embodiment
[0032] Please refer to figure 1 The embodiment of the present invention provides a flowchart of a method for controlling the brightness of an air conditioner display screen. The above-mentioned method for controlling the brightness of the air conditioner display screen is applied to the air conditioner 1. Optionally, the foregoing method for controlling brightness of the air conditioner display screen may include the following steps:
[0033] Step S101: Obtain the position information of persons in the regulation area corresponding to the air conditioner 1 according to a preset time period.
[0034] As an implementation manner, when the air conditioner 1 detects that a person appears in the corresponding adjustment area, step S101 is started to be executed. As another implementation manner, when the air conditioner 1 acquires an instruction to start the automatic control of the brightness of the display screen in response to a user operation, step S101 is started to be executed.
[0035] In the embodiment of the present invention, the air conditioner 1 includes a plurality of sound collection units. Optionally, the sound collection units are respectively arranged on the panel of the air conditioner 1. Specifically, in each time period, the air conditioner 1 uses each sound collection unit to collect the sound data emitted by the person in the adjustment area. It should be noted that each sound data corresponds to one decibel information. Each sound data collected by each sound collection unit corresponds to a collection time point. The air conditioner 1 calculates the location information corresponding to the person according to the collection time point corresponding to the same sound data collected by each sound collection unit.
[0036] As an implementation, such as figure 2 As shown, step S101 includes the following sub-steps:
[0037] In sub-step S1011, in each time period, the collection time point of the sound data collected by each sound collection unit is acquired.
[0038] Sub-step S1012, according to the collection time point corresponding to the same sound data collected by the sound collection unit, acquire multiple sets of collection time delays corresponding to the sound data.
[0039] In the embodiment of the present invention, the foregoing collection time delay may be the time difference between the collection time points at which the sound data is collected by two different sound collection units.
[0040] In sub-step S1013, a corresponding spatial hyperboloid is constructed according to each group of the collection time delay and the corresponding installation positions of the two sound collection units.
[0041] In the embodiment of the present invention, the installation position of the sound collection unit corresponding to the collection time delay on the panel is taken as the focus, and the collection time delay and the sound propagation speed in the air are used to construct a spatial hyperboloid. The above-mentioned spatial hyperboloid is a spatial curved surface in a virtual space, and the virtual space can be mapped into the real space.
[0042] Sub-step S1014, using intersection points of a plurality of the spatial hyperboloids, determine the position information corresponding to the person.
[0043] It should be noted that the position information corresponding to the person in the adjustment area will be determined according to the intersection between the multiple spatial hyperboloids constructed in the same virtual space based on multiple sets of acquisition time delays.
[0044] As another embodiment, such as image 3 As shown, step S101 includes the following sub-steps:
[0045] In sub-step S1015, in each time period, the collection time point of the sound data collected by each sound collection unit is acquired.
[0046] In sub-step S1016, according to each collection time point, the transmission time of the sound data to the corresponding sound collection unit is acquired.
[0047] As a possible implementation manner, the person may also wear a movable sound collection unit, and the worn sound collection unit may be used for the sound data emitted by the person and obtain the collection time point corresponding to the collected sound data. The worn sound collection unit sends the acquired collection time point to the multiple sound collection units fixed to the panel. The multiple sound collection units fixed to the panel are based on the received collection time point and their own collection of the same sound data. Get the corresponding delivery time at the time point.
[0048] As a possible implementation, it is also possible to calculate the transmission time corresponding to each sound collection unit through the installation position relationship between the multiple sound collection units fixed on the panel and the collection time point of the sound data collected by each sound collection unit .
[0049] Sub-step S1017, taking the installation position of each sound collection unit as a base point, and constructing a corresponding spatial spherical surface using the corresponding transfer time.
[0050] In the embodiment of the present invention, at least four sound collection units are provided, and the sound collection units are arranged in an array. Specifically, the radius of the corresponding spatial spherical surface is calculated by using each transmission time and the propagation speed of the sound, and the spatial spherical surface is constructed according to the corresponding radius based on the sound collection unit corresponding to the transmission time. The above-mentioned spatial spherical surface is a spatial curved surface in an imaginary space, and the virtual space can be mapped into the real space. As an implementation manner, the way to construct the spatial spherical surface can be based on the installation position of each sound collection unit and the corresponding transmission time, using the formula:
[0051] ((x 1 -x) 2 +(y 1 -y) 2 +(z 1 -z) 2 )=(v*t 1 ) 2 ,
[0052] Construct a spatial spherical surface, where (x 1 , Y 1 ,z 1 ) Is the installation position of the sound collection unit, (x, y, z) is the position coordinate of the point on the space sphere, t 1 Is the corresponding transmission time, v is the propagation speed of sound in the air.
[0053] Sub-step S1018, using the intersection of a plurality of the spatial spherical surfaces to determine the position information corresponding to the person.
[0054] In the embodiment of the present invention, the position information corresponding to the person in the adjustment area is determined according to the intersection between the multiple spatial spherical surfaces constructed in the same virtual space with multiple transmission times. Connect the constructed formulas representing the spatial spherical surface of each sound collection unit to solve the intersection point. Taking four sound collection units as an example, the installation positions of the four sound collection units are (x 1 , Y 1 ,z 1 ), (x 2 , Y 2 ,z 2 ), (x 3 , Y 3 ,z 3 ) And (x 4 , Y 4 ,z 4 ), using the formula:
[0055]
[0056] Calculate the intersection point, where t 1 Is the transmission time corresponding to the first sound collection unit, t 2 Is the transmission time corresponding to the second sound collection unit, t 3 Is the transmission time corresponding to the third sound collection unit, t 4 It is the transmission time corresponding to the first sound collection unit.
[0057] In other embodiments, it is not limited to using sound data to determine the position information of the personnel in the adjustment area, and a radar positioning method may also be used. Specifically, a radar communicating with the air conditioner 1 is used to obtain the position information of the persons in the regulation area in each time period.
[0058] You can also use image recognition to locate. Specifically, the image acquisition device communicating with the air conditioner 1 is used to acquire the image information in the adjustment area according to a time period, so as to identify the position information of the person in the adjustment area from the image information.
[0059] It can also be positioned by thermal infrared recognition. Specifically, a thermal infrared collection device communicating with the air conditioner 1 is used to collect thermal infrared image information in the adjustment area according to a time period, so as to obtain the position information of the person in the adjustment area according to the thermal infrared image information.
[0060] For the convenience of description, the position information obtained in the current time period is taken as the first position information, and the position information obtained in the adjacent previous time period is taken as the corresponding second position information. Further, after acquiring the first position information in each time period, the air conditioner 1 compares the first position information with the corresponding second position information. If the distance between the first location information and the second location information does not exceed the preset distance threshold, the process proceeds to step S102, otherwise the process proceeds to step S105.
[0061] Preferably, the value of the preset distance threshold is less than 1 meter, and the preset distance threshold may include, but is not limited to, 0.5 meters, 0.6 meters, 0.8 meters, and so on. The value of the period length corresponding to the time period is less than 30 minutes, and the period length can include, but is not limited to, 5 minutes, 10 minutes, 20 minutes, and 30 minutes. It should be noted that if the preset distance threshold is 0.5 meters and the cycle length is 5 minutes, then the distance between the first location information and the second location information does not exceed the preset distance threshold, which means people within 5 minutes The moving distance does not exceed 0.5 meters. The above-mentioned sound collection unit may be a sound detection sensor.
[0062] Step S102: Collect sound data in the adjustment area.
[0063] In the embodiment of the present invention, the collected sound data all correspond to one decibel information. It should be noted that if the sound data is used to determine the location information of the person in step S101, then step S102 is to continue to collect the sound data in the adjustment area. If other methods are used to determine the location information of the person in step S101, then step S102 is to start collecting sound data in the adjustment area.
[0064] Step S103, when the collected sound data meets a preset condition, adjust the brightness of the display screen of the air conditioner 1 to a preset brightness threshold.
[0065] Optionally, the manner for satisfying the preset condition includes that the decibel information corresponding to the collected sound data is lower than a preset decibel threshold within a time exceeding a preset time period. The aforementioned preset decibel threshold may be the decibel value of the sound emitted by a person during normal sleep. Preferably, the preset duration can be set to 1 min. That is, if it is detected that the person in the adjustment area is no longer moving, and the sound intensity corresponding to the sound data in the adjustment area is sufficiently small for more than 1 minute, it can be determined that the user is about to sleep or has fallen asleep. At this time, adjust the display brightness to the preset brightness threshold. The preset brightness threshold is lower than the current brightness value. For example, the preset brightness threshold may be 0%, and the brightness of the display screen is adjusted to the preset brightness threshold to directly control the brightness of the screen to execute the screen off.
[0066] Optionally, the manner of satisfying the preset condition may also include that the decibel information is not lower than a preset decibel threshold, and the decibel curve generated according to the decibel information and the corresponding collection time point has a periodic change characteristic. When the decibel curve can be divided into a plurality of periods with similarity not less than a preset value, it is determined that the decibel curve has a periodic change characteristic. For example, the decibel curve can be divided into a number of cycles with a similarity of 80%, and it is determined that the decibel curve has a periodic change characteristic.
[0067] It should be noted that when the decibel information is greater than the preset decibel threshold, the decibel curve does not have periodicity, it is determined that the people in the adjustment area are still active (such as chatting, watching TV, etc.); when the decibel information is greater than the preset decibel threshold, the decibel curve With periodicity, it is determined that the person in the adjustment area has entered sleep, and the collected sound data is an interference signal (for example, snoring during sleep).
[0068] Step S104: When the collected sound data does not meet the preset condition, control the display screen of the air conditioner 1 to work according to the set brightness value.
[0069] In the embodiment of the present invention, the collection of sound data in the adjustment area is a continuous process. If the brightness of the display screen of the air conditioner 1 is still the set brightness value and the collected sound data does not meet the preset condition, the brightness of the display screen is controlled to remain at the set brightness value. If the brightness of the display screen of the air conditioner 1 is the preset brightness threshold and the collected sound data does not meet the preset condition, the brightness of the display screen is controlled to return to the preset brightness value.
[0070] Step S105, if the distance between the acquired first position information and the corresponding second position information exceeds the preset distance threshold, maintain the brightness of the display screen of the air conditioner 1 at the set brightness value.
[0071] In the embodiment of the present invention, the period length of the above-mentioned time period is preferably 5 minutes, and the above-mentioned preset distance threshold is preferably 0.5m. If the distance between the acquired first position information and the corresponding second position information exceeds the preset distance threshold, it indicates that the person in the adjustment area is moving, and it can be regarded as being in an active state. The brightness of the display screen of the air conditioner 1 is maintained at the set brightness value.