Railway carriage illumination control method and system based on user number, terminal and storage medium

By using human detection models in rail transit carriages to detect the number of passengers and dynamically adjust the lighting parameters, the problem of energy wasting when there are no passengers or fewer passengers is solved, achieving more efficient energy use and a more comfortable ride environment.

CN119729959AInactive Publication Date: 2025-03-28SHENZHEN LONGYUN LIGHTING ELECTRIC APPLIANCES CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202510239052.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-03
Publication Date
2025-03-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The traditional rail transit car lighting system cannot intelligently adjust according to the actual distribution of passengers in the car, resulting in the lighting system being fully lit when there are no passengers or fewer passengers, resulting in waste of energy.

Method used

The track car lighting control method based on the number of users is adopted, and the number of humans in the car is detected through the human body detection model, and the lighting parameters of each area are dynamically adjusted according to the number of passengers.

Benefits of technology

It effectively avoids unnecessary energy waste, improves energy saving effect, and creates a more comfortable ride environment for passengers and improves passengers' ride experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729959A_ABST
    Figure CN119729959A_ABST
Patent Text Reader

Abstract

The invention discloses a rail carriage illumination control method and system based on the number of users, a terminal and a storage medium, and the method comprises the steps: determining a target rail carriage, and carrying out the illumination region division processing and illumination parameter collection processing of the target rail carriage, obtaining a plurality of illumination areas and initial illumination parameters corresponding to each illumination area; determining a target human body detection model, and performing human body number detection processing on each illumination area through the target human body detection model to obtain a human body number detection result of each illumination area; and obtaining an illumination parameter result corresponding to each human body number detection result, and performing parameter adjustment processing on the initial illumination parameter corresponding to each illumination area according to each illumination parameter result to obtain a target illumination environment of each illumination area. The illumination parameters of the compartment can be dynamically adjusted according to the number of users in the compartment, and the energy-saving effect of compartment illumination and the riding experience of the users are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lighting control, and in particular to a method, system, terminal and computer-readable storage medium for controlling rail carriage lighting based on the number of users. Background Art

[0002] Rail transit is a major component of current public transportation. Due to its fast, efficient, comfortable, convenient, safe and reliable characteristics, more and more people choose rail transit as a means of travel.

[0003] However, traditional lighting systems in rail transit usually adopt a fixed lighting mode and cannot be intelligently adjusted according to the actual distribution of passengers in the car. When there are no passengers or few passengers in the car, the lighting system will still be fully lit, resulting in energy waste.

[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0005] The main purpose of the present invention is to provide a rail car lighting control method, system, terminal and computer-readable storage medium based on the number of users, aiming to solve the problem that traditional lighting systems in the prior art usually adopt a fixed lighting mode and cannot be intelligently adjusted according to the actual distribution of passengers in the car. When there are no passengers or fewer passengers in the car, the lighting system will still be fully lit, resulting in energy waste.

[0006] To achieve the above object, the present invention provides a rail car lighting control method based on the number of users, the rail car lighting control method based on the number of users comprising the following steps: Determine a target rail carriage, and perform lighting area division processing and lighting parameter collection processing on the target rail carriage to obtain multiple lighting areas and initial lighting parameters corresponding to each lighting area; Determine a target human body detection model, and perform human body quantity detection processing on each of the lighting areas using the target human body detection model to obtain a human body quantity detection result for each of the lighting areas; The lighting parameter result corresponding to each of the human body quantity detection results is obtained, and the initial lighting parameters corresponding to each of the lighting areas are adjusted according to each of the lighting parameter results to obtain the target lighting environment of each of the lighting areas.

[0007] Optionally, in the rail car lighting control method based on the number of users, the lighting parameter acquisition process includes a car brightness acquisition process and a climate environment information acquisition process; the initial lighting parameters include an initial lighting brightness value and an initial color temperature value; The determining of the target rail carriage, and performing lighting area division processing and lighting parameter collection processing on the target rail carriage to obtain a plurality of lighting areas and initial lighting parameters corresponding to each lighting area specifically includes: Determine a target rail carriage, and obtain the distribution of lighting equipment in the target rail carriage; Divide the target rail carriage into lighting areas according to the distribution of the lighting equipment to obtain a plurality of lighting areas; Performing cabin brightness collection and climate environment information collection processing on each lighting area to obtain an initial lighting brightness value and initial climate environment information of each lighting area, and determining an initial color temperature value of each lighting area according to each initial climate environment information; The initial climate environment information includes the lighting area temperature and the lighting area humidity.

[0008] Optionally, in the rail car lighting control method based on the number of users, the step of determining the target human body detection model specifically includes: Determine a preset human body detection algorithm, and obtain a preset detection model corresponding to the preset human body detection algorithm; wherein the preset human body detection algorithm includes any one or more of a microwave detection algorithm, an infrared thermal imaging detection algorithm, or a face detection algorithm; Acquire preset compartment human body data, and perform preprocessing and data set division processing on the preset compartment human body data to obtain a human body detection training set and a human body detection verification set, wherein the preprocessing includes denoising processing and normalization processing; Performing model training processing on the preset detection model according to the human body detection training set to obtain an initial human body detection model; The initial human body detection model is subjected to model verification processing and model fine-tuning processing according to the human body detection verification set to obtain the target human body detection model.

