PAAS data cloud platform-based light control method, computing device and storage medium

By obtaining the geographical location information of the lamps and feeding it back to the PAAS data cloud platform, calculating and allocating time control nodes, the shortcomings of the traditional lighting control system for geographic location information are solved, intelligent lighting control is realized, and efficiency and energy utilization are improved.

CN120050831APending Publication Date: 2025-05-27SHANGHAI XIAOHUI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510314622.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-17
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

Traditional lighting control systems lack intelligent adaptation to the geographical location information of lamps, resulting in wasted resources or insufficient lighting, and insufficient remote management capabilities, making it difficult to achieve intelligent control and remote management of lamps in various places.

Method used

By obtaining the geographical location information of the lamp, this information is fed back to the PAAS data cloud platform. The platform calculates and allocates the time control nodes of the lamp based on the geographical location information, thereby realizing intelligent lighting control.

Benefits of technology

The switching time of the lamp is adjusted according to the sunrise and sunset time and time zone in different regions, which improves the use efficiency and energy utilization rate of the lamps, and improves the intelligent management level of the lighting system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050831A_ABST
    Figure CN120050831A_ABST
Patent Text Reader

Abstract

The invention discloses a light control method based on a PAAS data cloud platform, computing equipment and a storage medium, and aims to realize intelligent management and energy-saving optimization of lamps through time control nodes. The method comprises the following steps: firstly, detecting geographical location information of a lamp, and feeding back the geographical location information to a PAAS data cloud platform; then, the PAAS data cloud platform calculates and allocates time control nodes of the lamps according to the received geographical location information; and finally, monitoring the current time, and when the current time reaches the time control node, executing a control action, such as turning on, turning off or adjusting the brightness. According to the method, energy consumption can be effectively reduced by automatically adjusting the working time and brightness of the lamp, remote management and monitoring are achieved through the PAAS data cloud platform, and the method is suitable for application scenes such as smart city lighting, road lighting and public area lighting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent lighting control technology, and in particular to a lighting control method, computing device and storage medium based on a PAAS data cloud platform. Background Art

[0002] With the accelerated advancement of smart city and smart home construction, traditional lighting control systems face many challenges and shortcomings. At present, many lighting control systems use simple switch control based on preset time, lacking intelligent adaptation to the geographical location information of the lamps. Due to the differences in latitude and longitude, time zones, and actual lighting requirements in different regions, a unified control strategy often cannot meet the lighting control requirements of different regions, resulting in resource waste or insufficient lighting.

[0003] Traditional systems often ignore the impact of the specific geographic location of the lamps on lighting control. Different longitudes and latitudes and time zones in different regions lead to differences in sunrise and sunset times, but existing systems do not make corresponding adjustments for these differences. For example, there may be significant differences in sunrise and sunset times in the east and west, but if the lamps are turned on and off at exactly the same time, it will cause unnecessary energy consumption or fail to provide lighting when needed.

[0004] In addition, the existing lighting control system has insufficient remote management capabilities. Based on the traditional centralized control method, it is difficult to achieve intelligent control and remote management of lamps in various places through a modern cloud platform. There is a lack of real-time monitoring of the status of lamps, and it is impossible to flexibly adapt to the environmental needs and management strategies of different regions. For smart cities, this single and fixed control method has become a bottleneck and cannot effectively improve the intelligence level of the lighting system. Summary of the invention

[0005] The purpose of this application is to provide a lighting control method, computing device and storage medium based on the PAAS data cloud platform. By obtaining the geographic location information of the lamps and feeding this information back to the PAAS data cloud platform, the platform calculates and allocates the time control nodes of the lamps according to the geographic location information, so that the lamps can perform switching or brightness adjustment operations according to the predetermined time.

[0006] To achieve the above objectives: In a first aspect, an embodiment of the present application provides a lighting control method based on a PAAS data cloud platform, the method comprising: Detect the geographical location information of the lamps and feed the geographical location information back to the PAAS data cloud platform; The PAAS data cloud platform calculates and allocates the time control nodes of the lamps based on the received geographic location information; The current time is monitored, and when the current time reaches the time control node, a control action is executed.

[0007] In one embodiment, the control actions include: turning on the light, turning off the light, adjusting the brightness, and restarting the lamp; If the control instruction is to adjust the brightness, and the lamp is not in the light-on state, the lamp is turned on first, and then the brightness is adjusted to the corresponding state.

[0008] In one embodiment, the geographical location information includes the time zone where the lamp is located; The PAAS data cloud platform adjusts the time control node according to the time zone where the lamp is located.

[0009] In one embodiment, the geographical location information includes the latitude and longitude information of the lamp; The PAAS data cloud platform adjusts the time control node according to the latitude and longitude information of the lamp in combination with the time zone of the lamp. In one embodiment, the PAAS data cloud platform determines whether the area where the lamp is located implements daylight saving time; If yes, check whether the current time is in accordance with daylight saving time; If so, calibrate the time control node.

[0010] In one implementation, there are multiple time control nodes; If the time parameter of the subsequent time control node is smaller than the time parameter of the previous time control node, the parameter of the subsequent time control node is determined to be illegal and no processing is performed.

[0011] In one embodiment, the PAAS data cloud platform calculates the electricity rates in the area, and optimizes and adjusts the time control nodes during peak and off-peak periods based on the electricity rates.

[0012] In one embodiment, the PAAS data cloud platform analyzes the power usage of lamps and adjusts the lighting control method based on the analysis results.

[0013] In a second aspect, an embodiment of the present application provides a computing device, comprising: a processor and a memory storing a computer program, and when the processor runs the computer program, the steps of the above method are implemented.

[0014] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.

[0015] The embodiments of the present application provide a lighting control method, computing device and storage medium based on the PAAS data cloud platform, which can be widely used in scenarios such as smart city lighting, road lighting, public place lighting, etc., greatly improving the intelligence level of lighting management and reducing power consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic diagram of a control action flow of a lighting control method based on a PAAS data cloud platform provided in an embodiment of the present invention; Figure 2 A schematic diagram of a flow chart of an execution time control node of a lighting control method based on a PAAS data cloud platform provided in an embodiment of the present invention; Figure 3 A schematic diagram of a process for adjusting the brightness of a lamp in a lighting control method based on a PAAS data cloud platform provided in an embodiment of the present invention; Figure 4 A schematic diagram of a flow chart of adjusting a time control node according to geographic location information in a lighting control method based on a PAAS data cloud platform provided in an embodiment of the present invention; Figure 5 A schematic diagram of a process of adjusting a time control node according to an electricity rate in a lighting control method based on a PAAS data cloud platform provided in an embodiment of the present invention; Figure 6 A schematic diagram of a system architecture based on a PAAS data cloud platform and an Internet network management device provided in an embodiment of the present invention; Figure 7 A schematic diagram of a computing device provided for an embodiment of the present invention. DETAILED DESCRIPTION

