Environment evaluation method based on monitoring data, terminal device and storage medium

By detecting the wavelengths of zoo light sources and activity areas, and combining this with sleep rhythm information to assess light pollution, the problem of assessing the impact of light pollution has been solved, and a scientific basis for adjusting lighting has been established.

CN120612651BActive Publication Date: 2026-02-10SHENZHEN SPART TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510717712.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-30
Publication Date
2026-02-10
Estimated Expiration
2045-05-30

AI Technical Summary

Technical Problem

Existing technologies make it difficult to accurately assess the impact of artificial lighting on animal sleep rhythms in zoos, resulting in an inability to effectively adjust lighting settings to protect animal health.

Method used

By receiving instructions from staff, the system detects the wavelength of the zoo's light sources, simulates light radiation areas, and combines this with monitoring video to determine animal activity areas and sleep rhythm information, assessing the degree of light pollution and prompting adjustments to the light sources.

Benefits of technology

It enables accurate assessment of light pollution levels in zoos, providing quantitative data to support lighting adjustments and protect animal health.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120612651B_ABST
    Figure CN120612651B_ABST
Patent Text Reader

Abstract

The application belongs to the field of monitoring, and particularly relates to an environment evaluation method based on monitoring data, a terminal device and a storage medium, wherein the method can determine the distribution of light of each wavelength in the zoo through wavelength detection data of each light source and the position of each light source in the zoo, and can determine the activity area heat map of animals through monitoring video, and through comparison of the distribution of light of each wavelength and the intersection of the activity area, in combination with the sleep period of animals and the influence wavelength range, the influence on the sleep rhythm of animals can be accurately estimated, that is, the light pollution of the living environment of animals can be accurately evaluated through quantitative data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of monitoring, and in particular relates to environmental assessment methods, terminal equipment and storage media based on monitoring data. Background Technology

[0002] Although natural and simulated environments are created for animals in wildlife parks, many artificial light sources (such as streetlights, decorative lights, and surveillance lights) are often installed to facilitate visitor visits and the work of park staff.

[0003] However, animals' sleep rhythms are formed according to the laws of natural light. Therefore, the light radiation from artificial lights often interferes with their sleep rhythms, causing them to become disordered. Thus, artificial lights constitute light pollution for animals. Currently, staff can use relevant instruments to detect the radiation parameters (such as wavelength) of light sources in zoos, but they cannot accurately predict the distribution of the radiation areas of these light sources. As a result, they cannot accurately determine the degree of impact of artificial light radiation on the sleep rhythms of various animals. In other words, it is difficult to accurately assess the degree of light pollution in the animals' living environment, and therefore, it is impossible to take appropriate adjustment measures, which poses a risk to the animals' health. Summary of the Invention

[0004] In view of this, embodiments of this application provide an environmental assessment method, terminal device, and storage medium based on monitoring data, which can solve the technical problem of difficulty in accurately assessing the degree of light pollution in the living environment of animals.

[0005] A first aspect of this application provides an environmental assessment method based on monitoring data, applied to a terminal device, the environmental assessment method based on monitoring data comprising:

[0006] S1: After receiving the evaluation instruction sent by the staff's user terminal, instruct the staff to perform wavelength detection on the light sources of each light source in the zoo;

[0007] S2: Perform light radiation simulation for each light source to determine the radiation area of ​​that light source in the zoo;

[0008] S3: Retrieve the operating time of each light source, and determine the distribution of each wavelength of light in the zoo based on the operating time of each light source and the corresponding radiation area;

[0009] S4: Obtain surveillance video from the zoo, determine the activity areas of various animals in the zoo based on the surveillance video, and thus determine a heat map of the activity area of ​​each animal.

[0010] S5: Obtain sleep rhythm information for each animal to determine the degree of influence on the animal's sleep rhythm based on sleep rhythm information, activity area heat map, and the distribution of light at various wavelengths.

[0011] S6: Assess the level of light pollution in the zoo based on the degree of impact, and send the obtained light pollution level to the staff's user terminal to prompt the staff to adjust the light source according to the light pollution level.

[0012] A second aspect of this application provides a terminal device including a memory and a processor. The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the environmental assessment method based on monitoring data.

