Vehicle control method, device, apparatus, and storage medium

By identifying the types of municipal vehicles around the vehicle and setting a target scene mode, the system automatically adjusts the in-vehicle devices, solving the problem that the vehicle scene mode cannot cope with changes in the external environment and improving the user experience and comfort.

CN116729302BActive Publication Date: 2026-01-02CHERY AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310843387.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-10
Publication Date
2026-01-02
Estimated Expiration
2043-07-10

AI Technical Summary

Technical Problem

The existing vehicle scenario mode design is imperfect and cannot cope with changes in the external environment, resulting in a decrease in user comfort and experience.

Method used

By identifying the types of municipal vehicles surrounding the vehicle, setting target scenario modes based on these types, and controlling target devices within the vehicle to reduce the impact of external environmental changes on the internal environment, including the automatic adjustment of air conditioning, windows, and air purification equipment.

Benefits of technology

It enhances the user experience and comfort, reduces the impact of external environmental changes on the in-car environment, and keeps the in-car interior clean.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116729302B_ABST
    Figure CN116729302B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a vehicle control method, device, equipment and storage medium. It belongs to the field of vehicles. The method comprises: determining the type of a municipal vehicle in the periphery of a first vehicle, determining a target scene mode according to the type of the municipal vehicle, the target scene mode being used to indicate a first control strategy of a target device in the first vehicle; and in the target scene mode, controlling the target device according to the first control strategy indicated by the target scene mode. When the external environment of the first vehicle is deteriorated due to the influence of the municipal vehicle, the internal environment of the first vehicle can be less affected, thereby improving the experience and comfort of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of vehicles, and in particular to a vehicle control method, apparatus, device, and storage medium. Background Technology

[0002] Currently, some intelligent vehicles have preset scene modes. Once the vehicle activates a scene mode, it can automatically control the corresponding devices on the vehicle. For example, a smoking mode can be preset. In response to a user's command, the smoking mode can be activated, automatically reminding the user of the health hazards of smoking through audio, and simultaneously adjusting the air conditioning to recirculation mode.

[0003] However, due to the current imperfections in the design of in-vehicle scenario modes, there are basically no corresponding scenario modes to cope with changes in the vehicle's external environment and the user's surroundings being affected by external influences. This leads to reduced user comfort and a poor user experience. Therefore, there is an urgent need for a method to address this situation and improve user experience and comfort. Summary of the Invention

[0004] This disclosure provides a vehicle control method, apparatus, device, and storage medium that can reduce changes in the vehicle's surrounding environment and improve user experience and comfort. The technical solution is as follows:

[0005] In a first aspect, a vehicle control method is provided, comprising: determining the types of municipal vehicles surrounding a first vehicle; determining a target scene mode based on the types of municipal vehicles, the target scene mode being used to indicate a first control strategy for a target device in the first vehicle; and controlling the target device according to the first control strategy indicated by the target scene mode under the target scene mode.

[0006] Optionally, the first control strategy includes at least one of the following: controlling the target device to change from a second state to a first state; controlling the target device to change from the second state to the first state when the distance between the municipal vehicle and the first vehicle is less than or equal to a first distance threshold; controlling the portion of the target device corresponding to a first position to change from the second state to the first state, wherein the first position is the position in the first vehicle where the distance between it and the municipal vehicle is less than a third distance threshold; and keeping the state of the target device unchanged when the target device is in the first state; wherein, when the first state is on, the second state is off; or, when the first state is off, the second state is on.

[0007] Optionally, the municipal vehicle is a garbage truck or a vacuum truck, and the target device includes at least one of an air conditioner and a window; or, the municipal vehicle is a high-pressure cleaning truck, a guardrail cleaning truck, a water sprinkler truck, or a road sweeper, and the target device includes at least one of a window, an air purification device, and a windshield wiper; or, the municipal vehicle is a dump truck, and the target device includes at least one of an air purification device and a window.

[0008] Optionally, the method further includes: controlling the target device according to a second control strategy to turn off the target scene mode; wherein the second control strategy includes any one of the following: when the duration of the target scene mode being active reaches a first duration threshold, controlling the target device to change from the first state to the second state; when the distance between the municipal vehicle and the first vehicle is greater than a second distance threshold, controlling the target device to change from the first state to the second state; when the duration during which the municipal vehicle is not detected continuously reaches a second duration threshold, controlling the target device to change from the first state to the second state.

[0009] Optionally, the method further includes: receiving a control command from the target device in the target scene mode; and controlling the target device according to the control command.

[0010] Optionally, determining the type of municipal vehicles surrounding the first vehicle includes: acquiring a first image set, the first image set including at least one image, the image being used to reflect the environment surrounding the first vehicle; sending the first image set to a server; and receiving the type of municipal vehicle sent by the server, the type of municipal vehicle being determined by the server based on the first image set.

[0011] Secondly, a vehicle control device is also provided, comprising: a type determination module for determining the type of municipal vehicles surrounding a first vehicle; a pattern determination module for determining a target scene pattern based on the type of the municipal vehicles, wherein the target scene pattern is used to indicate a first control strategy for a target device in the first vehicle; and a control module for controlling the target device according to the first control strategy indicated by the target scene pattern under the target scene pattern.

[0012] Optionally, the device further includes: an instruction receiving module, configured to receive control instructions from the target device in the target scene mode; the control module is further configured to control the target device according to the control instructions.

[0013] Optionally, the device further includes: a prompting module, configured to output an activation prompt message before activating the target scene mode, the activation prompt message indicating that the target scene mode is about to be activated; or, to output a deactivation prompt message before deactivating the target scene mode, the deactivation prompt message indicating that the target scene mode is about to be deactivated.

[0014] Optionally, the type determination module includes an image acquisition submodule for acquiring a first image set, the first image set including at least one image, the image being used to reflect the environment surrounding the first vehicle; a sending submodule for sending the first image set to a server; and a receiving submodule for receiving the type of the municipal vehicle sent by the server, the type of the municipal vehicle being determined by the server based on the first image set.

[0015] Thirdly, a computer device is also provided, comprising: a memory and a processor, wherein the memory stores at least one computer program, the at least one computer program being loaded and executed by the processor to perform the vehicle control method described in the above embodiments.

[0016] Fourthly, a computer-readable storage medium is also provided, wherein at least one computer program is stored in the computer-readable storage medium, the at least one computer program being loaded and executed by a processor to perform the vehicle control method described in the above embodiments.

[0017] Fifthly, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement the method described in the first aspect.

[0018] The beneficial effects of the technical solutions provided in this disclosure are:

[0019] By determining the types of municipal vehicles surrounding the first vehicle, a target scenario mode is established. This target scenario mode guides the first control strategy for the target device within the first vehicle. Under this target scenario mode, the target device in the first vehicle is controlled according to the corresponding first control strategy. This allows control of the relevant target device in the first vehicle even when municipal vehicles are present in the external environment, thereby purifying the internal environment of the first vehicle and reducing changes in the internal environment when the external environment changes. Reduced changes in the internal environment mean less impact on the user due to changes in the in-vehicle environment, thus improving the user's experience and comfort. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 A schematic flowchart of a vehicle control method according to an embodiment of the present disclosure is shown;

[0022] Figure 2 A flowchart illustrating a vehicle control method according to another embodiment of this disclosure is shown;

[0023] Figure 3 A schematic diagram of a neural network structure according to an embodiment of the present disclosure is shown;

[0024] Figure 4 A schematic diagram of a municipal vehicle type acquisition process according to an embodiment of the present disclosure is shown;

[0025] Figure 5 A schematic diagram illustrating an application scenario according to an embodiment of this disclosure is shown;

[0026] Figure 6 This illustration shows the content of the prompt pop-up window in different scenario modes according to an embodiment of the present disclosure;

[0027] Figure 7 A schematic flowchart of a vehicle control method according to an embodiment of the present disclosure is shown;

[0028] Figure 8 A schematic diagram of the overall flow of vehicle control according to an embodiment of the present disclosure is shown;

[0029] Figure 9 A schematic diagram of the structure of a vehicle control device according to another embodiment of the present disclosure is shown;

