Method, device and medium for optimizing living space environment

By acquiring environmental index values ​​for living spaces and using knowledge graphs to generate optimization suggestions, the problem of optimization omissions and errors caused by reliance on human experience in existing technologies has been solved, achieving efficient and accurate optimization of the living space environment.

CN123159604APending Publication Date: 2026-11-24ARCHITECTURAL DESIGN RES INST OF GUANGDONG PROVINCE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611353525.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-02
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing methods for optimizing living space environments rely on human experience, which can easily lead to omissions and erroneous optimizations.

Method used

By acquiring numerical values ​​of living space environmental indicators, classifying performance levels using preset threshold information, and generating optimization suggestions based on knowledge graphs, a decision-making closed loop of evaluation, diagnosis, and optimization is formed, combining a three-layer integrated decision-making mechanism of safety baseline, the barrel effect, and overall weighted scoring.

Benefits of technology

It significantly improved the systematicness and accuracy of the optimization scheme, reduced the omissions and errors of optimization measures, and improved the environmental optimization effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159604A_ABST
    Figure CN123159604A_ABST
Patent Text Reader

Abstract

This application provides a method, device, and medium for optimizing the living space environment, relating to the field of environmental optimization technology. The method includes: obtaining numerical values ​​of living space indicators corresponding to a target living space environment; obtaining performance levels corresponding to the living space indicators based on the numerical values ​​and preset threshold information; obtaining living space indicators to be optimized based on the performance levels; and obtaining optimization suggestions based on a preset knowledge graph and the numerical values ​​of the living space indicators to be optimized for optimizing the living space environment. The knowledge graph is generated and updated based on historical practice cases and stores triples consisting of problems, measures, and effects. The embodiments of this application can effectively reduce the dependence of environmental optimization on personal experience through performance level classification and a knowledge graph-driven suggestion generation mechanism, reducing the occurrence of omissions and errors in optimization measures, significantly improving the systematicness, accuracy, and interpretability of the optimization scheme, and improving the environmental optimization effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of environmental optimization technology, and more specifically, to a method, device, and medium for optimizing the living space environment. Background Technology

[0002] As my country's housing development enters a new stage of "from having to having better," improving the quality of living space environments has become a focus of the industry, with residents demanding higher standards for their living experiences in terms of health, comfort, and energy efficiency. However, existing environmental optimization methods generally involve on-site testing of a specific indicator of the living space environment and then optimizing the environment based on that indicator's value. This approach relies on human experience and judgment, making it prone to omissions and optimization errors. Summary of the Invention

[0003] The purpose of this application is to address the shortcomings of existing technologies by providing a method, device, and medium for optimizing the living space environment, which can solve the problem that existing environmental optimization methods rely on human experience and are prone to omissions and erroneous optimization.

[0004] To achieve the above objectives, this application adopts the following technical solution: This application provides a method for optimizing the living space environment, the method comprising: Obtain the values ​​of the residential space indicators corresponding to the target residential space environment, and obtain the performance level corresponding to the residential space indicators based on the values ​​and preset threshold information; Based on the performance level, the indicators of the living space to be optimized are obtained. Based on the preset knowledge graph and the values ​​of the indicators of the living space to be optimized, optimization suggestions are obtained to optimize the living space environment. The knowledge graph is generated and updated based on historical practice cases and stores triplets consisting of problems, measures, and effects.

[0005] In one possible implementation, obtaining the numerical values ​​of the residential space indicators corresponding to the target residential space environment includes: The values ​​are obtained by collecting data from sensors installed in the target living space environment. The categories of living space environment indicators include sound environment, light environment, air quality, thermal environment, wind environment, and energy consumption.

[0006] In one possible implementation, the preset threshold information is generated based on the evaluation criteria corresponding to the target living space environment. The preset threshold information includes a threshold range, and the threshold ranges are different for different performance levels. Based on the stated values ​​and preset threshold information, the performance level corresponding to the living space index is obtained, including: Obtain the threshold range corresponding to the value, and determine the performance level corresponding to the living space index based on the threshold range.

