Light control method, device and equipment

By setting up camera equipment in the lighting area of ​​the office area, the arrival time of office personnel is automatically identified and the lighting equipment is controlled to turn on and off, the problem of low manual control efficiency is solved, and efficient and accurate lighting management and energy conservation are achieved.

CN120239148APending Publication Date: 2025-07-01SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311871015.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

Light control in existing offices mainly relies on manual methods, is low in efficiency and cannot achieve efficient and accurate lighting management.

Method used

By setting up an imaging device in the lighting area of ​​the office area, the corresponding relationship between the pre-acquisitioned camera and the station, combined with the corresponding relationship between the office staff and the arrival time, the arrival time of the office staff is automatically identified and the lighting and extinguishing of the lighting equipment is controlled.

Benefits of technology

Automatic control of lights is realized, the efficiency and accuracy of lighting management is improved, and the lighting equipment is ensured that office workers light up timely when they arrive, meeting personalized needs and saving energy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120239148A_ABST
    Figure CN120239148A_ABST
Patent Text Reader

Abstract

The invention provides a light control method, device and equipment. The method provided by the invention is used for controlling illumination equipment in each illumination area of an office area, at least one piece of camera equipment is arranged in each illumination area, and the method comprises the following steps: for each piece of camera equipment, obtaining a target station belonging to the jurisdiction of the camera equipment from a pre-obtained corresponding relationship between the camera equipment and stations; determining a target office worker belonging to the target station and the arrival time of the target office worker based on a pre-acquired corresponding relationship among office workers, stations and arrival time; determining a starting moment of light control according to the arrival moment of the target office staff; the starting moment is earlier than the earliest target arrival moment in the arrival moments of the target office staff; identifying whether the target office staff arrives or not according to video data acquired by camera equipment from the starting moment to the target arrival moment; and if yes, lighting equipment related to the target station is controlled to be lightened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent control technology, and in particular, to a lighting control method, device, and equipment. Background Art

[0002] With the rapid development of new intelligent technologies, lighting control systems have also shown the characteristics of intelligent development, effectively improving lighting efficiency, energy utilization efficiency, and reducing electricity costs.

[0003] Office premises usually contain different types of work areas. Currently, in office premises, manual methods are often used for lighting control, resulting in low efficiency. Summary of the Invention

[0004] In view of this, this application provides a lighting control method, device, and equipment to efficiently and accurately control lighting devices in office premises.

[0005] Specifically, this application is implemented through the following technical solutions:

[0006] The first aspect of this application provides a lighting control method, which is used to control lighting devices in each lighting area of an office area. At least one camera device is set in each lighting area. The method includes:

[0007] For each camera device, obtain the target workstations under the jurisdiction of the camera device from the pre-acquired correspondence between the camera device and the workstations;

[0008] Based on the pre-acquired correspondence between office workers, workstations, and arrival times, determine the target office workers affiliated with the target workstations and the arrival times of the target office workers;

[0009] Determine the start time of lighting control according to the arrival time of the target office worker; the start time is earlier than the earliest target arrival time among the arrival times of the target office workers;

[0010] Between the start time and the target arrival time, identify whether the target office worker arrives according to the video data collected by the camera device;

[0011] If so, control the lighting devices related to the target workstation to be turned on.

[0012] The second aspect of this application provides a lighting control device, which is used to control lighting devices in each lighting area of an office area. At least one camera device is set in each lighting area. The device includes an acquisition module, a determination module, an identification module, and a control module; where

[0013] The obtaining module is configured to obtain, for each of the camera devices, a target work station under the jurisdiction of the camera device from the pre-obtained correspondence between the camera devices and the work stations;

[0014] The determining module is configured to determine, based on the pre-obtained correspondence between office workers, work stations, and arrival times, a target office worker affiliated with the target work station and the arrival time of the target office worker;

[0015] The determining module is further configured to determine a start time of the lighting control according to the arrival time of the target office worker; the start time is earlier than the earliest target arrival time among the arrival times of the target office workers;

[0016] The identifying module is configured to identify whether the target office worker arrives according to the video data collected by the camera device between the start time and the target arrival time;

[0017] The control module is configured to control the lighting device associated with the target work station to be turned on when it is identified that the target office worker arrives.

[0018] A third aspect of the present application provides a lighting control device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of any of the methods provided in the first aspect of the present application are implemented.

[0019] The lighting control method, device, and equipment provided by the present application, for each camera device, first obtain a target work station under the jurisdiction of the camera device from the pre-obtained correspondence between the camera devices and the work stations, and then determine, based on the pre-obtained correspondence between office workers, work stations, and arrival times, a target office worker affiliated with the target work station and the arrival time of the target office worker. Then, according to the arrival time of the target office worker, determine the start time of the lighting control, so as to identify whether the target office worker arrives according to the video data collected by the camera device between the start time and the target arrival time. If the target office worker arrives, control the lighting device associated with the target work station to be turned on. In this way, the lighting device can be controlled to be turned on based on the automatic control technology, which has higher efficiency compared to the manual control method. In addition, through the automatic control technology of the lighting, the lighting device can be turned on in a timely and accurate manner when the office worker arrives. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a schematic diagram of an office area shown in an exemplary embodiment of the present application;

[0021] Figure 2 It is a flowchart of the first embodiment of the lighting control method provided by the present application;

[0022] Figure 3 Flow chart of the second embodiment of the lighting control method provided by this application;