[0017] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0018] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0019] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of..." or "when..." or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising", "including" indicate that there are described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, “A, B, or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition will occur only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.

[0020] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0021] It should be noted that, in this article, step codes such as S101, S102, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S102 first and then S101, etc., but these should all be within the scope of protection of this application.

[0022] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0023] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0024] The following is an explanation of the terms that may be involved in this application, as follows: The PAAS data cloud platform is a cloud computing service model of "Platform as a Service". It provides developers and enterprises with a complete application development and operation environment, helping them focus on application development, testing and deployment without having to manage the underlying hardware or infrastructure. The PAAS platform simplifies the application development process by providing pre-configured operating systems, databases, middleware, development tools and other resources.

[0025] The core features of PAAS include automated resource management and elastic expansion, which allows developers to dynamically adjust computing resources based on demand. In addition, PAAS platforms are usually paid on demand, and users only need to pay for the resources and services actually used. This flexibility can help companies better control costs.

[0026] Compared with IaaS (Infrastructure as a Service), PAAS provides users with a higher level of abstraction. Users do not need to worry about hardware or server maintenance. Unlike SaaS (Software as a Service), PAAS is more inclined to provide a development platform, allowing users to develop and deploy applications by themselves. PAAS data cloud platform is widely used in big data processing, Internet of Things (IoT) management and complex enterprise application development.

[0027] See also Figure 1 The present invention provides a lighting control method based on the PAAS data cloud platform, which is used to calculate and allocate time control nodes according to the geographical location information of the lamps and perform control actions at the lamp end. The method can be widely used in scenarios such as smart cities, public lighting and smart homes to achieve efficient intelligent lighting control.

[0028] The lighting control method comprises: S1: Detect the geographic location information of the lamp and feed the geographic location information back to the PAAS data cloud platform; S2: The PAAS data cloud platform calculates and allocates the time control nodes of the lamps based on the received geographic location information; S3: Monitor the current time, and execute the control action when the current time reaches the time control node.

[0029] In this embodiment, the lamp is equipped with a GPS module for real-time detection of the geographical location information of the lamp, which includes the longitude and latitude information of the lamp and is used to accurately locate the specific geographical location of the lamp.

[0030] The lamps feed back the collected geographic location information to the PAAS data cloud platform through built-in wireless communication modules (such as Wi-Fi, 4G, NB-IoT, etc.). This process can be performed once during the initial installation or re-executed after the location is moved to ensure that the lamp location data saved on the platform is accurate. When the PAAS data cloud platform receives the geographical location information of the lamp, it will calculate the time control node of the lamp based on this information. The time control node mainly includes the light on time and light off time, which are adjusted according to the sunrise and sunset time and geographical time zone of the lamp location.

[0031] Specifically, the PAAS data cloud platform analyzes the longitude and latitude of the location of the lamp to determine the sunshine conditions at that location, and uses meteorological and astronomical data tables (such as local sunrise and sunset times) to generate the switch time suitable for the lamp. For example, before sunset, the platform will generate a light-on time control node, and after sunrise, it will generate a light-off time control node. This calculation method ensures that the lamp can automatically light up when it gets dark and automatically turn off when it gets light, which not only meets the lighting needs but also saves energy.

[0032] After the calculation is completed, the PAAS data cloud platform will use the generated time control node as a control instruction and send it back to the control module at the lighting end through the wireless network.

[0033] At the lamp end, a time monitoring module and control unit are equipped. The time monitoring module is used to continuously track the current time and compare it with the time control node received from the PAAS data cloud platform.

[0034] Step S3 includes: S301: monitor the current time of the lamp end and determine whether the current time reaches the time control node; if so, proceed to step S302; if not, proceed to step S303; S302: Execute control action; S303: Detect the status information of the lamps and upload the status information of the lamps to the PAAS data platform.

[0035] When the current time reaches the light-on time control node, the control unit will send a command to the lamp to turn on the power of the lamp, thereby turning on the lamp.

[0036] When the current time reaches the light-off time control node, the control unit will send a command to the lamp to turn off the power of the lamp, thereby turning off the lamp.

[0037] In summary, among the methods provided in the above embodiments, the embodiments of the present invention can realize intelligent lighting control based on geographic location information. The method can perform personalized time control for lamps in different areas, greatly improving the efficiency and energy utilization of lamps. In addition, through remote management via the PAAS data cloud platform, multiple lamps can also be uniformly monitored and adjusted, improving the intelligent management level of the lighting system.

[0038] In one embodiment, in addition to controlling the on and off actions of the lamp, the system can also realize intelligent adjustment and restart functions of the lamp brightness. When receiving a command to adjust the brightness, if the lamp is not in the on state, the system will first turn on the lamp and then adjust the brightness to a preset level.

[0039] In this embodiment, a status monitoring module is installed on the lamp end, which can continuously monitor the working status of the lamp, including whether the lamp is in the on state, the current brightness, and the operating status of the lamp (such as whether it is online, whether it is faulty, etc.). These status information will be fed back to the PAAS data cloud platform through the wireless communication module, so that the platform can monitor the operating status of the lamp in real time.

[0040] The PAAS data cloud platform sends control instructions to the lamps according to the preset time control node or the user's instructions. The content of the control instructions may include: Light-on command: When the preset light-on time control node is reached, the PAAS data cloud platform will send a light-on command to the lamp end, and the control module will turn on the power of the lamp after receiving the command.

[0041] Light-off command: When the light-off time control node is reached, the platform sends a light-off command to the lamp, and the lamp is turned off to save energy.

[0042] Brightness adjustment instructions: The PAAS data cloud platform can send brightness adjustment instructions to the lamp end according to the control strategy set by the user or automatically optimized. For example, when traffic is sparse at night, the lamp can reduce the brightness to save energy.

[0043] Step S302 includes: S3021: Start analyzing control actions; S3022: Detect whether the control action is to adjust the brightness, if not, execute step S3023; if yes, execute step S3025; S3023: Detect whether the lamp is in the on state, if so, execute step S3025; if not, execute step S3024; S3024: Turn on the light; S3025: Execute control action.

[0044] Specifically, when executing the brightness adjustment command, the lamp control module first determines whether the lamp is in the on state. If the lamp is in the off state, the control module will first perform the light-on operation to ensure that the lamp is lit. Then, the system adjusts the brightness of the lamp to the preset brightness value, such as 50% or 75% brightness.

[0045] This process ensures that the luminaire is in working condition when the brightness is adjusted, avoiding the situation where the brightness cannot be adjusted due to the luminaire being turned off. In this way, the luminaire can automatically adapt to environmental needs and make intelligent adjustments without user intervention.