[0009] Optionally, the rail car lighting control method based on the number of users, wherein the step of performing human body number detection processing on each lighting area by using the target human body detection model to obtain a human body number detection result for each lighting area specifically includes: Acquire current human body data of each of the lighting areas, and input each of the current human body data into the target human body detection model; The target human body detection model is used to perform human body quantity detection processing on each of the current human body data to obtain a human body quantity detection result for each of the lighting areas.

[0010] Optionally, in the rail car lighting control method based on the number of users, the step of obtaining the lighting parameter result corresponding to each of the human body number detection results specifically includes: Determine a preset lighting parameter matching database, and perform lighting parameter matching on a human body quantity detection result of any lighting area in each of the lighting areas with the preset lighting parameter matching database until all lighting areas are fully matched with the preset lighting parameter matching database; If the human body quantity detection result is in the first human body quantity interval in the preset lighting parameter matching database, obtaining a first target lighting parameter result corresponding to the first human body quantity interval; If the human body quantity detection result is in a second human body quantity interval in the preset lighting parameter matching database, obtaining a second target lighting parameter result corresponding to the second human body quantity interval; If the human body quantity detection result is in a third human body quantity interval in the preset lighting parameter matching database, obtaining a third target lighting parameter result corresponding to the third human body quantity interval; Among them, the first human body number interval is smaller than the second human body number interval, and the second human body number interval is smaller than the third human body number interval.

[0011] Optionally, the rail car lighting control method based on the number of users, wherein the initial lighting parameters corresponding to each lighting area are adjusted according to each lighting parameter result to obtain the target lighting environment of each lighting area, specifically comprising: If the lighting parameter result of any one of the lighting areas is the first target lighting parameter result, adjusting the initial lighting brightness value and the initial color temperature value of the lighting area to the first target lighting parameter result to obtain the first target lighting environment of the lighting area; If the lighting parameter result of any one of the lighting areas is the second target lighting parameter result, adjusting the initial lighting brightness value and the initial color temperature value of the lighting area to the second target lighting parameter result to obtain the second target lighting environment of the lighting area; If the lighting parameter result of any one of the lighting areas is the third target lighting parameter result, adjusting the initial lighting brightness value and the initial color temperature value of the lighting area to the third target lighting parameter result to obtain the third target lighting environment of the lighting area; The target lighting environment includes any one of the first target lighting environment, the second target lighting environment and the third target lighting environment.

[0012] Optionally, the rail car lighting control method based on the number of users, wherein the step of obtaining a lighting parameter result corresponding to each of the human body number detection results, and performing parameter adjustment processing on an initial lighting parameter corresponding to each of the lighting areas according to each of the lighting parameter results to obtain a target lighting environment for each of the lighting areas, further comprises: When the target rail vehicle reaches the target destination, the target lighting environment of each lighting area is restored to the initial lighting parameters corresponding to each lighting area.

[0013] In addition, to achieve the above-mentioned purpose, the present invention further provides a rail car lighting control system based on the number of users, wherein the rail car lighting control system based on the number of users comprises: An initial lighting parameter acquisition module is used to determine a target rail carriage, and perform lighting area division processing and lighting parameter acquisition processing on the target rail carriage to obtain multiple lighting areas and initial lighting parameters corresponding to each lighting area; A human body quantity detection processing module is used to determine a target human body detection model, and perform human body quantity detection processing on each of the lighting areas using the target human body detection model to obtain a human body quantity detection result for each of the lighting areas; The parameter adjustment processing module is used to obtain the lighting parameter result corresponding to each of the human body quantity detection results, and perform parameter adjustment processing on the initial lighting parameters corresponding to each of the lighting areas according to each of the lighting parameter results to obtain the target lighting environment of each of the lighting areas.

[0014] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a rail car lighting control program based on the number of users stored in the memory and executable on the processor, wherein the rail car lighting control program based on the number of users, when executed by the processor, implements the steps of the rail car lighting control method based on the number of users as described above.

[0015] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a rail car lighting control program based on the number of users, and when the rail car lighting control program based on the number of users is executed by a processor, the steps of the rail car lighting control method based on the number of users as described above are implemented.

[0016] In the present invention, a target rail car is determined, and the target rail car is processed for lighting area division and lighting parameter collection to obtain multiple lighting areas and initial lighting parameters corresponding to each lighting area; a target human body detection model is determined, and the human body number detection process is performed on each lighting area through the target human body detection model to obtain a human body number detection result for each lighting area; the lighting parameter result corresponding to each human body number detection result is obtained, and the initial lighting parameters corresponding to each lighting area are adjusted according to each lighting parameter result to obtain the target lighting environment for each lighting area. The present invention uses a target human body detection model to perform human body number detection on multiple lighting areas in the car, thereby obtaining the number of passengers in each lighting area, and dynamically adjusts the initial lighting parameters in each area according to the number of passengers, thereby avoiding unnecessary energy waste and effectively improving the energy-saving effect; at the same time, the adjusted lighting parameters can also create a more comfortable riding environment for passengers, effectively improving the riding experience of passengers. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a flow chart of a preferred embodiment of a rail car lighting control method based on the number of users of the present invention; Figure 2 is a structural diagram of a preferred embodiment of a rail car lighting control system based on the number of users of the present invention; Figure 3 It is a structural diagram of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0019] Traditional rail car lighting systems usually adopt a fixed lighting mode and cannot be intelligently adjusted according to the actual distribution of passengers in the car. When there are no passengers or few passengers in the car, the lighting system will still be fully lit, resulting in energy waste.