[0007] In one possible implementation, the performance level of the residential space indicator to be optimized is a preset level, and the step of obtaining optimization suggestions based on a preset knowledge graph and the numerical value of the residential space indicator to be optimized includes: The question is to find the corresponding value of the living space indicator to be optimized from the knowledge graph. Based on the graph relationships of the knowledge graph, obtain the measure-effect pairs associated with the problem; Based on the aforementioned measures and their effects, optimization suggestions are generated.

[0008] In one possible implementation, generating optimization suggestions based on the measure-effect pair includes: The measures-effect pairs are ranked based on their cost and effectiveness. Based on the ranking results, optimization suggestions are output, which include the measure name, technical description, cost level, quantified effect, and expected level improvement.

[0009] In one possible implementation, the method includes: Decision levels are obtained based on the performance levels, including the highest level, the lowest level, and the data-driven level. The level of the target living space environment is calculated based on the decision level.

[0010] In one possible implementation, obtaining the highest level includes: The key indicators in the living space index are determined, including PM2.5, nighttime noise, and temperature; If it is determined that the performance levels corresponding to the key indicators are all qualified, then the highest level is determined based on the lowest level among the performance levels corresponding to the key indicators.

[0011] In one possible implementation, obtaining the data-driven level includes: Obtain the grade score corresponding to the performance level, and calculate the weight of each living space indicator; Calculate the weighted composite score based on the grade score and the weight; The data-driven level is obtained based on the weighted composite score.

[0012] In another aspect, this application provides an electronic device including a processor and a memory, wherein the processor is communicatively connected to the memory, the memory stores program data, and the program data is executed by the processor to implement the method described in any of the above embodiments.

[0013] In another aspect, this application provides a computer-readable storage medium storing a computer program that is executed by a processor to implement the methods described in any of the above embodiments.

[0014] The beneficial effects of the technical solutions provided in this application are: The residential space environment optimization method provided in this application includes: obtaining the numerical values ​​of residential space indicators corresponding to the target residential space environment; obtaining the performance level corresponding to the residential space indicators based on the numerical values ​​and preset threshold information; obtaining the residential space indicators to be optimized based on the performance levels; and obtaining optimization suggestions based on a preset knowledge graph and the numerical values ​​of the residential space indicators to be optimized for residential space environment optimization. The knowledge graph is generated and updated based on historical practice cases and stores triples consisting of problems, measures, and effects. Compared with traditional single-point detection and subjective judgment methods that rely on human experience, the embodiments of this application, through performance level classification and knowledge graph-driven suggestion generation mechanism, effectively reduce the dependence of environmental optimization on personal experience, reduce the occurrence of optimization omissions and optimization errors, significantly improve the systematicness, accuracy, and interpretability of the optimization scheme, and improve the environmental optimization effect. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below.

[0016] Figure 1 A flowchart of a method for optimizing the living space environment provided in an embodiment of this application; Figure 2 A flowchart illustrating the execution of the residential space environment optimization method provided in this application embodiment; Figure 3 A schematic diagram illustrating the calculation of the target residential space environment level for embodiments of this application; Figure 4 A structural diagram of the electronic device provided in the embodiments of this application; Figure 5 This is a structural diagram of a computer-readable storage medium provided in an embodiment of this application. Detailed Implementation

[0017] The embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the embodiments described below with reference to the accompanying drawings are exemplary descriptions for explaining the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions of the embodiments of this application.

[0018] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the terms “comprising” and “including” as used in embodiments of this application mean that the corresponding feature can be implemented as the presented feature, information, data, step, operation, element, and / or component, but do not exclude implementation as other features, information, data, step, operation, element, component, and / or combinations thereof supported by the art. It should be understood that when we say that an element is “connected” or “coupled” to another element, the one element can be directly connected or coupled to the other element, or it can mean that the one element and the other element establish a connection relationship through an intermediate element. Furthermore, “connected” or “coupled” as used herein can include wireless connection or wireless coupling. The term “and / or” as used herein indicates at least one of the items defined by the term; for example, “A and / or B” indicates implementation as “A,” or implementation as “A,” or implementation as “A and B.”

[0019] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0020] The technical solutions of this application and their effects are described below through several exemplary embodiments. It should be noted that the following embodiments can be referenced, borrowed from, or combined with each other. Identical terms, similar features, and similar implementation steps in different embodiments will not be repeated.

[0021] The living space environment optimization method, equipment and medium provided in this application are intended to solve at least one technical problem existing in the prior art.

