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

By detecting the wavelength of light sources, simulating light radiation areas, and analyzing animal activities and sleep rhythms, the accuracy problem of light pollution assessment in zoos is solved, providing quantitative data to support lighting adjustments and protect animal health.

CN120612651AActive Publication Date: 2025-09-09SHENZHEN SPART TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technology makes it difficult to accurately assess the extent of the impact of light pollution from artificial lights in zoos on the sleep rhythms of animals, resulting in an inability to effectively adjust lighting settings to protect animal health.

Method used

By receiving evaluation instructions from staff, detecting the wavelength of the light source, simulating the light radiation area, and combining monitoring video to determine the animal's activity area and sleep rhythm information, the system assesses the degree of light pollution and prompts to adjust the light source.

Benefits of technology

It achieves an accurate assessment of light pollution in zoos, provides quantitative data to support lighting adjustments, and protects animal health.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120612651A_ABST
    Figure CN120612651A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of monitoring, and particularly relates to an environment evaluation method based on monitoring data, terminal equipment and a storage medium, and the method can determine the distribution of light of each wavelength in a zoo through the wavelength detection data of each light source by a worker and the position of each light source in the zoo. The activity area thermodynamic diagram of the animal can be determined through the monitoring video, and the influence condition of the sleep rhythm of the animal can be accurately estimated by comparing the distribution of the lamplight of each wavelength with the intersection condition of the activity area and combining the sleep time period of the animal and the influence wavelength range; and the light pollution condition of the living environment of the animal can be accurately evaluated through the quantitative data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of monitoring, and in particular to an environmental assessment method, terminal device, and storage medium based on monitoring data. Background Art

[0002] Although a natural simulation environment is created for animals in wildlife parks, many artificial light sources (such as street lights, decorative lights, surveillance lights, etc.) are often installed to facilitate visitors' visits and the work of park staff. However, the sleep rhythm of animals is formed according to the laws of natural light. Therefore, the light radiation from artificial lights often interferes with the sleep rhythm of animals, causing their sleep rhythm to be disordered. Therefore, artificial light is a kind of light pollution for animals. Currently, staff can use relevant instruments to detect the radiation parameters (such as wavelength) of light sources in zoos, but it is difficult to accurately estimate the distribution of the radiation areas of these light sources, and thus it is impossible to accurately determine the extent of the impact of light radiation from artificial lights on the sleep rhythms of various animals. In other words, it is difficult to accurately assess the degree of light pollution in the living environment of animals, and thus it is impossible to make corresponding adjustment measures, which brings risks to the health of animals. Summary of the Invention

[0003] In view of this, the embodiments of the present 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.

[0004] A first aspect of an embodiment of the present application provides an environmental assessment method based on monitoring data, which is applied to a terminal device. The environmental assessment method based on monitoring data includes: S1: After receiving the evaluation instruction sent by the user terminal of the staff, instruct the staff to perform wavelength detection on the light of each light source in the zoo; S2: Perform light radiation simulation on each light source to determine the radiation area of ​​the light source in the zoo; S3: Retrieve the operating time period of each light source, and determine the distribution of light of each wavelength in the zoo according to the operating time period of each light source and the corresponding radiation area; S4: Obtain surveillance videos of the zoo, determine the activity areas of various animals in the zoo based on the surveillance videos, and thus determine a heat map of the activity areas of each animal; S5: Obtaining sleep rhythm information of each animal, and determining the degree to which the sleep rhythm of the animal is affected based on the sleep rhythm information, the activity area heat map, and the distribution of light of each wavelength; S6: Evaluate the light pollution level in the zoo based on the various impact levels, and send the obtained light pollution level to the user terminal of the staff to prompt the staff to adjust the light source based on the light pollution level.

[0005] A second aspect of an embodiment of the present application provides a terminal device including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the environmental assessment method based on monitoring data.

[0006] A third aspect of an embodiment of the present application provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor executes the steps of the environmental assessment method based on monitoring data.