[0023] Figure 4 Flow chart of the third embodiment of the lighting control method provided by this application;

[0024] Figure 5 Flow chart of the fourth embodiment of the lighting control method provided by this application;

[0025] Figure 6 A hardware structure diagram of the lighting control device provided by this application in the lighting control equipment;

[0026] Figure 7 Schematic structural diagram of the first embodiment of the lighting control device provided by this application. Detailed implementation manners

[0027] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with this application. On the contrary, they are merely examples of devices and methods consistent with some aspects of this application as detailed in the appended claims.

[0028] The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The singular forms "a", "the", and "said" used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0029] It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".

[0030] The lighting control method, device, and equipment provided by this application are used to control the lighting devices in each lighting area of the office area. Before introducing the lighting control method, device, and equipment provided by this application, a brief introduction to the office area will be given below.

[0031] Figure 1Schematic diagram of an office area shown in an exemplary embodiment of the present application. Please refer to Figure 1 , the office area includes multiple lighting areas, and each lighting area is provided with a lighting device (the lighting device is not shown in the figure) and at least one camera device. For example, in Figure 1 the example shown, there are six lighting areas in this office area, and these six lighting areas are Work Area A, Work Area B, Work Area C, Work Area D, Work Area E, and Work Area F respectively. Office workers enter the office area and reach their workstations in their respective work areas. It should be noted that each work area contains at least one workstation and at least one lighting device to ensure suitable lighting conditions in the work area. The lighting control method, device, and equipment provided in this embodiment are used to control the lighting devices in each lighting area of the office area.

[0032] Specific embodiments are given below to introduce the technical solutions of the present application in detail.

[0033] Figure 2 Flowchart of the first embodiment of the lighting control method provided by the present application. Please refer to Figure 2 , the method provided in this embodiment may include:

[0034] S201. For each of the camera devices, obtain the target workstations under the jurisdiction of the camera device from the pre-acquired correspondence between the camera devices and the workstations.

[0035] Specifically, referring to the previous description, the office area includes at least one lighting area, and each lighting area is provided with a lighting device. It is necessary to keep the lighting device lit when there are office workers in the lighting area and keep the lighting device off when there are no office workers in the lighting area. For example, in one embodiment, taking the above example, taking Work Area A as an example, Lighting Device L1 and Lighting Device L2 are provided in Work Area A.

[0036] Furthermore, referring to the previous description, at least one camera device is provided in each lighting area, and the camera device continuously captures the lighting area where it is located. Video data of the entire range of the lighting area can be obtained through the camera device. For example, in one embodiment, taking the above example, taking Work Area A and Work Area B as an example, Camera Device a and Camera Device b are installed in Work Area A, and Camera Device c and Camera Device d are installed in Work Area B.

[0037] Furthermore, each camera device has its corresponding workstation. In specific implementation, the camera device can be represented by the number of the camera device, and the workstation can be represented by the number of the workstation. Then, the workstation corresponding to the camera device can be obtained through the correspondence between the number of the camera device and the number of the workstation.

[0038] It should be noted that the correspondence between the camera device and the workstations represents the workstations under the jurisdiction of the camera device. Each camera device can have multiple workstations under its jurisdiction, and each workstation has only one camera device that manages it. For example, in one embodiment, the workstations corresponding to camera device A are workstation 1, workstation 2, and workstation 3.

[0039] Furthermore, the pre-obtained correspondence between the camera device and the workstations can be configured by the configuration personnel based on the actual situation. In this embodiment, it is not limited here. For example, in one embodiment, the workstations that can be clearly captured by the camera device can be used as the workstations under the jurisdiction of the camera device.

[0040] In this step, when light control is required, for the corresponding camera device, the workstations under the jurisdiction of this camera device can be first found from the pre-obtained correspondence between the camera device and the workstations, and these found workstations are the target workstations.

[0041] S202. Based on the pre-obtained correspondence between office workers, workstations, and arrival times, determine the target office workers affiliated with the target workstations, and the arrival times of the target office workers.

[0042] Specifically, each workstation has its uniquely corresponding office worker. In other words, a staff member is affiliated with only one workstation.

[0043] In specific implementation, in this step, after determining the target workstations under the jurisdiction of the camera device, the correspondence containing the target workstations can be found from the pre-constructed correspondence between office workers, workstations, and arrival times, and then the office workers and arrival times recorded in the correspondence are respectively determined as the target office workers corresponding to the target workstations and the arrival times of the target office workers.

[0044] It should be noted that the correspondence between office workers, workstations, and arrival times can be obtained based on the historical data analyzed from the historical videos captured by the camera device.

[0045] For example, in a possible implementation manner, the process of obtaining the pre-obtained correspondence between office workers, workstations, and arrival times includes:

[0046] (1) Based on the video data of all camera devices in the office area during a preset historical time period, determine the historical office workers who historically arrived at the office area, the historical workstations used by the historical office workers, and the historical arrival times when the historical office workers arrived at the workstations.

[0047] Specifically, the specific duration of the preset historical time period is set according to actual needs. In this embodiment, the specific duration of the preset historical time period is not limited. For example, in one embodiment, the preset historical time period can be set as one week before the current moment. For another example, in another embodiment, the preset historical time period can be one month before the current time.