[0013] A third aspect of this application provides a storage medium storing a computer program that, when executed by a processor, causes the processor to perform the steps of the environmental assessment method based on monitoring data.

[0014] The beneficial effects of this application embodiment compared with the prior art are as follows: The method provided by the present invention includes receiving an evaluation instruction sent by a staff member's user terminal, instructing the staff member to perform wavelength detection on the light sources of each light source in the zoo; performing light radiation simulation on each light source to determine the radiation area of ​​the light source in the zoo; retrieving the operating time of each light source, and determining the distribution of light of each wavelength in the zoo based on the operating time of each light source and the corresponding radiation area; acquiring the zoo's monitoring video, determining the activity areas of various animals in the zoo based on the monitoring video, thereby determining the activity area heat map of each animal; acquiring the sleep rhythm information of each animal, and determining the activity area heat map of each animal based on the sleep rhythm information, the activity area heat map, and the distribution of light of each wavelength. The study investigates the degree of impact on the sleep rhythms of various animals; assesses the level of light pollution in the zoo based on the degree of impact, and sends the obtained light pollution level to the staff's user terminal to prompt them to adjust the light sources accordingly; in this application, the distribution of light of various wavelengths in the zoo can be determined by the wavelength detection data of each light source and the location of each light source in the zoo, and the heat map of the animal's activity area can be determined by the monitoring video. By comparing the distribution of light of various wavelengths with the intersection of activity areas, and combining the animal's sleep period and the range of affected wavelengths, the impact on the animal's sleep rhythm can be accurately predicted. That is, the light pollution of the animal's living environment can be accurately assessed through quantitative data. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a schematic diagram illustrating the implementation process of the environmental assessment method based on monitoring data provided in the embodiments of this application;

[0017] Figure 2 This is a schematic diagram illustrating the implementation environment of the environmental assessment method based on monitoring data provided in this application embodiment;

[0018] Figure 3 This is a schematic diagram of an activity area heat map of the environmental assessment method based on monitoring data provided in the embodiments of this application;

[0019] Figure 4 This is a schematic diagram of the terminal device provided in the embodiments of this application. Detailed Implementation

[0020] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0021] To illustrate the technical solution described in this application, specific embodiments are provided below.

[0022] Figure 1 This application illustrates an environmental assessment method based on monitoring data, as provided in Embodiment 1, applied to a terminal device. The environmental assessment method based on monitoring data includes:

[0023] S1: After receiving the evaluation instruction sent by the staff's user terminal, instruct the staff to perform wavelength detection on the light sources of each light source in the zoo;

[0024] S2: Perform light radiation simulation for each light source to determine the radiation area of ​​that light source in the zoo;

[0025] S3: Retrieve the operating time of each light source, and determine the distribution of each wavelength of light in the zoo based on the operating time of each light source and the corresponding radiation area;

[0026] S4: Obtain surveillance video from the zoo, determine the activity areas of various animals in the zoo based on the surveillance video, and thus determine a heat map of the activity area of ​​each animal.

[0027] S5: Obtain sleep rhythm information for each animal to determine the degree of influence on the animal's sleep rhythm based on sleep rhythm information, activity area heat map, and the distribution of light at various wavelengths.

[0028] S6: Assess the level of light pollution in the zoo based on the degree of impact, and send the obtained light pollution level to the staff's user terminal to prompt the staff to adjust the light source according to the light pollution level.

[0029] In this embodiment, as Figure 2 As shown, this method is executed in a terminal device, which can be an independent physical server or terminal, or a server cluster consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud servers, cloud databases, cloud storage and CDN. The terminal device communicates with the user terminal of the zoo staff, which can be a mobile phone, tablet computer, laptop computer, etc. There are several cameras in the zoo, and each camera is connected to the terminal device. The monitoring video collected by the cameras can be sent to the terminal device.

