Vehicle control methods and devices, vehicles, storage media

By obtaining the distance between the user inside the vehicle and the starry sky roof, corresponding protection strategies and prompts are triggered, solving the problem of easy damage to the fiber optic cable of the starry sky roof and achieving the effect of reducing the probability of damage and improving the user experience.

CN116373734BActive Publication Date: 2026-06-30GREAT WALL MOTOR CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREAT WALL MOTOR CO LTD
Filing Date
2023-04-28
Publication Date
2026-06-30

Smart Images

  • Figure CN116373734B_ABST
    Figure CN116373734B_ABST
Patent Text Reader

Abstract

This invention provides a vehicle control method and device, a vehicle, and a storage medium. Belonging to the field of vehicle technology, the vehicle control method includes: acquiring a target distance corresponding to a user inside the vehicle and the current state of a starry sky roof; wherein the target distance is the distance between the user's closest body part and the starry sky roof; if a target distance less than a first preset threshold exists and the current state is active, a first preset protection strategy is triggered; wherein the first preset protection strategy includes: determining a control strategy for the starry sky roof based on the target distance less than the first preset threshold, and controlling the starry sky roof according to the control strategy to remind the user to move away from the starry sky roof. This invention can effectively prevent users from touching the starry sky roof, reducing the probability of damage to the starry sky roof.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of vehicle technology, and more specifically, relates to a vehicle control method and device, a vehicle, and a storage medium. Background Technology

[0002] In recent years, starry sky roofs have become a popular highlight feature in vehicle interiors. The light source for starry sky roofs is mostly a dense array of optical fibers. The roof is often made of soft materials such as suede or leather (collectively known as velour). Holes are drilled in the velour, and optical fibers are inserted into the holes. Once the optical fibers are lit, the starry sky lighting effect is achieved.

[0003] Once the starry sky display is illuminated, users inside the car are likely to experience a sense of novelty and thus be more likely to touch the fiber optic cables. For example, curious and active children may stand on their seats and touch the cables with their fingers or other parts of their bodies. This touching can easily cause dust and bacteria from their hands to accumulate on the fiber optic surface, affecting the display effect and potentially damaging the cables. Additionally, taller users are also more likely to accidentally bump their heads into the cables when standing up or walking around the car, further increasing the probability of damage.

[0004] Therefore, how to reduce the probability of optical fiber damage in the above scenarios has become an urgent problem to be solved by those skilled in the art. Summary of the Invention

[0005] The purpose of this invention is to provide a vehicle control method and device, vehicle, and storage medium to solve the problem that optical fibers are easily touched in practical application scenarios, increasing the probability of damage to the starry sky ceiling.

[0006] A first aspect of the present invention provides a vehicle control method, the vehicle control method comprising:

[0007] Obtain the target distance corresponding to the user inside the vehicle and the current state of the starry sky roof; wherein, the target distance is the distance between the user's closest body part and the starry sky roof;

[0008] If there is a target distance less than the first preset threshold and the current state is the working state, then the first preset protection strategy is triggered.

[0009] The first preset protection strategy includes: determining the control strategy of the starry sky roof based on the target distance being less than a first preset threshold, and controlling the starry sky roof according to the control strategy to remind the user to stay away from the starry sky roof.

[0010] In one possible implementation, the control strategy for determining the starry sky top based on a target distance less than a first preset threshold includes:

[0011] If all target distances less than the first preset threshold are greater than the second preset threshold, then the display strategy of the starry sky top is determined based on the target distances less than the first preset threshold, and the display strategy is determined as the control strategy; the display strategy includes: the brightness adjustment ratio of the starry sky top, the flashing frequency of the starry sky top, and the flashing duration of the starry sky top;

[0012] If there is a target distance that is less than the first preset threshold and not greater than the second preset threshold, then closing the starry sky top will be determined as the control strategy.

[0013] In one possible implementation, the vehicle control method further includes:

[0014] If there is a target distance less than the first preset threshold and the current state is a non-working state, then the second preset protection strategy is triggered.

[0015] The second preset protection strategy includes issuing a prompt message to remind the user to stay away from the starry sky ceiling.

[0016] In one possible implementation, the control strategy for determining the starry sky top based on a target distance less than a first preset threshold includes:

[0017] Determine the minimum distance among the target distances that are less than the first preset threshold;

[0018] The display strategy for the starry sky ceiling is determined based on the minimum distance.

[0019] In one possible implementation, determining the display strategy for the starry sky dome based on the minimum distance includes:

[0020] Determine the preset range to which the minimum distance belongs;

[0021] The display strategy of the starry sky ceiling is determined according to the preset range to which it belongs;

[0022] One preset range corresponds to one display strategy, and different preset ranges correspond to different display strategies.

[0023] In one possible implementation, the vehicle control method further includes:

[0024] Within the same ignition cycle, if after executing the preset protection strategy, if it is detected that there are still target distances less than the first preset threshold and all target distances less than the first preset threshold are greater than the second preset threshold, then the duration for which the target distance is less than the first preset threshold is obtained.

[0025] If there is a duration longer than the preset time, the corresponding preset protection strategy will be triggered based on the current state of the starry sky top and the target distance less than the first preset threshold.

[0026] If the duration of each of the above is not greater than the preset time, the preset protection strategy will not be triggered.

[0027] Within the same ignition cycle, if after executing the preset protection strategy, if a target distance smaller than the first preset threshold is detected, and the target distance smaller than the first preset threshold is not greater than the second preset threshold, then the corresponding preset protection strategy is triggered according to the state of the starry sky top and the target distance smaller than the first preset threshold.

[0028] In one possible implementation, the vehicle control method further includes:

[0029] During the same ignition cycle, if it is detected that the preset protection strategy is triggered again during the execution of the preset protection strategy, and the minimum distance corresponding to the preset protection strategy that is triggered again is less than the minimum distance corresponding to the preset protection strategy that is being executed, then the preset protection strategy being executed will be switched to the preset protection strategy that is triggered again.