[0022] Optionally, the residential space environment optimization method of this application can be used in computers, mobile phones, servers, cloud platforms, and other terminals that can calculate the performance level of residential space indicators and generate optimization suggestions based on the performance level.

[0023] Optionally, such as Figure 1 As shown, the method for optimizing the living space environment in this application includes: S101: Obtain the values ​​of the residential space indicators corresponding to the target residential space environment, and obtain the performance level corresponding to the residential space indicators based on the values ​​and preset threshold information.

[0024] Optionally, the values ​​of the living space indicators can be measured values ​​or simulated values. Measured values ​​can be obtained through sensors, or simulated values ​​can be obtained by simulating the target living space environment using an environmental model, with the simulated values ​​based on the simulation results.

[0025] Optionally, the numerical values ​​of the residential space indicators corresponding to the target residential space environment are obtained, including: acquiring values ​​using data collected by sensors installed in the target residential space environment. The categories of residential space environment indicators include at least acoustic environment, light environment, air quality, thermal environment, wind environment, and energy consumption. Specific residential space indicators can be set according to these categories, wherein each category can have at least one residential space indicator, and the type of indicator can be determined according to actual needs and optimization objectives.

[0026] In one embodiment, the categories of living space indicators and the living space indicators used are shown in Table 1.

[0027] Table 1

[0028] Optionally, the preset threshold information is generated based on the evaluation criteria corresponding to the target living space environment. The preset threshold information includes a threshold range, and the threshold ranges are different for different performance levels. The performance level corresponding to the living space index is obtained based on the numerical value and the preset threshold information, including: obtaining the threshold range corresponding to the numerical value, and determining the performance level corresponding to the living space index based on the threshold range.

[0029] In one embodiment, threshold information can be determined based on the classification standards corresponding to the living space indicators (such as national standards GB 50118, GB 50034, GB 50736, GB 3095, etc.), and the performance level can be represented by star ratings. Specifically, the threshold information corresponding to different living space indicators is shown in Table 2: Table 2

[0030] Based on Table 2, the values ​​of each living space indicator are converted into individual performance levels gj∈{3,4,5} (the numbers correspond to three-star, four-star, and five-star) or marked as "unqualified". The original values ​​are also recorded for later use.

[0031] S102: Obtain the indicators of the living space to be optimized based on the performance level, and obtain optimization suggestions based on the preset knowledge graph and the values ​​of the indicators of the living space to be optimized in order to optimize the living space environment.

[0032] Optionally, the performance level of the residential space indicator to be optimized is a preset level. Optimization suggestions are obtained based on a preset knowledge graph and the values ​​of the residential space indicator to be optimized, including: finding the problem corresponding to the value of the residential space indicator to be optimized from the knowledge graph; obtaining the measure-effect pairs associated with the problem according to the graph relationships of the knowledge graph; and generating optimization suggestions based on the measure-effect pairs.

[0033] Optionally, the preset level can be three stars or other levels that require optimization, and the value of the preset level can be determined according to actual needs.

[0034] Optionally, living space indicators with a preset performance level can be identified as bottleneck indicators, and these bottleneck indicators can be placed into a single set, forming a bottleneck indicator set B. This bottleneck indicator set B can be represented as: B = {j| =3}, This represents the j-th performance indicator, i.e., all indicators bordering on three stars (the passing grade). Three stars represent the most cost-effective starting point for improvement (four stars and above usually do not require major modifications, as those failing have already been blocked). Furthermore, when screening for weak indicators, it is also possible to check whether the weak indicator includes a key indicator. If so, the key indicator can be prioritized (e.g., generating optimization suggestions for the key indicator first or placing the corresponding optimization suggestions at the top).

[0035] Optionally, living space indicators with performance levels lower than the preset level can be identified as indicators to be optimized, or when a living space indicator with a performance level lower than the preset level appears, the target living space environment can be determined to be unqualified, and the generation of optimization suggestions can be stopped, or preset optimization suggestions can be output for the living space indicator.

[0036] Optionally, the knowledge graph is generated and updated based on historical practice cases and stores triples consisting of problem, measure, and effect. Specifically, the knowledge graph can be constructed using a graph database (such as Neo4j) to store "problem-measure-effect" triples. The knowledge graph can have problem nodes, measure nodes, and effect nodes. The storage content and examples of different nodes are shown in Table 3. Table 3