[0030] In this embodiment, when staff need to conduct a light pollution assessment, they send an assessment command to the terminal device through their user terminal. Upon receiving the command, the terminal device can execute this method. The light signal received by the animal's retina is transmitted to the suprachiasmatic nucleus (SNU) in the brain through the retina-suprachiasmatic nucleus pathway. The SNU is the core regulatory center of the biological clock, which adjusts and calibrates the animal's circadian rhythm based on the received light signal. Different animals have different sensitivities to different wavelengths of light due to differences in their retinal structures (for example, the sensitive wavelength of a horse is 480-490nm). Therefore, different animals need to be exposed to light within a specific wavelength range corresponding to their retinal structure to affect their rhythm. In a zoo, various animals have their own activity areas. If light that affects the sleep rhythm of an animal is radiated into its activity area, then there is a risk that the light will radiate into the animal's retina, thus affecting the animal's rhythm. Therefore, the radiation of such light into the activity area of ​​an animal can be considered as causing light pollution to that animal's activity area.

[0031] In this embodiment, each light source has a preset on / off time and a preset off time. The time period between the on / off time and the off time is the running period of the light source, which is stored in the terminal device. The activity area of ​​an animal is the area where the animal may potentially appear. The activity area heat map can characterize the probability of the animal appearing at each location in the activity area. The higher the probability, the higher the light pollution level of the light radiated at that location. The sleep rhythm information of an animal includes the sleep period of the animal under natural conditions (i.e., without artificial light source interference) and the wavelength range of light that affects the sleep rhythm of the animal (i.e., the wavelength range in which the sleep rhythm of the corresponding animal will be affected). The sleep period is the general sleep period of the animal (not considering specific individuals). The data can be directly retrieved from existing animal rhythm observation research data. The terminal device has a preset wavelength range database (the data in the database is existing research data). The database includes the wavelength ranges of various animals that can be retrieved and used by the terminal device.

[0032] In this embodiment, a critical light pollution level is preset in the user terminal. When the user terminal receives the light pollution level emitted by the terminal device, if it exceeds the critical light pollution level, it indicates that the light pollution in the zoo is relatively serious and has a significant impact on the animals' sleep rhythm, requiring adjustment. The user terminal will issue a prompt signal to remind the staff to adjust the light source.

[0033] In this application, the distribution of light of various wavelengths in a zoo can be determined by the wavelength detection data of each light source and the location of each light source in the zoo. Furthermore, a heat map of the animal's activity area can be determined by monitoring video. By comparing the distribution of light of various wavelengths with the intersection of activity areas, and combining the animal's sleep period and the range of influencing wavelengths, the impact on the animal's sleep rhythm can be accurately predicted. In other words, the light pollution of the animal's living environment can be accurately assessed through quantitative data.

[0034] As a preferred embodiment, instructing staff to perform wavelength detection on the various light sources in the zoo includes:

[0035] Generate a floor plan of the zoo, identify the location of each light source in the floor plan, and determine the model of each light source;

[0036] For each model, identify the positions of all light sources corresponding to that model on the floor plan, and select one of the positions as the detection position;

[0037] The detection location is sent to the user terminal of the testing personnel to instruct them to go to the detection location to perform wavelength detection on the corresponding light source.

[0038] After receiving the detected wavelength from the user terminal, mark the wavelength at the detection location and mark the wavelength at the location of all other light sources of the same model on the floor plan.

[0039] In this embodiment, the floor plan is a floor plan pre-drawn by the staff and stored in the terminal device, which includes the location of all light sources in the zoo area; for light sources of the same model, only one needs to be selected for testing; the staff can use instruments such as spectrometers and laser wavelength meters to detect the wavelength of the light source and input the wavelength into the user terminal and send it to the terminal device.

[0040] As a preferred embodiment, light radiation simulation is performed on each light source to determine the radiation area of ​​that light source in the zoo, including:

[0041] Generate a 3D image of the area where the light source is located;

[0042] Retrieve the lamp source model according to the corresponding model;

[0043] Determine the spatial location of the light source, and place the light source model in the 3D diagram based on the spatial location;

[0044] Based on the light radiation mode corresponding to the light source model, simulated light is generated at the light source model, and the ground area radiated by the simulated light is identified in the 3D image;

[0045] Identify the area corresponding to this ground region on the plan view; that is, the radiation zone.