[0020] To solve the above problems, the present invention provides a rail car lighting control method based on the number of users. The method can obtain the distribution of passengers in the car through a human body detection algorithm, and intelligently adjust lighting parameters such as brightness and color temperature according to the distribution of passengers. For example, the brightness can be reduced for areas without passengers or areas with fewer passengers, while the brightness can be increased for areas with more passengers. At the same time, the method can also adjust the brightness of local areas in the car, which can effectively improve the pertinence and comfort of the car lighting.

[0021] The rail car lighting control method based on the number of users described in the preferred embodiment of the present invention is as follows: Figure 1 As shown, the rail car lighting control method based on the number of users includes the following steps: Step S10, determine the target rail carriage, and perform lighting area division processing and lighting parameter collection processing on the target rail carriage to obtain multiple lighting areas and initial lighting parameters corresponding to each lighting area. The lighting parameter collection processing includes carriage brightness collection processing and climate environment information collection processing; the initial lighting parameters include initial lighting brightness value and initial color temperature value.

[0022] After determining the target rail carriage that needs to be adjusted, the present invention divides the target rail carriage into areas, which can facilitate the subsequent adjustment of lighting parameters in local areas of the carriage. Afterwards, lighting parameters such as brightness and color temperature of different areas of the carriage are collected to obtain the initial lighting parameters of different areas in the carriage.

[0023] Specifically, a target rail car is determined, and the distribution of lighting equipment in the target rail car is obtained; the target rail car is divided into lighting areas according to the distribution of lighting equipment to obtain multiple lighting areas; the car brightness collection and climate environment information collection and processing are performed on each lighting area through a light sensor to obtain an initial lighting brightness value and initial climate environment information of each lighting area, and an initial color temperature value of each lighting area is determined according to each initial climate environment information; wherein the initial climate environment information includes the lighting area temperature and the lighting area humidity.

[0024] Before dividing the target rail car into lighting areas, it is first necessary to obtain the car number of the target rail vehicle and the distribution of lighting fixtures in the car. The car number of the target rail vehicle, such as car 1, car 2, car 3, etc., can be obtained through the on-board control system, and the specific distribution position of the lighting fixtures in each target rail car can be obtained.

[0025] According to the distribution of lighting fixtures in the target rail carriage, the target rail carriage is divided into a plurality of lighting areas. For example, each target rail carriage can be divided into 4 lighting areas, each lighting area corresponds to 1-2 lighting fixtures; or each target rail carriage can be divided into 6 areas, each lighting area corresponds to 1 lighting fixture.

[0026] Furthermore, after the lighting area division is completed, it is necessary to collect the initial lighting brightness value and initial color temperature value corresponding to each lighting area. The initial lighting brightness value and initial color temperature value can be collected by a light sensor to collect the illumination information near the passenger's head, that is, the illumination of the space near the passenger's head and the external natural light.

[0027] The initial color temperature value is related to the local real-time climate environment information, which includes ground temperature and ground humidity. The target color temperature value can be determined based on the ground temperature and ground humidity. At the same time, the initial lighting brightness value and initial color temperature value in the car can also be set. The initial lighting brightness value can be set to 100%, that is, the maximum brightness; the initial color temperature value can be set to 5000K to simulate the color temperature of natural light.

[0028] Step S20: determine a target human body detection model, and perform human body quantity detection processing on each of the lighting areas using the target human body detection model to obtain a human body quantity detection result for each of the lighting areas.

[0029] In order to count the number of passengers in each lighting area in the target rail carriage, the present invention uses a human body detection algorithm to perform identification and detection, thereby obtaining the distribution of passengers in each lighting area in the target rail carriage.

[0030] Specifically, a preset human body detection algorithm is determined, and a preset detection model corresponding to the preset human body detection algorithm is obtained; wherein the preset human body detection algorithm includes any one or more of a microwave detection algorithm, an infrared thermal imaging detection algorithm or a face detection algorithm; preset compartment human body data is obtained, and the preset compartment human body data is preprocessed and the data set is divided to obtain a human body detection training set and a human body detection verification set, wherein the preprocessing includes denoising and normalization; model training is performed on the preset detection model according to the human body detection training set to obtain an initial human body detection model; model verification and model fine-tuning are performed on the initial human body detection model according to the human body detection verification set to obtain the target human body detection model.

[0031] Among them, human detection algorithms include FCHD (Fast Computation of High-DimensionalIntegrals) algorithm, Fast-RCNN (Fast Region-based Convolutional Neural Networks) algorithm, yolo series algorithms and SSD (Single Shot MultiBox Detector) target detection algorithm.