[0037] In the knowledge graph, the measure nodes are associated with the problem nodes and the effect nodes, respectively. The sources of knowledge in the knowledge graph can be the indicator limits specified in national standards (such as GB 50118, GB 50034, etc.), the renovation technical parameters in the building physics handbook, the recommended measures of industry standards, and other materials that record the optimization measures corresponding to the indicator values ​​of different living spaces.

[0038] In one embodiment, querying measure-effect pairs using a knowledge graph can be done as follows: Input the value of the bottleneck indicator into the knowledge graph, determine which threshold range the value falls into, and identify the problem node corresponding to that threshold range as the hit problem node. Then, retrieve all measure-effect pairs associated with that problem node along the graph relationships of the knowledge graph. Specifically, when querying using the Cypher graph query language, a query example could be: MATCH (p:Problem)-[r1:HAS_SOLUTION]->(m:Measure)-[r2:HAS_EFFECT]->(e:Effect) Where p. index = "Nighttime noise" AND p. lower limit < 34 ≤ p. upper limit RETURN m. Name AS Measure, m. Cost AS Cost, e. Quantified Value AS Effect Optionally, generating optimization suggestions based on the measure-effect pairs includes: ranking the measure-effect pairs based on the cost and effectiveness of the measures; and outputting optimization suggestions based on the ranking results. The optimization suggestions include the measure name, technical description, cost level, quantified effect, and expected level improvement.

[0039] In one embodiment, a multi-objective ranking algorithm can be used to rank costs and effects, assigning different priorities. Specifically, the first priority is to rank by cost level from low to high (low < medium < high); the second priority is to rank within the same cost level by quantified improvement effect from high to low. After ranking, optimization suggestions are generated based on the ranking results. Specifically, these suggestions can be displayed as a structured list of optimization suggestions. Each suggestion in the list includes: measure name, technical description, cost level, quantified effect, and expected improvement level.

[0040] Optionally, for updating the knowledge graph, practical cases related to the optimization of each living space environment can be recorded. New problem-measure-effect triples are then entered into the knowledge graph using these recorded practical cases. Furthermore, when similar problems occur repeatedly in a certain region, the graph can be expanded with related measures for that problem without modifying the core algorithm of the knowledge graph, demonstrating good scalability.

[0041] Optionally, after obtaining the performance level of the living space indicators, the habitability of the target living space environment can also be evaluated based on the performance level. Therefore, the method of this application further includes: obtaining decision levels according to the performance levels, including the highest level, the lowest level, and the data-driven level; calculating the level of the target living space environment according to the decision levels, thereby achieving a comprehensive evaluation of the overall quality of the living environment.

[0042] Optionally, the highest level reflects the target living space environment's ability to guarantee key indicators (such as health and comfort). Obtaining the highest level includes: identifying key indicators among the living space indicators, including PM2.5, nighttime noise, and temperature; if all performance levels corresponding to the key indicators are qualified, the highest level is determined based on the lowest performance level among those key indicators. If at least one key indicator is unqualified, i.e., the performance level is lower than the preset level, the target living space environment is directly determined to be unqualified and will not be evaluated further. PM2.5, nighttime noise, and temperature are core indicators that directly affect human health and sleep quality; once they reach the "unqualified" threshold, regardless of how excellent other indicators are, they should be rejected outright. If qualified, the highest level is used to constrain the maximum upper limit of the overall star rating to prevent the overall evaluation from being inflated.

[0043] In one embodiment, key indicators include PM2.5 concentration, nighttime noise, and summer indoor temperature. A key indicator set K = {PM2.5, nighttime noise, temperature} is generated based on these key indicators. After obtaining the performance levels of the key indicators, it is checked whether any key indicators are unqualified. If any key indicator is "unqualified," a safety red line mechanism is triggered, directly outputting "unqualified" and terminating the evaluation, while simultaneously issuing a mandatory rectification prompt. If any key indicator is rated three stars, the highest level M is set to 4. If all key indicators achieve a performance level of four stars or higher, the highest level M is set to 5.

