Indoor sunlight simulation method and system, device, medium

CN122825291APending Publication Date: 2026-09-25SHENZHEN YOUNIJIA INTERNET TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610943433.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-26
Publication Date
2026-09-25

AI Technical Summary

Technical Problem

[0003]本申请提供了一种室内太阳光模拟方法及系统、设备、介质,以解决现有的室内太阳光模拟方案无法感知和响应实际天气的瞬时变化,导致室内光环境与室外实际天光状态脱节,降低了模拟的真实感的问题

Benefits of technology

[0013]本申请有以下有益效果:本申请通过获取室外实时光照度信息并计算预设时刻内的光照度变化率,结合预设的变化趋势阈值精准判定室外当前的日照趋势(如日出、日落或天气突变),进而动态调整室内光照模式,从而克服了现有技术仅依赖固定时间实现光照模拟而无法感知实时天气变化的缺陷,实现了室内光环境随室外自然天光状态的实时同步与真实模拟。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122825291A_ABST
    Figure CN122825291A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of intelligent building lighting control, and discloses an indoor sunlight simulation method and system, equipment and a medium, the method comprising the following steps: acquiring real-time illumination information of the outdoors, the real-time illumination information being illumination information of the current moment of the outdoors; determining a change rate of the illumination within a preset moment according to illumination information of the preset moment; determining the current sunshine trend of the outdoors according to the change rate of the illumination and a preset change trend threshold; and adjusting the illumination mode of the indoors according to the sunshine trend. The application can accurately determine the current sunshine trend of the outdoors by acquiring the real-time illumination information of the outdoors and calculating the change rate of the illumination within the preset moment, in combination with the preset change trend threshold, and then dynamically adjust the indoor illumination mode, so that the defects that the prior art can only rely on fixed time to realize illumination simulation and cannot perceive real-time weather changes are overcome, and real-time synchronization and real simulation of the indoor light environment with the outdoor natural sunlight state are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent building lighting control technology, and in particular to an indoor sunlight simulation method, system, device, and medium. Background Technology

[0002] With the development of smart buildings and healthy lighting, dynamic lighting systems that simulate natural light are becoming increasingly popular. Existing dynamic lighting solutions, such as the "Human-Centric Lighting (HCL)" function in the KNX system, can pre-program changes in light color temperature and brightness based on sunrise and sunset times calculated from fixed clock times or geographical coordinates. However, this absolute time-based control method has significant shortcomings: it cannot sense and respond to instantaneous changes in actual weather (e.g., delayed dawn on a rainy day, or a sudden change from clear to overcast skies), causing a disconnect between the indoor lighting environment and the actual outdoor daylight conditions, thus reducing the realism of the simulation. Summary of the Invention

[0003] This application provides an indoor sunlight simulation method, system, device, and medium to solve the problem that existing indoor sunlight simulation schemes cannot sense and respond to instantaneous changes in actual weather, resulting in a disconnect between the indoor light environment and the actual outdoor skylight conditions, thus reducing the realism of the simulation.

[0004] The first aspect of this application provides an indoor sunlight simulation method. The method includes: acquiring real-time outdoor illuminance information, wherein the real-time illuminance information is the illuminance information at the current outdoor moment; determining the rate of change of illuminance within a preset number of time periods based on illuminance information at preset time periods; determining the current outdoor solar radiation trend based on the rate of change of illuminance and a preset trend threshold; and adjusting the indoor lighting mode according to the solar radiation trend. In some embodiments of this application, before acquiring the real-time outdoor illuminance information, the method further includes: monitoring environmental information of an indoor target area, wherein the environmental information is used to trigger a pre-trained target detection model to identify target information, and acquiring the real-time outdoor illuminance information when the target information includes a person.

[0005] In some embodiments of this application, determining the rate of change of illuminance within the preset number of time periods based on illuminance information at preset time periods includes: establishing a time queue with a preset number of capacity, and updating the time queue based on the illuminance information at the current time period to obtain the illuminance information at the preset number of time periods.

[0006] In some embodiments of this application, the illuminance information at a preset number of times includes: the illuminance information at the current time and the illuminance information at multiple historical times, and the step of determining the rate of change of illuminance within the preset number of times based on the illuminance information at the preset number of times includes: determining the rate of change of illuminance within the preset number of times based on the illuminance information at the current time, the illuminance information of the historical time that first entered the time queue, and the preset number of times.

