Vehicle control method and device and vehicle
By detecting the distance between the vehicle and the odor source and controlling the window and air conditioning mode, the problem that the vehicle cannot isolate the external odor in time when passing through the odor source is solved, and the comfort of the cockpit environment is improved.
Patent Information
- Application Number
- CN202311266053.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-27
- Publication Date
- 2025-03-28
AI Technical Summary
When a vehicle passes through a odor source, it cannot isolate the external odor source in time, affecting the air quality inside the vehicle and reducing the comfort of the cockpit environment.
By detecting the circulation state of the air inside the vehicle and the air outside the vehicle, the position information of the vehicle's current position and the area where the odor source is located is obtained. If the distance is less than or equal to the preset distance threshold, the target window of the control vehicle is in the closed state and the air conditioning mode is switched to the internal circulation.
It realizes that the external odor source is isolated in advance before the vehicle is about to pass through the odor source, and improves the comfort of the cockpit environment.
Smart Images

Figure CN119704973A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicles, and more specifically, to a vehicle control method, a control device and a vehicle in the field of vehicles. Background Art
[0002] With the development of the automobile industry, cars are becoming more and more involved in our lives, and the comfort of the vehicle cabin environment has gradually received attention.
[0003] When a vehicle passes through an area where an odor source is located, the environmental odor will enter the vehicle, affecting the air quality inside the vehicle. The current approach is to manually close the windows and switch the air conditioner to internal circulation when the vehicle passes through an area where an odor source is located to isolate the vehicle from external pollution; however, the operation has already caused air pollution inside the vehicle; how to isolate the external odor source in time and improve the comfort of the cabin environment is an issue that needs to be addressed urgently. Summary of the invention
[0004] The present application provides a vehicle control method, a control device and a vehicle. The method can isolate the influence of external odor sources on the vehicle cabin environment in advance before the vehicle is about to pass the odor source, thereby improving the comfort of the cabin environment.
[0005] In a first aspect, a vehicle control method is provided, the method comprising: if it is detected that the air inside the vehicle and the air outside the vehicle are in a circulation state, obtaining the current position and the target area position of the vehicle, the target area position being used to represent a preset area where an odor source is located; determining a distance value between the current position and the target area position; if the distance value is less than or equal to a preset distance threshold, controlling a target window of the vehicle to be in a closed state, and controlling the air conditioner of the vehicle to enter an internal circulation mode, the target windows including car windows and sunroofs.
[0006] In an embodiment of the present application, if it is detected that the air inside the vehicle and the air outside the vehicle are in a circulation state, the current position of the vehicle and the location of the area where the odor source is located will be obtained, and the distance between the current position and the area where the odor source is located will be determined. When the distance is less than or equal to a preset distance threshold, the vehicle target window is controlled to be in a closed state, and the vehicle's air conditioner is controlled to enter a circulation mode; because the vehicle will obtain the location of the preset area where the odor source is located in advance, and block the circulation of the air inside the vehicle and the air outside the vehicle when the distance between the current position of the vehicle and the preset area where the odor source is located is less than or equal to the preset distance threshold, the influence of external odor sources on the vehicle cabin environment can be isolated in time, thereby improving the comfort of the cabin environment.
[0007] In one implementation, if it is detected that the vehicle is in a driving state, and the air inside the vehicle and the air outside the vehicle are in a circulation state, the current position of the vehicle and the position of the target area are obtained.
[0008] In combination with the first aspect, in some implementations of the first aspect, the method further includes:
[0009] Obtain the current state of the target window and the current circulation mode of the air conditioner, wherein the current state is used to indicate the degree of opening of the target window before it is in the closed state, and the current circulation mode is used to indicate the circulation mode of the air conditioner before it enters the internal circulation mode; if it is detected that the distance value is greater than the preset distance threshold, control the target window to the current state, and control the air conditioner to enter the current circulation mode.
[0010] In the embodiment of the present application, when the vehicle controls the target window to be in the closed state, before the air conditioner is controlled to enter the internal circulation mode, the current state of the vehicle's target window and the current circulation mode of the vehicle's air conditioner are obtained; when the distance between the vehicle's position and the preset area where the odor source is located is greater than the preset distance threshold, the target window is controlled to be in the current state, and the air conditioner is controlled to enter the current circulation mode. Since the vehicle will automatically restore the vehicle's target window to the state before closing when it is far away from the odor source and is no longer affected by the odor source, the circulation mode of the air conditioner is restored to the mode before entering the internal circulation mode; that is, after detecting that the vehicle is far away from the preset area where the odor source is located, the state of the vehicle's windows, sunroof or air conditioner is automatically restored; no manual operation by the user is required, which is more intelligent and improves the user experience.
[0011] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, the target window of the vehicle is controlled to be in a closed state, and the air conditioner of the vehicle is controlled to enter an internal circulation mode, including: if an obstacle is detected when the window and / or sunroof is controlled to be in a closed state, and the force generated by the obstacle is greater than a preset threshold, the window and / or sunroof is controlled to move in a first direction, and a prompt message is sent; wherein, the first direction is a direction opposite to the closing direction of the window and / or sunroof, and the prompt message is used to prompt the user to close the window and / or sunroof.
[0012] In an embodiment of the present application, when the vehicle is controlling the closing of the windows and / or sunroof, if an obstacle is detected, the vehicle will detect the force generated by the obstacle. When the force value is greater than a preset threshold, the vehicle will stop closing the windows and / or sunroof, and the windows and / or sunroof will move in the opposite direction of the closing direction. At the same time, a prompt message is sent to the user to prompt the user to close the windows and / or sunroof. Since the vehicle will detect obstacles when closing the windows and / or sunroof and stop closing the windows and / or sunroof when the force value generated is greater than a preset threshold, the anti-pinch function of the windows and / or sunroof can be implemented to avoid injuries when closing the windows and / or sunroof. At the same time, through voice prompt information, the user can promptly perceive the open state of the windows and / or sunroof and close them manually to avoid the vehicle's cabin environment being affected by external odor sources.
[0013] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the vehicle includes a vehicle-mounted terminal and a controller, and the controlling of the target window of the vehicle is in a closed state, and the air conditioner of the vehicle is controlled to enter the internal circulation mode, including: sending a control instruction to the vehicle-mounted terminal, and the control instruction is used to indicate blocking the odor source; the vehicle-mounted terminal sends the control instruction to the controller, so that the controller controls the target window of the vehicle to be in a closed state, and controls the air conditioner of the vehicle to enter the internal circulation mode.
[0014] In the embodiment of the present application, a command is sent to the vehicle terminal, and then the vehicle terminal sends a command to the controller, and the controller controls the vehicle target window to be in a closed state and controls the vehicle air conditioner to enter the internal circulation mode. Since the command is sent through the vehicle terminal, it can be ensured that the vehicle controller can receive the corresponding command and execute the command; thereby ensuring that the influence of the external odor source on the vehicle cabin environment is isolated and the comfort of the cabin environment is improved.
[0015] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, the method also includes: if the sunroof is not closed within a first preset time threshold, sending a sunroof fault prompt information, and the sunroof fault prompt information is used to remind the user of the sunroof fault; and / or, if the window is not closed within a second preset time threshold, sending a window fault prompt information, and the window fault prompt information is used to remind the user of the window fault; and / or, if the internal circulation mode is not adjusted within a third preset time threshold, sending an air-conditioning fault prompt information, and the air-conditioning fault prompt information is used to remind the user of the air-conditioning fault; wherein, the first preset time threshold is greater than the second preset time threshold, and the second preset time threshold is greater than the third preset time threshold.
[0016] In an embodiment of the present application, when the sunroof of the vehicle is not closed within a first preset time threshold, or the window is not closed within a second preset time threshold, or the air conditioner of the vehicle does not enter the internal circulation mode within a third preset time threshold, a prompt message will be sent to the user, and the prompt message is used to remind the user that a fault exists; since a prompt message is sent to the user when the instruction is not executed normally, the user can discover the existence of the fault in time, which facilitates timely repair of the vehicle to solve the corresponding fault problem.
[0017] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, obtaining the current position and the target area position of the vehicle includes: if the vehicle's onboard navigation is in an on-state, obtaining information on the vehicle's current position and a preset position through navigation data of the on-board navigation, the preset position being used to indicate a location where a preset type of gas is generated; and obtaining the target area position based on the information on the preset position and the preset area.
[0018] In the embodiments of the present application, since the current position and preset position information of the vehicle are obtained through the vehicle navigation, it can be ensured that the vehicle accurately obtains the current position information of the vehicle and the position information of the odor source area generating the odorous gas.
[0019] In combination with the first aspect and the above-mentioned implementations, in some implementations of the first aspect, the method also includes: detecting the air quality of the air in the vehicle; if the air quality does not meet the preset conditions, controlling the in-vehicle air purification of the vehicle to be in an on state.
[0020] In an embodiment of the present application, the vehicle can monitor the air quality in the car, and when the air quality does not meet the preset conditions, the air purification in the car is controlled to be in the on state; by turning on the air purification in the car, the air quality in the car can be guaranteed and the comfort of the cabin environment can be improved.
[0021] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the air inside the vehicle and the air outside the vehicle are in a circulation state, including: the windows of the vehicle are open, the sunroof of the vehicle is open, and the air conditioner enters one or more of the external circulation mode.
[0022] In an embodiment of the present application, the vehicle's interior air and exterior air are in a circulation state when the vehicle windows are open, the vehicle sunroof is open, and the vehicle's air conditioner enters an external circulation mode. When at least one of the above conditions is met, it can be determined that the vehicle's interior air and exterior air are in a circulation state. When it is determined that the vehicle's interior air and exterior air are in a circulation state, the distance between the vehicle's current position and the area where the odor source is located is less than or equal to a preset distance threshold, thereby blocking the circulation of the vehicle's interior air and exterior air. Therefore, the influence of external odor sources on the vehicle's cabin environment can be isolated in time, thereby improving the comfort of the cabin environment.
[0023] In a second aspect, a vehicle control device is provided, which includes: an acquisition module, which is used to acquire the current position and the target area position of the vehicle if it is detected that the air inside the vehicle and the air outside the vehicle are in a circulation state, and the target area position is used to indicate a preset area where the odor source is located; a determination module, which is used to determine the distance value between the current position and the target area position; and a control module, which is used to control the target window of the vehicle to be in a closed state and control the air conditioner of the vehicle to enter an internal circulation mode if the distance value is less than or equal to a preset distance threshold. The target windows include car windows and sunroofs.
[0024] In a third aspect, a vehicle is provided, comprising a memory and a processor, wherein the memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0025] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0026] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 is a schematic diagram of a scenario in which a vehicle passes through a preset area where an odor source is located, provided in an embodiment of the present application;
[0028] Figure 2 is a flow chart of a vehicle control method provided in an embodiment of the present application;
[0029] Figure 3is a flow chart of another vehicle control method provided in an embodiment of the present application;
[0030] Figure 4 is a flow chart of another vehicle control method provided in an embodiment of the present application;
[0031] Figure 5 is a schematic flow chart of a vehicle executing a blocking instruction provided by an embodiment of the present application;
[0032] Figure 6 is a schematic flow chart of a vehicle executing a recovery instruction provided by an embodiment of the present application;
[0033] Figure 7 is a schematic flow chart of a safety strategy when a vehicle executes a blocking instruction provided in an embodiment of the present application;
[0034] Figure 8 is a schematic flowchart of a vehicle failing to execute a blocking instruction or a recovery instruction provided by an embodiment of the present application;
[0035] Fig. 9 is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application;
[0036] Fig.10 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] The following will be combined with the accompanying drawings to clearly and thoroughly describe the technical solutions in this application. In the description of the embodiments of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text 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 mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more than two.
[0038] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0039] Figure 1 This is a schematic diagram of a scenario in which a vehicle passes through a preset area where an odor source is located, as provided in an embodiment of the present application.
[0040] Exemplarily, the scene 100 includes a vehicle 110 , an odor source 120 , and a preset area 130 where the odor source is located, wherein the preset area 130 where the odor source is located represents an area of influence of the odor source 120 .
[0041] For example, when the vehicle 110 passes through the preset area 130 where the odor source is located while driving on the lane, if the air inside the vehicle 110 and the air outside the vehicle are in a circulation state, specifically including the windows of the vehicle 110 being open, or the sunroof of the vehicle 110 being open, or the air conditioner of the vehicle 110 being in external circulation mode, the air inside the vehicle 110 will be affected by the odor source 120; if the user manually closes the window when the vehicle is already in the preset area 130 where the odor source is located, the air inside the vehicle has already been affected by the odor source, and the odor source cannot be isolated in time, resulting in poor comfort of the cabin environment.
[0042] In view of this, the present application provides a vehicle control method, device and vehicle; through the embodiments of the present application, the circulation state of the vehicle and the outside air can be closed in advance according to the location information of the vehicle and the preset area where the odor source is located, thereby isolating the influence of the odor source and improving the comfort of the cabin environment.
[0043] Combine the following Figures 2 to 7 The vehicle control method provided in the embodiment of the present application is described in detail.
[0044] Figure 2 It is a flow chart of a vehicle control method provided in an embodiment of the present application.
[0045] For example, Figure 2 The method shown can be Figure 1 The vehicle 110 shown is executed; or, Figure 1 The vehicle terminal in the vehicle 110 shown in the figure is executed; or Figure 1 A processor or chip in the vehicle 110 is shown executing.
[0046] S210: If it is detected that the air inside the vehicle and the air outside the vehicle are in a circulation state, the current position of the vehicle and the position of the target area are obtained.
[0047] The target area position is used to indicate the preset area where the odor source is located, that is, the target area refers to the influence range of the odor source area; for example, the target area may refer to Figure 1 The odor source is shown in a preset area 130 .
[0048] It should be noted that when it is detected that the air inside the vehicle and the air outside the vehicle are in a circulation state, it means that the vehicle may be affected by the odor source. At this time, it is necessary to obtain the current position of the vehicle and the position of the target area (the preset area where the odor source is located) for further judgment to determine whether the vehicle will be affected by the odor source.
[0049] For example, the target area may be a circular area; for example, the target area may be a circular area with the odor source as the center and a radius of 50 meters; if the vehicle's on-board navigation system obtains the location information of the odor source, and the minimum distance between the vehicle's current position and the odor source area is less than or equal to a preset distance threshold (for example, 500 meters), the vehicle activates the odor blocking function.
[0050] For example, the target area may be a rectangular area; for example, the target area may be a rectangular area with the odor source as the center and a side length of 50 meters.
[0051] It should be understood that the above examples of the target area are circle and rectangle, and the present application does not impose any limitation on the shape of the target area.
[0052] Exemplarily, the air inside the vehicle and the air outside the vehicle are in a circulating state, including the vehicle's windows being open, or the vehicle's sunroof being open, or the vehicle's air conditioner being in external circulation mode. When one or more of the above conditions are met, it means that the air inside the vehicle and the air outside the vehicle are in a circulating state.
[0053] In one implementation, if it is detected that the vehicle is in a driving state, and the air inside the vehicle and the air outside the vehicle are in a circulation state, the current position of the vehicle and the position of the target area are obtained.
[0054] Optionally, when the vehicle's windows are closed, the vehicle's sunroof is closed, and the vehicle's air conditioner is in internal circulation mode, the air inside the vehicle and the air outside the vehicle are not in circulation, and the vehicle will not be affected by the odor source when passing through the preset area where the odor source is located. At this time, the vehicle does not need to turn on the odor source blocking function.
[0055] S220, determining the distance value between the current position and the target area position.
[0056] Exemplarily, after the current position of the vehicle and the position of the target area are acquired, the distance between the current position of the vehicle and the target area is further determined.
[0057] Exemplarily, the vehicle's current position information and preset position information can be obtained through navigation data in the vehicle's navigation; wherein the preset position refers to the position where a preset type of gas is generated, and the position of the target area is obtained based on the preset position information and the preset area.
[0058] For example, the preset gas types may include ammonia, hydrogen sulfide, carbon disulfide, etc.
[0059] Among them, ammonia is a colorless, highly irritating gas with a strong pungent smell, which mainly comes from emissions from industrial production processes such as fertilizers, pesticides, chemicals, and pharmaceuticals; hydrogen sulfide is a colorless, flammable gas with a strong odor, which mainly comes from the decomposition of sulfur-containing substances (such as iron sulfide, sulfate, etc.), and emissions from industrial production processes such as oil field exploitation, refineries, and chemical plants; carbon disulfide is a colorless or light yellow, volatile liquid or gas with a strong rancid smell, which mainly comes from the processing of sulfur-containing substances (such as coal, oil, etc.), and emissions from industrial production processes such as chemical plants and rubber plants.
[0060] S230: If the distance value is less than or equal to a preset distance threshold, the target window of the vehicle is controlled to be in a closed state, and the air conditioner of the vehicle is controlled to enter an internal circulation mode.
[0061] Exemplarily, when the distance between the current position of the vehicle and the target area is less than a preset distance threshold, the vehicle turns off the circulation state of the air with the outside of the vehicle; for example, the window controller controls the window to be closed, the sunroof controller controls the sunroof to be closed, and the air conditioning controller controls the air conditioning to enter the internal circulation mode. In one example, the vehicle is in a driving state, the odor source is in a stationary state, and the air inside the vehicle and the air outside the vehicle are in a circulation state, the current driving position of the vehicle and the preset area where the odor source is located are obtained, and the distance between the current driving position of the vehicle and the target area is determined. If the distance value is less than or equal to the preset distance threshold, the target window of the vehicle is controlled to be closed, and the air conditioning of the vehicle is controlled to enter the internal circulation mode, and the target window includes the window and the sunroof.
[0062] In another example, the odor source is in motion, the vehicle is stationary, and the air inside the vehicle and the air outside the vehicle are in a circulating state. The current position of the vehicle and the real-time position of the odor source are obtained, and the distance between the current position of the vehicle and the real-time position of the odor source is determined. If the distance value is less than or equal to a preset distance threshold, the target window of the vehicle is controlled to be closed, and the air conditioner of the vehicle is controlled to enter the internal circulation mode.
[0063] Exemplarily, the preset distance threshold refers to a pre-set distance value, which is determined by the impact range of the odor source and the time for shutting down the air circulation inside and outside the vehicle, ensuring that the vehicle can complete the operation of blocking external odor sources before being affected by the odor source, thereby preventing external odor sources from affecting the air inside the vehicle.
[0064] It should be understood that the distance between the current position of the vehicle and the position of the target area refers to the distance between the current position of the vehicle and the boundary of the area close to the vehicle side of the odor source area, that is, the minimum distance between the vehicle and the odor source area.
[0065] For example, the preset distance threshold may be 500m; when the distance between the vehicle's current position and the odor source area is less than 500m, the window controller controls the windows to close, the sunroof controller controls the sunroof to close, and the air-conditioning controller controls the air-conditioning to enter the internal circulation mode; in actual application scenarios, different preset distance thresholds may be set according to different odor sources, and are not limited here.
[0066] In one implementation, before controlling the target window of the vehicle to be in a closed state and controlling the air conditioner of the vehicle to enter an internal circulation mode, the method further includes:
[0067] The current state of the vehicle target window and the current circulation mode of the vehicle air conditioner are obtained; wherein the current state is used to indicate the degree of opening of the target window; if it is detected that the distance value between the current position of the vehicle and the position of the target area is greater than a preset distance threshold, the target window is controlled to be in the current state, and the air conditioner is controlled to enter the current circulation mode.
[0068] It should be noted that the opening degree of the target window may represent the current opening ratio of the window or sunroof. For example, after detecting the user's operation of opening the window, the window opening degree is detected to be 10% according to the user's operation, and the current state is used to represent that the window opening degree is 10%.
[0069] In an embodiment of the present application, since the vehicle will automatically restore the vehicle's target window to the state before closing when the vehicle is far away from the odor source and is no longer affected by the odor source, the air conditioner's circulation mode is restored to the mode before entering the internal circulation mode; that is, after detecting that the vehicle is far away from the preset area where the odor source is located, the state of the vehicle's windows, sunroof or air conditioner is automatically restored; no manual operation by the user is required, which is more intelligent; and the user experience is improved.
[0070] In one implementation, controlling a target window of a vehicle to be in a closed state and controlling an air conditioner of the vehicle to enter an internal circulation mode includes:
[0071] If an obstacle is detected when the windows and / or sunroof are controlled to be in a closed state, and the force generated by the obstacle is greater than a preset threshold, the windows and / or sunroof are controlled to move in a first direction, and a prompt message is sent; wherein the first direction is a direction opposite to the closing direction of the windows and / or sunroof, and the prompt message is used to prompt the user to close the windows and / or sunroof.
[0072] In an embodiment of the present application, when the vehicle is controlling the closing of the windows and / or sunroof, if an obstacle is detected, the vehicle will detect the force generated by the obstacle. When the force value is greater than a preset threshold, the vehicle will stop closing the windows and / or sunroof, and the windows and / or sunroof will move in the opposite direction of the closing direction. At the same time, a prompt message is sent to the user to prompt the user to close the windows and / or sunroof. Since the vehicle will detect obstacles when closing the windows and / or sunroof and stop closing the windows and / or sunroof when the force value generated is greater than a preset threshold, the anti-pinch function of the windows and / or sunroof can be implemented to avoid injuries when closing the windows and / or sunroof. At the same time, through voice prompt information, the user can promptly perceive the open state of the windows and / or sunroof and close them manually to avoid the vehicle's cabin environment being affected by external odor sources.
[0073] In one implementation, a vehicle includes an on-board terminal and a controller, which control a target window of the vehicle to be in a closed state and control the air conditioner of the vehicle to enter an internal circulation mode, including: sending a control instruction to the on-board terminal, the control instruction is used to indicate blocking the odor source; the on-board terminal sends a control instruction to the controller, so that the controller controls the target window of the vehicle to be in a closed state, and controls the air conditioner of the vehicle to enter an internal circulation mode.
[0074] In one case, the controller is used to control the vehicle windows to be in a closed state, control the sunroof to be in a closed state, and control the air conditioner to enter an internal circulation mode.
[0075] In another case, the controller includes a window controller, a sunroof controller, and an air-conditioning controller; wherein the window controller controls the window to be in a closed state, the sunroof controller controls the sunroof to be in a closed state, and the air-conditioning controller controls the air-conditioning to enter an internal circulation mode.
[0076] Exemplarily, when the windows and sunroof are controlled to be in a closed state, the air conditioner is controlled to enter an internal circulation mode, and when the vehicle windows and sunroof are restored to the current state, the air conditioner is controlled to enter a current circulation mode; wherein, the current circulation mode of the windows and sunroof is the degree of opening of the windows and sunroof before the windows and sunroof are controlled to be in a closed state, and the current circulation mode is the air conditioning circulation mode before the air conditioner of the vehicle is controlled to enter an internal circulation mode; by sending a control instruction to the vehicle-mounted terminal, and then the vehicle-mounted terminal sends a closing instruction to the window controller and the sunroof controller, and sends an instruction to enter the internal circulation mode to the air conditioning controller; it can ensure that the window controller, the sunroof controller, and the air conditioning controller receive the instructions and execute the instructions.
[0077] In one embodiment, the above-mentioned control method also includes: if the sunroof is not closed within a first preset time threshold, sending a sunroof fault prompt message to remind the user of the sunroof fault; if the window is not closed within a second preset time threshold, sending a window fault prompt message to remind the user of the window fault; if the mode is not adjusted to the internal circulation mode within a third preset time threshold, sending an air-conditioning fault prompt message to remind the user of the air-conditioning fault; wherein the first preset time threshold is greater than the second preset time threshold, and the second preset time threshold is greater than the third preset time threshold.
[0078] It should be understood that in an embodiment of the present application, the first preset time threshold is related to the duration of the sunroof being opened or closed normally; for example, if the duration of the sunroof being opened or closed normally is 15 seconds, the first preset time threshold may be 15 seconds; the second preset time threshold is related to the duration of the window being opened or closed normally; for example, if the duration of the window being opened or closed normally is 10 seconds, the second preset time threshold may be 10 seconds; the third preset time threshold is related to the duration of controlling the air conditioner to enter the internal circulation and the external circulation; for example, if the duration of the window being opened or closed normally is 5 seconds, the third preset time threshold may be 5 seconds.
[0079] It should be noted that the above is an example of the first preset time threshold, the second preset time threshold and the third preset time threshold; this application does not impose any limitation on this.
[0080] In an embodiment of the present application, when the sunroof of the vehicle is not closed within a first preset time threshold, or the window is not closed within a second preset time threshold, or the air conditioner of the vehicle does not enter the internal circulation mode within a third preset time threshold, a prompt message will be sent to the user, and the prompt message is used to remind the user that a fault exists; since a prompt message is sent to the user when the instruction is not executed normally, the user can discover the existence of the fault in time, which facilitates timely repair of the vehicle to solve the corresponding fault problem.
[0081] In one embodiment, the method further includes: detecting the air quality of the air inside the vehicle; if the air quality does not meet a preset condition, controlling the vehicle's in-vehicle air purification to be in an on state.
[0082] For example, the vehicle can monitor the Air Quality Index (AQI) in the car. The Air Quality Index is a dimensionless index that quantitatively describes the air quality conditions. According to the ambient air quality standards and the impact of fine particulate matter in the air on human health, ecology, and the environment, the conventionally monitored air pollutant concentration is simplified into a single conceptual index value; optionally, the preset condition is set to an air quality index of 100. When it is detected that the air quality index in the car is greater than 100, the car purification is controlled to turn on, and the air quality index in the car is maintained less than 100.
[0083] In an embodiment of the present application, the vehicle's interior air and exterior air are in a circulation state when the vehicle windows are open, the vehicle sunroof is open, and the vehicle's air conditioner enters an external circulation mode. When at least one of the above conditions is met, it can be determined that the vehicle's interior air and exterior air are in a circulation state. When it is determined that the vehicle's interior air and exterior air are in a circulation state, the distance between the vehicle's current position and the preset area where the odor source is located is less than or equal to a preset distance threshold, thereby blocking the circulation of the vehicle's interior air and exterior air. Therefore, the influence of external odor sources on the vehicle cabin environment can be isolated in time, thereby improving the comfort of the cabin environment.
[0084] Through the above scheme, if it is detected that the air inside the vehicle and the air outside the vehicle are in a circulation state, the current position of the vehicle and the position of the preset area where the odor source is located will be obtained, and the distance between the current position and the position of the preset area where the odor source is located will be determined. When the distance is less than or equal to the preset distance threshold, the vehicle target window is controlled to be in a closed state, and the vehicle's air conditioner is controlled to enter the internal circulation mode; because the vehicle will obtain the position of the preset area where the odor source is located in advance, and block the circulation of the air inside the vehicle and the air outside the vehicle when the distance between the current position of the vehicle and the position of the preset area where the odor source is located is less than or equal to the preset distance threshold, it can timely isolate the influence of external odor sources on the vehicle cabin environment, thereby improving the comfort of the cabin environment.
[0085] Figure 3 It is a flow chart of another vehicle control method provided in an embodiment of the present application.
[0086] For example, Figure 3 The method shown can be Figure 1 The vehicle 110 shown is executed; or, Figure 1 The vehicle terminal in the vehicle 110 shown in the figure is executed; or Figure 1 A processor or chip in the vehicle 110 is shown executing.
[0087] For example, Figure 3 As shown, the method 300 includes S310 to S370; S310 to S370 are described in detail below.
[0088] S310, obtaining location information of the odor source area and location information of the vehicle.
[0089] It should be noted that the odor source area is Figure 2 The target area shown in is the preset area where the odor source is located.
[0090] Exemplarily, the location information of the odor source area and the location information of the vehicle can be obtained through the vehicle's onboard navigation system.
[0091] S320, detecting the vehicle status.
[0092] The vehicle status includes the vehicle window status, the vehicle sunroof status and the vehicle air conditioning circulation mode.
[0093] S330, when the vehicle is in a driving state and the air inside the vehicle and the air outside the vehicle are in a circulating state, obtain the distance between the current position of the vehicle and the odor source area.
[0094] For example, when the vehicle is in motion and the air inside the vehicle and the air outside the vehicle are in a circulation state, it indicates that the vehicle may be affected by an odor source. At this time, the distance between the current position of the vehicle and the odor source area is obtained.
[0095] S340, determine whether the distance is less than or equal to a preset distance threshold; if so, execute S350 and S360; if not, execute S370.
[0096] S350, obtaining the current status of the vehicle's windows, the current status of the sunroof, and the current circulation mode of the air conditioner.
[0097] Exemplarily, when the distance between the vehicle's current position and the odor source area is less than or equal to a preset distance threshold, the current state of the vehicle's windows, the current state of the sunroof, and the current circulation mode of the air conditioner are obtained; wherein the current state of the vehicle's windows and the current state of the sunroof refer to the current degree of opening of the vehicle's windows and sunroof, and the current circulation mode of the air conditioner refers to whether the air conditioner is currently in internal circulation mode or external circulation mode.
[0098] It should be noted that the current status of the vehicle windows, the current status of the sunroof, and the air-conditioning circulation mode obtained in S350 are the status at the moment before the vehicle environment odor blocking function is turned on; that is, it can be understood as obtaining the current status of the vehicle windows, the current status of the sunroof, and the air-conditioning circulation mode, and controlling the vehicle windows to close, the sunroof to close, and the air-conditioning to enter the internal circulation mode.
[0099] S360, turn on the vehicle environment odor blocking function.
[0100] Exemplarily, when the distance between the vehicle and the odor source area is less than or equal to a preset distance threshold, the vehicle environment odor blocking function is turned on, and S361, S362, and S363 are executed; wherein, S361 controls the vehicle windows to close, S362 controls the vehicle sunroof to close, and S363 controls the vehicle air conditioner to enter the internal circulation mode; by executing the three specific steps in S360, the circulation state between the vehicle and the outside air can be closed when the vehicle is about to pass through the odor source area and is affected by the odor source, thereby timely blocking the influence of the odor of the external odor source on the air inside the vehicle.
[0101] S370, turn off the vehicle environment odor blocking function.
[0102] Exemplarily, if the distance between the current position of the vehicle and the position of the odor source area is greater than a preset distance threshold, S370 is executed.
[0103] For example, when the distance between the vehicle and the odor source area is greater than a preset distance threshold, the vehicle environment odor blocking function is turned off; S371, S372, and S373 are executed; wherein S371 controls the windows to return to the current state of the windows, S372 controls the sunroof to return to the current state of the sunroof, and S373 controls the air conditioner in the vehicle to return to the current circulation mode; wherein the current state of the windows, the current state of the sunroof, and the current circulation mode are the current state of the windows, the current state of the sunroof, and the current circulation mode of the air conditioner of the vehicle obtained in S350.
[0104] Figure 4 A flowchart of another vehicle control method provided in an embodiment of the present application.
[0105] For example, Figure 4 The method shown can be Figure 1 The vehicle 110 shown is executed; or, Figure 1 The vehicle terminal in the vehicle 110 shown in the figure is executed; or Figure 1 A processor or chip in the vehicle 110 is shown executing.
[0106] For example, Figure 4 As shown, the method 400 includes S401 to S415; S401 to S415 are described in detail below.
[0107] S401, obtaining the location information of the odor source area and the location information of the vehicle.
[0108] Specifically, the location information of the odor source area includes the odor source location information and the odor source electronic fence marking information. The vehicle location information refers to the current location of the vehicle obtained in real time.
[0109] S402, detecting the driving state of the vehicle and the states of components in the vehicle.
[0110] Among them, the driving status of the vehicle includes the vehicle being in a driving state and the vehicle being in a parking state; the status of the components in the vehicle includes the opening and closing status of the vehicle windows, the opening and closing status of the vehicle sunroof, and the status of the vehicle air conditioner being in an internal circulation mode or an external circulation mode.
[0111] S403, when the vehicle is in a driving state and the air inside the vehicle and the air outside the vehicle are in a circulating state, obtain the distance between the current position of the vehicle and the odor source area.
[0112] For example, when the vehicle is in motion and the air inside the vehicle and the air outside the vehicle are in a circulation state, it indicates that the vehicle may be affected by an odor source. At this time, the distance between the current position of the vehicle and the odor source area is obtained.
[0113] Specifically, the air inside the vehicle and the air outside the vehicle are in a circulation state, which includes the vehicle windows being open, or the vehicle sunroof being open, or the vehicle's air conditioner entering an external circulation mode; the vehicle can obtain the distance between the vehicle's current position and the odor source area through the vehicle's navigation system.
[0114] S404, determine whether the distance is less than or equal to a preset distance threshold; if so, execute S405 and S414; if not, execute S403.
[0115] Exemplarily, the acquired distance is compared with the preset distance, and different steps are executed according to the result; if the distance between the vehicle and the odor source area is less than or equal to the preset distance threshold, it means that the vehicle is about to be affected by the odor source area. At this time, the status of the windows and sunroof of the current vehicle is obtained and the windows and sunroof are closed, the current air-conditioning status and damper status are obtained and the air-conditioning in the vehicle is adjusted to internal circulation.
[0116] S405, obtaining the current status of the vehicle windows and the current status of the sunroof, and controlling the vehicle windows and the sunroof to be in a closed state.
[0117] Exemplarily, when the distance between the current position of the vehicle and the area of the odor source is less than or equal to a preset distance threshold, a step is performed to obtain the current state of the windows and the current state of the sunroof, and control the windows and the sunroof to be in a closed state; wherein, the current state of the windows and the current state of the sunroof are obtained to record the states of the windows and the sunroof before the vehicle controls the windows and the sunroof to be in a closed state, and when the vehicle is away from the odor source and is no longer affected by the odor source, the vehicle is restored to the obtained current states of the windows and the sunroof.
[0118] S406, determine whether the current vehicle windows and sunroof are in a closed state; if so, execute S407; if not, execute S409.
[0119] Exemplarily, whether the vehicle windows and sunroof are in a closed state is determined based on the acquired states of the vehicle windows and sunroof; if the vehicle windows and sunroof are in a closed state, whether the distance is greater than a preset distance threshold is determined; if the vehicle windows and sunroof are not in a closed state, a feedback instruction is sent, and the feedback instruction is used to indicate that the instruction to control the vehicle windows and sunroof to be in a closed state has failed to execute.
[0120] S407, determine whether the distance threshold is greater than the preset distance threshold; if so, execute S408; if not, execute S405 and S413.
[0121] Exemplarily, when the vehicle windows and sunroof are in closed state and the air-conditioning damper state is in internal circulation, it means that the vehicle is isolated from the external odor source; at this time, it is judged whether the distance between the vehicle and the odor source area is greater than a preset distance threshold; if the distance is greater than the preset distance threshold, it means that the vehicle is far away from the external odor source and will not be affected by the external odor source. At this time, the windows and sunroof are controlled to restore the current state, and the air-conditioning is controlled to enter the current circulation mode; if the distance is less than or equal to the preset distance threshold, execute S405 and S413.
[0122] S408, controlling the vehicle windows and sunroof to restore to the current state, and controlling the air conditioner to enter the current circulation mode.
[0123] Exemplarily, when the distance between the vehicle and the odor source area is greater than a preset distance threshold, the windows and sunroof are controlled to restore to the current state, and the air conditioner is controlled to enter the current circulation mode; specifically, the current state of the windows and sunroof refers to the current state of the windows and the current state of the sunroof obtained in S405, and the air conditioner entering the current circulation mode refers to the current circulation mode of the air conditioner obtained in S413.
[0124] S409, sending a feedback instruction.
[0125] Exemplarily, when the vehicle controls the windows and sunroof to be in a closed state, it will determine whether the windows and sunroof are in a closed state; if not, a feedback instruction is sent to the user, and the feedback instruction is used to indicate that the execution of the instruction to control the windows and sunroof to be in a closed state has failed.
[0126] S410, obtaining Hall sensor data.
[0127] Exemplary, in one possible situation, the command for controlling the vehicle windows and sunroof to be in a closed state fails to execute due to the presence of an obstacle; therefore, after sending the feedback command, the data from the Hall sensor is further used to determine whether there is an obstacle.
[0128] Among them, the Hall sensor refers to a sensor element made of semiconductor materials based on the Hall effect. It has the advantages of being sensitive to magnetic fields, simple structure, small size, wide frequency response, large output voltage variation and long service life. The Hall sensor can convert many non-electrical and non-magnetic physical quantities into electrical quantities for detection and control, and is widely used in measurement, automation, computer and information technology. Here, the Hall sensor converts the detected force value into electrical quantity and transmits it to the corresponding controller.
[0129] S411, determine whether the force value is greater than a preset threshold; if so, execute S412; if not, execute S409.
[0130] Exemplarily, whether the force value is greater than a preset threshold is determined based on the acquired Hall sensor data; if it is greater than the preset threshold, the vehicle's windows and sunroof stop closing and move in the opposite direction to the state before closing; otherwise, it means that the vehicle's windows and sunroof are not in a closed state, and a feedback instruction is sent.
[0131] S412, controlling the vehicle windows and the sunroof to move in the opposite direction to the state before closing.
[0132] Exemplarily, when the data of the Hall sensor shows that the force value is greater than a preset threshold, the windows and sunroof are controlled to move in the opposite direction to return to the state before closing, thereby realizing the anti-pinch function during the closing process of the windows and sunroof and improving safety; wherein, the state before closing refers to the current state of the windows and the current state of the sunroof obtained in S405.
[0133] S413, obtaining the current circulation mode of the air conditioner and controlling the air conditioner to enter the internal circulation mode.
[0134] Exemplarily, when the distance between the vehicle's current position and the odor source area is less than or equal to a preset distance threshold, another step performed is to obtain the current circulation mode of the air conditioner and control the air conditioner to enter the internal circulation mode; wherein, the current circulation mode of the air conditioner is obtained to record the air conditioning circulation mode before the vehicle enters the internal circulation mode, and when the vehicle is away from the odor source, the current circulation mode of the vehicle's air conditioner is restored.
[0135] S414, determine whether the current air conditioner enters the internal circulation mode; if so, execute S407; if not, execute S415.
[0136] Exemplarily, determine whether the current air conditioner has entered the internal circulation mode; if the current air conditioner has entered the internal circulation mode, further determine whether the distance is greater than a preset distance threshold; if the air conditioner has not entered the internal circulation mode, the feedback instruction execution fails.
[0137] S415, sending a feedback instruction.
[0138] For example, after the vehicle executes an instruction to control the air conditioner to enter the internal circulation mode, it determines whether the current air conditioner has entered the internal circulation mode. If the air conditioner has not entered the internal circulation mode, a feedback instruction is sent to the user. The feedback instruction is used to indicate that the vehicle has failed to control the air conditioner to enter the internal circulation mode. The user can promptly discover the execution status of the instruction and adjust the vehicle status based on the feedback instruction.
[0139] In an embodiment of the present application, the location information of the odor source area and the location information of the vehicle are obtained, and the driving state of the vehicle and the state of the components in the vehicle are monitored based on the obtained location information. If it is detected that the vehicle is in a driving state, and the air inside the vehicle and the air outside the vehicle are in a circulating state, the current location information of the vehicle and the distance to the odor source area are obtained. When the distance is less than or equal to a preset distance threshold, the vehicle may be affected by the odor source at this time, so the vehicle windows and sunroof are controlled to be in a closed state, and the vehicle's air conditioner is controlled to enter the internal circulation mode; because the vehicle will obtain the position of the preset area where the odor source is located in advance, and block the circulation of the air inside the vehicle and the air outside the vehicle when the distance between the current position of the vehicle and the location of the area where the odor source is located is less than or equal to the preset distance threshold, the influence of external odor sources on the vehicle cabin environment can be isolated in time, thereby improving the comfort of the cabin environment.
[0140] In addition, when the windows and sunroof are controlled to be in the closed state, the vehicle will detect the status of the windows, sunroof and the circulation mode of the air conditioner to determine whether the control operation is executed; if the windows and sunroof are controlled to be in the closed state, and the air conditioner is controlled to enter the internal circulation mode instruction to execute, it will further determine whether the distance between the current position of the vehicle and the preset area position is greater than the preset long-distance threshold, and the windows and sunroof will be controlled to return to the state before closing, and the air conditioner will be controlled to return to the circulation mode before closing. Therefore, the status of the components in the vehicle can be automatically restored when the vehicle is away from the odor source, and the user does not need manual operation, which improves the safety of the vehicle during driving.
[0141] Furthermore, if the operation of controlling the windows and sunroof to be in a closed state is not performed, or the operation of controlling the air conditioner to enter an internal circulation mode is not performed, it is determined whether there is an obstacle. When there is an obstacle, closing the windows and sunroof is stopped and feedback is issued to promptly remind the user.
[0142] Combine the following Figures 5 to 8 The process of vehicle executing blocking instructions, vehicle executing recovery instructions, safety strategy when the vehicle executes blocking instructions, and feedback of failure of the vehicle to execute blocking instructions and recovery instructions provided in the embodiments of the present application are described in detail.
[0143] Figure 5 It is a schematic flowchart of a vehicle executing a blocking instruction provided in an embodiment of the present application.
[0144] For example, Figure 5The method shown can be Figure 1 The vehicle 110 shown is executed; or, Figure 1 The vehicle terminal in the vehicle 110 shown in the figure is executed; or Figure 1 A processor or chip in the vehicle 110 is shown executing.
[0145] For example, Figure 5 As shown, the method 500 includes S510 to S550; S510 to S550 are described in detail below.
[0146] S510, the vehicle navigation system identifies the distance between the vehicle and the electronic fence of the odor source, and sends a blocking instruction if the distance is less than a preset distance threshold.
[0147] Exemplarily, the vehicle navigation system will identify the distance between the vehicle and the electronic fence of the odor source during driving. If the distance is less than a preset distance threshold, the navigation system will send a blocking instruction to the control unit.
[0148] S520: The control unit sends a blocking instruction.
[0149] Exemplarily, after receiving the blocking instruction sent by the vehicle navigation system, the control unit of the vehicle further sends a blocking instruction to the controller; wherein the blocking instruction is used to control the vehicle controller to close the circulation state of the air inside the vehicle and the air outside the vehicle.
[0150] S530: The window controller controls the window to close.
[0151] Exemplarily, one measure for the vehicle to close the circulation state of the air inside the vehicle and the air outside the vehicle is that a window controller of the vehicle controls the windows to be closed.
[0152] S540: The sunroof controller controls the sunroof to close.
[0153] Exemplarily, another measure for the vehicle to close the circulation state of the air inside the vehicle and the air outside the vehicle is that the sunroof controller of the vehicle controls the sunroof to be closed.
[0154] S550, the air conditioning controller controls the air conditioning damper to close.
[0155] Exemplarily, another measure for the vehicle to close the circulation state of the air inside the vehicle and the air outside the vehicle is that the air-conditioning controller of the vehicle controls the air-conditioning damper to close.
[0156] For example, when executing S530, S540, and S550, the window controller will obtain the closed state of the window, the sunroof controller will obtain the closed state of the sunroof, and the air-conditioning controller will obtain the state of the air-conditioning damper; the corresponding controller will issue a feedback instruction to the control unit based on the obtained state, and the feedback instruction is used to indicate the execution status of the blocking instruction.
[0157] pass Figure 5 The method shown, when the odor source area is detected and it is determined that the vehicle is about to be affected by the odor source based on the vehicle position and the position information of the odor source area, closes the circulation state between the vehicle and the outside air odor source in advance and executes the blocking instruction; the pollution of the air inside the vehicle by the outside odor source is isolated in advance, thereby improving the timeliness of the odor source blocking and the comfort of the cabin environment.
[0158] Figure 6 It is a schematic flowchart of the vehicle executing the recovery instruction provided in the embodiment of the present application.
[0159] For example, Figure 6 The method shown can be Figure 1 The vehicle 110 shown is executed; or, Figure 1 The vehicle terminal in the vehicle 110 shown in the figure is executed; or Figure 1 A processor or chip in the vehicle 110 is shown executing.
[0160] For example, Figure 6 As shown, the method 600 includes S610 to S650; S610 to S650 are described in detail below.
[0161] S610, the vehicle navigation system identifies the distance between the vehicle and the electronic fence of the odor source, and sends a recovery instruction if the distance is greater than a preset distance threshold.
[0162] Exemplarily, the vehicle navigation system will identify the distance between the vehicle and the electronic fence of the odor source during driving, and determine the distance. If the distance is greater than a preset distance threshold, the navigation system will send a recovery instruction to the control unit.
[0163] S620: The control unit sends a recovery instruction.
[0164] Exemplarily, after receiving the recovery instruction sent by the vehicle navigation system, the control unit of the vehicle further sends a recovery instruction to the controller; wherein the recovery instruction is used to control the vehicle to return to the state before the shutdown when the vehicle is no longer affected by the odor source.
[0165] S630: The window controller controls the window to return to the state before closing.
[0166] Exemplarily, one measure for the vehicle to execute the recovery command is that a window controller of the vehicle controls the windows to recover the state before the windows are closed and the outside air is circulated.
[0167] S640: The sunroof controller controls the sunroof to return to the state before closing.
[0168] Exemplarily, another measure for the vehicle to execute the recovery instruction is that the sunroof controller of the vehicle controls the sunroof to restore the state before the sunroof is closed and the outside air is circulated.
[0169] S650: The air conditioning controller controls the air conditioning damper to return to the state before closing.
[0170] Exemplarily, another measure for the vehicle to execute the recovery instruction is that the vehicle's air-conditioning controller controls the air-conditioning damper to restore the state before the air-conditioning damper is closed and the outside air is circulated.
[0171] For example, when executing S630, S640, and S650, the window controller will obtain the recovery status of the window, the sunroof controller will obtain the recovery status of the sunroof, and the air-conditioning controller will obtain the recovery status of the air-conditioning damper; the corresponding controller will issue a feedback instruction to the control unit based on the obtained status, indicating the execution status of the recovery instruction.
[0172] In an embodiment of the present application, the vehicle navigation system sends a recovery instruction when it identifies that the distance between the vehicle and the electronic fence of the odor source is greater than a preset distance threshold. The control unit receives the recovery instruction sent by the navigation system and sends the recovery instruction to the window controller, sunroof controller, and air-conditioning controller. After receiving the recovery instruction, the window controller controls the windows to return to the state before closing, the sunroof controller controls the sunroof to the state before closing, and the air-conditioning controller controls the air-conditioning damper to the state before closing; the window controller, sunroof controller, and air-conditioning controller will send feedback instructions to the control unit according to the execution of the recovery instruction; because the vehicle will return to the state before executing the blocking instruction when it is far away from the odor source and will not be affected by the odor source, the user is prevented from manually controlling the windows, sunroof, and air-conditioning dampers to return to the state before closing, thereby improving safety during driving.
[0173] Figure 7 It is a schematic flowchart of the safety strategy when a vehicle executes a blocking instruction provided in an embodiment of the present application.
[0174] For example, Figure 7 The method shown can be Figure 1 The vehicle 110 shown is executed; or, Figure 1 The vehicle terminal in the vehicle 110 shown in the figure is executed; or Figure 1 A processor or chip in the vehicle 110 is shown executing.
[0175] For example, Figure 7 As shown, the method 700 includes S710 to S770; S710 to S770 are described in detail below.
[0176] S710: The control unit sends a blocking instruction.
[0177] Exemplarily, the control unit of the vehicle issues an instruction. Specifically, the instruction issued by the vehicle control unit is a blocking instruction, which is used to control the vehicle to close the air circulation state with the external odor source.
[0178] S720, the car computer voice reminder function is turned on.
[0179] Exemplarily, when the vehicle control unit issues a blocking instruction, the voice reminder function of the vehicle computer is normally turned on; wherein the voice reminder function is used to remind the vehicle controller that the blocking instruction is about to be executed.
[0180] S730, the window controller controls the window to close.
[0181] Exemplarily, after receiving the blocking instruction sent by the control unit, the vehicle's window controller will control the window to close.
[0182] S740, the sunroof controller controls the sunroof to close.
[0183] Exemplarily, after receiving the blocking instruction sent by the control unit, the sunroof controller of the vehicle controls the sunroof to close S750, and the Hall sensor sends an anti-pinch signal.
[0184] For example, the vehicle's windows and sunroof will obtain the force value generated during the closing process. When the force value generated is greater than 25N, it can be determined that there is an obstacle in the closing process of the windows and sunroof; at this time, the Hall sensor will send an anti-pinch signal to the control unit.
[0185] S760: The window controller controls the window to return to the starting position.
[0186] Exemplarily, when the control unit of the vehicle receives an anti-pinch signal from the vehicle, it turns on the anti-pinch function; in one possible implementation, the window controller of the vehicle controls the window to stop closing and return to the starting position.
[0187] S770: The sunroof controller controls the sunroof to return to the starting position.
[0188] Exemplarily, the control unit of the vehicle turns on the anti-pinch function after receiving the anti-pinch signal; in another possible implementation, the sunroof controller of the vehicle controls the sunroof to stop closing and return to the starting position.
[0189] In an embodiment of the present application, when a blocking command is executed, the vehicle windows and sunroof will determine whether there is an obstacle based on the value of the Hall sensor during the closing process. When an obstacle is detected, the closing of the windows and sunroof will stop and restore the windows and sunroof to the starting position; therefore, the vehicle's anti-pinch function can be implemented, improving the safety of the blocking command execution process.
[0190] Figure 8It is a schematic flowchart of a vehicle failing to execute a blocking instruction or a recovery instruction provided in an embodiment of the present application.
[0191] For example, Figure 8 The method shown can be Figure 1 The vehicle 110 shown is executed; or, Figure 1 The vehicle terminal in the vehicle 110 shown in the figure is executed; or Figure 1 A processor or chip in the vehicle 110 is shown executing.
[0192] For example, Figure 8 As shown, the method 800 includes S810 to S880; S810 to S880 are described in detail below.
[0193] S810, the control unit sends an instruction.
[0194] For example, when the vehicle is about to be affected by an odor source and executes a blocking instruction, or when the vehicle is away from the odor source and executes a recovery instruction, the control unit will send instructions to the vehicle's window controller, sunroof controller, and air-conditioning controller.
[0195] S820, the window controller controls the window to close or restore.
[0196] Exemplarily, after the vehicle window controller receives the control instruction sent by the control unit, the window controller controls the window to close or restore to a state before closing.
[0197] S830: The sunroof controller controls the sunroof to close or restore.
[0198] Exemplarily, after the vehicle sunroof controller receives the control instruction sent by the control unit, the sunroof controller controls the sunroof to close or restore to a state before closing.
[0199] S840: The air conditioning controller controls the air conditioning damper to close or resume.
[0200] Exemplarily, after the vehicle air-conditioning controller receives the control instruction sent by the control unit, the air-conditioning controller controls the air-conditioning damper to close or restore to a state before closing.
[0201] S850: The vehicle window is not closed or has not returned to the state before being blocked.
[0202] Exemplarily, after executing a closing or restoring instruction, the window status will be acquired. When the window is not closed or restored to the state before blocking, the instruction execution status will be fed back to the window controller.
[0203] S860, the skylight is not closed or restored to the state before the blockage.
[0204] Exemplarily, after the sunroof executes a closing or restoring instruction, the state of the sunroof will be obtained. When the sunroof is not closed or restored to the state before obstruction, the execution status of the instruction will be fed back to the sunroof controller.
[0205] S870, the air conditioner damper is not closed or has not returned to the state before the blockage.
[0206] Exemplarily, after the air conditioning damper executes a closing or restoring instruction, the state of the air conditioning damper is obtained. When the air conditioning damper is not closed or restored to the state before the blockage, the execution status of the instruction is fed back to the air conditioning controller.
[0207] S880: The HUD displays that the blocking function has failed to execute, and displays information about the component that failed to execute.
[0208] For example, when the vehicle window is not closed or has not been restored to the pre-blocking state, or the sunroof is not closed or has not been restored to the pre-blocking state, or the air-conditioning damper is not closed or has not been restored to the pre-blocking state, the command execution status will be fed back to the window controller, the sunroof controller, and the air-conditioning controller, and the window controller, the sunroof controller, and the air-conditioning controller will send feedback instructions to the control unit, and then according to the feedback instructions, the vehicle's Head Up Display (HUD) system will display that the blocking function has failed to execute, and will display information about the component that failed to execute; users can promptly discover faulty components based on the displayed information.
[0209] Among them, the vehicle head-up display system is used to project important driving data (such as vehicle speed) directly in front of the driver, thereby reducing or avoiding the driver's behavior of looking down at the instrument while driving.
[0210] In one example, when the vehicle's navigation system detects that the distance between the vehicle and the boundary of the odor source electronic fence close to the vehicle side is less than a preset distance threshold (for example, 500m), the vehicle navigation system will send a signal to the smart vehicle terminal (Telematics-Box, T-BOX), and the T-BOX will send a command to close the environmental odor blocking function to the window controller, sunroof controller, and air-conditioning controller. If the window is not closed within 10S, the sunroof is not closed within 15S, and the air-conditioning damper is not closed within 5S, the window controller, sunroof controller, and air-conditioning controller will feedback that the execution failed, and display that the external environment odor blocking function is abnormally turned on, reminding the owner to check and repair.
[0211] In another example, when the vehicle navigation system detects that the distance between the vehicle and the boundary of the electronic fence of the odor source away from the vehicle side is greater than a preset distance threshold (for example, 500m), a signal is sent to the T-BOX, and the T-BOX sends a command to close the environmental odor blocking function to the window controller, sunroof controller, and air-conditioning controller. If the window does not return to its original state within 10S, the sunroof does not return to its original state within 15S, and the air-conditioning damper does not return to its original state within 5S, the window controller, sunroof controller, and air-conditioning controller will feedback that the execution failed, and display that the external environment odor blocking function is abnormally closed, reminding the owner to check and repair.
[0212] In an embodiment of the present application, the control unit sends a control instruction, and the controller executes the control instruction; specifically, the window controller controls the closing or restoration of the windows, the sunroof controller controls the closing or restoration of the sunroof, and the air-conditioning controller controls the closing or restoration of the air-conditioning damper; when it is detected that the instruction is not executed, the vehicle's windows, sunroof and air-conditioning will feedback the execution status of the instruction to the controller, and the controller will then send a feedback instruction to the control unit. After receiving the feedback instruction, the control unit will display that the blocking function has failed to execute and give detailed reasons; therefore, the user can promptly discover the fault when the instruction execution fails and promptly repair it according to the given fault cause.
[0213] Combine the following Fig. 9 and Fig.10 The vehicle control device provided in the embodiment of the present application is described in detail.
[0214] Fig. 9 It is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application.
[0215] For example, Fig. 9 As shown, the device comprises:
[0216] The acquisition module 910 is used to acquire the current position of the vehicle and the position of the target area if it is detected that the air inside the vehicle and the air outside the vehicle are in a circulation state, and the position of the target area is used to indicate a preset area where the odor source is located;
[0217] A determination module 920 is used to determine the distance value between the current position and the target area position;
[0218] The control module 930 is used to control the target window of the vehicle to be in a closed state and control the air conditioner of the vehicle to enter an internal circulation mode if the distance value is less than or equal to a preset distance threshold. The target windows include car windows and sunroofs.
[0219] In one possible implementation, the acquisition module 910 is also used to send a control instruction to the vehicle terminal, where the control instruction is used to indicate blocking the odor source; the vehicle terminal sends a closing instruction to the window controller and the sunroof controller, and sends an instruction to the air-conditioning controller to enter the internal circulation mode.
[0220] In a possible implementation, the acquisition module 910 can acquire the current position of the vehicle through the navigation data of the vehicle navigation; and acquire the position of the target area through the electronic fence marking information of the odor source in the vehicle navigation.
[0221] In a possible implementation, the control module 930 is further configured to control the target window to be in the current state and control the air conditioner to enter the current circulation mode if it is detected that the distance value is greater than a preset distance threshold.
[0222] In one possible implementation, the control module 930 is also used to control the vehicle windows and / or sunroof to move in a first direction and send a prompt message if an obstacle is detected when the vehicle windows and / or sunroof are in a closed state, and the force generated by the obstacle is greater than a preset threshold; wherein the first direction is a direction opposite to the closing direction of the vehicle windows and / or sunroof, and the prompt message is used to prompt the user to close the vehicle windows and / or sunroof.
[0223] In a possible implementation, the control module 930 is also used to control the vehicle's in-vehicle air purification to be in an on state if the air quality does not meet a preset condition.
[0224] In one possible implementation, the control module 930 is also used to send a sunroof fault prompt message if the sunroof is not closed within a first preset time threshold, and the sunroof fault prompt message is used to remind the user of the sunroof fault; if the window is not closed within a second preset time threshold, send a window fault prompt message, and the window fault prompt message is used to remind the user of the window fault; if the mode is not adjusted to the internal circulation mode within a third preset time threshold, send an air-conditioning fault prompt message, and the air-conditioning fault prompt message is used to remind the user of the air-conditioning fault; wherein the first preset time threshold is greater than the second preset time threshold, and the second preset time threshold is greater than the third preset time threshold.
[0225] It should be noted that, when the vehicle control device provided in the above embodiment executes the vehicle control method, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0226] In addition, the vehicle control device and the vehicle control method embodiments provided in the above embodiments belong to the same concept. Therefore, for details not disclosed in the device embodiments of this specification, please refer to the vehicle control method embodiments described above in this specification, and no further details will be given here.
[0227] Fig.10 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0228] Exemplarily, vehicle 1000 includes: a processor 1010 , a memory 1020 , and an executable program code 1030 .
[0229] Exemplarily, the memory 1020 is used to store executable program code; the processor 1010 is used to call and execute the executable program code; and the executable program code 1030 is used to implement a vehicle control method.
[0230] The present application can divide the functional modules of the vehicle according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0231] In the case of dividing each functional module according to each function, the vehicle may include: an acquisition module, a determination module, a control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0232] The vehicle provided in the present application is used to execute the above-mentioned vehicle control method, and thus can achieve the same effect as the above-mentioned implementation method.
[0233] In the case of an integrated unit, the vehicle may include a processing module and a storage module. The processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle to execute mutual program codes and data.
[0234] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits disclosed in conjunction with the present application. The processor may also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0235] The present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the aforementioned embodiments. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a digital video disc (DVD), a compact disc read-only memory (CD-ROM), a microdrive, and a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read only memory (EEPROM), a dynamic random access memory (DRAM), a video random access memory (VRAM), a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0236] The present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a vehicle control method in the above-mentioned embodiment.
[0237] In addition, the vehicle provided in the embodiments of the present application may specifically be a chip, component or module, and the vehicle may include a connected processor and memory; wherein the memory is used to store instructions, and when the vehicle is running, the processor may call and execute instructions so that the chip executes a vehicle control method in the above-mentioned embodiments.
[0238] Among them, the vehicle, computer-readable storage medium, computer program product or chip provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0239] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0240] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0241] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A vehicle control method, characterized in that: The method comprises: If it is detected that the air inside the vehicle and the air outside the vehicle are in a circulation state, the current position of the vehicle and the position of the target area are obtained, and the position of the target area is used to indicate a preset area where the odor source is located; Determine the distance value between the current position and the target area position; If the distance value is less than or equal to a preset distance threshold, a target window of the vehicle is controlled to be in a closed state, and the air conditioner of the vehicle is controlled to enter an internal circulation mode, and the target window includes a car window and a sunroof.
2. The method according to claim 1, characterized in that Also includes: Acquire the current state of the target window and the current circulation mode of the air conditioner, wherein the current state is used to indicate the degree of opening of the target window before it is in the closed state, and the current circulation mode is used to indicate the circulation mode of the air conditioner before it enters the internal circulation mode; If it is detected that the distance value is greater than the preset distance threshold, the target window is controlled to be in the current state, and the air conditioner is controlled to enter the current circulation mode.
3. The method according to claim 1, characterized in that The controlling the target window of the vehicle to be in a closed state and controlling the air conditioner of the vehicle to enter an internal circulation mode includes: If an obstacle is detected when the vehicle windows and / or sunroof are controlled to be in a closed state, and the force generated by the obstacle is greater than a preset threshold, the vehicle windows and / or sunroof are controlled to move in a first direction, and a prompt message is sent; wherein the first direction is a direction opposite to the closing direction of the vehicle windows and / or sunroof, and the prompt message is used to prompt the user to close the vehicle windows and / or sunroof.
4. The method according to any one of claims 1 to 3, characterized in that The vehicle includes a vehicle-mounted terminal and a controller, and the method of controlling the target window of the vehicle to be in a closed state and controlling the air conditioner of the vehicle to enter an internal circulation mode includes: Sending a control instruction to the vehicle-mounted terminal, wherein the control instruction is used to indicate blocking the odor source; The vehicle-mounted terminal sends the control instruction to the controller, so that the controller controls the target window of the vehicle to be in a closed state, and controls the air conditioner of the vehicle to enter the internal circulation mode.
5. The method according to any one of claims 1 to 3, characterized in that Also includes: If the sunroof is not closed within a first preset time threshold, sending a sunroof fault prompt message, wherein the sunroof fault prompt message is used to remind the user of the sunroof fault; and / or, If the vehicle window is not closed within the second preset time threshold, sending a vehicle window fault prompt message, wherein the vehicle window fault prompt message is used to remind the user of the vehicle window fault; and / or, If the air conditioner is not adjusted to the internal circulation mode within a third preset time threshold, an air conditioner fault prompt message is sent, wherein the air conditioner fault prompt message is used to remind the user of the air conditioner fault; The first preset duration threshold is greater than the second preset duration threshold, and the second preset duration threshold is greater than the third preset duration threshold.
6. The method according to any one of claims 1 to 3, characterized in that The obtaining of the current position of the vehicle and the position of the target area includes: If the vehicle navigation system of the vehicle is turned on, obtaining information of the current position and a preset position of the vehicle through navigation data of the vehicle navigation system, wherein the preset position is used to indicate a position where a preset type of gas is generated; The target area position is acquired according to the information of the preset position and the preset area.
7. The method according to any one of claims 1 to 3, characterized in that Also includes: detecting the air quality of the air in the vehicle; If the air quality does not meet the preset conditions, the vehicle's in-car air purification is controlled to be in an on state.
8. The method according to any one of claims 1 to 3, characterized in that The air inside the vehicle and the air outside the vehicle are in a circulation state, including: One or more of the following: a window of the vehicle is in an open state, a sunroof of the vehicle is in an open state, and the air conditioner enters an external circulation mode.
9. A vehicle control device, characterized in that: The device comprises: an acquisition module, for acquiring the current position of the vehicle and the position of a target area if it is detected that the air inside the vehicle and the air outside the vehicle are in a circulation state, wherein the position of the target area is used to indicate a preset area where the odor source is located; A determination module, used to determine the distance value between the current position and the target area position; A control module is used to control the target window of the vehicle to be in a closed state and control the air conditioner of the vehicle to enter an internal circulation mode if the distance value is less than or equal to a preset distance threshold, and the target window includes a car window and a sunroof.
10. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor is used to call and run the executable program code from the memory so that the vehicle executes the method as claimed in any one of claims 1 to 8.
Citation Information
Patent Citations
Vehicle, cabin air purification method and system thereof and storage medium
CN113858911A
Vehicle air circulation control method and device based on information fusion
CN113910861A
Vehicle-mounted air conditioner control method and device and computer equipment
CN114734775A
Vehicle air quality adjusting method and device, vehicle and storage medium
CN116001519A
Additives for bleeding free grout materials, Bleeding free grout materials containing the same and Manufacturing method of the same, Construction method of post tension structures using the same and Repairing method of post tension structures using the same
KR102591448B1