CN-122028261-A - Method and device for controlling vehicle, vehicle and storage medium
Abstract
The embodiment of the application provides a method and device for controlling a vehicle, the vehicle and a storage medium. The vehicle comprises a light module, and the method comprises the steps of detecting whether a target pedestrian exists or not under the condition that the vehicle is in a parking state, wherein the target pedestrian refers to a pedestrian which stays in a designated space surrounding the vehicle and is longer than a preset duration, acquiring a designated identifier of a driver of the vehicle under the condition that the existence of the target pedestrian is detected, and displaying the designated identifier of the driver through the light module. According to the technical scheme provided by the embodiment of the application, on one hand, the light module is a fixed component part in the vehicle, so that whether the specified mark of the driver is less influenced by the running of the vehicle or not can be displayed, the reliability is improved, and on the other hand, the light module can realize different light effects, and under the condition that the relatives and friends of the driver temporarily borrow the vehicle, the light module can display the specified mark of the temporary driver, so that the use of the user is convenient.
Inventors
- YANG XIUFENG
- SUN XINYU
- JI ZHIHONG
- Zhan Denghui
- WU HUIYAN
- DU QIRONG
Assignees
- 广州汽车集团股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260311
Claims (10)
- 1. A method of controlling a vehicle, the vehicle including a light module, the method comprising: Detecting whether a target pedestrian exists or not under the condition that the vehicle is in a parking state, wherein the target pedestrian is a pedestrian which is longer than a preset time period when staying in a designated space surrounding the vehicle; acquiring a specified identification of a driver of the vehicle when the existence of the target pedestrian is detected; and displaying the appointed mark of the driver through the light module.
- 2. The method of claim 1, wherein the light module comprises an array of light emitting units, the driver's designation comprises the driver contact, and the displaying the driver's designation by the light module comprises: determining a target state of each light-emitting unit in the light-emitting unit array based on the contact manner of the driver, wherein the target state comprises a light-emitting state or a light-off state; and controlling each light-emitting unit to work according to the corresponding target state so as to form a light effect for displaying the contact mode of the driver.
- 3. The method of claim 1, further comprising, prior to said detecting whether the target pedestrian is present: If the vehicle is in a parking state, sending inquiry information if the vehicle is monitored to be in a specified parking scene, wherein the inquiry information is used for inquiring whether a target function is started or not; And starting the target function after acquiring the confirmation indication corresponding to the inquiry information.
- 4. A method according to claim 3, further comprising, prior to said issuing the query: Acquiring the environment information of the vehicle, detecting abnormal parking based on the environment information of the vehicle, and determining an abnormal parking scene when an abnormal parking factor is detected, wherein the abnormal parking factor comprises at least one of abnormal parking space lines and abnormal parking positions, or/and, And under the condition that the temporary parking signal of the vehicle is acquired, determining that the vehicle is in the temporary parking scene.
- 5. A method according to claim 3, further comprising, after said turning on said target function: displaying a first control, after acquiring a trigger signal corresponding to the first control, sending a specified identifier acquisition instruction to a driver terminal, acquiring a specified identifier of the driver returned by the driver terminal based on the specified identifier acquisition instruction, or And displaying a second control, and acquiring the specified identification of the driver input by the second control.
- 6. The method according to any one of claims 1 to 5, further comprising, after said displaying the specified identification of the driver by the light module: And stopping displaying the specified mark of the driver through the light module when the display time is longer than the preset time, or/and, And stopping displaying the specified identification of the driver through the light module under the condition that the target pedestrian is detected to leave the specified space.
- 7. An apparatus for controlling a vehicle, the vehicle including a light module, the apparatus comprising: The pedestrian detection module is used for detecting whether a target pedestrian exists or not under the condition that the vehicle is in a parking state, wherein the target pedestrian is a pedestrian which stays in a designated space surrounding the vehicle and is longer than a preset duration; A specified identification acquisition module for acquiring a specified identification of a driver of the vehicle in the case where the presence of the target pedestrian is detected; And the light control module is used for displaying the appointed mark of the driver through the light module.
- 8. An electronic device comprising a processor and a memory, wherein, The memory is used for storing a computer program; the processor being adapted to execute the computer program stored on the memory for implementing the method of any one of claims 1-6.
- 9. A vehicle according to claim 8, comprising an electronic device.
- 10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, implements the method of any of claims 1-6.
Description
Method and device for controlling vehicle, vehicle and storage medium Technical Field The embodiment of the application relates to the technical field of vehicle electronics, in particular to a method and device for controlling a vehicle, the vehicle and a storage medium. Background When a vehicle is temporarily parked on complex road conditions (e.g., without a suitable parking space or while meeting others is hindered), a number plate needs to be placed so that other users contact the driver to move the vehicle. In the related art, a driver usually places a number plate with a mobile phone number below a front windshield in a vehicle. However, during the running process (such as turning, ascending slope, etc.), the number plate may have accidents such as slipping and turning over, and if the driver does not deal with the situation in time, the mobile phone number of the driver cannot be displayed to other people, which brings inconvenience to the user. Disclosure of Invention The embodiment of the application provides a method and a device for controlling a vehicle, the vehicle and a storage medium, and aims to improve the inconvenience caused by the fact that a number plate cannot show a mobile phone number of a driver when the number plate slides down or turns over in the running process of the vehicle in the related technology. In a first aspect, the method for controlling a vehicle includes a light module, and the method includes detecting whether a target pedestrian is present when the vehicle is in a parking state, wherein the target pedestrian is a pedestrian which stays in a specified space surrounding the vehicle and is longer than a preset duration, acquiring a specified identifier of a driver of the vehicle when the target pedestrian is detected to be present, and displaying the specified identifier of the driver through the light module. Compared with the technical scheme that a number plate with a mobile phone number is placed under a front windshield in a vehicle in the related art, when a target pedestrian with long residence time is detected in a specified space, the specified identification of the driver is obtained and displayed through the light module, on one hand, because the light module is a fixed component in the vehicle, whether the specified identification of the driver is less influenced by the running of the vehicle or not can be displayed, the reliability is improved, on the other hand, the light module can realize different light effects, and on the other hand, the light module can display the specified identification of the temporary driver under the condition that the relatives and friends of the driver temporarily borrow the vehicle, so that the use of the user is convenient. The light module comprises a light-emitting unit array, wherein the specified identification of the driver comprises a contact mode of the driver, the specified identification of the driver is displayed through the light module, the light module comprises a target state of each light-emitting unit in the light-emitting unit array based on the contact mode of the driver, the target state comprises a light-emitting state or a light-off state, and each light-emitting unit is controlled to work according to the corresponding target state to form a light effect for displaying the contact mode of the driver. The method comprises the steps of determining the target state of each light emitting unit in the light emitting unit array based on the contact mode of the driver, and then controlling each light emitting unit in the light emitting unit array in the light module to work according to the corresponding target state, wherein the light emitting units in the light emitting state are combined into the light effect of the contact mode of the driver, so that the contact mode of the driver is accurately displayed. The method comprises the steps of sending out inquiry information when a vehicle is in a parking state and inquiring whether a target function is started or not if the vehicle is in a specified parking scene, wherein the specified parking scene comprises a temporary parking scene and/or an abnormal parking scene, the target function is a function of controlling a light module to display a specified mark of a driver, and the target function is started after a confirmation instruction corresponding to the inquiry information is acquired. Under the appointed parking scene, other pedestrians are likely to have the requirement of contacting the driver to move the vehicle, the driver can be inquired whether to start the function of displaying the appointed identification of the driver through the light module, the vehicle can start the function according to the requirement, the condition that the vehicle needs to supply power to the light module is avoided, and the energy of the vehicle is saved. The method comprises the steps of acquiring environment information of a vehicle, detecting abnormal parking bas