[0007] In some embodiments of this application, the trend threshold includes a first trend threshold, a second trend threshold, and a third trend threshold. Determining the current outdoor sunshine trend based on the rate of change of illuminance and the preset trend threshold includes: within a first preset time period, if the rate of change of illuminance is greater than the first trend threshold, the sunshine trend is a sunrise trend, wherein the first trend threshold is a trend threshold corresponding to the sunrise trend; and within a second preset time period, if the rate of change of illuminance is less than the second trend threshold, the sunshine trend is a sunset trend, wherein the second trend threshold is a trend threshold corresponding to the sunset trend; and within a third preset time period, if the rate of change of illuminance is less than the third trend threshold, the sunshine trend is a stable midday sunshine trend, wherein the third trend threshold is a trend threshold corresponding to the stable midday sunshine trend.

[0008] In some embodiments of this application, adjusting the indoor lighting mode according to the sunshine trend includes: when the sunshine trend is the sunrise trend, the lighting mode is the morning light mode; and when the sunshine trend is the sunset trend, the lighting mode is the sunset mode; and when the sunshine trend is the stable lighting trend, the lighting mode is the stable midday sunshine trend.

[0009] A second aspect of this application provides an indoor sunlight simulation system, comprising: a light acquisition module for acquiring real-time outdoor illuminance information, wherein the real-time illuminance information is the outdoor illuminance information at the current moment; an intelligent control module for determining the rate of change of illuminance within a preset number of time periods based on illuminance information at preset time periods; and determining the current outdoor solar radiation trend based on the rate of change of illuminance and a preset trend threshold; and a light adjustment module for adjusting the indoor light mode according to the solar radiation trend.

[0010] In some embodiments of this application, the light acquisition module includes a first sensor installed outdoors for acquiring outdoor illuminance information; the system also includes a second sensor installed indoors for monitoring environmental information of the indoor target area, the environmental information being used to trigger a pre-trained target detection model to identify target information, and acquiring real-time outdoor illuminance information when the target information includes a person; the light adjustment module includes an LED light installed indoors, and adjusts the brightness and color temperature of the LED light within a preset time period to adjust the indoor lighting mode to the target mode.

[0011] A third aspect of this application provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method described in any of the first aspects of the above embodiments.

[0012] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any of the first aspects of the above embodiments.

[0013] This application has the following beneficial effects: By acquiring real-time outdoor illuminance information and calculating the rate of change of illuminance within a preset time, and combining it with a preset trend threshold, this application accurately determines the current outdoor solar trend (such as sunrise, sunset or sudden weather changes), and then dynamically adjusts the indoor lighting mode. This overcomes the shortcomings of existing technologies that rely solely on fixed times to achieve lighting simulation and cannot perceive real-time weather changes, and realizes real-time synchronization and realistic simulation of the indoor lighting environment with the outdoor natural skylight state. Attached Figure Description

[0014] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.

[0015] Figure 1 This is a flowchart illustrating an embodiment of the indoor sunlight simulation method provided in this application; Figure 2 This is a schematic diagram of the framework of an embodiment of the indoor sunlight simulation system provided in this application; Figure 3 This is a schematic diagram of the framework of an embodiment of the electronic device provided in this application; Figure 4 This is a schematic diagram of a framework of an embodiment of the computer-readable storage medium provided in this application. Detailed Implementation

[0016] In the following description, specific details such as particular system architectures, interfaces, and technologies are presented for illustrative purposes rather than for limiting purposes, in order to provide a thorough understanding of this application.

[0017] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship. Furthermore, "many" in this document means two or more. Moreover, the term "at least one" in this document means any combination of at least two of any one or more of a plurality of objects. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.

[0018] As described in the background section, existing indoor sunlight simulation solutions cannot sense and respond to instantaneous changes in actual weather, resulting in a disconnect between the indoor lighting environment and the actual outdoor skylight conditions, thus reducing the realism of the simulation.

[0019] To address the aforementioned issues, this application proposes a simulation method that does not rely on an absolute timetable but instead intelligently identifies natural light state transition points such as sunrise and sunset based on the real-time trend of outdoor illuminance changes. This method enables indoor light simulation to closely reflect actual weather changes, improving real-time response and environmental immersion.

[0020] This application will now be described in detail with reference to the accompanying drawings and specific embodiments.