[0030] Figure 10 A schematic diagram of the structure of a computer device according to another embodiment of the present disclosure is shown. Detailed Implementation

[0031] In this embodiment of the disclosure, municipal vehicles, during their operation, can affect the surrounding environment of other vehicles nearby. For example, when a municipal vehicle such as a garbage truck or a dump truck approaches the first vehicle, the air environment inside and outside the first vehicle will deteriorate, becoming filled with odors or dust, thereby reducing user comfort and resulting in a poor user experience.

[0032] Therefore, this disclosure provides a vehicle control method that can control a target device of a first vehicle when municipal vehicles are present in the external environment, thereby reducing changes in the internal environment of the first vehicle when the external environment of the first vehicle changes, and thus improving the user's experience and comfort.

[0033] Figure 1 This is a schematic flowchart illustrating a vehicle control method according to an exemplary embodiment of this disclosure. The method can be executed by an onboard device of a first vehicle, which can be a vehicle computer, a main control unit (MCU), or a functional module integrated on the system motherboard, etc. See also... Figure 1 The method includes:

[0034] Step 101: Determine the types of municipal vehicles surrounding the first vehicle.

[0035] The first vehicle can be a vehicle in motion or a vehicle in a parked state. Optionally, the first vehicle can also be a vehicle with people in motion, or a vehicle without people in motion (such as a vehicle in autonomous driving mode); the first vehicle can also be a vehicle with people in a parked state, or a vehicle without people in a parked state with the engine running.

[0036] In this embodiment of the disclosure, the type of municipal vehicle may be a garbage truck, a high-pressure cleaning truck, a vacuum truck, a guardrail cleaning truck, a road sweeper, a dump truck, or a water sprinkler truck, etc.

[0037] Step 102: Determine the target scenario mode based on the type of municipal vehicle.

[0038] The target scenario mode is used to indicate the first control strategy for the target device in the first vehicle. The control strategy includes the action conditions and action mode of the target device. The action conditions include, but are not limited to, the distance between the municipal vehicle and the first vehicle, the type of municipal vehicle, and the current state of the target device; the action mode includes turning on or off.

[0039] In this embodiment, the correspondence between municipal vehicle types and scene modes can be pre-stored in the memory of the on-board device. For example, before the first vehicle leaves the factory or before executing the method provided in this embodiment, the correspondence between municipal vehicle types and scene modes can be stored in the memory of the on-board device. In this way, the scene mode corresponding to the municipal vehicle type in the correspondence can be used as the target scene mode.

[0040] Step 103: In the target scenario mode, control the target device according to the first control strategy indicated by the target scenario mode.

[0041] Optionally, the target device includes, but is not limited to, air conditioning, windows, windshield wipers, and air purification equipment, etc., and may include one or more of these.

[0042] In this embodiment of the disclosure, when there are municipal vehicles around the first vehicle that affect the external environment of the first vehicle, the corresponding target device of the first vehicle is controlled according to the type of municipal vehicle and the corresponding target scenario mode. This can reduce the impact of the external environment of the first vehicle on the internal environment of the first vehicle, keep the internal environment of the first vehicle clean, and thus improve the user's experience and comfort.

[0043] Figure 2 This is a schematic flowchart illustrating a vehicle control method according to an embodiment of this disclosure. The method can be executed by an onboard device of a first vehicle, which can be a vehicle computer, an MCU, or a functional module integrated on the system motherboard, etc. See also... Figure 2 The method includes:

[0044] Step 201: Determine the types of municipal vehicles surrounding the first vehicle.

[0045] For details regarding the first vehicle and municipal vehicles, please refer to step 101 above, which will not be repeated here.

[0046] In a first possible implementation, step 201 includes the following steps:

[0047] Step A: The vehicle-mounted device acquires the first set of images.

[0048] The first image set includes at least one image that reflects the environment surrounding the first vehicle.

[0049] In step A, the method by which the vehicle-mounted device acquires the first set of images can be any one of the following three approaches.

[0050] The first method involves acquiring images of the area surrounding the first vehicle using an onboard camera sensor to obtain a first image set.

[0051] In this first approach, the on-board equipment does not process the images collected by the on-board camera sensors. Instead, it directly packages and sends the images to the server for municipal vehicle identification. This reduces the workload of the on-board equipment and lowers the requirements for its hardware and / or software capabilities.

[0052] The second method involves firstly, the vehicle-mounted device acquiring images of the area surrounding the first vehicle using vehicle-mounted camera sensors to obtain a second image set; then, the vehicle-mounted device selecting images containing vehicles from the second image set, and the selected images constitute the first image set.

[0053] In this second approach, the on-board equipment performs preliminary screening on the images collected by the on-board camera sensors, selecting images containing vehicles and sending them to the server. This helps reduce the amount of data transmitted and improves efficiency.

[0054] The third method involves firstly, the vehicle-mounted device acquiring images of the area surrounding the first vehicle using vehicle-mounted camera sensors to obtain a second image set; then, the vehicle-mounted device filtering out images containing municipal vehicles from the second image set, and the filtered images constitute the first image set.

[0055] In this third method, the on-board equipment first performs preliminary screening on the images collected by the on-board camera sensors, selecting images containing municipal vehicles and sending them to the server, which helps to further reduce the amount of data transmitted.

[0056] In the second and third methods, the vehicle-mounted equipment can use various image recognition technologies to determine whether there is a vehicle or a municipal vehicle in the image, and this disclosure does not impose any restrictions on this.

[0057] Any image captured by the vehicle-mounted camera sensor may include images of municipal vehicles, non-municipal vehicles, or no vehicles at all. Here, non-municipal vehicles refer to other types of vehicles besides municipal vehicles, including cars, SUVs, or trucks, etc.

[0058] Vehicle-mounted camera sensors can be LiDAR cameras, ultrasonic cameras, millimeter-wave cameras, or vision cameras, etc. The installation location of the vehicle-mounted camera sensors must be appropriate; it should not be too high or too low. Too low a placement will result in data loss, preventing the vehicle-mounted equipment from acquiring all image information about the vehicle's surroundings. Too high a placement will reduce the accuracy of the image information, potentially making it impossible to accurately determine the type of municipal vehicles in the image.

[0059] Optionally, the vehicle-mounted device can periodically acquire the first image set. For example, the vehicle-mounted device continuously captures images of the area surrounding the first vehicle and periodically acquires the first image set. For instance, the vehicle-mounted device can acquire the first image set every 5 minutes, and immediately send the first image set to the server after acquiring it.

[0060] Step B: Send the first set of images to the server.

[0061] Step C: Receive the type of municipal vehicle sent by the server.

[0062] Optionally, the type of municipal vehicle is determined by the server based on the first image set. For example, the server determines the license plate numbers of municipal vehicles surrounding the first vehicle based on the first image set; then, it uses the license plate numbers of the municipal vehicles to search the license plate number database of the municipal information management system to determine the type of municipal vehicle; finally, it sends the type of municipal vehicle to the first vehicle.

[0063] When the first image set is obtained using the first or second method described above, the server first filters the first image set to obtain images containing municipal vehicles; then the server performs image processing analysis on the images containing municipal vehicles, for example, by using an artificial neural network to perform image processing analysis to obtain the license plate numbers of the municipal vehicles.

[0064] When the first image set is obtained using the third method described above, the server can directly perform image processing and analysis on the images in the received first image set to obtain the license plate numbers of municipal vehicles.

[0065] Figure 3 A schematic diagram of an exemplary neural network structure provided for embodiments of this disclosure. See also... Figure 3 The artificial neural network comprises an input layer 301, an intermediate layer 302, and an output layer 303 connected sequentially. Theoretically, a three-layer neural network can infinitely fit any nonlinear function, thereby enabling image processing and analysis of images in the first image set to obtain the license plate numbers of municipal vehicles. The advantages of the artificial neural network recognition method are its insensitivity to character noise and deformation, and its strong fault tolerance.