[0044] Alternatively, the overall quality of the living environment is constrained by the worst-performing living space indicator (the "weakest link" effect); even if other indicators perform well, they cannot compensate for a major deficiency in one indicator. Therefore, the lowest level is used to identify the weakest link among the indicators, and its value can be the minimum among all living space indicator performance levels, i.e., U = min(g j ), U is the lowest level.

[0045] Optionally, obtaining the data-driven level includes: obtaining the level score corresponding to the performance level, calculating the weight of each living space indicator; calculating the weighted composite score based on the level score and weight; and obtaining the data-driven level based on the value of the weighted composite score.

[0046] In one embodiment, when the performance level is represented as unsatisfactory, three stars, four stars, and five stars, the possible method for setting the level scores is to convert each individual level into a score s. j =g j 2:s j Let g be the score for the j-th living space indicator. That is, three stars = 1 point, four stars = 2 points, and five stars = 3 points. For each living space indicator g participating in the evaluation... j Each of them is calculated separately for its score s.j This yields the fractional vector s = [s1, s2, ..., s]. n ].

[0047] Alternatively, when calculating the weight of each residential space indicator, the weight of each indicator can be determined by a combination weighting method, or by a subjective weighting method, an objective weighting method, or other types of weight calculation methods.

[0048] In one embodiment, the weights w of each indicator are determined using a combined weighting method. j Specifically, it includes: Calculating objective weights (entropy weight method): Collect n residential space indicators from m historical samples and construct a data matrix X. m×n Calculate the information entropy of each residential space indicator. A higher entropy value indicates more dispersed data for that indicator (and a greater contribution to the evaluation's discriminative power). The objective weight calculation formula is:

[0049] In the formula, β j Let e ​​be the objective weight of the j-th residential space indicator. j Let be the information entropy of the j-th residential space indicator. Entropy value. The value of entropy ranges from 0 to 1. The larger the entropy value, the more dispersed the data; the smaller the entropy value, the more concentrated the data (lower discrimination).

[0050] The formula for calculating information entropy can be:

[0051] Where m is the sample size. Let be the weight of the i-th sample on the j-th residential space index. , , Standardize the range of the j-th living space index corresponding to the i-th sample. Let be the value of the j-th residential space index corresponding to the i-th sample. This represents the minimum value of the living space index. This represents the maximum value of the living space index.

[0052] Optionally, a default weight matrix can be set based on the priority ranking of indicators in national standards (GB / T 50378, etc.). This matrix is ​​pre-defined in the configuration parameters. This default weight matrix is ​​used as a temporary initial value only when the historical sample database is empty (cold start of initial deployment). As the number of measured samples accumulates (≥30 samples), it automatically switches to a weight calculation strategy primarily based on objective entropy weighting, and gradually reduces the fusion ratio of the backup initial weights. This initial weight does not rely on any real-time human expert scoring and is a pre-set fixed technical parameter.

[0053] Optionally, when calculating the final weight of the living space index, multiplicative normalization synthesis can be used, with the calculation formula as follows: ; or linear weighting can be adopted, with the calculation formula as follows: + , λ∈[0, 1]. Wherein, is the final weight of the j-th living space index, and the value of λ can be automatically determined by the system according to the sample size m of the current sample database. When m<30 (cold start phase), λ=0.6 (mainly based on the system preset default weight); when 30≤m<100, λ=0.3; when m≥100, λ=0.1 (mainly based on the objective entropy weight method). The size of m corresponding to different values of λ can be determined according to actual needs or user instructions. This adaptive adjustment mechanism requires no manual intervention and is automatically executed by the system according to the degree of data accumulation.

[0054] Optionally, the calculation formula of the weighted score D can be: D= ,

[0055] Optionally, after obtaining the weighted score, the weighted score can be mapped to a data-driven level. Specifically, the mapping relationship is shown in Table 4: Table 4

[0056] Optionally, the highest level, the lowest level and the data-driven level are fused to obtain the level of the target living space. Specifically, the calculation formula for fusion can be: F=min(U,D,M) Wherein, F is the level of the target living space environment. This formula embeds three layers of priority constraints, which is not a simple mathematical minimum. The relevant logic is shown in Table 5: Table 5

[0057] Decision logic: When U<D, it indicates that the "cask effect" is significant, and the level of the target living space environment is first limited by the index of the shortest board; When D≤U, it indicates that the data-driven level has lowered the rating, and the level of the target living space environment is subject to the data-driven level; The final level shall not exceed M locked by the safety red line.

[0058] This mechanism realizes the three-layer coupling of "safety bottom line (hard constraint) - structural short board (cask effect) - overall performance (weighted synthesis)".

[0059] In one embodiment, the target living space environment is a compact two-bedroom house, and the relevant living space indicators for this house are shown in Table 6: Table 6

[0060] Based on the values ​​in Table 6, the performance levels for daytime noise, nighttime noise, illuminance, PM2.5, temperature, wind speed, and energy consumption are determined to be three stars each. The resulting performance level array is g = (3, 3, 3, 4, 3, 4, 4).

[0061] For the key indicators in the living space index, PM2.5 = 4 stars, nighttime noise = 3 stars, and temperature = 3 stars, none of them are unqualified, but there are three-star indicators, so M = 4. Based on the array g = (3, 3, 3, 4, 3, 4, 4), the lowest level U = 3.

[0062] When performing a weighted comprehensive score, the converted grade score s is: s=(1, 1, 1, 2, 1, 2, 2). The combined weight method is used to determine the combined weight corresponding to each indicator. The set of these combined weights is w=[0.15, 0.10, 0.05, 0.35, 0.15, 0.10, 0.10], where PM2.5 has the highest weight, reflecting a health-first approach. The weighted comprehensive score S=0.15×1+0.10×1+0.05×1+0.35×2+0.15×1+0.10×2+0.10×2=1.55. Since 1.55∈[1.5, 2.3), D=4 stars.

[0063] Based on F=min(U=3, D=4, M=4), we know that F=3, and the target living space environment level is three stars.

[0064] Based on the performance levels mentioned above, a set of short-board indicators, B, can be obtained. This set of indicators is defined as: B = {Daytime noise (3 stars), Nighttime noise (3 stars), Illuminance (3 stars), Temperature (3 stars)}. The key indicator warning K~warn~ = {Nighttime noise (3 stars), Temperature (3 stars)}. A query is performed based on the measured values ​​of the corresponding indicators in this set of indicators and the knowledge graph. The measured value of nighttime noise matches the threshold range of "33 < measured value ≤ 37" in the "Nighttime noise" problem node, thus identifying a "Slightly Exceeding Nighttime Noise Standard" node. Based on this node, related measures are retrieved along the edges. The retrieval results are shown in Table 7. Table 7

[0065] Similarly, when querying the illuminance (120lx < 150lx), the optimization suggestion is: add LED lights and intelligent dimming (cost: low, effect: increase to 200lx).

[0066] The temperature readings (27.0℃ > 26.5℃) suggest the following optimization: Add external sunshade roller blinds (cost: medium, effect: temperature reduction of 1-2℃). The final optimization suggestions are sorted and output, and the results are shown in Table 8: Table 8

[0067] Based on the above optimization suggestions, a comprehensive recommendation is generated, which can be: "Prioritize low-cost measures: install door and window sealing strips + add LED lights. The total renovation cost is estimated to be about 2,000-3,000 yuan. After the renovation, the weighted comprehensive score (S) is expected to increase to 1.85, and the overall star rating is expected to increase from three stars to four stars. If the budget allows, it is recommended to install external sunshade roller blinds to improve the summer heat environment."

[0068] In one embodiment, the residential space indicators of a residence are tested. Based on the measured values, the PM2.5 level of the residence is determined to be 80 μg / m³, while other indicators are normal. Judgment: PM2.5 level is "unqualified" (exceeding the three-star limit of 75 μg / m³), triggering a veto. The evaluation result of the residence can be directly output: Overall evaluation: Unqualified. Safety red line warning: Indoor PM2.5 concentration seriously exceeds the standard (80>75 μg / m³), posing a direct threat to the respiratory health of residents. Mandatory recommendation: A high-efficiency fresh air purification system must be installed immediately (cost: medium to high; effect: PM2.5 can be reduced to below 35 μg / m³). Occupancy is not recommended before this is completed.

[0069] In one embodiment, the problem of "excessive indoor humidity" was frequently detected in multiple residential evaluation cases in a coastal city, but there are currently no corresponding humidity improvement measures in the knowledge graph.

[0070] The following expansion operations can be performed on knowledge graphs: 1. Added a new issue node: {Indicator: "Indoor Humidity", Lower Limit: 70, Upper Limit: 100, Tag: "Severely Exceeded"}; 2. New Measure Node: {Name: "Install Dehumidifier", Cost: "Medium", Cycle: "1 day"}; 3. New Measure Node: {Name: "Enhance Natural Ventilation", Cost: "Low", Duration: "Immediate"}; 4. Added a new effect node: {Quantization value: "Humidity drops below 60%"}; 5. Establish relationships: (Problem) - [HAS_SOLUTION] -> (Measure) - [HAS_EFFECT] -> (Effect).

[0071] In the next evaluation: if the measured humidity of a residence is 75%, the above-mentioned new measures will be automatically retrieved and suggestions will be output.

[0072] Compared with the prior art, this application has the following advantages: 1. Forming a decision-making closed loop of "evaluation-diagnosis-optimization": Unlike existing technologies, this invention is the first to achieve a seamless connection from "identifying problems (diagnosing shortcomings)" to "solving problems (automatically retrieving transformation solutions and quantifying effects)," filling the technical gap between evaluation results and actual transformation implementation.

[0073] 2. A three-tiered integrated decision-making mechanism that combines rigidity and flexibility: Through a three-tiered architecture of "safety bottom line veto (M) + weakest link effect (U) + overall weighted scoring (D)," the three are coupled by a nested minimization function F= min(U, D, M). This mechanism not only forces compliance with health and safety red lines but also takes into account structural weakness constraints and overall performance. Compared with simple weighted summation or simply focusing on the weakest link, this mechanism is more scientific and robust.

[0074] 3. Deep alignment with national standards: Multi-level thresholds directly reference or refer to standards such as GB 50118, GB 50034, GB50736, and GB 3095 to ensure the authority and industry recognition of the evaluation results.

[0075] 4. Objectivity and Dynamic Adaptability: Weight calculation primarily utilizes the objective entropy weighting method. The system automatically adjusts the fusion coefficient based on the sample size, without relying on real-time expert scoring. Fixed national standard priority parameters are used only as temporary initial values ​​during the cold start phase, and their influence is automatically reduced after sample accumulation. The weight matrix automatically evolves with data accumulation, avoiding inconsistencies in evaluation standards caused by expert changes or regional variations in traditional AHP methods. The knowledge graph can be continuously expanded, making it suitable for different climate zones and housing types.

[0076] Based on the same inventive concept, this application also proposes an electronic device, please refer to [link to relevant documentation]. Figure 4 , Figure 4 This is a structural diagram of an electronic device provided in an embodiment of this application. (In conjunction with...) Figure 4 The electronic device described in this application is described in detail.

[0077] In this embodiment, the smart terminal includes a processor and a memory. The processor and the memory are communicatively connected. The memory stores program data, which is used to execute the method described in the above embodiment.

[0078] In this embodiment, the processor is the control center of the smart terminal. It connects various parts of the smart terminal via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory, and by calling data stored in the memory, thereby providing overall monitoring of the smart terminal. Optionally, the processor may include one or more processing units; preferably, the processor may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into the processor.

[0079] The smart terminal also includes a power supply (such as a battery) to power various components. Preferably, the power supply can be connected to the processor logic through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.

[0080] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing of the smart terminal by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area. The program storage area can store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area can store data created according to the use of the smart terminal (such as audio data, phone book, etc.). In addition, the memory can include high-speed random access memory, and can also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0081] Based on the same inventive concept, this application also proposes a computer-readable storage medium, please refer to [link to relevant documentation]. Figure 5 , Figure 5 This is a structural diagram of an embodiment of the computer-readable storage medium of this application, in conjunction with... Figure 5 The computer-readable storage medium of this application is described.