[0046] In this embodiment, the three-dimensional map of the area where the light source is located is a circular area with a radius (e.g., 50 meters, 100 meters) defined around the light source, so that the light from the light source can fall within this area; the terminal device is equipped with AI 3D modeling software (e.g., Meshy). (AI) The terminal can determine the area view of the light source by monitoring images from the zoo's surveillance equipment, and then use 3D modeling software to create a 3D model based on the area view. The terminal device also has pre-built models of various light sources. The planar position of the light source can be determined through the planar view, and the height of the light source can be determined through the surveillance video, thus determining the spatial position of the light source. Then, the light source model is placed on the 3D view based on the spatial position to complete the modeling. The shape and lampshade coverage of each type of light source are different, which determines the different light paths, resulting in different radiation directions and light diffusion methods. The planning and design before the construction of the zoo includes lighting design, which includes each type of light source and its corresponding light path form. The lighting design information is stored in the terminal device so that the terminal device can determine the light path form of a certain light source at any time based on the lighting design information. The 3D modeling software has a built-in lighting simulation plugin. After determining the light path form of the light source, it can generate simulated lighting on the 3D view according to the light path form, starting from the light source, and then identify the ground area radiated by the simulated lighting in the 3D view.

[0047] As a preferred embodiment, determining the distribution of various wavelengths of light in the zoo based on the operating time of each light source and the corresponding radiation area includes:

[0048] S31: In the plan view, group the light sources with the same wavelength into the same light source set;

[0049] S32: The earliest start time of each running segment is taken as the first moment, and the latest end time of each running segment is taken as the second moment. The time period from the first moment to the second moment is determined as the total running segment.

[0050] S33: Use the first moment in the total runtime period as the base moment;

[0051] S34: Select a set of light sources, compare the running segment of each light source in the set with the base time to determine whether the base time is in the running segment. If so, then determine the light source as the first light source.

[0052] S35: Simultaneously determine the radiation area of ​​all first light sources on the plan as the distribution area of ​​the light of the corresponding wavelength of the light source set at the basic time. Repeat steps S34 to S35 until the distribution area of ​​the light of the corresponding wavelength of each light source set at the basic time is obtained.

[0053] S36: Take the next moment in the total running period as the base moment, and execute steps S34 to S36 until the distribution area of ​​the light of the corresponding wavelength of each light source set at each moment in the total running period is obtained.

[0054] In this embodiment, since all light sources operate within the defined total operating time range, artificial lights are only distributed in the zoo during the time periods within the total operating time range; determining the distribution of lights of various wavelengths in the zoo means determining the distribution area of ​​each wavelength of light at each moment of the total operating time.

[0055] In a preferred embodiment, the acquired surveillance video includes surveillance video from several past total runtime periods; determining the activity areas of various animals in the zoo based on the surveillance video includes:

[0056] S41: Divide the plan into several sub-regions;

[0057] S42: Select one animal as the target animal;

[0058] S43: For each sub-region, identify the target region corresponding to that sub-region in the surveillance video;

[0059] S44: Identify whether a target animal is present in the target area in the surveillance video;

[0060] S45: If so, mark the sub-regions corresponding to the target region on the plan view;

[0061] S46: Define the region consisting of all marked sub-regions as the target animal's activity area and store it;

[0062] S47: Restore the floor plan, select another animal as the target animal, and execute steps S43 to S47 until the activity area of ​​each animal in the zoo is obtained.

[0063] In this embodiment, the acquired surveillance video is the surveillance video from all the cameras installed in the zoo, covering all animal activity areas of the zoo; the monitoring period of the surveillance video can be a set period of time in the past (such as the past week, 15 days, or other days), and only the total operating time of each day in the video is retained, while non-total operating time periods are removed; in this embodiment, each sub-area can be a square area of ​​the same size, and the area of ​​the sub-area can correspond to the actual ground area of ​​5 square meters or other areas, based on the ability to accommodate the animals in the zoo.

[0064] like Figure 3 As shown, in a preferred embodiment, determining the activity area heatmap for each animal includes:

[0065] For each animal species, identify its activity area on the map;

[0066] Determine the occurrence duration density of the animal in each sub-region of the corresponding activity area, and render the sub-region according to the occurrence duration density. The rendered sub-regions form a heatmap of the activity area. The greater the occurrence duration density, the darker the rendering color of the sub-region.