[0066] Figure 4 This is a schematic diagram illustrating an exemplary process for obtaining municipal vehicle types, provided as an embodiment of this disclosure. Taking the first method of obtaining a first image set as an example, see [link to example]. Figure 4 The process includes: 401: The vehicle-mounted camera sensor acquires images of the area surrounding the first vehicle; 402: The main control unit of the first vehicle packages the acquired images of the area surrounding the first vehicle to obtain a first image set; and sends the first image set to the server; 403: The server performs image processing and analysis on the first image set to obtain the license plate number of the municipal vehicle; 404: The server retrieves the license plate number of the municipal vehicle to obtain the type of municipal vehicle; 405: The server outputs the retrieval result, which indicates the type of municipal vehicle, and sends the retrieval result to the first vehicle; 406: The main control unit of the first vehicle controls the activation of the corresponding target scene mode based on the type of municipal vehicle.

[0067] In a second possible implementation, the type of municipal vehicle can also be determined via NFC (Near Field Communication).

[0068] For example, a municipal vehicle is equipped with an NFC tag that stores relevant information about the municipal vehicle, including but not limited to the vehicle's type. If a first vehicle is equipped with an NFC sensor, then when the municipal vehicle approaches the first vehicle, the NFC sensor reads the relevant information from the municipal vehicle's NFC tag to determine the vehicle's type.

[0069] Optionally, the first vehicle is equipped with NFC sensors in the driver's side, passenger side, and rear door doors. When a municipal vehicle approaches the driver's side of the first vehicle, the NFC sensor in the driver's side door reads the municipal vehicle's NFC tag. Similarly, when a municipal vehicle approaches the passenger side or rear door of the first vehicle, the first vehicle can determine the type of nearby municipal vehicles. Furthermore, the position of the municipal vehicle relative to the first vehicle can be determined based on the location of the NFC sensor.

[0070] In a third possible implementation, the type of municipal vehicle can also be obtained through vehicle-to-vehicle communication. When a municipal vehicle is within the vehicle-to-vehicle communication range of the first vehicle, the first vehicle receives a broadcast message from the municipal vehicle carrying the type of the municipal vehicle; or, when a municipal vehicle is within the vehicle-to-vehicle communication range of the first vehicle, the municipal vehicle receives a query request from the first vehicle and sends type information to the first vehicle according to the query request. Accordingly, the first vehicle receives the type information, which is used to indicate the type of the municipal vehicle.

[0071] Optionally, after step 201, the method further includes: outputting the type of municipal vehicle.

[0072] In one possible implementation, a pop-up window can be displayed on the screen to indicate the type of municipal vehicle approaching. The content of this pop-up window can be preset before the vehicle leaves the factory and stored in the vehicle's memory.

[0073] For example, if the type of municipal vehicle around the first vehicle is determined to be a garbage truck, the on-board equipment displays a pop-up window on the screen, and the pop-up window content is "Garbage truck detected approaching".

[0074] In another possible implementation, the type of municipal vehicle can be output via voice announcement. The voice announcement is used to alert the user to the type of municipal vehicle approaching. The voice announcement content can be preset before the vehicle leaves the factory and stored in the on-board device's memory. For example, after determining that the type of municipal vehicle around the first vehicle is a garbage truck, the voice announcement "Garbage truck detected approaching" can be made.

[0075] In practice, the two implementation methods of displaying pop-up windows on the screen and voice broadcasting can also be combined.

[0076] By identifying the types of municipal vehicles surrounding the first vehicle, it is beneficial to make corresponding controls based on the types of municipal vehicles, thereby reducing the impact of the external environment of the first vehicle on the internal environment of the first vehicle; and by prompting the user about the types of municipal vehicles approaching, the user can prepare in advance for the approaching municipal vehicles, thereby improving the safety of the driving process.

[0077] Step 202: Determine the target scenario mode based on the type of municipal vehicle.

[0078] For details on the target scene mode, please refer to step 102 above, which will not be repeated here.

[0079] In this embodiment of the disclosure, the correspondence between the types of municipal vehicles and scene modes can be pre-stored in the memory of the vehicle-mounted device. In this way, the scene mode corresponding to the type of municipal vehicle in the correspondence can be used as the target scene mode.

[0080] The following example uses municipal vehicles, including garbage trucks, high-pressure cleaning trucks, vacuum trucks, guardrail cleaning trucks, road sweepers, construction waste trucks, and water sprinkler trucks, as illustrations.

[0081] For example, in this correspondence, the scenario mode corresponding to a garbage truck or a vacuum truck is the first scenario mode, which can be referred to as the garbage truck passing mode or the vacuum truck passing mode; the scenario mode corresponding to a high-pressure cleaning truck, a guardrail cleaning truck, a water sprinkler truck, or a road sweeper is the second scenario mode, which can be referred to as the high-pressure cleaning truck passing mode, the guardrail cleaning truck passing mode, the water sprinkler truck passing mode, or the road sweeper passing mode; and the scenario mode corresponding to a dump truck is the third scenario mode, which can be referred to as the dump truck passing mode.

[0082] In the first scenario mode, since garbage trucks or sewage trucks will produce odors in the air around the user, the corresponding devices for the first scenario mode are air conditioners and car windows. The target device is at least one of air conditioners and car windows. Air conditioners can achieve internal air circulation, thereby blocking external odors, and car windows can also block external odors.

[0083] In the second scenario mode, since high-pressure cleaning trucks, guardrail cleaning trucks, water sprinkler trucks, or road sweepers will generate dust and sewage in the air around the user, the corresponding devices for the second scenario mode are car windows, air purification equipment, and windshield wipers. The target device is at least one of car windows, air purification equipment, and windshield wipers. Air purification equipment can filter dust in the air inside the car, car windows can block dust from the outside, and windshield wipers can remove sewage on the windshield to avoid affecting the user's vision.

[0084] In the third scenario mode, since the dump truck will generate dust in the air around the user, the device corresponding to the target scenario mode is an air purification device and a car window. The target device is at least one of the air purification device and the car window. The air purification device can filter the dust in the air inside the vehicle, and the car window can block the dust from the outside.

[0085] Figure 5 This is a schematic diagram illustrating an application scenario provided by an exemplary embodiment of this disclosure. This scenario can be applied to either the first or second method of acquiring the first image set. See also... Figure 5 The vehicle-mounted camera sensor 501 acquires images of the area surrounding the first vehicle, including municipal vehicles 502, resulting in a first image set, which is then uploaded to the server 503. The server 503 performs image processing analysis and retrieval on the first image set to obtain a vehicle recognition result 504, which includes the type and license plate number of the municipal vehicle. The server 505 sends the vehicle recognition result 504 to the first vehicle 505, which can then activate the corresponding scene mode based on the recognition result 504.

[0086] It should be noted that in this embodiment, step 202 and subsequent steps are executed automatically after step 201. In other embodiments, before step 202, the method may further include: determining whether the current mode is manual or automatic. If it is determined that the current mode is automatic, then step 202 is executed.

[0087] Optionally, a manual mode switch can be set. The on-board equipment can determine whether the current mode is manual or automatic by checking the status of the manual mode switch. If the manual mode switch is on, the current mode is manual; if the manual mode switch is off, the current mode is automatic. Users can freely choose to turn the manual mode switch on or off as needed.

[0088] Optionally, the method further includes: if it is determined that the current mode is manual, determining the target scene mode based on the user's interaction instructions.

[0089] The interactive commands can be received through in-vehicle human-machine interface devices. In-vehicle human-machine interface devices include, but are not limited to, touchscreens and microphones.

[0090] The interactive instruction is used to indicate the scene mode selected by the user. Based on the interactive instruction, the scene mode selected by the user is taken as the target scene mode, and then step 203 is executed.

[0091] For example, if a user inputs the interactive command "Activate Passing Garbage Truck Mode" into the in-vehicle human-machine interaction device via voice, then the target scenario mode is determined to be Passing Garbage Truck Mode.

[0092] Step 203: Determine if a scene mode is currently being executed.

[0093] After determining the target scene mode, before activating it, it's necessary to check if any scene mode is currently being executed. This is because only one scene mode can be executed at a time. If two scene modes exist simultaneously, one might control the window to open while the other controls it to close, leading to a conflict in the window control strategies.

[0094] Therefore, before starting the target scene mode, it is necessary to determine whether a scene mode is currently being executed. If a scene mode is being executed, the target scene mode will be started after the current scene mode ends. If no scene mode is being executed, the target scene mode will be started.

