Ventilation control method and device, electronic equipment and storage medium
By obtaining and matching the air environment parameters in the cabin, and using multiple matching methods to adjust the air-conditioning ventilation volume, the problem of a single air quality improvement parameter and a lack of control methods in the existing technology is solved, and the healthy state of the air environment in the cabin is maintained. , reducing driver fatigue and accident risk.
Patent Information
- Application Number
- CN202410837169.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-29
AI Technical Summary
Existing technology has single parameters and insufficient control means to improve the air quality in the cabin, resulting in an increase in accidents caused by driver fatigue and drowsiness and failing to effectively solve the problem.
By obtaining the air environment parameter set in the cabin and matching it with the preset standard air environment parameter set, if the matching fails, start the ventilation function of the air conditioner or increase the ventilation volume for adjustment, including cosine similarity calculation, principal component analysis and activity screening and other matching methods to ensure a healthy air environment.
It effectively improves the air quality in the cabin, reduces driver fatigue and improves road traffic safety.
Smart Images

Figure CN118849697A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle air conditioning, and in particular to a ventilation control method, a ventilation control device, an electronic device and a storage medium. Background Art
[0002] With the increasing popularity of family cars, people spend more and more time in cars. People also need a more comfortable cabin environment to meet their physiological and psychological needs and improve their comfort level in the car. The airflow organization mode of the cabin ventilation and air conditioning machine directly affects the control effect of the cabin environment parameters and the comfort of the cabin environment. Therefore, studying how to improve the air quality of the cabin environment is of great practical significance at present.
[0003] Chinese invention patent application CN116604996A discloses a method for improving the air quality in the cabin, but its reference parameters are relatively simple and the control means are not rich. Summary of the invention
[0004] The object of the present invention is to provide a ventilation control method, device, electronic device and storage medium, which can effectively improve the air quality in the cabin and solve the problem of increased accidents caused by driver fatigue and sleepiness.
[0005] The present invention provides the following scheme:
[0006] According to one aspect of the present invention, a ventilation control method is provided, the ventilation control method comprising:
[0007] Obtain the air environment parameter set in the cabin;
[0008] Matching the air environment parameter set with a preset standard air environment parameter set;
[0009] If the matching fails, the adjustment of the cabin air environment parameter set is initiated;
[0010] The adjustment of the air environment parameter set includes: turning on the ventilation function of the air conditioner, or increasing the ventilation volume of the air conditioner.
[0011] Optionally, the air environment parameter set includes: an air environment parameter vector;
[0012] The standard air environment parameter set includes: a standard air environment parameter range vector;
[0013] Matching the air environment parameter set with the preset standard air environment parameter set includes:
[0014] Check whether the air environment parameters in the air environment parameter set are within the corresponding standard air environment parameter range;
[0015] Calculate the proportion of air environment parameters within the corresponding standard air environment parameter range;
[0016] If the obtained specific gravity is higher than the first preset specific gravity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter range vector;
[0017] If the obtained specific gravity is lower than the first preset specific gravity threshold, it is determined that the air environment parameter vector does not match the standard air environment parameter range vector.
[0018] Optionally, the air environment parameter set includes: an air environment parameter vector;
[0019] The standard air environment parameter set includes: a maximum value vector of the standard air environment parameter;
[0020] Matching the air environment parameter set with the preset standard air environment parameter set includes:
[0021] Check whether the air environment parameters are lower than the corresponding maximum values of the standard air environment parameters;
[0022] Calculate the proportion of air environment parameters that are lower than the maximum value of the corresponding standard air environment parameters;
[0023] If the obtained proportion is higher than the second preset proportion threshold, it is determined that the space environment parameter vector matches the maximum value vector of the standard air environment parameter;
[0024] If the obtained proportion is lower than the second preset proportion threshold, it is determined that the environmental control environment parameter vector does not match the maximum value vector of the standard air environment parameter.
[0025] Optionally, the air environment parameter set includes: an air environment parameter vector;
[0026] The standard air environment parameter set includes: a standard air environment parameter vector;
[0027] Matching the air environment parameter set with the preset standard air environment parameter set includes:
[0028] Calculate the cosine similarity between the air environment parameter set and the standard air environment parameter set;
[0029] If the cosine similarity is greater than a first preset similarity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter vector;
[0030] If the cosine similarity is less than the first preset similarity threshold, it is determined that the air environment parameter vector does not match the labeled air environment parameter vector.
[0031] Optionally, the air environment parameter set includes: an air environment parameter vector;
[0032] The standard air environment parameter set includes: a standard air environment parameter vector;
[0033] Matching the air environment parameter set with the preset standard air environment parameter set includes:
[0034] Conduct principal component analysis on the air environment parameter set;
[0035] Based on the results of principal component analysis, the air environment parameter vector and the standard air environment parameter vector are simplified;
[0036] Calculate the cosine similarity between the simplified air environment parameter vector and the standard air environment parameter vector;
[0037] If the cosine similarity is greater than a second preset similarity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter vector;
[0038] If the cosine similarity is less than the second preset similarity threshold, it is determined that the air environment parameter vector does not match the standard air environment parameter vector.
[0039] Optionally, the air environment parameter set includes: an air environment parameter vector;
[0040] The standard air environment parameter set includes: a standard air environment parameter vector;
[0041] Matching the air environment parameter set with the preset standard air environment parameter set includes:
[0042] Based on the activity level of each parameter in the air environment parameter vector, each parameter is screened;
[0043] Re-forming the air environment parameter vector and the standard air environment parameter vector from the screened parameters;
[0044] Calculate the cosine similarity between the reconstructed air environment parameter vector and the standard air environment parameter vector;
[0045] If the cosine similarity is greater than a third preset similarity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter vector;
[0046] If the cosine similarity is less than the third preset similarity threshold, it is determined that the air environment parameter vector does not match the standard air environment parameter vector.
[0047] Optionally, also include:
[0048] Verify the effect of adjustment operations by detecting the fatigue level of the occupants;
[0049] According to the verification result of the effect, determine whether to start obtaining the air environment parameter set again;
[0050] Means for detecting the fatigue level of people in the car include: detecting the number of blinks and pattern matching of facial images.
[0051] According to two aspects of the present invention, there is provided a ventilation control device, the ventilation control device comprising:
[0052] An acquisition unit, used to acquire a set of air environment parameters in the cabin;
[0053] A matching unit, used to match the air environment parameter set with a preset standard air environment parameter set;
[0054] An adjustment unit, used for initiating adjustment of the cabin air environment parameter set if the matching fails;
[0055] The adjustment of the air environment parameter set includes: turning on the ventilation function of the air conditioner, or increasing the ventilation volume of the air conditioner.
[0056] According to three aspects of the present invention, there is provided an electronic device, comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0057] A computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the ventilation control method.
[0058] According to four aspects of the present invention, there is provided a computer-readable storage medium, comprising: a computer program executable by an electronic device is stored therein, and when the computer program runs on the electronic device, the electronic device executes the steps of the ventilation control method.
[0059] Through the above scheme, the following beneficial technical effects are obtained:
[0060] The technical solution provided by the present invention first obtains the air environment parameter set in the cabin, and then matches the obtained air environment parameter set with the standard air environment parameter set. If the match fails, the air environment in the cabin is adjusted. The adjustment methods mainly include turning on the ventilation function of the air conditioner, or increasing the ventilation volume of the air conditioner, thereby ensuring that the air environment in the cabin is always in a healthy state, effectively improving the ventilation volume, solving the problem of increased accidents caused by driver fatigue and drowsiness, and ensuring road traffic safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1is a flow chart of a ventilation control method provided by one or more embodiments of the present invention.
[0062] Figure 2 It is a flow chart of the matching operation in the ventilation control method provided by one or more embodiments of the present invention.
[0063] Figure 3 It is a flow chart of the matching operation in the ventilation control method provided by one or more embodiments of the present invention.
[0064] Figure 4 It is a flow chart of the matching operation in the ventilation control method provided by one or more embodiments of the present invention.
[0065] Figure 5 It is a flow chart of the matching operation in the ventilation control method provided by one or more embodiments of the present invention.
[0066] Figure 6 It is a flow chart of the matching operation in the ventilation control method provided by one or more embodiments of the present invention.
[0067] Figure 7 is a flow chart of a matching operation in a ventilation control method provided by one or more embodiments of the present invention;
[0068] Figure 8 is a flow chart of a ventilation control method provided by one or more embodiments of the present invention;
[0069] Fig. 9 is a flow chart of a ventilation control method provided by one or more embodiments of the present invention;
[0070] Fig.10 is a structural diagram of a ventilation control device provided by one or more embodiments of the present invention.
[0071] Fig.11 is a structural diagram of an electronic device provided by one or more embodiments of the present invention. DETAILED DESCRIPTION
[0072] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0073] Figure 1 is a flow chart of a ventilation control method provided by one or more embodiments of the present invention. Figure 1 , the ventilation control method comprises the following steps:
[0074] S11, obtaining a set of air environment parameters in the cabin.
[0075] S12, matching the air environment parameter set with a preset standard air environment parameter set.
[0076] S13: If the matching fails, start adjusting the cabin air environment parameter set.
[0077] It is understandable that the air environment in the cabin can be characterized by some air environment parameters, such as the air temperature, humidity, oxygen content, nitrogen content, air pressure, etc. in the cabin.
[0078] In this embodiment, the set of parameters that can characterize the air environment in the cabin is called an air environment parameter set.
[0079] It can also be understood that in a healthy air environment, the values of the various parameters in the air environment parameter set should exist in a template. For example, the oxygen content in the air should be around 21%, the air temperature should be around 25 degrees Celsius, etc. These template air environment parameter sets are called standard air environment parameter sets.
[0080] In this embodiment, in order to determine whether the air environment in the current cabin is healthy, it is necessary to first obtain the air environment data set in the current cabin. After obtaining the air environment data set, each parameter in the data set corresponds to a certain value.
[0081] Then, the air environment data set, in which each parameter has a certain value, is matched with the standard air environment data set. If the two are well matched, it means that the characterization of the current air environment parameter set in the cabin and the current air environment in the cabin is healthy, and no further adjustment is required.
[0082] If the two fail to match, it means that the current air environment parameter set in the cabin is unhealthy and needs further adjustment.
[0083] The adjustment method is to ventilate the cabin environment. More specifically, it is to turn on the air conditioner for ventilation, or increase the ventilation volume of the air conditioner.
[0084] Through the above-mentioned ventilation adjustment, the air environment in the vehicle cabin can be made healthier, which is more beneficial to the health of the people in the cabin.
[0085] Figure 2 is a flow chart of a matching operation in a ventilation control method provided by one or more embodiments of the present invention. Figure 2 , matching the air environment parameter set with the preset standard air environment parameter set includes:
[0086] S21, calculating the cosine similarity between the air environment parameter set and the standard air environment parameter set.
[0087] S22: If the cosine similarity is greater than a first preset similarity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter vector.
[0088] S23: If the cosine similarity is less than a first preset similarity threshold, it is determined that the air environment parameter vector does not match the marked air environment parameter vector.
[0089] In by Figure 2 In the illustrated embodiment, the air environment parameter set is a vector, referred to as an air environment parameter vector. Each parameter in the air environment parameter set is an element in the air environment parameter vector.
[0090] The standard air environment parameter set is also a vector, called the standard air environment parameter vector.
[0091] Moreover, more importantly, Figure 2 In the illustrated embodiment, the operation of matching the air environment parameter set with the standard air environment parameter set is the calculation of cosine similarity.
[0092] That is, after obtaining the spatial environment parameter vector and the standard spatial environment parameter vector, the cosine similarity between the two vectors is calculated.
[0093] If the calculated cosine similarity is higher than the first preset similarity threshold, it can be determined that the current air environment parameter vector and the standard air environment parameter vector are matched. Otherwise, it can be determined that the two are not matched.
[0094] In other words, the cosine similarity between two vectors is used as a criterion. If the similarity between two vectors is high, it means that the two overlap to a large extent, indicating that the two match; if the similarity between two vectors is low, it means that the two overlap not so much, indicating that the two do not match.
[0095] Figure 3 is a flow chart of a matching operation in a ventilation control method provided by one or more embodiments of the present invention. Figure 3 , matching the air environment parameter set with the preset standard air environment parameter set includes:
[0096] S31, performing principal component analysis on the air environment parameter set.
[0097] S32, based on the result of principal component analysis, simplifying the air environment parameter vector and the standard air environment parameter vector.
[0098] S33, calculating the cosine similarity between the simplified air environment parameter vector and the standard air environment parameter vector.
[0099] S34: If the cosine similarity is greater than a second preset similarity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter vector.
[0100] S35: If the cosine similarity is less than a second preset similarity threshold, it is determined that the air environment parameter vector does not match the standard air environment parameter vector.
[0101] Depend on Figure 3 In the illustrated embodiment, in order to avoid a large number of unnecessary elements in the air environment parameter vector, which would waste computing resources, the air environment parameter set is firstly simplified by principal component analysis.
[0102] That is to say, after obtaining the air environment parameter vector, the air environment parameter vector is first subjected to principal component analysis to analyze the principal components. Then, only the identified principal components, that is, the simplified air environment parameter vector, are matched. The matching method is still the calculation of post-cosine similarity.
[0103] In other words, the most original air environment parameter vector is obtained first, and the principal component analysis is performed on the original air environment parameter vector. According to the result of the principal component analysis, the air environment parameter vector is simplified. Then the simplified air environment parameter vector is used to calculate the cosine similarity.
[0104] After the cosine similarity calculation is completed, it can be determined whether the two are matched. If the obtained cosine similarity is greater than the second preset similarity threshold, it means that the two are matched successfully. If the obtained cosine similarity is less than the second preset similarity threshold, it means that the two are matched unsuccessfully.
[0105] Figure 4 is a flow chart of a matching operation in a ventilation control method provided by one or more embodiments of the present invention. Figure 4 , matching the air environment parameter set with the preset standard air environment parameter set includes:
[0106] S41, screening each parameter based on the activity level of each parameter in the air environment parameter vector.
[0107] S42, re-forming the air environment parameter vector and the standard air environment parameter vector from the screened parameters.
[0108] S43, calculating the cosine similarity between the reconstructed air environment parameter vector and the standard air environment parameter vector.
[0109] S44: If the cosine similarity is greater than a third preset similarity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter vector.
[0110] S45: If the cosine similarity is less than a third preset similarity threshold, it is determined that the air environment parameter vector does not match the standard air environment parameter vector.
[0111] Depend on Figure 4 In the embodiment shown, the original air environment parameter vector is also simplified, except that Figure 4 The method of simplification is not principal component analysis, but simplification based on the activity level of each parameter.
[0112] It should be understood that among the monitored air environment parameters, some parameters are active and change frequently, while some parameters are inactive and never change much. Therefore, when monitoring the air environment quality in the cabin, more attention should be paid to those variables that change frequently, and less attention should be paid to those variables that never change much.
[0113] Based on this idea, Figure 4 In the illustrated embodiment, the activity level of each parameter is monitored. If a variable with high activity level is detected, it or they are retained in the air environment parameter vector; if a variable with low activity level is detected, it is removed from the air environment parameter vector. The above process is called screening.
[0114] More specifically, activity is characterized by the range of changes in various parameters over a period of time. If a variable has a large range of changes, it means that its value is likely to change, that is, the activity is high; if a variable has a small range of changes, it means that its value is unlikely to change, that is, the activity is low.
[0115] After the above-mentioned activity screening, the dimension of the air environment parameter vector is reduced. Then, the screened air environment parameter vector is used to perform relevant cosine similarity calculations, which reduces the amount of calculations and greatly saves computing resources.
[0116] After the calculation of the cosine similarity is completed, the obtained similarity is compared with the third preset similarity threshold. If it is greater than the third preset similarity threshold, it means that the two match; if it is less than the third preset similarity threshold, it means that the two do not match.
[0117] Figure 5 is a flow chart of a matching operation in a ventilation control method provided by one or more embodiments of the present invention. Figure 5 , matching the air environment parameter set with the preset standard air environment parameter set includes:
[0118] S51, calculating the similarity between the air environment parameter set and the standard air environment parameter set through CNN.
[0119] S52: If the similarity is greater than a fourth preset similarity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter vector.
[0120] S53: If the similarity is less than a fourth preset similarity threshold, it is determined that the air environment parameter vector does not match the marked air environment parameter vector.
[0121] In by Figure 5 In the illustrated embodiment, CNN is used to calculate the similarity between two data sets.
[0122] Typically, the air environment parameter vector and the standard air environment parameter vector are input into CNN respectively, and CNN outputs the similarity between the two. The convolution kernel in CNN can be designed to make the similarity output by CNN closer to the actual situation.
[0123] After the similarity calculation is completed, the calculated similarity is compared with a fourth preset similarity threshold. If the similarity is greater than the fourth preset similarity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter vector; if the similarity is less than the fourth preset similarity threshold, it is determined that the air environment parameter vector does not match the standard air environment parameter vector.
[0124] Figure 6 is a flow chart of a matching operation in a ventilation control method provided by one or more embodiments of the present invention. Figure 6 , matching the air environment parameter set with the preset standard air environment parameter set includes:
[0125] S61, checking whether the air environment parameters in the air environment parameter set exist within the corresponding standard air environment parameter range.
[0126] S62, calculating the proportion of air environment parameters within the corresponding standard air environment parameter range.
[0127] S63: If the obtained specific gravity is higher than the first preset specific gravity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter range vector.
[0128] S64: If the obtained specific gravity is lower than the first preset specific gravity threshold, it is determined that the air environment parameter vector does not match the standard air environment parameter range vector.
[0129] Depend on Figure 6 In the illustrated embodiment, the air environment parameters are matched by checking whether the parameters are within a predetermined value range.
[0130] It is understandable that no matter what kind of parameter, its value has a fixed range. For example, air temperature generally does not reach 80 degrees Celsius. Therefore, parameters that appear within the set range should be considered normal parameters.
[0131] In order to meet such a calculation method, the possible range of each air environment parameter is delineated and compiled into the quasi-air environment parameter range of the other side. When encountering each air environment parameter, first check whether it appears in the standard air environment parameter range. After each air environment parameter has been checked, the number of air environment parameters that have fallen within the predetermined range can be calculated, and then compared with the total amount of air environment parameters, a proportion can be obtained. If this proportion has exceeded the first preset proportion threshold, it means that the two vectors match. If this proportion does not exceed the first preset proportion threshold, it means that the two vectors do not match.
[0132] Figure 7 FIG. 1 is a flowchart of a matching operation in a ventilation control method provided by one or more embodiments of the present invention. Figure 7 , matching the air environment parameter set with the preset standard air environment parameter set includes:
[0133] S71, checking whether the air environment parameter is lower than the corresponding maximum value of the standard air environment parameter.
[0134] S72, calculating the proportion of air environment parameters that are lower than the corresponding maximum value of the standard air environment parameters.
[0135] S73: If the obtained proportion is higher than the second preset proportion threshold, it is determined that the air environment parameter vector matches the standard air environment parameter maximum value vector.
[0136] S74: If the obtained proportion is lower than the second preset proportion threshold, it is determined that the air environment parameter vector does not match the standard air environment parameter maximum value vector.
[0137] Depend on Figure 7 In the illustrated embodiment, the judgment criterion is not a value range, but whether it is lower than a maximum value.
[0138] Each air environment parameter will first be checked to see if it is lower than its upper limit, that is, the maximum value. For example, the air pressure in the cabin is generally not higher than 200kPa. Therefore, an air environment parameter that is lower than a certain upper limit should be considered a normal air environment parameter.
[0139] After each air environment parameter is identified one by one, the proportion of the normal air environment parameter in all air environment parameters can be seen. If this proportion is very high, higher than the second preset proportion threshold, it means that the two vectors are matched; if this proportion is lower than the second preset proportion threshold, it means that the two vectors are not matched and the air environment in the cabin needs to be adjusted.
[0140] Figure 8 is a flow chart of a ventilation control method provided by one or more embodiments of the present invention. Figure 8 , the ventilation control method comprises the following steps:
[0141] S81, detects the oxygen content in the car.
[0142] S82, determining whether the oxygen content in the vehicle is lower than a preset oxygen content threshold.
[0143] S83: If the oxygen content is lower than a preset threshold, the ventilation function of the air conditioner is automatically turned on or the ventilation volume is increased.
[0144] Depend on Figure 8 The embodiment shown can actually be regarded as a Figure 7 A specific example of an implementation method is shown. Figure 8 In the illustrated embodiment, the air environment parameter is only one quantity, namely, the oxygen content in the vehicle.
[0145] For the treatment of oxygen content in the car, Figure 7 The embodiment shown is different, and is also compared with a preset lower limit value to see whether it is higher than this lower limit. If it is lower than this lower limit, it is necessary to ventilate the air in the car, that is, turn on the ventilation function of the air conditioner, or increase the ventilation volume.
[0146] Fig. 9 is a flow chart of a ventilation control method provided by one or more embodiments of the present invention. Fig. 9 , the ventilation air method comprises the following steps:
[0147] S91, obtaining a set of air environment parameters in the cabin.
[0148] S92, matching the air environment parameter set with a preset standard air environment parameter set.
[0149] S93: If the matching fails, start adjusting the cabin air environment parameter set.
[0150] S94, verifies the effect of the adjustment operation by detecting the fatigue level of the occupants of the vehicle.
[0151] S95: Determine whether to start acquiring the air environment parameter set again based on the verification result of the effect.
[0152] Depend on Fig. 9 The main innovation of the illustrated embodiment is that the effect of the adjustment operation is further verified by detecting the fatigue level of the occupants in the vehicle.
[0153] If the air quality in the car is good, the passengers in the car will not easily get tired; if the air quality in the car is bad, the passengers in the car will easily get tired. In other words, if the adjustment effect is good, the passengers in the car will not easily get tired; if the adjustment effect is not good, the passengers in the car will easily get tired.
[0154] If it is verified that the adjustment effect is not so good, the action of obtaining the air environment parameter set should be executed again to improve the air quality in the car as soon as possible, thereby ensuring the health of the people in the car.
[0155] like Fig.10 As shown, the present invention also provides a ventilation control device, comprising:
[0156] The acquisition unit 1001 is used to acquire a set of air environment parameters in the cabin.
[0157] The matching unit 1002 is used to match the air environment parameter set with a preset standard air environment parameter set.
[0158] The adjustment unit 1003 is used to start adjusting the cabin air environment parameter set if the matching fails.
[0159] It is worth noting that although only some basic functional modules are disclosed in the embodiments of the present invention, it does not mean that the composition of the present system is limited to the above basic functional modules. On the contrary, what the present embodiment wants to express is that on the basis of the above basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with the prior art to form an infinite number of embodiments or technical solutions. In other words, the present system is open rather than closed. Just because the present embodiment only discloses individual basic functional modules, it cannot be considered that the protection scope of the claims of the present invention is limited to the disclosed basic functional modules. At the same time, for the convenience of description, the above devices are described in terms of functions and are described separately in various units and modules. Of course, when implementing the present invention, the functions of each unit and module can be implemented in the same or one or more software and / or hardware.
[0160] like Fig.11As shown, the present invention also provides an electronic device, comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the ventilation control method.
[0161] Fig.11 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Fig.11 The electronic device provided in the embodiment of the present invention includes: one or more processors 1110 and a memory 1120; the processor 1110 in the electronic device may be one or more, Fig.11 A processor 1110 is taken as an example; the memory 1120 is used to store one or more programs; the one or more programs are executed by the one or more processors 1110, so that the one or more processors 1110 implement the ventilation control method as described in any one of the embodiments of the present invention.
[0162] The electronic device may further include: an input device 1130 and an output device 1140 .
[0163] The processor 1110, memory 1120, input device 1130 and output device 1140 in the electronic device can be connected via a bus or other means. Fig.11 The example of connecting through bus is taken in the following.
[0164] The memory 1120 in the electronic device is a computer-readable storage medium that can be used to store one or more programs, which can be software programs, computer executable programs, and modules, such as program instructions / modules corresponding to the ventilation control method provided in the embodiment of the present invention. The processor 1110 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 1120, that is, implementing the ventilation control method in the above method embodiment.
[0165] The memory 1120 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 1120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 1120 may further include a memory remotely arranged relative to the processor 1110, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0166] The input device 1130 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. The output device 1140 may include a display device such as a display screen.
[0167] The present invention also provides a computer-readable storage medium storing a computer program executable by an electronic device, and when the computer program runs on the electronic device, the electronic device executes the steps of the ventilation control method.
[0168] Specifically, the computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: 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 or 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 of the above. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0169] The present invention also provides a vehicle, wherein the vehicle is provided with the ventilation control device as described above.
[0170] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention 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 replace some or all of the technical features therein with equivalents. 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 invention.
[0171] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention 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 replace some or all of the technical features therein with equivalents. 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 invention.
Claims
1. A ventilation control method, characterized in that: The ventilation control method comprises: Obtain the air environment parameter set in the cabin; Matching the air environment parameter set with a preset standard air environment parameter set; If the matching fails, the adjustment of the cabin air environment parameter set is initiated; The adjustment of the air environment parameter set includes: turning on the ventilation function of the air conditioner, or increasing the ventilation volume of the air conditioner.
2. The method according to claim 1, characterized in that The air environment parameter set includes: an air environment parameter vector; The standard air environment parameter set includes: a standard air environment parameter range vector; Matching the air environment parameter set with the preset standard air environment parameter set includes: Check whether the air environment parameters in the air environment parameter set are within the corresponding standard air environment parameter range; Calculate the proportion of air environment parameters within the corresponding standard air environment parameter range; If the obtained specific gravity is higher than the first preset specific gravity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter range vector; If the obtained specific gravity is lower than the first preset specific gravity threshold, it is determined that the air environment parameter vector does not match the standard air environment parameter range vector.
3. The method according to claim 1, characterized in that The air environment parameter set includes: an air environment parameter vector; The standard air environment parameter set includes: a maximum value vector of the standard air environment parameter; Matching the air environment parameter set with the preset standard air environment parameter set includes: Check whether the air environment parameters are lower than the corresponding maximum values of the standard air environment parameters; Calculate the proportion of air environment parameters that are lower than the maximum value of the corresponding standard air environment parameters; If the obtained specific gravity is higher than the second preset specific gravity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter maximum value vector; If the obtained specific gravity is lower than the second preset specific gravity threshold, it is determined that the air environment parameter vector does not match the standard air environment parameter maximum value vector.
4. The method according to claim 1, characterized in that: The air environment parameter set includes: an air environment parameter vector; The standard air environment parameter set includes: a standard air environment parameter vector; Matching the air environment parameter set with the preset standard air environment parameter set includes: Calculate the cosine similarity between the air environment parameter set and the standard air environment parameter set; If the cosine similarity is greater than a first preset similarity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter vector; If the cosine similarity is less than the first preset similarity threshold, it is determined that the air environment parameter vector does not match the labeled air environment parameter vector.
5. The method according to claim 1, characterized in that The air environment parameter set includes: an air environment parameter vector; The standard air environment parameter set includes: a standard air environment parameter vector; Matching the air environment parameter set with the preset standard air environment parameter set includes: Conduct principal component analysis on the air environment parameter set; Based on the results of principal component analysis, the air environment parameter vector and the standard air environment parameter vector are simplified; Calculate the cosine similarity between the simplified air environment parameter vector and the standard air environment parameter vector; If the cosine similarity is greater than a second preset similarity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter vector; If the cosine similarity is less than the second preset similarity threshold, it is determined that the air environment parameter vector does not match the standard air environment parameter vector.
6. The method according to claim 1, characterized in that The air environment parameter set includes: an air environment parameter vector; The standard air environment parameter set includes: a standard air environment parameter vector; Matching the air environment parameter set with the preset standard air environment parameter set includes: Based on the activity level of each parameter in the air environment parameter vector, each parameter is screened; Reconstructing an air environment parameter vector and a standard air environment parameter vector from the screened parameters; calculating the cosine similarity between the reconstructed air environment parameter vector and the standard air environment parameter vector; If the cosine similarity is greater than a third preset similarity threshold, it is determined that the air environment parameter vector matches the standard air environment parameter vector; If the cosine similarity is less than the third preset similarity threshold, it is determined that the air environment parameter vector does not match the standard air environment parameter vector.
7. The method according to claim 1, characterized in that Also includes: Verify the effect of adjustment operations by detecting the fatigue level of the occupants; According to the verification result of the effect, determine whether to start obtaining the air environment parameter set again; Means for detecting the fatigue level of people in the car include: detecting the number of blinks and pattern matching of facial images.
8. A ventilation control device, characterized in that: The ventilation control device comprises: An acquisition unit, used to acquire a set of air environment parameters in the cabin; A matching unit, used to match the air environment parameter set with a preset standard air environment parameter set; An adjustment unit, used for initiating adjustment of the cabin air environment parameter set if the matching fails; The adjustment of the air environment parameter set includes: turning on the ventilation function of the air conditioner, or increasing the ventilation volume of the air conditioner.
9. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of any one of the methods described in claims 1 to 7.
10. A computer-readable storage medium, characterized in that: It stores a computer program executable by an electronic device, and when the computer program runs on the electronic device, the electronic device executes the steps of the method described in any one of claims 1 to 7.