[0082] In this embodiment, a computer-readable storage medium stores a computer program that is used to perform the methods described in the above embodiments.

[0083] The computer-readable storage medium may include, but is not limited to, floppy disks, optical disks, CD-ROMs (compact disc-read-only memory), magneto-optical disks, ROMs (read-only memory), RAMs (random access memory), EPROMs (erasable programmable read-only memory), EEPROMs (electrically erasable programmable read-only memory), magnetic cards or optical cards, flash memory, or other types of media / machine-readable media suitable for storing machine-executable natural language instructions. The computer-readable storage medium may be a product not connected to a computer device or a component used in a computer device.

[0084] The terms "first," "second," "third," "fourth," "1," "2," etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in a sequence other than that shown in the illustrations or text descriptions.

[0085] It should be understood that although arrows indicate various operation steps in the flowcharts of this application's embodiments, the order in which these steps are implemented is not limited to the order indicated by the arrows. Unless explicitly stated herein, in some implementation scenarios of this application's embodiments, the implementation steps in each flowchart can be executed in other orders as required. Furthermore, some or all steps in each flowchart, based on the actual implementation scenario, may include multiple sub-steps or multiple stages. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage can also be executed at different times. In scenarios where execution times differ, the execution order of these sub-steps or stages can be flexibly configured according to requirements, and this application's embodiments do not limit this.