[0095] In one implementation, the presence of a scene mode currently being executed can be determined by checking records of enabled and disabled notification messages. The in-vehicle device queries the latest notification message in the records; if the notification message is enabled, it indicates that a scene mode is currently being executed; if the notification message is disabled, it indicates that no scene mode is currently being executed.

[0096] In another implementation, an identifier can be set. When any scene mode is enabled, the identifier is set to a first value; when the scene mode is disabled, the identifier is set to a second value. This allows the determination of whether a scene mode is currently in operation by checking the identifier. Optionally, the first value can be 1 and the second value 0; or the second value can be 1 and the first value 0.

[0097] In another implementation, an identifier can be assigned to each scene mode. Each identifier indicates whether the corresponding scene mode is enabled. For example, when an identifier has a first value, it indicates that the corresponding scene mode is enabled; when an identifier has a second value, it indicates that the corresponding scene mode is disabled. In this way, by checking all the identifiers, it can be determined whether any scene mode is being executed. Optionally, the first value is 1 and the second value is 0; or the second value is 1 and the first value is 0.

[0098] Step 204: Output the activation prompt message.

[0099] Enable notification messages to indicate that the target scene mode is about to be activated.

[0100] In one possible implementation, the activation prompt can be displayed as a pop-up window on the vehicle's screen. The pop-up window may include a prompt message, a countdown timer, an "Activate Now" button, and a "Cancel" button. The content of the pop-up window can be preset before the vehicle leaves the factory and stored in the vehicle's memory.

[0101] For example, when the "Passing Garbage Truck Mode" is about to be activated, the pop-up window includes the message "Please drive safely, passing garbage truck mode is about to be activated," a countdown timer, and "Activate Now" and "Cancel" buttons. The "Activate Now" and "Cancel" buttons allow users to choose the appropriate action based on their needs.

[0102] In another possible implementation, the activation prompt could be delivered via voice announcement, notifying the user that the passing garbage truck mode will be activated after a certain period of time. The user can then decide via voice whether to activate the mode immediately or cancel it.

[0103] In practice, a combination of display screen and voice announcement can be used. The countdown duration can be set by the user as needed, for example, it can be 5 seconds, with no specific limitation.

[0104] Figure 6 This diagram illustrates the content of the pop-up notification under different scenario modes, as provided in an exemplary embodiment of this disclosure. See also... Figure 6 When the target scenario mode is the "Passing Garbage Truck" mode, the pop-up displayed on the vehicle screen includes the text "Please drive safely, passing garbage truck mode is about to be activated," a 5-second countdown, a cancel button, and a number in the upper right corner indicating the number of messages. The pop-up content for different target scenario modes is the same as the above pop-up display, except that the scenario mode name is replaced in the text.

[0105] Step 205: Determine the target device corresponding to the target scene mode.

[0106] The target device corresponding to a target scene mode can be determined based on the mapping relationship between scene modes and devices. In this mapping relationship, each scene mode corresponds to at least one device. Different scene modes may correspond to the same device, different devices, or some devices may be the same and some may be different.

[0107] For example, the target devices for passing through garbage truck or sewage suction truck modes include air conditioning and windows. As another example, the target devices for passing through high-pressure cleaning truck, guardrail cleaning truck, water sprinkler truck, or road sweeper modes include windows, air purification equipment, and windshield wipers. As yet another example, the target devices for passing through dump truck modes include air purification equipment and windows.

[0108] Step 206: In the target scenario mode, control the target device according to the first control strategy indicated by the target scenario mode.

[0109] The first control strategy includes the operating conditions and operating methods of the target device. The operating conditions include, but are not limited to, the distance between the municipal vehicle and the first vehicle, the type of municipal vehicle, and the current state of the target device; the operating methods include turning on or off.

[0110] Before the target scene mode is activated, the corresponding target device may be in either a first state or a second state. For the same target device, when the first state is on, the second state is off, or vice versa. Different target devices may have the same first state, and correspondingly, different target devices may also have the same second state. Alternatively, different target devices may have different first states, and correspondingly, different target devices may also have different second states.

[0111] In other words, the current state of the target device includes a first state and a second state. The first state indicates the target state of the corresponding device when the target scene mode is turned on, and the second state indicates the target state of the corresponding device when the target scene mode is turned off.

[0112] When the device is an air conditioner, air purifier, or windshield wiper, the first state of the device is on and the second state is off; when the device is a car window, the first state of the device is off and the second state is on.

[0113] For example, if the distance between the garbage truck and the vehicle is less than a first distance threshold (e.g., 30 meters), the vehicle screen outputs a 5-second countdown pop-up and a voice announcement. It is determined that no current scene mode is being executed, therefore the target scene mode is the passing garbage truck mode, and the target devices are the vehicle windows and the air conditioner. Simultaneously, it is determined that the vehicle windows are closed and the air conditioner is off. Since the vehicle windows are in the first state (closed), their state remains unchanged; the air conditioner is in the second state (on), therefore, only the air conditioner is controlled when executing subsequent step 206.

[0114] Optionally, the first control strategy includes at least one of the following strategies:

[0115] In strategy ac, if a target device is in the first state, the target device in the first state is kept unchanged, and only the target device in the second state is controlled to change from the second state to the first state.

[0116] Strategy a: Control the target device to change from the second state to the first state.

[0117] For example, the target scenario mode is the passing dump truck mode, the target devices are the air purification device and the car window, and both the air purification device and the car window are in the second state, that is, the air purification device is in the closed state and the car window is in the open state; at this time, control the air purification device and the car window to change from the second state to the first state, that is, control the air purification device to turn on and control the car window to close.

[0118] Strategy b: When the distance between the municipal vehicle and the first vehicle is less than or equal to the first distance threshold, the control target device changes from the second state to the first state.

[0119] For example, the first distance threshold is 30 meters. When the distance between the garbage truck and the vehicle is less than or equal to 30 meters, the "Passing Garbage Truck Mode" is activated. In this mode, the air conditioning and windows are set to their first state. The specific value of the first distance threshold depends on the actual situation and is not limited here.

[0120] Optionally, when the first control strategy indicated by the target scenario mode includes strategy b, the first vehicle needs to first obtain the position and distance information of the municipal vehicle relative to the first vehicle in order to know the distance between the municipal vehicle and the first vehicle. Based on the obtained position and distance information of the municipal vehicle relative to the first vehicle, the first vehicle determines whether the distance between the municipal vehicle and the first vehicle is less than a first distance threshold.

[0121] In one possible implementation, the vehicle-mounted camera sensor is one of a lidar camera, an ultrasonic camera, or a millimeter-wave camera. Since the capture distance of these vehicle-mounted camera sensors is greater than a first distance threshold and a second distance threshold, image processing and analysis are used to obtain the position and distance information of the municipal vehicle relative to the first vehicle. The method includes the following three steps.

[0122] The first step is for the server to preprocess the first set of images to obtain the preprocessing results.

[0123] In some examples, the images captured by these vehicle-mounted camera sensors contain not only image data but also point cloud data, which is a set of three-dimensional coordinate data of spatial points in the image. By combining the point cloud data and image data, the position and distance information of municipal vehicles surrounding the first vehicle relative to the first vehicle can be obtained. Accordingly, preprocessing includes image data processing and point cloud data processing. Image data processing mainly filters irrelevant information in the image and restores useful real information, thereby simplifying the image data; point cloud data processing mainly filters noise in the point cloud data, thereby simplifying the point cloud data; therefore, the preprocessing result includes simplified image data and simplified image data. Preprocessing can greatly reduce the amount of data to be processed in the second step, thereby improving data processing efficiency.

[0124] The second step is for the server to perform data fusion testing and analysis on the preprocessed results and output the fusion results.

[0125] The fusion results indicate the position and distance information of municipal vehicles surrounding the first vehicle relative to the first vehicle.