[0021] According to one embodiment of this application, this application proposes an indoor sunlight simulation method, such as... Figure 1 As shown, the method of this application includes the following steps S1-S4: S1, obtaining real-time outdoor illuminance information, where real-time illuminance information is the illuminance information at the current outdoor moment; S2, determining the rate of change of illuminance within a preset number of time periods based on the illuminance information at preset time periods; S3, determining the current outdoor solar radiation trend based on the rate of change of illuminance and a preset trend threshold; S4, adjusting the indoor lighting mode based on the solar radiation trend.

[0022] Therefore, this application obtains real-time outdoor illuminance information and calculates the rate of change of illuminance within a preset time. It then combines the preset trend threshold to accurately determine the current outdoor solar trend (such as sunrise, sunset, or sudden weather changes), and dynamically adjusts the indoor lighting mode. This overcomes the shortcomings of existing technologies that rely solely on fixed times to simulate lighting and cannot perceive real-time weather changes. It achieves real-time synchronization and realistic simulation of the indoor lighting environment with the outdoor natural skylight.

[0023] In this embodiment, before step S1, the method further includes: monitoring the environmental information of the indoor target area, the environmental information being used to trigger the pre-trained target detection model to identify the target information, and obtaining the real-time outdoor illuminance information when the target information includes a person.

[0024] Therefore, before simulating indoor sunlight in the above embodiments of this application, the presence perception of indoor personnel is introduced as the core enabling condition to achieve on-demand simulation of "lights following when people are present and lights turning off when people leave", thus saving energy.

[0025] In this embodiment, step S2 includes: establishing a time queue with a preset capacity, and updating the time queue according to the illuminance information at the current moment to obtain the illuminance information at the preset time.

[0026] For example, a first-in-first-out (FIFO) time queue of length ΔT (e.g., 10 minutes) continuously records illuminance information.

[0027] Therefore, this embodiment, by introducing a first-in-first-out time queue, can continuously and dynamically cache recent illuminance data. While automatically eliminating outdated and redundant information, it provides stable and efficient data support for subsequent accurate calculation of illuminance change rate and identification of sunshine trends.

[0028] In this embodiment, the illuminance information at a preset number of time points includes: the illuminance information at the current time point and the illuminance information at multiple historical time points. Step S2 includes: determining the rate of change of illuminance within a preset number of time points based on the illuminance information at the current time point, the illuminance information of the earliest historical time point entering the time queue, and the preset number of time points. Therefore, this application does not compare a single instantaneous value with a fixed threshold, but rather calculates the rate of change of illuminance over consecutive time periods in the time queue. And analyze its time window The internal trend (continuous rise / continuous fall). Among them, This indicates the illuminance information at the current moment. This represents the illuminance information for the earliest historical moment to enter the time queue.

[0029] Therefore, it can be seen that this embodiment calculates... By analyzing the rate of change of illuminance over a period of time and its trend, the continuous change pattern of illuminance can be effectively identified, thereby avoiding misjudgment caused by instantaneous fluctuations and improving the accuracy and stability of illuminance status judgment.

[0030] In this embodiment, the trend threshold includes a first trend threshold, a second trend threshold, and a third trend threshold, and step S3 includes: within a first preset time period, the rate of change of illuminance is greater than the first trend threshold, and the sunshine trend is a sunrise trend, wherein the first trend threshold is the trend threshold corresponding to the sunrise trend; and within a second preset time period, the rate of change of illuminance is less than the second trend threshold, and the sunshine trend is a sunset trend, wherein the second trend threshold is the trend threshold corresponding to the sunset trend; and within a third preset time period, the rate of change of illuminance is less than the third trend threshold, and the sunshine trend is a stable midday sunshine trend, wherein the third trend threshold is the trend threshold corresponding to the stable midday sunshine trend.