[0048] Further, based on video analysis technology, historical office workers who arrived in the office area can be determined from video data, and the historical workstations used by each historical office worker can be recorded. When specifically implemented, for example, traditional portrait recognition and tracking methods can be used to obtain historical office workers and historical workstations, or recognition methods based on neural network models can be used to obtain historical office workers and historical workstations. In this embodiment, no limitation is imposed on this.

[0049] It should be noted that when determining historical office workers and historical workstations, the historical arrival time of each historical office worker at the workstation will also be recorded. For example, in one embodiment, based on a segment of video data, historical office worker R1 is obtained, the workstation used by historical office worker R1 is determined as historical workstation G1, and the time 8:53 when the historical office worker arrives at the workstation is determined as the historical arrival time.

[0050] (2) Based on the historical office workers, the historical workstations used by the historical office workers, and the historical time when the historical office workers reach the workstations, construct the corresponding relationship among office workers, workstations, and arrival times.

[0051] When specifically implemented, the obtained historical office workers, the historical workstations used by the historical office workers, and the historical time when the historical office workers arrive at the workstations can form a set of corresponding relationships, and then all the corresponding relationships obtained from the video data of the preset historical time period are combined together to obtain the corresponding relationship among office workers, workstations, and arrival times.

[0052] The lighting control method provided in this embodiment determines historical office workers, historical workstations, and historical arrival times through the video data of all camera devices within the preset historical time period, and then constructs the corresponding relationship among office workers, workstations, and arrival times based on this. In this way, since all the video data of all camera devices in the historical time period is considered, the constructed corresponding relationship can be more accurate and reliable, so as to accurately perform lighting control based on this subsequently.

[0053] S203. Determine the start time of lighting control according to the arrival time of the target office worker; the start time is earlier than the earliest target arrival time among the arrival times of the target office worker.

[0054] Specifically, the start time of lighting control is the time when lighting control starts.

[0055] Further, a plurality of target office workers correspond to a camera device, and the arrival time of the office worker with the earliest arrival time among all the target office workers corresponding to the camera device can be determined as the target arrival time.

[0056] In specific implementation, a specified time before the target arrival time can be set as the start time. The duration between the specified time and the target arrival time is set according to actual needs and is not limited in this embodiment. For example, in one embodiment, the duration between the specified time and the target arrival time can be 30 minutes.

[0057] In specific implementation, for example, in one embodiment, the earliest target arrival time among the arrival times of the target office workers corresponding to camera device A is 8:30. At this time, the start time of the lighting control can be set to 8:00.

[0058] S204. Between the start time and the target arrival time, based on the video data collected by the camera device, identify whether the target office worker has arrived.

[0059] In specific implementation, between the start time and the target arrival time, continuously perform face recognition on the video data collected by the camera device. When the target office worker is detected, confirm that the target worker has arrived. If the target office worker is not recognized until the target arrival time, confirm that the target worker has not arrived.

[0060] In specific implementation, traditional face recognition methods can be used to process the video data for face recognition, or a face recognition model can be used to process the video data to obtain the face recognition result. This is not limited in this embodiment.

[0061] It should be noted that in a possible implementation manner, when a person other than the target office worker appears, this video data can be stored for subsequent processing. For example, when a stranger appears in the camera device, save the video data of the appearance of the stranger for subsequent processing such as alarm.

[0062] S205. If so, control the lighting device related to the target work station to be lit.

[0063] Specifically, light up the lighting device related to the target work station. It should be noted that the specific lighting device related to each work station is preset by the configuration personnel according to actual needs and is not limited in this embodiment. For example, for work station G1, all the lighting devices above it can be set as the lighting device related to it.

[0064] It should be noted that the lighting devices related to the target work station may include the lighting devices in the lighting area where the target work station is located and the lighting devices in the public area related to the target work station. In this embodiment, no limitation is imposed on them.

[0065] Optionally, in one embodiment, controlling the lighting devices in the public area related to the target work station to be turned on includes:

[0066] Controlling the lighting devices in the public area to be turned on with a first brightness value;

[0067] Further, in a possible implementation manner, after controlling the lighting devices in the public area to be turned on with a first brightness value, the method may further include:

[0068] When it is detected that there is a pedestrian passing through the public area, adjusting the brightness of the lighting devices in the public area so that the adjusted brightness is greater than the first brightness value.

[0069] Specifically, the specific brightness of the first brightness value is preset in advance according to actual needs. In this embodiment, no limitation is imposed on the specific brightness of the first brightness value. For example, in one embodiment, the specific value of the first brightness value may be set to the brightness value in the energy-saving mode of the lighting device.

[0070] Specifically, when it is detected based on the video data that there is a pedestrian passing through the public area, adjusting the brightness of the lighting device so that the adjusted brightness is greater than the first brightness value for the pedestrian to pass through. For example, in one embodiment, in combination with the above example, when someone passes through the corridor from work area B, the brightness of the lighting devices in the corridor is adjusted to a brightness value greater than the first brightness value.

[0071] Further, after adjusting the brightness of the lighting devices in the public area, the adjustment time point and the adjusted brightness value can be recorded as an operation record. In this way, the switching habit data of the lighting devices in this lighting area can be learned subsequently. For example, the obtained switching habit data may be that the brightness value of the lighting devices in this public area is adjusted to the above-adjusted brightness value at a certain time period. Subsequently, based on the switching habit data, the lighting device can be controlled to adjust the brightness value of the lighting devices in this public area to the above-adjusted brightness value at this time period to provide better lighting.

