In-vehicle air quality control method, server, medium and program product
By establishing an in-vehicle air prediction model and controlling the air purification device in combination with real-time data, the problem of difficulty in accurately and dynamically optimizing the in-vehicle air quality in the existing technology is solved, and intelligent regulation and stable compliance of the in-vehicle air quality are achieved.
Patent Information
- Application Number
- CN202411735576.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-07
AI Technical Summary
The existing in-vehicle air purification system is difficult to optimize air quality accurately and dynamically, and lacks comprehensive considerations for vehicle use and complex environmental factors.
By obtaining the vehicle's historical usage data and environmental data, establishing an in-vehicle air prediction model, controlling the air purification device with real-time data, and dynamically adjusting the purification intensity to adapt to changes in air quality.
It has realized intelligent regulation and purification devices based on the actual situation of the vehicle, ensure that the air quality in the vehicle is stable and meets the standards, reduce the potential harm of harmful gases and pollutants to human health, and improve the respiratory health experience of the people in the vehicle.
Smart Images

Figure CN119388965A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle environment control, and in particular to a method, server, medium and program product for controlling the air quality inside a vehicle. Background Art
[0002] In modern society, cars have become one of the main means of transportation for people's daily travel. People spend more and more time in cars, and the impact of in-car air quality on the health and comfort of drivers and passengers is becoming increasingly prominent. A good in-car air environment can reduce the risk of disease and improve the mental state and travel satisfaction of drivers and passengers. Therefore, the control of in-car air quality has become an important research direction in the automotive field.
[0003] At present, the air quality control in the car is mainly achieved by installing air quality sensors in the car to monitor the relevant indicators of the air quality in the car in real time, such as the concentration of harmful gases and particulate matter. When the air quality indicators are monitored to exceed the preset fixed threshold, the air purification device is automatically started to purify the air, and the purification stops when the indicators return to the threshold range.
[0004] Currently, most existing methods are based on fixed thresholds and simple sensor feedback, lacking comprehensive consideration of vehicle usage and complex environmental factors, making it difficult to achieve accurate and dynamic air quality control. Summary of the invention
[0005] The present application provides a method, server, medium and program product for controlling the air quality in a vehicle, which are used to comprehensively and intelligently monitor, predict and optimize the air quality in a vehicle, and effectively solve the problem that traditional in-vehicle air purification systems are difficult to accurately and dynamically optimize the air quality.
[0006] In the first aspect, the present application provides a method for controlling the air quality in a vehicle, which is applied to a server, and the method includes: obtaining historical air data of the vehicle under different historical usage data and historical usage environment data, the usage environment historical data including environmental characteristics corresponding to the historical routes of the vehicle; establishing an in-vehicle air prediction model based on multiple historical usage data, the historical usage environment data and the in-vehicle air prediction model; after receiving an instruction from a user to start air quality optimization, obtaining current usage environment data through a sensor pre-set on the target vehicle, and obtaining current usage data of the target vehicle through an existing vehicle-mounted device; inputting the current usage environment data and the current usage data into the in-vehicle air prediction model to obtain current in-vehicle air data; if the current in-vehicle air data is lower than a preset air quality standard, controlling the air purification device to purify the in-vehicle air so that the current in-vehicle air data meets the air quality standard.
[0007] By adopting the above technical solution, the air conditions inside the car can be accurately predicted based on the vehicle's historical and real-time conditions, and the purification device can be started in time to effectively ensure the air quality inside the car, reduce the potential harm of harmful gases and pollutants in the car to human health, and improve the respiratory health experience of people in the car.
[0008] In combination with some embodiments of the first aspect, in some embodiments, if the current in-vehicle air data is lower than a preset air quality standard, the steps of controlling the air purification device to purify the in-vehicle air so that the current in-vehicle air data meets the air quality standard specifically include: determining the air quality difference between the current in-vehicle air data and the air quality standard; determining the air purification intensity level according to the size of the air quality difference; controlling the air purification device to operate according to the air purification intensity level corresponding to the current in-vehicle air data; monitoring the current in-vehicle air data in real time through a sensor, and dynamically adjusting the purification intensity according to the air quality difference.
[0009] By adopting the above technical solution, the difference between the current in-car air data and the air quality standard is determined, and the purification intensity level is determined accordingly, so that the purification device can operate according to the level and monitor and adjust in real time. Determining the level by the difference can allocate purification resources in a targeted manner to avoid excessive or insufficient purification. Real-time monitoring and adjustment can adapt to the dynamic changes of the air in the car, always maintain high purification efficiency, quickly and accurately improve the air quality in the car to the qualified standard, and maintain a good air environment in the car.
[0010] In combination with some embodiments of the first aspect, in some embodiments, after the step of monitoring the current in-vehicle air data in real time through a sensor and dynamically adjusting the purification intensity according to the air quality difference, it also includes: setting a time interval to obtain the energy status of the target vehicle; adjusting the purification intensity according to the energy status.
[0011] By adopting the above technical solutions, considering the energy status can prevent the purification device from excessive energy consumption and affecting the normal operation of the vehicle. While ensuring that the air quality in the car meets the standard, the vehicle energy is reasonably allocated, and the purification effect is balanced with energy-related performance such as vehicle endurance, ensuring that the vehicle achieves optimized purification of the air in the car under the premise of stable overall performance.
[0012] In combination with some embodiments of the first aspect, in some embodiments, after the step of inputting the current usage environment data and the current usage data into the in-vehicle air prediction model to obtain the current in-vehicle air data, it also includes: associating the current in-vehicle air data with the location information of the target vehicle; when it is detected that the current in-vehicle air data corresponding to multiple vehicles in the same set area shows a preset adverse trend, it is judged that there is an environmental problem in the set area; and sending a regional air quality warning report to the environmental management end through a set channel.
[0013] By adopting the above technical solutions, the air data association based on the vehicle location can realize the monitoring and analysis of regional air quality, timely discover regional environmental problems, and prompt the environmental management end to intervene through early warning reports, which helps to improve the environment at the regional level and reduce the adverse effects of external environmental factors on the air quality inside the vehicle.
[0014] In combination with some embodiments of the first aspect, in some embodiments, after receiving an instruction from the user to start air quality optimization, the current usage environment data is obtained through sensors pre-installed on the target vehicle, and before the step of obtaining the current usage data of the target vehicle through an existing vehicle-mounted device, it also includes: obtaining the air quality requirement information set by the user through the vehicle-mounted control panel, and the vehicle-mounted control panel is also used to display the current air data in the vehicle; determining the air quality standard based on the air quality requirement information.
[0015] By adopting the above technical solutions, users can set standards according to their own needs, making air quality control more personalized. The in-vehicle control panel can also display current air data, allowing users to intuitively understand the air quality status in the car, enhance users' perception and control of the in-vehicle environment, improve users' satisfaction and participation in in-vehicle environment control, and optimize user experience.
[0016] In combination with some embodiments of the first aspect, in some embodiments, after the step of inputting the current usage environment data and the current usage data into the in-vehicle air prediction model to obtain the current in-vehicle air data, it also includes: determining the composition of air pollutants in the vehicle based on the current in-vehicle air data; if it is determined through a sensor that there are harmful gases under set conditions in the air pollutant composition, then it is determined that there is an air pollution source in the vehicle, and the set condition means that the gas concentration of the harmful gas is higher than a preset threshold and the duration exceeds a preset time; and a pollution source investigation warning message is sent to the vehicle control panel to prompt the user to check whether there is a pollution source in the items in the vehicle.
[0017] By adopting the above technical solutions, the pollutant composition can be determined to accurately locate the root cause of air problems, and abnormal harmful gases can be found to promptly prompt users to check items in the car. This helps to quickly eliminate the source of air pollution in the car, improve air quality from the source, reduce the continuous generation of harmful gases, ensure the long-term good quality of air in the car, and reduce the risk of air pollution in the car to people's health.
[0018] In combination with some embodiments of the first aspect, in some embodiments, if the current in-vehicle air data is lower than a preset air quality standard, then after the step of controlling the air purification device to purify the in-vehicle air, it also includes: after determining the changes in the in-vehicle air data in different time periods during the purification process, evaluating the purification effect of the air purification device according to the changes in the in-vehicle air data; if the purification effect does not meet the preset standard, controlling the adjustment of the purification parameters of the air purification device.
[0019] By adopting the above technical solutions, the evaluation of purification effect can intuitively understand the working efficiency of the device, and the evaluation of the change of purification process data can accurately find out the links where purification is insufficient. Adjusting the purification parameters can optimize the operation of the device in a targeted manner, improve the adaptability and purification capacity of the purification device to different in-car air conditions, and ensure the effectiveness and stability of in-car air purification.
[0020] In a second aspect, the present application provides a server, comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to cause the server to execute the method described in the first aspect and any possible implementation of the first aspect.
[0021] In a third aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on a server, causes the server to execute the method described in the first aspect and any possible implementation of the first aspect.
[0022] In a fourth aspect, the present application provides a computer program product, which, when executed on a server, enables the server to execute the method described in the first aspect and any possible implementation manner of the first aspect.
[0023] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. The technology uses a prediction model for in-car air quality based on historical vehicle usage data and environmental data, and controls the air purification device based on real-time data and model prediction results. This effectively solves the problem of the inability to accurately predict changes in in-car air quality in the prior art, resulting in untimely purification. This technology achieves the technical effect of intelligently adjusting the purification device according to the actual situation of the vehicle, ensuring that the in-car air quality is stable and meets the standards, reducing the potential harm of harmful gases and pollutants in the car to human health, and improving the respiratory health experience of people in the car.
[0024] 2. Since the purification intensity level is determined based on the difference between the in-car air data and the air quality standard, and combined with real-time monitoring and dynamic adjustment, the problem of fixed air purification intensity in the existing technology and inability to adapt to the dynamic changes in the in-car air quality is effectively solved, and the targeted allocation of purification resources, efficient and accurate improvement of the in-car air quality and maintenance of stable technical effects are achieved, avoiding excessive or insufficient purification and maintaining a good in-car air environment.
[0025] 3. Since the technical means of determining the pollutant composition based on the in-vehicle air data and judging the pollution source based on the concentration and duration of harmful gases, and then issuing a warning, it effectively solves the problem of the existing technology that it is difficult to quickly locate the source of in-vehicle air pollution, and thus achieves the technical effect of accurately checking the source of pollution and fundamentally improving the air quality, reducing the continuous generation of harmful gases, ensuring the long-term excellent quality of the air in the car, and reducing the risk of in-vehicle air pollution to personnel health. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 is a flow chart of a method for controlling the air quality in a vehicle in an embodiment of the present application; Figure 2 is another flow chart of the method for controlling the air quality in a vehicle according to an embodiment of the present application; Figure 3 It is a schematic diagram of a physical device structure of a server in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items.
[0028] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0029] For ease of understanding, the following is a description of the process of the method provided by this implementation. Figure 1 , which is a flow chart of a method for controlling the air quality in a vehicle in an embodiment of the present application.
[0030] S101, obtaining historical air data of the vehicle under different historical usage data and historical usage environment data, where the usage environment historical data includes environmental characteristics corresponding to the vehicle's historical driving route; In this step, the server first needs to establish a connection with the relevant data storage system of the vehicle to obtain the historical air data of the vehicle under different historical usage data and historical usage environment data. Specifically, the server will extract historical usage data from the vehicle's driving computer system, which includes information such as the vehicle's driving time and the use of the vehicle's air conditioner. These data can reflect the operation of the vehicle under different driving conditions and are of great significance for analyzing the changes in the air quality in the car. At the same time, the server will also obtain the environmental characteristics corresponding to the vehicle's historical driving route as historical usage environment data. To achieve this, the server can be integrated with the vehicle's navigation system to obtain the route information that the vehicle has passed during past driving. Then, through data sharing with environmental monitoring agencies or other relevant data sources, environmental characteristic data on these routes, such as air quality index, temperature, humidity, air pressure, pollutant concentration, etc., are obtained. In order to ensure the accuracy and completeness of the acquired data, the server can use data cleaning and preprocessing technology. In addition, the server can also classify and organize the acquired data so that the data can be used more efficiently when the in-vehicle air prediction model is established later. In the process of acquiring historical air data, the server can also consider factors such as the age of the vehicle, vehicle model, and vehicle maintenance record. Vehicles of different ages and models may have different in-car air quality conditions, and the vehicle's maintenance record can reflect the vehicle's health and may also have an impact on the in-car air quality. By comprehensively considering these factors, the server can obtain more comprehensive and accurate historical air data, laying the foundation for establishing an accurate in-car air prediction model.
[0031] S102, establishing an in-vehicle air prediction model according to the plurality of historical usage data, the historical usage environment data and the in-vehicle air prediction model; After obtaining the historical usage data and historical usage environment data of the vehicle, the server begins to build an in-car air prediction model. First, the server performs feature engineering on the data. This includes standardizing, normalizing, and discretizing the data to ensure comparability between different features and reduce the dimension of the data. Then, the server selects a suitable machine learning algorithm to build the model. Considering that the in-car air quality is affected by a variety of factors and there may be nonlinear relationships between the data, the neural network algorithm is a more appropriate choice. The server can build a multi-layer perceptron neural network model, which includes an input layer, several hidden layers, and an output layer. The number of nodes in the input layer corresponds to the number of features after feature engineering, and the number of nodes in the output layer is the number of in-car air quality indicators to be predicted (such as harmful gas concentration, particulate matter concentration, etc.). In the model training stage, the server divides the processed historical data into a training set and a validation set. The neural network model is trained using the training set, and the weights and biases of the model are continuously adjusted through the back propagation algorithm to minimize the error between the predicted value and the actual value. After multiple iterations of training, when the performance of the model on the validation set reaches a certain standard, the training is stopped and the model is saved. The server can use some evaluation indicators such as mean square error, mean absolute error, etc. to evaluate the performance of the model.
[0032] S103, after receiving the air quality optimization start instruction from the user, obtaining the current use environment data through the sensor pre-set on the target vehicle, and obtaining the current use data of the target vehicle through the existing vehicle-mounted device; When the server receives the user's instruction to start air quality optimization, it quickly starts the data acquisition process. A variety of sensors are pre-set on the target vehicle to obtain the current usage environment data. For example, the temperature sensor monitors the temperature in the car in real time, the humidity sensor measures the humidity, the air quality sensor detects the concentration of various harmful gases (such as carbon monoxide, carbon dioxide, formaldehyde, etc.) and particulate matter, and the GPS sensor obtains the current location information of the vehicle. These sensors send the collected data to the server through the vehicle communication network. At the same time, the server obtains the current usage data of the target vehicle through the existing vehicle-mounted devices. The vehicle-mounted devices include the vehicle's on-board computer system, air conditioning system, etc. The server communicates with the on-board computer system to obtain the vehicle's current driving status data, such as vehicle speed, fuel consumption, etc. Communicate with the air conditioning system to obtain the operating status of the air conditioning, such as air conditioning mode (cooling, heating, ventilation, etc.), wind speed, temperature setting, etc.
[0033] To ensure the accuracy and timeliness of the data, the server processes and verifies the received data in real time. For abnormal data, the server will identify and remove it. For example, if the data sent by a sensor exceeds the reasonable range, the server will regard it as abnormal data and handle it accordingly.
[0034] In some embodiments, the user can conveniently set the desired air quality requirement information through the vehicle control panel, such as setting the desired concentration of harmful gases in the car to be lower than a certain value, or the desired air quality index in the car to reach a certain level. At the same time, the vehicle control panel also has the function of displaying the current air data in the car. It can display various air data such as temperature, humidity, concentration of harmful gases, concentration of particulate matter, etc. in the car to the user in real time, so that the user can intuitively understand the current air quality status in the car. Then, the server will determine the specific air quality standard according to the air quality requirement information set by the user on the vehicle control panel. This standard will serve as the basis for subsequent judgment of whether the air quality in the car meets the standard. If the current air data in the car does not meet the requirements set by the user, that is, it is lower than the determined air quality standard, the server will start the corresponding control measures, such as controlling the air purification device to purify the air in the car to meet the user's expectations for air quality, thereby providing a more comfortable and healthy in-car environment.
[0035] S104, inputting the current use environment data and the current use data into the in-vehicle air prediction model to obtain current in-vehicle air data; After obtaining the current use environment data and current use data of the target vehicle, the server starts to predict the in-car air data. First, the server will preprocess the input data to make it meet the input requirements of the in-car air prediction model. Then, the server inputs the preprocessed data into the in-car air prediction model. The model predicts the current in-car air conditions based on the previously established algorithm and trained parameters. Taking the neural network model as an example, the data will be transferred and calculated between the layers of the model, and through the action of the activation function, the predicted in-car air data, such as the concentration prediction values of various harmful gases and the concentration prediction values of particulate matter, will be output eventually. Before inputting the data into the model, the server can dynamically adjust and optimize the input data according to the real-time status and environmental conditions of the vehicle. For example, when the vehicle is in a high-speed driving state, the flow rate and pressure of the outside air will have a greater impact on the air quality in the car. The server can make corresponding corrections to the input environmental data according to information such as vehicle speed and wind direction. For another example, when it is detected that there are more passengers in the car, the content of gases such as carbon dioxide exhaled by the human body will increase. The server can adjust the relevant data according to the number of passengers to improve the accuracy of the model prediction. In addition, the server can also introduce real-time meteorological data as auxiliary input. Through the data interface with the meteorological department, the meteorological information of the current vehicle location, such as temperature, air pressure, humidity, wind speed, wind direction, etc., can be obtained. These meteorological data can help the model more accurately predict the changing trend of the air quality in the car. For example, under high temperature and high humidity weather conditions, the volatile organic compounds (VOCs) in the car may evaporate faster. By combining meteorological data, the model can better predict the concentration changes of VOCs in the car.
[0036] In some embodiments, after obtaining the current in-car air data of the target vehicle, the server will associate it with the location information of the target vehicle. This association can be achieved through the vehicle's positioning system (such as GPS) to ensure that each set of in-car air data can accurately correspond to the geographical location of the vehicle. Then, the server will continue to monitor the current in-car air data of multiple vehicles in a certain area. When it is found that the current in-car air data corresponding to multiple vehicles in the same set area presents a preset bad trend, such as a general increase in the concentration of harmful gases, a continuous increase in the concentration of particulate matter, etc., the server will determine that there is an environmental problem in the set area. In order to take measures to solve the problem in time, the server will send a regional air quality warning report to the environmental management end through a set channel. This set channel can be a network communication interface, and the warning report is sent to the relevant environmental management department or platform in the form of data. After receiving the warning report, the environmental management end can further investigate and analyze the environment of the area to find out the reasons for the decline in air quality, such as whether there are pollution sources nearby, whether the traffic conditions are abnormal, etc., and then take corresponding measures to improve, such as strengthening environmental monitoring, controlling pollution sources, adjusting traffic flow, etc., so as to ensure the in-car air quality of vehicles in the area and the overall environmental quality.
[0037] In some embodiments, after obtaining the current in-car air data, the server will conduct an in-depth analysis to determine the composition of the air pollutants in the car. This process may involve the detection and identification of various gas concentrations and particulate matter components. When the sensor determines that there are harmful gases with set conditions in the air pollutant components, that is, the gas concentration of these harmful gases is higher than the preset threshold, and this high concentration state lasts for more than the preset time, the server will determine that there is an air pollution source in the car. In order to enable users to take timely measures to solve the problem, the server will send a pollution source investigation warning message to the vehicle control panel. After receiving the information, the vehicle control panel will prompt the user to check whether there is a pollution source in the items in the car in an intuitive way, such as by displaying text prompts, emitting warning sounds, etc. According to the prompts, the user can carefully check whether there are items in the car that may release harmful gases, such as chemicals, spoiled food, etc., and deal with them in time, thereby effectively eliminating the source of air pollution in the car and ensuring the air quality in the car.
[0038] S105: If the current in-vehicle air data is lower than a preset air quality standard, control the air purification device to purify the in-vehicle air so that the current in-vehicle air data meets the air quality standard.
[0039] When the server obtains the current in-car air data, it will compare it with the preset air quality standard. If the current in-car air data is lower than the preset standard, the server immediately starts the control program of the air purification device. The server first determines the appropriate purification strategy based on the specific situation of the current in-car air quality. For example, if the concentration of harmful gases exceeds the standard by a large amount, a high-intensity purification mode may be required; if the concentration of particulate matter is only slightly exceeded, a relatively low-intensity purification mode can be selected. The server sends control instructions to the air purification device by communicating with the vehicle's control system. After receiving the instructions, the air purification device starts the corresponding purification function as required, such as turning on the air filter, starting the negative ion generator, adjusting the air circulation mode, etc.
[0040] During the purification process, the server continuously monitors the changes in the air data in the car and adjusts the operating parameters of the purification device according to the real-time data. For example, if it is found that the concentration of harmful gases decreases slowly, the power of the purification device can be appropriately increased; if the air quality in the car has been significantly improved, the operating intensity of the purification device can be reduced to save energy. In order to achieve more accurate and efficient air purification, the server can control the air purification device according to the differences in air quality in different areas of the car. By setting sensors at different locations in the car, air data from each area is obtained. After analyzing these data, the server determines which areas have poor air quality, and then controls the air purification device to deliver more purified air to these areas in a targeted manner to improve the overall purification effect. The server can also combine the vehicle's driving route and destination information to predict the changing trend of the air quality in the car in advance, and start the air purification device in advance for pretreatment if necessary. For example, if the vehicle is about to enter a severely polluted area, the server can increase the operating intensity of the purification device in advance to ensure that the air quality in the car is always maintained at a good level.
[0041] During the in-car air purification process, the server will continuously monitor and record the changes in in-car air data at different time periods. For example, the values of key indicators such as harmful gas concentration and particulate matter concentration in the car are recorded at regular intervals. Then, the purification effect of the air purification device is evaluated based on the changes in these in-car air data. If the concentration of harmful gases and particulate matter decreases significantly over time, and the downward trend is in line with expectations, it means that the purification effect is good; conversely, if these indicators decrease slowly or do not change significantly, it may mean that the purification effect is not good. When the evaluation finds that the purification effect does not meet the preset standards, the server will take measures to control and adjust the purification parameters of the air purification device. These parameters may include the wind speed of the air filter, the adsorption capacity of the activated carbon adsorption module, the power of the negative ion generator, etc. By adjusting these parameters, the air purification device can play a better role and improve the purification efficiency to achieve the preset purification standards and ensure that the air quality in the car can meet the requirements.
[0042] In the embodiment of the present application, since a method is adopted for collecting multi-dimensional historical data of the vehicle to establish a prediction model and combining real-time data to accurately control the air purification device, it is possible to comprehensively and intelligently monitor, predict and optimize the air quality in the vehicle, effectively solving the problem that traditional air purification systems in the vehicle are difficult to accurately and dynamically optimize the air quality, and then realizing the intelligent control of the purification device according to the actual situation of the vehicle, ensuring that the air quality in the vehicle is stable and meets the standards, reducing the potential harm of harmful gases and pollutants to human health, and improving the respiratory health experience of people in the vehicle.
[0043] After combining the above content, the following is a more detailed description of the process of the method provided by this implementation. Figure 2 , is another flow chart of the method for controlling the air quality in a vehicle in an embodiment of the present application.
[0044] S201, determining the air quality difference between the current in-vehicle air data and the air quality standard; When the server obtains the current in-car air data, it must first determine the difference between it and the preset air quality standard. The server will compare each indicator in the current in-car air data (such as harmful gas concentration, particulate matter concentration, etc.) with the corresponding air quality standard one by one. Taking the concentration of harmful gases as an example, assuming that the preset carbon monoxide concentration standard is no more than 10 mg per cubic meter, and the current carbon monoxide concentration in the car is 15 mg per cubic meter, then the air quality difference of carbon monoxide is 15-10=5 mg per cubic meter. For other air quality indicators, such as carbon dioxide concentration, formaldehyde concentration, particulate matter concentration, etc., the difference is calculated in the same way. The server will organize and record these differences for use in subsequent steps. In order to ensure the accuracy of the difference calculation, the server will re-verify and calibrate the current in-car air data before making a comparison. If anomalies or errors are found in the data, they will be corrected or re-acquired in a timely manner.
[0045] When determining the air quality difference, the server can consider the mutual influence between different air quality indicators. For example, some harmful gases may react with each other under certain conditions, thereby affecting the degree of harm to human health. The server can analyze the correlation between these indicators by establishing a mathematical model or using a machine learning algorithm, and adjust the difference based on the correlation. This can more accurately reflect the actual situation of the air quality in the car and provide a more scientific basis for subsequent purification control.
[0046] The server can also make personalized adjustments to the air quality standards based on the vehicle's usage scenario and the user's health status. For example, for vehicles with children or the elderly, the air quality standards can be appropriately raised; for users who work in the car for a long time, more stringent air quality standards can also be formulated based on their working environment and physical condition. Through personalized standard adjustments, it can better meet the needs of users and improve the effect of in-car air quality control.
[0047] S202, determining the air purification intensity level according to the air quality difference; According to the calculated air quality difference, the server needs to determine the corresponding air purification intensity level. The server can pre-set the correspondence between different air quality difference ranges and air purification intensity levels. For example, when the air quality difference is small, such as the harmful gas concentration exceeds the standard by less than 10%, and the particulate matter concentration exceeds the standard by less than 15%, the air purification intensity level can be set to low intensity; when the air quality difference is at a medium level, such as the harmful gas concentration exceeds the standard by 10%-30%, and the particulate matter concentration exceeds the standard by 15%-35%, the air purification intensity level is set to medium intensity; when the air quality difference is large, such as the harmful gas concentration exceeds the standard by more than 30%, and the particulate matter concentration exceeds the standard by more than 35%, the air purification intensity level is set to high intensity. The server determines the corresponding air purification intensity level by judging the range to which the current air quality difference belongs. This grading method based on the size of the difference can reasonably allocate purification resources and improve purification efficiency according to the actual situation of the air quality in the car.
[0048] In order to determine the air purification intensity level more flexibly, the server can introduce a dynamic adjustment mechanism. In addition to considering the size of the air quality difference, a comprehensive judgment can also be made based on factors such as the number of people in the car, the vehicle's driving speed, and the external environmental conditions. For example, when there are many people in the car, even if the air quality difference is small, the air purification intensity level can be appropriately increased to ensure that the air quality in the car can meet the needs of everyone; when the vehicle is driving in a heavily polluted area or on a highway, since external pollutants can easily enter the car, the air purification intensity level can also be increased accordingly.
[0049] S203, controlling the air purification device to operate according to the air purification intensity level corresponding to the current in-vehicle air data; After the air purification intensity level is determined, the server begins to accurately control the operation of the air purification device. The server sends a control instruction to the air purification device through the vehicle's communication interface, and the instruction contains the corresponding purification intensity level information. After the air purification device receives the instruction, its internal control system will adjust the working parameters of each purification module according to the instruction. In low-intensity purification mode, the air filter may operate at a lower wind speed to achieve a milder filtering effect. At the same time, auxiliary purification equipment such as negative ion generators will also work at a lower power to maintain the basic freshness of the air in the car. In medium-intensity purification mode, the wind speed of the air filter will be appropriately increased to enhance the filtering ability of particulate matter in the air. The activated carbon adsorption module may increase the adsorption strength to further remove harmful gases. The power of the negative ion generator will also increase accordingly to improve the activity and comfort of the air. In high-intensity purification mode, the air filter will run at the maximum wind speed to ensure that a large amount of pollutants are quickly filtered out. At the same time, multiple purification technologies will work together, such as turning on the ultraviolet germicidal lamp to efficiently remove bacteria and viruses, and the photocatalyst module will also work at full capacity to decompose harmful gases and improve the air quality in the car in all directions. In order to ensure that the air purification device can accurately execute instructions, the server will monitor the communication status with the air purification device in real time. Once communication abnormalities are found, timely measures will be taken to repair or resend instructions.
[0050] S204, monitoring the current in-vehicle air data in real time through a sensor, and dynamically adjusting the purification intensity according to the air quality difference; During the operation of the air purification device, the server continuously monitors the changes in the air data in the car in real time through the sensors in the car. The sensor feeds back the real-time collected data such as temperature, humidity, concentration of harmful gases, and concentration of particulate matter to the server. The server compares these real-time data with the air quality standard and calculates the current air quality difference. According to the new air quality difference, the server determines whether it is necessary to adjust the air purification intensity level. If the air quality difference is gradually decreasing, it means that the current purification intensity is effective, and the server can maintain the existing purification intensity level; if the air quality difference does not change significantly or has an increasing trend, the server needs to adjust the purification intensity level. For example, after running in medium-intensity purification mode for a period of time, if it is found that the concentration of harmful gases decreases slowly, the server will increase the purification intensity level to high intensity to speed up the purification; if the concentration of harmful gases decreases rapidly and is close to the air quality standard, the server can reduce the purification intensity level to low intensity to save energy and maintain stable air quality.
[0051] S205, setting a time interval to obtain the energy status of the target vehicle; In order to balance the air quality purification in the car and the energy consumption of the vehicle, the server needs to regularly obtain the energy status of the target vehicle. The server will set a fixed time interval, such as every 5 minutes, to obtain the current energy status information, including battery power, fuel remaining, etc., through the vehicle's energy management system.
[0052] After obtaining the energy status information, the server records and analyzes it so that the operation strategy of the air purification device can be adjusted according to the energy situation. If the vehicle has sufficient energy reserves, the server can appropriately increase the air purification intensity level to provide a better in-car environment while ensuring air quality; if the vehicle has low energy reserves, the server needs to carefully consider the adjustment of purification intensity to avoid affecting the normal driving of the vehicle due to excessive energy consumption.
[0053] S206. Adjust the purification intensity according to the energy status.
[0054] According to the target vehicle energy status obtained, the server adjusts the air purification intensity accordingly. When the vehicle energy reserve is sufficient, such as the battery power is higher than 80% or the remaining fuel is large, the server can maintain or appropriately increase the current air purification intensity level to improve the air quality in the car faster. If the vehicle energy reserve is at a medium level, such as the battery power is between 30%-80% or the remaining fuel is moderate, the server will adjust the purification intensity appropriately. For example, adjust the high-intensity purification mode to the medium-intensity purification mode, or in the medium-intensity purification mode, fine-tune the working parameters of each purification module to reduce energy consumption while ensuring a certain purification effect. When the vehicle energy reserve is low, such as the battery power is less than 30% or the fuel is about to run out, the server will reduce the air purification intensity level to give priority to the normal driving of the vehicle. In this case, the purification mode may be switched to low intensity, maintaining only basic air filtration and ventilation functions. In the process of adjusting the purification intensity, the server will monitor the changes in the air quality in the car in real time to ensure that the air quality will not deteriorate rapidly due to the reduction in purification intensity.
[0055] In the embodiment of the present application, the server accurately predicts the air conditions in the car based on the vehicle's history and real-time conditions, and dynamically adjusts the operation of the air purification device according to factors such as air quality difference and energy status, thereby achieving precise dynamic control of the air quality in the car. This can not only effectively ensure the air quality in the car, reduce the potential harm of harmful gases and pollutants in the car to human health, and improve the respiratory health experience of people in the car, but also reasonably allocate vehicle energy, balance the purification effect and energy-related performance such as vehicle endurance, and ensure that the vehicle achieves optimized purification of the air in the car under the premise of stable overall performance.
[0056] The following describes the server in the embodiment of the present invention from the perspective of hardware processing. Figure 3 , is a schematic diagram of a physical device structure of a server in an embodiment of the present application.
[0057] It should be noted that Figure 3 The structure of the server shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0058] like Figure 3 As shown, the server includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303, such as executing the method described in the above embodiment. In RAM 303, various programs and data required for system operation are also stored. CPU 301, ROM 302 and RAM 303 are connected to each other through bus 304. Input / output (I / O) interface 305 is also connected to bus 304.
[0059] The following components are connected to the I / O interface 305: an input section 306 including an audio input device, a button switch, etc.; an output section 307 including a liquid crystal display (LCD) and an audio output device, an indicator light, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.
[0060] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 309, and / or installed from a removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, various functions defined in the present invention are performed.
[0061] It should be noted that specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.
[0062] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings.
[0063] Specifically, the server of this embodiment includes a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, the method for controlling the in-vehicle air quality provided in the above embodiment is implemented.
[0064] As another aspect, the present invention further provides a computer-readable storage medium, which may be included in the server described in the above embodiment; or may exist independently without being assembled into the server. The above storage medium carries one or more computer programs, and when the above one or more computer programs are executed by a processor of the server, the server implements the method for controlling the in-vehicle air quality provided in the above embodiment.
[0065] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0066] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.
[0067] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
Claims
1. A method for controlling the air quality in a vehicle, applied to a server, characterized in that: The method comprises: Acquire historical air data of the vehicle under different historical usage data and historical usage environment data, wherein the usage environment historical data includes environmental characteristics corresponding to the vehicle's historical driving route; According to the plurality of the historical usage data, the historical usage environment data and the establishment of an in-vehicle air prediction model; After receiving the air quality optimization start instruction from the user, the current use environment data is obtained through the sensor pre-installed on the target vehicle, and the current use data of the target vehicle is obtained through the existing vehicle-mounted device; Inputting the current use environment data and the current use data into the in-vehicle air prediction model to obtain current in-vehicle air data; If the current in-vehicle air data is lower than a preset air quality standard, the air purification device is controlled to purify the in-vehicle air so that the current in-vehicle air data meets the air quality standard.
2. The method according to claim 1, characterized in that If the current in-vehicle air data is lower than a preset air quality standard, the step of controlling the air purification device to purify the in-vehicle air so that the current in-vehicle air data meets the air quality standard specifically includes: Determine an air quality difference between the current in-vehicle air data and the air quality standard; Determine the air purification intensity level according to the size of the air quality difference; Controlling the air purification device to operate according to the air purification intensity level corresponding to the current in-vehicle air data; The current in-vehicle air data is monitored in real time by sensors, and the purification intensity is dynamically adjusted according to the air quality difference.
3. The method according to claim 2, characterized in that After the step of monitoring the current in-vehicle air data in real time through a sensor and dynamically adjusting the purification intensity according to the air quality difference, the method further includes: Setting a time interval to obtain the energy status of the target vehicle; The purification intensity is adjusted according to the energy status.
4. The method according to claim 1, characterized in that After the step of inputting the current use environment data and the current use data into the in-vehicle air prediction model to obtain the current in-vehicle air data, the method further includes: Associating the current in-vehicle air data with the location information of the target vehicle; When it is detected that the current in-vehicle air data corresponding to multiple vehicles in the same set area presents a preset bad trend, it is determined that there is an environmental problem in the set area; Send regional air quality warning reports to the environmental management end through set channels.
5. The method according to claim 1, characterized in that After receiving the air quality optimization start instruction from the user, the current use environment data is obtained through the sensor pre-set on the target vehicle, and before the step of obtaining the current use data of the target vehicle through the existing vehicle-mounted device, the method further includes: Obtaining air quality requirement information set by a user through a vehicle control panel, wherein the vehicle control panel is also used to display current in-vehicle air data; An air quality standard is determined according to the air quality requirement information.
6. The method according to claim 1, characterized in that After the step of inputting the current use environment data and the current use data into the in-vehicle air prediction model to obtain the current in-vehicle air data, the method further includes: determining the air pollutant composition in the vehicle according to the current in-vehicle air data; If the sensor determines that there is a set condition of harmful gas in the air pollutant composition, it is determined that there is an air pollution source in the vehicle, and the set condition refers to that the gas concentration of the harmful gas is higher than a preset threshold and the duration exceeds a preset time; A pollution source troubleshooting warning message is sent to the vehicle control panel to prompt the user to check whether there are any pollution sources in the items in the vehicle.
7. The method according to claim 1, characterized in that If the current in-vehicle air data is lower than the preset air quality standard, after the step of controlling the air purification device to purify the in-vehicle air, the method further includes: After determining changes in in-vehicle air data at different time periods during the purification process, evaluating the purification effect of the air purification device according to the changes in the in-vehicle air data; If the purification effect does not reach the preset standard, the purification parameters of the air purification device are controlled and adjusted.
8. A server, characterized in that: The server includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the server to execute the method described in any one of claims 1-7.
9. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on a server, the server is caused to execute the method according to any one of claims 1 to 7.
10. A computer program product, characterized in that When the computer program product is run on a server, the server is caused to execute the method according to any one of claims 1 to 7.