[0046] In addition, if the PAAS data cloud platform detects that the lamp is in an abnormal state, such as communication interruption or power failure, the platform can send a restart command to the lamp. After receiving the restart command, the lamp control module will first turn off the power supply and restart the lamp after a short wait. The restart operation can be used to restore the lamp in the fault state to ensure the normal operation of the lighting system.

[0047] Through the above implementation, the intelligent lighting control method of the present invention can effectively improve the use efficiency and energy consumption management of lamps. In particular, the brightness adjustment function, when the lamp is not in the light-on state, the system can automatically turn on the lamp and adjust the brightness to ensure the accurate execution of the control action. This method not only realizes the refined control of the lamp, but also improves the intelligence level and energy-saving effect of the system.

[0048] Based on the same inventive concept as the above embodiments, the above embodiments are described in detail below through a specific application scenario. See also Figure 1 This embodiment describes a method for online status detection and control command execution of lamps based on the PAAS data cloud platform, which can realize remote lamp management and real-time monitoring and feedback of the working status of the lamps.

[0049] When the system starts, it first checks whether the lamp is online. Through the communication module on the lamp side, the system establishes a connection with the PAAS data cloud platform and monitors the online status of the lamp in real time. If the lamp is online, the system continues to perform the next step of command reception and control operations; if the lamp is not online, the system reports the offline status of the lamp to the PAAS data cloud platform.

[0050] Specifically, when the lamp communication module cannot establish a connection with the PAAS platform, the lamp is determined to be in an offline state, and the system immediately sends this information to the cloud platform to prompt the user that the lamp status is abnormal.

[0051] If the lamp is online, the system continues to receive instructions from the PAAS platform for further operations.

[0052] When the lamp is detected as online, the system will receive control parameters from the PAAS platform. These parameters include control commands or status monitoring commands for the lamp. The system will automatically determine the type of command received and perform corresponding operations based on different types of commands.

[0053] When the control parameter received by the system is a control command, the control command is used to perform a specific operation on the lamp, such as turning on, turning off, dimming or restarting.

[0054] When the control parameter received by the system is a status detection command, the status detection command is used to obtain the real-time operating status of the lamp, including the brightness, online status, voltage, current and other information of the lamp.

[0055] The system will continuously monitor the working status of the lamps and regularly upload the status data to the PAAS data cloud platform. If an abnormal situation is found during the execution of commands or monitoring, such as lamp failure, offline or power abnormality, the system will immediately report the abnormal status to the PAAS platform, and users can obtain information and process it in time through the platform interface.

[0056] See also Figure 3 In one embodiment, the present invention provides a lighting control method based on the PAAS data cloud platform, which can automatically adjust the time control node of the lamp according to the geographical location information of the lamp, especially the time zone where the lamp is located. This embodiment describes in detail how to adjust the switching time of the lamp according to the time zone where the lamp is located to achieve accurate time control.

[0057] Based on the same inventive concept as the above embodiments, the above embodiments are described in detail below through a specific application scenario. Step S2 includes: S201: The PAAS data cloud platform obtains the longitude and latitude of the lamp according to the received geographic location information, and adjusts the time control node of the lamp according to the longitude and latitude of the lamp; S202: The PAAS data cloud platform obtains whether the area where the lamp is located implements daylight saving time at the current time based on the received geographic location information, and adjusts the time control node of the lamp based on the obtained result.

[0058] In this embodiment, the lamp is equipped with a GPS module and a communication module to obtain the geographical location information of the lamp. The geographical location information includes the longitude and latitude of the lamp and the time zone information. The time zone information of the lamp is determined based on its longitude and latitude, and the system can automatically identify the time zone of the lamp according to the geographical location of the lamp.

[0059] For example, when a lamp is installed in China's East 8th District (GMT+8), the system will identify the lamp as belonging to East 8th District. When the lamp is located in other countries or regions, the system will determine its time zone based on the specific latitude and longitude of the lamp, which may be East 7th District, East 9th District or other time zones.

[0060] When the PAAS data cloud platform receives the geographical location information of the lamp, it will identify the time zone where the lamp is located and adjust the time control node of the lamp according to the time zone. The time control node mainly refers to the time when the lamp is turned on and off. These time control nodes need to be consistent with the local time in the time zone where the lamp is located to ensure that the switch control is performed at the correct time.

[0061] For example, the sunrise and sunset times of the lamps in East District 8 and East District 9 may differ by 1 hour. Therefore, the PAAS data cloud platform will assign different time control nodes to the lamps according to their time zones. The lamps in East District 8 may turn on at 6 pm, while the lamps in East District 9 may turn on at 7 pm to ensure that they can all light up automatically during their respective sunset periods.

[0062] The control module on the lamp side will continuously monitor the current time and perform control actions according to the time control node provided by the PAAS data cloud platform. When the current time reaches the light-on time control node, the lamp will automatically light up; when the time reaches the light-off time control node, the lamp will automatically turn off.

[0063] Since the PAAS data cloud platform calculates and allocates time control nodes based on the time zone where the lamps are located, the lamps can be switched on and off reasonably according to the local sunrise and sunset times to ensure that lighting needs are met. At the same time, this method avoids the irrationality brought about by unified time control, such as the phenomenon of lamps being turned on too early or too late in some areas.

[0064] To ensure the flexibility of the system, the PAAS data cloud platform can dynamically adapt to the movement of the lamps. If the lamp is moved to a different time zone, for example, from East 8 to East 7, the lamp will automatically detect the new geographic location information and feedback to the cloud platform. The cloud platform will recognize the change in time zone and automatically recalculate the time control node of the lamp to adapt to the sunrise and sunset time of the new time zone, thereby ensuring the correctness of the control action.

[0065] By adjusting the time control node according to the time zone where the lamp is located, the present invention can realize intelligent management of lamps on a global scale. The system automatically adjusts the switching time according to the time zone to ensure that the lamps can provide reasonable lighting control in different geographical locations, avoiding energy waste or insufficient light due to time zone differences. This adjustment mechanism based on time zones enables the system to adapt to the actual needs of different regions, achieving higher energy saving and intelligent management.

[0066] In one embodiment, when the PAAS data cloud platform receives the geographic location information of the lamp, it will determine the time zone where the lamp is located based on the latitude and longitude information of the lamp, and calculate the sunrise and sunset times based on the specific location of the lamp. At the same time, the platform will also consider the impact of altitude on lighting. For example, the sunrise and sunset times may be slightly different in areas with higher altitudes, and the cloud platform will make adjustments based on these geographical factors.

[0067] Specifically, the PAAS data cloud platform first determines the time zone where the lamp is located based on the latitude and longitude information of the lamp. For example, if the lamp is located in the East 8th District, the platform identifies the standard time of the area and generates a preliminary time control node.

