Vehicle control method and device, electronic equipment and storage medium
By detecting the vehicle entering the automatic car wash point and obtaining the image ahead, combined with vehicle gear switching, the vehicle is automatically controlled to switch to the car wash mode, which solves the problem of cumbersome operation of turning on the car wash mode in the prior art and improves the user experience.
Patent Information
- Application Number
- CN202311224453.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-21
- Publication Date
- 2025-03-21
AI Technical Summary
In the prior art, the operation of turning on the car wash mode is cumbersome and the user experience is poor.
By detecting that the vehicle enters the corresponding position of the automatic car wash point, the image ahead of the vehicle is obtained, and based on the image, it is determined that the front of the vehicle is the entrance of the automatic car wash room. When the vehicle gear is switched to parking gear or neutral gear, the vehicle is controlled to switch to car wash mode.
The driver does not need to manually look for the turn-on button, which simplifies the operation process of entering the car wash mode and improves the user experience.
Smart Images

Figure CN119659536A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a vehicle control method, device, electronic equipment and storage medium. Background Art
[0002] An automatic car wash is a fast car wash site. The vehicle is washed by entering the car wash device through a tunnel. During the vehicle washing process, the roller brush in the car wash will come into contact with the vehicle. Therefore, before the vehicle enters the car wash, the driver needs to perform a series of operations on the vehicle equipment or components, such as pulling or releasing the handbrake, shifting to P gear or N gear, closing the doors, windows, wipers, folding the rearview mirrors, etc., before the automatic car wash can be started safely. These operations need to be completed manually by the driver, and the steps are cumbersome and easy to miss. Most vehicles are equipped with a car wash mode. The driver can enter the car wash mode with one click by clicking the corresponding switch button, so that the vehicle's doors, windows, wipers, radars are in a closed state, and the rearview mirrors are in a folded state. However, since this function is not often used, the switch setting level is often too deep, and the user needs to click multiple times on the control platform to find the button to turn on the car wash mode, which has a poor user experience. Summary of the invention
[0003] The embodiments of the present application provide a vehicle control method, device, electronic device and storage medium to solve the problem of complicated operation of starting a car wash mode in the prior art.
[0004] In a first aspect, an embodiment of the present application provides a vehicle control method, the method comprising:
[0005] When it is detected that the current position of the vehicle is located in a target area corresponding to a target position, acquiring a front image of the vehicle, wherein the target position is a position of an automatic car wash point;
[0006] When it is determined according to the front image that the front of the vehicle is an entrance to an automatic car wash room, and when it is detected that the gear position of the vehicle is switched to a parking gear or a neutral gear, the vehicle is controlled to switch to a car wash mode.
[0007] In a second aspect, an embodiment of the present application further provides a vehicle control device, the device comprising:
[0008] The first acquisition module is used to acquire the front image of the vehicle when it is detected that the current position of the vehicle is located in the target area corresponding to the target position, wherein the target position is the position of the automatic car wash point
[0009] The first control module is used to control the vehicle to switch to a car wash mode when it is determined that the front of the vehicle is an entrance to an automatic car wash room according to the front image and when it is detected that the gear position of the vehicle is switched to a parking gear or a neutral gear.
[0010] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the above-mentioned vehicle control method when executed by the processor.
[0011] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned vehicle control method is implemented.
[0012] The embodiments of the present application include at least the following technical effects:
[0013] The technical solution of the embodiment of the present application obtains a front image corresponding to the road environment in front of the vehicle when it is detected that the vehicle enters a target area at a position corresponding to an automatic car wash point. When it is determined based on the front image that the front of the vehicle is the entrance to an automatic car wash and the gear of the vehicle is switched to parking or neutral, the vehicle is controlled to switch to car wash mode. Whether to control the vehicle to enter car wash mode can be determined based on the position and environment of the vehicle and the gear of the vehicle, thereby eliminating the need for the driver to search for the start button corresponding to the car wash mode before the vehicle enters the automatic car wash, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0015] Figure 1 It is one of the flowcharts of the vehicle control method provided in the embodiment of the present application;
[0016] Figure 2 This is the second flow chart of the vehicle control method provided in the embodiment of the present application;
[0017] Figure 3 is a schematic diagram of the structure of a vehicle control device provided in an embodiment of the present application;
[0018] Figure 4 A block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0020] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0021] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0022] like Figure 1 As shown, an embodiment of the present application provides a vehicle control method, the method comprising:
[0023] Step 101, when it is detected that the current position of the vehicle is located in a target area corresponding to a target position, a front image of the vehicle is acquired, wherein the target position is the position of an automatic car wash point.
[0024] When it is detected that the current position of the vehicle is located in the target area corresponding to the target position, a front image of the vehicle is acquired, wherein the target position is a position corresponding to the automatic car wash point.
[0025] The vehicle control method provided in the embodiment of the present application is applied to the car wash mode controller included in the vehicle control system. After the vehicle is started, the car wash mode controller is activated. The car wash mode controller can obtain the current position of the vehicle in real time. Based on the current position, combined with the navigation map, it can be determined whether the vehicle has entered the target position, that is, the target area corresponding to the position of the automatic car wash point. The target area here can be an area less than the first preset distance from the target position, that is, the position of the automatic car wash point. For example, the first preset distance can be set to any value within 500m to 1km, indicating that the vehicle has reached the vicinity of the automatic car wash point. At this time, in order to further determine whether the driver has the intention to perform an automatic car wash, it is necessary to obtain the front image corresponding to the road environment in front of the vehicle through the image acquisition device installed on the vehicle, wherein the shooting angle corresponding to the image acquisition device corresponds to the front of the vehicle. Optionally, the image acquisition device can be a vehicle-mounted driving recorder (Digital Video Recorder, DVR), so there is no need to set up a separate device for acquiring the front image, and the front image of the vehicle can be directly acquired from the DVR, which can save costs.
[0026] Step 102, when it is determined according to the front image that the front of the vehicle is the entrance of an automatic car wash room, and when it is detected that the gear position of the vehicle is switched to the parking gear or the neutral gear, the vehicle is controlled to switch to the car wash mode.
[0027] After acquiring the front image corresponding to the road environment in front of the vehicle, the front image can be used to determine whether the front of the vehicle is the entrance to the automatic car wash. When it is determined that the front of the vehicle is the entrance to the automatic car wash, it indicates that the driver has driven the vehicle to the entrance position of the automatic car wash. At this time, if the entry method of the automatic car wash is a guide rail type, the driver needs to drive the vehicle so that the wheels are stuck in the guide rails, and then release the handbrake and set the gear of the vehicle to neutral, so that the vehicle is guided by the guide rail to move into the automatic car wash. If the entry method of the automatic car wash is a reciprocating movement type, the driver needs to drive the vehicle to park in the designated area of the mobile device, pull up the handbrake, and set the gear of the vehicle to neutral or parking gear, so that the mobile device drives the vehicle to move into the automatic car wash. Therefore, when it is detected that the gear position of the vehicle is switched to the parking gear or the neutral gear, it indicates that the driver has parked the vehicle at the designated position of the entrance of the automatic car wash room, and the vehicle will be driven by the guide rails or moving devices at the designated position to enter the automatic car wash room for cleaning. Therefore, when it is determined that the front of the vehicle is the entrance to the automatic car wash room according to the front image and it is detected that the gear position of the vehicle is switched to the parking gear or the neutral gear, the vehicle can be controlled to switch to the car wash mode, so that the vehicle entering the automatic car wash room is in the car wash mode.
[0028] Specifically, the car wash mode is a functional mode pre-configured for the vehicle. In the car wash mode, at least the vehicle's wipers, doors, windows, and radar are in a closed state, and the rearview mirror is in a folded state. In other words, the operation of controlling the vehicle to switch to the car wash mode actually controls the target components, where the target components include but are not limited to wipers, doors, windows, radars, and rearview mirrors. For different models of vehicles, considering their different hardware structures, the corresponding target components may be different, and the specific needs need to be set according to the specific situation of the vehicle, and this application does not make specific limitations.
[0029] In the embodiment of the present application, when it is detected that a vehicle has entered a target area at a position corresponding to an automatic car wash point, a front image corresponding to the road environment in front of the vehicle is acquired, and when it is determined based on the front image that the front of the vehicle is the entrance to an automatic car wash and the gear of the vehicle is switched to parking or neutral, the vehicle is controlled to switch to a car wash mode. Whether to control the vehicle to enter the car wash mode can be determined based on the position and environment of the vehicle and the gear of the vehicle, thereby eliminating the need for the driver to search for the start button corresponding to the car wash mode before the vehicle enters the automatic car wash, thereby improving the user experience.
[0030] In an optional embodiment of the present application, when it is detected that the current position of the vehicle is located in the target area corresponding to the target position, before acquiring the front image of the vehicle, the method further includes:
[0031] Obtaining the current position of the vehicle;
[0032] Obtain the location of each automatic car wash point within a preset range corresponding to the current location;
[0033] A target position set is determined according to the position of each automatic car wash point, wherein each target position in the target position set corresponds to an automatic car wash point.
[0034] The car wash mode controller can obtain the current position of the vehicle and determine the position of each automatic car wash point within a preset range corresponding to the current position based on the current position, and then determine a target position set, wherein each target position in the target position set corresponds to an automatic car wash point. In other words, the target position set changes with the movement of the vehicle.
[0035] It should be noted that the above-mentioned preset range can be an area range that is no more than a second preset distance from the current position of the vehicle. For example, the second preset distance can be set to any value between 20km and 50km. When the current position is determined, the larger the first preset distance, the larger the preset range, and the more target positions there are in the target position set. Optionally, the above-mentioned preset range can also be a designated area corresponding to the current position of the vehicle, then the target position set includes each self-service car wash point included in the designated area, and when the vehicle moves from the current designated area to another designated area, the corresponding target position set is each self-service car wash point included in the other designated area.
[0036] The above-mentioned implementation scheme of the present application determines a target position set including multiple target positions through the current position of the vehicle, so as to facilitate the determination of whether the vehicle has entered the vicinity of the self-service car wash point. At the same time, since the target position set is determined based on the current position of the vehicle, when determining whether the vehicle has entered the vicinity of the self-service car wash point, it is only necessary to determine the distance between the current position and the target position included in the target position set, so that it can be quickly determined whether the vehicle has entered the vicinity of the self-service car wash point.
[0037] In an optional embodiment of the present application, determining whether the front of the vehicle is an entrance to an automatic car wash room according to the front image includes:
[0038] Inputting the front image into a pre-trained car wash entrance recognition model to obtain a recognition result indicating whether the image content of the front image is an automatic car wash entrance;
[0039] According to the recognition result, it is determined whether the front of the vehicle is an entrance to an automatic car wash room.
[0040] Specifically, when determining whether the front of the vehicle is the entrance to a self-service car wash, a front image corresponding to the road environment in front of the vehicle can be obtained, and then the front image can be input into a pre-trained car wash entrance recognition model to obtain a recognition result indicating whether the image content corresponding to the front image is the entrance to an automatic car wash, and then based on the recognition result, it is determined whether the front of the vehicle is the entrance to an automatic car wash. The car wash entrance recognition model here is a training model of a classification algorithm, and by training the model, it can be identified whether the input image includes an automatic car wash entrance.
[0041] The above implementation scheme of the present application can identify whether the front image includes an automatic car wash entrance through a pre-trained car wash entrance recognition model, so as to preliminarily determine whether the driver intends to perform a self-service car wash.
[0042] In an optional embodiment of the present application, before controlling the vehicle to switch to the car wash mode, the method further includes:
[0043] Acquire setting information corresponding to the car wash mode, where the setting information is used to indicate whether the car wash mode is allowed to be automatically turned on;
[0044] Controlling the vehicle to switch to a car wash mode includes:
[0045] When the setting information allows automatic start, controlling the vehicle to switch to the car wash mode;
[0046] When the setting information indicates that automatic opening is not allowed, a prompt message is sent, and when a confirmation opening instruction based on the prompt message feedback is received from the user, the vehicle is controlled to switch to the car wash mode.
[0047] Specifically, for the car wash mode function configured for the vehicle, the user can set it to allow automatic start or not according to the needs, and the setting can be determined by obtaining the setting information corresponding to the car wash mode. The operations performed by the car wash mode controller are different for different setting information, which will be introduced below.
[0048] 1. When the setting information is to allow automatic start, the car wash mode controller can directly switch the vehicle to the car wash mode when it determines that the vehicle has been parked at the entrance of the automatic car wash room and the vehicle has been switched to the parking gear.
[0049] 2. When the setting information is that automatic opening is not allowed, the car wash mode controller cannot directly switch the vehicle to the car wash mode when it determines that the vehicle has been parked at the entrance of the automatic car wash room and the vehicle is switched to the parking gear, but needs to send a prompt information. Specifically, the prompt information can be displayed on the central control display interface in the form of a pop-up window. The pop-up window content can be: whether to turn on the car wash mode, and provide two option boxes of "yes" and "no" for the user to choose. When the user clicks "yes", the car wash mode controller receives the user's confirmation opening instruction based on the prompt information feedback, and controls the vehicle to switch to the car wash mode based on the confirmation opening instruction. When the user clicks "no", the car wash mode controller receives the user's confirmation not to open instruction based on the prompt information feedback, and maintains the current state without switching to the car wash mode.
[0050] It should be noted that whether the above-mentioned car wash mode function is allowed to be automatically turned on is set by the user according to his own needs, taking into account the differences in vehicle usage scenarios, in order to avoid false triggering in some special situations. For example, the vehicle enters the vicinity of a self-service car wash point and stops at a position similar to the entrance of a car wash room but not the entrance of a car wash room and switches to the parking gear. At this time, the recognition result of the car wash mode controller is to turn on the car wash mode. The setting of this option requires the car wash mode controller to send a prompt message before switching the car wash mode to confirm with the driver, so as to avoid false triggering and switch the vehicle directly to the car wash mode.
[0051] The above-mentioned implementation scheme of the present application obtains setting information for indicating whether the car wash mode is allowed to be automatically turned on before controlling the vehicle to switch to the car wash mode, and determines whether to send a prompt message to the user based on the setting information, thereby avoiding false triggering and directly entering the car wash mode. At the same time, if the user instructs to turn on the car wash mode, the user's operation content is simpler than finding the corresponding turn-on button for the car wash mode, which can improve the user experience.
[0052] In an optional embodiment of the present application, after controlling the vehicle to switch to the car wash mode, the method further includes:
[0053] detecting the gear position of the vehicle;
[0054] When exiting the parking gear or the neutral gear is detected, the vehicle is controlled to exit the car wash mode.
[0055] Specifically, after the vehicle is controlled to switch to the car wash mode, the vehicle is sent to the car wash room for washing, and after the washing is completed, it is sent out. At this time, the driver can drive the vehicle out of the self-service car wash room. Therefore, after the vehicle is switched to the car wash mode, the car wash mode controller needs to detect the gear position of the vehicle, so that when it detects that the parking gear or neutral gear is exited, the vehicle can be controlled to exit the car wash mode in time. Optionally, exiting the car wash mode here is to restore the relevant components to the state before entering the car wash mode, specifically including switching the rearview mirror from the folded state to the open state, turning on the radar, restoring the window to the state before entering the car wash mode, and keeping the wipers in the closed state.
[0056] The above-mentioned implementation scheme of the present application detects the gear position after switching to the car wash mode, so that when the vehicle exits the parking gear or neutral gear, it can be determined that the vehicle has completed the self-service car wash operation, and the vehicle can be controlled to exit the car wash mode, thereby eliminating the need for the user to perform corresponding adjustment operations independently, thereby improving the user experience.
[0057] In an optional embodiment of the present application, acquiring the front image of the vehicle includes:
[0058] Collecting the front video corresponding to the road environment in front of the vehicle in real time;
[0059] According to a preset frame extraction frequency, the front video is subjected to image extraction, and each extracted image is determined as the front image.
[0060] Specifically, when obtaining a front image corresponding to the road environment ahead of the vehicle, the front video corresponding to the road environment ahead of the vehicle can be collected in real time through an image acquisition device, and then the front video is extracted according to a preset frame extraction frequency, and each extracted image is determined as a front image, thereby eliminating the need to identify each frame of the front video. The image acquisition device can be a vehicle-mounted driving recorder (Digital Video Recorder, DVR), thereby eliminating the need to set up a separate device for collecting front images, and the front video can be obtained directly from the DVR, which can save costs.
[0061] In the above implementation scheme of the present application, when acquiring the front image, image extraction can be performed on the collected front video based on a preset frame extraction frequency, so that subsequent recognition operations do not need to be performed on each frame of the image, but only the extracted front image is processed, thereby improving the processing efficiency of the car wash mode controller.
[0062] In an optional embodiment of the present application, the training process of the car wash entrance recognition model includes:
[0063] Acquire a sample image set, wherein the sample images include a training image set and a test image set;
[0064] The preset basic model is trained using the training image set, wherein the input of the basic model is a training sample image, and the output is whether the image content corresponding to the training sample image is an automatic car wash room entrance;
[0065] The training process of the basic model is evaluated using the test image set to obtain the car wash entrance recognition model that passes the evaluation.
[0066] Specifically, before the front image is input into the pre-trained car wash entrance recognition model, it is necessary to obtain the car wash entrance recognition model through model training and store the car wash entrance recognition model, so that when the front image is acquired, the car wash entrance recognition model can be used to identify whether the image content corresponding to the front image is an automatic car wash entrance.
[0067] Among them, first of all, it is necessary to obtain a sample image set, wherein the image content corresponding to the sample image in the sample image set includes the entrance of the car wash room and other entrances, and divide it into a training image set and a test image set according to a certain ratio, and then perform feature extraction on the training image set to extract useful features, such as color, texture, shape, etc. The purpose of feature extraction is to convert the original data into a form that can be processed by the machine learning algorithm. After feature extraction, a basic model is selected and the basic model is trained. The basic model here refers to a model with classification function that has not been trained. The input of the basic model is the training sample set, and the output is whether the image content corresponding to the training sample image is the recognition result of the automatic car wash room entrance. Finally, the training process of the basic model is evaluated using the test image set. If the accuracy of the recognition result of the model is not good, the model is optimized by adjusting the parameters of the model until a model that passes the evaluation is obtained and is determined as the car wash room entrance recognition model.
[0068] The above implementation scheme of the present application obtains a car wash entrance recognition model through model training, so that the model can be used to identify whether the image content of the front image is the car wash entrance, and then determine whether the car wash mode needs to be turned on. The vehicle can be automatically controlled to enter the car wash mode without user operation, thereby improving the intelligence of the vehicle.
[0069] The overall implementation process of the embodiment of the present application is introduced below. Figure 2 As shown, including:
[0070] Step 201, obtaining the vehicle position in real time through the navigation module.
[0071] Step 202, determine whether the vehicle is located in the target area corresponding to the automatic car wash room through the navigation module. If yes, execute step 203, otherwise end.
[0072] Step 203, real-time shooting is performed through a DVR to obtain a front image.
[0073] Step 204: input the front image into an algorithm model. The algorithm model is an automatic car wash entrance recognition model.
[0074] Step 205, determine whether the front of the vehicle is the entrance of the automatic car wash room through the algorithm model. If so, execute step 206, otherwise end.
[0075] Step 206, determine whether the vehicle is in P gear or N gear. If yes, execute step 207, otherwise end.
[0076] Step 207, start the car wash mode of the vehicle.
[0077] The above implementation scheme, when detecting that the vehicle enters the target area at the position corresponding to the automatic car wash point, obtains a front image corresponding to the road environment in front of the vehicle, and when it is determined according to the front image that the front of the vehicle is the entrance to the automatic car wash and the vehicle gear is switched to the parking gear or neutral gear, controls the vehicle to switch to the car wash mode, and can determine whether to control the vehicle to enter the car wash mode according to the vehicle's position and environment and the vehicle's gear position, thereby eliminating the need for the driver to search for the start button corresponding to the car wash mode before the vehicle enters the automatic car wash, thereby improving the user experience.
[0078] The vehicle control method provided in the embodiment of the present application is introduced above. The vehicle control device provided in the embodiment of the present application will be introduced below in conjunction with the accompanying drawings.
[0079] like Figure 3 As shown, an embodiment of the present invention further provides a vehicle control device, the device comprising:
[0080] The first acquisition module 301 is used to acquire the front image of the vehicle when it is detected that the current position of the vehicle is located in the target area corresponding to the target position, wherein the target position is the position of the automatic car wash point
[0081] The first control module 302 is used to control the vehicle to switch to a car wash mode when it is determined that the front of the vehicle is an entrance to an automatic car wash room according to the front image and when it is detected that the gear position of the vehicle is switched to a parking gear or a neutral gear.
[0082] Optionally, the device further comprises:
[0083] A second acquisition module is used to acquire the current position of the vehicle;
[0084] A third acquisition module is used to acquire the position of each automatic car washing point within a preset range corresponding to the current position;
[0085] The first determination module is used to determine a target position set according to the position of each automatic car wash point, wherein each target position in the target position set corresponds to an automatic car wash point.
[0086] Optionally, the device further comprises:
[0087] A second determination module is used to determine whether the front of the vehicle is an entrance to an automatic car wash room according to the front image;
[0088] The second determination module specifically includes:
[0089] A processing submodule, configured to input the front image into a pre-trained car wash entrance recognition model to obtain a recognition result indicating whether the image content corresponding to the front image is an automatic car wash entrance;
[0090] The first determination submodule is used to determine whether the front of the vehicle is an entrance to an automatic car wash room according to the recognition result.
[0091] Optionally, the device further comprises:
[0092] A fourth acquisition module, used to acquire setting information corresponding to the car wash mode, wherein the setting information is used to indicate whether the car wash mode is allowed to be automatically turned on;
[0093] The first control module specifically includes:
[0094] A first control submodule, configured to control the vehicle to switch to the car wash mode when the setting information allows automatic start;
[0095] The second control submodule is used to send a prompt message when the setting information does not allow automatic start, and control the vehicle to switch to the car wash mode when receiving a confirmation start instruction from the user based on the prompt message feedback.
[0096] Optionally, the device further comprises:
[0097] A detection module, used to detect the gear position of the vehicle;
[0098] The second control module is used to control the vehicle to exit the car wash mode when exiting the parking gear or the neutral gear is detected.
[0099] Optionally, the first acquisition module includes:
[0100] A collection submodule, used for collecting the front video corresponding to the road environment in front of the vehicle in real time;
[0101] The determination submodule is used to extract images from the front video according to a preset frame extraction frequency, and determine each extracted image as the front image.
[0102] Optionally, the device further comprises:
[0103] A fifth acquisition module, used to acquire a sample image set, wherein the sample images include a training image set and a test image set;
[0104] A training module, used to train a preset basic model using the training image set, wherein the input of the basic model is a training sample image, and the output is whether the image content corresponding to the training sample image is an automatic car wash entrance;
[0105] An evaluation module is used to evaluate the training process of the basic model using the test image set to obtain the car wash entrance recognition model that passes the evaluation.
[0106] The vehicle control device provided by the present application obtains a front image corresponding to the road environment in front of the vehicle when it detects that the vehicle has entered a target area at a position corresponding to an automatic car wash point. When it is determined based on the front image that the front of the vehicle is the entrance to an automatic car wash and the vehicle gear is switched to parking or neutral, the vehicle is controlled to switch to a car wash mode. Whether to control the vehicle to enter the car wash mode can be determined based on the vehicle's position and environment as well as the vehicle's gear position, thereby eliminating the need for the driver to search for the start button corresponding to the car wash mode before the vehicle enters the automatic car wash, thereby improving the user experience.
[0107] An embodiment of the present application also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned vehicle control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0108] For example, Figure 4 A schematic diagram of the physical structure of an electronic device is shown.
[0109] like Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430, and the processor 410 is used to perform the following steps: when it is detected that the current position of the vehicle is located in the target area corresponding to the target position, the front image of the vehicle is acquired, wherein the target position is the position of the automatic car wash point; when it is determined according to the front image that the front of the vehicle is the entrance of the automatic car wash room, and when it is detected that the gear position of the vehicle is switched to the parking gear or the neutral gear, the vehicle is controlled to switch to the car wash mode.
[0110] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0111] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned vehicle control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0112] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0113] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0114] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
[0115] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0116] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0117] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0118] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0119] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0120] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0121] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A vehicle control method, characterized in that: The method comprises: When it is detected that the current position of the vehicle is located in a target area corresponding to a target position, acquiring a front image of the vehicle, wherein the target position is a position of an automatic car wash point; When it is determined according to the front image that the front of the vehicle is an entrance to an automatic car wash room, and when it is detected that the gear position of the vehicle is switched to a parking gear or a neutral gear, the vehicle is controlled to switch to a car wash mode.
2. The vehicle control method according to claim 1, characterized in that: When it is detected that the current position of the vehicle is located in the target area corresponding to the target position, before acquiring the front image of the vehicle, the method further includes: Obtaining the current position of the vehicle; Obtain the location of each automatic car wash point within a preset range corresponding to the current location; A target position set is determined according to the position of each automatic car wash point, wherein each target position in the target position set corresponds to an automatic car wash point.
3. The vehicle control method according to claim 1, characterized in that: Determining whether the front of the vehicle is an entrance to an automatic car wash room according to the front image includes: Inputting the front image into a pre-trained car wash entrance recognition model to obtain a recognition result indicating whether the image content of the front image is an automatic car wash entrance; According to the recognition result, it is determined whether the front of the vehicle is an entrance to an automatic car wash room.
4. The vehicle control method according to claim 1, characterized in that: Before controlling the vehicle to switch to the car wash mode, the method further includes: Acquire setting information corresponding to the car wash mode, where the setting information is used to indicate whether the car wash mode is allowed to be automatically turned on; Controlling the vehicle to switch to a car wash mode includes: When the setting information allows automatic start, controlling the vehicle to switch to the car wash mode; When the setting information indicates that automatic opening is not allowed, a prompt message is sent, and when a confirmation opening instruction based on the prompt message feedback is received from the user, the vehicle is controlled to switch to the car wash mode.
5. The vehicle control method according to claim 1, characterized in that: After controlling the vehicle to switch to the car wash mode, the method further includes: detecting the gear position of the vehicle; When exiting the parking gear or the neutral gear is detected, the vehicle is controlled to exit the car wash mode.
6. The vehicle control method according to claim 1, characterized in that: Acquiring a front image of the vehicle, comprising: Collecting the front video corresponding to the road environment in front of the vehicle in real time; According to a preset frame extraction frequency, the front video is subjected to image extraction, and each extracted image is determined as the front image.
7. The vehicle control method according to claim 3, characterized in that: The training process of the car wash entrance recognition model includes: Acquire a sample image set, wherein the sample images include a training image set and a test image set; The preset basic model is trained using the training image set, wherein the input of the basic model is a training sample image, and the output is whether the image content corresponding to the training sample image is an automatic car wash room entrance; The training process of the basic model is evaluated using the test image set to obtain the car wash entrance recognition model that passes the evaluation.
8. A vehicle control device, characterized in that: include: The first acquisition module is used to acquire the front image of the vehicle when it is detected that the current position of the vehicle is located in the target area corresponding to the target position, wherein the target position is the position of the automatic car wash point The first control module is used to control the vehicle to switch to a car wash mode when it is determined that the front of the vehicle is an entrance to an automatic car wash room according to the front image and when it is detected that the gear position of the vehicle is switched to a parking gear or a neutral gear.
9. An electronic device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the computer program implements the vehicle control method according to any one of claims 1 to 7 when executed by the processor.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle control method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Vehicle washing method on basis of automatic parking and vehicular terminal
CN109649383A
Car washing control method, device and equipment and storage medium
CN112995308A
Vehicle control method, device and system and computer storage medium
CN115339401A
Vehicle, vehicle control method, and storage medium
CN115402232A
Vehicle control method, vehicle control device, vehicle and storage medium
CN115891831A