[0067] The occurrence duration density of any animal in any sub-region of the corresponding activity area is calculated using the following formula:

[0068]

[0069] in, For the duration density to appear, To monitor the total duration of the video, This represents the total duration for which this animal appears in this sub-region;

[0070] After obtaining the heatmap of the activity area, the weighted area of ​​the activity area is calculated using the following formula:

[0071]

[0072] in, The weighted area of ​​the activity area. Let i be the area of ​​the i-th sub-region in the activity area. Let be the occurrence duration density of the i-th sub-region (i.e., the area weight of the corresponding sub-region), and n be the number of sub-regions in the active region.

[0073] The sleep rhythm information of an animal includes the animal's sleep periods under natural conditions and the range of light wavelengths that affect its sleep rhythm. Determining the degree of influence on the animal's sleep rhythm based on sleep rhythm information, activity area heat maps, and the distribution of light at various wavelengths includes:

[0074] S51: The wavelength that falls within the wavelength range of influence corresponding to this animal species shall be determined as the target wavelength;

[0075] S52: Use the first moment of the animal's sleep period as the comparison moment;

[0076] S53: Determine the total distribution area of ​​the light corresponding to each target wavelength at the comparison time on the plan view;

[0077] S54: Identify the activity area of ​​the animal on the plan to determine the local area within the activity area that overlaps with the overall distribution area;

[0078] S55: Calculate the weighted area of ​​a local region based on the activity area heat map;

[0079] S56: Divide the weighted area of ​​the local region by the weighted area of ​​the active region to obtain the area ratio at the comparison time.

[0080] S57: Take the next moment of the animal's sleep period as the comparison moment, and execute steps S53 to S57 until the area percentage corresponding to each moment of the sleep period is obtained.

[0081] S58: Calculate the degree to which the sleep rhythm of this animal is affected using the following formula:

[0082]

[0083] in, To determine the extent to which the sleep rhythm of this animal is affected. Let m be the area percentage corresponding to the j-th moment of the sleep period, and m be the number of moments in the sleep period. This is the adjustment coefficient for the degree of influence.

[0084] The degree of light pollution can be calculated using the following formula:

[0085]

[0086] in, For the degree of light pollution, Let P represent the degree to which the sleep rhythm of the k-th animal is affected, and let P represent the number of animal species in the zoo.

[0087] In this embodiment, the rendering color of the heatmap of the active area can be red or other colors; a color depth corresponding to each occurrence duration density is preset, and the rendering color depth can be determined after the occurrence duration density of the sub-region is obtained, and the sub-region is rendered with the rendering color of that depth.

[0088] In this embodiment, the occurrence duration density of any animal in any sub-region of the corresponding activity area is the proportion of the total duration of the animal's appearance in that sub-region to the total duration of the monitoring video (i.e., the sum of the durations of each total running segment); the total distribution area is the sum of the distribution areas corresponding to all target wavelengths; since the activity area is composed of regular sub-regions, while the shape of the total distribution area is irregular, some sub-regions in the activity area only partially overlap with the total distribution area. In this embodiment, these sub-regions are also considered as part of the local area; the weighted area of ​​the activity area is the sum of the weighted areas of each sub-region, and the weighted area of ​​each sub-region is the area of ​​the sub-region multiplied by the weight, where the weight is the corresponding occurrence duration density; the weighted area of ​​the local area is calculated in the same way as the weighted area of ​​the activity area, that is, the area of ​​each sub-region in the local area is multiplied by the corresponding occurrence duration density;

[0089] In this embodiment, It can be set to 10; the duration interval between two adjacent moments in this embodiment can be 1 minute or other durations. The smaller the interval, the higher the calculation accuracy; in this embodiment, the light pollution level is the result of the combined influence of the rhythms of all animals, and has comprehensive characterization; and the influence of each animal is calculated by the radiation of the animal's activity area at each moment during the sleep period. The calculation process is very detailed and accurate, and it can accurately characterize whether the lighting in the zoo is reasonable or not.

