Cell garage public lighting adaptive control method, electronic equipment and storage medium
Patent Information
- Application Number
- CN202611081713.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-21
- Publication Date
- 2026-08-18
AI Technical Summary
[0003]目前小区车库的公共照明控制多采用固定时段开关、单点声控或人体感应控制的方式,部分集中控制系统也仅能实现人工预设的简单分区控制
[0006] The adaptive control method for public lighting in a residential garage according to the first aspect of this application has at least the following beneficial effects: By dividing the residential garage into multiple lighting zones according to preset division rules, establishing a mapping relationship between the lighting zones and their corresponding luminaire circuits, as well as a topological association between the lighting zones and other lighting zones, and pre-setting the basic lighting parameters of the luminaire circuits corresponding to each lighting zone based on the regional location and type information of the lighting zones, refined zoning control of the public lighting in the garage is achieved. Based on this, the method determines the corresponding user type by combining the user information of the target entering the residential garage and generates a first adjustment parameter. Simultaneously, it generates a second adjustment parameter by combining the target's current location information and topological association within the residential garage. Within a preset safe illuminance constraint range, the basic lighting parameters are superimposed with the first and second adjustment parameters to generate target lighting parameters. Then, the working state of the luminaire circuits corresponding to each lighting zone is controlled according to the target lighting parameters. In this control method, lighting can be dynamically adjusted according to different user types and real-time traffic needs, ensuring safe illuminance in traffic areas while avoiding unnecessary energy consumption in unoccupied areas, thus improving the accuracy and energy-saving effect of residential garage lighting control.
Smart Images