[0007] Compared with the prior art, the beneficial effects of the embodiments of the present application are as follows: the method provided by the present invention includes instructing the staff to perform wavelength detection on the light of each light source in the zoo after receiving the evaluation instruction sent by the user terminal of the staff; performing light radiation simulation on each light source to determine the radiation area of ​​the light source in the zoo; retrieving the operating time period of each light source, and determining the distribution of light of each wavelength in the zoo according to the operating time period of each light source and the corresponding radiation area; obtaining the surveillance video of the zoo, and determining the activity areas of various animals in the zoo according to the surveillance video, thereby determining the activity area heat map of each animal; obtaining the sleep rhythm information of each animal, and determining the activity area heat map of the animal according to the sleep rhythm information, the activity area heat map and the distribution of light of each wavelength. The invention relates to an apparatus for detecting light pollution in a zoo and determining the degree to which the sleep rhythm of the animals is affected; the light pollution degree in the zoo is evaluated based on the degree of each impact, and the obtained light pollution degree is sent to the user terminal of the staff to prompt the staff to adjust the light source according to the degree of light pollution; in the present application, the distribution of lights of various wavelengths in the zoo can be determined through the wavelength detection data of each light source by the staff and the position of each light source in the zoo, and the heat map of the activity area of ​​the animals can be determined through the monitoring video. By comparing the distribution of lights of various wavelengths and the intersection of the activity area, and combining the sleep period of the animals and the range of the affected wavelengths, the impact on the sleep rhythm of the animals can be accurately estimated, that is, the light pollution condition of the living environment of the animals can be accurately evaluated through quantitative data. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0009] Figure 1 This is a schematic diagram of the implementation process of the environmental assessment method based on monitoring data provided in an embodiment of the present application; Figure 2 Schematic diagram of the implementation environment of the environmental assessment method based on monitoring data provided in an embodiment of the present application; Figure 3 Schematic diagram of an activity area heat map of an environmental assessment method based on monitoring data provided in an embodiment of the present application; Figure 4 It is a schematic diagram of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0010] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obscuring the description of the present application with unnecessary detail.

[0011] In order to illustrate the technical solution described in this application, specific embodiments are provided below.

[0012] Figure 1 A monitoring data-based environmental assessment method provided in Example 1 of the present application is shown, which is applied to a terminal device. The monitoring data-based environmental assessment method includes: S1: After receiving the evaluation instruction sent by the user terminal of the staff, instruct the staff to perform wavelength detection on the light of each light source in the zoo; S2: Perform light radiation simulation on each light source to determine the radiation area of ​​the light source in the zoo; S3: Retrieve the operating time period of each light source, and determine the distribution of light of each wavelength in the zoo according to the operating time period of each light source and the corresponding radiation area; S4: Obtain surveillance videos of the zoo, determine the activity areas of various animals in the zoo based on the surveillance videos, and thus determine a heat map of the activity areas of each animal; S5: Obtaining sleep rhythm information of each animal, and determining the degree to which the sleep rhythm of the animal is affected based on the sleep rhythm information, the activity area heat map, and the distribution of light of each wavelength; S6: Evaluate the light pollution level in the zoo based on the various impact levels, and send the obtained light pollution level to the user terminal of the staff to prompt the staff to adjust the light source based on the light pollution level.

[0013] In this embodiment, if Figure 2As shown, the method is executed in a terminal device, which can be an independent physical server or terminal, or a server cluster composed 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 end of the zoo staff, and the user end can be a mobile phone, tablet computer, laptop computer, etc.; a number of cameras are provided in the zoo, each camera is connected to the terminal device, and the surveillance video collected by the camera can be sent to the terminal device.

[0014] In this embodiment, when a staff member needs to conduct a light pollution assessment, he or she sends an assessment instruction to the terminal device through his or her user terminal. After receiving the instruction, the terminal device can execute the method. The light signal received by the animal's retina is transmitted to the suprachiasmatic nucleus in the brain through the retinal-suprachiasmatic nucleus pathway. The suprachiasmatic nucleus 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 their different retinal structures (for example, the sensitive wavelength of horses is 480-490nm). Therefore, different animals need to be exposed to light in the specific wavelength range corresponding to their retinal structure before their rhythm is affected. In a zoo, various animals have their own activity areas. If light that may affect the sleep rhythm of an animal is radiated into the animal's activity area, there is a risk that the light will radiate into the animal's retina, thereby affecting the animal's rhythm. Therefore, if the light radiates into the animal's activity area, it can be regarded as causing light pollution to the animal's activity area.