[0072] The lighting control method provided in this embodiment turns on the lighting devices in the public area with a first brightness value, and then, when it detects that a pedestrian passes through the public area, adjusts the brightness of the lighting devices in the public area so that the adjusted brightness is greater than the first brightness value. In this way, the lighting devices in the public area can use low-brightness lighting when there is no one passing by and increase the brightness when someone passes by, ensuring the safe passage of pedestrians. In this way, it can meet the user's usage requirements without wasting resources.

[0073] It should be noted that in a possible implementation manner, after any lighting device is turned on, the method may further include:

[0074] (1) For each of the lighting areas, detect the ambient brightness of the lighting area.

[0075] Specifically, a light sensor is installed in the lighting area. For example, in a possible implementation manner, a light sensor is integrated on the camera device. During specific implementation, the ambient brightness of the lighting area can be detected in real time through the light sensor.

[0076] (2) Adjust the brightness of the lighting devices in the lighting area according to the ambient brightness.

[0077] Specifically, when the ambient brightness is greater than the preset brightness value, lower the brightness of the lighting device; when the ambient brightness is less than or equal to the preset brightness value, increase the brightness of the lighting device. In this way, the brightness of the lighting area can be maintained within a comfortable range.

[0078] It should be noted that the specific value of the preset brightness value is set according to actual needs. In this embodiment, the specific value of the preset brightness value is not limited.

[0079] For example, in one embodiment, during the day when the light is strong, the brightness of the lighting device can be gradually reduced according to the ambient brightness of the lighting area detected by the light sensor to ensure that the lighting remains at a comfortable level in a sufficiently bright environment. For another example, in another embodiment, at night when the light gradually weakens, the brightness of the lighting device can be gradually increased according to the ambient brightness of the lighting area detected by the light sensor to ensure that the lighting remains at a comfortable level in an insufficiently bright environment.

[0080] Furthermore, for the method provided in this embodiment, the user can also manually adjust relevant parameters such as the brightness and color temperature of the lighting device to meet the user's personalized preferences and needs.

[0081] The method provided in this embodiment, for each lighting area, by detecting the ambient brightness of the lighting area, and then adjusting the brightness of the lighting device in the lighting area according to the ambient brightness, so that it can adapt to the changes in different seasons and weather conditions and ensure appropriate lighting in various environments. In addition, the method provided in this embodiment supports users to manually adjust parameters such as the brightness and color temperature of the lighting device, so that it can meet the personalized preferences and needs of users, make the lighting in the office area more intelligent and comfortable, and save energy costs at the same time.

[0082] The lighting control method provided in this embodiment, for each camera device, first obtains the target workstations under the jurisdiction of the camera device from the pre-acquired correspondence between the camera device and the workstations, and then determines the target office workers affiliated with the target workstations and the arrival times of the target office workers based on the pre-acquired correspondence between the office workers, workstations, and arrival times. Then, according to the arrival time of the target office worker, the start time of the lighting control is determined. Thus, between the start time and the target arrival time, according to the video data collected by the camera device, it is identified whether the target office worker arrives. If the target office worker arrives, the lighting device related to the target workstation is controlled to be lit. In this way, the lighting device can be controlled to be lit based on the automatic lighting control technology, which is more efficient compared to the method of manual control. In addition, through the automatic lighting control technology, the lighting device can be lit in a timely and accurate manner when the office worker arrives.

[0083] Optionally, in a possible implementation manner of the present application, if the target office worker is not identified as arriving according to the video data collected by the camera device, the method further includes:

[0084] When the target arrival time arrives, control the lighting device related to the target workstation to be lit.

[0085] Specifically, if the target office worker is not identified as arriving from the start time to the target arrival time, then when the target arrival time arrives, directly light the lighting device related to the target workstation. For example, in one embodiment, combined with the above example, if the target office worker is not identified during the period from 8:00 to 8:30, then at 8:30, directly light the lighting device related to the target workstation.

[0086] Further, after lighting the lighting device when the target arrival time arrives, the camera device can continue to collect video data and identify the target office worker in the video data. If the target office worker is not detected after a preset duration, control the lighting device related to the target workstation to be extinguished.

[0087] Among them, the specific value of the preset duration is set according to actual needs, and in this embodiment, it is not limited herein. For example, the preset duration can be set to 20 minutes. In this way, when the target office worker has not arrived, the lighting device can be extinguished in time to prevent waste of resources.

[0088] For the lighting control method provided in this embodiment, if the target office worker is not recognized based on the video data collected by the camera device, when the target arrival time arrives, the lighting device related to the target work station is controlled to be lit. In this way, it can ensure that the lighting device is lit in time at the target arrival time, and the lighting device can be accurately and timely lit.

[0089] Figure 3 It is a flowchart of the second embodiment of the lighting control method provided by this application. Please refer to Figure 3 , based on the above embodiment, the steps of the obtaining process of the corresponding relationship between the pre-obtained camera device and the work station include:

[0090] S301. Search for the first video segment containing the work station from the video data of all camera devices in the office area during the preset historical time period.

[0091] Referring to the previous description, the specific duration of the preset historical time period is set according to actual needs, and in this embodiment, the specific duration of the preset historical time period is not limited.

[0092] Specifically, the work station can be identified from the video data to determine the first video segment containing the work station.