[0032] It can be understood that the preset human body detection algorithm in the present invention includes any one or more of a microwave detection algorithm, an infrared thermal imaging detection algorithm or a face detection algorithm. For example, if the preset human body detection algorithm selected in the present invention is an infrared thermal imaging detection algorithm, the preset car body data to be collected is infrared image information, wherein the infrared thermal imaging detection algorithm can use photoelectric technology to receive infrared specific band signals of human body thermal radiation in the illumination area, and convert the signals into images and graphics with human visual resolution, and further calculate the temperature value, so as to obtain passenger information in the car. The specific implementation process of infrared thermal imaging detection is as follows: an infrared sensor can be installed on the top or side of the car, and infrared detection is used to scan and detect passengers in the target track car.

[0033] Similarly, if the preset human body detection algorithm selected in the present invention is a microwave detection algorithm, it is necessary to collect microwave signals in each lighting area of ​​the target rail car; if the preset human body detection algorithm selected in the present invention is a face detection algorithm, the image information in each lighting area of ​​the target rail car can be collected by a camera and sent to the controller via Ethernet. The above-mentioned camera can be a camera of a vehicle monitoring system.

[0034] In addition, the present invention may also combine any two or three of the microwave detection algorithm, the infrared thermal imaging detection algorithm or the face detection algorithm, and perform de-overlapping data based on the detection results corresponding to the different algorithms, so as to obtain a more accurate human body quantity detection result.

[0035] Before using the preset human body detection algorithm to detect the number of passengers in the lighting area, the human body detection model needs to be trained. As mentioned above, the preset human body detection algorithm in the present invention includes a microwave detection algorithm, an infrared thermal imaging detection algorithm or a face detection algorithm, so the selected human body detection model and the data set corresponding to the human body detection model are also different.

[0036] For example, the human body detection model in the present invention is based on an infrared thermal imaging detection algorithm. After the infrared image information is collected, the head area in the infrared thermal image needs to be automatically or manually labeled, that is, the head is used as the detection target of the human body detection model, and then the detected head area is used to extract the forehead temperature, and finally the forehead temperature is used to convert the human body temperature, and then a training set and a verification set are constructed according to the collected infrared images, so as to train and fine-tune the human body detection model to obtain a target human body detection model.

[0037] Similarly, if the human body detection model in the present invention is based on a microwave detection algorithm, it is necessary to collect microwave data to perform model training and model fine-tuning on the human body detection model; if the human body detection model in the present invention is based on a facial image algorithm, it is necessary to collect facial image data to perform model training and model fine-tuning on the human body detection model to obtain the target human body detection model.

[0038] Acquire current human body data of each of the lighting areas, and input each of the current human body data into the target human body detection model; perform human body quantity detection processing on each of the current human body data through the target human body detection model to obtain a human body quantity detection result for each of the lighting areas.

[0039] Among them, the current human body data also needs to be selected according to the preset human body detection algorithm corresponding to the target human body detection model. If the target human body detection model is trained with an infrared thermal imaging detection algorithm, the current human body data is the infrared image information in each illumination area. Similarly, if the target human body detection model is trained with a microwave detection algorithm, the current human body data is the microwave detection data in each illumination area; if the target human body detection model is trained with a face detection algorithm, the current human body data is the face image data in each illumination area. That is, the current human body data in the present invention is infrared image information, microwave detection data or face image data.

[0040] Furthermore, the present invention collects current human body data in each lighting area in the target rail car, and performs human body quantity detection processing on the current human body data through a target human body detection model, thereby identifying the corresponding number of passengers in each lighting area.

[0041] Step S30, obtaining the lighting parameter result corresponding to each of the human body quantity detection results, and performing parameter adjustment processing on the initial lighting parameters corresponding to each of the lighting areas according to each of the lighting parameter results, so as to obtain the target lighting environment of each of the lighting areas.

[0042] It is understandable that, for an area in which there are passengers among the multiple lighting areas, the brightness value and color temperature value of the lighting fixtures in the area can be kept unchanged, that is, the initial lighting brightness value is 100% and the initial color temperature value is 5000K. For an area in which there are no passengers among the multiple lighting areas, the brightness value of the lighting fixtures in the area can be reduced to a preset energy-saving brightness value. For example, the brightness value of the lighting fixtures in the area can be reduced to 30%.

[0043] Furthermore, the present invention can further perform lighting parameter control, and can divide the number of passengers in each lighting area into quantity stages, thereby dividing the number of passengers into a first human number interval, a second human number interval and a third human number interval, and setting corresponding brightness values ​​and color temperature values ​​for each human number interval.

[0044] For example, when it is detected that the number of passengers in a certain lighting area is in a first human number interval, the first lighting parameter value corresponding to the first human number interval is retrieved, and the brightness and color temperature of the current lighting area are adjusted according to the first lighting parameter value.

[0045] The present invention adjusts the brightness of a local area in a carriage according to the number of passengers in each lighting area, which can effectively improve the pertinence and comfort of lighting adjustment.