[0015] In this embodiment, each light source is preset with a light-on time and a light-off time. The period between the light-on time and the light-off time is the operating time 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, and the activity area heat map can represent the possibility of the animal appearing at each location in the activity area. The higher the possibility, the higher the degree of light pollution 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 interference from artificial light sources) and the affected wavelength range corresponding to the light that affects the sleep rhythm of the animal (i.e., the wavelength range that will affect the sleep rhythm of the corresponding animal), wherein the sleep period is the common sleep period of the animal (without considering specific individuals), and the data can be directly retrieved from existing animal rhythm observation and research data; the terminal device is preset with an affected wavelength range database (the data in the database is existing research data), which includes the affected wavelength ranges of various animals and can be retrieved and used by the terminal device.

[0016] In this embodiment, a critical light pollution level is preset in the user terminal. When the user terminal receives the light pollution level sent by the terminal device, if it exceeds the critical light pollution level, it indicates that the current light pollution in the zoo is relatively serious, which has a great impact on the sleep rhythm of animals and needs to be adjusted. The user terminal will send a prompt signal to prompt the staff to adjust the light source.

[0017] In the present application, the distribution of lights of various wavelengths in the zoo can be determined through the wavelength detection data of each light source and the position of each light source in the zoo by the staff, and the heat map of the activity area of ​​the animals can be determined through monitoring video. By comparing the distribution of lights of various wavelengths and the intersection of the activity areas, combined with the sleep period of the animals and the affected wavelength range, the impact on the sleep rhythm of the animals can be accurately estimated, that is, the light pollution situation of the living environment of the animals can be accurately evaluated through quantitative data.

[0018] As a preferred embodiment, instructing staff to perform wavelength detection on the lights of each light source in the zoo includes: 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 the model on the plan view and select one of the positions as the detection position; Send the detection location to the user terminal of the detection personnel to instruct the detection personnel to go to the detection location to perform wavelength detection on the light of the corresponding light source; After receiving the wavelength detected by the user end, mark the wavelength at the detection position and mark the wavelength at the positions of all other light sources of the same model on the floor plan.

[0019] In this embodiment, the floor plan is drawn in advance by the staff and stored in the terminal device, which includes the locations of all light sources in the zoo area; for light sources of the same model, only one of them can be selected for detection; 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 end and send it to the terminal device.

[0020] As a preferred embodiment, light radiation simulation is performed on each light source to determine that the radiation area of ​​the light source in the zoo includes: Generate a stereogram of the area where the light source is located; Retrieve the light source model of the light source according to the corresponding model; Determine the spatial position of the light source, and place the light source model in the stereogram according to the spatial position; Generate simulated light at the light source model according to the light radiation mode corresponding to the light source model, and identify the ground area radiated by the simulated light in the stereogram; A partial area corresponding to the ground area is identified in the plan view, ie, the radiation area.