[0031] For example, when R> ( If the first trend threshold is set, and the sunrise trend continues for a certain period of time (e.g., the first preset time period is 3 minutes), then it is determined to be a "sunrise trend". When R < ( If |R| < 2 (where |R| is the second trend threshold), then it is determined to be a "sunset trend". If the value is within the range, it is determined to be a "stable trend in midday sunlight".

[0032] Therefore, this embodiment, by setting multiple trend thresholds corresponding to different solar illumination trends (sunrise, sunset, and stable noon), can perform more refined and accurate pattern recognition of the rate of change of illumination, thereby achieving highly reliable determination of stable illumination states at sunrise, sunset, and noon, and improving the accuracy and adaptability of ambient illumination pattern judgment. It should be noted that, in order to accurately simulate sunlight, the solar illumination trend can be further refined into other trends, and the specific solar illumination trend is not limited to this embodiment.

[0033] In this embodiment, step S4 includes: when the sunlight trend is the sunrise trend, the lighting mode is the morning light mode; and when the sunlight trend is the sunset trend, the lighting mode is the evening light mode; and when the sunlight trend is the stable light trend, the lighting mode is the midday stable sunlight trend. Specifically, the morning light mode involves the lights gradually changing from off to 80% brightness and 5000K color temperature within 30 minutes, simulating natural wake-up. The evening light mode involves the lights gradually changing to 60% brightness and 3000K color temperature within 1 hour. The midday stable sunlight trend indicates stable illuminance, maintaining constant illumination.

[0034] Therefore, this embodiment achieves intelligent and dynamic response to changes in ambient light by directly mapping the identified solar radiation trends (sunrise, sunset, and stable noon) to specific lighting modes (morning light, sunset, and constant lighting) and setting corresponding brightness, color temperature, and gradient duration, thereby providing users with a more natural, comfortable, and circadian-compliant lighting experience.

[0035] Based on the same inventive concept, this application proposes an indoor sunlight simulation system, which includes: a light acquisition module for acquiring real-time outdoor illuminance information, wherein the real-time illuminance information is the outdoor illuminance information at the current moment; an intelligent control module for determining the rate of change of illuminance within a preset number of time periods based on the illuminance information at preset time periods; and determining the current outdoor solar trend based on the rate of change of illuminance and a preset trend threshold; and a light adjustment module for adjusting the indoor light mode according to the solar trend.

[0036] The inventors discovered that another existing method for simulating sunlight uses a static threshold illuminance sensor for control. For example, when the outdoor illuminance is below a certain fixed value (e.g., 100 lux), indoor lights are simply turned on. This method also has drawbacks: it cannot distinguish between "low illuminance caused by continuous cloudy days" and "illuminance decrease caused by sunset," thus failing to trigger a transitional light environment with "sunset" warm tones at dusk, nor accurately initiate "morning light" simulation at dawn. Furthermore, both HCL based on absolute time (absolute time means that a fixed lighting mode is used indoors at a certain moment or time period, and does not dynamically change according to real-time outdoor illuminance) and control based on static thresholds largely ignore the presence of people, often resulting in ineffective light simulations continuously occurring in unoccupied areas, leading to energy waste.

[0037] In this embodiment, the light acquisition module includes a first sensor installed outdoors to acquire outdoor illuminance information. The system also includes a second sensor installed indoors to monitor environmental information in the target area. This environmental information triggers a pre-trained target detection model to identify target information, and when the target information includes a person, it acquires real-time outdoor illuminance information. The light adjustment module includes LED lights installed indoors, and adjusts the brightness and color temperature of the LED lights within a preset time period to adjust the indoor lighting mode to a target mode. Target modes include: morning light mode, sunset mode, and a stable midday sunlight trend. The first sensor is an illuminance sensor, and the second sensor is a human presence sensor.

[0038] Therefore, this embodiment achieves intelligent dynamic control of indoor lighting by combining an outdoor illuminance sensor and an indoor occupant presence sensor. This method can not only accurately match and execute lighting modes that conform to natural rhythms, such as morning light and sunset, based on real-time changes in outdoor lighting (such as sunrise and sunset), but also activate lighting simulation only when people are detected indoors, effectively avoiding ineffective lighting and energy waste when no one is present. This significantly improves the energy efficiency of the system while enhancing lighting comfort and naturalness.

[0039] In this embodiment, the present invention provides an indoor sunlight simulation system, such as... Figure 2 As shown, the system includes: outdoor illuminance sensors, presence sensors distributed throughout the indoor zones, a KNX smart screen as the core control and interaction node, a light environment control module (KNX / DALI gateway), a dual-color temperature LED luminaire array, and a visual management platform. The system first checks the presence sensor signal in the corresponding indoor zone. This sensor can be connected to the KNX bus, and its status can be read by the smart screen. If there are no people in the zone, the system immediately enters a low-power monitoring state, not executing any light environment simulation programs, but only retaining basic data acquisition functions. When someone enters, the system reads the absolute value of the illuminance information uploaded by the outdoor illuminance sensor in real time via the KNX bus. The system instantly restores the current simulation state (e.g., if it is during sunset, it restores the sunset simulation), rather than simply turning on the lights.

[0040] Therefore, the indoor sunlight simulation system of this application completes the simulation of sunlight by performing the following steps. (1) Sunrise Simulation: When the sunlight trend is the sunrise trend and there are people in the target area, the system triggers the "Morning Light Mode". The smart screen sends instructions to the KNX bus through its "color temperature adjustment function" or "scene call" function. The light environment control module (gateway) converts these instructions into the DALI DT8 protocol, controls the color temperature of the LED lights to smoothly transition from 2700K to 5700K, and the brightness to increase linearly from low to high, simulating the process of the sky gradually brightening in the early morning.

[0041] (2) Sunset simulation: After the sunlight trend becomes a sunset trend, the "sunset mode" is triggered. The control command drives the color temperature of the LED lights to transition to a warm tone below 3000K, and the brightness slowly decreases to create a dusk atmosphere.

[0042] (3) Noon simulation: During stable periods such as noon, the system maintains constant light parameters. Users can manually override the automatic mode at any time via smart screen, mobile APP or management software. The system records this intervention and uses it as a reference during subsequent automatic operation.

[0043] In this embodiment, the built-in "threshold comparator" logic function and "delay function" of the smart screen can be used to implement the basic logic for calculating the illuminance change rate and judging the sunshine trend, without the need for an additional advanced controller. This application can dynamically generate or adjust the time curve of HCL. For example, when the system detects that today's sunrise is later than the preset time, it can automatically postpone the start time of the "morning light" simulation accordingly, upgrading HCL from "pre-programmed" to "adaptive". The system can use the geographic coordinate information configured in the smart screen's "night mode settings" as a reference for the approximate sunrise and sunset times, combined with real-time trend judgment, to improve the accuracy of the judgment and to display the estimated day and night status on the visualization interface.

[0044] Take an office area as an example: 1. Equipment Deployment: An outdoor illuminance sensor will be installed on the east exterior wall of the building and connected to the KNX bus. A KNX Smart Screen Z10 (as an area controller) and a presence sensor will be installed in the office area. All dual-color temperature downlights will be connected to the lighting environment control module (KNX-DALI gateway) via a DALI driver.

[0045] 2. Parameter Configuration: Configure the logical function channels for the smart screen using ETS software, and write the logic for judging sunlight trends based on the rate of change of illuminance. Set the final target color temperature and brightness, as well as the duration of change, for scenes such as "morning light" and "sunset".

[0046] Outdoor illuminance sensors collect data and transmit it to the lighting environment control module via the KNX bus. A person presence sensor also connects to the KNX bus, providing an enable signal. The lighting environment control module (or integrated into a multi-functional gateway) incorporates the aforementioned lighting mode control algorithm. It acts not only as a data relay but also as the brain, responsible for analyzing illuminance trends and generating control strategies. Dual-color temperature LED downlights receive DALI commands from the KNX bus, changing their brightness and color temperature to complete the light simulation. The smart screen and central control software management host can manually override the automatic mode and view the current simulation status (e.g., displaying "Sunrise Simulation in Progress").

[0047] In summary, the beneficial effects of the above embodiments of this application include the following: (1) Intelligent leap in environmental perception: This application continuously monitors and calculates the rate of change of outdoor illuminance and its duration to determine natural light state transition events such as "sunrise begins" and "sunset begins" in real time, rather than relying on preset absolute time points or simple static illuminance threshold comparisons. This upgrade from "watching the clock" or "watching the brightness of a single point" to "watching the trend of light changes" can accurately capture dynamic transition moments such as dawn and dusk, simulating more realistic and emotional moments. (2) Significant energy-saving effect: The signal of the personnel presence sensor is used as the necessary enable switch for indoor sunlight simulation programs (such as morning light mode and sunset mode), realizing the strict sense of "lights follow people and lights turn off when people leave" intelligent linkage, and seamlessly restoring the current dynamic simulation state when people enter. The deep binding of personnel presence perception and light simulation fundamentally eliminates ineffective lighting and meets the highest standards of green building requirements. (3) Excellent user experience: The indoor sunlight simulation system proposed in this application includes an outdoor illuminance sensor, a KNX smart screen (with built-in logic judgment function), a personnel presence sensor, a light environment control module, and dual-color temperature LED lamps. Through the KNX bus and DALI network, a complete closed-loop control link is realized, from environmental trend perception and intelligent logic judgment to precise dimming and color adjustment of the lamps. Based on the mature KNX / DALI architecture and the powerful processing capabilities of the smart screen, the system is stable and reliable. The threshold for trend judgment and the parameters of the simulated scene can be flexibly configured through the ETS software or the smart screen interface to adapt to the needs of different regions and spaces. It supports multiple interaction methods such as automatic simulation, manual control, scene calling, and visual monitoring (through the management platform) to meet the diverse needs of end users and administrators.

[0048] Based on the inventive concept of the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the method described in the above embodiments. The following is in conjunction with... Figure 3 Please provide a detailed explanation.

[0049] like Figure 3 As shown, it illustrates the electronic device 100 of this application, which may specifically include a processor 110 and a memory 120. The memory 120 is coupled to the processor 110.

[0050] Processor 110 is used to control the operation of electronic devices. Processor 110 may also be referred to as a CPU (Central Processing Unit). Processor 110 may be an integrated circuit chip with signal processing capabilities. Processor 110 may also be a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. The general-purpose processor may be a microprocessor, or processor 110 may be any conventional processor.

[0051] The memory 120 is used to store computer programs and may be RAM, ROM, or other types of storage terminals. Specifically, the memory 120 may include one or more computer-readable storage media, which may be non-transitory or transient. The memory 120 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage terminals or flash memory terminals. In some embodiments, the non-transitory computer-readable storage media in the memory 120 is used to store at least one line of program code.

[0052] The processor 110 is used to execute computer programs stored in the memory 120 to implement the methods described in the various method embodiments of this application.

[0053] In some embodiments, the electronic device may further include a peripheral terminal interface 130 and at least one peripheral terminal. The processor 110, memory 120, and peripheral terminal interface 130 may be connected via a bus or signal line. Each peripheral terminal may be connected to the peripheral terminal interface 130 via a bus, signal line, or circuit board. Specifically, the peripheral terminal includes at least one of a radio frequency circuit 140, a display screen 150, an audio circuit 160, and a power supply 170.

[0054] The peripheral terminal interface 130 can be used to connect at least one I / O (Input / Output) related peripheral terminal to the processor 110 and the memory 120. In some embodiments, the processor 110, memory 120 and peripheral terminal interface 130 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 110, memory 120 and peripheral terminal interface 130 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0055] The radio frequency (RF) circuit 140 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 140 communicates with communication networks and other IoT devices via electromagnetic signals; it is the communication circuit of the electronic device. The RF circuit 140 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 140 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, an operator identification module card, etc. The RF circuit 140 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 140 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0056] Display screen 150 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 150 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 110 for processing. In this case, display screen 150 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 150, located on the front panel of the electronic device; in other embodiments, there may be at least two display screens, located on different surfaces of the electronic device or in a folded design; in still other embodiments, display screen 150 may be a flexible display screen, located on a curved or folded surface of the electronic device. Furthermore, display screen 150 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. Display screen 150 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).