[0068] For example, in high-altitude areas, due to the influence of terrain, the sunshine time may be slightly different from that in low-altitude areas at the same latitude. The PAAS data cloud platform will further fine-tune the switch time control node of the lamps based on the altitude information received. For example, the sunset time of a lamp at an altitude of 3,000 meters may be slightly later than that of a lamp at sea level, and the platform will delay the light-on time accordingly.

[0069] The PAAS data cloud platform combines the time zone, longitude and latitude and altitude of the lamp to generate precise time control nodes, including light on time and light off time. This ensures that the lamp provides lighting at the appropriate time according to its actual geographical conditions while reducing energy waste.

[0070] See also Figure 5 In one embodiment, the lighting control method based on the PAAS data cloud platform described in the present invention can not only adjust the time control node by using the geographical location information (such as latitude and longitude, time zone and altitude), but also make further time corrections according to whether the daylight saving time is implemented. This embodiment describes in detail how to judge whether the region implements daylight saving time and make corresponding corrections to the time control node.

[0071] Specifically, the PAAS data cloud platform searches for the time system of the region based on the latitude and longitude information and time zone information fed back by the lamps, and determines whether to implement daylight saving time. For example, in some countries or regions, such as Europe and North America, most areas implement daylight saving time in summer, and the time is usually advanced by 1 hour. In other countries or regions (such as China), daylight saving time is not implemented. The platform will search for the corresponding daylight saving time policy based on the specific region where the lamp is located.

[0072] When it is determined that the area where the lamp is located implements daylight saving time, the PAAS data cloud platform will further detect whether the current time is during daylight saving time. Specifically, the system will determine whether daylight saving time needs to be applied at the current time based on the start and end dates of daylight saving time in the area. For example, in some countries, daylight saving time may start on the last Sunday of March and end on the last Sunday of October. The PAAS data cloud platform confirms whether daylight saving time needs to be applied by checking the current date.

[0073] If it is detected that the area where the lamp is located implements daylight saving time and the current time is in line with daylight saving time, the PAAS data cloud platform will correct the time control node. The correction method is usually to advance the light-on time and light-off time of the lamp by 1 hour. For example, if the original light-on time is 7 pm, during daylight saving time, the PAAS data cloud platform will adjust it to 6 pm to meet the actual lighting needs of the local daylight saving time.

[0074] This correction process ensures that the lamps can be controlled at the correct time during daylight saving time, avoiding deviations in the time when the lamps are turned on or off due to the implementation of daylight saving time, which affects the lighting effect and energy efficiency.

[0075] By combining the judgment of daylight saving time with the correction of time control nodes, the lighting control method of the present invention can accurately perform lighting control in different regions. Especially in areas where daylight saving time is implemented, the system can automatically adapt to changes in time to ensure that the switching operation of lamps meets actual lighting needs, thereby improving the intelligence and energy-saving effects of the system.

[0076] In one embodiment, the lighting control method based on the PAAS data cloud platform described in the present invention accurately controls the lamps through multiple time control nodes. In order to ensure the rationality of the time control nodes and the stability of the system, the present invention can also automatically detect the order of each time control node. If it is detected that the time parameter of the latter time control node is less than the time parameter of the previous time control node, the time parameter is considered to be illegal and the system will not process it. This embodiment describes in detail how to ensure the logical correctness of time control in this way.

[0077] Based on the same inventive concept as the above-mentioned embodiment, the above-mentioned embodiment is described in detail below through a specific example.

[0078] See also Figure 6 This embodiment relates to a lighting control method based on the PAAS data cloud platform. The system analyzes the brightness requirements at different time periods in a day, combines energy-saving requirements and actual usage scenarios, and pre-sets multiple time points and corresponding brightness values.

[0079] According to the actual application scenario, the system sets multiple time control nodes in a day, and each node corresponds to a different brightness percentage. The time and brightness parameters of these nodes are shown in the following figure: 00:00-04:00: The brightness of the lamps is 40%. This is late at night and the lower brightness meets basic lighting needs while saving electricity.

[0080] 04:00-05:00: The brightness is increased to 80%. At this time, the sky begins to brighten, and the brightness is appropriately increased to provide more adequate lighting for people who get up early.

[0081] 05:00-06:30: The brightness of the lamps reaches 100%. This is the morning rush hour, providing the strongest brightness to ensure traffic safety.

[0082] 06:30-08:00: As day breaks, brightness gradually decreases to 60% to reduce power consumption while maintaining adequate lighting.

[0083] 08:00-17:30: During daytime, lights are turned off (brightness is 0%) to save energy.

[0084] 17:30-18:00: During dusk, when it gets darker, the lights are turned back on and set to **40%** brightness to meet basic lighting needs.

[0085] 18:00-19:00: As night falls, the brightness of the lamps increases to 70%, providing sufficient lighting for the main activities at night.

[0086] 19:00-22:00: During the evening hours, the brightness of the lamps is increased to 100% to meet the evening peak lighting needs.

[0087] 22:00-00:00: In the middle of the night, the brightness drops again to 70% to reduce unnecessary power consumption.

[0088] The system uses MCU (microcontroller unit) to execute the brightness adjustment logic of each time control node. The specific implementation is as follows: Setting of time control nodes: The system sets 9 time conversion points according to different time periods within 24 hours of a day. These conversion points correspond to different brightness parameters.

[0089] Brightness adjustment logic: The MCU module will gradually adjust the brightness of the lamp according to the preset time control node. At each time point, when the system time matches the preset time control node, the MCU will adjust the brightness of the lamp to the corresponding value.

[0090] Control Flow: When the time reaches 00:00, the system sets the brightness to 40%.

[0091] By 04:00, the brightness increased to 80% and reached maximum brightness (100%) at 05:00.

[0092] The system will gradually reduce the brightness to 60% at 06:30 and turn off the lights (brightness is 0%) at 08:00.

[0093] At 17:30 in the afternoon, the lights were turned back on with a brightness of 40%, and gradually increased to 100% at 19:00, until it dropped to 70% after 22:00.

[0094] Through reasonable time control node settings and brightness adjustment, the system realizes the lighting needs of different time periods, ensuring the lighting comfort and saving energy to the maximum extent. This lighting control method is particularly suitable for scenes that require dynamic adjustment of lamp brightness, such as urban road lighting, public area lighting, and industrial parks.

[0095] Based on the same inventive concept as the above-mentioned embodiment, the above-mentioned embodiment is described in detail below through a specific example.

[0096] The PAAS data cloud platform generates multiple time control nodes based on the geographical location information of the lamps (such as latitude and longitude, time zone, altitude, etc.). These time control nodes may include but are not limited to the following: Lighting time control node: used to control the lighting operation.