[0021] In this embodiment, the stereogram of the area where the light source is located is a circular area with a radius (such as 50 meters or 100 meters) set with the light source as the center, so that the light of the light source can fall within the area; the terminal device is provided with AI 3D modeling software (such as Meshy The terminal can use surveillance images from the zoo's surveillance equipment to determine the regional view of the area where the light source is located, and then mobilize the 3D modeling software to perform 3D modeling based on the regional view. The terminal also has built-in light source models for various light sources. The planar position of the light source can be determined from the plan view, and the height of the light source can be determined from the surveillance video, thereby determining the spatial position of the light source. The light source model is then placed in the stereogram based on this spatial position to complete the modeling. The shape of each light source model and the covering method of the lampshade determine its optical path, which in turn leads to different radiation directions and light diffusion methods. The planning and design before the construction of the zoo includes lighting design, which includes each light source used and the corresponding optical path form. The lighting design information is stored in the terminal device, allowing the terminal to determine the optical 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 plug-in. After determining the optical path form of the light source, simulated lighting can be generated according to the optical path form on the stereogram using the light source as the starting point, and the ground area irradiated by the simulated light can be identified in the stereogram.

[0022] As a preferred embodiment, determining the distribution of lights of various wavelengths in the zoo according to the operating time periods of each light source and the corresponding radiation areas includes: S31: In the plane diagram, light sources with the same corresponding wavelength are grouped into the same light source set; S32: The earliest start time of each operating time period is defined as a first time period, the latest end time of each operating time period is defined as a second time period, and the time period from the first time period to the second time period is determined as the total operating time period; S33: The first moment in the total running time period is taken as the base moment; S34: Select a light source set, compare the operating time period of each light source in the light source set with the base time to determine whether the base time is within the operating time period; if so, determine the light source as the first light source; S35: Simultaneously determining the radiation areas of all first light sources on the plan view as the distribution areas of the light of the corresponding wavelength of the light source set at the base time, and repeating steps S34 to S35 until the distribution areas of the light of the corresponding wavelength of each light source set at the base time are obtained; S36: Taking the next moment in the total operating period as the base moment, 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 operating period is obtained.

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

[0024] As a preferred embodiment, the acquired surveillance video includes surveillance videos of several total operating time periods in the past; and the activity areas of various animals in the zoo determined based on the surveillance video include: S41: Divide the plan into several sub-areas; S42: Select an animal as the target animal; S43: For each sub-region, identifying a target region corresponding to the sub-region in the surveillance video; S44: Identify whether a target animal stays in a target area in the surveillance video; S45: If yes, mark the sub-region corresponding to the target region on the plane map; S46: determining the area consisting of all marked sub-areas as the activity area of ​​the target animal and storing the area; S47: Restore the plane map, 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.

[0025] In this embodiment, the surveillance video obtained is the surveillance video of all cameras installed in the zoo, covering all animal activity areas in 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 then only the total operating period of each day in the video is retained, and the non-total operating period is eliminated; in this embodiment, each sub-area can be a square area of ​​the same area, and the area of ​​the sub-area corresponding to the actual area of ​​the ground can be 5 square meters or other area, whichever is larger, based on the ability to accommodate the animals in the zoo.

[0026] like Figure 3 As shown, as a preferred embodiment, determining the activity area heat map of each animal includes: For each animal, identify the area where the animal lives on the floor plan; Determine the appearance time density of the animal in each sub-area of ​​the corresponding activity area, and render the sub-area according to the size of the appearance time density. The rendered sub-areas form the activity area heat map. The greater the appearance time density, the darker the rendering color of the sub-area. The appearance duration density of any animal in any sub-area of ​​the corresponding activity area is calculated using the following formula: in, is the appearance duration density, is the total duration of the surveillance video, The total time that the animal appears in the sub-area; After obtaining the activity area heat map, the weighted area of ​​the activity area is calculated using the following formula: in, is the weighted area of ​​the active region, is the area of ​​the i-th sub-region in the active region, is the appearance duration density of the i-th sub-region (i.e., the area weight of the corresponding sub-region), and n is the number of sub-regions in the active area.

[0027] The sleep rhythm information of an animal includes the sleep period of the animal under natural conditions and the wavelength range of light that affects the sleep rhythm of the animal. The degree of influence on the sleep rhythm of the animal is determined based on the sleep rhythm information, the heat map of the activity area, and the distribution of light of each wavelength, including: S51: determining a wavelength that falls within the impact wavelength range corresponding to the animal as a target wavelength; S52: taking the first moment of the sleep period of the animal as the comparison moment; S53: determining the total distribution area of ​​the light corresponding to each target wavelength at the comparison moment on the plane map; S54: Identify the activity area of ​​the animal on the plan map to determine the local area within the activity area that overlaps with the total distribution area; S55: Calculating the weighted area of ​​the local area based on the activity area heat map; S56: Dividing the weighted area of ​​the local area by the weighted area of ​​the active area to obtain the area ratio corresponding to the comparison time; S57: taking the next moment of the sleep period of the animal as the comparison moment, executing steps S53 to S57 until the area ratio corresponding to each moment of the sleep period is obtained; S58: Calculate the degree to which the sleep rhythm of the animal is affected using the following formula: in, is the degree to which the sleep rhythm of the animal is affected. is the area ratio corresponding to the jth moment in the sleep period, m is the number of moments in the sleep period, is the impact adjustment coefficient.

[0028] The degree of light pollution is calculated using the following formula: in, is the degree of light pollution, is the degree of influence on the sleep rhythm of the kth animal, and P is the type of animals in the zoo.

[0029] In this embodiment, the rendering color of the activity area heat map can be red or other colors; a color depth corresponding to each appearance duration density is pre-set. After the appearance duration density of a sub-area is obtained, the depth of its rendering color can be determined, and the sub-area is rendered with the rendering color of the depth; In this embodiment, the appearance time density of any animal in any sub-area of ​​the corresponding activity area is, that is, the ratio of the total appearance time of the animal in the sub-area to the total duration of the surveillance video (that is, the sum of the durations of all total operation periods); 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-areas, and the shape of the total distribution area is irregular, some sub-areas in the activity area only partially overlap with the total distribution area. In this embodiment, such sub-areas are also regarded as part of the local area; the weighted area of ​​the activity area is the sum of the weighted areas of each sub-area, and the weighted area of ​​each sub-area is the area of ​​the sub-area multiplied by the weight, and the weight is the corresponding appearance time density; the weighted area of ​​the local area is calculated in the same manner as the weighted area of ​​the activity area, that is, the area of ​​each sub-area in the local area is multiplied by the corresponding appearance time density; In this embodiment, It can be set to 10; the time interval between two adjacent moments in this embodiment can be 1 minute, or other time intervals. The smaller the setting, the higher the calculation accuracy. In this embodiment, the obtained light pollution level is the result of the comprehensive impact on the rhythms of all animals, and has comprehensive representation. The impact of each animal is obtained by calculating the radiation conditions of the activity area of ​​the animal at each moment during the sleep period. The calculation process is very detailed and accurate, and it can accurately characterize whether the light source setting in the zoo is reasonable or not.

[0030] In addition, when the light source needs to be adjusted, the terminal device can display the current floor plan (including the light source layout and the operating time of each light source), and the staff can directly simulate the adjustment of the light source on the terminal device. The simulation adjustment method includes but is not limited to moving the position of the light source, changing the model of the light source, and adjusting the operating time of the light source. After each adjustment is completed, the terminal device can recalculate the light pollution level through this method, and then compare it with the critical light pollution level. If the newly calculated light pollution level is not lower than the critical light pollution level, the user is prompted to continue to make adjustments. This cycle is repeated until the newly calculated light pollution level is lower than the critical light pollution level and the adjustment is completed. The 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.

[0031] A terminal device provided in a second embodiment of the present application includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor performs the steps of the environmental assessment method based on monitoring data, specifically including: S1: After receiving the evaluation instruction sent by the user terminal of the staff, instruct the staff to perform wavelength detection on the light of each light source in the zoo; S2: Perform light radiation simulation on each light source to determine the radiation area of ​​the light source in the zoo; S3: Retrieve the operating time period of each light source, and determine the distribution of light of each wavelength in the zoo according to the operating time period of each light source and the corresponding radiation area; S4: Obtain surveillance videos of the zoo, determine the activity areas of various animals in the zoo based on the surveillance videos, and thus determine a heat map of the activity areas of each animal; S5: Obtaining sleep rhythm information of each animal, and determining the degree to which the sleep rhythm of the animal is affected based on the sleep rhythm information, the activity area heat map, and the distribution of light of each wavelength; S6: Evaluate the light pollution level in the zoo based on the various impact levels, and send the obtained light pollution level to the user terminal of the staff to prompt the staff to adjust the light source based on the light pollution level.

[0032] A storage medium provided in a third embodiment of the present application stores a computer program. When the computer program is executed by a processor, the processor executes the steps of the environmental assessment method based on monitoring data, specifically including: S1: After receiving the evaluation instruction sent by the user terminal of the staff, instruct the staff to perform wavelength detection on the light of each light source in the zoo; S2: Perform light radiation simulation on each light source to determine the radiation area of ​​the light source in the zoo; S3: Retrieve the operating time period of each light source, and determine the distribution of light of each wavelength in the zoo according to the operating time period of each light source and the corresponding radiation area; S4: Obtain surveillance videos of the zoo, determine the activity areas of various animals in the zoo based on the surveillance videos, and thus determine a heat map of the activity areas of each animal; S5: Obtaining sleep rhythm information of each animal, and determining the degree to which the sleep rhythm of the animal is affected based on the sleep rhythm information, the activity area heat map, and the distribution of light of each wavelength; S6: Evaluate the light pollution level in the zoo based on the various impact levels, and send the obtained light pollution level to the user terminal of the staff to prompt the staff to adjust the light source based on the light pollution level.

[0033] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean 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.

[0034] It should be understood that when used in the present application specification, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections.

[0035] It should also be understood that the term “and / or” used in the present specification refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0036] As used in this specification, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting" depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]" depending on the context.