[0093] For example, in one embodiment, in combination with the above example, among the video data captured by camera device a and camera device b included in work area A during the preset historical time period, it is found that the first video segment captured by camera device a containing the work station includes video segment 1, video segment 2, and poem video segment 3; similarly, it is found that the first video segment captured by camera device b containing the work station includes video segment 4, video segment 5, and video segment 6.

[0094] S302. For each target work station in the office area, search for the target video segment containing the target work station from the first video segment.

[0095] Specifically, each work station in the first video segment is traversed in sequence, and for the target work station to be analyzed, the video segment with the target work station is determined as the target video segment. For example, in one embodiment, in combination with the above example, for target work station G1, the target video segments containing this work station are determined to be video segment 1 and video segment 6.

[0096] S303. Determine the camera device to which the target work station belongs according to the camera device identifier carried by the target video segment.

[0097] When specifically implemented, when the target video segment contains one video segment, determine the camera device identified by the camera device identifier carried by the target video segment as the camera device to which the target work station belongs.

[0098] When the target video segment includes multiple video segments, select one camera device from the multiple camera devices identified by the multiple camera device identifiers carried by the multiple video segments as the camera device to which the target work station belongs.

[0099] Specifically, the target video segment carries a camera device identifier, which is used to represent the camera device that captured the target video segment, and each camera device identifier represents a unique camera device.

[0100] When the target video segment contains one video segment, the camera device identified by the camera device identifier carried by the target video segment can be directly determined as the camera device to which the target work station belongs; further, when there are multiple video segments in the target video segment, randomly select one camera device from the multiple camera devices corresponding to the multiple video segments as the camera device to which the target work station belongs.

[0101] S304. Establish a correspondence between the camera device and the work station according to the camera device to which each target work station in the office area belongs.

[0102] Specifically, after obtaining the camera device to which the work station belongs, the work station and the camera device can be saved as a corresponding relationship, so that the correspondence between the camera device and the work station can be established. For example, in one embodiment, the camera device corresponding to the target work station G1 is camera device a, and the work station G1 and the camera device a are stored as a corresponding relationship.

[0103] The lighting control method provided in this embodiment searches for the first video segment containing the work station from the video data of all camera devices in the office area during the preset historical time period, and then for each target work station in the office area, searches for the target video segment containing the target work station from the first video segment, and then determines the camera device to which the target work station belongs according to the camera device identifier carried by the target video segment, and finally establishes the correspondence between the camera device and the work station according to the camera device to which each target work station in the office area belongs. In this way, a method for establishing the correspondence between the camera device and the work station is provided. Compared with manual configuration, it can not only improve efficiency, but also accurately obtain the correspondence between the camera device and the work station.

[0104] Figure 4This is the flowchart of the third embodiment of the lighting control method provided by this application. Please refer to Figure 4 , based on the above embodiment, the step of selecting one camera device from the multiple camera devices identified by the multiple camera device identifiers carried by the multiple video segments as the camera device to which the target work station belongs includes:

[0105] S401. For each camera device among the multiple camera devices, calculate the shooting parameters of each camera device relative to the target work station; wherein, the shooting parameters include the distance between the target work station and the camera device and the viewing angle of the target work station relative to the camera device.

[0106] Specifically, the shooting parameters can characterize information such as the clarity of the target work station in the video segment shot by the camera device.

[0107] Furthermore, the shooting parameters can be calculated through the coordinates of the target work station and the shooting device. For example, in one embodiment, the distance between the two can be calculated based on the coordinates of the target work station and the coordinates of the shooting device.

[0108] Furthermore, the viewing angle of the target work station relative to the camera device refers to the angle between the line connecting the target work station and the camera device and the horizontal plane. In specific implementation, the viewing angle of the target work station relative to the camera device can be calculated based on the coordinates of the target work station and the shooting device.

[0109] S402. According to the shooting parameters of each camera device relative to the target work station and the weights preset for each shooting parameter, calculate the monitoring difficulty of each camera device relative to the target work station; the monitoring difficulty is negatively correlated with the shooting effect.

[0110] Specifically, the monitoring difficulty can characterize the quality and reliability of the video segment shot by the shooting device. The greater the monitoring difficulty of the camera device relative to a work station, the lower the quality and reliability of the shot video. Therefore, for a target work station, a camera device with a small monitoring difficulty can be preferentially selected to shoot it.

[0111] Specifically, the weights preset for each shooting parameter are set according to actual needs and are not limited in this embodiment. For example, in one embodiment, the same weight can be set for each shooting parameter, the weight preset for the distance between the target work station and the camera device is 50%, and the weight preset for the viewing angle of the target work station relative to the camera device is 50%. For another example, in another embodiment, different weights can be set according to the influence degree of each shooting parameter on the monitoring difficulty, the weight preset for the distance between the target work station and the camera device is 80%, and the weight preset for the viewing angle of the target work station relative to the camera device is 20%.

[0112] Further, the monitoring difficulty of the imaging device relative to the target work station can be calculated according to the following formula:

[0113] N = A * a1 + B * b1

[0114] Wherein, N is the monitoring difficulty of the imaging device relative to the target work station, A is the distance of the imaging device relative to the work station; b is the viewing angle of the imaging device relative to the work station; a1 is the weight of the distance, and b1 is the weight of the viewing angle.

[0115] S403. Select a first imaging device from the multiple imaging devices as the imaging device to which the target work station belongs; wherein, the first imaging device is the imaging device with the smallest monitoring difficulty among the multiple imaging devices.