[0126] The position of the municipal vehicle relative to the first vehicle includes: the municipal vehicle being to the left front of the first vehicle, the municipal vehicle being to the right front of the first vehicle, the municipal vehicle being to the left rear of the first vehicle, or the municipal vehicle being to the right rear of the first vehicle. The distance of the municipal vehicle relative to the first position is a specific length value, used to indicate the straight-line distance between the rear of the municipal vehicle and the front of the first vehicle when the municipal vehicle is to the left front of the first vehicle or to the right front of the first vehicle; and the straight-line distance between the front of the municipal vehicle and the rear of the first vehicle when the municipal vehicle is to the left rear of the first vehicle or to the right rear of the first vehicle.

[0127] The third step is for the onboard equipment of the first vehicle to obtain the position and distance information of the municipal vehicle relative to the first vehicle sent by the server.

[0128] In another possible implementation, the vehicle-mounted camera sensor is a vision camera. Since the shooting distance of the vision camera is shorter than that of other vehicle-mounted sensor devices, it is assumed that when the vision camera captures the municipal vehicle, the distance between the municipal vehicle and the first vehicle is less than a first distance threshold, and when the vision camera does not capture the municipal vehicle, the distance between the municipal vehicle and the first vehicle is greater than a second distance threshold. That is, the position and distance information of the municipal vehicle relative to the first vehicle are obtained through the shooting distance of the vision camera.

[0129] Strategy c: Control the part of the target device corresponding to the first position to change from the second state to the first state.

[0130] The first position is defined as the location in the first vehicle where the distance between it and the municipal vehicle is less than the third distance threshold. The first position includes the driver's seat, the front passenger seat, and the rear seats. Here, the specific value of the third distance threshold depends on the actual situation and is not limited here.

[0131] In one possible implementation, the first location can be determined via NFC.

[0132] Optionally, the municipal vehicle is equipped with an NFC tag that stores relevant information about the municipal vehicle. The first vehicle has NFC sensors installed in the driver's side, passenger side, and rear seat doors. When the municipal vehicle approaches the driver's side door of the first vehicle, the maximum sensing distance between the NFC tag in the driver's side door and the NFC sensor on the municipal vehicle is used as a third distance threshold (e.g., 3 meters). Therefore, when the NFC sensor in the driver's side door senses the NFC tag of the municipal vehicle, the first position is determined to be the driver's side.

[0133] Similarly, if a municipal vehicle approaches the front passenger door or rear seat door of the first vehicle, the NFC sensor in the front passenger door or rear seat door will detect the NFC tag of the municipal vehicle and determine that the first location is the front passenger door or the rear seat.

[0134] For example, the driver's side door of the first vehicle is equipped with an NFC sensor. When the NFC sensor in the driver's side door senses the NFC tag on the municipal vehicle, it indicates that the distance between the municipal vehicle and the driver's side door of the first vehicle is less than a first distance threshold of 3 meters, and the first position is determined to be the driver's side.

[0135] The advantage of this implementation method compared to another implementation method is that the first location is quickly determined by the driver's seat because NFC is a real-time sensing technology. The disadvantage is that, due to the current limitation of NFC's maximum sensing distance of only 3 meters, the third distance threshold cannot exceed 3 meters when using this implementation method.

[0136] In another possible implementation, the first position is determined by the position and distance information of the municipal vehicle relative to the first vehicle.

[0137] Optionally, when the municipal vehicle is to the left front of the first vehicle, the distance between the municipal vehicle and the first vehicle plus X1 meters is taken as the distance between the municipal vehicle and the driver's side door, the distance between the municipal vehicle and the first vehicle plus X2 meters is taken as the distance between the municipal vehicle and the rear seat door, and the distance between the municipal vehicle and the first vehicle plus X3 meters is taken as the distance between the municipal vehicle and the passenger side door.

[0138] When the municipal vehicle is to the right front of the first vehicle, the distance between the municipal vehicle and the first vehicle plus 3 meters is taken as the distance between the municipal vehicle and the driver's side door; the distance between the municipal vehicle and the first vehicle plus 1 meter is taken as the distance between the municipal vehicle and the rear seat door; and the distance between the municipal vehicle and the first vehicle plus 2 meters is taken as the distance between the municipal vehicle and the passenger side door.

[0139] When the municipal vehicle is to the left rear of the first vehicle, the distance between the municipal vehicle and the first vehicle plus 2 meters is taken as the distance between the municipal vehicle and the driver's side door; the distance between the municipal vehicle and the first vehicle plus 1 meter is taken as the distance between the municipal vehicle and the rear seat door; and the distance between the municipal vehicle and the first vehicle plus 4 meters is taken as the distance between the municipal vehicle and the passenger side door.

[0140] When the municipal vehicle is to the right rear of the first vehicle, the distance between the municipal vehicle and the first vehicle plus 4 meters is taken as the distance between the municipal vehicle and the driver's side door; the distance between the municipal vehicle and the first vehicle plus 1 meter is taken as the distance between the municipal vehicle and the rear seat door; and the distance between the municipal vehicle and the first vehicle plus 2 meters is taken as the distance between the municipal vehicle and the passenger side door.

[0141] Where X1 is less than X2, X2 is less than X3, and X3 is less than X4. The specific values ​​of X1, X2, X3, and X4 are determined based on the dimensions of the first vehicle. Then, when the distance between the municipal vehicle and the driver's side door, passenger side door, or rear door of the first vehicle is less than a third distance threshold, the first position is determined to be the driver's seat, passenger side door, or rear seat, respectively.

[0142] For example, the on-board equipment of the first vehicle obtains the position and distance information of the municipal vehicle relative to the first vehicle sent by the server. If the municipal vehicle is in front of the left side of the first vehicle, the distance between the municipal vehicle and the first vehicle plus 1 meter is taken as the distance between the municipal vehicle and the driver's side door, the distance between the municipal vehicle and the first vehicle plus 1.2 meters is taken as the distance between the municipal vehicle and the rear seat door, and the distance between the municipal vehicle and the first vehicle plus 1.5 meters is taken as the distance between the municipal vehicle and the passenger side door. If it is determined that the distance between the municipal vehicle and the driver's side door of the first vehicle is less than the third distance threshold of 10 meters, then the first position is determined to be the driver's side.

[0143] The advantage of this implementation method compared to the previous one is that, since image processing technology is used to obtain the position and distance information of the municipal vehicle relative to the first vehicle, and thus the distance between the municipal vehicle and the driver's side door, passenger side door, or rear door of the first vehicle is obtained, this distance is much greater than the maximum sensing distance of NFC in the previous implementation method, so the third distance threshold is also much greater than 3 meters. The disadvantage is that image processing technology is more complex, so it requires a certain amount of processing time and cannot determine the first position immediately like NFC in the previous implementation method.

[0144] For example, the target scenario mode is the passing garbage truck mode. The first position is determined to be the driver's seat by the position and distance information of the municipal vehicle relative to the first vehicle. At this time, at least one of the controls for the air conditioner or windows of the driver's seat changes from the second state to the first state.

[0145] Optionally, since at least two first positions may exist at the same time, the target device may correspond to at least two first positions simultaneously. In this case, strategy c further includes:

[0146] If the target device has a portion that corresponds to at least two first positions simultaneously, it is necessary to determine whether the at least two first positions include the driver's seat. If the driver's seat is included, the portion of the target device corresponding to the driver's seat is first controlled to the first state first, and then the portions of the target device corresponding to the other first positions are controlled after the portion corresponding to the driver's seat is in the first state. If the driver's seat is not included, the portions of the target device corresponding to at least two first positions are simultaneously controlled to change from the second state to the first state.

[0147] In the following two cases, it is considered that at least two first positions do not include the driver's seat: First, the target device corresponds to both the rear seat and the front passenger seat. This applies when a municipal vehicle passes by on the right side of the vehicle, and the distance between the municipal vehicle and the left door is greater than the third distance threshold, while the distance to the right door and the rear door is less than the third distance threshold. Therefore, in this case, the driver's seat is not included in the two first positions. Second, the vehicle is parked. In this case, the driver in the driver's seat does not need to drive the vehicle, so there is no need to prioritize controlling the portion of the target device corresponding to the driver's seat. Even if the distance between the driver's seat and the municipal vehicle is less than the third distance threshold, it can be considered that at least two first positions do not include the driver's seat.