[0037] In addition, in the description of the present specification, the terms "first", "second", "third", etc. are only used to distinguish descriptions and should not be understood as indicating or implying relative importance. It should also be understood that although the terms "first", "second", etc. are used to describe various elements in some embodiments of the present application in the text, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, the first table can be named the second table, and similarly, the second table can be named the first table without departing from the scope of the various described embodiments. The first table and the second table are both tables, but they are not the same table.

[0038] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in 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 "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.

[0039] The monitoring data-based environmental assessment method provided in the embodiments of the present application can be applied to terminal devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). The embodiments of the present application do not impose any restrictions on the specific type of terminal device.

[0040] For example, the terminal device can 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 function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted 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 TV set-top box (STB), customer premise equipment (CPE) and / or other devices for communicating on a wireless system and a next-generation communication system, such as a mobile terminal in a 5G network or a mobile terminal in a future evolved Public Land Mobile Network (PLMN) network.

[0041] As an example and not a limitation, when the terminal device is a wearable device, the wearable device can also be a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are full-featured, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0042] Figure 4 This is a schematic diagram of the structure of a terminal device provided by an embodiment of the present application. Figure 4 As shown, the terminal device of this embodiment includes: at least one processor ( Figure 4 Only one is shown), a memory, wherein the memory stores a computer program that can be run on the processor. When the processor executes the computer program, the steps in the above-mentioned embodiments of the environmental assessment method based on monitoring data are implemented, such as Figure 1 Steps S1 to S6 are shown.