[0116] In specific implementation, for the target work station, according to the order of the monitoring difficulty from large to small, all the imaging devices that can capture it are sorted, and the imaging device with the smallest monitoring difficulty is selected as the imaging device to which the target work station belongs. For example, in an embodiment, for the target work station G4, the multiple imaging devices identified by the multiple imaging device identifiers carried in the multiple video segments including the target work station include imaging device a, imaging device b, and imaging device d. At this time, after calculation, it is determined that the imaging device with the smallest monitoring difficulty is imaging device d, and imaging device d is used as the imaging device to which the target work station G4 belongs.

[0117] In the lighting control method provided in this embodiment, for each imaging device among the multiple imaging devices, first calculate the shooting parameters of each imaging device relative to the target work station, and then calculate the monitoring difficulty of each imaging device relative to the target work station according to the shooting parameters of each imaging device relative to the target work station and the weights preset for each shooting parameter. Finally, select a first imaging device from the multiple imaging devices as the imaging device to which the target work station belongs; wherein, the first imaging device is the imaging device with the smallest monitoring difficulty among the multiple imaging devices. In this way, the most suitable monitoring device can be confirmed through the monitoring difficulty of each imaging device relative to the target work station to ensure the accuracy and reliability of the lighting control.

[0118] Figure 5 This is the flowchart of the fourth embodiment of the lighting control method provided by this application. Please refer to Figure 5 , based on the above embodiment, the method provided in this embodiment further includes:

[0119] S501. Record the operation records of each of the lighting devices.

[0120] It should be noted that in one embodiment, the operation record of the lighting device can be recorded when the lighting device is turned on and off. The operation record of the lighting device can include time information, and the status information of the lighting device under this time information, etc. Among them, the time information can be a time point or a time period, and in this embodiment, it is not limited thereto. Further, the status information includes a lit state or an extinguished state to characterize the specific state of the lighting device at this time point.

[0121] For example, when the lighting device changes from the extinguished state to the lit state, record the number of the lighting device and the current moment, and mark the status information of the lighting device as the lit state. For another example, when the lighting device changes from the lit state to the extinguished state, record the number of the lighting device and the current moment, and mark the status information of the lighting device as the extinguished state.

[0122] It should be noted that in another possible implementation manner of the present application, the operation record may further include parameter information of the lighting device under this time information, and the parameter information may include a brightness value, a color temperature, etc.

[0123] S502. For each of the lighting devices, learn the operation record of the lighting device to obtain the switching habit data of the lighting device.

[0124] Specifically, the switching habit data can be learned based on the operation record of a specified time period. The specific duration of the specified time period is set according to actual needs, and in this embodiment, the specific duration of the specified time period is not limited. For example, the specific duration of the specified time period can be one week or one month.

[0125] Optionally, in one possible implementation manner, for a certain lighting device, the switching habit data of the lighting device may include the habitual lighting time point and / or the habitual extinguishing time point of the lighting device; among them, the habitual lighting time point and / or the habitual extinguishing time point are obtained by learning the operation record of the lighting device.

[0126] In specific implementation, for example, for a certain lighting device, based on the operation record of the lighting device, count the time point with the highest number of occurrences among the lighting time points and / or extinguishing time points of the lighting device; use the statistical result as the habitual lighting time point and / or extinguishing time point. For example, count the time point with the highest number of occurrences among the lighting time points of the lighting device, and use this time point as the habitual lighting time point of the lighting device. Subsequently, when this time point arrives, the lighting device will be turned on. For example, after statistics, it is learned that the lighting device e is lit at 9:00 continuously for 5 times. Therefore, "turn on the lighting device e at 9:00" is used as the switching habit data of the lighting device e.

[0127] In addition, referring to the previous description, when the operation record includes the parameter information of the lighting device under the time information, at this time, for a certain lighting device, the switching habit data of the lighting device may further include the parameter information of the lighting device under a certain time information, etc. For example, through learning, it is determined that the brightness value of lighting device e from 9:00 to 10:00 is 100 lux.

[0128] S503. Control the lighting device according to the switching habit data.

[0129] Specifically, after obtaining the switching habit data of the lighting device, the lighting device can be controlled according to the switching habit data, so that the operation of the lighting device conforms to the user's usage habits and user's usage requirements.

[0130] The method provided in this embodiment records the operation records of each lighting device, and then for each lighting device, learns the operation records of the lighting device to obtain the switching habit data of the lighting device, so as to control the lighting device according to the switching habit data. In this way, since the switching habit data characterizes the user's usage habits and the user's ideal usage requirements, controlling the lighting device based on this can meet the user's usage requirements and improve the user experience.

[0131] Optionally, after controlling the lighting device according to the switching habit data, the method further includes:

[0132] (1) Determine whether the current control meets the user's expectations.

[0133] Specifically, it can be determined whether the behavior of controlling the lighting device according to the switching habit data meets the user's expectations through the user's feedback. For example, in one embodiment, after controlling the lighting device to turn on or off according to the switching habit data, the user actively takes the opposite operation to control the lighting device. At this time, it is considered that the current control does not meet the user's expectations.

[0134] Furthermore, when the current control does not meet the user's expectations, the corresponding record is saved.

[0135] (2) When the current control fails to meet the user's expectations for N consecutive times, discard the switching habit data; where N is a specified value.