[0046] Specifically, a preset lighting parameter matching database is determined, and the human body number detection result of any one of the lighting areas is matched with the preset lighting parameter matching database for lighting parameter matching until all lighting areas are matched with the preset lighting parameter matching database; if the human body number detection result is in a first human body number interval in the preset lighting parameter matching database, a first target lighting parameter result corresponding to the first human body number interval is obtained; if the human body number detection result is in a second human body number interval in the preset lighting parameter matching database, a second target lighting parameter result corresponding to the second human body number interval is obtained; if the human body number detection result is in a third human body number interval in the preset lighting parameter matching database, a third target lighting parameter result corresponding to the third human body number interval is obtained; wherein, the first human body number interval is smaller than the second human body number interval, and the second human body number interval is smaller than the third human body number interval.

[0047] Prior to this, the present invention sets up a preset lighting parameter matching database in advance, which stores the corresponding relationship between different human body number intervals and lighting parameter values ​​(this relationship can be measured based on experiments to obtain the comfort of different passengers with different lighting parameters). When it is necessary to determine the optimal lighting parameters corresponding to the current lighting area, the human body number detection result output by the target human body detection model can be matched with the preset lighting parameter matching database to see which human body number interval the human body number detection result belongs to, and then the corresponding optimal lighting parameter value is obtained. In the present invention, three human body number intervals are preferably set, namely the first human body number interval (passenger number is 0-9 people), the second human body number interval (passenger number is 10-19 people) and the third human body number interval (passenger number is greater than or equal to 20 people). Of course, further quantity division can be performed according to needs to obtain multiple more detailed human body number intervals.

[0048] If the lighting parameter result of any one of the lighting areas in each of the lighting areas is the first target lighting parameter result, the initial lighting brightness value and the initial color temperature value of the lighting area are adjusted to the first target lighting parameter result to obtain the first target lighting environment of the lighting area; if the lighting parameter result of any one of the lighting areas in each of the lighting areas is the second target lighting parameter result, the initial lighting brightness value and the initial color temperature value of the lighting area are adjusted to the second target lighting parameter result to obtain the second target lighting environment of the lighting area; if the lighting parameter result of any one of the lighting areas in each of the lighting areas is the third target lighting parameter result, the initial lighting brightness value and the initial color temperature value of the lighting area are adjusted to the third target lighting parameter result to obtain the third target lighting environment of the lighting area; wherein the target lighting environment includes any one of the first target lighting environment, the second target lighting environment and the third target lighting environment.

[0049] After determining the human population interval corresponding to each lighting area in the car, the target lighting parameter results corresponding to each lighting area can be obtained from the preset lighting parameter matching database, wherein the target lighting parameter results include target brightness values ​​and target color temperature values, and the initial lighting parameters of each lighting area are adjusted according to the corresponding target brightness values ​​and target color temperature values, wherein the brightness adjustment includes 0-100% brightness adjustment, 0% is off, and 100% is the brightest; the color temperature adjustment includes: cool color lights, warm color lights, or cool and warm color interactive lights, and the specific settings can be determined according to the matching results in the preset lighting parameter matching database.

[0050] Among them, the color temperature adjustment of the present invention is based on real-time climate environment information, that is, the target color temperature changes with the change of the local real-time climate environment. At the same temperature, the greater the relative humidity, the more obvious the increase in human body temperature. The target color temperature is determined by the real-time climate environment and the color temperature of the lighting system in the vehicle is adjusted. When the human body feels hotter, a high color temperature, that is, a cool color tone, is used, otherwise a warm color tone is used. While ensuring the illumination requirements, special consideration is given to the feelings of passengers during the boarding and alighting time periods, which not only ensures the comfort of passengers in the car, but also ensures the comfort of passengers during the boarding and alighting process, improves the comfort and health of passengers, and makes the lighting system of rail transit vehicles more intelligent, healthy, and humane.

[0051] The present invention can adjust local brightness according to the passenger density in different areas, thereby improving the riding comfort of passengers. At the same time, the lighting parameters such as brightness and color temperature can be dynamically adjusted according to the distribution of passengers in the carriage, thereby avoiding unnecessary energy waste.

[0052] Furthermore, when the target rail carriage arrives at the target destination, the target lighting environment of each lighting area is restored to the initial lighting parameters corresponding to each lighting area. When the target rail vehicle arrives at the station, the brightness value of the lighting fixtures in each lighting area in all carriages can be set to be restored to the initial lighting brightness value of 100%, and the lighting parameters are adjusted after the number of passengers is updated. At the same time, it is also convenient for passengers to get off the train.

[0053] The present invention uses a human body detection algorithm to obtain the distribution of passengers in each lighting area in the car, and intelligently adjusts lighting parameters such as brightness and color temperature according to the actual needs in each lighting area in the car, thereby avoiding energy waste caused by the lighting system being fully lit when there are no passengers or few passengers in the car, and improving energy saving effects. At the same time, targeted lighting adjustment can also create a more comfortable riding environment for passengers and enhance the passenger experience.

[0054] Beneficial effects of the present invention: 1. Intelligent lighting adjustment can be performed according to the actual distribution of passengers in the carriage, avoiding energy waste caused by full lighting of the lighting system when there are no passengers or few passengers in the carriage, thus improving energy-saving effect; 2. Local lighting parameters can be adjusted according to the passenger density in different areas. The lighting adjustment is targeted and comfortable, which improves the riding comfort of passengers.