[0030] The minimum distance corresponding to a certain preset protection strategy refers to the minimum distance among the target distances that trigger the preset protection strategy.

[0031] A second aspect of the present invention provides a vehicle control device, the vehicle control device comprising:

[0032] The data acquisition module is used to acquire the target distance of the user inside the vehicle and the status of the starry sky roof; wherein, the target distance is the distance between the user's body part closest to the starry sky roof and the starry sky roof;

[0033] The vehicle control module is used to perform the following steps: if there is a target distance less than a first preset threshold and the current state is a working state, then the first preset protection strategy is triggered;

[0034] The first preset protection strategy includes: determining the control strategy of the starry sky roof based on the target distance being less than a first preset threshold, and controlling the starry sky roof according to the control strategy to remind the user to stay away from the starry sky roof.

[0035] A third aspect of the present invention provides a vehicle, the vehicle including a control terminal, the control terminal including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the vehicle control method described above.

[0036] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the vehicle control method described above.

[0037] The beneficial effects of the vehicle control method and device, vehicle, and storage medium provided in the embodiments of the present invention are as follows:

[0038] This invention addresses the issue that touching the starry sky display can easily damage it, affecting its display effect. Therefore, this invention obtains the target distance for the user inside the vehicle, determining the distance between the user's closest body part and the starry sky display. If a target distance is less than a first preset threshold, it indicates that a user's body part is too close to the starry sky display, and the user may touch it. To prevent this, this invention automatically triggers a first preset protection strategy when the starry sky display is in operation, controlling its operation to remind the user to move away. This automatic reminder effectively reduces the probability of damage and avoids impacting the display's performance. Attached Figure Description

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

[0040] Figure 1 This is a schematic flowchart of a vehicle control method provided in an embodiment of the present invention;

[0041] Figure 2 A schematic flowchart of a vehicle control method provided in another embodiment of the present invention;

[0042] Figure 3 A schematic flowchart of a vehicle control method provided in another embodiment of the present invention;

[0043] Figure 4 This is a schematic diagram of an intelligent anti-touch system provided in an embodiment of the present invention;

[0044] Figure 5 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of the present invention;

[0045] Figure 6 This is a schematic diagram of a vehicle control terminal provided in an embodiment of the present invention. Detailed Implementation

[0046] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of the invention. However, those skilled in the art will understand that the invention can be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of the invention with unnecessary detail.

[0047] To make the objectives, technical solutions, and advantages of the present invention clearer, specific embodiments will be described below in conjunction with the accompanying drawings.

[0048] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a vehicle control method according to an embodiment of the present invention. The method includes:

[0049] S101: Obtain the target distance of the user inside the vehicle and the status of the starry sky roof.

[0050] In this embodiment, the target distance is the distance between the nearest part of the user's body to the starry sky roof and the starry sky roof itself.

[0051] In this embodiment, the distance between the nearest body part of the user inside the vehicle and the starry sky ceiling can be detected by using the existing camera module, radar module, or other modules with distance monitoring functions. Based on this, the target distance of the user inside the vehicle can be directly obtained from the aforementioned camera module to facilitate subsequent vehicle control.

[0052] S102: If there is a target distance less than the first preset threshold and the current state is working, then the first preset protection strategy is triggered.

[0053] In this embodiment, the first preset protection strategy includes: determining a control strategy for the starry sky roof based on a target distance less than a first preset threshold, and controlling the starry sky roof according to the control strategy to remind the user to move away from the starry sky roof. The first preset protection strategy also includes: issuing a prompt message to remind the user to move away from the starry sky roof.

[0054] In this embodiment, if the starry sky roof is in working condition and a target distance less than a first preset threshold is detected, it indicates that the user may touch the starry sky roof. In this case, controlling the starry sky roof according to the control strategy can effectively remind the user to avoid touching it. This invention considers the complex installation structure, long replacement cycle, and high replacement cost of starry sky roofs. If touching the optical fiber causes the starry sky roof to malfunction or even break, it will harm the user's interests. Therefore, the solution based on this invention can reduce the probability of the optical fiber of the starry sky roof being touched to a certain extent.

[0055] This invention addresses the issue that touching the starry sky display can easily damage it, affecting its display effect. Therefore, this invention obtains the target distance for the user inside the vehicle, determining the distance between the user's closest body part and the starry sky display. If a target distance is less than a first preset threshold, it indicates that a user's body part is too close to the starry sky display, and the user may touch it. To prevent this, this invention automatically triggers a first preset protection strategy when the starry sky display is in operation, controlling its operation to remind the user to move away. This automatic reminder effectively reduces the probability of damage and avoids impacting the display's performance.

[0056] In one possible implementation, the control strategy for the starry sky top is determined based on a target distance less than a first preset threshold, including:

[0057] If all target distances less than the first preset threshold are greater than the second preset threshold, then the display strategy for the starry sky top is determined based on the target distances less than the first preset threshold, and this display strategy is set as the control strategy. The display strategy includes: the brightness adjustment ratio of the starry sky top, the flashing frequency of the starry sky top, and the flashing duration of the starry sky top.

[0058] If there is a target distance that is less than the first preset threshold and not greater than the second preset threshold, then closing the starry sky roof will be determined as the control strategy.