[0090] In addition, when the light sources need to be adjusted, the terminal device can display the current floor plan (including the arrangement of the light sources and the operating time of each light source). Staff can directly simulate the adjustment of the light sources on the terminal device. The simulation adjustment methods include, but are not limited to, moving the position of the light sources, changing the model of the light sources, and adjusting the operating time of the light sources. After each adjustment, the terminal device can recalculate the light pollution level using this method and compare it with the critical light pollution level. If the newly calculated light pollution level is still not lower than the critical light pollution level, the user is prompted to continue the adjustment. This process is repeated until the newly calculated light pollution level is lower than the critical light pollution level, and the adjustment is completed. Staff can then make actual adjustments to the light sources in the zoo based on the relevant parameters of each light source on the final adjusted floor plan.

[0091] Embodiment 2 of this application provides a terminal device, including a memory and a processor. The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the environmental assessment method based on monitoring data, specifically including:

[0092] S1: After receiving the evaluation instruction sent by the staff's user terminal, instruct the staff to perform wavelength detection on the light sources of each light source in the zoo;

[0093] S2: Perform light radiation simulation for each light source to determine the radiation area of ​​that light source in the zoo;

[0094] S3: Retrieve the operating time of each light source, and determine the distribution of each wavelength of light in the zoo based on the operating time of each light source and the corresponding radiation area;

[0095] S4: Obtain surveillance video from the zoo, determine the activity areas of various animals in the zoo based on the surveillance video, and thus determine a heat map of the activity area of ​​each animal.

[0096] S5: Obtain sleep rhythm information for each animal to determine the degree of influence on the animal's sleep rhythm based on sleep rhythm information, activity area heat map, and the distribution of light at various wavelengths.

[0097] S6: Assess the level of light pollution in the zoo based on the degree of impact, and send the obtained light pollution level to the staff's user terminal to prompt the staff to adjust the light source according to the light pollution level.

[0098] Embodiment 3 of this application provides a storage medium storing a computer program. When the computer program is executed by a processor, the processor performs the steps of the environmental assessment method based on monitoring data, specifically including:

[0099] S1: After receiving the evaluation instruction sent by the staff's user terminal, instruct the staff to perform wavelength detection on the light sources of each light source in the zoo;

[0100] S2: Perform light radiation simulation for each light source to determine the radiation area of ​​that light source in the zoo;

[0101] S3: Retrieve the operating time of each light source, and determine the distribution of each wavelength of light in the zoo based on the operating time of each light source and the corresponding radiation area;

[0102] S4: Obtain surveillance video from the zoo, determine the activity areas of various animals in the zoo based on the surveillance video, and thus determine a heat map of the activity area of ​​each animal.

[0103] S5: Obtain sleep rhythm information for each animal to determine the degree of influence on the animal's sleep rhythm based on sleep rhythm information, activity area heat map, and the distribution of light at various wavelengths.

[0104] S6: Assess the level of light pollution in the zoo based on the degree of impact, and send the obtained light pollution level to the staff's user terminal to prompt the staff to adjust the light source according to the light pollution level.

[0105] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0106] It should be understood that, when used in this application specification, the term "comprising" indicates the presence of the described feature, integral, step, operation, element, and / or component, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or collections thereof.

[0107] It should also be understood that the term “and / or” as used in this application specification means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0108] As used in this application specification, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once [the described condition or event] is detected," or "in response to detection of [the described condition or event]."

[0109] Furthermore, in the description of this application, the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance. It should also be understood that although the terms "first," "second," etc., are used in the text to describe various elements in some embodiments of this application, these elements should not be limited by these terms. These terms are merely used to distinguish one element from another. For example, a first table may be named a second table, and similarly, a second table may be named a first table, without departing from the scope of the various described embodiments. Both the first table and the second table are tables, but they are not the same table.

[0110] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0111] The environmental assessment method based on monitoring data provided in this application embodiment can be applied to terminal devices such as mobile phones, tablets, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). This application embodiment does not impose any restrictions on the specific type of terminal device.

[0112] For example, the terminal device may be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a vehicle networking terminal, a computer, a laptop computer, a handheld communication device, a handheld computing device, a satellite wireless device, a wireless modem card, a set-top box (STB), customer premises equipment (CPE), and / or other devices used for communication over a wireless system, as well as next-generation communication systems, such as mobile terminals in 5G networks or mobile terminals in future evolved Public Land Mobile Network (PLMN) networks.

