Vehicle window control method and device, storage medium and vehicle
Patent Information
- Application Number
- CN202411122193.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-11-12
AI Technical Summary
During the refueling process of car, the driver or passenger neglects to close the windows, causing harmful gases to enter the car, posing health risks and safety risks, and lacks intelligent methods for automatic identification and window control, resulting in the lack of operation dependence and intelligence.
By collecting window decision parameters, such as window status, vehicle speed, vehicle position and refueling status, calculate window decision scores, and generate window control logic based on scores and preset thresholds, automatic control of windows is realized to ensure that during the refueling process Close the windows in time.
Effectively monitor and automatically control the car windows to prevent harmful gases from entering the car, improve vehicle safety and passenger health, simplify user operation procedures, and improve driving experience.
Smart Images

Figure CN118933506A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of vehicle control technology, and in particular, to a vehicle window control method, device, storage medium and vehicle. Background Art
[0002] At present, when a car drives to a gas station to refuel, most drivers will neglect to close the car windows. However, at a gas station, the surrounding area of the vehicle is filled with gasoline vapor or other potentially harmful gases. If these gases enter the car, it will not only pose a threat to the health of passengers (especially children or passengers with gasoline allergies), but also increase potential safety risks (such as explosions, etc.).
[0003] The solution to the above technical problem seems simple, as long as the driver or other passengers close the car windows before refueling, but in actual driving operations, this is often not done due to forgetfulness or negligence. At the same time, there is currently no intelligent method on the market that can automatically identify the refueling environment and respond to the window control accordingly, which will at least lead to the following three problems:
[0004] 1. Health risks: Unclosed windows allow harmful gases to enter the car, which may cause long-term health effects on the people in the car;
[0005] 2. Operation dependence: Current window control is overly dependent on the driver’s memory and attention, which can easily lead to the failure of safety measures due to human factors;
[0006] 3. Lack of intelligence: There is no intelligent system that can automatically determine and execute the window closing operation, so preventive measures cannot be initiated automatically. Summary of the invention
[0007] The embodiments of the present invention provide a vehicle window control method, device, storage medium and vehicle, so as to at least solve the problems existing in the prior art during the refueling process of the car, such as health risks, operation dependence, lack of intelligence, etc., which are easily caused by the driver or passengers' negligence in closing the windows. On the one hand, it can ensure the safety of the vehicle and the health of the passengers during the refueling process, and on the other hand, it can also realize automatic control of the windows, simplify the user operation process, and help improve the user experience.
[0008] In a first aspect, an embodiment of the present invention provides a vehicle window control method, comprising at least the following steps:
[0009] Collect car window decision parameters;
[0010] Calculating a vehicle window decision score based on each of the vehicle window decision parameters, an influencing factor corresponding to each of the vehicle window decision parameters, and a weight corresponding to each of the vehicle window decision parameters;
[0011] Generating a window control logic according to a comparison result of the window decision score and a preset threshold value to control the window;
[0012] Among them, the window decision parameters at least include window state parameters, vehicle speed state parameters, vehicle position parameters, refueling state parameters and combined parameters; the combined parameters are composed of at least two parameters among the window state parameters, the vehicle speed state parameters, the vehicle position parameters and the refueling state parameters.
[0013] Optionally, calculating the vehicle window decision score according to each of the vehicle window decision parameters, the influencing factor corresponding to each of the vehicle window decision parameters, and the weight corresponding to each of the vehicle window decision parameters at least includes:
[0014] Calculating a logic function value corresponding to each of the vehicle window decision parameters based on each of the vehicle window decision parameters and an influencing factor corresponding to each of the vehicle window decision parameters;
[0015] A vehicle window decision score is calculated according to the weight corresponding to each of the vehicle window decision parameters and the logic function value corresponding to each of the vehicle window decision parameters.
[0016] Optionally, the vehicle window decision score may be calculated at least in the following manner:
[0017] S=w1·g(C)+w2·h(D)+w3·i(P)+w4·j(T)+w5·m(N);
[0018] Wherein, S represents the window decision score, w1 represents the weight corresponding to the window state parameter, g(C) represents the logic function value corresponding to the window state parameter, w2 represents the weight corresponding to the vehicle speed state parameter, h(D) represents the logic function value corresponding to the vehicle speed state parameter, w3 represents the weight corresponding to the vehicle position parameter, i(P) represents the logic function value corresponding to the vehicle position parameter, w4 represents the weight corresponding to the refueling state parameter, j(T) represents the logic function value corresponding to the refueling state parameter, w5 represents the weight corresponding to the combination parameter, and m(N) represents the logic function value corresponding to the combination parameter;
[0019] The logical function value corresponding to the combined parameter is obtained by performing preset numerical calculations on at least two of the logical function values corresponding to the window state parameter, the logical function value corresponding to the vehicle speed state parameter, the logical function value corresponding to the vehicle position parameter, and the logical function value corresponding to the refueling state parameter.
[0020] Optionally, when the vehicle window decision parameter is the vehicle window state parameter, the logic function value corresponding to the vehicle window decision parameter can be calculated at least in the following manner:
[0021] g(C)=1 / (1+e -aC );
[0022] Among them, g(C) represents the logical function value corresponding to the window state parameter, C represents the window state parameter, and a represents the influencing factor corresponding to the window state parameter.
[0023] Optionally, when the vehicle window decision parameter is the vehicle speed state parameter, the logic function value corresponding to the vehicle window decision parameter can be calculated at least in the following manner:
[0024] h(D)=1 / (1+e -bD );
[0025] Among them, h(D) represents the logical function value corresponding to the vehicle speed state parameter, D represents the vehicle speed state parameter, and b represents the influencing factor corresponding to the vehicle speed state parameter.
[0026] Optionally, when the vehicle window decision parameter is the vehicle position parameter, the logic function value corresponding to the vehicle window decision parameter can be calculated at least in the following manner:
[0027] i(P)=1 / (1+e -cP );
[0028] Among them, i(P) represents the logical function value corresponding to the vehicle position parameter, P represents the vehicle position parameter, and c represents the influencing factor corresponding to the vehicle position parameter.
[0029] Optionally, when the vehicle window decision parameter is the refueling state parameter, the logic function value corresponding to the vehicle window decision parameter can be calculated at least in the following manner:
[0030] j(T)=1 / (1+e -dT );
[0031] Among them, j(T) represents the logical function value corresponding to the refueling state parameter, T represents the refueling state parameter, and d represents the influencing factor corresponding to the refueling state parameter.
[0032] In a second aspect, an embodiment of the present invention further provides a vehicle window control device, comprising:
[0033] Parameter collection module, used to collect vehicle window decision parameters;
[0034] A score calculation module, used to calculate a vehicle window decision score based on each of the vehicle window decision parameters, an influencing factor corresponding to each of the vehicle window decision parameters, and a weight corresponding to each of the vehicle window decision parameters;
[0035] A window control module, used to generate a window control logic according to a comparison result between the window decision score and a preset threshold value, so as to control the window;
[0036] Among them, the window decision parameters at least include window state parameters, vehicle speed state parameters, vehicle position parameters, refueling state parameters and combined parameters; the combined parameters are composed of at least two parameters among the window state parameters, the vehicle speed state parameters, the vehicle position parameters and the refueling state parameters.
[0037] In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the vehicle window control method described in any one of the first aspects.
[0038] In a fourth aspect, an embodiment of the present invention further provides a vehicle, comprising:
[0039] An electronic device, used to implement the steps of the vehicle window control method according to any one of the first aspects;
[0040] A processor, wherein the processor runs a program, and when the program runs, data outputted from the electronic device executes the steps of any one of the vehicle window control methods of the first aspect;
[0041] The storage medium is used to store a program, and when the program is running, it executes the steps of the vehicle window control method described in any one of the first aspects for the data output from the electronic device.
[0042] The embodiment of the present invention provides a vehicle window control method, device, storage medium and vehicle. First, vehicle window decision parameters are collected; then, a vehicle window decision score is calculated based on each vehicle window decision parameter, an influencing factor corresponding to each vehicle window decision parameter and a weight corresponding to each vehicle window decision parameter; finally, a vehicle window control logic is generated according to a comparison result between the vehicle window decision score and a preset threshold value to control the vehicle window.
[0043] For example, the embodiment of the present invention can firstly collect and obtain window state parameters, vehicle speed state parameters, vehicle position parameters, refueling state parameters and combined parameters through window sensors, vehicle positioning systems, speed sensors, float-type oil level sensors and other existing sensors, modules or systems that have been integrated into the vehicle, without increasing the additional vehicle cost. Further, the window decision score is calculated based on the aforementioned window decision parameters, the influencing factors corresponding to the window decision parameters and the weights corresponding to the window decision parameters. The higher the window decision score, the closer the current vehicle environment is to the actual application of automatic window closing at a gas station. Finally, the window control logic is generated according to the comparison result between the window decision score and the preset threshold value to control the window; for example, if the window decision score is greater than or equal to the preset threshold value, it means that the current vehicle environment is suitable for the automatic window closing scene at a gas station. At this time, the window closing logic needs to be generated to close the vehicle window; if the window decision score is less than the preset threshold value, it means that the current vehicle environment is not suitable for the automatic window closing scene at a gas station. At this time, the window holding logic can be generated to control the vehicle window to maintain the status quo.
[0044] In view of this, the embodiments of the present invention can solve the problems of health risks, operation dependence, lack of intelligence, etc. that exist in the prior art during the refueling process of a car, which are easily caused by the driver or passengers' neglect of closing the windows. On the one hand, it can monitor the vehicle status and its environment in real time, and raise the windows in time and automatically before refueling to prevent harmful gases from entering the car, which is beneficial to ensuring the safety of the vehicle and the health of passengers during the refueling process. On the other hand, it can also realize automatic control of the windows, without the need for the driver or passengers to manually close the windows, thereby simplifying the user operation process and improving the user's driving or riding experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 is a flow chart of a vehicle window control method provided by an embodiment of the present invention;
[0047] Figure 2 is a flow chart of another vehicle window control method provided by an embodiment of the present invention;
[0048] Figure 3 is a structural schematic diagram of a vehicle window control device provided by an embodiment of the present invention;
[0049] Figure 4It is a structural schematic diagram of a vehicle system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0051] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two.
[0052] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0053] It should be understood that although the terms first, second, third, etc. may be used to describe in the embodiments of the present application, these descriptions should not be limited to these terms. These terms are only used to distinguish the descriptions. For example, without departing from the scope of the embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first.
[0054] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0055] It should also be noted that the term "includes", "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the commodity or device including the elements.
[0056] It should be particularly noted that any symbols and / or numbers in the specification that are not marked in the accompanying drawings are not drawing marks.
[0057] The embodiment of the present invention provides a vehicle window control method. Figure 1 This is a flow chart of a window control method provided by an embodiment of the present invention. This embodiment is at least applicable to the window control scenario in which a fuel-powered vehicle, a hybrid vehicle, or other vehicle that needs to refuel enters a gas station to refuel. The window control method can be, but is not limited to, executed by the window control device in the embodiment of the present invention as the execution subject, and the execution subject can be implemented in software and / or hardware. Figure 1 As shown, the vehicle window control method at least comprises the following steps:
[0058] S1. Collect vehicle window decision parameters.
[0059] Among them, the window decision parameters at least include window state parameters, vehicle speed state parameters, vehicle position parameters, refueling state parameters and combined parameters; the combined parameters are composed of at least two parameters among the window state parameters, vehicle speed state parameters, vehicle position parameters and refueling state parameters.
[0060] Exemplarily, the window state parameter can be obtained by a sensor independently installed at each window of the vehicle, and the sensor can be, for example, a displacement sensor, which can be specifically integrated at the drive motor of the window to provide real-time feedback of the current position and opening and closing state of the window according to the displacement information of the drive motor. In a specific embodiment, the window state parameter can be represented by "1" and "0", where "0" indicates that the window is closed and "1" indicates that the window is open.
[0061] The vehicle speed state parameter can be obtained through the vehicle speed sensor or wheel speed sensor integrated in the vehicle itself. Accordingly, the vehicle speed state parameter can refer to the vehicle speed calculated based on the transmission output shaft speed, rear axle speed ratio, and tire radius, or it can refer to the vehicle speed calculated based on the wheel speed and tire radius. In another specific implementation, the vehicle speed state parameter can be represented by "1" and "0", where "0" means that the vehicle is stopped and the speed is zero, and "1" means that the vehicle is running and the speed is not zero.
[0062] The vehicle location parameter can be obtained based on Beidou, GPS, navigation APP or other positioning systems integrated in the vehicle itself to indicate whether the current vehicle is in the refueling range (for example, whether it is located in a gas station). In another specific embodiment, the vehicle location parameter can be represented by "1" and "0", where "0" indicates that the vehicle is not in a gas station and "1" indicates that the vehicle is in a gas station.
[0063] The refueling status parameter may include, but is not limited to, the opening and closing status of the fuel tank, the operating status of the fuel pump, the current fuel level in the fuel tank, etc. Among them, the opening and closing status of the fuel tank can be detected by using a sensor near the vehicle's refueling port (for example, the sensor can be specifically installed on the refueling port cap); the operating status of the fuel pump can be obtained by interacting with the communication system in the gas station; the current fuel level in the fuel tank can be obtained based on the detection result of the vehicle's fuel level sensor (for example, a float-type fuel level sensor). Regardless of how the specific external form of the refueling status parameter changes, it can reflect whether the vehicle is refueling. In another specific embodiment, the refueling status parameter can be represented by "1" and "0", wherein "0" indicates that the vehicle is not in the refueling state, and "1" indicates that the vehicle is refueling.
[0064] The combined parameter is essentially a combination strategy of the window decision parameters, and the various parameters that make up the combined parameter are preferably closely related. For example, there is no need to forcibly combine the refueling state parameter and the vehicle position parameter, because when the refueling state parameter is "1", the vehicle position parameter must be "1" (that is, the vehicle must be in the gas station when refueling); in addition, there is no need to combine the vehicle speed state parameter and the refueling state parameter, because when the refueling state parameter is "1", the vehicle speed state parameter must be "0" (that is, the vehicle must be in a stopped state when refueling). The combined parameter can be composed of the window state parameter and the vehicle speed state parameter, for example.
[0065] S2. Calculate a vehicle window decision score based on each vehicle window decision parameter, an influencing factor corresponding to each vehicle window decision parameter, and a weight corresponding to each vehicle window decision parameter.
[0066] The execution subject of step S2 may be, for example, the electronic control unit (ECU) of the vehicle. It is known that the various window decision parameters obtained by the aforementioned sensors, modules or systems integrated in the vehicle may be transmitted to the ECU via the vehicle network (such as the CAN bus), and the ECU may calculate, process and analyze them uniformly.
[0067] It can be known that the influence factor corresponding to each window decision parameter and the weight corresponding to each window decision parameter can be used to reflect the degree of influence of each window decision parameter on the window decision score. Exemplarily, assuming that a certain window decision parameter and its influence factor remain unchanged, and other window decision parameters other than the window decision parameter, the influence factors of other window decision parameters, and the weights of other window decision parameters remain stable, then the larger the weight corresponding to the window decision parameter, the higher the window decision score; if a certain window decision parameter and its weight remain unchanged, and other window decision parameters other than the window decision parameter, the influence factors of other window decision parameters, and the weights of other window decision parameters remain stable, then the larger the influence factor corresponding to the window decision parameter, the higher the window decision score. It can be understood that the specific configuration form of the influence factor and the weight can be adaptively adjusted according to the actual use of the user's car, and the present invention is not limited to this.
[0068] S3. Generate a window control logic according to a comparison result between the window decision score and a preset threshold value to control the window.
[0069] The preset threshold can be used to judge whether the window decision score meets the window closing condition. The specific value setting is related to the calculation method of the window decision score and the strictness of the window closing decision, and can be configured according to the actual situation of the vehicle. Specifically, if the user wants the vehicle to be as safe as possible, a lower threshold can be selected, so that the window closing measure can be taken earlier to reduce risks.
[0070] In addition, the comparison result between the window decision score and the preset threshold value may be any one of the following: the window decision score is greater than the preset threshold value, the window decision score is equal to the preset threshold value, and the window decision score is less than the preset threshold value. The window control logic may include, for example, a window closing logic and a window holding logic.
[0071] In a specific implementation, when the window decision score is greater than or equal to a preset threshold, it can be determined that the current vehicle environment is suitable for the automatic window closing scenario at a gas station. At this time, it is necessary to generate window closing logic to close the vehicle windows; if the window decision score is less than the preset threshold, it means that the current vehicle environment is not suitable for the automatic window closing scenario at a gas station. At this time, window keeping logic can be generated to control the vehicle windows to maintain the status quo.
[0072] In summary, this embodiment can first collect window state parameters, vehicle speed state parameters, vehicle position parameters, and refueling state parameters through existing sensors, modules, or systems that have been integrated into the vehicle, such as window sensors, vehicle positioning systems, speed sensors, and float-type oil level sensors, and further obtain combined parameters without adding additional vehicle costs. Furthermore, based on the aforementioned window decision parameters, the influencing factors corresponding to the window decision parameters, and the weights corresponding to the window decision parameters, the window decision score is calculated. The higher the window decision score, the closer the current vehicle environment is to the actual application of automatic window closing at a gas station. Finally, the window control logic is generated based on the comparison result between the window decision score and the preset threshold to control the windows; for example, if the window decision score is greater than or equal to the preset threshold, it means that the current environment of the vehicle is suitable for the automatic window closing scenario at the gas station. At this time, it is necessary to generate the window closing logic to close the vehicle windows; if the window decision score is less than the preset threshold, it means that the current environment of the vehicle is not suitable for the automatic window closing scenario at the gas station. At this time, the window holding logic can be generated to control the vehicle windows to maintain the status quo.
[0073] In view of this, the present embodiment can solve the problems existing in the prior art during the refueling process of a car, such as health risks, operation dependence, lack of intelligence, etc., which are easily caused by the driver or passengers' negligence in closing the windows. On the one hand, it can monitor the vehicle status and its environment in real time, and raise the windows in time and automatically before refueling to prevent harmful gases from entering the car, which is beneficial to ensuring the safety of the vehicle and the health of the passengers during the refueling process. On the other hand, it can also realize automatic control of the windows without the need for the driver or passenger to close them manually, thereby simplifying the user operation process and improving the user's driving or riding experience.
[0074] It should be noted that, in some embodiments, the window control logic may also include a window opening logic, which can be generated at least when the window decision score is less than a preset threshold, and the difference between the preset threshold and the window decision score is greater than a set value, and the vehicle recognizes ventilation needs (for example, the air pollution outside the car is not serious, and the carbon dioxide content in the car is high, the temperature in the car is high, etc.), that is, the current vehicle environment is not suitable for the automatic window closing scene at a gas station and the user may have ventilation needs. At this time, the window is opened.
[0075] Based on the above-mentioned embodiments or implementation methods, the above-mentioned vehicle window control method is refined below, and the specific calculation method of the vehicle window decision score, how the influencing factors and weights specifically affect the level of the vehicle window decision score, etc. are explained, but it does not constitute a limitation to the present invention.
[0076] In a specific implementation, optionally, a window decision score is calculated based on each window decision parameter, the influencing factor corresponding to each window decision parameter and the weight corresponding to each window decision parameter, which at least includes: calculating the logical function value corresponding to each window decision parameter based on each window decision parameter and the influencing factor corresponding to each window decision parameter; calculating the window decision score based on the weight corresponding to each window decision parameter and the logical function value corresponding to each window decision parameter.
[0077] Based on the above technical solution, Figure 2 is a flow chart of another vehicle window control method provided by an embodiment of the present invention. Figure 2 As shown, the vehicle window control method specifically includes the following steps:
[0078] S1. Collect vehicle window decision parameters.
[0079] S21. Calculate the logic function value corresponding to each vehicle window decision parameter based on each vehicle window decision parameter and the influencing factor corresponding to each vehicle window decision parameter.
[0080] The logic function value may be a function of the vehicle window decision parameter and the influencing factor.
[0081] In a specific implementation, optionally, when the vehicle window decision parameter is a vehicle window state parameter, the logic function value corresponding to the vehicle window decision parameter may be calculated at least in the following manner:
[0082] g(C)=1 / (1+e -aC );
[0083] Among them, g(C) represents the logical function value corresponding to the window state parameter, C represents the window state parameter, and a represents the influencing factor corresponding to the window state parameter.
[0084] In another specific implementation, optionally, when the vehicle window decision parameter is a vehicle speed state parameter, the logic function value corresponding to the vehicle window decision parameter can be calculated at least in the following manner:
[0085] h(D)=1 / (1+e -bD );
[0086] Among them, h(D) represents the logical function value corresponding to the vehicle speed state parameter, D represents the vehicle speed state parameter, and b represents the influencing factor corresponding to the vehicle speed state parameter.
[0087] In another specific implementation, optionally, when the vehicle window decision parameter is a vehicle position parameter, the logic function value corresponding to the vehicle window decision parameter may be calculated at least in the following manner:
[0088] i(P)=1 / (1+e-cP );
[0089] Among them, i(P) represents the logical function value corresponding to the vehicle position parameter, P represents the vehicle position parameter, and c represents the influencing factor corresponding to the vehicle position parameter.
[0090] In another specific implementation, optionally, when the vehicle window decision parameter is a refueling state parameter, the logic function value corresponding to the vehicle window decision parameter can be calculated at least in the following manner:
[0091] j(T)=1 / (1+e -dT );
[0092] Among them, j(T) represents the logical function value corresponding to the refueling state parameter, T represents the refueling state parameter, and d represents the influencing factor corresponding to the refueling state parameter.
[0093] Based on the calculation method of the logical function values corresponding to the above-mentioned window decision parameters, it can be known that the main function of the influencing factors (i.e., the aforementioned a, b, c, d) is to adjust the steepness of the slope curve of the logical function value, thereby controlling the influence of each window decision parameter on the logical function value.
[0094] Taking the window state parameter as an example, when a>1, the slope of the curve of the logic function value becomes steeper, which means that the change of the window state parameter has a greater impact on the logic function value. In other words, the logic function value changes faster near C=0, and the slope curve is steeper; when a<1, the slope of the curve of the logic function value becomes gentle, which means that the change of the window state parameter has a smaller impact on the logic function value, the logic function value changes slower near C=0, and the slope curve is gentler; when a=1, the slope of the curve of the logic function value is the slope of the standard logic function, and the function graph presents a standard "S" curve. It can be seen that in the process of window closing decision, adjusting a, b, c, and d can change the degree of influence of the window state parameter on the logic function value, thereby affecting the final window decision score.
[0095] S22. Calculate the vehicle window decision score according to the weight corresponding to each vehicle window decision parameter and the logic function value corresponding to each vehicle window decision parameter.
[0096] Among them, the weight and logic function value corresponding to each window decision parameter can reflect the influence of the window decision parameter on the window closing decision.
[0097] In another specific implementation, optionally, the vehicle window decision score may be calculated at least in the following manner:
[0098] S=w1·g(C)+w2·h(D)+w3·i(P)+w4·j(T)+w5·m(N);
[0099] Among them, S represents the window decision score, w1 represents the weight corresponding to the window state parameter, g(C) represents the logical function value corresponding to the window state parameter, w2 represents the weight corresponding to the vehicle speed state parameter, h(D) represents the logical function value corresponding to the vehicle speed state parameter, w3 represents the weight corresponding to the vehicle position parameter, i(P) represents the logical function value corresponding to the vehicle position parameter, w4 represents the weight corresponding to the refueling state parameter, j(T) represents the logical function value corresponding to the refueling state parameter, w5 represents the weight corresponding to the combined parameter, and m(N) represents the logical function value corresponding to the combined parameter.
[0100] The logic function value corresponding to the combined parameter is obtained by performing preset numerical calculations on at least two of the logic function values corresponding to the window state parameter, the logic function value corresponding to the vehicle speed state parameter, the logic function value corresponding to the vehicle position parameter, and the logic function value corresponding to the refueling state parameter.
[0101] The preset numerical operation may be, but is not limited to, a multiplication operation.
[0102] S3. Generate a window control logic according to a comparison result between the window decision score and a preset threshold value to control the window.
[0103] The following example illustrates that the logic function value corresponding to the combined parameter is obtained by multiplying the logic function value corresponding to the window state parameter and the logic function value corresponding to the speed state parameter. In the scenario where the driver drives the vehicle to refuel, after the vehicle enters the gas station area, it slows down and stops at the gas station. The window remains open and the vehicle is in the refueling state. At this time, the following data can be obtained through the vehicle's existing sensors, modules or systems:
[0104] Window status parameter: If the window is not closed, C=1;
[0105] Vehicle speed state parameter: if the vehicle speed is 0, then D = 0;
[0106] Vehicle location parameter: If the vehicle is in a gas station, then P = 1;
[0107] Refueling status parameter: If the vehicle is refueling, T=1.
[0108] At this time, assuming that the influence factor a corresponding to the window state parameter, the influence factor b corresponding to the vehicle speed state parameter, the influence factor c corresponding to the vehicle position parameter, and the influence factor d corresponding to the refueling state parameter are all 1, then:
[0109] The logical function value corresponding to the window state parameter g(C)=1 / (1+e -aC )=1 / (1+e-1 )≈0.731;
[0110] The logic function value corresponding to the vehicle speed state parameter h(D)=1 / (1+e -bD )=1 / (1+e 0 )=0.5;
[0111] The logical function value corresponding to the vehicle position parameter i(P) = 1 / (1+e -cP )=1 / (1+e -1 )≈0.731;
[0112] The logical function value corresponding to the refueling state parameter j(T) = 1 / (1+e -dT )=1 / (1+e -1 )≈0.731;
[0113] The logic function value corresponding to the combined parameter is m(N)=g(C)·h(D)=0.731×0.5=0.3655.
[0114] If the weight w1 corresponding to the window state parameter, the weight w2 corresponding to the vehicle speed state parameter, and the weight w4 corresponding to the refueling state parameter are all 0.2, the weight w3 corresponding to the vehicle position parameter is 0.3, and the weight w5 corresponding to the combined parameter is 0.1, then the final window decision score S is:
[0115] S=w1·g(C)+w2·h(D)+w3·i(P)+w4·j(T)+w5·m(N)
[0116] =w1·g(C)+w2·h(D)+w3·i(P)+w4·j(T)+w5·[g(C)·h(D)]
[0117] =0.2×0.731+0.2×0.5+0.3×0.731+0.2×0.731+0.1×0.3655
[0118] =0.64825;
[0119] In this way, when the preset threshold set by the user is 0.6, it is obvious that the current window decision score is greater than the preset threshold, indicating that the current vehicle environment is suitable for the automatic window closing scenario at the gas station. At this time, the ECU can generate a window closing command according to the window closing logic, and send the window closing command to the window lifting control motor to automatically close the vehicle windows.
[0120] It can be seen that this embodiment can solve the problems of health risks, operation dependence, lack of intelligence, etc. that exist in the prior art during the refueling process of a car, which are easily caused by the driver or passengers neglecting to close the windows. On the one hand, it can monitor the vehicle status and its environment in real time, and raise the windows in time and automatically before refueling to prevent harmful gases from entering the car, which is beneficial to ensuring the safety of the vehicle and the health of the passengers during the refueling process. On the other hand, it can also realize automatic control of the windows without the driver or passenger manually closing them, thereby simplifying the user operation process and improving the user's driving or riding experience.
[0121] The embodiment of the present invention further provides a vehicle window control device, Figure 3 : is a structural diagram of a vehicle window control device provided by an embodiment of the present invention. This embodiment is at least applicable to vehicle window control scenarios in which fuel vehicles, hybrid vehicles, and other vehicles that need to refuel enter a gas station to refuel. The device can be implemented by software and / or hardware, and the device can be integrated into the vehicle by being integrated into the vehicle system. Figure 3 As shown, the vehicle window control device provided in this embodiment includes:
[0122] The parameter collection module 110 is used to collect vehicle window decision parameters.
[0123] The score calculation module 120 is used to calculate the vehicle window decision score based on each of the vehicle window decision parameters, the influencing factor corresponding to each of the vehicle window decision parameters, and the weight corresponding to each of the vehicle window decision parameters.
[0124] The vehicle window control module 130 is used to generate a vehicle window control logic according to a comparison result between the vehicle window decision score and a preset threshold value, so as to control the vehicle window.
[0125] Among them, the window decision parameters at least include window state parameters, vehicle speed state parameters, vehicle position parameters, refueling state parameters and combined parameters; the combined parameters are composed of at least two parameters among the window state parameters, vehicle speed state parameters, vehicle position parameters and refueling state parameters.
[0126] In addition, the parameter acquisition module 110, namely the aforementioned window sensor, vehicle positioning system, speed sensor, float-type oil level sensor and other existing sensors, modules or systems integrated in the vehicle, the score calculation module 120 and the window control module 130 can all be installed in the vehicle ECU.
[0127] Optionally, the score calculation module 120 is at least specifically used to calculate the logical function value corresponding to each window decision parameter based on each window decision parameter and the influencing factor corresponding to each window decision parameter; and to calculate the window decision score based on the weight corresponding to each window decision parameter and the logical function value corresponding to each window decision parameter.
[0128] Optionally, when the window decision parameter is a window state parameter, the logic function value corresponding to the window decision parameter can be calculated at least in the following manner:
[0129] g(C)=1 / (1+e -aC );
[0130] Among them, g(C) represents the logical function value corresponding to the window state parameter, C represents the window state parameter, and a represents the influencing factor corresponding to the window state parameter.
[0131] Optionally, when the vehicle window decision parameter is a vehicle speed state parameter, the logic function value corresponding to the vehicle window decision parameter can be calculated at least in the following manner:
[0132] h(D)=1 / (1+e -bD );
[0133] Among them, h(D) represents the logical function value corresponding to the vehicle speed state parameter, D represents the vehicle speed state parameter, and b represents the influencing factor corresponding to the vehicle speed state parameter.
[0134] Optionally, when the window decision parameter is a vehicle position parameter, the logic function value corresponding to the window decision parameter can be calculated at least in the following manner:
[0135] i(P)=1 / (1+e -cP );
[0136] Among them, i(P) represents the logical function value corresponding to the vehicle position parameter, P represents the vehicle position parameter, and c represents the influencing factor corresponding to the vehicle position parameter.
[0137] Optionally, when the vehicle window decision parameter is a refueling state parameter, the logic function value corresponding to the vehicle window decision parameter can be calculated at least in the following manner:
[0138] j(T)=1 / (1+e -dT );
[0139] Among them, j(T) represents the logical function value corresponding to the refueling state parameter, T represents the refueling state parameter, and d represents the influencing factor corresponding to the refueling state parameter.
[0140] Optionally, the window decision score may be calculated at least in the following manner:
[0141] S=w1·g(C)+w2·h(D)+w3·i(P)+w4·j(T)+w5·m(N);
[0142] Among them, S represents the window decision score, w1 represents the weight corresponding to the window state parameter, g(C) represents the logic function value corresponding to the window state parameter, w2 represents the weight corresponding to the vehicle speed state parameter, h(D) represents the logic function value corresponding to the vehicle speed state parameter, w3 represents the weight corresponding to the vehicle position parameter, i(P) represents the logic function value corresponding to the vehicle position parameter, w4 represents the weight corresponding to the refueling state parameter, j(T) represents the logic function value corresponding to the refueling state parameter, w5 represents the weight corresponding to the combination parameter, and m(N) represents the logic function value corresponding to the combination parameter;
[0143] The logic function value corresponding to the combined parameter is obtained by performing preset numerical calculations on at least two of the logic function values corresponding to the window state parameter, the logic function value corresponding to the vehicle speed state parameter, the logic function value corresponding to the vehicle position parameter, and the logic function value corresponding to the refueling state parameter.
[0144] In summary, the present embodiment can firstly collect window state parameters, vehicle speed state parameters, vehicle position parameters, and refueling state parameters through the parameter collection module, and further obtain the combined parameters. Further, the window decision score is calculated based on the aforementioned window decision parameters, the influencing factors corresponding to the window decision parameters, and the weights corresponding to the window decision parameters through the score calculation module. The higher the window decision score, the closer the current vehicle environment is to the actual application of automatic window closing at a gas station. Finally, the window control module generates the window control logic according to the comparison result between the window decision score and the preset threshold value to control the window; for example, if the window decision score is greater than or equal to the preset threshold value, it means that the current vehicle environment is suitable for the automatic window closing scene at a gas station. At this time, it is necessary to generate the window closing logic to close the vehicle window; if the window decision score is less than the preset threshold value, it means that the current vehicle environment is not suitable for the automatic window closing scene at a gas station. At this time, the window holding logic can be generated to control the vehicle window to maintain the status quo.
[0145] In view of this, the present embodiment can solve the problems existing in the prior art during the refueling process of a car, such as health risks, operation dependence, lack of intelligence, etc., which are easily caused by the driver or passengers' negligence in closing the windows. On the one hand, it can monitor the vehicle status and its environment in real time, and raise the windows in time and automatically before refueling to prevent harmful gases from entering the car, which is beneficial to ensuring the safety of the vehicle and the health of the passengers during the refueling process. On the other hand, it can also realize automatic control of the windows without the need for the driver or passenger to close them manually, thereby simplifying the user operation process and improving the user's driving or riding experience.
[0146] Figure 4 It is a structural schematic diagram of a vehicle system provided by an embodiment of the present invention. Figure 4A block diagram of an exemplary vehicle system 21 suitable for implementing embodiments of the present invention is shown. Figure 4 The vehicle system 21 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present invention.
[0147] like Figure 4 As shown, the vehicle system 21 is in the form of a general-purpose computing device. The components of the vehicle system 21 may include, but are not limited to: a radar 31, one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
[0148] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0149] The vehicle system 21 typically includes a variety of computer system readable media, which can be any available media that can be accessed by the vehicle system 21, including volatile and non-volatile media, removable and non-removable media.
[0150] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The vehicle system 21 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 4 not shown, usually called a "hard drive"). Although Figure 4 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.
[0151] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0152] The vehicle system 21 may also communicate with one or more external devices 14 (such as keyboards, pointing devices, displays 24, etc.), and may also communicate with one or more devices that enable a user to interact with the vehicle system 21, and / or communicate with any device that enables the vehicle system 21 to communicate with one or more other computing devices (such as a network card, a modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. In addition, in the vehicle system 21 of the present embodiment, the display 24 does not exist as an independent individual, but is embedded in the mirror surface. When the display surface of the display 24 is not displayed, the display surface of the display 24 is visually integrated with the mirror surface. In addition, the vehicle system 21 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 20. Figure 4 As shown, the network adapter 20 communicates with other modules of the vehicle system 21 through the bus 18. It should be understood that although Figure 4 Not shown, other hardware and / or software modules may be used in conjunction with the vehicle system 21, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0153] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing the window control method provided in the embodiment of the present invention: collecting window decision parameters; calculating the window decision score based on each window decision parameter, the influencing factor corresponding to each window decision parameter and the weight corresponding to each window decision parameter; generating the window control logic according to the comparison result of the window decision score and the preset threshold value to control the window.
[0154] An embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the vehicle window control method provided in all the invention embodiments of the present application: collecting vehicle window decision parameters; calculating a vehicle window decision score based on each vehicle window decision parameter, an influencing factor corresponding to each vehicle window decision parameter, and a weight corresponding to each vehicle window decision parameter; generating a vehicle window control logic based on a comparison result between the vehicle window decision score and a preset threshold value to control the vehicle window.
[0155] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (a 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 thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device, or device.
[0156] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0157] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0158] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0159] An embodiment of the present invention further provides a vehicle, comprising:
[0160] An electronic device for implementing the steps of a vehicle window control method;
[0161] A processor, the processor runs a program, and when the program runs, the steps of the vehicle window control method are executed from the data output by the electronic device;
[0162] The storage medium is used to store a program, and when the program is running, the program executes the steps of the vehicle window control method for the data output from the electronic device.
[0163] The communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus may be divided into an address bus, a data bus, a control bus, etc.
[0164] The electronic device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory. The operating system can be any one or more computer operating systems that implement electronic device control through a process, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. In addition, in an embodiment of the present invention, the electronic device can be a handheld device such as a smart phone or a tablet computer, or can be an electronic device such as a desktop computer or a portable computer, which is not particularly limited in the embodiment of the present invention.
[0165] The execution subject of the electronic device control in the embodiment of the present invention may be an electronic device, or a functional module in the electronic device that can call and execute a program. The electronic device may obtain the firmware corresponding to the storage medium. The firmware corresponding to the storage medium is provided by the supplier. The firmware corresponding to different storage media may be the same or different, which is not limited here. After the electronic device obtains the firmware corresponding to the storage medium, the firmware corresponding to the storage medium may be written into the storage medium, specifically, the firmware corresponding to the storage medium may be burned into the storage medium. The process of burning the firmware into the storage medium may be implemented using existing technology, which will not be described in detail in the embodiment of the present invention.
[0166] The electronic device may also obtain a reset command corresponding to the storage medium. The reset command corresponding to the storage medium is provided by the supplier. The reset commands corresponding to different storage media may be the same or different, and are not limited here.
[0167] At this time, the storage medium of the electronic device is a storage medium in which the corresponding firmware is written, and the electronic device can respond to the reset command corresponding to the storage medium in the storage medium in which the corresponding firmware is written, so that the electronic device resets the storage medium in which the corresponding firmware is written according to the reset command corresponding to the storage medium. The process of resetting the storage medium according to the reset command can be implemented by the existing technology and will not be described in detail in the embodiments of the present invention.
[0168] For the convenience of description, the above devices are described in terms of functions and are divided into various units and modules. Of course, when implementing the present application, the functions of each unit and module can be implemented in the same or multiple software and / or hardware.
[0169] Those skilled in the art will appreciate that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined.
[0170] For the method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0171] It can be known from the description of the above implementation modes that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to execute the methods described in the various implementation modes of the present application or certain parts of the implementation modes.
[0172] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A vehicle window control method, characterized in that: At least the following steps are included: Collect car window decision parameters; Calculating a vehicle window decision score based on each of the vehicle window decision parameters, an influencing factor corresponding to each of the vehicle window decision parameters, and a weight corresponding to each of the vehicle window decision parameters; Generating a window control logic according to a comparison result of the window decision score and a preset threshold value to control the window; Among them, the window decision parameters at least include window state parameters, vehicle speed state parameters, vehicle position parameters, refueling state parameters and combined parameters; the combined parameters are composed of at least two parameters among the window state parameters, the vehicle speed state parameters, the vehicle position parameters and the refueling state parameters.
2. The vehicle window control method according to claim 1, characterized in that: The calculating the vehicle window decision score according to each of the vehicle window decision parameters, the influencing factor corresponding to each of the vehicle window decision parameters, and the weight corresponding to each of the vehicle window decision parameters at least includes: Calculating a logic function value corresponding to each of the vehicle window decision parameters based on each of the vehicle window decision parameters and an influencing factor corresponding to each of the vehicle window decision parameters; A vehicle window decision score is calculated according to the weight corresponding to each of the vehicle window decision parameters and the logic function value corresponding to each of the vehicle window decision parameters.
3. The vehicle window control method according to claim 2, characterized in that: The vehicle window decision score can be calculated at least in the following way: S=w1·g(C)+w2·h(D)+w3·i(P)+w4·j(T)+w5·m(N); Wherein, S represents the window decision score, w1 represents the weight corresponding to the window state parameter, g(C) represents the logic function value corresponding to the window state parameter, w2 represents the weight corresponding to the vehicle speed state parameter, h(D) represents the logic function value corresponding to the vehicle speed state parameter, w3 represents the weight corresponding to the vehicle position parameter, i(P) represents the logic function value corresponding to the vehicle position parameter, w4 represents the weight corresponding to the refueling state parameter, j(T) represents the logic function value corresponding to the refueling state parameter, w5 represents the weight corresponding to the combination parameter, and m(N) represents the logic function value corresponding to the combination parameter; The logical function value corresponding to the combined parameter is obtained by performing preset numerical calculations on at least two of the logical function values corresponding to the window state parameter, the logical function value corresponding to the vehicle speed state parameter, the logical function value corresponding to the vehicle position parameter, and the logical function value corresponding to the refueling state parameter.
4. The vehicle window control method according to claim 3, characterized in that: When the window decision parameter is the window state parameter, the logic function value corresponding to the window decision parameter can be calculated at least in the following manner: g(C)=1 / (1+e -aC ); Among them, g(C) represents the logical function value corresponding to the window state parameter, C represents the window state parameter, and a represents the influencing factor corresponding to the window state parameter.
5. The vehicle window control method according to claim 3, characterized in that: When the vehicle window decision parameter is the vehicle speed state parameter, the logic function value corresponding to the vehicle window decision parameter can be calculated at least in the following manner: h(D)=1 / (1+e -bD ); Among them, h(D) represents the logical function value corresponding to the vehicle speed state parameter, D represents the vehicle speed state parameter, and b represents the influencing factor corresponding to the vehicle speed state parameter.
6. The vehicle window control method according to claim 3, characterized in that: When the window decision parameter is the vehicle position parameter, the logic function value corresponding to the window decision parameter can be calculated at least in the following manner: i(P)=1 / (1+e -cP ); Among them, i(P) represents the logical function value corresponding to the vehicle position parameter, P represents the vehicle position parameter, and c represents the influencing factor corresponding to the vehicle position parameter.
7. The vehicle window control method according to claim 3, characterized in that: When the vehicle window decision parameter is the refueling state parameter, the logic function value corresponding to the vehicle window decision parameter can be calculated at least in the following manner: j(T)=1 / (1+e -dT ); Among them, j(T) represents the logical function value corresponding to the refueling state parameter, T represents the refueling state parameter, and d represents the influencing factor corresponding to the refueling state parameter.
8. A vehicle window control device, characterized in that: include: Parameter collection module, used to collect vehicle window decision parameters; A score calculation module, used to calculate a vehicle window decision score based on each of the vehicle window decision parameters, an influencing factor corresponding to each of the vehicle window decision parameters, and a weight corresponding to each of the vehicle window decision parameters; A window control module, used to generate a window control logic according to a comparison result between the window decision score and a preset threshold value, so as to control the window; Among them, the window decision parameters at least include window state parameters, vehicle speed state parameters, vehicle position parameters, refueling state parameters and combined parameters; the combined parameters are composed of at least two parameters among the window state parameters, the vehicle speed state parameters, the vehicle position parameters and the refueling state parameters.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the vehicle window control method described in any one of claims 1 to 7 is implemented.
10. A vehicle, characterized in that: include: An electronic device, used to implement the steps of the vehicle window control method according to any one of claims 1 to 7; A processor, wherein the processor runs a program, and when the program runs, data output from the electronic device executes the steps of the vehicle window control method according to any one of claims 1 to 7; A storage medium is used to store a program, and when the program is running, it executes the steps of the vehicle window control method according to any one of claims 1 to 7 for data output from the electronic device.
