Desktop color temperature control system, desktop color temperature control method and electronic equipment
By combining a heart rate monitoring device with a light-emitting array, the desktop color temperature is adjusted based on the user's emotional state, solving the problem of lighting adjustment that cannot sense the user's emotions in existing technologies and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-26
- Publication Date
- 2026-04-10
AI Technical Summary
Existing technology cannot adjust desktop lighting based on the user's emotional state, resulting in a poor user experience.
Heart rate data is collected by a heart rate acquisition device, and the ratio of low-frequency power to high-frequency power is determined by a Fourier transform algorithm to generate an emotion code. The light-emitting array is then controlled to adjust the desktop color temperature according to the emotion code, thereby achieving light adjustment based on emotion state perception.
It enhances the user experience by adjusting the desktop color temperature to regulate cortisol levels, thereby improving the imbalance between the user's sympathetic and parasympathetic states.
Smart Images

Figure CN121842897A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of desktop color temperature control, and particularly relates to a desktop color temperature control system, a desktop color temperature control method and electronic equipment. BACKGROUND
[0002] Generally, the user experience can be improved by adjusting the brightness and color temperature of the desktop light.
[0003] However, long-term work and study can cause sympathetic-parasympathetic imbalance of the human body, and in the related art, the brightness of the desktop light is generally adjusted manually or based on the ambient brightness, which cannot perceive the emotional state of the user during use, resulting in poor user experience. SUMMARY
[0004] The present application aims to at least solve one of the technical problems existing in the prior art. To this end, the present application provides a desktop color temperature control system, a desktop color temperature control method and electronic equipment to solve the problem that the brightness of the desktop light cannot be adjusted based on the emotional state of the user in the related art.
[0005] In a first aspect, the present application provides a desktop color temperature control system, comprising: a control unit, a heart rate acquisition device and a light-emitting array; The control unit is connected to the heart rate acquisition device and the light-emitting array, respectively. The heart rate acquisition device is configured to acquire heart rate data in a target period and send the heart rate data to the control unit. The control unit is configured to determine a target color temperature based on the heart rate data, and control the light-emitting array to emit light based on the target color temperature to adjust the cortisol of the user.
[0006] According to the desktop color temperature control system of the present application, the control unit determines the target color temperature based on the heart rate data reflecting the sympathetic-parasympathetic state of the user's body, and controls the light-emitting array to emit light based on the target color temperature, so as to achieve the purpose of adjusting the color temperature of the desktop based on the emotional state of the user, further adjust the cortisol of the user, and improve the user experience.
[0007] According to an embodiment of the present application, the control unit comprises a first controller and a second controller, and the first controller and the second controller communicate with each other based on a target wireless communication protocol. The first controller is configured to receive the heart rate data sent by the heart rate acquisition device, determine a target emotion code based on the heart rate data, and send the target emotion code to the second controller based on the target wireless communication protocol; the target emotion code is used to represent the emotional state of the user. The second controller is configured to determine a target color temperature based on the target emotion code, and control the light-emitting array to emit light based on the target color temperature.
[0008] According to one embodiment of the present application, the first controller is specifically configured to: determine a low-frequency power and a high-frequency power based on the heart rate data according to a Fourier transform algorithm; determine the target emotion code based on a power ratio between the low-frequency power and the high-frequency power.
[0009] According to one embodiment of the present application, the determination of the target emotion code based on the power ratio between the low-frequency power and the high-frequency power comprises: determining the first emotion code as the target emotion code when the power ratio is greater than a first power threshold; the first emotion code represents an anxious emotional state; or determining the second emotion code as the target emotion code when the power ratio is less than or equal to the first power threshold and greater than or equal to a second power threshold; the second power threshold is less than the first power threshold, and the second emotion code represents a normal emotional state; or determining the third emotion code as the target emotion code when the power ratio is less than the second power threshold; the third emotion code represents a relaxed emotional state.
[0010] According to one embodiment of the present application, the second controller is specifically configured to: determining the first color temperature as the target color temperature when the target emotion code is the first emotion code; or determining the second color temperature as the target color temperature when the target emotion code is the second emotion code; or determining the third color temperature as the target color temperature when the target emotion code is the third emotion code.
[0011] In a second aspect, the present application provides a desktop color temperature control method applied to the desktop color temperature control system of the first aspect, which comprises: obtaining heart rate data in a target period; determining a target color temperature based on the heart rate data, and controlling the light-emitting array to emit light based on the target color temperature to adjust the user's cortisol.
[0012] According to the desktop color temperature control method of the present application, the control unit determines the target color temperature based on the heart rate data reflecting the user's sympathetic-parasympathetic state, and controls the light-emitting array to emit light based on the target color temperature, so as to achieve the purpose of adjusting the desktop color temperature based on the user's emotional state, further adjust the user's cortisol, and improve the user's experience.
[0013] According to one embodiment of the present application, the determination of the target color temperature based on the heart rate data, and the control of the light-emitting array to emit light based on the target color temperature comprises: determine the low frequency power and the high frequency power based on the heart rate data according to a Fourier transform algorithm; determine the target mood code based on a power ratio between the low frequency power and the high frequency power; determine the target color temperature based on the target mood code.
[0014] According to one embodiment of the present application, determining the target mood code based on the power ratio between the low frequency power and the high frequency power comprises: determining a first mood code as the target mood code when the power ratio is greater than a first power threshold; the first mood code represents an anxious mood state; or determining a second mood code as the target mood code when the power ratio is less than or equal to the first power threshold and greater than or equal to a second power threshold; the second power threshold is less than the first power threshold, and the second mood code represents a normal mood state; or determining a third mood code as the target mood code when the power ratio is less than the second power threshold; the third mood code represents a relaxed mood state.
[0015] According to one embodiment of the present application, determining the target color temperature based on the target mood code comprises: determining a first color temperature as the target color temperature when the target mood code is the first mood code; or determining a second color temperature as the target color temperature when the target mood code is the second mood code; or determining a third color temperature as the target color temperature when the target mood code is the third mood code.
[0016] In a third aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory, the processor executes the computer program to implement the steps of the desktop color temperature control method of the second aspect.
[0017] In a fourth aspect, the present application provides a computer readable storage medium, having a computer program stored thereon, the computer program, when executed by a processor, implements the steps of the desktop color temperature control method of the second aspect.
[0018] Additional aspects and advantages of the present application will be made apparent by the following description and the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS
[0019] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood by considering the following detailed description, from which the singular features of the application will be more clearly understood. Figure 1is a structural schematic diagram of a desktop color temperature control system provided by an embodiment of the present application; Figure 2 is a structural schematic diagram of a desktop color temperature control system provided by an embodiment of the present application; Figure 3 is a flow schematic diagram of a desktop color temperature control method provided by an embodiment of the present application; Figure 4 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0020] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.
[0021] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually a category, and are not limited to the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / ", generally represents that the front and rear associated objects are in an "or" relationship.
[0022] The desktop color temperature control system, the desktop color temperature control method and the electronic device provided by the embodiments of the present application will be described in detail below with reference to the drawings, through specific embodiments and application scenarios.
[0023] The desktop color temperature control method can be applied to a terminal, and can be specifically executed by hardware or software in the terminal.
[0024] The terminal includes, but is not limited to, a portable communication device such as a mobile phone or a tablet computer having a touch-sensitive surface (for example, a touch screen display and / or a touchpad). It should also be understood that in some embodiments, the terminal can not be a portable communication device, but a desktop computer having a touch-sensitive surface (for example, a touch screen display and / or a touchpad).
[0025] In each of the following embodiments, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal can include one or more other physical user interface devices such as physical keyboards, mice, and joysticks.
[0026] The desktop color temperature control method provided in this application embodiment can be executed by an electronic device or a functional module or entity in an electronic device that can implement the desktop color temperature control method. The electronic devices mentioned in this application embodiment include, but are not limited to, mobile phones, tablets, computers, cameras and wearable devices. The desktop color temperature control method provided in this application embodiment will be described below using an electronic device as the execution subject as an example.
[0027] like Figure 1 As shown, the desktop color temperature control system 100 includes: a control unit 110, a heart rate acquisition device 120, and a light-emitting array 130; The control unit 110 is connected to the heart rate acquisition device 120 and the light-emitting array 130, respectively; The heart rate acquisition device 120 is used to acquire heart rate data within the target cycle and send the heart rate data to the control unit 110; The control unit 110 is used to determine the target color temperature based on heart rate data, and control the light emission array 130 to emit light based on the target color temperature in order to regulate the user's cortisol.
[0028] In practice, the heart rate acquisition device may include a photoplethysmography (PPG) signal acquisition device (e.g., a PPG sensor that emits 525 nm green light and has a sampling rate of 64 Hz), such as smart wearable devices (watches, bracelets, headphones, etc.), heart rate belts, or any other theoretically feasible device. This application does not impose any specific limitations on this.
[0029] In practice, the heart rate acquisition device may also include a noise amplifier to amplify the PPG signal.
[0030] In actual implementation, the heart rate acquisition device may also include an analog-to-digital converter (ADC), which is used to convert the acquired heart rate signal into heart rate data.
[0031] In practice, the light-emitting array can be deployed in a desktop mezzanine. The light-emitting array can include several light-emitting elements, such as several light-emitting diodes (LEDs).
[0032] In some embodiments, the control unit can be connected to the heart rate acquisition device in any theoretically feasible manner. For example, the control unit can be connected to the heart rate acquisition device via wired communication or via wireless communication; this application does not impose any specific limitations on this.
[0033] In some embodiments, the control unit can be configured to store a heart rate data-color temperature curve, the heart rate data-color temperature curve comprising a plurality of heart rate data and a color temperature corresponding to each heart rate data. The control unit can be configured to determine the color temperature corresponding to the heart rate data in the heart rate data-color temperature curve as the target color temperature.
[0034] In some embodiments, after determining the target color temperature, the control unit can be configured to generate a pulse signal corresponding to the target color temperature and send the pulse signal to the light-emitting array to control the light-emitting array to emit light at the target color temperature, so as to adjust the user's cortisol, for example, to reduce the user's 8% cortisol.
[0035] According to the desktop color temperature control system, the control unit determines the target color temperature based on the heart rate data reflecting the sympathetic-parasympathetic state of the user's body, and controls the light-emitting array to emit light based on the target color temperature, so as to adjust the desktop color temperature based on the user's emotional state, further adjust the user's cortisol, and improve the user's experience.
[0036] In some embodiments, as shown in Figure 2 The control unit 210 comprises a first controller 211 and a second controller 212, and the first controller 211 and the second controller 212 communicate based on a target wireless communication protocol; The first controller 211 is configured to receive the heart rate data sent by the heart rate acquisition device 220, determine a target emotional code based on the heart rate data, and send the target emotional code to the second controller 212 based on the target wireless communication protocol; the target emotional code is used to represent the user's emotional state; The second controller 212 is configured to determine a target color temperature based on the target emotional code, and control the light-emitting array 230 to emit light based on the target color temperature.
[0037] In some embodiments, the first controller can be connected to the heart rate acquisition device, and the second controller can be connected to the light-emitting array.
[0038] In some embodiments, the first controller can be deployed on a smart wearable device (watch, bracelet, earphone, etc.), a heart rate belt, or any theoretically feasible device.
[0039] In some embodiments, the second controller can be deployed on a desktop, a desk leg, or any theoretically feasible position in a desk, which is not specifically limited in the present application.
[0040] In some embodiments, the first controller can be configured to store a heart rate data-emotional code table, the heart rate data-emotional code table comprising a plurality of heart rate data and an emotional code corresponding to each heart rate data. The first controller can be configured to determine the emotional code corresponding to the heart rate data in the heart rate data-emotional code table as the target emotional code.
[0041] In practice, the target wireless communication protocol can be Bluetooth Low Energy (BLE) technology.
[0042] In some embodiments, after determining the target emotion code, the first controller may send the target emotion code to the second controller via a target wireless communication protocol.
[0043] In some embodiments, the second controller can control the light-emitting array to emit light at a fixed color temperature if no target emotion code is received within a preset time. For example, if no target emotion code is received within five minutes, the second controller can control the light-emitting array to emit light at a second color temperature.
[0044] In some embodiments, the second controller can be used to store an emotion code-color temperature table, which includes a plurality of emotion codes and a color temperature corresponding to each emotion code. The second controller can be used to determine the color temperature corresponding to a target emotion code in the emotion code-color temperature table as the target color temperature.
[0045] According to the desktop color temperature control system of this application embodiment, a first controller receives heart rate data sent by a heart rate acquisition device, determines a target emotion code based on the heart rate data, and sends the target emotion code to a second controller based on a target wireless communication protocol; the target emotion code is used to characterize the user's emotional state; the second controller determines a target color temperature based on the target emotion code, and controls the light-emitting array to emit light based on the target color temperature, so as to achieve the purpose of adjusting the desktop color temperature based on the user's emotional state, further regulating the user's cortisol, and improving the user experience.
[0046] In some embodiments, the first controller is specifically configured to: determine low-frequency power and high-frequency power based on heart rate data according to a Fourier transform algorithm; and determine a target emotion code based on the power ratio between low-frequency power and high-frequency power.
[0047] In practice, low-frequency power reflects the combined effect of the user's sympathetic and parasympathetic nervous systems, while high-frequency power reflects the activity of the user's parasympathetic nervous system.
[0048] In some embodiments, the first controller is used to obtain the power ratio based on the following formula: ; Where R represents the power ratio, LF represents low-frequency power, and HF represents high-frequency power.
[0049] In some embodiments, the first controller is specifically used for: If the power ratio is greater than the first power threshold, the first emotion code is determined as the target emotion code; the first emotion code represents the anxious emotion state. or If the power ratio is less than or equal to the first power threshold and greater than or equal to the second power threshold, the second emotion code is determined as the target emotion code; if the second power threshold is less than the first power threshold, the second emotion code represents a normal emotional state. or If the power ratio is less than the second power threshold, the third emotion code is determined as the target emotion code; the third emotion code represents a relaxed emotional state.
[0050] In actual execution, both the first power threshold and the second power threshold are preset values.
[0051] In some embodiments, the first controller is configured to determine the first emotion code as the target emotion code when the power ratio is greater than a first power threshold. For example, if the first power threshold is 2.5 and the power ratio is 2.8, the first controller is configured to determine the first emotion code "0x01" as the target emotion code.
[0052] In some embodiments, the first controller is configured to determine the second emotion code as the target emotion code when the power ratio is less than or equal to a first power threshold and greater than or equal to a second power threshold. For example, if the first power threshold is 2.5, the second power threshold is 0.8, and the power ratio is 1.7, the first controller is configured to determine the second emotion code "0x00" as the target emotion code.
[0053] In some embodiments, the first controller is configured to determine the third emotion code as the target emotion code when the power ratio is less than a second power threshold. For example, if the second power threshold is 0.8 and the power ratio is 0.7, the first controller is configured to determine the third emotion code "0x02" as the target emotion code.
[0054] In some embodiments, the second controller is specifically used for: If the target emotion code is the first emotion code, the first color temperature is determined as the target color temperature; or If the target emotion code is the second emotion code, then the second color temperature is determined as the target color temperature; or If the target emotion code is the third emotion code, then the third color temperature is determined as the target color temperature.
[0055] This application also provides a desktop color temperature control method, applicable to the desktop color temperature control system of any of the above embodiments. The desktop color temperature control system includes: a control unit, a heart rate acquisition device, and a light emission array; the control unit is connected to both the heart rate acquisition device and the light emission array.
[0056] like Figure 3 As shown, desktop color temperature control methods include: Step 310: Obtain heart rate data within the target period.
[0057] In practice, the heart rate acquisition device may include a photoplethysmography (PPG) signal acquisition device (e.g., a PPG sensor that emits 525 nm green light and has a sampling rate of 64 Hz), such as smart wearable devices (watches, bracelets, headphones, etc.), heart rate belts, or any other theoretically feasible device. This application does not impose any specific limitations on this.
[0058] In practice, the heart rate acquisition device may also include a noise amplifier to amplify the PPG signal.
[0059] In actual implementation, the heart rate acquisition device may also include an analog-to-digital converter (ADC), which can convert the acquired heart rate signal into heart rate data based on the analog-to-digital converter.
[0060] Step 320: Based on heart rate data, determine the target color temperature, and control the emission of the light-emitting array based on the target color temperature to regulate the user's cortisol.
[0061] In some embodiments, the control unit may store a heart rate data-color temperature curve, which includes several heart rate data points and the color temperature corresponding to each heart rate data point. The color temperature corresponding to the heart rate data in the heart rate data-color temperature curve can be determined as the target color temperature.
[0062] In some embodiments, after determining the target color temperature, a pulse signal corresponding to the target color temperature can be generated and sent to the light-emitting array to control the light-emitting array to emit light at the target color temperature, thereby regulating the user's cortisol, for example, reducing the user's cortisol by 8%.
[0063] According to the desktop color temperature control method of this application embodiment, the control unit determines the target color temperature based on the heart rate data of the user's sympathetic-parasympathetic state, and controls the light emission array to emit light based on the target color temperature, so as to achieve the purpose of adjusting the desktop color temperature based on the user's emotional state, further regulating the user's cortisol and improving the user experience.
[0064] In some embodiments, low-frequency power and high-frequency power are determined based on heart rate data according to a Fourier transform algorithm; The target emotion code is determined based on the power ratio between low-frequency power and high-frequency power. Determine the target color temperature based on the target emotion code.
[0065] In some embodiments, a heart rate data-emotion code table can be stored, which includes several heart rate data points and the corresponding emotion code for each heart rate data point. The emotion code corresponding to the heart rate data in the heart rate data-emotion code table can be determined as the target emotion code.
[0066] In some embodiments, an emotion code-color temperature table can be stored, which includes several emotion codes and the color temperature corresponding to each emotion code. The color temperature corresponding to a target emotion code in the emotion code-color temperature table can be determined as the target color temperature.
[0067] In practice, low-frequency power reflects the combined effect of the user's sympathetic and parasympathetic nervous systems, while high-frequency power reflects the activity of the user's parasympathetic nervous system.
[0068] In some embodiments, the power ratio can be obtained based on the following formula: ; Where R represents the power ratio, LF represents low-frequency power, and HF represents high-frequency power.
[0069] In some instances, when the power ratio is greater than a first power threshold, the first emotion code is identified as the target emotion code; the first emotion code represents an anxious emotional state. or If the power ratio is less than or equal to the first power threshold and greater than or equal to the second power threshold, the second emotion code is determined as the target emotion code; if the second power threshold is less than the first power threshold, the second emotion code represents a normal emotional state. or If the power ratio is less than the second power threshold, the third emotion code is determined as the target emotion code; the third emotion code represents a relaxed emotional state.
[0070] In actual execution, both the first power threshold and the second power threshold are preset values.
[0071] In some embodiments, the first emotion code can be determined as the target emotion code if the power ratio is greater than a first power threshold. For example, if the first power threshold is 2.5 and the power ratio is 2.8, the first controller is used to determine the first emotion code "0x01" as the target emotion code.
[0072] In some embodiments, the second emotion code can be determined as the target emotion code if the power ratio is less than or equal to a first power threshold and greater than or equal to a second power threshold. For example, if the first power threshold is 2.5, the second power threshold is 0.8, and the power ratio is 1.7, the second emotion code "0x00" can be determined as the target emotion code.
[0073] In some embodiments, the third emotion code can be determined as the target emotion code if the power ratio is less than a second power threshold. For example, if the second power threshold is 0.8 and the power ratio is 0.7, the third emotion code "0x02" can be determined as the target emotion code.
[0074] According to the desktop color temperature control method of this application embodiment, the control unit determines the target color temperature based on the heart rate data of the user's sympathetic-parasympathetic state, and controls the light emission array to emit light based on the target color temperature, so as to achieve the purpose of adjusting the desktop color temperature based on the user's emotional state, further regulating the user's cortisol and improving the user experience.
[0075] In some embodiments, when the target emotion code is a first emotion code, the first color temperature is determined as the target color temperature; or If the target emotion code is the second emotion code, then the second color temperature is determined as the target color temperature; or If the target emotion code is the third emotion code, then the third color temperature is determined as the target color temperature.
[0076] In practice, the first color temperature can be 5500K, such as cool white. The second color temperature can be 4000K, such as neutral white. The third color temperature can be 300K, such as warm yellow.
[0077] The desktop color temperature control method in this application embodiment can be executed by an electronic device or by a component within the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the scope of the method.
[0078] The electronic device in this application embodiment can be a device with an operating system. The operating system can be a Microsoft (Windows) operating system, an Android operating system, an iOS operating system, or other possible operating systems. This application embodiment does not specifically limit the specific operating system.
[0079] In some embodiments, such as Figure 4 As shown, this application embodiment also provides an electronic device 400, including a processor 401, a memory 402, and a computer program stored in the memory 402 and executable on the processor 401. When the program is executed by the processor 401, it implements the various processes of the desktop color temperature control method embodiment described above and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0080] It should be noted that the computer equipment in this application embodiment includes the mobile electronic equipment and non-mobile electronic equipment described above.
[0081] This application also provides a non-transitory computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the desktop color temperature control method embodiments described above and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0082] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0083] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described desktop color temperature control method.
[0084] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0085] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described desktop color temperature control method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0086] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0087] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0088] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0089] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
[0090] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0091] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.
Claims
1. A desktop color temperature control system, characterized in that, include: Control unit, heart rate acquisition device, and light-emitting array; The control unit is connected to both the heart rate acquisition device and the light-emitting array. The heart rate acquisition device is used to acquire heart rate data within a target cycle and send the heart rate data to the control unit; The control unit is used to determine the target color temperature based on the heart rate data, and control the light-emitting array to emit light based on the target color temperature in order to regulate the user's cortisol.
2. The desktop color temperature control system according to claim 1, characterized in that, The control unit includes a first controller and a second controller, and the first controller and the second controller communicate with each other based on a target wireless communication protocol; The first controller is used to receive the heart rate data sent by the heart rate acquisition device, determine the target emotion code based on the heart rate data, and send the target emotion code to the second controller based on the target wireless communication protocol; The target emotion code is used to represent the user's emotional state; The second controller is used to determine the target color temperature based on the target emotion code, and to control the light emission array to emit light based on the target color temperature.
3. The desktop color temperature control system according to claim 2, characterized in that, The first controller is specifically used for: Based on the heart rate data, the low-frequency power and high-frequency power are determined using the Fourier transform algorithm. The target emotion code is determined based on the power ratio between the low-frequency power and the high-frequency power.
4. The desktop color temperature control system according to claim 3, characterized in that, Determining the target emotion code based on the power ratio between the low-frequency power and the high-frequency power includes: If the power ratio is greater than the first power threshold, the first emotion code is determined as the target emotion code; the first emotion code represents the anxious emotion state. or If the power ratio is less than or equal to the first power threshold and greater than or equal to the second power threshold, the second emotion code is determined as the target emotion code; if the second power threshold is less than the first power threshold, the second emotion code represents a normal emotional state. or If the power ratio is less than the second power threshold, the third emotion code is determined as the target emotion code; the third emotion code represents a relaxed emotional state.
5. The desktop color temperature control system according to claim 2, characterized in that, The second controller is specifically used for: If the target emotion code is the first emotion code, the first color temperature is determined as the target color temperature; or If the target emotion code is the second emotion code, the second color temperature is determined as the target color temperature; or If the target emotion code is the third emotion code, the third color temperature is determined as the target color temperature.
6. A desktop color temperature control method, characterized in that, The method, applied to the desktop color temperature control system as described in any one of claims 1-5, comprises: Acquire heart rate data within the target period; Based on the heart rate data, a target color temperature is determined, and the light emission array is controlled to emit light based on the target color temperature in order to regulate the user's cortisol levels.
7. The desktop color temperature control method according to claim 6, characterized in that, The step of determining a target color temperature based on the heart rate data and controlling the light-emitting array to emit light based on the target color temperature includes: Based on the heart rate data, the low-frequency power and high-frequency power are determined using the Fourier transform algorithm. The target emotion code is determined based on the power ratio between the low-frequency power and the high-frequency power. Based on the target emotion code, the target color temperature is determined.
8. The desktop color temperature control method according to claim 7, characterized in that, Determining the target emotion code based on the power ratio between the low-frequency power and the high-frequency power includes: If the power ratio is greater than the first power threshold, the first emotion code is determined as the target emotion code; the first emotion code represents the anxious emotion state. or If the power ratio is less than or equal to the first power threshold and greater than or equal to the second power threshold, the second emotion code is determined as the target emotion code; if the second power threshold is less than the first power threshold, the second emotion code represents a normal emotional state. or If the power ratio is less than the second power threshold, the third emotion code is determined as the target emotion code; the third emotion code represents a relaxed emotional state.
9. The desktop color temperature control method according to claim 7, characterized in that, Determining the target color temperature based on the target emotion code includes: If the target emotion code is the first emotion code, the first color temperature is determined as the target color temperature; or If the target emotion code is the second emotion code, the second color temperature is determined as the target color temperature; or If the target emotion code is the third emotion code, the third color temperature is determined as the target color temperature.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the desktop color temperature control method according to any one of claims 6-9.