[0097] Light off time control node: used to control the off operation of lamps.

[0098] Brightness adjustment time control node: used to control the brightness changes of lamps in different time periods.

[0099] For example, the PAAS data cloud platform can assign multiple time control nodes to lamps throughout the day, which are used to turn on and off the lights and adjust the brightness according to environmental requirements. The system generates these time control nodes based on sunrise and sunset times, time zone differences, and user needs, and sends them to the lamp end through the wireless communication module.

[0100] On the lamp side, the control module receives multiple time control nodes from the PAAS data cloud platform and verifies the order of these nodes. Specifically, the system checks the parameters of these time control nodes in chronological order to ensure that the time of each node is arranged in a logical order. For example, the light-on time should be earlier than the light-off time, and the brightness adjustment time control node should be arranged according to the order of the light-on time and the light-off time.

[0101] If the system detects that the time parameter of the next time control node is less than the time parameter of the previous time control node, for example, the light-off time control node is earlier than the light-on time control node, or the brightness adjustment node does not conform to the time sequence, the system will determine that the time parameter of the next time control node is illegal. At this time, the system will ignore the illegal time control node to prevent abnormal operation of the lamp due to the wrong time sequence.

[0102] If the time parameters are detected to be illegal, the control module at the lamp end will send error feedback information to the PAAS data cloud platform to inform the platform of the abnormal situation of the time control node. The PAAS data cloud platform can regenerate and assign the correct time control node based on the feedback information to ensure that the lamp can perform switching and brightness adjustment operations in the normal order.

[0103] After the time control node re-issued by the system passes the verification, the control module on the lamp side will execute various control actions in the correct time sequence to ensure that the lamp can complete tasks such as turning on and off the light and adjusting the brightness within the predetermined time.

[0104] After completing the time control node sequence check and ensuring that all time control nodes are reasonable, the control module at the lighting end will execute the control action in the order of these time control nodes. For example: When the current time reaches the first time control node (such as the light-on time control node), the lamp automatically lights up; At the predetermined brightness adjustment node, the lamp will adjust the brightness according to the instruction; When the time reaches the light-off time control node, the lamp will automatically turn off.

[0105] In summary, in the method provided in the above embodiment, the present invention can not only generate multiple time control nodes to control the lamps in a detailed manner, but also ensure the rationality of the control logic by verifying the order of the time control nodes. This verification mechanism can effectively avoid control confusion or system failure caused by incorrect time parameter settings, and improve the stability and intelligence level of the lighting control system.

[0106] Based on the same inventive concept as the above-mentioned embodiment, the above-mentioned embodiment is described in detail below through a specific example.

[0107] The present invention relates to a lighting control method for adjusting the brightness of a lamp by preset time points. The system dynamically adjusts the brightness of the lamp through an MCU, and the control logic of each lamp is composed of several time points and brightness parameters, and specifically adopts the following data structure.

[0108] typedef struct lampUnion { UINT8 hour; / / The time point for adjusting brightness UINT8 min; / / Brightness adjustment time in minutes UINT8 lightInPct; / / Adjusted brightness, range 0-100% UINT8 enFlag; / / Whether to enable the time point adjustment, 0 is false, 1 is true } lampUnion_t; This structure defines several key parameters for lighting adjustment: hour, min: indicates the specific time control node of brightness adjustment, accurate to hours and minutes.

[0109] lightInPct: indicates the brightness of the lamp that needs to be adjusted at this time point, and the brightness range is 0%-100%.

[0110] enFlag: Identifies whether the time control node is enabled. If it is 1, the system will perform dimming at this time point; if it is 0, the system ignores this node.

[0111] The MCU can support 4 control channels, each of which can manage a set of lighting control logic. Each set of lighting control logic can contain up to 8 parameters, representing 8 time conversion points.

[0112] The flow of each lighting control logic is as follows: Read time control node: The system periodically checks the current time. When the system time matches the hour and min in lampUnion_t, it proceeds to the next step.

[0113] Adjust brightness: When matching the specified time control node and enFlag is 1, the system adjusts the brightness of the lamp according to the value of lightInPct.

[0114] Ignore invalid nodes: If the enFlag of the current time control node is 0, the system does not perform the dimming operation of the time control node and enters the next node.

[0115] The MCU module checks every minute whether the current time matches the preset time control node. If it matches, it automatically adjusts the brightness of the lamp. For example, multiple time points in a day can be used to control the brightness of the lamp over time.

[0116] lampUnion_t controlPlan[8]; / / Define a control plan, up to 8 time points / / Example: Set time point and brightness controlPlan[0].hour = 18; / / Set the first time point to 18:00 controlPlan[0].min = 0; controlPlan[0].lightInPct = 75; / / At 18:00, adjust the brightness to 75% controlPlan[0].enFlag = 1; / / Enable this control point The MCU module can support 4 channels at the same time, each channel contains independent control logic. Each channel allows up to 8 time conversion points to be set, forming 9 working periods.

[0117] For example, different lamps in a certain area (such as lamps on both sides of a street) can have different control plans applied to them, and each control plan can independently adjust the brightness during different time periods.

[0118] Through this data structure and control logic, the system can automatically adjust the brightness of lamps according to the preset time control node, realizing energy saving and intelligent management. This method is suitable for scenes that require time-sharing control of lamp brightness, such as road lighting, shopping malls and other regional lighting.

[0119] In one embodiment, the lighting control method based on the PAAS data cloud platform described in the present invention can optimize and adjust the time control nodes of the lamps in combination with the electricity rates in the area to achieve more energy-saving lighting control. This embodiment describes in detail how to adjust the switch and brightness control of the lamps during peak and valley time periods according to changes in electricity rates.

[0120] At this time, step S202 includes step S203: S203: The PAAS data cloud platform obtains the electricity rate information of the area where the lamp is located according to the received geographic location information, and adjusts the time control node of the lamp based on the rate information.

[0121] Specifically, the PAAS data cloud platform determines the area where the lamp is located based on the geographical location information of the lamp (such as latitude and longitude, time zone, etc.), and obtains electricity rate information from the power supplier or public data in the area. These rate information are usually divided into peak hours and off-peak hours, where the electricity rate is higher during peak hours and lower during off-peak hours.

[0122] Peak hours are usually during daytime working hours (such as 9 a.m. to 9 p.m.), when electricity demand is high and electricity rates are higher.

[0123] The off-peak hours are usually at night or in the early morning (such as 11 pm to 6 am), when electricity demand is lower and electricity rates are lower.

[0124] After receiving the electricity rate information, the PAAS data cloud platform will analyze the current light-on time, light-off time, and brightness adjustment time control nodes in combination with the time control nodes of the lamps to determine whether these nodes are in peak or off-peak hours. The platform will make further optimization adjustments based on the working hours of the lamps and the changes in electricity rates to reduce electricity costs.

