Vehicle control method and device, electronic device, vehicle and storage medium
By installing sensors in the vehicle to obtain the relative distance of the warning signs and feedback the prompt information to the user, the problem of difficulty for users to place the warning signs correctly is solved, and the accuracy of the warning signs and user experience are improved.
Patent Information
- Application Number
- CN202411090634.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2025-04-18
AI Technical Summary
When the vehicle cannot move due to accidents, the user needs to place a warning sign to warn the vehicle behind, but due to the reliance on subjective experience, the placement of the warning signs is often inappropriate, making it difficult to effectively warn the vehicle behind.
By installing sensors (such as switch sensors, cameras and radars) in the vehicle, when the warning sign is in the withdrawal state, the relative distance is obtained and the prompt information is feedback to the target object based on the relative distance to guide the user to correctly place the warning sign.
Through the prompt information of vehicle feedback, users can know the placement of warning signs, avoid relying on subjective experience, reduce the difficulty of correctly placed, and improve the user's vehicle driving experience.
Smart Images

Figure CN119840513A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle control method, a control device, an electronic device, a vehicle, and a computer-readable storage medium. Background Art
[0002] According to relevant regulations, when a vehicle cannot move due to an accident, the user needs to place a warning sign such as a tripod behind the vehicle to warn the vehicles behind. However, when placing the warning sign, the user may do so based on subjective experience, resulting in an inappropriate placement of the warning sign, which is difficult to warn the vehicles behind. Summary of the invention
[0003] The present application provides a vehicle control method, a control device, an electronic device, a vehicle, and a computer-readable storage medium.
[0004] The present application provides a vehicle control method, including:
[0005] When the warning sign is in a removed state, acquiring a relative distance, wherein the relative distance is used to indicate a distance of the vehicle relative to the warning sign behind the vehicle;
[0006] According to the relative distance, the vehicle is controlled to feed back prompt information regarding the warning sign to the target object.
[0007] In the vehicle control method provided in the embodiment of the present application, the vehicle can obtain the relative distance of the vehicle to the warning sign behind the vehicle when the warning sign is in a removed state, and control the vehicle itself to feedback prompt information regarding the warning sign to the target object based on the relative distance.
[0008] In this way, in the implementation mode of the present application, the vehicle can, when the warning sign is in the removed state, feedback prompt information about the warning sign to the target object such as a user according to the relative distance of the vehicle to the warning sign behind the vehicle, so that the user can know the placement of the warning sign through the prompt information feedback from the vehicle, thereby avoiding the situation where the placement of the warning sign needs to rely entirely on the user's subjective experience, and can reduce the difficulty of the user to correctly place the warning sign to a certain extent, thereby improving the user's vehicle driving experience.
[0009] In certain embodiments of the present application, the state of the warning sign is determined according to a switch sensor installed in the vehicle.
[0010] Thus, in the embodiments of the present application, the state of the warning sign can be determined by the switch sensor, which ensures efficient determination of the state of the warning sign to a certain extent.
[0011] In certain embodiments of the present application, the warning sign is in the removed state when the switch sensor generates a preset signal, and the switch sensor is capable of generating the preset signal when the warning sign is not in a predetermined position in the vehicle.
[0012] In certain embodiments of the present application, the relative distance is determined by a target sensor installed on the vehicle, and the target sensor includes a camera and / or a radar.
[0013] In this way, in the implementation mode of the present application, the relative distance of the vehicle to the warning sign behind the vehicle can be determined based on the target sensor, which ensures the reliability and effectiveness of the relative distance to a certain extent.
[0014] In certain embodiments of the present application, the prompt information is determined based on the relative distance and a predetermined target distance.
[0015] Thus, in the embodiment of the present application, the prompt information may be determined according to the relative distance and the predetermined target distance.
[0016] In certain embodiments of the present application, when the relative distance is smaller than the target distance, the prompt information is the first information, and the first information is used to prompt the target object to move the position of the warning sign to increase the relative distance.
[0017] In certain embodiments of the present application, when the relative distance is greater than or equal to the target distance, the prompt information is second information, and the second information is used to prompt the target object to maintain the position of the warning sign.
[0018] In certain embodiments of the present application, the target distance is determined according to the current light intensity outside the vehicle cabin.
[0019] Thus, in the implementation mode of the present application, the target distance can be determined according to the current light intensity outside the vehicle cabin, so that the target distance can be matched with the current light intensity to a certain extent, thereby ensuring the effectiveness and reliability of the target distance.
[0020] In certain embodiments of the present application, when the current light intensity is greater than or equal to the target light intensity, the target distance is a first distance, and when the current light intensity is less than the target light intensity, the target distance is a second distance, and the second distance is greater than the first distance.
[0021] In certain embodiments of the present application, the target distance is determined according to the current time and the current light intensity outside the vehicle cabin.
[0022] In this way, in the implementation mode of the present application, the target distance can be determined based on the current time and the current light intensity outside the vehicle cabin. Therefore, the target distance can be matched with the current time and the current light intensity to a certain extent, thereby ensuring the effectiveness and reliability of the target distance.
[0023] In certain embodiments of the present application, when the current light intensity is greater than or equal to the target light intensity, or the current time is in the target time period, the target distance is a first distance; when the current light intensity is less than the target light intensity and the current time is not in the target time period, the target distance is a second distance, and the second distance is greater than the first distance.
[0024] In some embodiments of the present application, the current light intensity is determined by a photosensitive sensor installed on the vehicle.
[0025] In certain embodiments of the present application, controlling the vehicle to feed back prompt information regarding the warning sign to the target object according to the relative distance includes:
[0026] When the relative distance does not change within a preset time period, the vehicle is controlled to feed back the prompt information to the target object according to the relative distance.
[0027] In this way, in the implementation mode of the present application, when the relative distance between the warning sign and the vehicle has not changed within a preset time period, the vehicle can feedback prompt information based on the relative distance. This can reduce the frequency of the vehicle's feedback of prompt information to the user to a certain extent, thereby avoiding the situation where the vehicle frequently prompts the user, and the user's experience of the vehicle is guaranteed.
[0028] The embodiment of the present application provides a control device, including a transceiver unit and a processing unit;
[0029] The transceiver unit is configured to obtain a relative distance when the warning sign is in a removed state, wherein the relative distance is used to indicate the distance of the vehicle relative to the warning sign behind the vehicle;
[0030] The processing unit is configured to control the vehicle to feed back prompt information regarding the warning sign to the target object according to the relative distance.
[0031] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the above-mentioned vehicle control method is implemented.
[0032] An embodiment of the present application provides a vehicle, which includes the above-mentioned electronic device, or includes the above-mentioned control device.
[0033] An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by one or more processors, the above-mentioned vehicle control method is implemented.
[0034] The control device, electronic device, vehicle and computer-readable storage medium provided in the embodiments of the present application enable the vehicle to, when the warning sign is in a removed state, provide feedback of prompt information regarding the warning sign to a target object such as a user, based on the relative distance of the vehicle to the warning sign behind the vehicle, so that the user can know the placement of the warning sign through the prompt information fed back by the vehicle, thereby avoiding the situation where the placement of the warning sign needs to rely entirely on the user's subjective experience, and can reduce the difficulty for the user to correctly place the warning sign to a certain extent, thereby improving the user's vehicle driving experience.
[0035] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0037] Figure 1 A schematic flow chart of a vehicle control method in certain embodiments of the present application;
[0038] Figure 2 A schematic diagram of an electronic device in some embodiments of the present application;
[0039] Figure 3 It is a flowchart of a vehicle control method in certain embodiments of the present application. DETAILED DESCRIPTION
[0040] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.
[0041] When a vehicle is traveling on highways, urban expressways and other roads, it may stop moving due to unexpected events, such as traffic accidents such as rear-end collisions, scrapes and collisions, or vehicle failures such as tire blowouts. According to relevant regulations, when a vehicle stops moving, the user needs to place a warning sign such as a tripod at a certain distance behind the vehicle (such as 50 to 100 meters behind the vehicle) to warn the driver of the vehicle behind to drive carefully or slow down, thereby avoiding the occurrence or deterioration of traffic accidents. It is understandable that the correct placement of warning signs plays a very important role in road traffic safety.
[0042] It is also understandable that for most users, the distance of the warning sign relative to the vehicle is usually determined based on subjective judgment. For users, especially novice drivers and drivers with a small number of kilometres, it may be impossible to accurately estimate the distance of the warning sign relative to the vehicle, resulting in the warning sign being too close or too far away from the vehicle. It is understandable that when the tripod is placed too close to the vehicle, the reaction time of the driver of the following vehicle will be correspondingly reduced, which may easily lead to the occurrence or expansion of traffic accidents.
[0043] It is also understandable that warning signs such as tripods rely on the principle of reflection to alert the driver of the following vehicle so that the driver of the following vehicle can react in time. At the same time, in night driving scenarios, the driver of the following vehicle can only see the tripod after the headlights of the following vehicle shine on the tripod to make the tripod reflect light. However, visibility is low at night, it is difficult to identify reference objects, and the user's perception of distance may be biased, resulting in inappropriate placement of the tripod, making the tripod's warning effect on the following vehicle weaker, and the reaction time and operating distance reserved for the driver of the following vehicle are reduced, which can easily cause the occurrence or expansion of traffic accidents.
[0044] Based on the above problems that may be encountered, please refer to Figure 1 , the embodiment of the present application provides a vehicle control method, comprising:
[0045] 01: When the warning sign is in a removed state, obtain a relative distance, wherein the relative distance is used to indicate the distance of the vehicle relative to the warning sign behind the vehicle;
[0046] 02: Based on the relative distance, control the vehicle to feedback the prompt information of the warning sign to the target object.
[0047] The embodiment of the present application provides a control device. The control method of the vehicle of the embodiment of the present application can be implemented by the control device of the embodiment of the present application. Specifically, the control device includes an acquisition unit and a transceiver unit. The acquisition unit is configured to acquire a relative distance when the warning sign is in a removed state, and the relative distance is used to indicate the distance of the vehicle relative to the warning sign behind the vehicle. The transceiver unit is configured to control the vehicle to feedback prompt information for the warning sign to the target object based on the relative distance.
[0048] The embodiment of the present application also provides an electronic device, which includes a memory and a processor. The position determination method of the electronic device of the embodiment of the present application can be implemented by the electronic device of the embodiment of the present application. Specifically, a computer program is stored in the memory, and the processor is used to obtain the relative distance when the warning sign is in a removed state, and to control the vehicle to feedback prompt information for the warning sign to the target object according to the relative distance, wherein the relative distance is used to indicate the distance of the vehicle relative to the warning sign behind the vehicle.
[0049] Specifically, in an embodiment of the present application, the vehicle (or a control device in the vehicle, or an electronic device in the vehicle) can determine the relative distance of the warning sign located behind the vehicle relative to the vehicle when detecting that the warning sign is in a removed state, and feedback prompt information regarding the warning sign to the target object based on the relative distance, thereby prompting the target object to complete the placement of the warning sign.
[0050] For example, a vehicle has an unexpected tire blowout, and a user (i.e., the target object) in the vehicle gets out and takes out a warning sign from the trunk of the vehicle. When the vehicle detects that the warning sign has been taken out, and the user places the taken out warning sign behind the vehicle, if the distance of the warning sign relative to the vehicle is small (e.g., less than 50 meters), the vehicle can play a preset prompt sound such as "The warning sign is too close! Please reposition it!" to inform the user that the placement of the warning sign is unreasonable and needs to be repositioned. If the distance of the warning sign relative to the vehicle is appropriate (e.g., greater than or equal to 50 meters), the vehicle can play a preset prompt sound such as "The warning sign is placed in the right position! Well done!" to let the user know that the placement of the warning sign is appropriate and stop moving the warning sign.
[0051] In this way, in the implementation mode of the present application, the vehicle can, when the warning sign is in the removed state, feedback prompt information about the warning sign to the target object such as a user according to the relative distance of the vehicle to the warning sign behind the vehicle, so that the user can know the placement of the warning sign through the prompt information feedback from the vehicle, thereby avoiding the situation where the placement of the warning sign needs to rely entirely on the user's subjective experience, and can reduce the difficulty of the user to correctly place the warning sign to a certain extent, thereby improving the user's vehicle driving experience.
[0052] It is understood that in the embodiments of the present application, a warning sign refers to a sign used to warn vehicles and pedestrians to pay attention to road traffic, which can inform drivers or pedestrians that there is danger on the road ahead. In one example, the warning sign is a tripod with a yellow background, black edges, black patterns, and an equilateral triangle shape.
[0053] Further, in the embodiments of the present application, the method of detecting whether the warning sign is in the removed state can be set according to the actual situation. For example, in some embodiments of the present application, the state of the warning sign is determined according to a switch sensor installed in the vehicle. Thus, in the embodiments of the present application, the state of the warning sign can be determined by the switch sensor, which ensures the efficient determination of the state of the warning sign to a certain extent.
[0054] And, it can also be understood that in the implementation of the present application, the target object may refer to a user, etc. Therefore, in order to clearly explain the implementation of the present application, the user as the target object will be used for explanation, or in other words, the target object appearing in the following text can be understood as a user.
[0055] In addition, it is understood that the specific model and working principle of the switch sensor can be set according to actual conditions. For example, in some embodiments of the present application, when the switch sensor generates a preset signal, the warning sign is in a removed state, and the switch sensor can generate a preset signal when the warning sign is not in a predetermined position in the vehicle.
[0056] Specifically, in one example, the switch sensor is a pressure sensor installed below a specific position in the trunk of the vehicle. Therefore, when the warning sign is placed at the specific position in the trunk, the pressure signal collected by the switch sensor can represent that the "warning sign is in the 'unremoved state'", and when the warning sign is taken out by the user but not placed at the specific position in the trunk, the pressure signal collected by the switch sensor can represent that the "warning sign is in the 'removed state'".
[0057] In another example, a cable tie specifically used to fix a tripod (i.e., a warning sign), a switch for controlling the cable tie, and a switch or pressure sensor for detecting whether the tripod is taken out are provided in the trunk of the vehicle. Furthermore, when the switch is in a closed state (or OFF state), the cable tie is in an unlocked state, and the tripod can be taken out, and when the switch is in an open state (or ON state), the cable tie is in a locked state, and the tripod can be fixed. Therefore, in the embodiment of the present application, the vehicle can determine whether the tripod is in a taken out state based on the state signal of the switch or pressure sensor.
[0058] Further, in the embodiment of the present application, when the vehicle determines that the warning sign is in a removed state, the vehicle may detect a relative distance of “the warning sign behind the vehicle” relative to the vehicle itself.
[0059] It is understandable that the detection method of the relative distance can be set according to the actual situation. For example, in some embodiments of the present application, the relative distance is determined by a target sensor installed on the vehicle, and the target sensor includes a camera and / or a radar.
[0060] In this way, in the implementation mode of the present application, the relative distance of the vehicle to the warning sign behind the vehicle can be determined based on the target sensor, which ensures the reliability and effectiveness of the relative distance to a certain extent.
[0061] Specifically, in one example, the camera is a camera with a depth detection function, such as a binocular camera. Therefore, in the embodiment of the present application, the vehicle can determine the distance of the "warning sign behind the vehicle" relative to the vehicle itself based on the rear image and depth information of the vehicle output by the camera.
[0062] In addition, it is understood that the radar has a distance measurement function. Therefore, in the embodiment of the present application, the vehicle can also detect the distance of the "warning sign located behind the vehicle" relative to the vehicle itself through the radar.
[0063] It can also be understood that in order to ensure the accuracy of ranging, the implementation mode of the present application can determine the relative distance of "the warning sign behind the vehicle" with respect to the vehicle itself based on the information output by the radar and the camera respectively.
[0064] Optionally, in certain embodiments of the present application, the relative distance is used to indicate the distance of the rear end of the vehicle relative to the warning sign behind the vehicle.
[0065] Furthermore, in an embodiment of the present application, after the vehicle obtains the relative distance of the "warning sign located behind the vehicle" relative to the vehicle itself, prompt information can be fed back to the target object based on the relative distance.
[0066] Furthermore, in certain embodiments of the present application, the above-mentioned prompt information is divided into two types, one is information used to prompt the target object to move the warning sign to increase the relative distance between the warning sign and the vehicle, and the other is information used to prompt the target object not to move the warning sign.
[0067] It is understood that in the embodiments of the present application, the specific manner in which the vehicle determines the "prompt information fed back to the user at the current moment" can be set according to actual conditions. For example, in certain embodiments of the present application, the prompt information is determined based on the relative distance and the predetermined target distance.
[0068] That is, in the implementation mode of the present application, the vehicle can determine the specific type of prompt information fed back to the target object at the current moment according to the size relationship between the "relative distance of the warning sign behind the vehicle" at the current moment and the predetermined target distance. Thus, in the implementation mode of the present application, the prompt information can be determined according to the relative distance and the predetermined target distance.
[0069] Specifically, in certain embodiments of the present application, when the relative distance is less than the target distance, the prompt information is the first information, and the first information is used to prompt the target object to move the position of the warning sign to increase the relative distance.
[0070] Accordingly, in certain embodiments of the present application, when the relative distance is greater than or equal to the target distance, the prompt information is the second information, and the second information is used to prompt the target object to maintain the position of the warning sign.
[0071] For example, in one example, the target distance is 50 meters. Then, when the user takes out the warning sign from the trunk and places the warning sign behind the vehicle, the vehicle can determine whether the relative distance between the warning sign and the vehicle at the current moment is greater than or equal to 50 meters. If so, the target information fed back to the user at the current moment is determined to be the first information, i.e., information for prompting the target object to move the position of the warning sign to increase the relative distance. If not, the target information fed back to the user at the current moment is determined to be the second information, i.e., information for prompting the target object to maintain the position of the warning sign.
[0072] It is understandable that after determining the specific type of target information that can be fed back to the target object at the current moment, the vehicle can perform a feedback action of the target information, thereby prompting the target object to move the position of the warning sign or not.
[0073] It can also be understood that in the implementation of the present application, the specific form of the target information can be set according to the actual situation. For example, in one example, the target information is a voice message. Furthermore, the first message can be "The warning sign is placed too close! Please re-place it!", and the second message can be "The warning sign is placed in the right position! Well done!".
[0074] In another example, the target information is light language information. Furthermore, the first information may be "the brake light flashes at a first frequency", and the second information may be "the brake light flashes at a second frequency". The first frequency is higher than the second frequency.
[0075] In another example, the target information is information fed back by the vehicle to the mobile terminal (such as a smart phone or smart bracelet) of the target object. Furthermore, when the above-mentioned relative distance is less than a predetermined target distance, the vehicle may send a first message to the mobile terminal of the target object, so that the mobile terminal of the target object prompts the target object to move the position of the warning sign through voice, vibration, text display, etc. to increase the above-mentioned relative distance. Correspondingly, when the above-mentioned relative distance is greater than or equal to the predetermined target distance, the vehicle may send a second message to the mobile terminal of the target object, so that the mobile terminal of the target object prompts the target object to maintain the position of the warning sign through voice, vibration, text display, etc.
[0076] In addition, according to relevant regulations, and in order to ensure the warning effect of the warning sign on the vehicles behind, in the implementation mode of the present application, the target distance is determined according to the current light intensity outside the vehicle cabin.
[0077] That is, in the implementation mode of the present application, if the light intensity outside the vehicle cabin is high at the current moment (such as greater than or equal to a preset light intensity), the visibility under the current lighting environment is high. Therefore, even if the warning sign is placed relatively close to the vehicle, the driver of the following vehicle can observe the warning sign at a farther distance relative to the vehicle.
[0078] Conversely, if the light intensity outside the vehicle cabin is low at the current moment (such as less than a preset light intensity), the visibility under the current lighting environment is low. Furthermore, when the warning sign is placed relatively close to the vehicle, the driver of the following vehicle will observe the warning sign at a closer distance relative to the vehicle, resulting in a shorter reaction time and braking distance.
[0079] Therefore, in certain embodiments of the present application, the target distance may be positively correlated with the current light intensity.
[0080] In other embodiments of the present application, when the current light intensity is greater than or equal to the target light intensity, the target distance is the first distance; when the current light intensity is less than the target light intensity, the target distance is the second distance, and the second distance is greater than the first distance.
[0081] It can also be understood that in the implementation of the present application, the specific numerical value of the target light intensity can be set according to the actual situation. For example, in one example, the value interval of the target light intensity is [5000, 15000], and the unit is lux.
[0082] It is also understood that in the implementation of the present application, the specific numerical value of the first distance and the specific numerical value of the second distance can be set according to actual conditions. For example, in an example for non-highway driving, the first distance is 50 meters and the second distance is 150 meters. For another example, in an example for high-speed driving, the first distance is 150 meters and the second distance is 250 meters.
[0083] For example, let the target light intensity be 10,000 lux, the first distance be 50 meters, and the second distance be 150 meters, then:
[0084] If the current light intensity outside the vehicle cabin is 8000 lux, the vehicle can determine the target information based on the relationship between "the relative distance of the warning sign behind the vehicle to the vehicle itself" and "150 meters".
[0085] If the current light intensity outside the vehicle cabin is 12,000 lux, the vehicle can determine the target information based on the relationship between "the relative distance of the warning sign behind the vehicle to the vehicle itself" and "50 meters".
[0086] Thus, in the implementation mode of the present application, the target distance can be determined according to the current light intensity outside the vehicle cabin, so that the target distance can be matched with the current light intensity to a certain extent, thereby ensuring the effectiveness and reliability of the target distance.
[0087] In addition, taking redundancy into consideration, the target distance in the embodiments of the present application can also be determined by two factors: light intensity and time.
[0088] It is understandable that visibility during the day is usually higher than visibility at night. Furthermore, during the day, even if the warning sign is placed relatively close to the vehicle, the driver of the following vehicle can observe the warning sign at a relatively long distance relative to the vehicle. Conversely, during the night, when the warning sign is placed relatively close to the vehicle, the driver of the following vehicle can observe the warning sign at a relatively short distance relative to the vehicle, resulting in a shorter reaction time and braking distance.
[0089] At the same time, considering the influence of the current light intensity outside the vehicle cabin on visibility, the target distance in the implementation mode of the present application can be determined according to the current time and the current light intensity outside the vehicle cabin. In other words, in some implementation modes of the present application, the target distance is determined according to the current time and the current light intensity outside the vehicle cabin.
[0090] In this way, in the implementation mode of the present application, the target distance can be determined based on the current time and the current light intensity outside the vehicle cabin. Therefore, the target distance can be matched with the current time and the current light intensity to a certain extent, thereby ensuring the effectiveness and reliability of the target distance.
[0091] Optionally, in certain embodiments of the present application, when the current light intensity is greater than or equal to the target light intensity, or the current time is in the target time period, the target distance is a first distance; when the current light intensity is less than the target light intensity and the current time is not in the target time period, the target distance is a second distance, and the second distance is greater than the first distance.
[0092] The specific value of the target light intensity can be set according to actual conditions. For example, in one example, the value range of the target light intensity is [5000, 15000], and the unit is lux.
[0093] Similarly, the target time period can also be set according to actual conditions. For example, in some embodiments of the present application, the target time period is a fixed time period, such as the time period from 07:00 to 18:00.
[0094] In other embodiments of the present application, the target time period is determined according to a preset sunset time and a preset sunrise time. For example, when the sunrise time is 05:54 and the sunset time is 19:05, the target time period in one example is the period from 05:54 to 19:05, and the target time period in another example is the period from 06:00 to 18:00. That is, the start time of the target time period may be later than or equal to the sunrise time, and the end time of the target time period may be earlier than or equal to the sunset time.
[0095] It is also understood that in the implementation of the present application, the specific numerical value of the first distance and the specific numerical value of the second distance can be set according to actual conditions. For example, in an example for non-highway driving, the first distance is 50 meters and the second distance is 150 meters. For another example, in an example for high-speed driving, the first distance is 150 meters and the second distance is 250 meters.
[0096] For example, let the target light intensity be 10,000 lux, the target period be from 05:54 to 19:05, the first distance be 50 meters, and the second distance be 150 meters, then:
[0097] If the current time is 15:56:06 and the current light intensity outside the vehicle cabin is 8000 lux, the vehicle in the embodiment of the present application can determine the target information based on the relationship between "the relative distance of the warning sign behind the vehicle to the vehicle itself" and "50 meters".
[0098] If the current time is 20:56:06 and the current light intensity outside the vehicle cabin is 7000 lux, the vehicle in the embodiment of the present application can determine the target information based on the relationship between "the relative distance of the warning sign behind the vehicle to the vehicle itself" and "150 meters".
[0099] In addition, in the case of special road sections such as tunnels, the target distance in the implementation manner of the present application can also be determined by three factors: light intensity, time and current road section type.
[0100] For example, in an example where the target light intensity is 10,000 lux, the target time period is from 05:54 to 19:05, the first distance is 50 meters, and the second distance is 150 meters, when the vehicle is traveling in a tunnel, due to the low visibility in the tunnel, the target distance can be fixed to the second distance (i.e., 150 meters). Furthermore, the vehicle of the implementation manner of the present application can determine the target information based on the relationship between "the relative distance of the 'warning sign located behind the vehicle' to the vehicle itself" and "150 meters".
[0101] In contrast, if the vehicle is not traveling in a tunnel, the current time is 15:56:06, and the current light intensity outside the vehicle cabin is 8000 lux, the vehicle in the implementation mode of the present application can determine the target information based on the relationship between "the relative distance of the warning sign behind the vehicle to the vehicle itself" and "50 meters".
[0102] Furthermore, if the vehicle is not traveling in a tunnel, the current time is 20:56:06, and the current light intensity outside the vehicle cabin is 7000 lux, the vehicle of the embodiment of the present application can determine the target information based on the relationship between "the relative distance of the warning sign behind the vehicle to the vehicle itself" and "150 meters".
[0103] In certain embodiments of the present application, the current light intensity is determined by a photosensitive sensor installed on the vehicle.
[0104] In certain embodiments of the present application, step 02 includes:
[0105] When the relative distance does not change within a preset time period, the vehicle is controlled to feedback prompt information to the target object according to the relative distance.
[0106] The processing unit of the implementation mode of the present application is also used to control the vehicle to feedback prompt information to the target object according to the relative distance when the relative distance does not change within a preset time period.
[0107] The processor of the implementation mode of the present application is also used to control the vehicle to feedback prompt information to the target object according to the relative distance when the relative distance does not change within a preset time period.
[0108] Specifically, in order to reduce vehicle power consumption and avoid the situation where the vehicle frequently feeds back prompt information to the target object, thereby causing a bad experience for the target object, in an embodiment of the present application, the vehicle can monitor the changing trend of the relative distance of the warning sign behind the vehicle relative to the vehicle in real time, and when the relative distance does not change within a preset time period, feed back prompt information to the target object based on the relative distance.
[0109] It is understandable that during the process from the user taking out the warning sign to the user placing the warning sign on the ground, the distance of the warning sign relative to the vehicle will change in real time. If the vehicle continuously feeds back prompt information to the user during this process, it may bring a poor user experience to the user. Therefore, in an embodiment of the present application, the vehicle may feed back prompt information to the user based on the distance of the warning sign relative to the vehicle when it is determined that the user has placed the warning sign, or when it is determined that the distance of the warning sign relative to the vehicle has not changed within a preset time period.
[0110] It can also be understood that in the implementation manner of the present application, the specific value of the preset duration can be set according to actual conditions. For example, in one example, the value interval of the preset duration is [2, 5], in seconds.
[0111] In this way, in the implementation mode of the present application, when the relative distance between the warning sign and the vehicle has not changed within a preset time period, the vehicle can feedback prompt information based on the relative distance. This can reduce the frequency of the vehicle's feedback of prompt information to the user to a certain extent, thereby avoiding the situation where the vehicle frequently prompts the user, and the user's experience of the vehicle is guaranteed.
[0112] Optional, see Figure 2 and Figure 3 , Figure 2 is a schematic diagram of an electronic device in some embodiments of the present application, Figure 3 It is a flowchart of a vehicle control method in certain embodiments of the present application.
[0113] Specifically, if Figure 2 As shown, the electronic device 200 in the embodiment of the present application may include a distance identification device 201 , a photosensitive sensor 202 , a switch sensor 203 , a controller 204 , and an electronic control unit (Electronic Control Unit, ECU) 205 .
[0114] The distance recognition device 201, the light sensor 202, and the switch sensor 203 are all connected to the controller 204 through a CAN (Controller Area Network) bus. The controller 204 is connected to the electronic control unit 205 through a CAN bus.
[0115] Furthermore, the distance recognition device 201 is used to recognize the relative distance between the rear of the vehicle and the tripod (i.e., the warning sign) behind the vehicle. The photosensitive sensor 202 is used to sense the lighting conditions, or in other words, to detect the current light intensity. The switch sensor 203 is used to detect whether the tripod has been taken out by the user. The controller 204 is used to receive and process the information (or state value) sent by the distance recognition device 201, the photosensitive sensor 202, and the switch sensor 203. The electronic control unit 205 establishes a communication connection with the user terminal (or in other words, with an application in the user terminal), so that a prompt message can be sent to the user terminal.
[0116] based on Figure 2 The electronic device shown in the figure can be executed by the vehicle of the embodiment of the present application. Figure 3 Specifically, in steps 20-30 shown, first, it should be noted that in the embodiment of the present application, when the tripod is taken out, the pressure on the switch sensor is reduced, the spring sheet pops out, and the electrical signal value of the switch sensor changes.
[0117] It should also be noted that in the implementation manner of the present application, the controller can cyclically detect whether the state value of the switch sensor changes according to a pre-configured timing task.
[0118] Furthermore, after the controller detects that the state of the switch sensor has changed, it can send an activation instruction to the photosensitive sensor, and the photosensitive sensor converts the external light signal into an electrical signal and transmits the electrical signal to the controller.
[0119] Subsequently, the controller performs corresponding data processing on the electrical signal transmitted by the photosensor and can determine whether the current environment is daytime based on the processed data.
[0120] Then, if the current environment is daytime, the controller may use 50 meters or 150 meters as the target distance, or in other words, determine 50 meters or 150 meters as the distance condition for subsequent steps. In one example, if the vehicle is currently traveling on an ordinary highway or an urban road, the controller uses 50 meters as the distance condition for subsequent steps, and if the vehicle is currently traveling on a highway, the controller uses 150 meters as the distance condition for subsequent steps.
[0121] In contrast, if the current environment is night, the controller may use 150 meters or 250 meters as the target distance, or in other words, determine 150 meters or 250 meters as the distance condition for subsequent steps. In one example, if the vehicle is currently traveling on an ordinary highway or an urban road, the controller uses 150 meters as the distance condition for subsequent steps, and if the vehicle is currently traveling on a highway, the controller uses 250 meters as the distance condition for subsequent steps.
[0122] Then, the controller processes (such as filtering) the signal transmitted in real time by the distance recognition device to obtain the real-time relative distance between the tripod and the rear of the vehicle.
[0123] Afterwards, if the real-time relative distance does not change within 2 seconds, it is determined whether the real-time relative distance meets the previously determined distance condition.
[0124] If the distance is not satisfied, the controller sends a signal to the electronic control unit, so that the electronic control unit sends a message to the application in the user terminal. Then, the application in the user terminal prompts the user that the placement distance of the tripod is not satisfied according to the received message, and prompts the user to continue to move the tripod to place the tripod at a suitable distance.
[0125] If the condition is satisfied, the controller sends another signal to the electronic control unit, so that the electronic control unit sends another message to the application in the user terminal. Then, the application in the user terminal prompts the user that the tripod has been properly placed according to the received message.
[0126] In addition, it should be noted that in the implementation of the present application, the control device can be set according to actual conditions. For example, in one example, the control device is a domain controller. In another example, the control device is an independent electronic control unit dedicated to performing the above steps 01-03. And, in another example, the control device refers to Figure 2 The electronic control unit 205 is a combination of the controller 204 and the electronic control unit 205.
[0127] The embodiment of the present application further provides a vehicle, wherein the vehicle includes the above-mentioned control device or the above-mentioned electronic device.
[0128] The embodiment of the present application also provides a computer-readable storage medium storing a computer program, which implements the above-mentioned vehicle control method when the computer program is executed by one or more processors.
[0129] In the description of this specification, the descriptions with reference to the terms "specifically", "further", "particularly", "understandably", etc. are intended to mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not intended to refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0130] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0131] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A vehicle control method, characterized in that: include: When the warning sign is in a removed state, acquiring a relative distance, wherein the relative distance is used to indicate a distance of the vehicle relative to the warning sign behind the vehicle; According to the relative distance, the vehicle is controlled to feed back prompt information regarding the warning sign to the target object.
2. The method according to claim 1, characterized in that The state of the warning sign is determined based on a switch sensor installed in the vehicle.
3. The method according to claim 2, characterized in that The warning sign is in the removed state when the switch sensor generates a preset signal, and the switch sensor is capable of generating the preset signal when the warning sign is not in a predetermined position in the vehicle.
4. The method according to claim 1, characterized in that: The relative distance is determined by a target sensor mounted on the vehicle, wherein the target sensor comprises a camera and / or a radar.
5. The method according to claim 1, characterized in that The prompt information is determined according to the relative distance and a predetermined target distance.
6. The method according to claim 5, characterized in that When the relative distance is smaller than the target distance, the prompt information is first information, and the first information is used to prompt the target object to move the position of the warning sign to increase the relative distance.
7. The method according to claim 5, characterized in that When the relative distance is greater than or equal to the target distance, the prompt information is second information, and the second information is used to prompt the target object to maintain the position of the warning sign.
8. The method according to claim 5, characterized in that The target distance is determined based on the current light intensity outside the vehicle cabin.
9. The method according to claim 8, characterized in that When the current light intensity is greater than or equal to the target light intensity, the target distance is a first distance. When the current light intensity is less than the target light intensity, the target distance is a second distance. The second distance is greater than the first distance.
10. The method according to claim 5, characterized in that The target distance is determined based on the current time and the current light intensity outside the vehicle cabin.
11. The method according to claim 10, characterized in that When the current light intensity is greater than or equal to the target light intensity, or the current time is in the target time period, the target distance is the first distance; when the current light intensity is less than the target light intensity and the current time is not in the target time period, the target distance is the second distance, and the second distance is greater than the first distance.
12. The method according to any one of claims 8 to 11, characterized in that: The current light intensity is determined by a photosensitive sensor installed on the vehicle.
13. The method according to claim 1, characterized in that The step of controlling the vehicle to feed back prompt information regarding the warning sign to the target object according to the relative distance includes: When the relative distance does not change within a preset time period, the vehicle is controlled to feed back the prompt information to the target object according to the relative distance.
14. A control device, characterized in that: including a transceiver unit and a processing unit; The transceiver unit is configured to obtain a relative distance when the warning sign is in a removed state, wherein the relative distance is used to indicate the distance of the vehicle relative to the warning sign behind the vehicle; The processing unit is configured to control the vehicle to feed back prompt information regarding the warning sign to the target object according to the relative distance.
15. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method according to any one of claims 1 to 13 is implemented.
16. A vehicle, characterized in that: The vehicle comprises the apparatus of claim 14 or 15.
17. 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 one or more processors, the method according to any one of claims 1 to 13 is implemented.