Method, apparatus and device for controlling light emitting component
By controlling the light emission of the air conditioner's light-emitting components according to the relationship between the mode and parameters, the problem of the small air conditioner display panel being difficult to identify is solved, and the status and parameters can be displayed intuitively from a distance.
Patent Information
- Application Number
- CN202210736933.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-27
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2042-06-27
AI Technical Summary
The air conditioner's display panel is small, making it difficult for users to clearly see the displayed information when they are far away from the air conditioner.
By acquiring the current mode and indoor parameters of the air conditioner, and using light-emitting components to emit light according to hue and color attributes, the status and parameters of the air conditioner can be displayed intuitively.
Users can clearly identify the operating status of the air conditioner and changes in indoor parameters from a distance, improving information visibility.
Smart Images

Figure CN115346460B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of air conditioners, and in particular to a control method, device and equipment of a light-emitting assembly. BACKGROUND
[0002] The emergence of air conditioners greatly improves the modern life. No matter in hot summer or in severe winter, the indoor temperature can be kept in a range that is comfortable for human body, and the comfort of life is improved.
[0003] In the related art, an air conditioner can be hung on a wall or stand on the ground, and is not easy to move. The shell of the air conditioner is provided with a display panel, which can be used to display information such as the current mode and the current indoor temperature of the air conditioner.
[0004] However, the display panel of the air conditioner is small, and when a user is far away from the air conditioner, it is difficult for the user to clearly see the information on the display panel of the air conditioner. SUMMARY
[0005] Embodiments of the present application provide a control method, device and equipment of a light-emitting assembly, to solve the problem that the display panel of the air conditioner is small, and when a user is far away from the air conditioner, it is difficult for the user to clearly see the information on the display panel of the air conditioner.
[0006] To achieve the above object, the present application provides the following technical solutions:
[0007] One aspect of an embodiment of the present application provides a control method of a light-emitting assembly for an air conditioner, comprising: obtaining a current mode of the air conditioner and obtaining a first corresponding relationship, finding a hue corresponding to the current mode according to the first corresponding relationship; wherein the first corresponding relationship is used to represent the corresponding relationship between hue and mode; obtaining a second corresponding relationship and obtaining a current indoor parameter related to the current mode, determining a parameter range in which the current indoor parameter is located, and finding a color attribute corresponding to the parameter range according to the second corresponding relationship; wherein the second corresponding relationship is used to represent the corresponding relationship between color attribute and parameter range; and controlling at least part of the light-emitting assembly to emit light with the hue and the color attribute.
[0008] In one possible implementation, the obtaining of the second corresponding relationship comprises: obtaining a gear number, an initial indoor parameter related to the current mode, and a target indoor parameter related to the current mode, obtaining a plurality of continuous parameter ranges according to the target indoor parameter, the initial indoor parameter and the gear number, the number of the plurality of parameter ranges being equal to the gear number; obtaining a plurality of color attributes; and corresponding the plurality of parameter ranges and the plurality of color attributes one by one to obtain the second corresponding relationship.
[0009] In a possible implementation, the color attribute is color brightness; and the control of the at least part of the light-emitting components to emit light in the hue and the color attribute includes control of the light-emitting components to emit light in the hue and the color brightness.
[0010] In a possible implementation, the light-emitting components include a plurality of light groups arranged along a preset path in sequence, the number of the light groups is equal to the number of the gears, and the light groups correspond to the color attributes one by one; and the control of the at least part of the light-emitting components to emit light in the hue and the color attribute includes control of the light group corresponding to the color attribute to emit light in the hue.
[0011] In a possible implementation, the color attribute is color position; or, the color attribute includes color brightness and color position.
[0012] In a possible implementation, the control method further includes control of the last light group to still emit light in the hue when the next light group emits light in the hue.
[0013] In a possible implementation, the control method further includes acquisition of a normal parameter range related to the current mode, judgment of whether the current indoor parameter is within the normal parameter range, control of the light-emitting components to continuously emit light if the current indoor parameter is within the normal parameter range, and control of the light-emitting components to emit light in a preset flash index if the current indoor parameter is outside the normal parameter range.
[0014] In a possible implementation, the control method further includes acquisition of a current indoor brightness, acquisition of a third correspondence relationship used to represent a correspondence relationship between indoor brightness and light brightness, finding of a light brightness corresponding to the current indoor brightness according to the third correspondence relationship, and control of the light-emitting components to emit light in the light brightness.
[0015] Another aspect of the embodiments of the present application provides a control device of a light-emitting component, including an acquisition module configured to acquire a current mode of an air conditioner, a first correspondence relationship, a current indoor parameter related to the current mode, and a second correspondence relationship; the first correspondence relationship is used to represent a correspondence relationship between a hue and a mode, and the second correspondence relationship is used to represent a correspondence relationship between a color attribute and a parameter range; a processing module configured to find a hue corresponding to the current mode according to the first correspondence relationship, to determine a parameter range in which the current indoor parameter is located, and to find a color attribute corresponding to the parameter range according to the second correspondence relationship; and a control module configured to control at least part of the light-emitting components to emit light in the hue and the color attribute.
[0016] Yet another aspect of the embodiments of the present application provides an electronic device, comprising a memory and a processor, the memory storing computer-executable instructions, the processor being communicatively connected with the memory and executing the computer-executable instructions stored in the memory to implement the control method as described above.
[0017] The control method, device and equipment of the light-emitting assembly provided by the present application find the hue corresponding to the current mode of the air conditioner according to the first correspondence relationship by obtaining the current mode of the air conditioner and the first correspondence relationship, find the color attribute corresponding to the parameter range according to the second correspondence relationship by obtaining the current indoor parameter related to the current mode, determining the parameter range in which the current indoor parameter is located, obtaining the second correspondence relationship, and controlling the light-emitting assembly to emit light with the hue and the color attribute. In this way, the user can intuitively obtain the current mode of the air conditioner, and also intuitively see the change of the indoor parameter.
[0018] In addition to the technical problems solved by the embodiments of the present application described above, the technical features constituting the technical solutions and the beneficial effects brought by these technical features, other technical problems solved by the embodiments of the present application, other technical features included in the technical solutions and the beneficial effects brought by these technical features will be further described in detail in the specific embodiments. BRIEF DESCRIPTION OF DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and serve to explain the principles of the present application together with the specification.
[0020] Figure 1 A flowchart of a control method of a light-emitting assembly provided by the embodiments of the present application;
[0021] Figure 2 A schematic diagram of a control device of a light-emitting assembly provided by the embodiments of the present application;
[0022] Figure 3 A schematic diagram of an electronic device provided by the embodiments of the present application.
[0023] Through the above-described drawings, the specific embodiments of the present application have been shown, and will be described in more detail hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of the present application by any means, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0024] As described in the background, the display panel of the air conditioner in the related art is small, and when the user is far away from the air conditioner, it is difficult for the user to clearly see the information on the display panel of the air conditioner.
[0025] To solve the above technical problems, the embodiment of the present application provides a control method of a light-emitting assembly. The current mode of an air conditioner and a first corresponding relationship are obtained, and a color phase corresponding to the current mode of the air conditioner is found according to the first corresponding relationship. The light-emitting assembly can emit light of the color phase, so that the user can determine the running state of the current air conditioner through the color phase of the light emitted by the light-emitting assembly.
[0026] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application.
[0027] Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
[0028] Figure 1 A flowchart of a control method of a light-emitting assembly provided by the embodiments of the present application is shown in FIG. 1. Referring to FIG. 1, Figure 1 The control method provided by the embodiments of the present application can include the following steps.
[0029] S101, the current mode of an air conditioner is obtained, and a first corresponding relationship is obtained. A color phase corresponding to the current mode of the air conditioner is found according to the first corresponding relationship.
[0030] Specifically, the mode of the air conditioner can include one or more of refrigeration, heating, humidification and dehumidification. The color phase is the appearance of color, such as red, orange, yellow, green, purple, etc. The first corresponding relationship can represent the corresponding relationship between the color phase and the mode. When there are multiple modes of the air conditioner, there can be multiple color phases, and the multiple modes and the multiple color phases can correspond one by one. That is, each mode can correspond to a color phase, and the color phases corresponding to different modes are different. For example, the color phase corresponding to the refrigeration mode can be blue, the color phase corresponding to the heating mode can be orange, the color phase corresponding to the humidification mode can be yellow, and the color phase corresponding to the dehumidification mode can be green.
[0031] In addition, in order to improve diversity, the user can edit the first corresponding relationship according to his own preference, that is, each mode can be assigned a different color phase according to the user's preference. After the user sets the first corresponding relationship, the new first corresponding relationship can be stored and called.
[0032] Referring to FIG. 1, Figure 1 The control method provided by the embodiments of the present application can further include the following steps.
[0033] S102, acquire a current indoor parameter related to the current mode, acquire a second correspondence relationship, determine a parameter range in which the current indoor parameter is located, and find a color attribute corresponding to the parameter range according to the second correspondence relationship; wherein the second correspondence relationship is used to represent the correspondence relationship between the color attribute and the parameter range.
[0034] The indoor parameter can include indoor temperature, indoor humidity, etc. When the current mode is the cooling mode or the heating mode, the current indoor parameter related to the cooling mode or the heating mode can be the indoor temperature. When the current mode is the humidification mode or the dehumidification mode, the current indoor parameter related to the humidification mode or the dehumidification mode is the indoor humidity.
[0035] In addition, acquiring the second correspondence relationship can include: acquiring a gear number, an initial indoor parameter related to the current mode of the air conditioner, a target indoor parameter related to the current mode of the air conditioner, and obtaining different parameter ranges arranged according to a first preset rule according to the target indoor parameter, the initial indoor parameter and the gear number, and obtaining a plurality of color attributes arranged according to a second preset rule, and corresponding the plurality of parameter ranges and the plurality of color attributes one by one to obtain the second correspondence relationship.
[0036] Specifically, the gear number can be two or more, and the gear number can be equal to the number of the plurality of parameter ranges. In addition, the initial indoor parameter can be the current indoor parameter related to the current mode of the air conditioner at the mode starting time. For example, when the cooling mode of the air conditioner is started, the current indoor temperature can be obtained by a temperature sensor or the like. For another example, when the dehumidification mode of the air conditioner is started, the current indoor humidity can be obtained by a humidity sensor or the like.
[0037] In addition, the target indoor parameter can be set by the user, or the target indoor parameter can also be a value set by the user according to the user's habits, or the target indoor parameter can also be set at the factory. For example, when the user selects the cooling mode, the user can send the target indoor temperature through an input device such as a remote controller, a terminal device, etc. For another example, when the user selects the dehumidification mode, the target indoor humidity can be set by the user according to the user's past habits.
[0038] In addition, according to the target indoor parameter, the initial indoor parameter and the gear number, a plurality of continuous parameter ranges are obtained, and the number of the plurality of continuous parameter ranges can be equal to the gear number. That is, the range between the initial indoor parameter and the target indoor parameter is divided into a plurality of parts to obtain a plurality of continuous gear number parameter ranges. Each parameter range can have a first boundary value and a second boundary value, and the difference between the second boundary value and the first boundary value can be equal or not equal.
[0039] When the difference between the two boundary values of each parameter range is equal, multiple parameter ranges can be obtained by referring to the following. Illustratively, the difference between the target indoor parameter and the initial indoor parameter is calculated, and the quotient between the difference and the number of gears is calculated. In addition, the difference between the two boundary values of each parameter range can be the quotient. For example, the first boundary value of the first parameter range can be the initial indoor parameter, the second boundary value of the first parameter range can be the sum of the initial indoor parameter and the quotient, the first boundary value of the second parameter range can be the sum of the initial indoor parameter and the quotient, the second boundary value of the second parameter range can be the sum of the initial indoor parameter and twice the quotient, and so on. The first boundary value of the last parameter range can be the difference between the target indoor parameter and the quotient, and the second boundary value of the last parameter range can be the target indoor parameter.
[0040] It should be noted that the difference and the quotient mentioned above can be positive or negative. For example, in the cooling mode, the initial indoor temperature is 28 degrees, the target indoor temperature is 22 degrees, and the number of gears is 3. The difference between the target indoor temperature and the initial indoor temperature is -6 degrees. The quotient between the difference and the number of gears is -2. The first parameter range can be between 28 degrees and 26 degrees, the second parameter range can be between 26 degrees and 24 degrees, and the third parameter range can be between 24 degrees and 22 degrees. Another example, in the humidification mode, the initial indoor humidity is 3%, the target indoor humidity is 7%, and the number of gears is 2. The difference between the target indoor humidity and the initial indoor humidity is 4%. The quotient between the difference and the number of gears is 2%. The first parameter range can be between 3% and 5%, and the second parameter range can be between 5% and 7%.
[0041] It should be noted that the color attribute mentioned above can be color lightness; or, the color attribute can be color position; or, the color attribute can include color lightness and color position.
[0042] The color lightness refers to the lightness and darkness of the color, which is also known as the light and dark color. Through the color lightness, the user can see the various levels of the color. The same hue can have different color lightness. Illustratively, the hue is blue, and the blue can have light blue, sky blue, sea blue, medium blue, dark blue, dark blue, and dark blue. When the color attribute is color lightness, multiple color attributes refer to multiple color lightness. Multiple parameter ranges can be one-to-one corresponding to multiple color lightness to obtain a second correspondence.
[0043] In addition, the color position can be embodied by the light-emitting position of the light-emitting assembly. Illustratively, the light-emitting assembly can include a plurality of light groups. The plurality of light groups can be arranged in sequence along a preset path, that is, each light group can have a specific light-emitting position, the plurality of light groups can have different light-emitting positions, the light-emitting assembly can have different light-emitting positions, and the light-emitting assembly can have different color positions. When the color attribute is the color position, or when the color attribute includes the color brightness and the color position, the number of light groups, the number of light-emitting positions, the number of gears, and the number of parameter ranges can be equal, and a plurality of parameter ranges correspond to a plurality of color attributes one by one to obtain a second correspondence relationship.
[0044] With reference to the foregoing Figure 1 The control method provided by the embodiments of the present application can further include: S103, controlling at least part of the light-emitting assembly to emit light in the hue and the color attribute.
[0045] It is assumed that the current mode of the air conditioner is the cooling mode, and the first correspondence relationship is used to obtain the hue corresponding to the cooling mode, which is blue. The second correspondence relationship is obtained as follows: the first parameter range is greater than 26 degrees and less than or equal to 28 degrees; the second parameter range is less than or equal to 26 degrees and greater than or equal to 24 degrees; and the third parameter range is less than 24 degrees and greater than or equal to 22 degrees.
[0046] Illustratively, when the color attribute is the color brightness, the S103 can be: controlling the light-emitting assembly to emit light in the hue and the color brightness.
[0047] For example, the first parameter range corresponds to light blue, the second parameter range corresponds to medium blue, and the third parameter range corresponds to dark blue. When the current indoor temperature is obtained as 23 degrees, 23 degrees is in the third parameter range, and according to the second correspondence relationship, the color attribute corresponding to 23 degrees is dark blue. Therefore, the light-emitting assembly can emit light blue at this time; when the current indoor temperature is obtained as 26 degrees, 26 degrees is in the second parameter range, and according to the second correspondence relationship, the color attribute corresponding to 24 degrees is medium blue. Therefore, the light-emitting assembly can emit medium blue at this time.
[0048] Another illustrative example, when the color attribute is the color position, the S103 can be: controlling the light group corresponding to the color attribute to emit light in the hue. The plurality of light groups can emit light in sequence along a preset path.
[0049] For example, the first parameter range corresponds to the first position, the second parameter range corresponds to the second position, and the third parameter range corresponds to the third position. The first position, the second position, and the third position can be an equal division of the position range on the preset path, or an unequal division of the position range. When the current indoor temperature is 27 degrees, 27 degrees is in the first parameter range, and according to the second correspondence relationship, the color attribute corresponding to 27 degrees is the first position. Therefore, the lamp group at the first position emits blue light. When the current indoor temperature is 24 degrees, 24 degrees is in the second parameter range, and according to the second correspondence relationship, the color attribute corresponding to 24 degrees is the second position. Therefore, the lamp group at the second position can emit blue light.
[0050] In another example, when the color attribute includes color brightness and color position, the S103 can be: controlling the lamp group corresponding to the color attribute to emit light in the color phase.
[0051] For example, the first parameter range corresponds to the first position and light blue, the second parameter range corresponds to the second position and medium blue, and the third parameter range corresponds to the third position and dark blue. When the current indoor temperature is 27 degrees, 27 degrees is in the first parameter range, and according to the second correspondence relationship, the color attribute corresponding to 27 degrees is the first position and light blue. Therefore, the lamp group at the first position emits light blue light; when the current indoor temperature is 24 degrees, 24 degrees is in the second parameter range, and according to the second correspondence relationship, the color attribute corresponding to 24 degrees is the second position and medium blue. Therefore, the lamp group at the second position can emit medium blue light; when the current indoor temperature is 23 degrees, 23 degrees is in the third parameter range, and according to the second correspondence relationship, the color attribute corresponding to 23 degrees is the third position and dark blue. Therefore, the lamp group at the third position can emit dark blue light.
[0052] In addition, in order to facilitate the user to intuitively find the change of the indoor parameter, optionally, when the next lamp group emits light in the color phase, the previous lamp group still emits light in the color phase.
[0053] For example, when the color attribute is the color position, when the current indoor temperature is 27 degrees, the lamp group at the first position emits blue light. When the current indoor temperature is 26 degrees, the lamp group at the second position can emit blue light, and at this time, the lamp group at the first position also still continuously emits blue light. In this way, the user can obtain the length change of the light emitted by the light emitting assembly through comparison, and then intuitively feel the change of the indoor parameter.
[0054] For example, when the color attribute includes color brightness and color position, the light group at the first position emits light of light blue when the current indoor temperature is 27 degrees. When the current indoor temperature is 26 degrees, the light group at the second position emits light of medium blue, and the light group at the first position still emits light of light blue, so that the user can intuitively perceive the light-emitting assembly. In this way, the user can perceive the change of the indoor parameter by comparing the length and brightness of the light emitted by the light-emitting assembly.
[0055] In summary, the control method provided by the embodiments of the present application can obtain the current mode of the air conditioner, find the hue corresponding to the current mode of the air conditioner according to the first corresponding relationship, and control the light-emitting assembly to emit light according to the hue, so that the user can intuitively obtain the current running state of the air conditioner. In addition, the current indoor parameter related to the current mode can be obtained, the parameter range in which the current indoor parameter is located can be determined, the second corresponding relationship can be obtained, and the color attribute corresponding to the parameter range can be found according to the second corresponding relationship. The light-emitting assembly can emit light according to the color attribute, so that the user can intuitively perceive the change of the indoor parameter.
[0056] To remind the user when the user selects the wrong mode, optionally, the control method provided by the embodiments of the present application can further include: S104, obtaining a normal parameter range related to the current mode of the air conditioner, and determining whether the current indoor parameter is in the normal parameter range; if the current indoor parameter is in the normal parameter range, controlling the light-emitting assembly to continuously emit light; if the current indoor parameter is out of the normal parameter range, controlling the light-emitting assembly to emit light with a preset flash index.
[0057] To enable the user to observe the light of the light-emitting assembly in a bright environment, and to avoid the light-emitting assembly emitting bright light in a dark environment, optionally, the control method provided by the embodiments of the present application can further include: S105, obtaining a third corresponding relationship between the current indoor brightness and the light brightness, finding the light brightness corresponding to the current indoor brightness according to the third corresponding relationship, and controlling the light-emitting assembly to emit light with the light brightness. The third corresponding relationship is used to represent the corresponding relationship between the indoor brightness and the light brightness.
[0058] Figure 2 A control device of a light-emitting assembly provided by an embodiment of the present application is shown in the figure. Figure 2The embodiment of the present application can also provide a control device of a light-emitting assembly, which can include an acquisition module 100, a processing module 200 and a control module 300. The acquisition module 100 can acquire a current mode of an air conditioner, a first corresponding relationship, a current indoor parameter related to the current mode and a second corresponding relationship. The first corresponding relationship is used to represent a corresponding relationship between a hue and a mode, and the second corresponding relationship is used to represent a corresponding relationship between a color attribute and a parameter range. The processing module 200 can find a hue corresponding to the current mode of the air conditioner according to the first corresponding relationship, and determine a parameter range in which the current indoor parameter is located, and find a color attribute corresponding to the parameter range according to the second corresponding relationship. The control module 300 can control the light-emitting assembly to emit light in the hue and the color attribute.
[0059] Optionally, the acquisition module 100 can acquire a gear number, an initial indoor parameter related to the current mode of the air conditioner, a target indoor parameter related to the current mode of the air conditioner, and obtain a plurality of continuous parameter ranges according to the target indoor parameter, the initial indoor parameter and the gear number. The number of the plurality of parameter ranges is equal to the gear number. The acquisition module 100 can also acquire a plurality of color attributes, and correspond the plurality of parameter ranges and the plurality of color attributes one by one to obtain the second corresponding relationship.
[0060] Optionally, the color attribute can be a color lightness, and the control module 300 can control the light-emitting assembly to emit light in the hue and the color lightness.
[0061] Optionally, the light-emitting assembly can include a plurality of light groups, the plurality of light groups can be arranged along a preset path in sequence, the number of the plurality of light groups is equal to the gear number, and the plurality of light groups correspond to the plurality of color attributes one by one; in addition, the control module 300 can control a light group corresponding to a color attribute to emit light in the hue.
[0062] Optionally, the color attribute can be a color position; or, the color attribute can include a color lightness and a color position.
[0063] Optionally, when a next light group emits light in the hue, the control module 300 can control a previous light group to still emit light in the hue.
[0064] Optionally, the acquisition module 100 can also acquire a normal parameter range related to the current mode of the air conditioner. The processing module 200 can determine whether the current indoor parameter is within the normal parameter range. If the current indoor parameter is within the normal parameter range, the control module 300 can control the light-emitting assembly to continuously emit light; if the current indoor parameter is outside the normal parameter range, the control module 300 can control the light-emitting assembly to emit light in a preset flash index.
[0065] Optionally, the acquisition module 100 can further acquire a third corresponding relationship of the current indoor brightness. The third corresponding relationship can be used to represent the corresponding relationship between the indoor brightness and the light brightness. The processing module 200 can find the light brightness corresponding to the current indoor brightness according to the third corresponding relationship. The control module 300 can control the light-emitting assembly to emit light with the light brightness.
[0066] Figure 3 A schematic diagram of an electronic device is provided in an embodiment of the present application. Referring to Figure 3 An electronic device is also provided in an embodiment of the present application, which includes a memory 410 and a processor 420. The memory 410 stores computer-executable instructions. The processor 420 is in communication with the memory 410 and can execute the computer-executable instructions stored in the memory 410 to implement the control method mentioned above.
[0067] A computer-readable storage medium is also provided in an embodiment of the present application, which stores computer-executable instructions. When a processor executes the computer-executable instructions, the calibration method mentioned above is implemented.
[0068] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other manners. For example, the above-described device embodiments are merely illustrative, and the division of modules can be different. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.
[0069] The integrated modules implemented in the form of software functional modules can be stored in a computer-readable storage medium. The software functional modules stored in the storage medium include a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.
[0070] It should be appreciated that referenced processors above can be a central processing unit (CPU), can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the application can be directly embodied as hardware processor execution, or executed by a combination of hardware and software modules in the processor. The memory can include a high-speed RAM memory, and can also include a non-volatile storage NVM, such as at least one disk memory, and can also be a U disk, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.
[0071] The storage medium described above can be realized 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 storage, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0072] An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a part of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic device or a host device.
[0073] It should be noted that in this paper, the term "include", "contain" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0074] The above-mentioned sequence numbers of the embodiments of the application are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0075] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and the necessary general hardware platform, of course, can also be through hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application essentially or say the part of the prior art contribution can be embodied in the form of software products, the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc), including a number of instructions to make a terminal device (may be a mobile phone, computer, server, air conditioner, or network equipment, etc.) executes the method of each embodiment of the present application.
[0076] The above is only the preferred embodiment of the present application, not therefore limit the patent scope of the present application, all use the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, equivalent structure or equivalent process transformation, or, are also included in the patent protection scope of the present application.
Claims
1. A control method of a light emitting assembly for an air conditioner, characterized by, The method comprises the following steps: obtaining a current mode of an air conditioner and obtaining a first corresponding relationship, and finding a hue corresponding to the current mode according to the first corresponding relationship; wherein the first corresponding relationship is used to represent a corresponding relationship between a hue and a mode; obtaining a second corresponding relationship and obtaining a current indoor parameter related to the current mode, determining a parameter range in which the current indoor parameter is located, and finding a color attribute corresponding to the parameter range according to the second corresponding relationship; wherein the second corresponding relationship is used to represent a corresponding relationship between a color attribute and a parameter range; controlling at least part of the light-emitting assembly to emit light in the hue and the color attribute; the step of obtaining the second corresponding relationship comprises: obtaining a gear number, an initial indoor parameter related to the current mode, and a target indoor parameter related to the current mode, calculating a difference value between the target indoor parameter and the initial indoor parameter, dividing the difference value by the gear number to obtain a quotient value, and obtaining continuous multiple parameter ranges according to the initial indoor parameter, the quotient value, and the target indoor parameter; the number of the multiple parameter ranges is equal to the gear number, and the difference between a first boundary value and a second boundary value of each parameter range is equal to the quotient value; the initial indoor parameter is a current indoor parameter related to the current mode of the air conditioner at a mode starting time; obtaining multiple color attributes, wherein the color attributes include color brightness and color position; corresponding the multiple parameter ranges and the multiple color attributes one by one to obtain the second corresponding relationship; the light-emitting assembly comprises multiple lamp groups, the multiple lamp groups are arranged along a preset path in sequence, the number of the multiple lamp groups is equal to the gear number, and the multiple lamp groups correspond to the multiple color attributes one by one; the step of controlling at least part of the light-emitting assembly to emit light in the hue and the color attribute comprises: controlling the lamp group corresponding to the color attribute to emit light in the hue and the color brightness; when the next lamp group emits light in the hue, controlling the previous lamp group to still emit light in the hue and the color brightness corresponding to the previous lamp group; the method further comprises the following steps: obtaining a normal parameter range related to the current mode; judging whether the current indoor parameter is in the normal parameter range; if the current indoor parameter is in the normal parameter range, controlling the light-emitting assembly to continuously emit light; if the current indoor parameter is out of the normal parameter range, controlling the light-emitting assembly to emit light at a preset flash index.
2. The control method of a light emitting assembly according to claim 1, wherein, the method further comprises the following steps: obtaining a current indoor brightness; obtaining a third corresponding relationship, wherein the third corresponding relationship is used to represent a corresponding relationship between indoor brightness and light brightness; finding a light brightness corresponding to the current indoor brightness according to the third corresponding relationship; controlling the light-emitting assembly to emit light in the light brightness.
3. A control device of a light emitting assembly for an air conditioner, characterized by, The method comprises the following steps: an obtaining module is configured to obtain a current mode of an air conditioner, a first corresponding relationship, a current indoor parameter related to the current mode, and a second corresponding relationship; wherein the first corresponding relationship is used to represent a corresponding relationship between a hue and a mode, and the second corresponding relationship is used to represent a corresponding relationship between a color attribute and a parameter range. The processing module is configured to find a hue corresponding to the current mode according to the first correspondence relationship, and determine a parameter range in which the current indoor parameter is located, and find a color attribute corresponding to the parameter range according to the second correspondence relationship; The control module is configured to control at least part of the light-emitting components to emit light in the hue and the color attribute; The acquisition module is configured to acquire the second correspondence relationship in the following manner: acquire a gear number, an initial indoor parameter related to the current mode, and a target indoor parameter related to the current mode, calculate a difference between the target indoor parameter and the initial indoor parameter, divide the difference by the gear number to obtain a quotient, and obtain a plurality of continuous parameter ranges according to the initial indoor parameter, the quotient, and the target indoor parameter, wherein a number of the plurality of parameter ranges is equal to the gear number, and a difference between a first boundary value and a second boundary value of each parameter range is equal to the quotient; the initial indoor parameter is a current indoor parameter related to the current air conditioner mode acquired at a mode starting time; acquire a plurality of color attributes, wherein the color attributes include color brightness and color position; correspond the plurality of parameter ranges to the plurality of color attributes one by one to obtain the second correspondence relationship; The light-emitting components include a plurality of light groups, the plurality of light groups are arranged along a preset path in sequence, a number of the plurality of light groups is equal to the gear number, and the plurality of light groups correspond to the plurality of color attributes one by one; The control module is configured to control at least part of the light-emitting components to emit light in the hue and the color attribute in the following manner: control the light group corresponding to the color attribute to emit light in the hue and the color brightness; when the next light group emits light in the hue, control the previous light group to still emit light in the hue and the color brightness corresponding to the previous light group; The acquisition module is further configured to acquire a normal parameter range related to the current mode of the air conditioner; The processing module is further configured to determine whether the current indoor parameter is in the normal parameter range, and the control module is further configured to control the light-emitting components to continuously emit light if the current indoor parameter is in the normal parameter range, and control the light-emitting components to emit light in a preset flash index if the current indoor parameter is out of the normal parameter range.
4. An electronic device, comprising: The control method comprises a memory and a processor, the memory stores computer execution instructions, the processor is in communication connection with the memory and executes the computer execution instructions stored in the memory to realize the control method according to claim 1 or 2.
Citation Information
Patent Citations
Air conditioner, control method and device of indicator lamp of air conditioner and storage medium
CN110056954A