[0059] In this embodiment, considering the uncertainty of the distance between the user's body and the starry sky ceiling, a second preset threshold can be set to divide the target distance less than the first preset threshold into two cases. One case is that the target distance is less than the first preset threshold but greater than the second preset threshold, and the range of the target distance can be the range of the first threshold. The other case is that the target distance is less than the first preset threshold but not greater than the second preset threshold, and the range of the target distance can be the range of the second threshold. Compared to the first threshold range, when the target distance is in the second threshold range, the user's body is closer to the starry sky ceiling, and the user is more likely to touch the starry sky ceiling. Therefore, this invention can not only remind the user to move away from the starry sky ceiling by displaying the target distance in the first threshold range, but also remind the user to move away from the starry sky ceiling by turning off the starry sky ceiling when the target distance is in the second threshold range. According to the solution of this invention, the situation is more urgent when the starry sky ceiling is turned off.

[0060] In this embodiment, the second preset threshold is less than the first preset threshold, the brightness adjustment ratio of the starry sky top is the adjustment ratio of the brightness of the starry sky top display, which can be a decrease ratio of the brightness of the starry sky top display or an increase ratio of the brightness of the starry sky top display, and the flashing duration of the starry sky top is the duration of the flashing of the starry sky top.

[0061] In this embodiment, the starry sky top can either stop flashing after a certain duration of flashing, or it can automatically turn off after a certain duration of flashing.

[0062] In one possible implementation, the vehicle control method further includes:

[0063] If there is a target distance less than the first preset threshold and the target is in a non-working state, then the second preset protection strategy is triggered.

[0064] The second preset protection strategy includes issuing a prompt message to remind users to stay away from the starry sky roof.

[0065] In this embodiment, the second preset protection strategy may include: controlling the vehicle's instrument module to issue a prompt message and / or controlling the vehicle's voice module to issue a prompt message to remind the user to move away from the starry sky roof. When the starry sky roof is in a non-operating state, it is not necessary to control the brightness adjustment ratio, flashing frequency, or flashing duration of the starry sky roof; only the second preset protection strategy is triggered. In other words, the solution in this embodiment can still serve as a reminder even when the starry sky roof is in a non-operating state.

[0066] In this embodiment, the prompt message displayed by the instrument module on the vehicle could be: "You are currently too close to the starry sky dome; please avoid touching it." The prompt message displayed by the voice module on the vehicle could be: "You are currently too close to the starry sky dome; you may easily touch the optical fibers of the starry sky dome. Please adjust your vertical distance from the starry sky dome."

[0067] In one possible implementation, the control strategy for the starry sky top is determined based on a target distance less than a first preset threshold, including:

[0068] Determine the minimum distance among the target distances that are less than the first preset threshold.

[0069] The display strategy for the starry sky roof is determined based on the minimum distance.

[0070] In this embodiment, the display strategy can vary depending on the minimum distance. For example, the smaller the minimum distance, the larger the brightness adjustment ratio, the higher the flicker frequency, and the shorter the flicker duration in the display strategy. Alternatively, the smaller the minimum distance, the smaller the brightness adjustment ratio in the display strategy. The brightness adjustment method can be to decrease or increase the brightness, and the brightness adjustment ratio can be negatively correlated with the minimum distance or positively correlated with the minimum distance.

[0071] In this embodiment, when multiple users are present in the vehicle, there may be more than one user whose target distance is less than the first preset threshold. In this case, the display strategy can be determined based on the target distance (i.e., the minimum distance) of the user whose body part is closest to the starry sky roof. For example, if the first preset threshold is 30cm, the target distance for user A is 25cm, the target distance for user B is 15cm, and the target distance for user C is 5cm, then the display strategy for the starry sky roof is determined based on a target distance of 5cm.

[0072] In one possible implementation, the display strategy for the starry sky dome is determined based on the minimum distance, including:

[0073] Determine the preset range to which the minimum distance belongs.

[0074] The display strategy for the starry sky ceiling is determined based on the preset range it belongs to.

[0075] One preset range corresponds to one display strategy, and different preset ranges correspond to different display strategies.

[0076] In this embodiment, multiple ranges can be preset based on a first preset threshold. For example, two ranges can be preset: the first preset range can be less than the first preset threshold and not less than the second preset threshold, and the second preset range can be less than the second preset threshold.

[0077] Based on this, three ranges can also be preset, meaning more ranges can be defined using threshold points. For example, the first preset range can be further divided using preset threshold points to obtain three ranges. The first preset range is not less than the threshold point and less than the first preset threshold; the second preset range is not less than the second preset threshold and less than the threshold point; and the third preset range is not less than 0 and less than the second preset threshold, where the target distance is not less than 0.

[0078] In this embodiment, different warning levels can be set for different preset ranges. For example, if three ranges are preset, three warning levels can be set, and different warning levels can be matched with different protection strategies. A specific example is provided in this embodiment:

[0079] Taking a first preset threshold of 30cm, a threshold point of 20cm, and a second preset threshold of 10cm as an example, this example illustrates the "determining the display strategy of the starry sky ceiling based on its preset range".

[0080] In one possible implementation, the first preset threshold can be determined as follows:

[0081] Obtain the vehicle's interior space data, and determine a first preset threshold based on the vehicle's interior space data.

[0082] In this embodiment, the smaller the in-vehicle space, the smaller the first preset threshold. For example, a large SUV has a larger in-vehicle space and a lower probability of being touched, so the first preset threshold can be set relatively larger. Conversely, a small sedan has a smaller in-vehicle space and a higher probability of being touched, so the first preset threshold can be set relatively smaller.

[0083] Therefore, the following preset range data is for illustrative purposes only, and each OEM can set it according to the actual situation such as vehicle type and interior space size.

[0084] The first preset range is set as follows: 20 ≤ target distance < 30cm, which corresponds to a level one warning.

[0085] The second preset range is set as: 10 ≤ target distance < 20cm, corresponding to a level 2 warning.

[0086] The third preset range is set as: 0 ≤ target distance < 10cm, corresponding to a level 3 warning.

[0087] Based on the above settings, the following can be used as a reference for Level 1 warning scenarios:

[0088] If the starry sky roof is in working condition and the target distance is within the first preset range, it enters Level 1 warning mode. In Level 1 warning mode with the starry sky roof in working condition, the first preset protection strategy can be triggered. The specific first preset protection strategy can be: the starry sky roof automatically reduces its brightness by 50%, the starry sky roof flashes at a frequency of 1Hz, and the flashing duration is 3 seconds (this example uses a brightness reduction method, a brightness adjustment ratio of 50%, a flashing frequency of 1Hz, and a flashing time of 3 seconds as an example; by default, the starry sky roof automatically turns off after flashing for 3 seconds. Users can customize the brightness adjustment ratio on their mobile terminals or the vehicle's interactive screen). Simultaneously, a prompt message is issued through the vehicle's instrument panel and / or the vehicle's voice module. For example, the instrument panel can display: "You are currently too close to the starry sky roof; please avoid touching it." The voice module can explain to users why the starry sky roof is off, such as: You are currently too close to the starry sky roof and may easily touch the fiber optic cable. The starry sky roof's intelligent anti-touch system has activated the first-level warning and intelligent protection functions. Please adjust your vertical distance from the starry sky roof to >30cm.

[0089] If the starry sky roof is not in operation and the target distance is within the first preset range, a Level 1 warning mode will be activated. In this Level 1 warning mode, when the starry sky roof is not in operation, a second preset protection strategy can be triggered. This second preset protection strategy can involve issuing a warning message via the vehicle's instrument panel and / or voice module. For example, the instrument panel could display: "You are currently too close to the starry sky roof; please avoid touching it." The voice module could explain to the user why the starry sky roof is off, such as: "You are currently too close to the starry sky roof and are likely to touch its fiber optic cables. The starry sky roof's intelligent anti-touch system has activated Level 1 warning and intelligent protection functions. Please adjust your vertical distance to the starry sky roof to >30cm."

[0090] The above-mentioned first-level early warning mode can effectively prevent users from touching the starry sky ceiling and effectively reduce the probability of fiber optic damage.

[0091] Based on the above settings, the scenario for a Level 2 warning can be referenced from that for a Level 1 warning. The difference is that in the Level 2 warning mode, when the starry sky roof is in operation, a first preset protection strategy can be triggered. The specific parameters of the first preset protection strategy for Level 2 and Level 1 warnings are different. The specific first preset protection strategy can be: the starry sky roof automatically reduces its brightness by 70%, the flashing frequency of the starry sky roof is 2Hz, and the flashing duration is 1.5s (this example uses the brightness adjustment method of reducing brightness as an example, with a brightness adjustment ratio of 70%, a flashing frequency of 2Hz, and a flashing time of 1.5s as an example. By default, the starry sky roof automatically turns off after flashing for 1.5s. Users can customize the brightness adjustment ratio on mobile terminals or the vehicle's interactive screen). That is, the brightness reduction ratio of the starry sky roof in Level 2 warning mode is greater than that in Level 1 warning mode, the flashing frequency of the starry sky roof is greater than that in Level 1 warning mode, and the flashing duration of the starry sky roof is less than that in Level 1 warning mode.

[0092] The high-frequency flashing / brightness reduction / until automatic shutdown of the starry sky top, combined with prompts from the instrument module and / or voice module, will attract the user's attention and serve as a warning against the user continuing to touch the starry sky top.

[0093] Based on the above settings, the situation for a Level 3 warning can be referenced from that for a Level 1 warning. The difference is that when the Starry Sky Top is in working condition and the target distance is within the third preset range, the first preset protection strategy triggered is not to reduce the display brightness of the Starry Sky Top or control the Starry Sky Top to flash, but to control the Starry Sky Top to turn off.

[0094] In other words, this embodiment can achieve multi-level early warning by dividing multiple preset ranges, thereby better protecting the optical fiber and avoiding any impact on the performance of the starry sky top.

[0095] Based on this, this embodiment may also refer to Figure 2 , Figure 2 The process of gradually activating the various warning modes is shown. As the target distance changes, the user gets closer and closer to the starry sky top, gradually increasing the probability of touching the starry sky top. The warning mode also gradually switches from the first-level warning mode to the third-level warning mode in order to avoid the user touching the starry sky top as much as possible, reduce the probability of damage to the starry sky top, and thus ensure the performance of the starry sky top.

[0096] Based on this, this embodiment may also refer to Figure 3 , Figure 3 The process of gradually exiting the warning modes at each level is shown. As the target distance changes and the user moves further away from the starry sky top, the warning mode gradually switches from the third-level warning mode to the first-level warning mode until it completely exits the warning mode and returns to the original control state of the vehicle, ensuring the user experience.

[0097] In this embodiment, the brightness adjustment ratio, flashing frequency, and flashing duration of the starry sky display can be set by the user, or they can be automatically calculated based on the target distance. For example, the user-set brightness adjustment ratio is a1, flashing frequency is a2, and flashing duration is a3. The automatically calculated brightness adjustment ratio, flashing frequency, and flashing duration based on the target distance are b1, b2, and b3.

[0098] In this embodiment, upon receiving the user-defined brightness adjustment ratio a1, flashing frequency a2, and flashing duration a3, the brightness of the starry sky top is controlled according to the user-defined brightness adjustment ratio, and the starry sky top is controlled to flash according to the user-defined flashing frequency and flashing duration.

[0099] When the user-defined values ​​a1, a2, and a3 are not received, the brightness adjustment ratio b1, flashing frequency b2, and flashing duration b3 are automatically determined based on the target distance, and the starry sky top is controlled based on b1, b2, and b3.

[0100] In this embodiment, the brightness adjustment ratio, flashing frequency, and flashing duration can be set according to user needs. For example, users can customize the brightness adjustment ratio, flashing frequency, and flashing duration through a mobile terminal or the vehicle's interactive screen. Based on this, when the brightness adjustment ratio, flashing frequency, and flashing duration set by the user are received, the starry sky top can be directly controlled according to the brightness adjustment ratio, flashing frequency, and flashing duration set by the user.

[0101] Based on this, if the user does not set the brightness adjustment ratio, flashing frequency, and flashing duration, the starry sky top brightness adjustment ratio, flashing frequency, and flashing duration can be automatically calculated according to the current target distance, and the starry sky top can be controlled based on the aforementioned calculated brightness adjustment ratio, flashing frequency, and flashing duration.

[0102] In this embodiment, the mapping relationship between the brightness adjustment ratio, flashing frequency, and flashing duration and the target distance can be preset. Based on this, the current display strategy of the starry sky top is determined according to the current target distance and the preset mapping relationship.

[0103] In one possible implementation, the vehicle control method further includes:

[0104] Within the same ignition cycle, if after executing the preset protection strategy, if it is detected that there are still target distances less than the first preset threshold, and all target distances less than the first preset threshold are greater than the second preset threshold, then the duration for which the target distance is less than the first preset threshold is obtained.

[0105] If there is a duration longer than the preset time, the corresponding preset protection strategy will be triggered based on the current state of the starry sky top and the target distance being less than the first preset threshold.

[0106] If the duration is not greater than the preset time, the preset protection strategy will not be triggered.

[0107] Within the same ignition cycle, if after executing the preset protection strategy, if a target distance less than the first preset threshold is detected, and the target distance less than the first preset threshold is not greater than the second preset threshold, then the corresponding preset protection strategy is triggered according to the state of the starry sky top and the target distance less than the first preset threshold.

[0108] In this embodiment, the same ignition cycle means that the engine state remains unchanged at this time.

[0109] In this embodiment, the "target distance less than the first preset threshold" in "if there is a duration greater than the preset time, then trigger the corresponding preset protection strategy according to the state of the starry sky top and the target distance less than the first preset threshold" specifically refers to the target distance that is less than the first preset threshold and whose duration is less than the first preset threshold exceeds the preset time.

[0110] The phrase "If a target distance less than the first preset threshold is detected, and the target distance less than the first preset threshold is not greater than the second preset threshold, then the corresponding preset protection strategy is triggered based on the state of the starry sky top and the target distance less than the first preset threshold" is specifically defined in this embodiment as: triggering the corresponding preset protection strategy based on the state of the starry sky top and the target distance not greater than the second preset threshold.

[0111] In this embodiment, after executing the preset protection strategy, if the detected target distance is less than a first preset threshold and greater than a second preset threshold, the duration for which the target distance is less than the first preset threshold and greater than the second preset threshold is obtained. If the duration for which the target distance is less than the first preset threshold and greater than the second preset threshold is greater than a preset time, the corresponding preset protection strategy is triggered. If the duration for which the target distance is less than the first preset threshold and greater than the second preset threshold is not greater than the preset time, the corresponding preset protection strategy is not triggered. This effectively avoids the repeated triggering of the protection strategy.

[0112] Furthermore, in this embodiment, after the preset protection strategy is executed, if a target distance less than the first preset threshold and not greater than the second preset threshold is detected, it indicates that the user is more likely to touch the starry sky ceiling at this time. In order to remind the user to stay away from the starry sky ceiling, the corresponding preset protection strategy needs to be triggered.

[0113] Taking the Level 1 / Level 2 / Level 3 early warning and corresponding preset protection strategies in the above embodiments as examples, the above vehicle control method is specifically as follows:

[0114] If a Level 1 / Level 2 warning is still detected after the preset protection strategy for Level 1 / Level 2 / Level 3 warnings has been executed, the duration of the Level 1 / Level 2 warning is obtained. If the duration during which the target distance is less than the first preset threshold is greater than a preset time, the preset protection strategy corresponding to the Level 1 / Level 2 warning is executed according to the current state of the starry sky top. If the duration during which the target distance is less than the first preset threshold is not greater than the preset time, the preset protection strategy is not triggered.

[0115] If a Level 3 warning is still detected after the preset protection strategy for the Level 3 warning has been executed, the preset protection strategy corresponding to the Level 3 warning will be executed according to the current status of the Starry Sky Top.

[0116] Based on the above description, the priority of Level 1 / Level 2 / Level 3 warnings is as follows:

[0117] Level 3 early warning and corresponding preset protection strategy > Level 2 early warning and corresponding preset protection strategy > Level 1 early warning and corresponding preset protection strategy.

[0118] In this embodiment of the invention, the preset time can be 10 seconds (which can be adjusted according to the requirements of the OEM). Taking 10 seconds as an example, if the duration is not greater than the preset time, the first / second level warning will not be triggered (except for the third level warning, which is explained below), to prevent users from thinking it is a duplicate alarm. If the duration exceeds 10 seconds, and the first / second level warning still exists, the first / second level warning needs to be triggered again. The purpose is to solve the problem that other users are still intentionally or unintentionally touching the starry sky ceiling at this time.

[0119] Because Level 3 is the highest alert level and poses the greatest safety hazard to the stargazing ceiling, it must be switched to Level 3 alert immediately upon triggering any time a Level 3 alert is issued. However, for lower alert levels (Level 1 / 2), if the same level alert is triggered again within 10 seconds after the preset protection strategy for Level 1 / 2 has been executed, the alert and the corresponding preset protection strategy will not be triggered again.

[0120] If a Level 3 warning is triggered within 10 seconds after the execution of the preset protection strategy corresponding to Level 1 / Level 2 / Level 3 warnings, the Level 3 warning and the corresponding preset protection strategy must be triggered immediately.

[0121] If a Level 1 / Level 2 warning is triggered within 10 seconds after the preset protection strategy corresponding to the Level 1 / Level 2 / Level 3 warning is executed, then it is not necessary to trigger the Level 1 / Level 2 warning and the corresponding preset protection strategy again.

[0122] If a Level 1 / Level 2 / Level 3 warning is triggered again 10 seconds after the preset protection strategy corresponding to the Level 1 / Level 2 / Level 3 warning has been executed, then the Level 1 / Level 2 / Level 3 warning and the corresponding preset protection strategy must be triggered directly.

[0123] If they are not in the same ignition cycle (e.g., power-on restart (representing the engine going from off to restart)), then repeat steps S101 to S102 to re-trigger the corresponding preset protection strategy.

[0124] In one possible implementation, the vehicle control method further includes:

[0125] During the same ignition cycle, if it is detected that the preset protection strategy is triggered again during the execution of the preset protection strategy, and the minimum distance corresponding to the preset protection strategy that is triggered again is less than the minimum distance corresponding to the preset protection strategy that is being executed, then the preset protection strategy being executed will be switched to the preset protection strategy that was triggered again.

[0126] The minimum distance corresponding to a certain preset protection strategy refers to the minimum distance among the target distances that trigger the preset protection strategy.

[0127] In this embodiment, if another preset protection strategy B is detected during the execution of preset protection strategy A, and the minimum distance corresponding to preset protection strategy B is less than the minimum distance corresponding to the currently executing preset protection strategy A, then the currently executing preset protection strategy A is interrupted and switched to preset protection strategy B.

[0128] In this embodiment, the first / second / third level early warning and the corresponding preset protection strategy in the above embodiment are used as examples for explanation. For example, a high priority early warning is a third level early warning and a low priority early warning is a first / second level early warning.

[0129] The minimum distance corresponding to the aforementioned preset protection strategy B is less than the minimum distance corresponding to the currently executing preset protection strategy A, indicating that preset protection strategy B is a high-priority warning and preset protection strategy A is a low-priority warning. Therefore, the preset protection strategy corresponding to the high-priority warning interrupts the preset protection strategy corresponding to the low-priority warning.

[0130] Within the same ignition cycle, if a high-priority warning is detected while the preset protection strategy corresponding to a low-priority warning is being executed, the preset protection strategy corresponding to the low-priority warning will be interrupted, and the preset protection strategy corresponding to the high-priority warning will be executed. Specifically, the voice prompt for the high-priority warning will only be executed after the voice prompt for the low-priority warning has finished playing. If the voice prompt is interrupted, it must play the last word of the current voice prompt before switching to the voice prompt for the high-priority warning to avoid any stuttering at the end of the text. The voice switching process must be smooth. Similarly, if the instrument display prompt for a low-priority warning is interrupted, it must immediately switch to the instrument display prompt for the high-priority warning, and the switching process must be free of ghosting, screen flickering, or other artifacts.

[0131] Specifically, within the same ignition cycle, if a Level 3 warning is detected during the execution of the preset protection strategy corresponding to a Level 1 / Level 2 warning, then the preset protection strategy corresponding to the Level 3 warning will be executed.

[0132] In one possible implementation, the vehicle control method further includes:

[0133] Within the same ignition cycle, if during the execution of the preset protection strategy, it is detected that the preset protection strategy is triggered again, and the minimum distance corresponding to the re-triggered preset protection strategy is not less than the minimum distance corresponding to the currently executed preset protection strategy, then the currently executed preset protection strategy will continue to be executed.

[0134] In this embodiment, if another preset protection strategy D is detected during the execution of preset protection strategy C, and the minimum distance corresponding to preset protection strategy C is not less than the minimum distance corresponding to the currently executing preset protection strategy D, then the currently executing preset protection strategy C continues to be executed.

[0135] If the minimum distance corresponding to the aforementioned preset protection strategy C is not less than the minimum distance corresponding to the currently executing preset protection strategy D, it indicates that preset protection strategy C and preset protection strategy D are warnings of the same level, or that preset protection strategy C is a low-priority warning and preset protection strategy D is a high-priority warning.

[0136] When preset protection strategy C and preset protection strategy D are warnings of the same level:

[0137] Within the same ignition cycle, if a high-priority warning is detected during the execution of the preset protection strategy corresponding to the high-priority warning, the preset protection strategy corresponding to the current high-priority warning will continue to be executed.

[0138] Specifically, within the same ignition cycle, if a Level 3 warning is detected during the execution of the preset protection strategy corresponding to the Level 3 warning, the preset protection strategy corresponding to the current Level 3 warning will continue to be executed.

[0139] Within the same ignition cycle, if a low-priority warning is detected during the execution of the preset protection strategy corresponding to the low-priority warning, the preset protection strategy corresponding to the current low-priority warning will continue to be executed.

[0140] Specifically, within the same ignition cycle, if a Level 1 or Level 2 warning is detected during the execution of the preset protection strategy corresponding to the Level 1 warning, the preset protection strategy corresponding to the current Level 1 warning will continue to be executed.

[0141] Specifically, within the same ignition cycle, if a Level 1 or Level 2 warning is detected during the execution of the preset protection strategy corresponding to the Level 2 warning, the preset protection strategy corresponding to the current Level 2 warning will continue to be executed.

[0142] Preset protection strategy C is a low-priority warning, and preset protection strategy D is a high-priority warning. In this invention, the preset protection strategy corresponding to the low-priority warning interrupts the preset protection strategy corresponding to the high-priority warning.

[0143] Within the same ignition cycle, if a low-priority warning is detected during the execution of the preset protection strategy corresponding to the high-priority warning, the preset protection strategy corresponding to the current high-priority warning will continue to be executed.

[0144] Specifically, within the same ignition cycle, if a Level 1 or Level 2 warning is detected during the execution of the preset protection strategy corresponding to the Level 3 warning, the preset protection strategy corresponding to the current Level 3 warning will continue to be executed.

[0145] Based on the descriptions in the various embodiments of the present invention, the solutions of the embodiments of the present invention can be implemented based on an intelligent anti-touch system. Please refer to [the relevant documentation]. Figure 4 ( Figure 4 The mobile terminal in this context refers to the user's mobile terminal. The intelligent anti-touch system 40 can be directly implemented based on existing devices on the vehicle. Vehicles are usually equipped with interactive screens, camera modules, voice modules, control terminals, instrument modules, etc. No additional functional modules are required to achieve the protection function of optical fibers, thereby achieving the protection function of the starry sky roof.

[0146] The working principle of this intelligent anti-touch system is as follows: The camera module (e.g., a camera) acquires the user's position in real time. If the camera module detects that the user's head, fingers, or other body parts are close to the starry sky ceiling and less than the first preset threshold, it will send a signal to the control terminal. The control terminal will automatically activate the corresponding warning prompts and intelligent protection based on the preset range to which the minimum distance belongs.

[0147] It should be understood that the sequence number of each step in the above embodiments does not imply 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 invention.

[0148] The following are device embodiments of the present invention. For details not described in detail, please refer to the corresponding method embodiments described above.

[0149] Figure 5 This is a schematic diagram of a vehicle control device according to an embodiment of the present invention. For ease of explanation, only the parts relevant to the embodiment of the present invention are shown. (Reference) Figure 5 The vehicle control device 50 includes:

[0150] The data acquisition module 51 is used to acquire the target distance of the user inside the vehicle and the current state of the starry sky roof. The target distance is the distance between the nearest part of the user's body to the starry sky roof and the starry sky roof itself.

[0151] The vehicle control module 52 is used to perform the following steps: if there is a target distance less than the first preset threshold and the current state is working, then the first preset protection strategy is triggered.

[0152] The first preset protection strategy includes: determining the control strategy for the starry sky roof based on the target distance being less than the first preset threshold, and controlling the starry sky roof according to the control strategy to remind users to stay away from the starry sky roof.

[0153] In one possible implementation, the vehicle control module 52 is used to determine the control strategy of the starry sky top based on the target distance being less than a first preset threshold.

[0154] The control strategy for the starry sky top is determined based on the target distance being less than a first preset threshold, including:

[0155] If all target distances less than the first preset threshold are greater than the second preset threshold, then the display strategy for the starry sky top is determined based on the target distances less than the first preset threshold, and this display strategy is set as the control strategy. The display strategy includes: the brightness adjustment ratio of the starry sky top, the flashing frequency of the starry sky top, and the flashing duration of the starry sky top.

[0156] If there is a target distance that is less than the first preset threshold and not greater than the second preset threshold, then closing the starry sky roof will be determined as the control strategy.

[0157] In one possible implementation, the vehicle control module 52 is configured to trigger a second preset protection strategy if there is a target distance less than a first preset threshold and the current state is non-working.

[0158] The second preset protection strategy includes issuing a prompt message to remind users to stay away from the starry sky roof.

[0159] In one possible implementation, the vehicle control module 52 is used to determine the control strategy of the starry sky top based on the target distance being less than a first preset threshold.

[0160] The control strategy for the starry sky top is determined based on the target distance being less than a first preset threshold, including:

[0161] Determine the minimum distance among the target distances that are less than the first preset threshold.

[0162] The display strategy for the starry sky roof is determined based on the minimum distance.

[0163] In one possible implementation, the vehicle control module 52 is used to determine the display strategy of the starry sky roof based on the minimum distance.

[0164] The display strategy for the starry sky dome is determined based on the minimum distance, including:

[0165] Determine the preset range to which the minimum distance belongs.

[0166] The display strategy for the starry sky ceiling is determined based on the preset range it belongs to.

[0167] One preset range corresponds to one display strategy, and different preset ranges correspond to different display strategies.

[0168] In one possible implementation, the vehicle control module 52 is configured to, within the same ignition cycle, if after executing a preset protection strategy, it is detected that there are still target distances less than a first preset threshold, and all target distances less than the first preset threshold are greater than a second preset threshold, then obtain the duration for which the target distance is less than the first preset threshold.

[0169] If there is a duration longer than the preset time, the corresponding preset protection strategy will be executed based on the current state of the starry sky top and the target distance less than the first preset threshold.

[0170] If the duration is not greater than the preset time, the preset protection strategy will not be executed.

[0171] Within the same ignition cycle, if after executing the preset protection strategy, if a target distance less than the first preset threshold is detected, and the target distance less than the first preset threshold is not greater than the second preset threshold, then the corresponding preset protection strategy is executed according to the state of the starry sky top and the target distance less than the first preset threshold.

[0172] In one possible implementation, the vehicle control module 52 is configured to, within the same ignition cycle, if it detects that the preset protection strategy has been triggered again during the execution of the preset protection strategy, and the minimum distance corresponding to the re-triggered preset protection strategy is less than the minimum distance corresponding to the currently executed preset protection strategy, then switch the executed preset protection strategy to the re-triggered preset protection strategy.

[0173] The minimum distance corresponding to a certain preset protection strategy refers to the minimum distance among the target distances that trigger the preset protection strategy.

[0174] This invention also provides a vehicle, which includes a control terminal, see below. Figure 6 , Figure 6 This is a schematic diagram of the vehicle control terminal provided in an embodiment of the present invention. Figure 6 As shown, the control terminal 60 in this embodiment includes a processor 61, a memory 62, and a computer program 63 stored in the memory 62 and executable on the processor 61. When the processor 61 executes the computer program 63, it implements the steps described in the various vehicle control method embodiments above, for example... Figure 1 S101 to S102 are shown. Alternatively, when processor 61 executes computer program 63, it implements the functions of each module in the above-described device embodiments, for example... Figure 5 The functions of modules 51 to 52 are shown.

[0175] For example, computer program 63 can be divided into one or more modules, one or more modules are stored in memory 62 and executed by processor 61 to complete the present invention. One or more modules can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of computer program 63 in control terminal 60. For example, computer program 63 can be divided into... Figure 5 Modules 51 to 52 are shown.

[0176] The control terminal 60 can be a computing device such as a desktop computer, laptop, handheld computer, or cloud server. The control terminal 60 may include, but is not limited to, a processor 61 and a memory 62. Those skilled in the art will understand that... Figure 6 This is merely an example of control terminal 60 and does not constitute a limitation on control terminal 60. It may include more or fewer components than shown, or combine certain components, or different components. For example, control terminal may also include input / output devices, network access devices, buses, etc.

[0177] The processor 61 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0178] The memory 62 can be an internal storage unit of the control terminal 60, such as the hard disk or RAM of the control terminal 60. The memory 62 can also be an external storage device of the control terminal 60, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the control terminal 60. Furthermore, the memory 62 can include both internal storage units and external storage devices of the control terminal 60. The memory 62 is used to store computer programs and other programs and data required by the terminal. The memory 62 can also be used to temporarily store data that has been output or will be output.

[0179] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this invention. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0180] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0181] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0182] In the embodiments provided by this invention, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0183] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0184] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0185] If the integrated module is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various vehicle control method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0186] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A vehicle control method characterized by, The vehicle control method includes: Obtain the target distance corresponding to the user inside the vehicle and the current state of the starry sky roof; wherein, the target distance is the distance between the user's closest body part to the starry sky roof and the starry sky roof; If there is a target distance less than the first preset threshold and the current state is the working state, then the first preset protection strategy is triggered. The first preset protection strategy includes: determining a control strategy for the starry sky roof based on target distances less than a first preset threshold, and controlling the starry sky roof according to the control strategy to remind users to move away from the starry sky roof; determining the control strategy for the starry sky roof based on target distances less than the first preset threshold includes: if all target distances less than the first preset threshold are greater than a second preset threshold, then determining a display strategy for the starry sky roof based on target distances less than the first preset threshold, and setting the display strategy as the control strategy; the display strategy includes: the brightness adjustment ratio of the starry sky roof, the flashing frequency of the starry sky roof, and the flashing duration of the starry sky roof; if there is a target distance less than the first preset threshold and not greater than the second preset threshold, then turning off the starry sky roof is set as the control strategy.