[0113] As an example and not a limitation, when the terminal device is a wearable device, the term "wearable device" can also refer to any device that utilizes wearable technology to intelligently design and develop everyday wearables, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices worn directly on the body or integrated into a user's clothing or accessories. Wearable devices are not merely hardware devices; they achieve powerful functions through software support, data interaction, and cloud interaction. Broadly defined, wearable smart devices include those with comprehensive functions, large sizes, and the ability to perform complete or partial functions without relying on a smartphone, such as smartwatches or smart glasses, as well as those focused on a specific application function that require interaction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0114] Figure 4This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. For example... Figure 4 As shown, the terminal device of this embodiment includes: at least one processor ( Figure 4 Only one is shown in the image, and a memory is stored in the memory, which contains a computer program that can run on the processor. When the processor executes the computer program, it implements the steps in the various embodiments of the environmental assessment methods based on monitoring data described above, for example... Figure 1 Steps S1 to S6 are shown.

[0115] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and memory. Those skilled in the art will understand that... Figure 4 This is merely an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components than shown, or combine certain components, or different components. For example, the terminal device may also include input transmission devices, network access devices, buses, etc.

[0116] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0117] In some embodiments, the memory may be an internal storage unit of the terminal device, such as a hard drive or RAM. The memory may also be an external storage device of the terminal device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory may include both internal and external storage units. The memory is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory can also be used to temporarily store data that has been sent or will be sent.

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

[0119] This application provides a computer program product that, when run on a mobile terminal device, enables the mobile terminal device to implement the steps described in the above-described method embodiments.

[0120] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.

[0121] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0122] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

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

[0124] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. An environmental assessment method based on monitoring data, applied to terminal equipment, characterized in that, The environmental assessment method based on monitoring data includes: S1: After receiving the evaluation instruction sent by the staff's user terminal, instruct the staff to perform wavelength detection on the light sources of each light source in the zoo; S2: Perform light radiation simulation for each light source to determine the radiation area of ​​that light source in the zoo; S3: Retrieve the operating time of each light source, and determine the distribution of each wavelength of light in the zoo based on the operating time of each light source and the corresponding radiation area; S4: Obtain surveillance video from the zoo, determine the activity areas of various animals in the zoo based on the surveillance video, and thus determine a heat map of the activity area of ​​each animal. S5: Obtain sleep rhythm information for each animal to determine the degree of influence on the animal's sleep rhythm based on sleep rhythm information, activity area heat map, and the distribution of light at various wavelengths. S6: Assess the level of light pollution in the zoo based on the degree of impact, and send the obtained light pollution level to the staff's user terminal to prompt the staff to adjust the light source according to the light pollution level; The sleep rhythm information of an animal includes the animal's sleep periods under natural conditions and the range of light wavelengths that affect its sleep rhythm. Determining the degree of influence on the animal's sleep rhythm based on sleep rhythm information, activity area heat maps, and the distribution of light at various wavelengths includes: S51: The wavelength that falls within the wavelength range of influence corresponding to this animal species shall be determined as the target wavelength; S52: Use the first moment of the animal's sleep period as the comparison moment; S53: Determine the total distribution area of ​​the light corresponding to each target wavelength at the comparison time on the plan view; S54: Identify the activity area of ​​the animal on the plan to determine the local area within the activity area that overlaps with the overall distribution area; S55: Calculate the weighted area of ​​a local region based on the activity area heat map; S56: Divide the weighted area of ​​the local region by the weighted area of ​​the active region to obtain the area ratio at the comparison time. S57: Take the next moment of the animal's sleep period as the comparison moment, and execute steps S53 to S57 until the area percentage corresponding to each moment of the sleep period is obtained. S58: Calculate the degree to which the sleep rhythm of this animal is affected using the following formula: in, To determine the extent to which the sleep rhythm of this animal is affected. Let m be the area percentage corresponding to the j-th moment of the sleep period, and m be the number of moments in the sleep period. This is the adjustment coefficient for the degree of influence.