[0057] The audio circuit 160 may include a microphone and a speaker. The microphone is used to collect sound waves from the operator and the environment, converting the sound waves into electrical signals that are input to the processor 110 for processing, or input to the radio frequency circuit 140 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned in a different part of the electronic device. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 110 or the radio frequency circuit 140 into sound waves. The speaker may be a conventional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 160 may also include a headphone jack.

[0058] Power supply 170 is used to supply power to various components in an electronic device. Power supply 170 can be alternating current, direct current, a disposable battery, or a rechargeable battery. When power supply 170 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0059] For a detailed description of the functions and execution processes of each functional module or component in the electronic device embodiments of this application, please refer to the descriptions in the above-described method embodiments of this application, which will not be repeated here.

[0060] In the embodiments provided in this application, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the embodiments of the electronic devices described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some data may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0061] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0062] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0063] Based on the inventive concept of the above embodiments, this application also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the steps of the method described in any of the above embodiments. The following is in conjunction with... Figure 4 This describes the execution process of the above embodiments on a computer-readable storage medium.

[0064] like Figure 4 As shown, it illustrates the computer-readable storage medium of this application. The integrated units described above, if implemented as software functional units and sold or used as independent products, can be stored in the computer-readable storage medium 200. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions / computer programs to cause an Internet of Things device (which may be a personal computer, server, or network terminal, etc.) or processor to execute all or part of the steps of the methods of various embodiments of this application. The aforementioned storage medium includes various media such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, as well as electronic terminals such as computers, mobile phones, laptops, tablets, and cameras that have the aforementioned storage media.