[0125] For example, if the current light-on time is during the peak period, the platform will try to delay the light-on time and adjust it to the off-peak period after the peak period to save electricity costs. Conversely, if the light-off time is during the off-peak period, the system may advance the light-off time to before the peak period begins to ensure that the lamps no longer consume electricity during the high-rate period.

[0126] Based on the analysis results, the PAAS data cloud platform will optimize and adjust the time control nodes of the lamps. For example: Optimization of lighting-on time: If the original lighting-on time is during the peak period, the platform can delay the lighting-on time until the off-peak period when electricity rates are lower, so as to avoid excessive consumption of electricity during periods with higher electricity rates.

[0127] Optimization of lights-off time: If the lights-off time is close to the peak period, the platform can turn off the lights in advance to avoid electricity consumption during high-rate periods.

[0128] Optimization of brightness adjustment: During peak hours, the platform can also reduce the brightness of lamps to reduce power consumption, and during off-peak hours, the platform can appropriately increase the brightness to provide sufficient lighting effects.

[0129] The optimized time control nodes will be sent to the lamp end through the wireless communication module, and the control module at the lamp end will perform corresponding control actions according to these adjusted time control nodes. When the current time reaches the adjusted light on or light off time control node, the lamp automatically performs the switch operation. If the system adjusts the brightness control node, the lamp will also adjust the brightness according to the instruction to reduce electricity expenses.

[0130] In addition, the PAAS data cloud platform has dynamic adjustment capabilities and can monitor changes in electricity rates and policy updates from power suppliers in real time. If electricity rates change with seasons, time or region, the platform can readjust the time control nodes of the lamps based on the latest rate information to ensure that the system always runs in the most energy-efficient state.

[0131] By combining the electricity rate information in the area, the PAAS data cloud platform can intelligently optimize the switching time and brightness of lamps to avoid excessive power consumption during peak hours. This method not only effectively reduces electricity costs, but also further improves the energy-saving efficiency of the system. It is particularly suitable for areas with significant differences in electricity rates, such as industrial parks, commercial centers or public lighting systems.

[0132] Specifically, if Figure 5 As shown in the figure, when the system starts, the power sensor is initialized first. The voltage, current and power registers of the sensor are calibrated through the MCU (microcontroller unit) to ensure that the sensor can accurately collect the power consumption of the lamp.

[0133] The calibration steps include: the power sensor will read the current current and voltage data, and automatically calibrate the relevant parameters to ensure the accuracy of data collection.

[0134] After the energy sensor is initialized, the system receives parameter configuration from the PAAS data cloud platform, triggering the interruption system. The parameters include electricity rate information, segmented billing strategy, and rate update information. The system calculates the electricity fee in real time based on these parameters.

[0135] Specifically, the system receives the rate parameters issued by the platform through the communication module, and performs subsequent electricity fee calculations based on these rate data.

[0136] Furthermore, the system determines whether the received command type is a billing-related logical instruction. If so, the system will enter the power consumption analysis and billing process; if not, the system will report the current power usage to the PAAS platform and interrupt the current operation.

[0137] If the command is not billing related, the system will directly report the power data to the PAAS platform for real-time power monitoring.

[0138] If the system determines that the command is a billing logic instruction, the system will parse the power consumption data every minute, compare it with the current rate information, and calculate the electricity fee for the corresponding time period.

[0139] The electricity consumption per minute is combined with the rate information to calculate the electricity fee for that minute. The system will perform segmented calculations based on the rate changes in different time periods.

[0140] Furthermore, before calculating the electricity fee each time, the system will verify whether the current rate parameters are legal. If the system detects that the rate is abnormal or exceeds the preset range, the system will stop the billing operation and report the error information to the PAAS platform.

[0141] If the rate is illegal (for example, it fails to match the platform), the system will automatically report the exception and wait for the platform to correct the rate.

[0142] If the rate is legal, the system continues to calculate the electricity bill and summarizes the energy usage per minute with the electricity bill. The system can adjust the control strategy in real time based on the minute-level electricity bill data to ensure maximum energy saving.

[0143] Furthermore, the system will regularly summarize the electricity data every minute and generate hourly, daily and monthly electricity bill reports.

[0144] The system will summarize the electricity bill data on an hourly, daily and monthly basis and upload it to the PAAS data cloud platform. The PAAS platform generates detailed electricity bill reports for users based on these data, and users can view the electricity bill details through the mobile APP or WEB interface.

[0145] If any abnormal situation is detected during the billing process (such as sensor failure, abnormal rate, communication interruption, etc.), the system will immediately report the abnormal status to the PAAS data cloud platform to ensure that the system can be maintained and adjusted in time.

[0146] Through this power analysis and billing method, the system can monitor the power consumption of lamps in real time and dynamically bill based on the electricity rate. The PAAS data cloud platform provides users with accurate electricity bill data to help them manage power usage and optimize costs. At the same time, by verifying the legality of the rate, the system can ensure the accuracy of the electricity bill calculation and reduce abnormal electricity bills caused by incorrect rates.

[0147] Based on the same inventive concept as the above embodiments, the embodiments of the present invention provide an intelligent lighting control method based on dynamic adjustment of electricity rates. The system reduces the brightness of lamps or delays the switching time during peak rate periods according to the changes in electricity rates within a day, thereby achieving energy saving optimization.

[0148] The system obtains the electricity rate information of the area where the lamp is located in real time through the PAAS data cloud platform, and records the electricity rate at different time periods in a day. The rate curve obtained by the system is shown in the figure. The rate for each time period is: 00:00-04:00: The rate is 0.5 yuan / hour. This is the off-peak period and the electricity fee is lower.

[0149] 04:00-06:30: The rate is 0.8 yuan / hour, and the electricity charge will increase slightly during the morning period.

[0150] 06:30-08:00: The rate is 1.5 yuan / hour. This is the morning peak period and the electricity fee is higher.

[0151] 08:00-17:30: The rate is 0.9 yuan / hour. This is the normal daytime period and the electricity fee is relatively moderate.

[0152] 17:30-19:00: The rate is 0.8 yuan / hour. It is in the evening and the electricity fee is lower.

[0153] 19:00-22:00: The rate is 1.5 yuan / hour. This is the evening peak period with the highest electricity charges.

[0154] 22:00-00:00: The rate is 0.8 yuan / hour. It is during the night time and the electricity fee is moderate.

[0155] The PAAS data cloud platform analyzes the electricity rates for the current time period based on the acquired rate information, and formulates the working strategy of the lamps in combination with the operation requirements of the lamps and the ambient lighting requirements. During low-rate periods, the system can appropriately increase the brightness of the lamps or extend their working hours; during high-rate periods, the brightness of the lamps can be reduced or the lights can be turned off in advance.