[0043] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that Figure 4 It is only an example of a terminal device and does not constitute a limitation of the terminal device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include an input and sending device, a network access device, a bus, etc.

[0044] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0045] In some embodiments, the memory may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. The memory may also be an external storage device of the terminal device, such as a plug-in hard disk equipped on the terminal device, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Furthermore, the memory may include both an internal storage unit of the terminal device and an external storage device. The memory is used to store an operating system, application programs, a boot loader, data, and other programs, such as the program code of the computer program. The memory may also be used to temporarily store data that has been sent or is about to be sent.

[0046] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0047] An embodiment of the present application provides a computer program product. When the computer program product is run on a mobile terminal device, the mobile terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0048] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application can implement all or part of the processes in the above-mentioned embodiment method by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, it can implement the steps of each of the above-mentioned method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can include: any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium.

[0049] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0050] Those skilled in the art will appreciate that the units and algorithm steps of each example 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel 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.

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

[0052] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.

Claims

1. An environmental assessment method based on monitoring data, applied to a terminal device, characterized in that: The environmental assessment method based on monitoring data includes: S1: After receiving the evaluation instruction sent by the user terminal of the staff, instruct the staff to perform wavelength detection on the light of each light source in the zoo; S2: Perform light radiation simulation on each light source to determine the radiation area of ​​the light source in the zoo; S3: Retrieve the operating time period of each light source, and determine the distribution of light of each wavelength in the zoo according to the operating time period of each light source and the corresponding radiation area; S4: Obtain surveillance videos of the zoo, determine the activity areas of various animals in the zoo based on the surveillance videos, and thus determine a heat map of the activity areas of each animal; S5: Obtaining sleep rhythm information of each animal, and determining the degree to which the sleep rhythm of the animal is affected based on the sleep rhythm information, the activity area heat map, and the distribution of light of each wavelength; S6: Evaluate the light pollution level in the zoo based on the various impact levels, and send the obtained light pollution level to the user terminal of the staff to prompt the staff to adjust the light source based on the light pollution level.

2. The method according to claim 1, characterized in that Instruct staff to conduct wavelength detection on the light sources of 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 the model on the plan view and select one of the positions as the detection position; Send the detection location to the user terminal of the detection personnel to instruct the detection personnel to go to the detection location to perform wavelength detection on the light of the corresponding light source; After receiving the wavelength detected by the user end, mark the wavelength at the detection position and mark the wavelength at the positions of all other light sources of the same model on the floor plan.

3. The method according to claim 2, characterized in that Perform light radiation simulation for each light source to determine the radiation area of ​​the light source in the zoo, including: Generate a stereogram of the area where the light source is located; Retrieve the light source model of the light source according to the corresponding model; Determine the spatial position of the light source, and place the light source model in the stereogram according to the spatial position; Generate simulated light at the light source model according to the light radiation mode corresponding to the light source model, and identify the ground area radiated by the simulated light in the stereogram; A partial area corresponding to the ground area is identified in the plan view, ie, the radiation area.