[0065] The execution process of program data in a computer-readable storage medium can be described with reference to the above-described method embodiments of this application, and will not be repeated here.

[0066] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

[0067] Those skilled in the art will understand that, in the above-described method of the specific implementation, the order in which each step is written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.

Claims

1. A method for simulating indoor sunlight, characterized in that, The method includes: Obtain real-time outdoor illuminance information, wherein the real-time illuminance information is the outdoor illuminance information at the current moment; Based on the illuminance information at a preset number of time points, determine the rate of change of illuminance within the preset number of time points; The current outdoor sunshine trend is determined based on the rate of change of illuminance and a preset trend threshold. Adjust the indoor lighting pattern according to the sunlight trend.

2. The indoor sunlight simulation method according to claim 1, characterized in that, Before acquiring the real-time outdoor illuminance information, the method further includes: monitoring the environmental information of the indoor target area, wherein the environmental information is used to trigger a pre-trained target detection model to identify target information, and acquiring the real-time outdoor illuminance information when the target information includes a person.

3. The indoor sunlight simulation method according to claim 1, characterized in that, The step of determining the rate of change of illuminance within the preset number of time periods based on illuminance information at preset time periods includes: Establish a time queue with a preset capacity, and update the time queue according to the illuminance information at the current time to obtain the illuminance information at the preset time.