[0156] In order to maximize energy saving, the system will dynamically adjust the operating time and brightness of the lamps according to the rates at different time periods. The specific operations are as follows: During off-peak hours when the electricity rate is 0.5 yuan per hour, the system will appropriately extend the operating time of the lamps and keep the brightness of the lamps at around 70% to save energy while meeting lighting needs.

[0157] During peak hours when the electricity rate is 1.5 yuan per hour, the system will reduce the brightness of the lamps to 50% or below, and even turn off unnecessary lamps in some scenes to reduce energy consumption and save costs.

[0158] During the periods when the rates are 0.8 yuan / hour and 0.9 yuan / hour, the system will set the brightness of the lamps to 60%-80% based on actual needs, while ensuring the lighting effect and reducing electricity expenses as much as possible.

[0159] The system will regularly feed back the operating status and electricity consumption of the lamps to the PAAS data cloud platform. The platform can display electricity usage reports to users through the APP or WEB interface, including the electricity consumption and total electricity bill for each time period, to help users better understand the energy-saving effect of the system.

[0160] Through this method, the system can intelligently adjust the working hours and brightness of the lamps, avoid high electricity rate periods, and make full use of low rate periods to achieve energy saving and electricity rate optimization. Especially during the morning and evening peak hours, the system can significantly reduce the power consumption of the lamps, thereby reducing electricity bills.

[0161] Based on the same inventive concept as the aforementioned embodiments, an embodiment of the present invention provides an intelligent lighting control method based on the XH-STS600 industrial PAAS configuration platform, which combines Internet of Things technology to achieve centralized management and energy-saving optimization of multiple lamps through remote monitoring and automated control.

[0162] See also Figure 6 The system includes: PAAS data cloud platform, IoT gateway device, MCU control module, communication module (BC95), and controlled lighting equipment. The system realizes data transmission and control command issuance through the IoT network of China Telecom, China Mobile or China Unicom.

[0163] On the IoT device side, the lamp is equipped with a GPS module to obtain the geographical location information of the lamp, including latitude and longitude and the time zone information. In addition, the working status of the lamp (such as switch status, brightness, fault information, etc.) is monitored in real time through the built-in operation management module of RN8209. The status information of the lamp is uploaded to the PAAS data cloud platform through the BC95 communication module.

[0164] The XH-STS600 industrial PAAS configuration platform automatically calculates the lighting on and off time control nodes of the lamps based on the geographic location information uploaded by the lamps. The system can also reduce the brightness of the lamps or delay the lighting time during peak hours to save electricity costs in combination with the electricity rates of the power supplier. During off-peak hours, the system can appropriately extend the working time of the lamps or increase the brightness to make full use of low-rate electricity resources.

[0165] After the calculation is completed, the platform sends the optimized time control node to the MCU module at the lamp end through the HUITP-UNI protocol. After receiving the command, the MCU module controls the built-in operation management module of RN8209 to execute the corresponding lamp control action.

[0166] The MCU control module at the lighting end performs intelligent operations based on the time control node sent by the PAAS platform.

[0167] Users can access the PAAS data cloud platform through the STA50 WEB UI or STA50 configuration APP to view the status and operating data of each lamp in real time. The platform can monitor whether the lamp is online, fault conditions, and current power usage.

[0168] In addition, users can remotely control the switch status of the lamp, adjust the brightness, or manually modify the working time control node of the lamp when necessary through the APP or WEB interface.

[0169] When a lamp fails or communication is interrupted, the system will promptly feed back the fault information to the PAAS data cloud platform through the IoT communication module, and the platform will notify the operation and maintenance personnel to check and repair the lamp. If the time control node of the lamp is abnormal, for example, the time of the latter node is earlier than the previous node, the platform will automatically ignore the illegal node and regenerate the control instruction according to the latest situation.

[0170] Through this intelligent lighting control method based on the PAAS data cloud platform, the system can automatically adjust the switch time and brightness of lamps to achieve energy saving optimization. The system is suitable for scenarios such as road lighting in smart cities and intelligent lighting in commercial areas. It can significantly reduce electricity costs and improve the level of intelligent lighting management. At the same time, the system also has remote management and real-time monitoring functions, which improves operation and maintenance efficiency.

[0171] Furthermore, this embodiment relates to an intelligent lighting control method based on the XH-STS600 industrial PAAS configuration platform, which combines the Internet of Things technology to achieve centralized management and energy-saving optimization of multiple lamps through remote monitoring and automatic control. The system interacts with the device through multiple communication methods and uses a specific data structure to transmit and process information.

[0172] The system includes PAAS data cloud platform, IoT gateway device, MCU control module, communication module (BC95), and controlled lighting equipment. In order to ensure the accuracy of data transmission and control instructions, the system adopts the following key data structures.

[0173] Based on the same inventive concept as the above-mentioned embodiment, the above-mentioned embodiment is described in detail below through a specific example.

[0174] This embodiment involves combining lighting control and dynamic electricity billing system through PAAS data cloud platform, and optimizing lighting control nodes and energy saving management by using the change of electricity rate. By using VmmwMeterChgFee_t and chgFeeUnion_t structures, the system can accurately calculate the electricity rate in different time periods and adjust the control strategy of the lighting based on these data.

[0175] First, the PAAS data cloud platform obtains the electricity rate information of the current area from the power supplier and saves it in the electricity fee management module of the IoT device. The VmmwMeterChgFee_t structure is used to store the billing rate and related power data: typedef struct VmmwMeterChgFee { bool validFlag; / / Whether the rate is legally configured UINT8 validNbr; / / Number of valid rate periods UINT8 rateSect; / / The rate range of the current billing UINT16 minOffset[RN8209_CHG_RATE_NBR]; / / Minute offset of peak and valley rates float feeRate[RN8209_CHG_RATE_NBR]; / / The fee rate for each period, unit: yuan UINT32 lastChgTs; / / Last electricity fee calculation timestamp float lastEnergy; / / The accumulated energy last read float lastAccumFee; / / Total accumulated fee amount } VmmwMeterChgFee_t; On the fixture side, VmmwMeterChgFee_t is used to store the following data: validFlag: marks whether the electricity rate information is legal and ensures that the rate information is valid.

[0176] validNbr: indicates how many valid rate periods currently exist in the system.

[0177] rateSect: The electricity rate zone currently being applied (e.g. peak period, off-peak period, etc.).

[0178] minOffset and feeRate: Stores the minute offset and corresponding fee rate (in yuan) for different fee periods.

[0179] lastChgTs: The timestamp of the last electricity cost calculation, which is convenient for periodic electricity cost calculation.