4. The method according to claim 3, characterized in that The distribution of various wavelengths of light in the zoo is determined based on the operating time of each light source and the corresponding radiation area, including: S31: In the plane diagram, light sources with the same corresponding wavelength are grouped into the same light source set; S32: The earliest start time of each operating time period is defined as a first time period, the latest end time of each operating time period is defined as a second time period, and the time period from the first time period to the second time period is determined as the total operating time period; S33: The first moment in the total running time period is taken as the base moment; S34: Select a light source set, compare the operating time period of each light source in the light source set with the base time to determine whether the base time is within the operating time period; if so, determine the light source as the first light source; S35: Simultaneously determining the radiation areas of all first light sources on the plan view as the distribution areas of the light of the corresponding wavelength of the light source set at the base time, and repeating steps S34 to S35 until the distribution areas of the light of the corresponding wavelength of each light source set at the base time are obtained; S36: Taking the next moment in the total operating period as the base moment, 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 operating period is obtained.

5. The method according to claim 4, characterized in that The acquired surveillance videos include surveillance videos of several total operating periods in the past; the activity areas of various animals in the zoo are determined based on the surveillance videos, including: S41: Divide the plan into several sub-areas; S42: Select an animal as the target animal; S43: For each sub-region, identifying a target region corresponding to the sub-region in the surveillance video; S44: Identify whether a target animal stays in a target area in the surveillance video; S45: If yes, mark the sub-region corresponding to the target region on the plane map; S46: determining the area consisting of all marked sub-areas as the activity area of ​​the target animal and storing the area; S47: Restore the plane map, 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 Determine the activity area heat map of each animal including: For each animal, identify the area where the animal lives on the floor plan; Determine the appearance time density of the animal in each sub-area of ​​the corresponding activity area, and render the sub-area according to the size of the appearance time density. The rendered sub-areas form the activity area heat map. The greater the appearance time density, the darker the rendering color of the sub-area. The appearance duration density of any animal in any sub-area of ​​the corresponding activity area is calculated using the following formula: in, is the appearance duration density, is the total duration of the surveillance video, The total time that the animal appears in the sub-area; After obtaining the activity area heat map, the weighted area of ​​the activity area is calculated using the following formula: in, is the weighted area of ​​the active region, is the area of ​​the i-th sub-region in the active region, is the appearance duration density of the i-th sub-region, and n is the number of sub-regions in the active region.

7. The method according to claim 6, characterized in that The sleep rhythm information of an animal includes the sleep period of the animal under natural conditions and the wavelength range of light that affects the sleep rhythm of the animal; The degree to which the sleep rhythm of an animal is affected is determined based on sleep rhythm information, activity area heat maps, and the distribution of light of various wavelengths: S51: determining a wavelength that falls within the impact wavelength range corresponding to the animal as a target wavelength; S52: taking the first moment of the sleep period of the animal as the comparison moment; S53: determining the total distribution area of ​​the light corresponding to each target wavelength at the comparison moment on the plane map; S54: Identify the activity area of ​​the animal on the plan map to determine the local area within the activity area that overlaps with the total distribution area; S55: Calculating the weighted area of ​​the local area based on the activity area heat map; S56: Dividing the weighted area of ​​the local area by the weighted area of ​​the active area to obtain the area ratio corresponding to the comparison time; S57: taking the next moment of the sleep period of the animal as the comparison moment, executing steps S53 to S57 until the area ratio corresponding to each moment of the sleep period is obtained; S58: Calculate the degree to which the sleep rhythm of the animal is affected using the following formula: in, is the degree to which the sleep rhythm of the animal is affected. is the area ratio corresponding to the jth moment in the sleep period, m is the number of moments in the sleep period, is the impact adjustment coefficient.

8. The method according to claim 6, characterized in that The degree of light pollution is calculated using the following formula: in, is the degree of light pollution, is the degree of influence on the sleep rhythm of the kth animal, and P is the type of animals in the zoo.

9. A terminal device, characterized in that: The invention comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the environmental assessment method based on monitoring data as described in any one of claims 1 to 8.

10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the environmental assessment method based on monitoring data as described in any one of claims 1 to 8.

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

  • Method of illuminating an environment using an angularly varying light emitting device and an imager

    US10816939B1

  • Method and apparatus for monitoring sleep environment, crib and storage medium

    WO2023231439A1