4. The indoor sunlight simulation method according to claim 3, characterized in that, The illuminance information at the preset number of time moments includes: the illuminance information at the current time moment and the illuminance information at multiple historical time moments, and determining the rate of change of illuminance within the preset number of time moments based on the illuminance information at the preset number of time moments includes: Based on the illuminance information at the current moment, the illuminance information of the first historical moment to enter the time queue, and the preset number of moments, determine the rate of change of illuminance within the preset number of moments.

5. The indoor sunlight simulation method according to claim 1, characterized in that, The trend threshold includes a first trend threshold, a second trend threshold, and a third trend threshold, and determining the current outdoor sunshine trend based on the rate of change of illuminance and the preset trend threshold includes: Within a first preset time period, the rate of change of illuminance is greater than the first trend threshold, where the illuminance trend is a sunrise trend, and the first trend threshold is a trend threshold corresponding to the sunrise trend; and, Within a second preset time period, the rate of change of illuminance is less than the second trend threshold, where the sunshine trend is a sunset trend, and the second trend threshold is the trend threshold corresponding to the sunset trend; and... Within the third preset time period, the rate of change of the illuminance is less than the third trend threshold, and the solar radiation trend is a stable trend of midday solar radiation, wherein the third trend threshold is the trend threshold corresponding to the stable trend of midday solar radiation.

6. The indoor sunlight simulation method according to claim 5, characterized in that, The step of adjusting the indoor lighting pattern according to the sunlight trend includes: When the sunshine trend is the sunrise trend, the lighting pattern is the morning light pattern; and, When the sunshine trend is the sunset trend, the lighting pattern is the sunset pattern; and, When the solar radiation trend is the stable light radiation trend, the light pattern is the stable midday solar radiation trend.

7. An indoor sunlight simulation system, characterized in that, The system includes: The light acquisition module acquires real-time outdoor illuminance information, which is the outdoor illuminance information at the current moment. The intelligent control module is used to determine the rate of change of illuminance within a preset number of time periods based on illuminance information at a preset number of time periods; and to determine the current outdoor solar radiation trend based on the rate of change of illuminance and a preset trend threshold. The lighting adjustment module is used to adjust the indoor lighting mode according to the sunlight trend.

8. The indoor sunlight simulation system according to claim 7, characterized in that, The light acquisition module includes a first sensor, which is installed outdoors and used to acquire outdoor light intensity information; The system also includes a second sensor installed indoors to monitor environmental information of the indoor target area. The environmental information is used to trigger a pre-trained target detection model to identify target information and to acquire real-time outdoor illuminance information when the target information includes a person. The lighting adjustment module includes LED lights, which are installed indoors. By adjusting the brightness and color temperature of the LED lights within a preset time period, the lighting mode of the room is adjusted to the target mode.

9. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the rental and sales business payment integration method as described in any one of claims 1-6.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the rental and sales business payment integration method according to any one of claims 1-6.