[0055] In addition, the present invention can also provide lighting prompts based on the number of people in each lighting area. When there are fewer people in some lighting areas, the lights can flash for one second in a cycle to remind passengers to go to areas with fewer people to avoid congestion in some areas.

[0056] In addition, if each seat in different lighting areas is equipped with small lights, the age of the passengers can be identified through the face detection algorithm, such as the elderly, middle-aged people, teenagers and children, and different lighting parameters can be set for people of each age group, such as setting preset brightness values ​​and warm-colored lights for the elderly, which can better take care of the elderly.

[0057] In addition, the image detection algorithm can also be used to determine whether the passenger is using the screen of an electronic device or reading a paper book in the lighting area. If so, the lighting parameters of the seats in the area will be adjusted. This can help provide passengers with more comfortable ambient light when using mobile phones, tablets and other devices in rail cars, thereby protecting the passengers' eyesight.

[0058] Furthermore, if Figure 2As shown, based on the above-mentioned rail car lighting control method based on the number of users, the present invention also provides a rail car lighting control system based on the number of users, wherein the rail car lighting control system based on the number of users includes: An initial lighting parameter acquisition module 51 is used to determine a target rail carriage, and perform lighting area division processing and lighting parameter acquisition processing on the target rail carriage to obtain multiple lighting areas and initial lighting parameters corresponding to each lighting area; A human body quantity detection processing module 52 is used to determine a target human body detection model, and perform human body quantity detection processing on each of the lighting areas using the target human body detection model to obtain a human body quantity detection result for each of the lighting areas; The parameter adjustment processing module 53 is used to obtain the lighting parameter result corresponding to each of the human body quantity detection results, and perform parameter adjustment processing on the initial lighting parameters corresponding to each of the lighting areas according to each of the lighting parameter results to obtain the target lighting environment of each of the lighting areas.

[0059] Furthermore, if Figure 3 As shown, based on the above-mentioned rail car lighting control method and system based on the number of users, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Figure 3 Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0060] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various data installed on the terminal, such as the program code of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a rail car lighting control program 40 based on the number of users is stored on the memory 20, and the rail car lighting control program 40 based on the number of users can be executed by the processor 10, thereby realizing the rail car lighting control method based on the number of users in the present application.

[0061] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the rail car lighting control method based on the number of users.

[0062] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface.

[0063] In one embodiment, when the processor 10 executes the rail car lighting control program 40 based on the number of users in the memory 20, the following steps are implemented: Determine a target rail carriage, and perform lighting area division processing and lighting parameter collection processing on the target rail carriage to obtain multiple lighting areas and initial lighting parameters corresponding to each lighting area; Determine a target human body detection model, and perform human body quantity detection processing on each of the lighting areas using the target human body detection model to obtain a human body quantity detection result for each of the lighting areas; The lighting parameter result corresponding to each of the human body quantity detection results is obtained, and the initial lighting parameters corresponding to each of the lighting areas are adjusted according to each of the lighting parameter results to obtain the target lighting environment of each of the lighting areas.

[0064] The lighting parameter acquisition process includes the vehicle compartment brightness acquisition process and the climate environment information acquisition process; the initial lighting parameters include the initial lighting brightness value and the initial color temperature value; The determining of the target rail carriage, and performing lighting area division processing and lighting parameter collection processing on the target rail carriage to obtain a plurality of lighting areas and initial lighting parameters corresponding to each lighting area specifically includes: Determine a target rail carriage, and obtain the distribution of lighting equipment in the target rail carriage; Divide the target rail carriage into lighting areas according to the distribution of the lighting equipment to obtain a plurality of lighting areas; Performing cabin brightness collection and climate environment information collection processing on each lighting area to obtain an initial lighting brightness value and initial climate environment information of each lighting area, and determining an initial color temperature value of each lighting area according to each initial climate environment information; The initial climate environment information includes the lighting area temperature and the lighting area humidity.

[0065] Wherein, determining the target human body detection model specifically includes: Determine a preset human body detection algorithm, and obtain a preset detection model corresponding to the preset human body detection algorithm; wherein the preset human body detection algorithm includes any one or more of a microwave detection algorithm, an infrared thermal imaging detection algorithm, or a face detection algorithm; Acquire preset compartment human body data, and perform preprocessing and data set division processing on the preset compartment human body data to obtain a human body detection training set and a human body detection verification set, wherein the preprocessing includes denoising processing and normalization processing; Performing model training processing on the preset detection model according to the human body detection training set to obtain an initial human body detection model; The initial human body detection model is subjected to model verification processing and model fine-tuning processing according to the human body detection verification set to obtain the target human body detection model.

[0066] The method of performing human body quantity detection processing on each of the lighting areas by using the target human body detection model to obtain a human body quantity detection result for each of the lighting areas specifically includes: Acquire current human body data of each of the lighting areas, and input each of the current human body data into the target human body detection model; The target human body detection model is used to perform human body quantity detection processing on each of the current human body data to obtain a human body quantity detection result for each of the lighting areas.