2. The vehicle control method according to claim 1, characterized by, The vehicle control method further includes: If there is a target distance less than the first preset threshold and the current state is a non-working state, then the second preset protection strategy is triggered. The second preset protection strategy includes: issuing a prompt message to remind the user to stay away from the starry sky ceiling.

3. The vehicle control method as described in claim 1, characterized in that, The control strategy for determining the starry sky top based on a target distance less than a first preset threshold includes: Determine the minimum distance among the target distances that are less than the first preset threshold; The display strategy for the starry sky ceiling is determined based on the minimum distance.

4. The vehicle control method as described in claim 3, characterized in that, The method for determining the display strategy of the starry sky ceiling based on the minimum distance includes: Determine the preset range to which the minimum distance belongs; The display strategy of the starry sky ceiling is determined according to the preset range to which it belongs; One preset range corresponds to one display strategy, and different preset ranges correspond to different display strategies.

5. The vehicle control method as described in claim 1, characterized in that, The vehicle control method further includes: Within the same ignition cycle, if after executing the preset protection strategy, if it is detected that there are still target distances less than the first preset threshold and all target distances less than the first preset threshold are greater than the second preset threshold, then the duration for which the target distance is less than the first preset threshold is obtained. If there is a duration longer than the preset time, the corresponding preset protection strategy will be triggered based on the current state of the starry sky top and the target distance less than the first preset threshold. If the duration of each of the above is not greater than the preset time, the preset protection strategy will not be triggered. Within the same ignition cycle, if after executing the preset protection strategy, if a target distance smaller than the first preset threshold is detected, and the target distance smaller than the first preset threshold is not greater than the second preset threshold, then the corresponding preset protection strategy is triggered according to the state of the starry sky top and the target distance smaller than the first preset threshold.