[0136] Specifically, the specific value of N is set in advance according to actual needs. In this embodiment, the specific value of N is not limited. For example, in one embodiment, N can be set to 5 times.

[0137] The lighting control method provided in this embodiment determines whether the current control meets the user's expectations, and then discards the switch habit data when the control fails to meet the user's expectations for N consecutive times. In this way, the switch habit data is discarded when it fails to meet the user's expectations multiple times, enabling the switch habit data to be continuously updated to meet the user's expectations and improve the user experience.

[0138] Corresponding to the foregoing embodiment of a lighting control method, this application also provides an embodiment of a lighting control device.

[0139] The embodiment of a lighting control device in this application can be applied to lighting control devices. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a logically meaningful device, it is formed by the processor of the lighting control device where it is located reading the corresponding computer program instructions in the non-volatile memory into the memory for operation. At the hardware level, as Figure 6 shown, it is a hardware structure diagram of the lighting control device where the lighting control device provided in this application is located. In addition to Figure 6 the shown processor, memory, network interface, and non-volatile memory, the lighting control device where the device is located in the embodiment usually includes other hardware according to the actual functions of the lighting control device, which will not be elaborated here.

[0140] Figure 7 It is a schematic structural diagram of Embodiment 1 of the lighting control device provided in this application. Please refer to Figure 7 , the device provided in this embodiment is used to control the lighting devices in each lighting area of the office area. At least one camera device is arranged in each of the lighting areas. The device includes an acquisition module 710, a determination module 720, an identification module 730, and a control module 740; wherein,

[0141] The acquisition module 710 is used to obtain, for each of the camera devices, the target workstations under the jurisdiction of the camera device from the pre-acquired correspondence between the camera devices and the workstations;

[0142] The determination module 720 is used to determine the target office worker affiliated to the target workstation and the arrival time of the target office worker based on the pre-acquired correspondence between the office workers, workstations, and arrival times;

[0143] The determination module 720 is further used to determine the start time of the lighting control according to the arrival time of the target office worker; the start time is earlier than the earliest target arrival time among the arrival times of the target office workers;

[0144] The recognition module 730 is configured to recognize whether the target office worker arrives according to the video data collected by the camera device between the start time and the target arrival time.

[0145] The control module 740 is configured to control the lighting device associated with the target work station to be turned on when it is recognized that the target office worker arrives.

[0146] The device in this embodiment can be used to execute Figure 1 the steps of the method embodiment shown. The specific implementation principle and process are similar and will not be elaborated here.

[0147] Optionally, the control module 740 is further specifically configured to control the lighting device associated with the target work station to be turned on when the target arrival time arrives if the target office worker is not recognized as arriving according to the video data collected by the camera device.

[0148] Optionally, the process of obtaining the corresponding relationship between the pre-acquired office worker, work station, and arrival time includes:

[0149] Based on the video data of all camera devices in the office area during a preset historical time period, determine the historical office workers who have arrived at the office area, the historical work stations used by the historical office workers, and the historical arrival times when the historical office workers arrived at the work stations;

[0150] Based on the historical office workers, the historical work stations used by the historical office workers, and the historical times when the historical office workers arrived at the work stations, construct the corresponding relationship between the office worker, work station, and arrival time.

[0151] Optionally, the process of obtaining the corresponding relationship between the pre-acquired camera device and the work station includes:

[0152] Search for the first video segment containing the work station from the video data of all camera devices in the office area during a preset historical time period;

[0153] For each target work station in the office area, search for the target video segment containing the target work station from the first video segment;

[0154] Determine the camera device to which the target work station belongs according to the camera device identifier carried by the target video segment;

[0155] Establish the corresponding relationship between the camera device and the work station according to the camera devices to which each target work station in the office area belongs.

[0156] Optionally, the obtaining module 710 is further specifically configured to, when the target video segment includes one video segment, determine the camera device identified by the camera device identifier carried in the target video segment as the camera device to which the target work station belongs;

[0157] When the target video segment includes multiple video segments, the obtaining module 710 is further specifically configured to select one camera device from the multiple camera devices identified by the multiple camera device identifiers carried in the multiple video segments as the camera device to which the target work station belongs.

[0158] Optionally, the obtaining module 710 is further specifically configured to calculate, for each camera device among the multiple camera devices, shooting parameters of the target work station relative to the camera device; wherein the shooting parameters include the distance between the target work station and the camera device and the viewing angle of the target work station relative to the camera device;

[0159] The obtaining module 710 is further specifically configured to calculate, according to the shooting parameters of each camera device relative to the target work station and the weights preset for each shooting parameter, the monitoring difficulty of each camera device relative to the target work station; the monitoring difficulty is negatively correlated with the shooting effect;

[0160] The obtaining module 710 is further specifically configured to select a first camera device from the multiple camera devices as the camera device to which the target work station belongs; wherein the first camera device is the camera device with the lowest monitoring difficulty among the multiple camera devices.

[0161] Optionally, the control module 740 is further specifically configured to record the operation records of each lighting device;

[0162] The control module 740 is further specifically configured to, for each lighting device, learn the operation record of the lighting device to obtain the switching habit data of the lighting device;

[0163] The control module 740 is further specifically configured to control the lighting device according to the switching habit data.

[0164] Optionally, the control module 740 is further specifically configured to determine whether the current control meets the user's expectation;