[0067] The obtaining of the lighting parameter result corresponding to each of the human body quantity detection results specifically includes: Determine a preset lighting parameter matching database, and perform lighting parameter matching on a human body quantity detection result of any lighting area in each of the lighting areas with the preset lighting parameter matching database until all lighting areas are fully matched with the preset lighting parameter matching database; If the human body quantity detection result is in the first human body quantity interval in the preset lighting parameter matching database, obtaining a first target lighting parameter result corresponding to the first human body quantity interval; If the human body quantity detection result is in a second human body quantity interval in the preset lighting parameter matching database, obtaining a second target lighting parameter result corresponding to the second human body quantity interval; If the human body quantity detection result is in a third human body quantity interval in the preset lighting parameter matching database, obtaining a third target lighting parameter result corresponding to the third human body quantity interval; Among them, the first human body number interval is smaller than the second human body number interval, and the second human body number interval is smaller than the third human body number interval.

[0068] The step of performing parameter adjustment processing on the initial lighting parameters corresponding to each lighting area according to each lighting parameter result to obtain the target lighting environment of each lighting area specifically includes: If the lighting parameter result of any one of the lighting areas is the first target lighting parameter result, adjusting the initial lighting brightness value and the initial color temperature value of the lighting area to the first target lighting parameter result to obtain the first target lighting environment of the lighting area; If the lighting parameter result of any one of the lighting areas is the second target lighting parameter result, adjusting the initial lighting brightness value and the initial color temperature value of the lighting area to the second target lighting parameter result to obtain the second target lighting environment of the lighting area; If the lighting parameter result of any one of the lighting areas is the third target lighting parameter result, adjusting the initial lighting brightness value and the initial color temperature value of the lighting area to the third target lighting parameter result to obtain the third target lighting environment of the lighting area; The target lighting environment includes any one of the first target lighting environment, the second target lighting environment and the third target lighting environment.

[0069] The step of obtaining a lighting parameter result corresponding to each of the human body quantity detection results, and performing parameter adjustment processing on the initial lighting parameters corresponding to each of the lighting areas according to each of the lighting parameter results to obtain a target lighting environment for each of the lighting areas, further includes: When the target rail vehicle reaches the target destination, the target lighting environment of each lighting area is restored to the initial lighting parameters corresponding to each lighting area.

[0070] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a rail car lighting control program based on the number of users, and when the rail car lighting control program based on the number of users is executed by a processor, the steps of the rail car lighting control method based on the number of users as described above are implemented.

[0071] In summary, the present invention provides a rail car lighting control method based on the number of users and related equipment, the method comprising: determining a target rail car, and performing lighting area division processing and lighting parameter collection processing on the target rail car, obtaining multiple lighting areas and initial lighting parameters corresponding to each lighting area; determining a target human body detection model, and performing human body number detection processing on each lighting area through the target human body detection model, obtaining a human body number detection result for each lighting area; obtaining a lighting parameter result corresponding to each human body number detection result, and performing parameter adjustment processing on the initial lighting parameters corresponding to each lighting area according to each lighting parameter result, to obtain a target lighting environment for each lighting area. The present invention performs human body number detection processing on multiple lighting areas in the car by using a target human body detection model, thereby obtaining the number of passengers in each lighting area, and dynamically adjusting the initial lighting parameters in each area according to the number of passengers, thereby avoiding unnecessary energy waste and effectively improving the energy saving effect; at the same time, the adjusted lighting parameters can also create a more comfortable riding environment for passengers, effectively improving the riding experience of passengers.

[0072] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.

[0073] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.

[0074] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A rail car lighting control method based on the number of users, characterized in that: The rail car lighting control method based on the number of users comprises: Determine a target rail carriage, and perform lighting area division processing and lighting parameter collection processing on the target rail carriage to obtain multiple lighting areas and initial lighting parameters corresponding to each lighting area; Determine a target human body detection model, and perform human body quantity detection processing on each of the lighting areas using the target human body detection model to obtain a human body quantity detection result for each of the lighting areas; Obtain a lighting parameter result corresponding to each of the human quantity detection results, and perform parameter adjustment processing on the initial lighting parameters corresponding to each of the lighting areas according to each of the lighting parameter results to obtain a target lighting environment for each of the lighting areas.

2. The rail car lighting control method based on the number of users according to claim 1, characterized in that: The lighting parameter acquisition process includes a vehicle compartment brightness acquisition process and a climate environment information acquisition process; the initial lighting parameters include an initial lighting brightness value and an initial color temperature value; The determining of the target rail carriage, and performing lighting area division processing and lighting parameter collection processing on the target rail carriage to obtain a plurality of lighting areas and initial lighting parameters corresponding to each lighting area specifically includes: Determine a target rail carriage, and obtain the distribution of lighting equipment in the target rail carriage; Divide the target rail carriage into lighting areas according to the distribution of the lighting equipment to obtain a plurality of lighting areas; Performing cabin brightness collection and climate environment information collection processing on each lighting area to obtain an initial lighting brightness value and initial climate environment information of each lighting area, and determining an initial color temperature value of each lighting area according to each initial climate environment information; The initial climate environment information includes the lighting area temperature and the lighting area humidity.