2. The method according to claim 1, characterized in that, Staff were instructed to perform wavelength testing on all light sources in the zoo, including: Generate a floor plan of the zoo, identify the location of each light source in the floor plan, and determine the model of each light source; For each model, identify the positions of all light sources corresponding to that model on the floor plan, and select one of the positions as the detection position; The detection location is sent to the user terminal of the testing personnel to instruct them to go to the detection location to perform wavelength detection on the corresponding light source. After receiving the detected wavelength from the user terminal, mark the wavelength at the detection location and mark the wavelength at the location of all other light sources of the same model on the floor plan.

3. The method according to claim 2, characterized in that, For each light source, light radiation simulations were performed to determine the radiation area of ​​that light source within the zoo, including: Generate a 3D image of the area where the light source is located; Retrieve the lamp source model according to the corresponding model; Determine the spatial location of the light source, and place the light source model in the 3D diagram based on the spatial location; Based on the light radiation mode corresponding to the light source model, simulated light is generated at the light source model, and the ground area radiated by the simulated light is identified in the 3D image; Identify the area corresponding to this ground region on the plan view; that is, the radiation zone.

4. The method according to claim 3, characterized in that, The distribution of various wavelengths of light in the zoo was determined based on the operating time of each light source and its corresponding radiation area, including: S31: In the plan view, group the light sources with the same wavelength into the same light source set; S32: The earliest start time of each running segment is taken as the first moment, and the latest end time of each running segment is taken as the second moment. The time period from the first moment to the second moment is determined as the total running segment. S33: Use the first moment in the total runtime period as the base moment; S34: Select a set of light sources, compare the running segment of each light source in the set with the base time to determine whether the base time is in the running segment. If so, then determine the light source as the first light source. S35: Simultaneously determine the radiation area of ​​all first light sources on the plan as the distribution area of ​​the light of the corresponding wavelength of the light source set at the basic time. Repeat steps S34 to S35 until the distribution area of ​​the light of the corresponding wavelength of each light source set at the basic time is obtained. S36: Take the next moment in the total running period as the base moment, and execute steps S34 to S36 until the distribution area of ​​the light of the corresponding wavelength of each light source set at each moment in the total running period is obtained.

5. The method according to claim 4, characterized in that, The acquired surveillance video includes footage from several past runtime periods; based on the surveillance video, the activity areas of various animals in the zoo were determined to include: S41: Divide the plan into several sub-regions; S42: Select one animal as the target animal; S43: For each sub-region, identify the target region corresponding to that sub-region in the surveillance video; S44: Identify whether a target animal is present in the target area in the surveillance video; S45: If so, mark the sub-regions corresponding to the target region on the plan view; S46: Define the region consisting of all marked sub-regions as the target animal's activity area and store it; S47: Restore the floor plan, select another animal as the target animal, and execute steps S43 to S47 until the activity area of ​​each animal in the zoo is obtained.

6. The method according to claim 5, characterized in that, Determining the activity area heatmap for each animal includes: For each animal species, identify its activity area on the map; Determine the occurrence duration density of the animal in each sub-region of the corresponding activity area, and render the sub-region according to the occurrence duration density. The rendered sub-regions form a heatmap of the activity area. The greater the occurrence duration density, the darker the rendering color of the sub-region. The occurrence duration density of any animal in any sub-region of the corresponding activity area is calculated using the following formula: in, For the duration density to appear, To monitor the total duration of the video, This represents the total duration for which this animal appears in this sub-region; After obtaining the heatmap of the activity area, the weighted area of ​​the activity area is calculated using the following formula: in, The weighted area of ​​the activity area. Let i be the area of ​​the i-th sub-region in the activity area. Let be the occurrence duration density of the i-th sub-region, and n be the number of sub-regions in the active region.

7. The method according to claim 6, characterized in that, The degree of light pollution can be calculated using the following formula: in, For the degree of light pollution, Let P represent the degree to which the sleep rhythm of the k-th animal is affected, and let P represent the number of animal species in the zoo.

8. A terminal device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the environmental assessment method based on monitoring data as described in any one of claims 1 to 7.

9. A storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, causes the processor to perform the steps of the environmental assessment method based on monitoring data as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Healthy lighting method, device and system for dynamically adjusting lighting environment

    CN115052398A

  • Radio astronomical environment electromagnetic monitoring method, system and device and storage medium

    CN117368586A