6. The vehicle control method as described in claim 3, characterized in that, The vehicle control method further includes: During the same ignition cycle, if it is detected that the preset protection strategy is triggered again during the execution of the preset protection strategy, and the minimum distance corresponding to the preset protection strategy that is triggered again is less than the minimum distance corresponding to the preset protection strategy that is being executed, then the preset protection strategy being executed will be switched to the preset protection strategy that is triggered again. The minimum distance corresponding to a certain preset protection strategy refers to the minimum distance among the target distances that trigger the preset protection strategy.

7. A vehicle control device, characterized in that, The vehicle control device includes: The data acquisition module is used to acquire the target distance of the user inside the vehicle and the status of the starry sky roof; wherein, the target distance is the distance between the user's body part closest to the starry sky roof and the starry sky roof; The vehicle control module is used to perform the following steps: if there is a target distance less than a first preset threshold and the current state is a working state, then the first preset protection strategy is triggered; The first preset protection strategy includes: determining a control strategy for the starry sky roof based on target distances less than a first preset threshold, and controlling the starry sky roof according to the control strategy to remind users to move away from the starry sky roof; determining the control strategy for the starry sky roof based on target distances less than the first preset threshold includes: if all target distances less than the first preset threshold are greater than a second preset threshold, then determining a display strategy for the starry sky roof based on target distances less than the first preset threshold, and setting the display strategy as the control strategy; the display strategy includes: the brightness adjustment ratio of the starry sky roof, the flashing frequency of the starry sky roof, and the flashing duration of the starry sky roof; if there is a target distance less than the first preset threshold and not greater than the second preset threshold, then turning off the starry sky roof is set as the control strategy.

8. A vehicle, characterized in that, include: Control terminal; The control terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 6.