Vehicle air conditioner control method, device and storage medium
By acquiring vehicle driving information and using cloud-based predictive models to adjust air conditioning operating parameters, the problem of insufficient adaptability of automatic vehicle air conditioning to changes in user needs has been solved, resulting in a better user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-21
- Publication Date
- 2026-06-12
AI Technical Summary
Existing automatic vehicle air conditioning systems cannot adapt to changes in user needs in a timely manner, resulting in a poor user experience.
By acquiring vehicle driving information and using cloud-based predictive models to adjust air conditioning operating parameters based on user identification and historical data, intelligent control of the vehicle's air conditioning system can be achieved.
When the external environment changes or the driver makes frequent adjustments, the automatic vehicle air conditioning can accurately adjust according to the appropriate vehicle data to meet the user's experience needs.
Smart Images

Figure CN116872683B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a control method, device and storage medium for vehicle air conditioning. Background Technology
[0002] With the development of vehicle technology, more and more vehicles are equipped with automatic in-vehicle air conditioning. Automatic in-vehicle air conditioning can control the temperature of the airflow based on in-vehicle sensors, such as hot air in winter and cold air in summer. In addition, automatic in-vehicle air conditioning can also set a target temperature and automatically adjust the operating parameters of the in-vehicle air conditioning, such as the air volume, so that the temperature inside the vehicle can quickly reach and maintain the set target temperature.
[0003] However, this type of automatic car air conditioning still requires users to manually set the target temperature. When the driver's temperature needs change, such as when driving in areas with large fluctuations in external ambient temperature, like high-altitude mountainous regions, the driver needs to frequently adjust the target temperature to achieve a comfortable interior temperature, or frequently adjust the airflow or direction of the vents to reach a suitable temperature. This frequent operation undoubtedly distracts the driver during driving, thus affecting normal driving.
[0004] While existing automatic vehicle air conditioning systems have a certain degree of automatic adjustment capability, their adjustment method still follows a fixed control program. Therefore, existing technologies still have shortcomings in meeting the needs of different users and in making timely adaptive adjustments when user needs change, resulting in a poor user experience. Summary of the Invention
[0005] This application provides a control method, device, and storage medium for vehicle air conditioning to address the shortcomings of existing technologies in meeting the needs of different users and in failing to make timely adaptive adjustments when user needs change, resulting in a poor user experience.
[0006] In a first aspect, this application provides a method for controlling an in-vehicle air conditioner, including:
[0007] The first driving information of the vehicle is obtained at a first set time, and the first driving information includes at least one of external environment information, internal environment information, and vehicle status information.
[0008] Based on the first driving information, determine whether it is necessary to adjust the vehicle air conditioning operating parameters;
[0009] If it is necessary to adjust the vehicle air conditioning operating parameters, the historical data of air conditioning operation is obtained based on the user identifier and the second set time for obtaining the first driving information is determined based on the first driving information.
[0010] The first driving information and the historical data are sent to the cloud prediction model to obtain the predicted air conditioning operating parameters output by the cloud prediction model, and the vehicle air conditioning is controlled to operate according to the predicted air conditioning operating parameters.
[0011] In one possible design, determining whether to adjust the vehicle air conditioning operating parameters based on the first driving information includes:
[0012] Obtain the second driving information of the vehicle before a preset time period, wherein the vehicle was in a driving state before the preset time period and the vehicle air conditioner was in a running state.
[0013] Based on the parameter values of the preset parameters in the first driving information and the second driving information, obtain the first state change amount of the preset parameters;
[0014] If the change in the first state is greater than a preset threshold, then it is determined that the operating parameters of the vehicle air conditioner need to be adjusted.
[0015] In one possible design, determining the second preset time for the next acquisition of the first driving information based on the first driving information includes:
[0016] Based on the first state change amount of the preset parameters, a second preset time for the next acquisition of the first driving information is determined; wherein, the first target duration is inversely proportional to the first state change amount, and the first target duration is the duration between the second preset time and the current time.
[0017] In one possible design, after controlling the vehicle air conditioner to operate according to the predicted air conditioning operating parameters, the method further includes:
[0018] Detect whether the user adjusts the vehicle's air conditioning while driving;
[0019] If the user's adjustment operation on the vehicle's air conditioning is detected, the corresponding air conditioning adjustment parameters are obtained based on the adjustment operation.
[0020] Based on the adjusted air conditioning parameters and the predicted air conditioning operating parameters, a third set time for the next acquisition of the first driving information is determined.
[0021] In one possible design, determining the third preset time for the next acquisition of the first driving information based on the adjusted air conditioning parameters and the predicted air conditioning operating parameters includes:
[0022] Obtain the second state change of the adjusted air conditioning parameters and the predicted air conditioning operating parameters;
[0023] Based on the second state change amount, a fourth set time for the next acquisition of the first driving information is determined; wherein, the second target duration is inversely proportional to the second state change amount, and the second target duration is the duration between the fourth set time and the current time;
[0024] The third setting time is obtained based on the second setting time and the fourth setting time.
[0025] In one possible design, obtaining the third set time based on the second set time and the fourth set time includes:
[0026] Among the second set time and the fourth set time, the time closest to the current time is selected as the third set time.
[0027] In one possible design, controlling the vehicle air conditioning to operate according to the predicted air conditioning operating parameters includes:
[0028] Obtain the current air conditioner operating parameters;
[0029] Based on the current air conditioner operating parameters and the predicted air conditioner operating parameters, the change in the third state is obtained;
[0030] If the change in the third state is less than or equal to a preset threshold, then the vehicle air conditioner is controlled to operate with the current air conditioner operating parameters.
[0031] If the change in the third state is greater than a preset threshold, the vehicle air conditioner is controlled to operate with the predicted air conditioning operating parameters.
[0032] Secondly, this application provides a control device for an in-vehicle air conditioner, comprising:
[0033] The acquisition module is used to acquire the first driving information of the vehicle at a first set time, wherein the first driving information includes at least one of external environment information, internal environment information, and vehicle status information.
[0034] The first processing module is used to determine whether the vehicle air conditioning operating parameters need to be adjusted based on the first driving information.
[0035] The second processing module is used to obtain historical data of air conditioning operation based on the user identifier and determine a second set time for obtaining the first driving information next based on the first driving information if it is necessary to adjust the vehicle air conditioning operating parameters.
[0036] The execution module is used to send the first driving information and the historical data to the cloud prediction model, obtain the predicted air conditioning operating parameters output by the cloud prediction model, and control the vehicle air conditioning to operate according to the predicted air conditioning operating parameters.
[0037] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0038] The memory stores computer-executed instructions;
[0039] The processor executes computer execution instructions stored in the memory to implement the vehicle air conditioning control method.
[0040] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement a control method for an in-vehicle air conditioner.
[0041] This application provides a control method, device, and storage medium for an in-vehicle air conditioner. When the automatic in-vehicle air conditioner is running, it acquires first driving information, including at least one of external environment information, internal environment information, and vehicle status information, according to a first set time. Based on the acquired first driving information, it determines whether the in-vehicle air conditioner's operating parameters need adjustment. Then, it acquires historical data of the air conditioner's operation based on a user identifier and determines a second set time for acquiring the next first driving information based on the first driving information. This avoids the automatic in-vehicle air conditioner from adjusting its operation based on inaccurate vehicle data. After sending the acquired historical data and first driving information to a cloud-based prediction model, it acquires the predicted air conditioner operating parameters output by the cloud prediction model and controls the in-vehicle air conditioner to operate according to these parameters. Therefore, when the external driving environment changes or the driver frequently adjusts the air conditioner, the automatic in-vehicle air conditioner can adjust its operation based on appropriate and accurate vehicle data, thereby meeting the user's experience needs. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 System architecture diagram provided for embodiments of this application;
[0044] Figure 2 A flowchart illustrating the vehicle air conditioning control method provided in this application embodiment. Figure 1 ;
[0045] Figure 3 A flowchart illustrating the vehicle air conditioning control method provided in this application embodiment. Figure 2 ;
[0046] Figure 4 A flowchart illustrating the vehicle air conditioning control method provided in this application embodiment. Figure 3 ;
[0047] Figure 5 This is a schematic diagram of the structure of the vehicle air conditioning control device provided in the embodiments of this application;
[0048] Figure 6 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0049] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without inventive effort are within the scope of protection of this invention.
[0050] The automotive air conditioning system is a device that cools, heats, ventilates, and purifies the air inside the vehicle. Automatic vehicle air conditioning, as an extension of the automotive air conditioning system, uses in-vehicle sensors to control the temperature of the passenger compartment. When automatic vehicle air conditioning is operating, it is more fuel-efficient than manually controlling the passenger compartment temperature. Furthermore, automatic vehicle air conditioning can automatically adjust the outlet air temperature, blower speed, and airflow distribution to quickly reach and maintain the preset temperature.
[0051] However, automatic vehicle air conditioning still requires users to set the air conditioning scheme through various means such as manual or voice commands. This means users need to manually set various target parameters in the air conditioning scheme, such as temperature. Each vehicle terminal system acquires environmental information from various sensors and, based on expert experience, calibrates the corresponding air conditioning execution scheme before leaving the factory. The actuator then performs the execution to control the air conditioning. When the driver's temperature needs change, they frequently adjust the airflow or direction of the vents to achieve a comfortable cabin temperature. However, the predicted air conditioning operating parameters pushed by the automatic vehicle air conditioning system based on vehicle data may be inaccurate due to the driver's frequent adjustments, failing to control the vehicle's air conditioning in a timely and accurate manner to meet the user's experience needs. Therefore, a vehicle air conditioning control method is needed that can control and adjust the vehicle air conditioning based on appropriate and accurate vehicle data when the external driving environment changes or when the driver frequently adjusts the airflow or direction of the vents, thereby meeting the user's experience needs.
[0052] This application provides a method for controlling an in-vehicle air conditioner. When the automatic in-vehicle air conditioner is running, it acquires first driving information, including at least one of external environmental information, internal environmental information, and vehicle status information, according to a first set time. Based on the acquired first driving information, it determines whether the in-vehicle air conditioner's operating parameters need adjustment. Then, it acquires historical data of the air conditioner's operation based on a user identifier and determines a second set time for acquiring the next first driving information based on the first driving information. This avoids the automatic in-vehicle air conditioner from adjusting its operation based on inaccurate vehicle data. After sending the acquired historical data and first driving information to a cloud-based prediction model, it acquires the predicted air conditioner operating parameters output by the cloud prediction model and controls the in-vehicle air conditioner to operate according to these parameters. Therefore, when the external driving environment changes or the driver frequently adjusts the air conditioner, the automatic in-vehicle air conditioner can adjust its operation based on appropriate and accurate vehicle data, thereby meeting the user's experience needs.
[0053] Example 1
[0054] Figure 1 This is a system architecture diagram provided for an embodiment of this application. Figure 2 A schematic flowchart of the vehicle air conditioning control method provided in the embodiments of this application. Figure 1 Combining Figure 1 and Figure 2 As shown, the method includes:
[0055] S201. Obtain the first driving information of the vehicle according to a first set time, wherein the first driving information includes at least one of external environment information, internal environment information, and vehicle status information.
[0056] Specifically, after the automatic vehicle air conditioning is started, the vehicle core control unit sends a scheme request to the network control unit, that is, requests to obtain the predicted air conditioning operating parameters. The network control unit obtains the driving information of the vehicle within a preset working time after the vehicle is started through the data acquisition unit, that is, obtains the first driving information of the vehicle according to the first set time. Among them, the external environment information in the driving information is used to indicate the environmental conditions around the vehicle when the vehicle is driving, such as ambient temperature, vehicle position, altitude information and weather conditions. The internal environment information is used to indicate the environmental conditions of the passenger compartment, such as the temperature and air volume status of each area of the passenger compartment. The vehicle status information is used to indicate the working status of the vehicle when it is driving, such as the current vehicle speed and the status of each air conditioning terminal.
[0057] S202. Based on the first driving information, determine whether it is necessary to adjust the vehicle air conditioning operating parameters;
[0058] Specifically, after obtaining the first driving information within the preset working time of the vehicle, it is necessary to detect the change in the external environment information, internal environment information and vehicle status information when the vehicle is in driving state. If the change in the first driving information exceeds the threshold, it is confirmed that the vehicle air conditioning operating parameters need to be adjusted. If the change in the first driving information does not exceed the threshold, it is confirmed that the vehicle air conditioning operating parameters do not need to be adjusted for the time being.
[0059] S203. If it is necessary to adjust the vehicle air conditioning operating parameters, obtain the historical data of air conditioning operation based on the user identifier and determine the second set time for obtaining the first driving information next based on the first driving information.
[0060] Specifically, when the state change in the first driving information exceeds the threshold and it is confirmed that the vehicle air conditioning operating parameters need to be adjusted, the air conditioning operation history data corresponding to the current user is obtained based on the user account of the current driving vehicle, i.e., the user identifier. The historical data records the historical parameters of the air conditioning used by the user corresponding to the user identifier when driving the vehicle. A second set time is determined based on the state change in the first driving information, and the second set time is used to indicate the next time the first driving information is obtained.
[0061] S204. Send the first driving information and the historical data to the cloud prediction model, obtain the predicted air conditioning operating parameters output by the cloud prediction model, and control the vehicle air conditioning to operate according to the predicted air conditioning operating parameters.
[0062] Specifically, after obtaining the corresponding historical data and first driving information based on the user identifier, the network control unit sends the first driving information and historical data to the cloud prediction model set on the cloud data platform. The cloud prediction model includes multiple prediction instances corresponding to the air conditioning operating parameters. After obtaining the predicted air conditioning operating parameters output by the cloud prediction model, the predicted air conditioning operating parameters are returned to the vehicle core control unit through the network control unit. The vehicle core control unit generates control commands based on the obtained predicted air conditioning operating parameters and sends them to the air conditioning execution unit so that the vehicle air conditioning is configured and operated according to the predicted air conditioning.
[0063] This embodiment provides a method for controlling an in-vehicle air conditioner. When the automatic in-vehicle air conditioner is running, it acquires first driving information, including at least one of external environmental information, internal environmental information, and vehicle status information, according to a first set time. Based on the acquired first driving information, it determines whether the in-vehicle air conditioner's operating parameters need adjustment. Then, it acquires historical data of the air conditioner's operation based on a user identifier and determines a second set time for acquiring the next first driving information based on the first driving information. This avoids the automatic in-vehicle air conditioner from adjusting its operation based on inaccurate vehicle data. After sending the acquired historical data and first driving information to a cloud-based prediction model, it acquires the predicted air conditioner operating parameters output by the cloud prediction model and controls the in-vehicle air conditioner to operate according to these parameters. Therefore, when the external driving environment changes or the driver frequently adjusts the air conditioner, the automatic in-vehicle air conditioner can adjust its operation based on appropriate and accurate vehicle data, thereby meeting the user's experience needs.
[0064] The following specific embodiment will be used to describe in detail the vehicle air conditioning control method of this application.
[0065] Example 2
[0066] Figure 3 A schematic flowchart of the vehicle air conditioning control method provided in the embodiments of this application. Figure 2 .like Figure 3 As shown, the method includes:
[0067] S301. Obtain the first driving information of the vehicle according to a first set time, wherein the first driving information includes at least one of external environment information, internal environment information, and vehicle status information.
[0068] In this embodiment, the implementation of S301 is similar to that of S201 in Embodiment 1 of the present invention, and will not be described again here.
[0069] S302. Obtain the second driving information of the vehicle before a preset time period, wherein the vehicle was in a driving state before the preset time period and the vehicle air conditioner was in a running state.
[0070] Specifically, after obtaining the vehicle's driving information within a preset working time after the vehicle starts, that is, after obtaining the vehicle's first driving information according to the first set time, the vehicle's driving information before the preset time period is obtained, that is, the second driving information. The preset parameters in the second driving information indicate the vehicle's air conditioning operating status and parameter information. The preset time for obtaining the second driving information can be set before the first set time for obtaining the first driving information, or it can be set after the first set time for obtaining the first driving information. As long as the vehicle can be detected to be in a driving state and the vehicle air conditioning is in a running state, the vehicle's driving information within different time periods is sufficient.
[0071] S303. Based on the parameter values of the preset parameters in the first driving information and the second driving information, obtain the first state change amount of the preset parameters;
[0072] Specifically, after acquiring the first driving information and the second driving information, the internal environment information and vehicle status information in the first driving information, such as vehicle speed, window status, wind speed, target temperature, air blowing mode, ventilation and heating status, and circulation mode, are compared with the corresponding status information in the second driving information. If a change is detected in the corresponding status information in the first driving information and the second driving information, a status change is confirmed. When changes occur in air volume, target temperature, ventilation and heating mode, and other parameters involving changes in magnitude, it is also necessary to further acquire the corresponding status change amount as the first status change amount.
[0073] S304. If the change in the first state is greater than a preset threshold, it is determined that the operating parameters of the vehicle air conditioner need to be adjusted.
[0074] Specifically, when a change in the corresponding status information in the first and second driving information, such as the air conditioning switch status, driver's side air conditioning mode, or driver's side air conditioning air direction, is detected, it is determined that the vehicle air conditioning operating parameters need to be adjusted. Alternatively, when the change in the status of parameters such as fan speed, target temperature, ventilation and heating mode, and other parameters involving magnitude changes exceeds the preset threshold corresponding to their respective parameters, such as the change in the fan speed setting exceeding two levels, the change in the target temperature exceeding two degrees, or the change in the switch status of the ventilation and heating mode exceeding two levels, the corresponding preset threshold can also be set to the corresponding change in the status of other operating parameters. As long as a certain change in the current vehicle air conditioning operating status can be detected, it is determined that the vehicle air conditioning operating parameters need to be adjusted.
[0075] S305. Obtain historical data on air conditioner operation based on user identification;
[0076] Specifically, when an index identifier matching the user identifier is found in the historical database, the corresponding index information is obtained based on the user identifier, and the target historical data is obtained based on the index information. The index identifier and index information are stored together in the historical database, and the index information is used to indicate the historical data corresponding to the index identifier. If no index identifier matching the user identifier is found in the historical database, the user corresponding to the user identifier is confirmed as a new user, and the default initial air conditioning parameter values obtained based on the surrounding environment information are confirmed as the air conditioning operating parameters.
[0077] S306. Determine the second preset time for the next acquisition of the first driving information based on the first state change amount of the preset parameters;
[0078] Among them, the duration of the first target is inversely proportional to the change in the first state, and the duration of the first target is the duration between the second set time and the current time;
[0079] Specifically, after confirming that the vehicle air conditioning operating parameters need to be adjusted and obtaining the state change amount corresponding to each changed parameter, i.e., the first state change amount, the time for the next acquisition of the first driving information, i.e., the second set time, is determined based on the first state change amount. The larger the first state change amount, the shorter the time for the next acquisition of the first driving information; the smaller the first state change amount, the longer the time for the next acquisition of the first driving information, making the collected first driving information of the vehicle more accurate.
[0080] S307. Send the first driving information and the historical data to the cloud prediction model to obtain the predicted air conditioning operating parameters output by the cloud prediction model;
[0081] Specifically, after obtaining the appropriate first driving information and the corresponding user's historical data, the system generates historical parameter data corresponding to the respective air conditioning operating parameters based on the corresponding historical data. The surrounding environment information and the historical parameter data are then sent to the prediction instances corresponding to the respective air conditioning parameters in the cloud prediction model. The prediction instances corresponding to each air conditioning operating parameter in the cloud prediction model are trained based on the historical parameter data corresponding to the respective air conditioning operating parameters in the target historical data. Of course, the prediction model can be set on the cloud data platform or on the local vehicle terminal, as long as it can meet the requirement of timely obtaining the predicted air conditioning operating parameters output by the prediction model.
[0082] Furthermore, the cloud-based prediction model is trained as follows: historical data is cleaned. Since some data may be missing during vehicle network data reporting, it is necessary to supplement the missing data. This is mainly done by filling in the missing data based on the actual data distribution and using the mean or median. Data on in-vehicle and out-of-vehicle temperatures due to business reasons is discarded. Feature engineering is then performed on the cleaned data to obtain multiple features, such as the time dimension of vehicle operation, usage information features of various air conditioning items in historical user data, and other dimensional features that can accurately train the prediction model. The model is trained based on these features. Specifically, the target temperature and airflow operating parameters are trained using a model formed by combining gradient boosting trees and logistic regression, while other air conditioning operating parameters are trained using a classification network model. Of course, other computational models can also be used to obtain the predicted air conditioning operating parameters, as long as they can be effectively obtained.
[0083] S308. Obtain the current air conditioner operating parameters, and obtain the third state change amount based on the current air conditioner operating parameters and the predicted air conditioner operating parameters;
[0084] Specifically, after obtaining the predicted air conditioning operating parameters output by the cloud prediction model, the air conditioning operating parameters under the current vehicle, such as the air conditioning switch status, driver's side air conditioning mode, or driver's side air conditioning direction, are obtained. The air conditioning operating parameters under the current vehicle are compared with the predicted air conditioning operating parameters, and the change between each air conditioning operating parameter and the corresponding predicted air conditioning operating parameter, i.e., the third state change, is obtained.
[0085] S309. If the change in the third state is less than or equal to a preset threshold, then control the vehicle air conditioner to operate with the current air conditioner operating parameters.
[0086] Specifically, when the change in the third state, such as wind speed, target temperature, ventilation and heating mode, and other parameters involving magnitude changes, is less than or equal to the preset threshold corresponding to each parameter, such as the change in wind speed setting being less than or equal to two levels, the change in target temperature being less than or equal to two degrees, or the change in the on / off state in ventilation and heating mode being less than or equal to two levels, the corresponding preset threshold can also be set to the corresponding change in the state of other operating parameters. As long as the change between the current air conditioning operating parameters and the corresponding predicted air conditioning operating parameters can be detected to be less than or equal to the preset threshold, it is confirmed that the current air conditioning operating parameters are used.
[0087] S310. If the change in the third state is greater than a preset threshold, then control the vehicle air conditioner to operate with the predicted air conditioner operating parameters.
[0088] Specifically, when the change in the third state, such as the change in the fan speed setting, is greater than two levels, the change in the target temperature is greater than two degrees, or the change in the on / off state in the ventilation and heating mode is greater than two levels, or when the change between other current air conditioning operating parameters and the corresponding predicted air conditioning operating parameters is detected to be greater than a preset threshold, then it is confirmed that the air conditioning will operate according to the predicted air conditioning operating parameters.
[0089] This embodiment provides a method for controlling a vehicle air conditioner. When the automatic vehicle air conditioner is running, it acquires first driving information, including at least one of external environment information, internal environment information, and vehicle status information, according to a first set time. Based on the acquired first driving information, it determines that the operating parameters of the vehicle air conditioner need to be adjusted. Then, it acquires historical data of the air conditioner operation based on the user identifier and determines a second set time for acquiring the first driving information again based on the first driving information. This avoids the automatic vehicle air conditioner from controlling and adjusting the vehicle air conditioner based on inaccurate vehicle data.
[0090] Example 3
[0091] Figure 4 A schematic flowchart of the vehicle air conditioning control method provided in the embodiments of this application. Figure 3 .like Figure 4 As shown, the method includes:
[0092] S401. After controlling the vehicle air conditioner to operate according to the predicted air conditioner operating parameters, detect whether the user has made any adjustment operations to the vehicle air conditioner while driving.
[0093] Specifically, after the vehicle's air conditioning system operates according to the predicted or current operating parameters, it continuously collects data on the user's adjustments to the air conditioning system while driving. This data is used to detect whether the user makes any adjustments to the air conditioning system while driving. Furthermore, it records the frequency of user adjustments to the air conditioning system within a unit of time to further assist in adjusting the air conditioning parameters.
[0094] S402. If the user's adjustment operation on the vehicle air conditioner is detected, the corresponding air conditioner adjustment parameters are obtained based on the adjustment operation.
[0095] Specifically, when the vehicle is in motion and the vehicle air conditioning is operating normally, if a user's adjustment operation to the vehicle air conditioning is detected, the system obtains the operating parameters of the vehicle air conditioning that were adjusted during the adjustment operation. For example, if the user adjusts the air conditioning air direction, the system records the adjusted air conditioning air direction parameters. The system can also record the amount of change in the air conditioning air direction parameters and the number of times the user adjusts the air conditioning air direction per unit time.
[0096] S403. Obtain the second state change amount of the adjusted air conditioning parameters and the predicted air conditioning operating parameters;
[0097] Specifically, after obtaining the adjusted air conditioning parameters and the predicted air conditioning operating parameters output by the prediction model, the adjusted air conditioning parameters are compared with the predicted air conditioning operating parameters to obtain the state change amount corresponding to the adjusted air conditioning parameters, i.e., the second state change amount. Based on the second state change amount, the fourth set time for the next acquisition of the first driving information is determined. The second target duration is inversely proportional to the second state change amount. The second target duration is the duration between the fourth set time and the current time. That is, the larger the state change amount corresponding to the adjusted air conditioning parameters, the shorter the time for collecting the next first driving information. This allows the latest predicted air conditioning operating parameters to be obtained again in a timely manner when the user frequently adjusts the air conditioning. Conversely, when the state change amount corresponding to the adjusted air conditioning parameters is smaller, the time for collecting the next first driving information is longer, ensuring that the corresponding first driving information can be obtained when the state change amount corresponding to the air conditioning parameters is small, thus avoiding the omission of first driving information.
[0098] S404. Obtain the third set time based on the second set time and the fourth set time;
[0099] Specifically, after determining the fourth set time for acquiring the first driving information next based on the second state change, the time closest to the current time is selected from the second and fourth set times as the third set time. This ensures that when the air conditioning operating parameters change, the next acquired first driving information is closest to the current vehicle's driving state information. Therefore, it avoids acquiring the first driving information before the air conditioning operating parameters change, enabling the prediction model to output predicted air conditioning operating parameters that meet user needs based on accurate first driving information. This prevents the in-vehicle automatic air conditioning from failing to adjust the subsequent air conditioning scheme in a timely manner after the user adjusts the air conditioning, i.e., after the demand changes, thereby improving the user experience.
[0100] This embodiment provides a method for controlling an in-vehicle air conditioner. When the automatic in-vehicle air conditioner is running, it acquires first driving information, including at least one of external environmental information, internal environmental information, and vehicle status information, according to a first set time. Based on the acquired first driving information, it determines whether the in-vehicle air conditioner's operating parameters need adjustment. Then, it acquires historical data of the air conditioner's operation based on a user identifier and determines a second set time for acquiring the next first driving information based on the first driving information. This avoids the automatic in-vehicle air conditioner from adjusting its operation based on inaccurate vehicle data. After sending the acquired historical data and first driving information to a cloud-based prediction model, it acquires the predicted air conditioner operating parameters output by the cloud prediction model and controls the in-vehicle air conditioner to operate according to these parameters. Therefore, when the external driving environment changes or the driver frequently adjusts the air conditioner, the automatic in-vehicle air conditioner can adjust its operation based on appropriate and accurate vehicle data, thereby meeting the user's experience needs.
[0101] In this embodiment of the invention, electronic devices or main control devices can be divided into functional modules according to the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional module. It should be noted that the module division in this embodiment of the invention is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0102] Figure 5 This is a schematic diagram of the structure of the vehicle air conditioning control device provided in an embodiment of this application. Figure 5 As shown, the device 50 includes:
[0103] The acquisition module 501 is used to acquire the first driving information of the vehicle according to a first set time, wherein the first driving information includes at least one of external environment information, internal environment information, and vehicle status information.
[0104] The first processing module 502 is used to determine whether the vehicle air conditioning operating parameters need to be adjusted based on the first driving information.
[0105] The second processing module 503 is used to obtain historical data of air conditioning operation based on the user identifier and determine a second set time for obtaining the first driving information next based on the first driving information if it is necessary to adjust the vehicle air conditioning operating parameters.
[0106] The execution module 504 is used to send the first driving information and the historical data to the cloud prediction model, obtain the predicted air conditioning operating parameters output by the cloud prediction model, and control the vehicle air conditioning to operate according to the predicted air conditioning operating parameters.
[0107] Furthermore, the first processing module 502 is specifically used to obtain the second driving information of the vehicle before a preset time period, wherein the vehicle was in a driving state and the vehicle air conditioner was in a running state before the preset time period. Based on the parameter values of preset parameters in the first driving information and the second driving information, the first state change amount of the preset parameters is obtained. If the first state change amount is greater than a preset threshold, it is determined that the vehicle air conditioner operating parameters need to be adjusted.
[0108] Furthermore, the second processing module 503 is specifically used to determine the second preset time for acquiring the first driving information next, based on the first state change amount of the preset parameter; wherein, the first target duration is inversely proportional to the first state change amount, and the first target duration is the duration between the second preset time and the current time.
[0109] Furthermore, the execution module 504 is used to send the first driving information and the historical data to the cloud prediction model, obtain the predicted air conditioning operating parameters output by the cloud prediction model, and control the vehicle air conditioning to operate according to the predicted air conditioning operating parameters. Specifically, it is used to detect whether the user has made any adjustment operation to the vehicle air conditioning while driving. If the user's adjustment operation to the vehicle air conditioning is detected, the corresponding adjustment air conditioning parameters are obtained based on the adjustment operation. Based on the adjustment air conditioning parameters and the predicted air conditioning operating parameters, a third set time for the next acquisition of the first driving information is determined.
[0110] Furthermore, the execution module 504 is specifically used to obtain the second state change amount of the adjusted air conditioning parameters and the predicted air conditioning operating parameters, and to determine the fourth set time for the next acquisition of the first driving information based on the second state change amount; wherein, the second target duration is inversely proportional to the second state change amount, the second target duration is the duration between the fourth set time and the current time, and the third set time is obtained based on the second set time and the fourth set time.
[0111] Furthermore, the execution module 504 is also used to select the time closest to the current time from the second set time and the fourth set time as the third set time.
[0112] Furthermore, the execution module 504 is specifically used to obtain the current air conditioning operating parameters, obtain the third state change amount based on the current air conditioning operating parameters and the predicted air conditioning operating parameters, and control the vehicle air conditioning to operate with the current air conditioning operating parameters if the third state change amount is less than or equal to a preset threshold, and control the vehicle air conditioning to operate with the predicted air conditioning operating parameters if the third state change amount is greater than the preset threshold.
[0113] The vehicle air conditioning control device provided in this embodiment can execute the vehicle air conditioning control method of the above embodiment. Its implementation principle and technical effect are similar, and will not be described again here.
[0114] In the specific implementation of the aforementioned vehicle air conditioning control device, each module can be implemented as a processor. The processor can execute computer execution instructions stored in the memory, so that the processor executes the aforementioned vehicle air conditioning control method.
[0115] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 6 As shown, the electronic device 60 includes at least one processor 601 and a memory 602. The electronic device 60 also includes a communication component 603. The processor 601, memory 602, and communication component 603 are connected via a bus 604.
[0116] In the specific implementation process, at least one processor 601 executes the computer execution instructions stored in the memory 602, causing at least one processor 601 to execute the vehicle air conditioning control method executed on the electronic device side as described above.
[0117] The specific implementation process of processor 601 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0118] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0119] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage.
[0120] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0121] The above description of the functions implemented by electronic devices and main control devices has introduced the solutions provided by the embodiments of the present invention. It is understood that, in order to implement the above functions, the electronic device or main control device includes hardware structures and / or software modules corresponding to the execution of each function. By combining the units and algorithm steps of the various examples described in the embodiments of the present invention, the embodiments of the present invention can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of the embodiments of the present invention.
[0122] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-mentioned vehicle air conditioning control method.
[0123] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0124] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in an electronic device or a host device.
[0125] This application also provides a computer program product, comprising: a computer program stored in a readable storage medium, wherein at least one processor of an electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to cause the electronic device to perform the scheme provided in any of the above embodiments.
[0126] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0127] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions 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 invention.
Claims
1. A method for controlling a vehicle air conditioner, characterized in that, include: The first driving information of the vehicle is obtained at a first set time, and the first driving information includes at least one of external environment information, internal environment information, and vehicle status information. Obtain the second driving information of the vehicle before a preset time period, wherein the vehicle was in a driving state before the preset time period and the vehicle air conditioner was in a running state. Based on the parameter values of the preset parameters in the first driving information and the second driving information, obtain the first state change amount of the preset parameters; If the change in the first state is greater than a preset threshold, it is determined that the operating parameters of the vehicle air conditioner need to be adjusted. If it is necessary to adjust the vehicle air conditioning operating parameters, historical data of air conditioning operation is obtained based on the user identifier, and a second set time for obtaining the first driving information next is determined based on the first state change amount of the preset parameters; wherein, the first target duration is inversely proportional to the first state change amount, and the first target duration is the duration between the second set time and the current time; The first driving information and the historical data are sent to the cloud prediction model to obtain the predicted air conditioning operating parameters output by the cloud prediction model, and the vehicle air conditioning is controlled to operate according to the predicted air conditioning operating parameters.
2. The method according to claim 1, characterized in that, After controlling the vehicle air conditioner to operate according to the predicted air conditioning operating parameters, the method further includes: Detect whether the user adjusts the vehicle's air conditioning while driving; If the user's adjustment operation on the vehicle's air conditioning is detected, the corresponding air conditioning adjustment parameters are obtained based on the adjustment operation. Based on the adjusted air conditioning parameters and the predicted air conditioning operating parameters, a third set time for the next acquisition of the first driving information is determined.
3. The method according to claim 2, characterized in that, The step of determining the third preset time for obtaining the first driving information next, based on the adjusted air conditioning parameters and the predicted air conditioning operating parameters, includes: Obtain the second state change of the adjusted air conditioning parameters and the predicted air conditioning operating parameters; Based on the second state change amount, a fourth set time for the next acquisition of the first driving information is determined; wherein, the second target duration is inversely proportional to the second state change amount, and the second target duration is the duration between the fourth set time and the current time; The third setting time is obtained based on the second setting time and the fourth setting time.
4. The method according to claim 3, characterized in that, The step of obtaining the third set time based on the second set time and the fourth set time includes: Among the second set time and the fourth set time, the time closest to the current time is selected as the third set time.
5. The method according to claim 1, characterized in that, The control of the vehicle air conditioner to operate according to the predicted air conditioner operating parameters includes: Obtain the current air conditioner operating parameters; Based on the current air conditioner operating parameters and the predicted air conditioner operating parameters, the change in the third state is obtained; If the change in the third state is less than or equal to a preset threshold, then the vehicle air conditioner is controlled to operate with the current air conditioner operating parameters. If the change in the third state is greater than a preset threshold, the vehicle air conditioner is controlled to operate with the predicted air conditioning operating parameters.
6. A control device for a vehicle air conditioner, characterized in that, include: The acquisition module is used to acquire the first driving information of the vehicle at a first set time, wherein the first driving information includes at least one of external environment information, internal environment information, and vehicle status information. The first processing module is used to obtain the second driving information of the vehicle before a preset time period, wherein the vehicle was in a driving state and the vehicle air conditioner was in a running state before the preset time period; based on the parameter values of preset parameters in the first driving information and the second driving information, the first state change amount of the preset parameters is obtained; if the first state change amount is greater than a preset threshold, it is determined that the vehicle air conditioner operating parameters need to be adjusted. The second processing module is used to obtain historical data of air conditioning operation based on the user identifier if it is necessary to adjust the vehicle air conditioning operating parameters, and to determine the second set time for obtaining the first driving information next based on the first state change amount of the preset parameters; wherein, the first target duration is inversely proportional to the first state change amount, and the first target duration is the duration between the second set time and the current time; The execution module is used to send the first driving information and the historical data to the cloud prediction model, obtain the predicted air conditioning operating parameters output by the cloud prediction model, and control the vehicle air conditioning to operate according to the predicted air conditioning operating parameters.
7. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Air conditioner control method and system and vehicle
CN110696587A
Control method of vehicle air conditioner, vehicle terminal and server
CN113119683A
Method and system for automatically adjusting vehicle-mounted air conditioner
CN115139746A