[0148] If the distance between the left door of the municipal vehicle and the first vehicle is less than the third distance threshold, or if at least one of the right door or rear door is less than the third distance threshold and does not fall under the second situation mentioned above, then it is considered that at least two first positions include the driver's seat.

[0149] Simultaneously controlling the portion of the target device corresponding to at least two first positions is less efficient than controlling only the portion corresponding to one first position. Since the driver needs to concentrate on driving and cannot be affected by the external environment, the driver's seat requires faster control efficiency. Therefore, when the driver's seat is present in at least two first positions, the portion of the target device corresponding to the driver's seat is prioritized for control, meaning the driver's seat has priority over other first positions.

[0150] For example, if the distance between the vehicle's left door and a garbage truck is less than a first distance threshold, and simultaneously the distance between the vehicle's rear door and the same garbage truck is also less than a first distance threshold, then both the air conditioning and windows are open. The windows correspond to the two driver's seats and the first position of the rear seats, with the corresponding portions being the driver's side window and the rear seat window. Since the air conditioning is already on, no control is needed. However, if it is determined that the different first positions include the driver's seat, then the driver's side window is closed.

[0151] When the target device is at least one of an air conditioner or a window, strategy c can be used for control. This is because the air conditioner or window has multiple parts corresponding to the first position in the first vehicle, and strategy c allows for individual control of each part, thus achieving the best control effect. Other target devices, such as windshield wipers or air purifiers, are often a single unit in the first vehicle and do not have a part corresponding to the first position. Therefore, it is unnecessary to control the parts of these target devices corresponding to the first position individually. Thus, when the target device is at least one of a windshield wiper or an air purifier, strategy c is necessarily not included in the control strategy for the target device.

[0152] Step 206 enables the control of the target device of the first vehicle in the target scenario mode according to the first control strategy indicated by the target scenario mode. This allows for accurate control of the target device even when municipal vehicles are present around the first vehicle, reducing the impact of the external environment of the first vehicle on the internal environment of the first vehicle, maintaining the cleanliness of the internal environment of the first vehicle, and thus improving the user's experience and comfort.

[0153] Step 207: Control the target device according to the second control strategy to turn off the target scene mode;

[0154] The second control strategy is used to disable the target scenario mode, including the action conditions and action methods of the target device. The action conditions include, but are not limited to, the distance between the municipal vehicle and the first vehicle, the type of municipal vehicle, and the current state of the target device; the action methods include turning on or off.

[0155] The second control strategy includes any one of the following strategies df; when controlling the target device according to the second control strategy, only the target device that has been controlled by the aforementioned first control strategy is controlled, and the target device that remains unchanged due to being in the first state in the aforementioned first control strategy is not controlled.

[0156] Optionally, before controlling the target device according to the second control strategy, a shutdown prompt message also needs to be output. The shutdown prompt message is used to indicate that the target scene mode is about to be shut down, and the content and output method of the shutdown prompt message correspond to the startup prompt message. For example, when the passing garbage truck mode is about to be shut down, a pop-up window with a 5-second countdown saying "Passing garbage truck mode is about to be shut down" can be displayed on the vehicle screen, or the message "Passing garbage truck mode is about to be shut down" can be broadcast via voice, or both can be combined.

[0157] Strategy d: When the activation duration of the target scene mode reaches a first duration threshold, control the target device to change from the first state to the second state.

[0158] Optionally, the first duration threshold is a fixed value that can be set by the user. Initially, the first duration threshold is a default value. For example, when the first vehicle is manufactured, the first duration threshold is a default value of 10 minutes. The user can change the first duration threshold at will, for example, to 8 minutes, 15 minutes, 18 minutes, etc.

[0159] For example, the user modifies the target duration to 15 minutes. When it is confirmed that the municipal vehicles around the first vehicle are garbage trucks, the target scenario mode is determined to be the passing garbage truck mode, the target devices are the air conditioner and the car window, and the air conditioner is in the second state (i.e., the air conditioner is off), while the car window is in the first state (i.e., the car window is closed). At this time, the air conditioner is controlled to change from the second state to the first state while the car window remains unchanged, that is, only the air conditioner is controlled to be turned on; after 15 minutes, the in-vehicle screen displays a pop-up window "Garbage truck mode will be turned off soon", and the air conditioner is then controlled to change from the first state to the second state, that is, the air conditioner is controlled to be turned off.

[0160] Strategy e: When the distance between the municipal vehicle and the first vehicle is greater than the second distance threshold, the control target device changes from the first state to the second state.

[0161] If the distance between the municipal vehicle and the first vehicle is greater than the second distance threshold, it means that the distance between the municipal vehicle and the first vehicle is relatively large, and the user's surrounding environment will no longer be affected by the vehicle. Therefore, the target device can be controlled to the second state at this time. The first vehicle determines whether the distance between the municipal vehicle and the first vehicle is greater than the second distance threshold based on the obtained position and distance information of the municipal vehicle relative to the first vehicle. Here, the specific value of the second distance threshold depends on the actual situation and is not limited here.

[0162] For example, the second distance threshold is 30 meters, the municipal vehicle is a garbage truck, and the target device is an air conditioner and a window; when the distance between the municipal vehicle and the first vehicle is greater than 30 meters, the vehicle screen displays a pop-up window "Passing garbage truck mode will be turned off soon", and then controls the window to open and the air conditioner to turn off.

[0163] Optionally, the window opening speed can be controlled based on vehicle speed. If the current speed is low, the window opens quickly; if the speed is high, the window opens slowly. At higher speeds, the airflow entering the vehicle through the window is rapid. Opening the window quickly would cause a sudden, strong draft. Opening the window slowly allows the user to adjust to the rapid influx of air, improving comfort. At lower speeds, the airflow is gentler, so opening the window quickly improves window control efficiency. For example, a speed of 30 km / h or less can be considered low, and a speed greater than 30 km / h can be considered high; the specific values ​​depend on the actual situation and are not limited here.

[0164] Optionally, in the target scenario mode, it is also necessary to determine whether the target device has been taken over by the user. That is, to determine whether the target device has been operated by the user. If the target device has been controlled according to user-input control commands, it indicates that the target device has been taken over by the user. If the target device has been taken over by the user, the state of the taken-over target device will not be changed when the target scenario mode is closed. If the target device has not been taken over by the user, the target device will be controlled according to the control strategy corresponding to the target scenario mode. This is because if a target device is taken over by the user in the target scenario mode, it means that the user has a need for that target device. Therefore, when controlling the target device to the second state, considering the user's need, the taken-over target device will not be controlled to the second state.

[0165] Therefore, the method includes:

[0166] Step e1: In the target scene mode, receive control commands from the target device.

[0167] The control commands can be received through an in-vehicle human-machine interface device. In-vehicle human-machine interface devices include, but are not limited to, touchscreens and microphones.

[0168] This control command instructs the user to turn the target device on or off, such as performing the operations corresponding to steps 205-206. The target device can be one or more of the target devices corresponding to the target scene mode.

[0169] Step e2: Control the target device according to the control command.

[0170] The on-board equipment controls the corresponding target device to turn on or off according to the received control commands.

[0171] Step e3: When the target scene mode is turned off, control the target devices other than the target device in e2 according to the second control strategy.

[0172] For example, when the "Passing Garbage Truck" mode is activated, the air conditioning is turned on and the windows are closed. If, after activation, the distance between the garbage truck and the vehicle is detected to be greater than a distance threshold, a countdown timer prompts the system to close the windows. Since the onboard device receives a user's command to open the windows before the closing prompt, it indicates that the windows have been taken over by the user and are already open; therefore, the window control is not repeated, and the window status remains unchanged. Alternatively, since the onboard device receives a user's command to adjust the air conditioning (e.g., fan speed and / or temperature) before the closing prompt, it indicates that the air conditioning has been taken over by the user; therefore, when exiting the "Passing Garbage Truck" mode, the air conditioning status remains unchanged.

[0173] In this embodiment of the disclosure, steps e1-e3 fully consider the user's needs, so that the user's needs for the target device can be fully met, thereby improving the user's experience and comfort.

[0174] Strategy f: When the duration of continuous absence of detection of the municipal vehicle reaches the second duration threshold, the control target device changes from the first state to the second state.