[0086] The above description is only an optional implementation method for some implementation scenarios of this application. It should be noted that for those skilled in the art, other similar implementation methods based on the technical concept of this application without departing from the technical concept of this application also fall within the protection scope of the embodiments of this application.

Claims

1. A method for optimizing the living space environment, characterized in that, The method includes: Obtain the values ​​of the residential space indicators corresponding to the target residential space environment, and obtain the performance level corresponding to the residential space indicators based on the values ​​and preset threshold information; Based on the performance level, the indicators of the living space to be optimized are obtained. Based on the preset knowledge graph and the values ​​of the indicators of the living space to be optimized, optimization suggestions are obtained to optimize the living space environment. The knowledge graph is generated and updated based on historical practice cases and stores triplets consisting of problems, measures, and effects.

2. The method for optimizing the living space environment according to claim 1, characterized in that, Obtain the numerical values ​​of the residential space indicators corresponding to the target residential space environment, including: The values ​​are obtained by collecting data from sensors installed in the target living space environment. The categories of living space environment indicators include sound environment, light environment, air quality, thermal environment, wind environment, and energy consumption.

3. The method for optimizing the living space environment according to claim 2, characterized in that, The preset threshold information is generated based on the evaluation criteria corresponding to the target living space environment. The preset threshold information includes a threshold range, and the threshold range is different for different performance levels. Based on the stated values ​​and preset threshold information, the performance level corresponding to the living space index is obtained, including: Obtain the threshold range corresponding to the value, and determine the performance level corresponding to the living space index based on the threshold range.