[0180] lastEnergy and lastAccumFee: store the last energy usage and accumulated electricity fee of the lamp respectively.

[0181] Secondly, each electricity fee rate segment is defined by the chgFeeUnion_t structure, which is used to record the time control nodes and rate information of different rates within a day: typedef struct chgFeeUnion { UINT8 min; / / minute UINT8 hour; / / hour UINT16 rateInNf2; / / rate value, indicating the electricity rate for a specific period of time } chgFeeUnion_t; The present invention also discloses a computing device, comprising a processor and a memory storing a computer program, and when the processor runs the computer program, the steps of the above-mentioned lighting control method are implemented.

[0182] The min and hour fields represent specific points in time, for example, a certain electricity rate takes effect from 10:30 am.

[0183] The rateInNf2 field is used to represent the rate value. The system calculates the total electricity cost for each time period based on these time control nodes and the rate value.

[0184] Then, on the PAAS data cloud platform, the system will combine the data of the VmmwMeterChgFee_t and chgFeeUnion_t structures to optimize the time control node. For example: Peak period processing: When rateInNf2 in chgFeeUnion_t indicates a high rate period (such as peak period), the system will adjust the switching time of the lamps or reduce the brightness of the lamps to reduce the energy consumption during the high rate period.

[0185] Off-peak hours: During off-peak hours, the system can appropriately extend the operating time of lamps or increase the brightness. For example, if the electricity rate drops at night, the system will delay the light-off time and provide more lighting by taking advantage of the low electricity price.

[0186] Furthermore, the MCU module on the IoT device will periodically calculate the electricity fee based on lastEnergy and feeRate in VmmwMeterChgFee_t. Whenever the system records the energy usage data of the lamp, it will dynamically calculate the electricity fee based on the electricity fee rate of the current period: Electricity fee calculation: read voltage, current and other energy data every minute, and calculate the electricity fee for that minute based on the current fee rate (feeRate). The calculation formula is as follows: Current minute electricity fee = current minute electricity consumption × current rate; Accumulated electricity charges: Summarize electricity charge data every hour, update lastAccumFee, and upload the results to the PAAS data cloud platform. Users can view the accumulated electricity charges and current electricity charge rates for each lamp through the WEB interface or APP.

[0187] Users can remotely view the real-time electricity bill data of lamps through STA50 WEB UI or STA50 configuration APP, and manually adjust the operation strategy of lamps. If users find that the electricity bill is high during a certain period, they can immediately adjust the brightness of the lamps through APP or turn off the lamps in advance.

[0188] In daily operation, the system will check whether the rate configuration is legal according to the validFlag of VmmwMeterChgFee_t. If the system detects that the electricity rate information is invalid, it will be fed back to the PAAS platform through the wireless communication module. The platform will re-obtain the rate information from the power supplier to ensure that the billing mechanism and control logic of the lamp are correct.

[0189] By combining VmmwMeterChgFee_t and chgFeeUnion_t structures, the present invention can realize intelligent electricity fee optimization management of lamps during peak and off-peak periods. The system can not only adjust the working time of lamps according to real-time electricity fee data, but also minimize electricity expenses while ensuring lighting effects.

[0190] The device may also include: at least one network interface 312. The various components in the device are coupled together via a bus system 313. It is understood that the bus system 313 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 313 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 7 Various buses are labeled as bus system 313.

[0191] The memory 311 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAMbus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 311 described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable types of memories.

[0192] The memory 311 in the embodiment of the present invention is used to store various types of data to support the operation of the device. Examples of these data include: any computer program used to operate on the device, such as an operating system and an application; contact data; phone book data; messages; pictures; videos, etc. Among them, the operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program may include various applications, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. Here, the program that implements the method of the embodiment of the present invention may be included in the application program.

[0193] Based on the same inventive concept as the above-mentioned embodiment, this embodiment further provides a computer-readable storage medium, in which a computer program is stored. The computer-readable storage medium may be a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); it may also be various devices including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc. When the computer program stored in the computer-readable storage medium is executed by the processor, the above-mentioned method is implemented. For the specific steps implemented when the computer program is executed by the processor, please refer to Figures 1 to 5 The description of the illustrated embodiment will not be repeated here.

[0194] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0195] In this document, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of elements other than those listed and may also include additional elements not expressly listed.

[0196] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A lighting control method based on PAAS data cloud platform, characterized in that: include: Detect the geographical location information of the lamps and feed it back to the PAAS data cloud platform; The PAAS data cloud platform calculates and allocates the time control nodes of the lamps based on the received geographic location information; The current time is monitored, and when the current time reaches the time control node, a control action is executed.

2. According to claim 1, a lighting control method based on PAAS data cloud platform is characterized in that: The control actions include: turning on the light, turning off the light, adjusting the brightness and restarting the lamp; If the control instruction is to adjust the brightness, and the lamp is not in the light-on state, the lamp is turned on first, and then the brightness is adjusted to the corresponding state.

3. A lighting control method based on PAAS data cloud platform according to claim 1 or 2, characterized in that: The geographical location information includes the time zone where the lamp is located; The PAAS data cloud platform adjusts the time control node according to the time zone where the lamp is located.

4. According to claim 3, a lighting control method based on PAAS data cloud platform is characterized in that: The geographical location information includes the latitude and longitude information of the lamp; The PAAS data cloud platform adjusts the time control node according to the latitude and longitude information of the lamp in combination with the time zone of the lamp.

5. According to claim 4, a lighting control method based on PAAS data cloud platform is characterized in that: The PAAS data cloud platform determines whether the area where the lamp is located implements daylight saving time; If yes, check whether the current time is in compliance with daylight saving time; If so, calibrate the time control node.

6. A lighting control method based on PAAS data cloud platform according to any one of claims 1 to 5, characterized in that: There are multiple time control nodes; If the time parameter of the subsequent time control node is smaller than the time parameter of the previous time control node, the parameter of the subsequent time control node is determined to be illegal and no processing is performed.

7. A lighting control method based on PAAS data cloud platform according to any one of claims 1 to 6, characterized in that: The PAAS data cloud platform optimizes and adjusts the time control nodes according to the electricity rates in the area where the lamps are located and in combination with the electricity rates during peak and off-peak periods.

8. The lighting control method based on PAAS data cloud platform according to claim 7 is characterized in that: The PAAS data cloud platform analyzes the power usage of lamps and adjusts the control strategy of lamps based on the analysis results, by dynamically adjusting the time control nodes or brightness levels.

9. A computing device, characterized in that include: A processor and a memory storing a computer program, when the processor runs the computer program, implements the steps of a lighting control method based on a PAAS data cloud platform as described in any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the steps of a lighting control method based on a PAAS data cloud platform described in any one of claims 1 to 8 are implemented.