[0175] If no municipal vehicles are detected for a continuous period of time, reaching the second time threshold, it indicates that there are no more municipal vehicles around the first vehicle that could affect its external environment. Therefore, the target device can be controlled to change from the first state to the second state. Here, the specific value of the second time threshold depends on the actual situation and is not limited.

[0176] For example, the second duration threshold is 5 minutes.

[0177] Step 207 enables the target device to be controlled according to the second control strategy to shut down the target scene mode. The target device can be shut down reasonably when the target scene mode is turned off. The second control strategy fully considers the different needs of users, thereby improving the user experience and comfort.

[0178] In this embodiment of the disclosure, when there are municipal vehicles around the first vehicle that affect the external environment of the first vehicle, the corresponding target device of the first vehicle is controlled according to the type of municipal vehicle and the corresponding target scenario mode. This can reduce the impact of the external environment of the first vehicle on the internal environment of the first vehicle, keep the internal environment of the first vehicle clean, and thus improve the user's experience and comfort.

[0179] The following example uses municipal vehicles, specifically garbage trucks, in conjunction with... Figure 7 The process of vehicle control is introduced.

[0180] Figure 7 A schematic flowchart of a vehicle control method according to an embodiment of this disclosure is shown. See also Figure 7 The method includes:

[0181] Step 701: Determine that the type of municipal vehicles surrounding the first vehicle is a garbage truck.

[0182] The relevant details for determining the type of municipal vehicle are described in step 201 and will not be repeated here.

[0183] Step 702: Obtain the distance between the first vehicle and the garbage truck.

[0184] For example, the vehicle-mounted camera sensor is a lidar camera. Therefore, the distance between the first vehicle and the garbage truck is obtained through image processing and analysis. For specific steps, please refer to step DF above, which will not be repeated here.

[0185] Step 703: Determine the target scene mode as the passing garbage truck mode.

[0186] Step 704: Determine if a scene mode is currently being executed.

[0187] The process of determining whether a scene mode is currently being executed is detailed in step 203 and will not be repeated here. In step 704, if no scene mode is currently being executed, proceed to step 705. If a scene mode is currently being executed, wait for the current scene mode to finish executing before proceeding to step 705.

[0188] Step 705: Output the activation prompt message.

[0189] For example, the activation prompt message is a pop-up window displayed on the screen of the vehicle device. The pop-up window includes "Please pay attention to driving safety, the passing garbage truck mode is about to be activated", a 5-second countdown, and activation and cancellation buttons.

[0190] Step 706: Determine the target device corresponding to the passing garbage truck mode.

[0191] Since the devices corresponding to the "Passing Garbage Truck" mode are the car windows and air conditioning, the target devices are the car windows and air conditioning when the target scenario mode is "Passing Garbage Truck". For example, both the car windows and air conditioning are currently open, i.e., the air conditioning is in the first state and the car windows are in the second state.

[0192] Step 707: When the distance between the garbage truck and the first vehicle is less than or equal to the third distance threshold, control the part of the window corresponding to the first position to change from open to closed.

[0193] For example, since the air conditioner is in the first state and the windows are in the second state, the air conditioner remains in the first state, and only the windows in the second state are controlled in step 707.

[0194] Optionally, the portion of the window corresponding to the first position includes: the driver's side window, the passenger side window, and the rear seat window.

[0195] For example, if the distance between the vehicle's left door and a garbage truck is less than 10 meters, and the distance between the vehicle's rear door and the same garbage truck is also less than 10 meters, then the windows correspond to the driver's seat and the rear seats as the two primary positions. Since the driver's seat has priority over the other primary positions, the portion of the window corresponding to the driver's seat (i.e., the driver's seat window) is closed first. Only after the driver's seat window is closed is the rear seat window closed.

[0196] Step 708: In the garbage truck passing mode, receive the user's control command for the vehicle windows.

[0197] For example, after closing the windows while passing through the garbage truck mode, the user can input a voice control command to "open the windows".

[0198] Step 709: Control the windows according to the control instructions.

[0199] For example, since the user inputs the control command "open the window", the window is opened.

[0200] Step 710: When the distance between the garbage truck and the first vehicle is greater than the second distance threshold, output a closing prompt message.

[0201] For example, the second distance threshold is 30 meters. At this time, the distance between the garbage truck and the first vehicle is greater than 30 meters. The closing prompt message is a pop-up window displayed on the screen of the vehicle-mounted device. The pop-up window content includes "Please pay attention to driving safety, the passing garbage truck mode will be closed soon", 5-second countdown, a close button and a cancel button.

[0202] Step 711: Keep the car windows closed.

[0203] This means not controlling the window to change from closed to open. Since the user has already controlled the window to change from closed to open, it means the window has been taken over by the user, and the window is already in the open state, so there is no need to control the window to open again.

[0204] In this embodiment of the disclosure, when there are municipal vehicles around the first vehicle that affect the external environment of the first vehicle, the corresponding target device of the first vehicle is controlled according to the type of municipal vehicle and the corresponding target scenario mode. This can reduce the impact of the external environment of the first vehicle on the internal environment of the first vehicle, keep the internal environment of the first vehicle clean, and thus improve the user's experience and comfort.

[0205] Figure 8 This is a schematic diagram illustrating the overall flow of vehicle control provided for an exemplary embodiment of this disclosure. See also: Figure 8The overall process is executed by the main control unit 800, and includes the following steps: 801: The server determines the types of municipal vehicles surrounding the first vehicle and sends these types to the main control unit 800; 802: User-inputted interaction commands in manual mode; 803: Determining the target scene mode based on the user-inputted interaction commands; 804: Determining the target scene mode based on the received municipal vehicle types in automatic mode; 805: Determining the target device based on the determined target scene mode; 806: Controlling the target device according to the first control strategy indicated by the target scene mode. Specifically, if the current mode is manual, steps 805-806 are executed directly after steps 801-803; if the current mode is automatic, steps 804-806 are executed directly after step 801.

[0206] The following are device embodiments of this application. For details not described in detail in the device embodiments, please refer to the above method embodiments.

[0207] Figure 9 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this disclosure. See also... Figure 9 The vehicle control device 900 includes: a type determination module 901, a mode determination module 902, a first control module 903, a second control module 904, and an instruction receiving module 905.

[0208] The type determination module 901 is used to determine the types of municipal vehicles surrounding the first vehicle. The mode determination module 902 is used to determine a target scene mode based on the types of municipal vehicles, and the target scene mode is used to indicate a first control strategy for the target device in the first vehicle. The first control module 903 is used to control the target device according to the first control strategy indicated by the target scene mode.

[0209] Optionally, the first control strategy includes at least one of the following: controlling the target device to change from a second state to a first state; maintaining the state of the target device unchanged when the target device is in the first state; when the first state is on, the second state is off, and when the first state is off, the second state is on; controlling the target device to change from the second state to the first state when the distance between the municipal vehicle and the first vehicle is less than or equal to a first distance threshold; controlling the portion of the target device corresponding to a first position to change from the second state to the first state, wherein the first position is the position in the first vehicle where the distance between it and the municipal vehicle is less than a third distance threshold.

[0210] Optionally, the device further includes a second control module 904, used to control the target device according to a second control strategy to turn off the target scene mode.

[0211] Optionally, the second control strategy includes any of the following: when the activation duration of the target scene mode reaches a first duration threshold, controlling the target device to change from the first state to the second state; when the distance between the municipal vehicle and the first vehicle is greater than a second distance threshold, controlling the target device to change from the first state to the second state; when the duration during which the municipal vehicle is not detected continuously reaches a second duration threshold, controlling the target device to change from the first state to the second state.

[0212] Optionally, the municipal vehicle is a garbage truck or a vacuum truck, and the target device includes at least one of an air conditioner and a window; or, the municipal vehicle is a high-pressure cleaning truck, a guardrail cleaning truck, a water sprinkler truck, or a road sweeper, and the target device includes at least one of a window, an air purification device, and a windshield wiper; or, the municipal vehicle is a dump truck, and the target device includes at least one of an air purification device and a window.

[0213] Optionally, the device further includes: an instruction receiving module 905, configured to receive control instructions from the target device in the target scene mode; and a first control module 903 configured to control the target device according to the control instructions.