4. The method for optimizing the living space environment according to claim 1, characterized in that, The performance level of the residential space indicator to be optimized is a preset level. The step of obtaining optimization suggestions based on the preset knowledge graph and the values ​​of the residential space indicator to be optimized includes: The question is to find the corresponding value of the living space indicator to be optimized from the knowledge graph. Based on the graph relationships of the knowledge graph, obtain the measure-effect pairs associated with the problem; Based on the aforementioned measures and their effects, optimization suggestions are generated.

5. The method for optimizing the living space environment according to claim 4, characterized in that, The generation of optimization suggestions based on the measure-effect pair includes: The measures-effect pairs are ranked based on their cost and effectiveness. Based on the ranking results, optimization suggestions are output, which include the measure name, technical description, cost level, quantified effect, and expected level improvement.

6. The method for optimizing the living space environment according to claim 1, characterized in that, The method includes: Decision levels are obtained based on the performance levels, including the highest level, the lowest level, and the data-driven level. The level of the target living space environment is calculated based on the decision level.

7. The method for optimizing the living space environment according to claim 6, characterized in that, The highest level of acquisition includes: The key indicators in the living space index are determined, including PM2.5, nighttime noise, and temperature; If it is determined that the performance levels corresponding to the key indicators are all qualified, then the highest level is determined based on the lowest level among the performance levels corresponding to the key indicators.

8. The method for optimizing the living space environment according to claim 6, characterized in that, The acquisition of the data-driven level includes: Obtain the grade score corresponding to the performance level, and calculate the weight of each living space indicator; Calculate the weighted composite score based on the grade score and the weight; The data-driven level is obtained based on the weighted composite score.

9. An electronic device, characterized in that, The method includes a processor and a memory, the processor being communicatively connected to the memory, the memory storing program data, and the program data being used to execute the method as described in any one of claims 1-8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is used to perform the method as described in any one of claims 1-8.