3. The rail car lighting control method based on the number of users according to claim 1, characterized in that: Determining the target human body detection model specifically includes: Determine a preset human body detection algorithm, and obtain a preset detection model corresponding to the preset human body detection algorithm; wherein the preset human body detection algorithm includes any one or more of a microwave detection algorithm, an infrared thermal imaging detection algorithm, or a face detection algorithm; Acquire preset compartment human body data, and perform preprocessing and data set division processing on the preset compartment human body data to obtain a human body detection training set and a human body detection verification set, wherein the preprocessing includes denoising processing and normalization processing; Performing model training processing on the preset detection model according to the human body detection training set to obtain an initial human body detection model; The initial human body detection model is subjected to model verification processing and model fine-tuning processing according to the human body detection verification set to obtain the target human body detection model.

4. The rail car lighting control method based on the number of users according to claim 1, characterized in that: The method of performing human body quantity detection processing on each of the lighting areas by using the target human body detection model to obtain a human body quantity detection result for each of the lighting areas specifically includes: Acquire current human body data of each of the lighting areas, and input each of the current human body data into the target human body detection model; The target human body detection model is used to perform human body quantity detection processing on each of the current human body data to obtain a human body quantity detection result for each of the lighting areas.

5. The rail car lighting control method based on the number of users according to claim 2, characterized in that: The obtaining of the lighting parameter result corresponding to each of the human body quantity detection results specifically includes: Determine a preset lighting parameter matching database, and perform lighting parameter matching on a human body quantity detection result of any lighting area in each of the lighting areas with the preset lighting parameter matching database until all lighting areas are fully matched with the preset lighting parameter matching database; If the human body quantity detection result is in the first human body quantity interval in the preset lighting parameter matching database, obtaining a first target lighting parameter result corresponding to the first human body quantity interval; If the human body quantity detection result is in a second human body quantity interval in the preset lighting parameter matching database, obtaining a second target lighting parameter result corresponding to the second human body quantity interval; If the human body quantity detection result is in a third human body quantity interval in the preset lighting parameter matching database, obtaining a third target lighting parameter result corresponding to the third human body quantity interval; Among them, the first human body number interval is smaller than the second human body number interval, and the second human body number interval is smaller than the third human body number interval.

6. The rail vehicle lighting control method based on the number of users according to claim 5, characterized in that: The step of performing parameter adjustment processing on the initial lighting parameters corresponding to each lighting area according to each lighting parameter result to obtain the target lighting environment of each lighting area specifically includes: If the lighting parameter result of any one of the lighting areas is the first target lighting parameter result, adjusting the initial lighting brightness value and the initial color temperature value of the lighting area to the first target lighting parameter result to obtain the first target lighting environment of the lighting area; If the lighting parameter result of any one of the lighting areas is the second target lighting parameter result, adjusting the initial lighting brightness value and the initial color temperature value of the lighting area to the second target lighting parameter result to obtain the second target lighting environment of the lighting area; If the lighting parameter result of any one of the lighting areas is the third target lighting parameter result, adjusting the initial lighting brightness value and the initial color temperature value of the lighting area to the third target lighting parameter result to obtain the third target lighting environment of the lighting area; The target lighting environment includes any one of the first target lighting environment, the second target lighting environment and the third target lighting environment.

7. The rail car lighting control method based on the number of users according to claim 1, characterized in that: The step of obtaining a lighting parameter result corresponding to each of the human body quantity detection results, and performing parameter adjustment processing on the initial lighting parameter corresponding to each of the lighting areas according to each of the lighting parameter results to obtain a target lighting environment for each of the lighting areas, further comprising: When the target rail vehicle reaches the target destination, the target lighting environment of each lighting area is restored to the initial lighting parameters corresponding to each lighting area.

8. A rail car lighting control system based on the number of users, characterized in that: The rail car lighting control system based on the number of users comprises: An initial lighting parameter acquisition module is used to determine a target rail carriage, and perform lighting area division processing and lighting parameter acquisition processing on the target rail carriage to obtain multiple lighting areas and initial lighting parameters corresponding to each lighting area; A human body quantity detection processing module is used to determine a target human body detection model, and perform human body quantity detection processing on each of the lighting areas using the target human body detection model to obtain a human body quantity detection result for each of the lighting areas; The parameter adjustment processing module is used to obtain the lighting parameter result corresponding to each of the human body quantity detection results, and perform parameter adjustment processing on the initial lighting parameters corresponding to each of the lighting areas according to each of the lighting parameter results to obtain the target lighting environment of each of the lighting areas.

9. A terminal, characterized in that: The terminal includes: a memory, a processor, and a rail car lighting control program based on the number of users stored in the memory and executable on the processor. When the rail car lighting control program based on the number of users is executed by the processor, the steps of the rail car lighting control method based on the number of users as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a rail car lighting control program based on the number of users, and when the rail car lighting control program based on the number of users is executed by the processor, the steps of the rail car lighting control method based on the number of users as described in any one of claims 1-7 are implemented.

Citation Information

Patent Citations

  • Intelligent lamp regulation and control system based on regional division

    CN109475031A

  • Color temperature adjusting method and system for lighting system of rail transit vehicle

    CN110545602A

  • Data processing method, intelligent lamp, data management platform and intelligent lighting system

    CN111935882A

  • Frequency response parameter adjustment method and device, equipment and storage medium

    CN113709629A

  • Verification method, system and device based on people counting and storage medium

    CN114970787A