[0165] When the control fails to meet the user's expectation for N consecutive times, the control module 740 is further specifically configured to discard the switching habit data; wherein N is a specified value.

[0166] Please continue to refer to Figure 6, this application also provides a lighting control device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of any of the methods provided in the first aspect of this application are implemented.

[0167] This application also provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the steps of any of the methods provided in this application are implemented.

[0168] The implementation processes of the functions and roles of each unit in the above device are specifically described in detail in the implementation processes of the corresponding steps in the above method, and will not be elaborated here.

[0169] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial descriptions of the method embodiments. The device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this application. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0170] The above are only the preferred embodiments of this application and are not intended to limit this application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of this application shall be included in the scope of protection of this application.

Claims

1. A lighting control method, characterized in that, The method is used to control lighting devices in each lighting area of an office area. At least one camera device is set in each of the lighting areas. The method includes: For each of the camera devices, obtain the target workstations under the jurisdiction of the camera device from the pre-acquired correspondence between the camera devices and the workstations; Based on the pre-acquired correspondence between office workers, workstations, and arrival times, determine the target office worker affiliated with the target workstation and the arrival time of the target office worker; Determine the start time of lighting control according to the arrival time of the target office worker; the start time is earlier than the earliest target arrival time among the arrival times of the target office workers; Between the start time and the target arrival time, identify whether the target office worker arrives according to the video data collected by the camera device; If so, control the lighting device related to the target workstation to be turned on.

2. The method according to claim 1, wherein If it is not identified that the target office worker arrives according to the video data collected by the camera device, the method further includes: When the target arrival time arrives, control the lighting device related to the target workstation to be turned on.

3. The method according to claim 1, characterized in that The process of obtaining the pre-acquired correspondence between office workers, workstations, and arrival times includes: Based on the video data of all camera devices in the office area during a preset historical time period, determine the historical office workers who have arrived in the office area, the historical workstations used by the historical office workers, and the historical arrival times when the historical office workers arrived at the workstations; Based on the historical office workers, the historical workstations used by the historical office workers, and the historical times when the historical office workers arrived at the workstations, construct the correspondence between office workers, workstations, and arrival times.

4. The method according to claim 1 or 3, characterized in that, The process of obtaining the pre-acquired correspondence between camera devices and workstations includes: Search for the first video segment containing the workstation from the video data of all camera devices in the office area during a preset historical time period; For each target workstation in the office area, search for the target video segment containing the target workstation from the first video segment; Determine the camera device to which the target workstation belongs according to the camera device identifier carried by the target video segment; Establish the correspondence between the camera device and the workstation according to the camera device to which each target workstation in the office area belongs.

5. The method according to claim 4, wherein The determining the camera device to which the target workstation belongs according to the camera device identifier carried by the target video segment includes: When the target video segment contains one video segment, determine the camera device identified by the camera device identifier carried by the target video segment as the camera device to which the target workstation belongs; When the target video segment includes multiple video segments, select one camera device from the multiple camera devices identified by the multiple camera device identifiers carried by the multiple video segments as the camera device to which the target workstation belongs.

6. The method according to claim 5, characterized in that The selecting one camera device from the multiple camera devices identified by the multiple camera device identifiers carried by the multiple video segments as the camera device to which the target workstation belongs includes; For each of the multiple camera devices, calculate the shooting parameters of each camera device relative to the target work station; wherein, the shooting parameters include the distance between the target work station and the camera device and the viewing angle of the target work station relative to the camera device. According to the shooting parameters of each camera device relative to the target work station and the weights preset for each shooting parameter, calculate the monitoring difficulty of each camera device relative to the target work station; the monitoring difficulty is negatively correlated with the shooting effect. Select a first camera device from the multiple camera devices as the camera device to which the target work station belongs; wherein, the first camera device is the camera device with the lowest monitoring difficulty among the multiple camera devices.

7. The method according to claim 1, wherein The method further includes: Record the operation records of each of the lighting devices. For each of the lighting devices, learn the operation records of the lighting device to obtain the switching habit data of the lighting device. Control the lighting device according to the switching habit data.

8. The method according to claim 7, characterized in that, After controlling the lighting device according to the switching habit data, the method further includes: Judge whether the current control meets the user's expectation. When the control fails to meet the user's expectation for N consecutive times, discard the switching habit data; wherein, N is a specified value.

9. A lighting control device, characterized in that, The device is used to control the lighting devices in each lighting area of the office area. At least one camera device is arranged in each lighting area. The device includes an acquisition module, a determination module, an identification module and a control module; wherein, The acquisition module is used to, for each of the camera devices, obtain the target work station under the jurisdiction of the camera device from the pre-acquired correspondence between the camera device and the work station. The determination module is used to, based on the pre-acquired correspondence between the office staff, the work station and the arrival time, determine the target office staff belonging to the target work station and the arrival time of the target office staff. The determination module is further used to, according to the arrival time of the target office staff, determine the start time of the lighting control; the start time is earlier than the earliest target arrival time among the arrival times of the target office staff. The identification module is used to, between the start time and the target arrival time, identify whether the target office staff arrives according to the video data collected by the camera device. The control module is used to control the lighting device related to the target work station to be lit when it is identified that the target office staff arrives.

10. A lighting control device, characterized in that, It includes a memory, a processor and a computer program stored on the memory and executable on the processor, and is characterized in that when the processor executes the program, it implements the steps of the method according to any one of claims 1-8.