[0214] Optionally, the type determination module 901 includes an image acquisition submodule, a sending submodule, and a receiving submodule. The image acquisition submodule is used to acquire a first image set, which includes at least one image, the image being used to reflect the environment surrounding the first vehicle; the sending submodule is used to send the first image set to the server; the receiving submodule is used to receive the type of the municipal vehicle sent by the server, the type of the municipal vehicle being determined by the server based on the first image set.

[0215] In this embodiment of the disclosure, when there are municipal vehicles around the first vehicle that affect the external environment of the first vehicle, the corresponding target device of the first vehicle is controlled according to the type of municipal vehicle and the corresponding target scenario mode. This can reduce the impact of the external environment of the first vehicle on the internal environment of the first vehicle, keep the internal environment of the first vehicle clean, and thus improve the user's experience and comfort.

[0216] Figure 10 This is a schematic diagram of the structure of a computer device provided in an embodiment of this disclosure. The computer device 1000 includes a processor 1001 and a memory 1002.

[0217] Processor 1001 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1001 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1001 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1001 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1001 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0218] The memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1002 is used to store at least one instruction, which is executed by the processor 1001 to implement the electric vehicle range testing method provided in this disclosure embodiment.

[0219] Those skilled in the art will understand that Figure 10 The structure shown does not constitute a limitation on the computer device 1000, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0220] This disclosure also provides a non-transitory computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of a computer device, the computer device is able to perform the vehicle control method provided in this disclosure.

[0221] This disclosure also provides a computer program product, including a computer program / instructions, which, when executed by a processor, implement the vehicle control method provided in this disclosure.

[0222] The above description is merely an optional embodiment of this disclosure and is not intended to limit this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the protection scope of this disclosure.

Claims

1. A vehicle control method characterized by, The method comprises: determining a type of a municipal vehicle in a first vehicle periphery; determining a target scene mode according to the type of the municipal vehicle, the target scene mode being used to indicate a first control strategy of a target device in the first vehicle; controlling the target device according to the first control strategy indicated by the target scene mode in the target scene mode; the first control strategy comprises at least one of the following: strategy a: controlling the target device to change from a second state to a first state; the first state is used to indicate a target state of a corresponding device when the target scene mode is turned on, and the second state is used to indicate a target state of the corresponding device when the target scene mode is turned off; strategy b: controlling the target device to change from the second state to the first state when the distance between the municipal vehicle and the first vehicle is less than or equal to a first distance threshold; strategy c: controlling a part of the target device corresponding to a first position to change from the second state to the first state, the first position being a position in the first vehicle at which the distance between the first position and the municipal vehicle is less than a third distance threshold, the first position including a main driver position, a co-driver position, and a rear seat position; if the target device has parts corresponding to at least two first positions at the same time, determining whether the main driver position is included in the at least two first positions; if the main driver position is included, controlling the part of the target device corresponding to the main driver position to be in the first state first, and then controlling the parts of the target device corresponding to the other first positions to be in the first state after the part of the target device corresponding to the main driver position is controlled to be in the first state; if the main driver position is not included, simultaneously controlling the parts of the target device corresponding to the at least two first positions to change from the second state to the first state; when the target device is in the first state, keeping the state of the target device unchanged; wherein, when the first state is on, the second state is off; or, when the first state is off, the second state is on; the type of the municipal vehicle is a garbage truck or a sewage suction truck, the corresponding scene mode is a first scene mode, the first scene mode is a passing garbage truck mode or a passing sewage suction truck mode, and the target device includes at least one of an air conditioner and a window; or, the type of the municipal vehicle is a high-pressure washing truck, a guardrail cleaning truck, a water truck, or a road sweeping truck, the corresponding scene mode is a second scene mode, the second scene mode is a passing high-pressure washing truck mode, a passing guardrail cleaning truck mode, a passing water truck mode, or a passing road sweeping truck mode, and the target device includes at least one of a window, an air purification device, and a windshield wiper; or, the type of the municipal vehicle is a muck truck, the corresponding scene mode is a third scene mode, the third scene mode is a passing muck truck mode, and the target device includes at least one of an air purification device and a window.

2. The method of claim 1, wherein, The method further comprises: controlling the target device according to a second control strategy to turn off the target scene mode; wherein the second control strategy comprises any one of the following: Policy d: when the opening duration of the target scene mode reaches a first duration threshold, controlling the target device to change from the first state to the second state; Policy e: when the distance between the municipal vehicle and the first vehicle is greater than a second distance threshold, controlling the target device to change from the first state to the second state; Policy f: when the duration of continuously not detecting the municipal vehicle reaches a second duration threshold, controlling the target device to change from the first state to the second state.

3. The method according to claim 1 or 2, characterized in that, The method further comprises: receiving a control instruction of the target device in the target scene mode; controlling the target device according to the control instruction.

4. The method according to claim 1 or 2, characterized in that, The determination of the type of the municipal vehicle in the first vehicle periphery comprises: obtaining a first image set, the first image set comprising at least one image, the image being used to reflect the environment around the first vehicle; sending the first image set to a server; receiving the type of the municipal vehicle sent by the server, the type of the municipal vehicle being determined by the server according to the first image set.

5. A vehicle control device characterized by comprising: The device comprises: a type determination module for determining the type of the municipal vehicle in the first vehicle periphery; a mode determination module for determining a target scene mode according to the type of the municipal vehicle, the target scene mode being used to indicate a first control strategy of a target device in the first vehicle; a first control module for controlling the target device according to the first control strategy indicated by the target scene mode in the target scene mode; The first control strategy comprises at least one of the following: Policy a: controlling the target device to change from a second state to a first state; the first state is used to indicate the target state of the corresponding device when the target scene mode is opened, and the second state is used to indicate the target state of the corresponding device when the target scene mode is closed; Policy b: when the distance between the municipal vehicle and the first vehicle is less than or equal to a first distance threshold, controlling the target device to change from the second state to the first state; Policy c: controlling the part of the target device corresponding to the first position to change from the second state to the first state, the first position being a position in the first vehicle with a distance less than a third distance threshold from the municipal vehicle, the first position including a main driver position, a co-driver position and a rear seat position; If the target device has parts corresponding to at least two first positions at the same time, it is determined whether the main driver position is included in the at least two first positions; if the main driver position is included, the part of the target device corresponding to the main driver position is controlled to be in the first state first, and then the parts of the target device corresponding to other first positions are controlled to be in the first state after the part of the target device corresponding to the main driver position is controlled to be in the first state; if the main driver position is not included, the parts of the target device corresponding to the at least two first positions are simultaneously controlled to change from the second state to the first state; When the target device is in the first state, the state of the target device is kept unchanged; When the first state is on, the second state is off; or when the first state is off, the second state is on. When the type of the municipal vehicle is a garbage truck or a sewage truck, the corresponding scenario mode is a first scenario mode, the first scenario mode is a passing garbage truck mode or a passing sewage truck mode, and the target device includes at least one of an air conditioner and a window; or When the type of the municipal vehicle is a high-pressure washing truck, a guardrail washing truck, a water truck, or a road sweeping truck, the corresponding scenario mode is a second scenario mode, the second scenario mode is a passing high-pressure washing truck mode, a passing guardrail washing truck mode, a passing water truck mode, or a passing road sweeping truck mode, and the target device includes at least one of a window, an air purification device, and a windscreen wiper; or When the type of the municipal vehicle is a muck truck, the corresponding scenario mode is a third scenario mode, the third scenario mode is a passing muck truck mode, and the target device includes at least one of an air purification device and a window.

6. A computer device, comprising: The computer device includes a memory and a processor, the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the method of any one of claims 1 to 4.

7. A computer readable storage medium characterized in that, The computer readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the method of any one of claims 1 to 4.

8. A computer program product comprising computer programs / instructions, characterized in that, The computer program / instruction is executed by the processor to implement the method of any one of claims 1 to 4.

Citation Information

Patent Citations

  • Vehicle-mounted air conditioner control method, vehicle-mounted air conditioner control system and device

    CN111152623A

  • Vehicle control method and device, storage medium and electronic equipment

    CN112277948A