Figure CN122602351A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent control technology, and in particular to an adaptive control method, electronic device and storage medium for public lighting in a residential garage. Background Technology
[0002] As a core public amenity area in a residential community, the parking garage is the primary place for residents to park their vehicles and access their homes. The effectiveness of its public lighting system directly affects residents' nighttime safety and living experience, and is also a significant component of the property's public energy consumption. A residential parking garage typically includes multiple functional zones such as entrances and exits, driveways, parking spaces, and elevator lobbies. The lighting needs of these different functional zones vary significantly, and pedestrian and vehicular traffic exhibits distinct temporal and random characteristics. There is high-frequency traffic during fixed periods for residents, as well as sporadic traffic during unpredictable times for visitors and temporary vehicles, placing high demands on the precise control of public lighting.
[0003] Currently, public lighting control in residential garages mostly uses fixed-time switching, single-point voice control, or human motion sensor control. Some centralized control systems can only achieve simple zone control with manual presets. These control methods cannot dynamically and accurately adjust the lighting according to the actual traffic needs within the garage. It is difficult to achieve energy conservation and consumption reduction while ensuring traffic safety. This either results in unoccupied areas maintaining high brightness for extended periods, causing a large amount of unnecessary energy waste, or there are situations where traffic areas are not lit in a timely manner or are not bright enough, affecting the residents' traffic experience and safety. Summary of the Invention
[0004] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes an adaptive control method for public lighting in residential parking garages, which can improve the accuracy and energy-saving effect of parking garage lighting control.
[0005] Firstly, this application provides an adaptive control method for public lighting in a residential parking garage, including: The community garage is divided into multiple lighting zones according to the preset division rules, and a mapping relationship between the lighting zones and the corresponding lamp circuits is established, as well as a topological association between the lighting zones and other lighting zones. Based on the location and type information of the lighting area, the basic lighting parameters of the lamp circuit corresponding to each lighting area are preset; Obtain user information for those entering the community's parking garage, and determine the corresponding user type based on the user information; Based on the user type, determine the first adjustment parameter of the luminaire circuit corresponding to each lighting area; Obtain the current location information of the target within the community garage, and generate a second adjustment parameter based on the current location information and the topological association; Based on a preset safe illuminance constraint range, the basic lighting parameters are superimposed with the first adjustment parameter and the second adjustment parameter to generate target lighting parameters; Based on the target lighting parameters, control the operating state of the luminaire circuit corresponding to each lighting area.
[0006] The adaptive control method for public lighting in a residential garage according to the first aspect of this application has at least the following beneficial effects: By dividing the residential garage into multiple lighting zones according to preset division rules, establishing a mapping relationship between the lighting zones and their corresponding luminaire circuits, as well as a topological association between the lighting zones and other lighting zones, and pre-setting the basic lighting parameters of the luminaire circuits corresponding to each lighting zone based on the regional location and type information of the lighting zones, refined zoning control of the public lighting in the garage is achieved. Based on this, the method determines the corresponding user type by combining the user information of the target entering the residential garage and generates a first adjustment parameter. Simultaneously, it generates a second adjustment parameter by combining the target's current location information and topological association within the residential garage. Within a preset safe illuminance constraint range, the basic lighting parameters are superimposed with the first and second adjustment parameters to generate target lighting parameters. Then, the working state of the luminaire circuits corresponding to each lighting zone is controlled according to the target lighting parameters. In this control method, lighting can be dynamically adjusted according to different user types and real-time traffic needs, ensuring safe illuminance in traffic areas while avoiding unnecessary energy consumption in unoccupied areas, thus improving the accuracy and energy-saving effect of residential garage lighting control.
[0007] According to some embodiments of the first aspect of this application, establishing the topological association between the lighting area and other lighting areas includes: Obtain multiple historical movement trajectories of different targets within the community parking garage; Based on the historical movement trajectory, determine the transfer records that passed through the lighting area and the dwell time in each of the lighting areas; Based on the transfer records and dwell time of each of the historical movement trajectories, the topological association between the illuminated area and other illuminated areas is determined.
[0008] According to some embodiments of the first aspect of this application, determining the topological association between the illuminated area and other illuminated areas based on the transfer records and dwell times of each of the historical movement trajectories includes: Remove from the historical movement trajectory records the transfer records between the illuminated area and the previous and next illuminated areas where the dwell time is outside the preset normal driving time; Based on the updated transfer records, the transfer frequency between any two lighting areas that have a sequential passage relationship is counted, as well as the total number of transfers for each lighting area as the starting area; Based on the transfer frequency and the total number of transfers, the transfer probability between each lighting area and other lighting areas is determined; Based on the transition probability, the topological association between the lighting area and other lighting areas is determined.
[0009] According to some embodiments of the first aspect of this application, dividing the community garage into multiple lighting zones according to a preset division rule and establishing a mapping relationship between the lighting zones and the corresponding lamp circuits includes: The map information of the community garage is obtained, and various location distribution types within the community garage are identified based on the map information; wherein, the location distribution types include vehicle entrance and exit areas, driving passage areas, parking space areas, elevator hall areas, and pedestrian passage areas; The vehicle entrance / exit area and the elevator lobby area are divided into a single independent lighting zone. The driving passage area and the pedestrian passage area are divided into multiple continuous lighting areas according to preset length segments; For parking areas, based on the layout of the parking spaces and their connection to the passageway, consecutive parking spaces within a preset range are divided into a lighting zone. The location information of each lighting area is determined based on the map information, and the type information of each lighting area is determined based on the location distribution type. A unique area identifier is assigned to each divided lighting area, and a mapping relationship is established between the identifier and the corresponding lighting circuit. Each lighting area corresponds to at least one independently controllable lighting circuit.
[0010] According to some embodiments of the first aspect of this application, determining the first adjustment parameter of the luminaire circuit corresponding to each lighting area based on the user type includes: When the user type is the first type, multiple historical movement trajectories of the target are obtained from the preset historical access database, and the common movement path of the target is obtained based on the historical movement trajectories; based on the common movement path, a first adjustment parameter is generated for each of the lighting areas on the common movement path; When the user type is the second type, the first adjustment parameter corresponding to all the lighting areas is set to 0.
[0011] According to some embodiments of the first aspect of this application, obtaining user information of a target entering the community garage and determining the corresponding user type based on the user information includes: Acquire real-time image information of the target entering the parking garage of the residential community; Extract the target's identity features from the real-time image; When the identity feature exists in a preset user information database, the corresponding identity identifier and the cumulative number of times the identity identifier has entered are determined; when the cumulative number of times the identity identifier has entered is greater than or equal to a preset threshold for the number of times the user has entered, the user type corresponding to the user information is determined to be a first type; when the cumulative number of times the identity identifier has entered is less than the threshold for the number of times the user has entered, the user type corresponding to the user information is determined to be a second type. If the identity features do not exist in the preset user information database, a new identity identifier and corresponding cumulative entry count are created, and the user type is determined to be the second type; Increment the cumulative number of entries by 1, and reset and re-time the inaccessible duration corresponding to the identity identifier; The identity identifiers corresponding to those whose non-access duration exceeds a preset cleanup duration threshold are periodically deleted from the user information database.
[0012] According to some embodiments of the first aspect of this application, the step of superimposing the basic lighting parameters with the first adjustment parameter and the second adjustment parameter based on a preset safe illuminance constraint range to generate target lighting parameters includes: When multiple targets enter the community garage, based on a preset safe illuminance constraint range, the basic lighting parameters are superimposed with the first adjustment parameter and the second adjustment parameter generated for each target to generate target lighting parameters; wherein, the safe illuminance constraint range is used to limit the upper and lower limits of illuminance in different lighting areas; Correspondingly, after the step of controlling the operating state of the luminaire circuit corresponding to each lighting area according to the target lighting parameters, the method further includes: When the current location information of the target is located in the vehicle entrance / exit area or elevator hall area of the community garage, the second adjustment parameter corresponding to the target is removed.
[0013] According to some embodiments of the first aspect of this application, after the step of superimposing the basic lighting parameters with the first adjustment parameter and the second adjustment parameter based on a preset safe illuminance constraint range to generate target lighting parameters, the method further includes: Based on the target lighting parameters and the mapping relationship, the theoretical operating power of each of the lighting circuits is obtained; Monitor the actual operating power of each of the aforementioned lighting circuits; When the ratio of the actual operating power to the theoretical operating power is outside the preset power deviation allowable threshold range, the corresponding lighting area is determined according to the mapping relationship, and an alarm signal is generated.
[0014] Secondly, this application also provides an electronic device, comprising: At least one memory; At least one processor; At least one program; The program is stored in the memory, and the processor executes at least one of the programs to implement the adaptive control method for public lighting in a community garage as described in any embodiment of the first aspect.
[0015] Thirdly, this application also provides a computer-readable storage medium storing a computer program for performing the adaptive control method for public lighting in a community garage as described in any embodiment of the first aspect.
[0016] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0017] Additional aspects and advantages of this application will become apparent and readily understood in conjunction with the following description of the embodiments, in which: Figure 1 A flowchart illustrating an adaptive control method for public lighting in a residential garage, provided in some embodiments of this application. Detailed Implementation
[0018] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0019] In the description of this application, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0020] In the description of this application, the use of "first" and "second" is for the purpose of distinguishing technical features only, and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or the order of the technical features indicated.
[0021] In the description of this application, unless otherwise expressly defined, terms such as "setup," "installation," and "connection" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this application in conjunction with the specific content of the technical solution.
[0022] It should be noted that in all specific embodiments of this application, when processing data related to user identity or characteristics, such as user information, user behavior data, user historical data, and user location information, user permission or consent is obtained first. Furthermore, the collection, use, and processing of this data comply with relevant laws, regulations, and standards. In addition, when embodiments of this application require access to sensitive personal information of users, separate permission or consent from the user is obtained through pop-ups or redirection to confirmation pages. Only after obtaining the user's separate permission or consent is the necessary user-related data required for the proper functioning of these embodiments acquired.
[0023] As a core public amenity area in a residential community, the parking garage is the primary place for residents to park their vehicles and access their homes. The effectiveness of its public lighting system directly affects residents' nighttime safety and living experience, and is also a significant component of the property's public energy consumption. A residential parking garage typically includes multiple functional zones such as entrances and exits, driveways, parking spaces, and elevator lobbies. The lighting needs of these different functional zones vary significantly, and pedestrian and vehicular traffic exhibits distinct temporal and random characteristics. There is high-frequency traffic during fixed periods for residents, as well as sporadic traffic during unpredictable times for visitors and temporary vehicles, placing high demands on the precise control of public lighting.
[0024] Currently, public lighting control in residential garages mostly uses fixed-time switching, single-point voice control, or human motion sensor control. Some centralized control systems can only achieve simple zone control with manual presets. These control methods cannot dynamically and accurately adjust the lighting according to the actual traffic needs within the garage. It is difficult to achieve energy conservation and consumption reduction while ensuring traffic safety. This either results in unoccupied areas maintaining high brightness for extended periods, causing a large amount of unnecessary energy waste, or there are situations where traffic areas are not lit in a timely manner or are not bright enough, affecting the residents' traffic experience and safety.
[0025] Based on this, this application provides an adaptive control method, electronic device and storage medium for public lighting in a community garage to solve the above-mentioned technical problems. The technical solutions provided by this application will be described in detail below.
[0026] Firstly, referring to Figure 1 This application provides an adaptive control method for public lighting in a residential parking garage, which may include, but is not limited to, the following steps: Step S110: Divide the community garage into multiple lighting zones according to the preset division rules, establish the mapping relationship between the lighting zones and the corresponding lamp circuits, and establish the topological association between the lighting zones and other lighting zones.
[0027] Step S120: Based on the location and type information of the lighting area, pre-set the basic lighting parameters of the luminaire circuit corresponding to each lighting area.
[0028] Step S130: Obtain user information for the target user entering the community garage, and determine the corresponding user type based on the user information.
[0029] Step S140: Determine the first adjustment parameter of the luminaire circuit corresponding to each lighting area according to the user type.
[0030] Step S150: Obtain the target's current location information in the community garage, and generate the second adjustment parameter based on the current location information and topological association.
[0031] Step S160: Based on the preset safe illuminance constraint range, the basic lighting parameters are superimposed with the first adjustment parameter and the second adjustment parameter to generate the target lighting parameters.
[0032] Step S170: Control the working status of the luminaire circuit corresponding to each lighting area according to the target lighting parameters.
[0033] In step S110, the topological association in this application refers to the physical connectivity between various lighting areas in the community garage and the logical correspondence formed by the regular passage sequence of people and vehicles. That is, it is used to record the spatial connection and passage flow pattern between adjacent lighting areas. In the scheme, it is used to predict the associated lighting areas that the target will pass through in the future by combining the target's current location information, so as to generate corresponding second adjustment parameters in a targeted manner. Lighting adjustment is only carried out on the relevant areas on the target's travel path, which can not only adapt to the lighting needs of the passage in advance, but also avoid ineffective control of irrelevant lighting areas.
[0034] In step S120, based on the actual usage scenarios of different lighting areas in the community garage, the basic lighting parameters are set differently according to the location and type information of the lighting areas. For areas where people and vehicles gather, such as vehicle entrances and exits and elevator lobbies, a higher basic brightness value is set as the basic lighting parameter for the corresponding lamp circuit. For driving lane areas, the basic lighting parameters are matched with appropriate basic lighting parameters based on the length of the lane and the frequency of traffic. For parking spaces far from the main lane and with very few people and vehicles passing through, a lower basic lighting parameter is set that meets the minimum safety illuminance requirements. All basic lighting parameters are pre-stored and bound to the mapping relationship between the corresponding lighting area and the lamp circuit, serving as the reference value for generating the target lighting parameters by subsequent superimposed adjustment parameters.
[0035] In addition to the location and type information of the lighting areas, the basic lighting parameters can also be adjusted based on the real-time weather information, the time of day, the ambient light intensity inside the garage, the statutory holiday signs, and seasonal information. For example, the basic lighting parameters can be increased in scenarios with weak external light, such as rainy days or evenings, while the basic lighting parameters of each area can be decreased overall during low traffic periods at night. When the garage has sufficient daylight in summer, the basic lighting parameters can be appropriately reduced, and the basic lighting parameters of each area can be uniformly increased when there is increased vehicle and pedestrian traffic on statutory holidays.
[0036] In step S160, the safe illuminance constraint range is a pre-defined upper and lower limit range of illuminance values for each lighting area. This range is set according to the access safety standards of different areas of the garage and is used to limit the target lighting parameters when the basic lighting parameters are superimposed with the first adjustment parameter and the second adjustment parameter to avoid the final output lighting parameters being too low to meet the access lighting safety standards, while preventing the parameters from being too high and causing unnecessary energy consumption, thus balancing garage access safety and energy saving.
[0037] Specifically, the overlay process is performed independently for each lighting area. The base lighting parameters, first adjustment parameters, second adjustment parameters, and target lighting parameters involved in the calculation all adopt a unified illuminance dimension. The base lighting parameters are the reference illuminance values for the corresponding lighting area, and the first and second adjustment parameters are non-negative illuminance increment values used to increase the lighting brightness of the corresponding area above the reference illuminance.
[0038] The specific calculation logic of the overlay process is as follows: First, the basic lighting parameters corresponding to the lighting area, the first adjustment parameter acting on the area, and the second adjustment parameter acting on the area are summed to obtain the initial overlay illuminance value. Then, the initial overlay illuminance value is compared with the preset safe illuminance constraint range. If the initial overlay illuminance value is less than the lower limit of the safe illuminance constraint range, the lower limit is used as the target lighting parameter for the lighting area; if the initial overlay illuminance value is greater than the upper limit of the safe illuminance constraint range, the upper limit is used as the target lighting parameter for the lighting area; if the initial overlay illuminance value is within the safe illuminance constraint range, it is directly used as the target lighting parameter for the lighting area.
[0039] In steps S110 to S170, the community garage is divided into multiple lighting zones according to preset division rules. A mapping relationship is established between the lighting zones and their corresponding luminaire circuits, as well as a topological association between the lighting zones and other lighting zones. Based on the location and type information of each lighting zone, basic lighting parameters for the corresponding luminaire circuits are pre-set, achieving refined zoning control of the garage's public lighting. Furthermore, this method combines user information of the target entering the community garage to determine the corresponding user type and generate a first adjustment parameter. Simultaneously, it combines the target's current location information and topological association within the community garage to generate a second adjustment parameter. Within a preset safe illuminance constraint range, the basic lighting parameters are superimposed with the first and second adjustment parameters to generate target lighting parameters. The operating state of the luminaire circuits corresponding to each lighting zone is then controlled according to the target lighting parameters. This control method can dynamically adjust lighting according to different user types and real-time traffic needs, ensuring safe illuminance in traffic areas while avoiding unnecessary energy consumption in unoccupied areas, thus improving the accuracy and energy-saving effect of community garage lighting control.
[0040] It is understood that the step of establishing topological associations in step S110 may include, but is not limited to, the following steps: Step S210: Obtain multiple historical movement trajectories of different targets within the community garage.
[0041] Step S220: Based on the historical movement trajectory, determine the transfer records through the illuminated areas and the dwell time in each illuminated area.
[0042] Step S230: Determine the topological association between the lighting area and other lighting areas based on the transfer records and dwell time of each historical movement trajectory.
[0043] In steps S210 to S230, multiple historical movement trajectories of different targets within the community garage are acquired. Based on these historical trajectories, corresponding transfer records and dwell time in each lighting area are extracted. Then, the topological relationships between lighting areas and other lighting areas are determined using these transfer records and dwell time. These steps enable the construction of inter-area relationships based on actual traffic behavior in the garage, distinguishing between regular traffic paths and occasional traffic behavior. This ensures that the final topological relationships closely reflect the actual flow of people and vehicles in the garage. The resulting second adjustment parameters better match actual traffic needs, reducing lighting adjustment operations in irrelevant areas and further improving the accuracy of garage lighting control.
[0044] It is understood that step S230 may include, but is not limited to, the following steps: Step S310: Remove the transfer records between the lighting area and the previous and next lighting areas from the historical movement trajectory where the dwell time is outside the preset normal driving time.
[0045] Step S320: Based on the updated transfer records, count the transfer frequency between any two lighting areas that have a sequential passage relationship, and the total number of transfers for each lighting area as the starting area.
[0046] Step S330: Determine the transfer probability between each lighting area and other lighting areas based on the transfer frequency and the total number of transfers.
[0047] Step S340: Determine the topological association between the lighting area and other lighting areas based on the transition probability.
[0048] In steps S310 to S340, by first removing transfer records between lighting areas and previous and subsequent lighting areas whose dwell time in the historical movement trajectory exceeds the preset normal travel time, interference from invalid transfer records generated by discontinuous passage scenarios can be effectively eliminated, and occasional abnormal passage data can be filtered out. Based on this, the transfer frequency between any two lighting areas with a sequential passage relationship and the total number of transfers with each lighting area as the starting area are statistically analyzed according to the updated transfer records. This allows the transfer probability to be calculated and the topological association between lighting areas and other lighting areas to be determined. This ensures that the final constructed topological association accurately reflects the strength of the real regular passage association between different lighting areas. The second adjustment parameter generated based on this can more accurately predict the target's subsequent passage path, avoiding unnecessary lighting adjustments to irrelevant areas and further improving the accuracy and energy-saving effect of lighting control.
[0049] Specifically, in step S310, the core principle of the elimination step is to retain only the actual passage records of the target continuously passing through the illuminated area at a normal speed, completely eliminating all abnormal data that would distort the actual passage relationship between areas. If the dwell time is less than the preset normal travel time, it usually corresponds to sensor mis-triggers or data jumps, such as a camera capturing flying insects, flickering light and shadow, or a vehicle quickly passing over the area boundary, resulting in a momentary signal. In this case, the target has not actually entered and passed through the illuminated area normally. If the dwell time is greater than the preset normal travel time, it corresponds to the target engaging in discontinuous passage behavior within the area, such as a vehicle temporarily stopping, picking up or dropping off people, loading or unloading goods, or pedestrians stopping to wait or talk. In this case, the target's next move after leaving the area is not a natural continuation of continuous passage, but a new independent passage behavior. Retaining this data would incorrectly associate two areas that originally had no direct continuous passage relationship, causing the illumination of unrelated areas to be prematurely lit during subsequent path prediction. By eliminating these two types of abnormal transfer records, it can be ensured that the transfer frequency and transfer probability calculated in subsequent statistics are based entirely on real, normal, and continuous passage data. Only then can the final constructed topological association accurately reflect the strength of the regular passage association between different areas within the garage.
[0050] It is understood that the steps of dividing the area into multiple lighting zones and establishing mapping relationships in step S110 may include, but are not limited to, the following steps: Step S410: Obtain map information of the community garage and identify various location distribution types within the community garage based on the map information; among which, the location distribution types include vehicle entrance and exit areas, driving passage areas, parking space areas, elevator hall areas, and pedestrian passage areas.
[0051] Step S420: Divide the vehicle entrance / exit area and elevator lobby area into a single independent lighting zone.
[0052] Step S430: For the vehicle passageway area and the pedestrian passageway area, divide them into multiple continuous lighting areas according to the preset length segments.
[0053] Step S440: For the parking space area, based on the layout of the parking spaces and their correlation with the traffic passage, divide the consecutive parking spaces within the preset range into a lighting area.
[0054] Step S450: Determine the regional location information of each lighting area based on the map information, and determine the type information of each lighting area based on the location distribution type. Assign a unique area identifier to each divided lighting area and establish a mapping relationship with the corresponding lighting circuit. Each lighting area corresponds to at least one independent and controllable lighting circuit.
[0055] In steps S410 to S450, by acquiring map information of the community garage and identifying various location distribution types within the garage based on this information, differentiated lighting zone division rules are adopted for different location distribution types. This ensures that the zone division accurately matches the actual usage characteristics and lighting needs of different functional areas within the garage. Specifically, the vehicle entrance / exit area and elevator lobby area are divided into a single independent lighting zone to meet the overall lighting control needs of these areas with concentrated pedestrian and vehicle traffic. The vehicle passageway area and pedestrian walkway area are sequentially divided into multiple continuous lighting zones according to preset length segments, facilitating segmented lighting adjustment along the traffic path. The parking space area is divided into a single lighting zone within a preset range based on the arrangement of parking spaces and their correlation with the vehicle passageway, thus taking into account the different lighting needs of parking spaces in different locations. Based on this, the location information of each lighting area is determined according to the map information, the type information of each lighting area is determined according to the location distribution type, and a unique area identifier is assigned to each divided lighting area. A mapping relationship is established between the identifier and the corresponding lighting circuit. Each lighting area corresponds to at least one independent and controllable lighting circuit, which enables precise control of each lighting area individually. This provides a reliable foundation for subsequent dynamic lighting adjustment based on user type and real-time traffic location.
[0056] In step S440, the arrangement position refers to the orientation of the parking space relative to the driveway, such as arranging it in a straight line along both sides of the driveway, arranging it at a corner, or arranging it at the end of the driveway. The accessibility refers to the ease of access to the parking space from the driveway, i.e., whether it shares the same driveway entrance with other parking spaces.
[0057] In one embodiment, assume that an underground parking garage in a residential community has an east-west main driveway, 6 meters wide, with standard small parking spaces arranged on both the north and south sides. Each parking space is 2.5 meters wide and 5.3 meters long. The division method is as follows: For the consecutive parking spaces arranged in a straight line on the north side of the passageway, every four consecutive parking spaces are divided into a lighting zone, corresponding to a section of approximately 10 meters on the main driving passageway; similarly, the parking spaces arranged in a straight line on the south side of the passageway are also divided into zones of four consecutive parking spaces. The reason for this division is that when a vehicle enters this 10-meter-long driving passageway section, it will only park in one of the eight parking spaces on the corresponding sides, and the lighting needs of these eight parking spaces are completely synchronized and can be controlled uniformly.
[0058] The three angled parking spaces at the corner of the main driving lane and the branch lane are divided into a separate lighting area because these parking spaces can only be accessed from the corner lane and their passageways do not overlap with those of the straight-line parking spaces.
[0059] The two end-point parking spaces at the end of the main driveway are designated as a separate lighting area because only vehicles that have driven to the end of the driveway will park here, and their lighting needs are not synchronized with those of other parking areas.
[0060] For the accessible parking space near the elevator lobby and the adjacent regular parking space, a separate lighting area is designated to meet the high-frequency usage needs of the special parking space.
[0061] This application does not impose specific restrictions on the rules for dividing lighting areas.
[0062] It is understood that step S140 may include, but is not limited to, the following steps: Step S510: When the user type is the first type, obtain multiple historical movement trajectories of the target from the preset historical passage database, and obtain the target's common movement path based on the historical movement trajectory; generate the first adjustment parameter for each lighting area on the common movement path based on the common movement path.
[0063] Step S520: When the user type is the second type, set the first adjustment parameter corresponding to all lighting areas to 0.
[0064] In steps S510 to S520, by generating corresponding first adjustment parameters based on different user types, refined layered lighting control can be achieved. The first type of user corresponds to permanent residents of the community, who have relatively fixed travel patterns. When the user type is the first type, multiple historical movement trajectories of the target are obtained from a preset historical traffic database, and the target's frequently used movement path is obtained based on these trajectories. This generates first adjustment parameters for each lighting area along the frequently used movement path, allowing for pre-adaptation to the lighting needs of their fixed travel routes and improving the user's travel experience. The second type of user corresponds to temporary visitors, external vehicles, and other users without fixed travel patterns. When the user type is the second type, the first adjustment parameters for all lighting areas are set to 0, avoiding unnecessary pre-adjustment of lighting for users without clear travel paths and preventing accidental activation of lights in irrelevant areas. This differentiated control strategy ensures traffic safety while further improving the system's energy-saving effect and control accuracy.
[0065] It is understood that step S130 may include, but is not limited to, the following steps: Step S610: Obtain real-time image information of the target entering the community garage.
[0066] Step S620: Extract the target's identity features based on the real-time image.
[0067] Step S630: When the identity feature exists in the preset user information database, determine the corresponding identity identifier and the cumulative number of times the identity identifier enters; when the cumulative number of times the identity identifier enters is greater than or equal to the preset threshold for the number of times the user is active, determine the user type corresponding to the user information as the first type; when the cumulative number of times the identity identifier enters is less than the threshold for the number of times the user is active, determine the user type corresponding to the user information as the second type.
[0068] Step S640: When the identity features do not exist in the preset user information database, create a new identity identifier and corresponding cumulative entry count, and determine the user type as the second type.
[0069] Step S650: Increment the cumulative number of entries by 1, and reset and re-time the inaccessible duration corresponding to the identity identifier.
[0070] Step S660: Periodically delete the identity identifiers in the user information database that have not been used for a longer period than the preset cleanup time threshold.
[0071] This user type determination method enables seamless and automated user segmentation without the need for manual pre-registration of resident information, making it well-suited for the dynamic flow of people in the community garage.
[0072] In steps S610 to S640, by acquiring real-time image information of the target entering the community garage and extracting the target's identity features, identity recognition can be completed without affecting normal user access. No additional card-swiping or QR code scanning devices are required, resulting in lower deployment costs. Using the cumulative number of entries corresponding to the identity identifier and a preset threshold for the number of times a user is permanently present as the basis for classifying the first and second types, the system can automatically identify permanent users with high-frequency access patterns. The judgment logic aligns with the actual access patterns in the garage, eliminating the need for manual maintenance of a permanent user directory and allowing for autonomous adaptation to changes in the community's resident population. For targets whose identity features do not exist in the preset user information database, a new identity identifier and corresponding cumulative entry count are automatically created and the target is classified as the second type. This covers all targets entering the garage, preventing omissions in lighting control.
[0073] In steps S650 to S660, after each successful pass, the cumulative entry count is incremented by 1, and the inactivity duration corresponding to the identity identifier is reset and re-timed. This continuously tracks the user's pass status and ensures the timeliness of user type determination results. Periodically deleting identity identifiers in the user information database whose inactivity duration exceeds a preset cleanup threshold promptly removes long-term invalid and redundant data, preventing excessive expansion of the user information database and maintaining system efficiency and stability.
[0074] It is understood that step S160 may include, but is not limited to, the following steps: Step S710: When multiple targets enter the community garage, based on the preset safe illuminance constraint range, the basic lighting parameters are superimposed with the first adjustment parameter and the second adjustment parameter generated for each target to generate target lighting parameters; wherein, the safe illuminance constraint range is used to limit the upper limit and lower limit of illuminance in different lighting areas.
[0075] In step S710, when multiple targets enter the community garage, the basic lighting parameters are superimposed with the first and second adjustment parameters generated for each target based on a preset safe illuminance constraint range. This process adapts to complex garage scenarios where multiple targets pass simultaneously, ensuring that the lighting in each area fully matches the actual needs of multiple vehicles and pedestrians. The safe illuminance constraint range is used to limit the upper and lower limits of illuminance in different lighting areas. This avoids unnecessary energy waste caused by excessively high illuminance in the area after the superposition of multiple parameters, and also prevents excessively low illuminance caused by abnormal parameter superposition, which affects traffic safety. This ensures that the final generated target lighting parameters are always within a reasonable and controllable range.
[0076] Correspondingly, after step S170, the following steps may also be included, but are not limited to: Step S720: When the target's current location information is located in the vehicle entrance / exit area or elevator hall area of the community garage, remove the second adjustment parameter corresponding to the target.
[0077] In step S720, when the target's current location information is in the vehicle entrance / exit area or elevator lobby area of the community garage, the second adjustment parameter corresponding to the target is removed. This allows the path-prediction-based lighting adjustment to be terminated promptly when the target reaches its destination and is about to leave the garage access path. This setting allows the corresponding area to quickly return to basic lighting status, avoiding the continuous effect of prediction-based adjustment parameters and thus preventing ineffective energy consumption, further improving the system's energy-saving effect.
[0078] It is understood that after step S160, the following steps may be included, but are not limited to: Step S810: Based on the target lighting parameters and mapping relationship, obtain the theoretical operating power of each luminaire circuit.
[0079] Step S820: Monitor the actual operating power of each lighting circuit.
[0080] Step S830: When the ratio of actual working power to theoretical working power is outside the preset power deviation allowable threshold range, the corresponding lighting area is determined according to the mapping relationship, and an alarm signal is generated.
[0081] In steps S810 to S830, after generating the target lighting parameters, the theoretical operating power of each lighting circuit is obtained based on the target lighting parameters and mapping relationship. The actual operating power of each lighting circuit is monitored, enabling real-time comparison of the matching degree between lighting control commands and the actual operating status of the lighting fixtures. This automatically verifies the operating status of each lighting circuit, eliminating the need for regular manual inspections to detect abnormal lighting operation, effectively improving the operation and maintenance efficiency of the garage lighting system and reducing daily management costs. Specifically, when the ratio of actual operating power to theoretical operating power exceeds the preset power deviation threshold, the corresponding lighting area is determined based on the mapping relationship, and an alarm signal is generated. This accurately locates the specific area where the fault occurred, facilitating rapid on-site troubleshooting by maintenance personnel. It prevents insufficient illuminance caused by lighting fixture damage, wiring faults, etc., ensuring the safety of garage passage and the stable operation of the lighting system.
[0082] In a second aspect, this application also provides an electronic device, comprising: at least one memory; at least one processor; at least one program; the program being stored in the memory, and the processor executing the at least one program to implement the adaptive control method for public lighting in a community garage as described in any embodiment of the first aspect.
[0083] This electronic device divides the community garage into multiple lighting zones according to preset rules, establishing a mapping relationship between the lighting zones and their corresponding luminaire circuits, as well as a topological association between the lighting zones and other lighting zones. Based on the location and type information of each lighting zone, basic lighting parameters for the corresponding luminaire circuits are pre-set, achieving refined zoning control of the garage's public lighting. Furthermore, this method combines user information of the target entering the community garage to determine the corresponding user type and generate a first adjustment parameter. Simultaneously, it combines the target's current location information and topological association within the community garage to generate a second adjustment parameter. Within a preset safe illuminance constraint, the basic lighting parameters are superimposed with the first and second adjustment parameters to generate target lighting parameters. The operating state of the luminaire circuits corresponding to each lighting zone is then controlled according to these target lighting parameters. This control method can dynamically adjust lighting based on different user types and real-time traffic needs, ensuring safe illuminance in traffic areas while avoiding unnecessary energy consumption in unoccupied areas, thus improving the accuracy and energy-saving effect of community garage lighting control.
[0084] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and signals, such as the program instructions / signals corresponding to the processing module in the embodiments of this application. The processor executes various functional applications and data processing by running the non-transitory software programs, instructions, and signals stored in the memory, thereby implementing the adaptive control method for public lighting in the community garage of the above-described method embodiments.
[0085] The memory may include a program storage area and a data storage area. The program storage area may store the operating system and application programs required for at least one function. The data storage area may store relevant data for the aforementioned adaptive control method for public lighting in the community garage. Furthermore, the memory may include high-speed random access memory and non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processing module via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0086] One or more signals are stored in a memory, and when executed by one or more processors, the adaptive control method for public lighting in the community garage as described in any of the above method embodiments is executed.
[0087] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program that is executed by one or more processors, enabling the one or more processors to perform the adaptive control method for public lighting in a community garage as described in the above method embodiments.
[0088] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and 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 according to actual needs.
[0089] Based on the above description of the embodiments, those skilled in the art will understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable signals, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible by a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable signals, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0090] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0091] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above 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 features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0092] The units described above 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 according to actual needs.
[0093] 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.
[0094] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. 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 multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0095] The embodiments of this application have been described in detail above with reference to the accompanying drawings. However, this application is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of this application.
Claims
1. An adaptive control method for public lighting in a residential garage, characterized in that, include: The community garage is divided into multiple lighting zones according to the preset division rules, and a mapping relationship between the lighting zones and the corresponding lamp circuits is established, as well as a topological association between the lighting zones and other lighting zones. Based on the location and type information of the lighting area, the basic lighting parameters of the lamp circuit corresponding to each lighting area are preset; Obtain user information for those entering the community's parking garage, and determine the corresponding user type based on the user information; Based on the user type, determine the first adjustment parameter of the luminaire circuit corresponding to each lighting area; Obtain the current location information of the target within the community garage, and generate a second adjustment parameter based on the current location information and the topological association; Based on a preset safe illuminance constraint range, the basic lighting parameters are superimposed with the first adjustment parameter and the second adjustment parameter to generate target lighting parameters; Based on the target lighting parameters, control the operating state of the luminaire circuit corresponding to each lighting area.
2. The adaptive control method for public lighting in a residential garage according to claim 1, characterized in that, Establishing the topological association between the lighting area and other lighting areas includes: Obtain multiple historical movement trajectories of different targets within the community parking garage; Based on the historical movement trajectory, determine the transfer records that passed through the lighting area and the dwell time in each of the lighting areas; Based on the transfer records and dwell time of each of the historical movement trajectories, the topological association between the illuminated area and other illuminated areas is determined.
3. The adaptive control method for public lighting in a residential garage according to claim 2, characterized in that, Determining the topological association between the illuminated area and other illuminated areas based on the transfer records and dwell time of each of the historical movement trajectories includes: Remove from the historical movement trajectory records the transfer records between the illuminated area and the previous and next illuminated areas where the dwell time is outside the preset normal driving time; Based on the updated transfer records, the transfer frequency between any two lighting areas that have a sequential passage relationship is counted, as well as the total number of transfers for each lighting area as the starting area; Based on the transfer frequency and the total number of transfers, the transfer probability between each lighting area and other lighting areas is determined; Based on the transition probability, the topological association between the lighting area and other lighting areas is determined.
4. The adaptive control method for public lighting in a residential garage according to claim 1, characterized in that, The step of dividing the community garage into multiple lighting zones according to a preset division rule and establishing a mapping relationship between the lighting zones and the corresponding lamp circuits includes: The map information of the community garage is obtained, and various location distribution types within the community garage are identified based on the map information; wherein, the location distribution types include vehicle entrance and exit areas, driving passage areas, parking space areas, elevator hall areas, and pedestrian passage areas; The vehicle entrance / exit area and the elevator lobby area are divided into a single independent lighting zone. The driving passage area and the pedestrian passage area are divided into multiple continuous lighting areas according to preset length segments; For parking areas, based on the layout of the parking spaces and their connection to the passageway, consecutive parking spaces within a preset range are divided into a lighting zone. The location information of each lighting area is determined based on the map information, and the type information of each lighting area is determined based on the location distribution type. A unique area identifier is assigned to each divided lighting area, and a mapping relationship is established between the identifier and the corresponding lighting circuit. Each lighting area corresponds to at least one independently controllable lighting circuit.
5. The adaptive control method for public lighting in a residential garage according to claim 1, characterized in that, The step of determining the first adjustment parameter of the luminaire circuit corresponding to each lighting area based on the user type includes: When the user type is the first type, multiple historical movement trajectories of the target are obtained from the preset historical access database, and the common movement path of the target is obtained based on the historical movement trajectories; based on the common movement path, a first adjustment parameter is generated for each of the lighting areas on the common movement path; When the user type is the second type, the first adjustment parameter corresponding to all the lighting areas is set to 0.
6. The adaptive control method for public lighting in a residential garage according to claim 5, characterized in that, The step of obtaining user information for those entering the community parking garage and determining the corresponding user type based on the user information includes: Acquire real-time image information of the target entering the parking garage of the residential community; Extract the target's identity features from the real-time image; When the identity feature exists in a preset user information database, the corresponding identity identifier and the cumulative number of times the identity identifier has entered are determined; when the cumulative number of times the identity identifier has entered is greater than or equal to a preset threshold for the number of times the user has entered, the user type corresponding to the user information is determined to be a first type; when the cumulative number of times the identity identifier has entered is less than the threshold for the number of times the user has entered, the user type corresponding to the user information is determined to be a second type. If the identity features do not exist in the preset user information database, a new identity identifier and corresponding cumulative entry count are created, and the user type is determined to be the second type; Increment the cumulative number of entries by 1, and reset and re-time the inaccessible duration corresponding to the identity identifier; The identity identifiers corresponding to those whose non-access duration exceeds a preset cleanup duration threshold are periodically deleted from the user information database.
7. The adaptive control method for public lighting in a residential garage according to claim 1, characterized in that, The step of generating target lighting parameters by superimposing the basic lighting parameters with the first adjustment parameter and the second adjustment parameter based on a preset safe illuminance constraint range includes: When multiple targets enter the community garage, based on a preset safe illuminance constraint range, the basic lighting parameters are superimposed with the first adjustment parameter and the second adjustment parameter generated for each target to generate target lighting parameters; wherein, the safe illuminance constraint range is used to limit the upper and lower limits of illuminance in different lighting areas; Correspondingly, after the step of controlling the operating state of the luminaire circuit corresponding to each lighting area according to the target lighting parameters, the method further includes: When the current location information of the target is located in the vehicle entrance / exit area or elevator hall area of the community garage, the second adjustment parameter corresponding to the target is removed.
8. The adaptive control method for public lighting in a residential garage according to claim 1, characterized in that, After the step of superimposing the basic lighting parameters with the first adjustment parameter and the second adjustment parameter based on the preset safe illuminance constraint range to generate the target lighting parameters, the method further includes: Based on the target lighting parameters and the mapping relationship, the theoretical operating power of each of the lighting circuits is obtained; Monitor the actual operating power of each of the aforementioned lighting circuits; When the ratio of the actual operating power to the theoretical operating power is outside the preset power deviation allowable threshold range, the corresponding lighting area is determined according to the mapping relationship, and an alarm signal is generated.
9. An electronic device, characterized in that, include: At least one memory; At least one processor; At least one program; The program is stored in the memory, and the processor executes at least one of the programs to implement the adaptive control method for public lighting in a community garage as described in any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program for executing the adaptive control method for public lighting in a community garage as described in any one of claims 1 to 8.