Multi-dimensional environment map generation method, system and device and medium
Through the multi-dimensional environmental map generation method, a variety of environmental sensor data are integrated and an environmental quality assessment model is established, which solves the problem of difficulty in fully displaying environmental changes in the smart home system, and comprehensive monitoring and evaluation of home environment quality is realized, and the smart home system is Control provides strong support.
Patent Information
- Application Number
- CN202411268740.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2025-01-10
AI Technical Summary
It is difficult for existing smart home systems to fully display and monitor changes in multiple parameters of the home environment, resulting in the inability to provide comprehensive environmental quality assessment results.
Through the multi-dimensional environmental map generation method, multiple environmental sensor data are collected and integrated in real time, a multi-dimensional environmental data set is constructed, and an environmental quality evaluation model is established based on this, sensor scores are calculated, weighted summed according to the parameter impact index, and a multi-dimensional environmental map is generated. Realize real-time monitoring and feedback on home environment quality.
It realizes comprehensive monitoring and evaluation of the quality of the home environment, provides an intuitive multi-dimensional environmental map, helps users quickly understand the environment conditions and make corresponding adjustments, and supports the control and optimization of smart home systems.
Smart Images

Figure CN119290062A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, system, device and medium for generating a multi-dimensional environment map. Background Art
[0002] With the advancement of science and technology and the improvement of people's living standards, smart homes have gradually penetrated into people's daily lives. Smart home systems usually contain various environmental sensors, such as temperature sensors, humidity sensors, formaldehyde sensors, etc. These sensors are used to detect various parameters of the indoor environment in real time to provide a comfortable and healthy living environment. However, in the prior art, these sensors are often only used for monitoring and controlling a single environmental parameter, lacking comprehensive evaluation and monitoring of the quality of the entire home environment.
[0003] Specifically, the environmental sensors in current smart home systems can usually only provide data on their own detection parameters, but cannot integrate these data to form a comprehensive and intuitive environmental quality assessment result. For example, when the indoor temperature is too high, the air conditioner may automatically turn on to lower the temperature; when the formaldehyde concentration exceeds the standard, the fresh air system may start to purify the air. However, these control operations are often triggered based on a single parameter without considering the impact of other environmental parameters, so they cannot provide a comprehensive environmental quality assessment result.
[0004] The Chinese patent document with publication number CN113495119A discloses a comprehensive evaluation method for the air environment of smart homes, which mainly collects personalized characteristic data of indoor users, such as age, gender, health status, behavioral habits, etc., through smart terminals, and combines the air comfort data (such as temperature, humidity, wind speed, etc.) and air health data (such as PM2.5, formaldehyde concentration, etc.) of the indoor environment for comprehensive analysis. Based on the user's characteristic data, the user behavior state PMV (Predicted Mean Vote) parameters and / or air health judgment standard levels enable it to determine the smart home air environment evaluation results under the influence of the user's characteristic data, thereby improving the accuracy of the report. Although the PMV method is an effective indicator for evaluating human comfort, it mainly focuses on the thermal perception of the human body and does not cover all the key parameters of the air environment. For example, the PMV method does not directly consider the impact of air quality (such as PM2.5, formaldehyde, etc.) on human health, so the evaluation results may not be comprehensive enough, and users can only understand the environmental conditions through text or digital evaluation results. This form of information may not be intuitive enough and it is difficult to fully display the distribution and changes of the environment. Summary of the invention
[0005] In view of this, the purpose of the embodiments of the present invention is to provide a method, system, device and medium for generating a multidimensional environmental map to solve the technical problem in the prior art that it is difficult to fully display the distribution and changes of the environment, help users understand the environmental conditions more quickly, and make corresponding adjustments.
[0006] In one aspect, an embodiment of the present invention provides a method for generating a multi-dimensional environment map, the method comprising the following steps: Collecting first environmental parameter data in a home environment in real time through at least one environmental sensor, and calculating second environmental parameter data according to a preset data processing strategy for the first environmental parameter data; Integrating the second environmental parameter data to construct a multidimensional environmental data set, and constructing a data structure according to the dimensions of the multidimensional environmental data set; Based on the multidimensional environmental data set, an environmental quality assessment model is established and a score of a single sensor is calculated; Performing a weighted summation according to a parameter influence index level of at least one sensor; Generate a multi-dimensional environmental map based on environmental quality judgment criteria; Through multi-dimensional environmental maps, real-time monitoring of home environment quality can be achieved and feedback can be given to the smart home system.
[0007] Optionally, before collecting the first environmental parameter data in the home environment in real time by at least one environmental sensor, the method includes: At least one sensor collection station is constructed, and each of the sensor collection stations further includes at least one environmental sensor.
[0008] Optionally, constructing a data structure according to the dimensions of the multidimensional environment data set includes: Setting the dimension of the multidimensional environment dataset, wherein the dimension of the multidimensional environment dataset includes at least one of a time dimension and a space dimension; The data structure is constructed based on the dimensions of the multidimensional environmental data set, and the data structure supports data in time dimension, space dimension and measurement dimension, wherein the measurement dimension also includes a safety range and an impact index.
[0009] Optionally, establishing an environmental quality assessment model and calculating a score of a single sensor based on the multidimensional environmental data set includes: If and only if Param is less than Floor, harm occurs, and the score is low; if Param is greater than or equal to Floor, the score is high; If and only if Param is greater than Ceiling, harm occurs, and the score is low; if Param is less than or equal to Ceiling, the score is high; When Param is smaller than Floor or larger than Ceiling, harm occurs and the score is low. If Param is between Floor and Ceiling, the score is high.
[0010] Optionally, the parameter impact index level is determined by: The parameter impact index is divided into three levels according to the parameter limit value, and each level defines a weight factor. If the parameter exceeds the limit value without health risk, it is level one. If the parameter exceeds the limit for a long time, there will be health risks, which is level 2. If the parameter exceeds the limit value, there is a risk to life, which is level three.
[0011] Optionally, performing weighted summation according to a parameter impact index level of at least one sensor includes: The parameter influence index, the score of a single sensor and the weight factor are calculated by a fusion algorithm to obtain the total score of the single-point collection station. The formula is:
[0012] In the formula, is the total score of a single point collection station, n is the number of sensors, and the score of i sensors is Score i , the impact index level is Level i , the corresponding weight factor is Weightlevel i ; Each sensor score is multiplied by the corresponding weight factor and added together, and then multiplied by a normalization constant so that the sum of the maximum scores of all sensors can reach 100.
[0013] Optionally, generating a multi-dimensional environmental map based on the environmental quality judgment standard includes: Based on the collected coordinate data and score range, convert them into a matrix, and initialize a zero matrix to store the scores of the corresponding positions; Traverse the coordinates and score data of all collection stations; The grid in the matrix is interpolated using bilinear interpolation, wherein adjacent scores are linearly interpolated in the x direction of the matrix to obtain a first intermediate point value; the first intermediate point value is linearly interpolated in the y direction to obtain an interpolation result, and the result is filled into the corresponding position in the matrix; Set the color map to grayscale color map, with color values ranging from 0 to 100, for generating images; Draw a heat map based on the processed matrix data.
[0014] On the other hand, an embodiment of the present invention provides a system for generating a multi-dimensional environment map, comprising: The first module is used to collect first environmental parameter data in a home environment in real time through at least one environmental sensor, and calculate second environmental parameter data according to a preset data processing strategy for the first environmental parameter data; A second module is used to integrate the second environmental parameter data to construct a multidimensional environmental data set, and to construct a data structure according to the dimensions of the multidimensional environmental data set; A third module is used to establish an environmental quality assessment model and calculate the score of a single sensor based on the multidimensional environmental data set; A fourth module, used for performing weighted summation according to a parameter impact index level of at least one sensor; The fifth module is used to generate a multi-dimensional environmental map based on environmental quality judgment standards.
[0015] On the other hand, an embodiment of the present invention provides a device for generating a multi-dimensional environment map, comprising: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method for generating a multi-dimensional environment map as described in any one of claims 1 to 7.
[0016] On the other hand, an embodiment of the present invention provides a computer-readable storage medium, which stores a program executable by a processor, characterized in that the program executable by the processor is used to execute the method for generating a multidimensional environment map as described in any one of claims 1-7 when executed by the processor.
[0017] The embodiment of the present invention collects the first environmental parameter data in the home environment in real time through at least one environmental sensor and calculates the second environmental parameter data according to the preset data processing strategy of the first environmental parameter data; integrates the second environmental parameter data to construct a multidimensional environmental data set, and constructs a data structure according to the dimensions of the multidimensional environmental data set; establishes an environmental quality assessment model based on the multidimensional environmental data set and calculates the score of a single sensor; performs weighted summation according to the parameter impact index level of at least one sensor; generates a multidimensional environmental map based on the environmental quality judgment standard; through the multidimensional environmental map, the real-time monitoring of the home environment quality is realized and fed back to the smart home system, and the working status of the smart home equipment is automatically adjusted. The present invention can solve the technical problem in the prior art that it is difficult to fully display the distribution and changes of the environment, thereby realizing comprehensive monitoring and evaluation of the home environment quality, and providing strong support for the control and optimization of the smart home system.
[0018] The present invention also has the following beneficial effects: 1. Multidimensional environmental data set: The present invention integrates data from multiple environmental sensors to construct a multidimensional environmental data set that can comprehensively reflect the various parameter states of the home environment.
[0019] 2. Map visualization: The present invention uses map visualization to intuitively display multi-dimensional environmental data sets to users, allowing users to more conveniently understand the real-time status of the home environment.
[0020] 3. Evaluation and feedback: The present invention conducts an overall evaluation of the multi-dimensional environmental map according to preset environmental quality standards, and triggers corresponding smart home devices to perform operations, thereby realizing intelligent management and control of the home environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0022] Figure 1 It is a schematic diagram of the steps of a method for generating a multi-dimensional environment map provided by an embodiment of the present invention; Figure 2 is a schematic diagram of data processing provided by an embodiment of the present invention; Figure 3 is a schematic diagram of a single sensor scoring step flow chart provided by an embodiment of the present invention; Figure 4 A schematic diagram of a generation process of a multi-dimensional environment map provided by an embodiment of the present invention Figure 5 It is a generation effect diagram of a multi-dimensional environment map provided by an embodiment of the present invention; Figure 6 It is a structural block diagram of a system for generating a multi-dimensional environment map provided by an embodiment of the present invention; Figure 7 It is a structural block diagram of a device for generating a multi-dimensional environment map provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0024] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0026] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0027] The block diagrams shown in the accompanying drawings are only functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or in one or more hardware charging modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0028] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0029] like Figure 1 , Figure 2 , Figure 3 , Figure 4 and Figure 5 As shown, an embodiment of the present invention provides a method for generating a multi-dimensional environment map, the method comprising the following steps: S100, collecting first environmental parameter data in a home environment in real time through at least one environmental sensor, and calculating second environmental parameter data according to a preset data processing strategy for the first environmental parameter data; Specifically, the first environmental parameter data refers to raw data directly obtained from the sensor.
[0030] Various environmental parameter data in the home environment, such as temperature, humidity, formaldehyde concentration, etc., are collected in real time through various environmental sensors in the smart home system. Then, the collected data is preprocessed, including data cleaning, screening and standardization, to ensure the accuracy and consistency of the data. Through the above processing strategy, the second environmental parameter data is calculated or converted from the first environmental parameter data. The second environmental parameter data can be a processed indicator.
[0031] It should be noted that the data cleaning step uses the removal of duplicate data, processing of missing values, identification and processing of outliers, etc. The purpose of data cleaning is to ensure the accuracy and reliability of the data and provide a high-quality data source for subsequent data analysis.
[0032] S200, integrating the second environmental parameter data to construct a multidimensional environmental data set, and constructing a data structure according to the dimensions of the multidimensional environmental data set; Specifically, based on data collection and preprocessing, the present invention integrates various environmental parameter data to construct a multidimensional environmental data set. The data set contains data information of various environmental parameters in the home environment and can fully reflect the overall status of the home environment. According to the characteristics and needs of the home environment, the dimensions of the data set are defined, such as time dimension (year, month, day, hour, etc.), space dimension (different rooms or areas), etc.
[0033] It should be noted that the data set dimensions are defined and the corresponding data structure is constructed. The data structure supports data in time, space and measurement dimensions, and also includes a safety range and parameter impact index for the measurement dimension. Among them, the safety range refers to the amplitude of the parameter limit; the parameter over-limit value refers to exceeding the lower limit or upper limit.
[0034] S300, establishing an environmental quality assessment model based on the multidimensional environmental data set and calculating a score of a single sensor; Specifically, the environmental quality assessment index in the environmental quality assessment model is 0-100, less than 60 points means the environment is unqualified, 60-80 points means the environment is good, and more than 80 points means the environment is excellent. The environmental quality assessment index is calculated based on the actual value measured by the sensor and the corresponding limit range.
[0035] In one embodiment, a score calculation method based on the distance between the measured value and the safety range is used to calculate the score of a single sensor. For example, the calculation is performed according to the type of safety range. There are three types of safety ranges: lower limit value, upper limit value and range limit value. For different types of safety ranges, the present invention uses different calculation methods to determine the score of the sensor, where the score range is 0-100 points.
[0036] S400, performing weighted summation according to a parameter impact index level of at least one sensor; Specifically, according to each sensor score, the impact index level is weighted and summed.
[0037] Preferably, the impact index is defined as an exponential relationship, and a weight factor is defined for each level, so that level 3 has the greatest impact and level 1 has the least impact. In one embodiment, the relationship between the impact index and the weight is shown in the following table:
[0038] S500, generating a multi-dimensional environmental map based on the environmental quality judgment standard.
[0039] Specifically, each collection station is scored from 0 to 100 points, and the coordinates of the collection stations are known. A heat map is generated based on the above conditions and represented by a grayscale of 0 to 100.
[0040] In some embodiments, the method further includes: achieving real-time monitoring of home environment quality through a multi-dimensional environmental map and feeding back to the smart home system.
[0041] Specifically, when the environmental quality index of a certain area exceeds the preset range, the corresponding smart home device is triggered to perform corresponding operations to improve the environmental quality of the area. At the same time, the monitoring results and feedback information are displayed to users through the smart home system, so that users can understand the real-time status of the home environment in a timely manner and take corresponding measures to improve it.
[0042] Optionally, before collecting the first environmental parameter data in the home environment in real time by at least one environmental sensor, the method includes: At least one sensor collection station is constructed, and each of the sensor collection stations further includes at least one environmental sensor.
[0043] Specifically, at least one sensor collection station is arranged in each space in the home, wherein each collection station may be composed of one or more sensors, such as temperature sensors, humidity sensors, light sensors, air quality sensors, etc., which are not limited here.
[0044] Optionally, constructing a data structure according to the dimensions of the multidimensional environment data set includes: Setting the dimension of the multidimensional environment dataset, wherein the dimension of the multidimensional environment dataset includes at least one of a time dimension and a space dimension; The data structure is constructed based on the dimensions of the multidimensional environmental data set, and the data structure supports data in time dimension, space dimension and measurement dimension, wherein the measurement dimension also includes a safety range and an impact index.
[0045] Specifically, the time dimension represents the time information of data collection, which can be organized by different granularities such as year, month, day, hour, minute, etc. The spatial dimension represents the geographical location or spatial location of data collection. The measurement dimension contains specific environmental parameter measurement values, such as temperature, humidity, air quality (PM2.5, CO2, etc.), noise level, light intensity, etc. The safety range, such as the safety range value of each environmental parameter, can be defined as a range interval. Impact index: used to evaluate the impact of environmental parameters on specific objects (such as human health, equipment operation), usually a value or level.
[0046] Optionally, establishing an environmental quality assessment model and calculating a score of a single sensor based on the multidimensional environmental data set includes: If and only if Param is less than Floor, harm occurs, and the score is low; if Param is greater than or equal to Floor, the score is high; If and only if Param is greater than Ceiling, harm occurs, and the score is low; if Param is less than or equal to Ceiling, the score is high; When Param is smaller than Floor or larger than Ceiling, harm occurs and the score is low. If Param is between Floor and Ceiling, the score is high.
[0047] Specifically, there are three types of restrictions: 1. Lower limit value. Harm will only occur when the parameter is less than the lower limit value. For example, if the lower limit value: Floor = 50, parameter: Param = 40, the score is lower because 40<50; parameter: Param = 55, the score is higher because 55 ≥ 50.
[0048] 2. Upper limit value: harm will only occur when the parameter is greater than the upper limit value; For example, the ceiling value: Ceiling = 100, parameter: Param = 110, because 110>100, the score is lower; Parameter: Param = 90, since 90 ≤ 100, the score is higher.
[0049] 3. Range limit: as long as the parameter is less than the lower limit or greater than the upper limit, harm will occur.
[0050] For example, the lower limit value: Floor = 50, the upper limit value: Ceiling = 100, the parameter: Param = 40, because 40<50, the score is lower; the parameter: Param = 105, because 105>100, the score is lower; the parameter: Param = 70, because 50 ≤ 70 ≤ 100, the score is higher.
[0051] The above examples are merely illustrative and are not intended to limit the present invention.
[0052] One embodiment of a specific data structure defined based on the above dimensions is shown in the following table:
[0053] Optionally, the parameter impact index level in S400 is determined in the following manner: The parameter impact index is divided into three levels according to the parameter exceeding limit value, and a weight factor is defined for each level; Level 1 is when a parameter exceeds the limit without any health risk; Level 2 is when a parameter exceeds the limit for a long time and there is a health risk; Level 3 is when a parameter exceeds the limit and there is a life risk.
[0054] Specifically, if it is level 1, it means that the parameter exceeding the limit value does not pose a health risk, only affects the comfort level, and does not cause direct harm to health; for example, the temperature setting range is 20-24℃, and the humidity range is 30-50%. If the temperature rises to 25℃ or the humidity drops to 20%, these exceeding the limit values will make the environment uncomfortable, but will not directly harm health.
[0055] If it is level 2, it means that the parameter exceeds the limit for a long time and there is a health risk, which may cause health risks; for example, the upper limit of the safe concentration of formaldehyde is 0.1 mg / m³. If the formaldehyde concentration exceeds this value for a long time, for example, reaching 0.15 mg / m³, long-term exposure may cause respiratory diseases or other health problems.
[0056] If it is level 3, it means that the parameter exceeds the limit value and there is a risk of life, which may lead to life-threatening. For example, the upper limit of the safe concentration of combustible gas is 1000ppm. If the concentration exceeds 1000ppm, for example, reaching 1500ppm, it may cause an explosion or fire, seriously endangering life safety.
[0057] The above examples are only for illustrative purposes and are not intended to limit the present invention.
[0058] Optionally, performing weighted summation according to a parameter impact index level of at least one sensor includes: The parameter influence index, the score of a single sensor and the weight factor are calculated by a fusion algorithm to obtain the total score of the single-point collection station. The formula is:
[0059] In the formula, is the total score of a single point collection station, n is the number of sensors, and the score of i sensors is Score i , the impact index level is Level i , the corresponding weight factor is Weightlevel i ; Each sensor score is multiplied by the corresponding weight factor and added together, and then multiplied by a normalization constant so that the sum of the maximum scores of all sensors can reach 100.
[0060] Specifically, first calculate the weight level of each sensor i , and then calculate the weight value of each sensor , weighted score and weighted sum, and finally calculate the total score according to the formula.
[0061] It should be noted that the weight factor indicates the influence of each sensor score when calculating the total score. The higher the influence index level, the greater the influence of the sensor score on the total score.
[0062] Optionally, generating a multi-dimensional environmental map based on the environmental quality judgment standard includes: S510, converting the collected coordinate data and the score range into a matrix, and initializing a zero matrix for storing the scores of the corresponding positions; S520, traversing the coordinates and score data of all collection stations; S530, interpolating the grid in the matrix using bilinear interpolation, wherein linear interpolation is performed on adjacent scores in the x direction of the matrix to obtain a first midpoint value; linear interpolation is performed on the first midpoint value in the y direction to obtain an interpolation result, and the result is filled into a corresponding position in the matrix; S540, setting the color mapping to grayscale color mapping, with the color value ranging from 0 to 100, for generating an image; S550, drawing a heat map based on the processed matrix data.
[0063] Specifically, first determine the spatial range (e.g., length and width) and resolution of the environmental map, initialize an all-zero matrix (e.g., size MxN), and each element represents the environmental quality score of a spatial location. Then traverse the data of all environmental monitoring sites, and for each monitoring site, obtain its geographic coordinates and corresponding environmental score. Find the grid position around the monitoring site, perform linear interpolation on the adjacent scores in the x direction, and calculate the first intermediate point value; perform linear interpolation again in the y direction using the first intermediate point value to obtain the interpolation result. Fill the final interpolation result into the corresponding position in the matrix. According to the score value range (0-100) in the matrix, set the color mapping to grayscale. The higher the score value, the closer the color is to white; the lower the score value, the closer the color is to black. Use a drawing tool (such as Matplotlib) to plot the matrix data as a heat map to display the environmental quality scores of each location; apply the color mapping set previously to intuitively display the spatial distribution of environmental quality.
[0064] For example, there are three monitoring stations in a room, and the coordinates and score data are as follows: Site A: coordinate (1,1), score 80; Site B: coordinates (1,4), score 60; Site C: coordinates (4,1), score 70; Through bilinear interpolation, we interpolate the score data in the entire area to generate a 5x5 matrix. Then, we convert the matrix data into a grayscale image with a color value range of 0-100 and draw a heat map reflecting the environmental quality. In this way, users can intuitively understand the environmental quality of different areas of the room through the image.
[0065] like Figure 6 , an embodiment of the present invention provides a system for generating a multi-dimensional environment map, comprising: The first module is used to collect first environmental parameter data in a home environment in real time through at least one environmental sensor, and calculate second environmental parameter data according to a preset data processing strategy for the first environmental parameter data; A second module is used to integrate the second environmental parameter data to construct a multidimensional environmental data set, and to construct a data structure according to the dimensions of the multidimensional environmental data set; A third module is used to establish an environmental quality assessment model and calculate the score of a single sensor based on the multidimensional environmental data set; A fourth module, used for performing weighted summation according to a parameter impact index level of at least one sensor; The fifth module is used to generate a multi-dimensional environmental map based on environmental quality judgment standards.
[0066] In some embodiments, the smart home system provided by the present invention includes: The environmental data acquisition module is responsible for real-time collection of various environmental data in the smart home environment. These data include but are not limited to temperature, humidity, light, air quality (such as PM2.5, formaldehyde concentration, etc.), noise level, etc. The data acquisition module can integrate multiple sensors, such as temperature sensors, humidity sensors, light sensors, air quality sensors, and noise sensors, etc., or it can be independent sensors distributed in various areas to ensure the comprehensiveness and accuracy of the data.
[0067] The data processing and analysis module is used to receive data from the environmental data acquisition module and perform preprocessing, filtering, fusion and other operations. This module uses advanced algorithms to process data to improve the accuracy and reliability of the data. At the same time, this module is also responsible for classifying and storing the processed data according to different environmental parameters to provide support for the generation of multi-dimensional environmental maps.
[0068] The multi-dimensional environment map generation module is used to generate an environment map containing multiple environmental parameter dimensions based on the data provided by the data processing and analysis module, using specific algorithms and visualization techniques. The environment map graphically displays the distribution of environmental parameters, allowing users to intuitively understand the overall status of the smart home environment.
[0069] The execution module is responsible for intelligently controlling smart home devices based on the generated results of the multi-dimensional environment map. These smart home devices include air conditioners, doors, windows, curtains, fresh air systems, etc. The execution module can automatically adjust the working status of these devices according to changes in environmental parameters to maintain a comfortable and healthy living environment. For example, when the indoor temperature is too high, the execution module can automatically turn on the air conditioner to cool down; when the indoor air quality is poor, the execution module can automatically turn on the fresh air system for air purification.
[0070] The data storage and management module is responsible for storing and managing environmental data, map data, execution records and other information. This module uses efficient data storage technology to ensure data security and reliability. At the same time, this module also provides data backup and recovery functions to prevent data loss or damage.
[0071] When the multi-dimensional environment map generation system of the present invention is started, the environment data acquisition module starts to collect various environmental data in the smart home environment in real time. The data processing and analysis module receives these data and performs pre-processing and classification. Then, the multi-dimensional environment map generation module generates an environment map containing multiple environmental parameter dimensions based on the processed data. The execution module intelligently controls the working status of the smart home device based on the generation result of the environment map. At the same time, the data storage and management module is responsible for storing and managing related data.
[0072] See also Figure 7 , an embodiment of the present invention provides a device for generating a multi-dimensional environment map, comprising: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method for generating a multi-dimensional environment map as described in any one of the above items.
[0073] It can be seen that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0074] In addition, the embodiment of the present application also discloses a computer program product or a computer program, and the computer program product or the computer program is stored in a computer-readable storage medium. The processor of the computer device can read the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device performs the above method. Similarly, the contents in the above method embodiment are all applicable to the storage medium embodiment, and the functions specifically implemented by the storage medium embodiment are the same as those in the above method embodiment, and the beneficial effects achieved are also the same as those achieved by the above method embodiment.
[0075] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the charging modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0076] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional charging modules / units in the systems and devices may be implemented as software, firmware, hardware, or appropriate combinations thereof.
[0077] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0078] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0079] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0080] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0081] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0082] If the integrated 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 technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0083] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A method for generating a multi-dimensional environment map, characterized in that: The method comprises the following steps: Collecting first environmental parameter data in a home environment in real time through at least one environmental sensor, and calculating second environmental parameter data according to a preset data processing strategy for the first environmental parameter data; Integrating the second environmental parameter data to construct a multidimensional environmental data set, and constructing a data structure according to the dimensions of the multidimensional environmental data set; Based on the multidimensional environmental data set, an environmental quality assessment model is established and a score of a single sensor is calculated; Performing a weighted summation according to a parameter influence index level of at least one sensor; Generate a multidimensional environmental map based on environmental quality judgment standards.
2. The method according to claim 1, characterized in that Before collecting the first environmental parameter data in the home environment in real time by at least one environmental sensor, the method includes: At least one sensor collection station is constructed, and each of the sensor collection stations further includes at least one environmental sensor.
3. The method according to claim 1, characterized in that The step of constructing a data structure according to the dimensions of the multidimensional environment data set includes: Setting the dimension of the multidimensional environment dataset, wherein the dimension of the multidimensional environment dataset includes at least one of a time dimension and a space dimension; The data structure is constructed based on the dimensions of the multidimensional environmental data set, and the data structure supports data in time dimension, space dimension and measurement dimension, wherein the measurement dimension also includes a safety range and an impact index.
4. The method according to claim 3, characterized in that The step of establishing an environmental quality assessment model based on the multidimensional environmental data set and calculating a score of a single sensor includes: If and only if Param is less than Floor, the hazard is confirmed and the score is low. If Param is greater than or equal to Floor, the score is high. If and only if Param is greater than Ceiling, the threat is confirmed and the score is low. If Param is less than or equal to Ceiling, the score is high. When Param is less than Floor or greater than Ceiling, it is confirmed that harm has occurred and the score is low. If Param is between Floor and Ceiling, the score is high.
5. The method according to claim 1, characterized in that The parameter impact index level is determined in the following way: The parameter impact index is divided into three levels according to the parameter exceeding limit value, and a weight factor is defined for each level; Level 1 is when a parameter exceeds the limit without any health risk; Level 2 is when a parameter exceeds the limit for a long time and there is a health risk; Level 3 is when a parameter exceeds the limit and there is a life risk.
6. The method according to claim 5, characterized in that The weighted summing according to the parameter impact index level of at least one sensor comprises: The parameter influence index, the score of a single sensor and the weight factor are calculated by a fusion algorithm to obtain the total score of the single-point collection station. The formula is: In the formula, is the total score of a single point collection station, n is the number of sensors, and the score of i sensors is Score i , the impact index level is , the corresponding weight factor is ; Each sensor score is multiplied by the corresponding weight factor and added together, and then multiplied by a normalization constant so that the sum of the maximum scores of all sensors can reach 100.
7. The method according to claim 6, characterized in that The generating of a multi-dimensional environmental map based on the environmental quality judgment standard includes: Based on the collected coordinate data and the score range, the data is converted into a matrix, and a zero matrix is initialized to store the scores of the corresponding positions; Traverse the coordinates and score data of all collection stations; The grid in the matrix is interpolated using bilinear interpolation, wherein adjacent scores are linearly interpolated in the x direction of the matrix to obtain a first intermediate point value; the first intermediate point value is linearly interpolated in the y direction to obtain an interpolation result, and the result is filled into the corresponding position in the matrix; Set the color map to grayscale color map, with color values ranging from 0 to 100, for generating images; Draw a heat map based on the processed matrix data.
8. A system for generating a multi-dimensional environment map, characterized in that: The system comprises: The first module is used to collect first environmental parameter data in a home environment in real time through at least one environmental sensor, and calculate second environmental parameter data according to a preset data processing strategy for the first environmental parameter data; A second module is used to integrate the second environmental parameter data to construct a multidimensional environmental data set, and to construct a data structure according to the dimensions of the multidimensional environmental data set; A third module is used to establish an environmental quality assessment model and calculate the score of a single sensor based on the multidimensional environmental data set; A fourth module, used for performing weighted summation according to a parameter impact index level of at least one sensor; The fifth module is used to generate a multi-dimensional environmental map based on environmental quality judgment standards.
9. A device for generating a multi-dimensional environment map, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method for generating a multi-dimensional environment map as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to execute the method for generating a multi-dimensional environment map as described in any one of claims 1 to 7 when executed by the processor.
Citation Information
Patent Citations
Intelligent terminal and intelligent home air environment assessment method
CN113495119A