Vehicle function control method, electronic equipment and vehicle
By obtaining the vehicle system voltage and turning off the vehicle function based on the voltage status and duration, the problem of low functional control efficiency when the voltage is abnormal is solved, and the safety and control efficiency of the vehicle are improved.
Patent Information
- Application Number
- CN202411381929.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2024-12-10
AI Technical Summary
The prior art cannot control the vehicle functions in a timely and efficient manner, especially when the system voltage is too high or too low, it may affect the use of functions or increase safety hazards and endanger the safety of vehicles and personnel.
By obtaining the system voltage of the vehicle, determining the voltage status, and closing the target function, including auxiliary functions and main functions, avoiding the use of non-essential functions in abnormal voltage states, reducing power load, and improving Security.
It realizes timely and efficient control of vehicle functions in an abnormal voltage state, reduces the risk of failure, avoids functional damage, and improves the safety and control efficiency of the vehicle.
Smart Images

Figure CN119099517A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method for controlling vehicle functions, an electronic device, and a vehicle. Background Art
[0002] With the development of intelligence, the software integration of the whole vehicle is getting higher and higher, and many functions of the vehicle are closely related to the system voltage of the vehicle. For example, too high or too low voltage may affect the use of certain functions, or if the vehicle still uses some non-essential functions when the voltage is too high or too low, it will increase the safety risks of the vehicle and endanger the safety of the vehicle and personnel. Summary of the invention
[0003] In view of this, the purpose of the present application is to propose a vehicle function control method, electronic device and vehicle to solve the problem of being unable to control vehicle functions in a timely and efficient manner.
[0004] Based on the above purpose, the first aspect of the present application provides a method for controlling a vehicle function, comprising:
[0005] Acquiring a system voltage of the vehicle, and determining a voltage state of the vehicle based on the system voltage;
[0006] In response to the voltage state being a target voltage state, determining a duration of the target voltage state;
[0007] A target function is determined based on the duration and a preset function library, and the target function of the vehicle is turned off.
[0008] Optionally, determining a target function based on the duration and a preset function library, and shutting down the target function, includes:
[0009] Based on the duration, determining a fault level;
[0010] Based on the fault level, a target function corresponding to the fault level is determined in the preset function library, and the target function is turned off.
[0011] Optionally, the target function includes an auxiliary function and a main function;
[0012] The determining the target function based on the duration and the preset function library, and shutting down the target function, comprises:
[0013] In response to the duration being greater than or equal to a first preset time and less than a second preset time, determining that the fault level is a first fault level; wherein the second preset time is greater than the first preset time;
[0014] Based on the first-level fault level, determining in the preset function library that the target function corresponding to the first-level fault level is an auxiliary function and a main function;
[0015] Turn off the auxiliary function and prohibit the auxiliary function from being turned on;
[0016] Acquire environmental information, and disable the main function based on the environmental information.
[0017] Optionally, the environmental information includes rainfall information, the main function includes a wiper function, the wiper function includes a wiper high-speed function and a wiper low-speed function, and the wiper speed of the wiper high-speed function is greater than the wiper speed of the wiper low-speed function;
[0018] The shutting down the main function based on the environmental information includes:
[0019] In response to the rainfall information being less than or equal to a first preset rainfall value, turning off the wiper function and prohibiting the wiper function from being turned on;
[0020] In response to the rainfall information being greater than the first preset rainfall value and less than or equal to a second preset rainfall value, turning off the wiper function and prohibiting the wiper high-speed function from being turned on;
[0021] In response to the rainfall information being greater than a second preset rainfall value, turning off the windshield wiper high-speed function;
[0022] Wherein, the second preset rainfall value is greater than the first preset rainfall value.
[0023] Optionally, the environmental information includes light intensity information, the main function includes a lighting function, the lighting function includes a first brightness function and a second brightness function, and the second brightness is greater than the first brightness;
[0024] The shutting down the main function based on the environmental information includes:
[0025] In response to the light intensity information being greater than or equal to a first preset intensity, turning off the light function and prohibiting the light function from being turned on;
[0026] In response to the light intensity information being greater than a second preset intensity and less than a first preset intensity, turning off the light function and prohibiting the second brightness function from turning on;
[0027] In response to the light intensity information being less than or equal to a second preset intensity, turning off the second brightness function;
[0028] Wherein, the first preset strength is greater than the second preset strength.
[0029] Optionally, the environmental information includes horizontal visibility information, and the main function includes a fog lamp function;
[0030] The shutting down the main function based on the environmental information includes:
[0031] In response to the horizontal visibility information being greater than or equal to a first visibility, turning off the fog lamp function and prohibiting turning on the fog lamp function;
[0032] In response to the horizontal visibility information being greater than the second visibility and less than the first visibility, turning off the fog lamp function;
[0033] Wherein, the first visibility is greater than the second visibility.
[0034] Optionally, the target function includes an auxiliary function or a non-essential function, and the non-essential function is all functions on the vehicle except a power-off function;
[0035] The determining the target function based on the duration and the preset function library, and shutting down the target function, comprises:
[0036] In response to the duration being greater than or equal to a third preset time and less than the first preset time, determining that the fault level is a secondary fault level, determining that the target function is an auxiliary function in the preset function library based on the secondary fault level, turning off the auxiliary function, and prohibiting the auxiliary function from being turned on; wherein the first preset time is greater than the third preset time;
[0037] In response to the duration being greater than or equal to a second preset time, the fault level is determined to be a special fault level, based on the special fault level, the target function is determined to be a non-essential function in the preset function library, and the non-essential function is turned off.
[0038] Optionally, determining the voltage state of the vehicle based on the system voltage includes:
[0039] In response to the system voltage being less than a preset minimum voltage and the system voltage duration being greater than a fourth preset time, determining that the voltage state of the vehicle is a low voltage state;
[0040] In response to the system voltage being greater than or equal to a preset minimum voltage and less than a preset maximum voltage, and the system voltage duration being greater than a fourth preset time, determining that the voltage state of the vehicle is a normal state;
[0041] In response to the system voltage being greater than or equal to a preset maximum voltage, and the system voltage duration being greater than a fourth preset time, it is determined that the voltage state of the vehicle is a high voltage state.
[0042] The second aspect of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that when the processor executes the program, it implements the method described in any one of the first aspects above.
[0043] The third aspect of the present application also provides a vehicle, comprising the electronic device described in the second aspect.
[0044] From the above, it can be seen that the control method, electronic device and vehicle of the vehicle function provided by the present application obtain the system voltage of the vehicle and determine the voltage state of the vehicle based on the system voltage, and the execution step of judging whether it is the target voltage state based on the voltage state only needs to be performed once. When the voltage state is determined to be the target voltage state, the duration of the target voltage state is determined, and then the target function is determined based on the duration and the preset function library, and the target function of the vehicle is turned off. That is, based on the premise of obtaining the system voltage once and judging that the voltage state is the target voltage state, the target function corresponding to the duration in all functions of the vehicle can be determined from the preset function library, and then one or more target functions can be controlled to be turned off at the same time, so that the power load of the vehicle can be reduced, the vehicle fault condition can be avoided to be aggravated, and the safety of the vehicle can be improved. At the same time, the judgment result of obtaining the system voltage once and judging whether the voltage state is the target voltage state can be applied to all functions of the vehicle to determine the target function in all functions, and the controller of each function does not need to obtain the system voltage and judge the system voltage, which greatly simplifies the control logic of each function and improves the control efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0046] Figure 1 A schematic flow chart of a method for controlling a vehicle function according to an embodiment of the present application;
[0047] Figure 2 A schematic diagram of a control device for a vehicle function according to an embodiment of the present application;
[0048] Figure 3 A schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0049] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0050] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0051] With the development of intelligence, the software integration of the whole vehicle is getting higher and higher, and many functions of the vehicle are closely related to the system voltage of the vehicle. For example, too high or too low voltage may affect the use of certain functions, or if the vehicle still uses some non-essential functions when the voltage is too high or too low, it will increase the safety risks of the vehicle and endanger the safety of the vehicle and personnel.
[0052] Therefore, it is important to timely control the relevant functions of the vehicle based on the system voltage of the vehicle. However, there are many functions on the vehicle, including but not limited to the dome light, reading light, front wiper function, rear wiper function, front fog light, rear fog light, low beam, high beam, daytime running light, ground light, door light, door handle light, reversing light, follow-up function, corner light, front washing function, rear washing function, trunk light, atmosphere light output, seat ventilation and heating function, approach light show, unlocking light show, exhibition hall light show, front nozzle heating function, front wiper heating function, etc.
[0053] At present, for these functions, each controller of each function needs to collect the system voltage and determine whether the system voltage is too high or too low. When it is determined that the system voltage is too high or too low, the controller of each function controls the corresponding function to be turned off.
[0054] With this control method, on the one hand, each functional controller needs to collect the system voltage and determine whether the system voltage is too large or too small, which is equivalent to each functional controller performing repeated operations on the system voltage, resulting in cumbersome steps and low control efficiency. On the other hand, the judgment result of each functional controller on the system voltage can only be used to control its corresponding function, and cannot control other functions.
[0055] Therefore, if it is possible to control multiple functions of the vehicle at the same time by performing only one operation to determine the system voltage, the control logic of each function can be greatly simplified, the control efficiency can be improved, and the various functions of the vehicle can be controlled in a timely and efficient manner based on the voltage status.
[0056] Based on this, see Figure 1 The present application provides a method for controlling vehicle functions, which is executed by a vehicle controller, and the method includes:
[0057] Step S100, obtaining a system voltage of the vehicle, and determining a voltage state of the vehicle based on the system voltage;
[0058] Step S200, in response to the voltage state being a target voltage state, determining a duration of the target voltage state;
[0059] Step S300: determining a target function based on the duration and the preset function library, and shutting down the target function of the vehicle.
[0060] Specifically, first, the system voltage of the vehicle is obtained. The system voltage is the low voltage of the vehicle, provided by the vehicle battery, and under normal circumstances, the system voltage of the vehicle is 12V.
[0061] Secondly, the voltage state of the vehicle is determined based on the system voltage. The voltage state includes a high voltage state, a low voltage state and a normal state. The high voltage state and the low voltage state are abnormal states, which can also be called a fault state. At this time, the functions of the vehicle need to be controlled to avoid damaging certain functions of the vehicle or aggravating the fault condition of the vehicle.
[0062] Next, it is determined whether the voltage state is a target voltage state. The target voltage state is the high voltage state and the low voltage state. When it is determined that the voltage state is a target voltage state, the duration of the target voltage state is determined.
[0063] Finally, the target function is determined based on the duration and the preset function library. The preset function library is a preset set of all vehicle functions and the duration of voltage states allowed by the functions. Different durations may correspond to different target functions, and the target function may be one or more of the multiple functions of the vehicle. Based on the duration and the preset function library, it can be determined which functions must be turned off under the premise of the duration, otherwise these functions will be damaged or the fault of the vehicle will be aggravated.
[0064] After determining the target function, shutting down the target function of the vehicle can reduce the power load of the vehicle, avoid aggravating the vehicle's fault conditions, improve the safety of the vehicle, and also prevent the target function from being damaged under the target voltage state.
[0065] In the present application, the steps of obtaining the system voltage of the vehicle and determining the voltage state of the vehicle based on the system voltage, and judging whether it is the target voltage state based on the voltage state need only be performed once. When it is determined that the voltage state is the target voltage state, the duration of the target voltage state is determined, and then the target function is determined based on the duration and the preset function library, and the target function of the vehicle is turned off. That is, based on the premise of obtaining the system voltage once and judging that the voltage state is the target voltage state, the target function corresponding to the duration among all the functions of the vehicle can be determined from the preset function library, and then one or more target functions can be controlled to be turned off at the same time. This can reduce the power load of the vehicle, avoid aggravating the fault condition of the vehicle, improve the safety of the vehicle, and at the same time avoid the target function being damaged in the target voltage state.
[0066] At the same time, in the present application, the result of obtaining the system voltage once and determining whether the voltage state is the target voltage state can be applied to all functions of the vehicle to determine the target function among all functions. There is no need for the controller of each function to obtain the system voltage and make a judgment on the system voltage, which greatly simplifies the control logic of each function and improves the control efficiency, so that the various functions of the vehicle can be controlled based on the voltage state in a timely and efficient manner.
[0067] In some embodiments, the step S300 determines the target function based on the duration and the preset function library, and turns off the target function, including:
[0068] Based on the duration, determining a fault level;
[0069] Based on the fault level, a target function corresponding to the fault level is determined in the preset function library, and the target function is turned off.
[0070] Specifically, when determining the target function based on the duration and the preset function library, the fault level is first determined based on the duration. The longer the duration of the target voltage state is, the longer the duration of the vehicle being in the high voltage or low voltage state is, and the higher the fault level of the vehicle is at this time. Therefore, the fault level can be determined based on the duration.
[0071] The target functions corresponding to different fault levels are not exactly the same. For example, when the fault level is higher, the fault level of the vehicle is more serious, and it is necessary to turn off all unnecessary functions as much as possible to avoid aggravating the fault level of the vehicle. Therefore, the number of target functions will be relatively large. When the fault level is lower, the fault level of the vehicle is not too serious, and some marginal functions or auxiliary functions need to be turned off. This can avoid aggravating the fault level of the vehicle and will not affect the use of some main functions of the vehicle.
[0072] Therefore, it is necessary to determine the target function corresponding to the fault level in the preset function library based on the fault level, and then turn off the target function. In this way, the safety and functionality of the vehicle can be taken into account. Safety can be prioritized under the premise of insufficient safety, and the functionality of the vehicle can be taken into account under the premise of ensuring safety.
[0073] In the present application, the fault level is determined based on the duration, and then the corresponding target function is determined based on the fault level and the target function is turned off. In this way, the appropriate target function is determined based on the fault level, so that the turning off of the target function can take into account the safety and functionality of the vehicle, which can avoid aggravating the degree of vehicle failure and improve the safety of the vehicle, and will not affect the use of some major functions of the vehicle, thereby improving the functionality of the vehicle.
[0074] In some embodiments, the target function includes a secondary function and a primary function.
[0075] The auxiliary functions are functions that are not closely related to driving. The existence of such functions can improve the automation level of the vehicle and the driving experience, but turning off such functions will not affect the normal use of the vehicle. For example, the auxiliary functions include but are not limited to ceiling lights, reading lights, front washing functions, rear washing functions, ambient light output, seat ventilation and heating functions, approach light show, unlocking light show, exhibition hall light show, front nozzle heating function, front wiper heating function, etc.
[0076] The main functions are functions closely related to driving. The existence of such functions can enable the vehicle to have certain functions when in use. Turning off these functions will cause the vehicle to be unable to use these functions, which will cause some inconvenience and may also affect the driving effect of the vehicle. For example, the main functions include but are not limited to the front wiper function, rear wiper function, front fog light, rear fog light, low beam, high beam, daytime running light, ground light, door light, door handle light, reversing light, follow-up vehicle function, corner light, front washing function, rear washing function, trunk light, etc.
[0077] In some embodiments, the step S300 determines the target function based on the duration and the preset function library, and turns off the target function, including:
[0078] In response to the duration being greater than or equal to a first preset time and less than a second preset time, determining that the fault level is a first fault level; wherein the second preset time is greater than the first preset time;
[0079] Based on the first-level fault level, determining in the preset function library that the target function corresponding to the first-level fault level is an auxiliary function and a main function;
[0080] Turn off the auxiliary function and prohibit the auxiliary function from being turned on;
[0081] Acquire environmental information, and disable the main function based on the environmental information.
[0082] Specifically, the first preset time is a preset time threshold of a medium fault, and the second preset time is a preset time threshold of a severe fault. When the duration is less than the first preset time, it means that the duration is short and the vehicle is in a slight fault state; when the duration is greater than or equal to the first preset time and less than the second preset time, it means that the duration of the target voltage state is long and the vehicle is in a medium fault state; when the duration is greater than or equal to the second preset time, it means that the duration of the target voltage state is very long and the vehicle is in a severe fault state.
[0083] Different fault states can be determined based on different durations, and thus different fault levels can be determined.
[0084] When the duration is greater than or equal to the first preset time and less than the second preset time, the duration of the target voltage state of the vehicle is relatively long, and the vehicle is in a medium fault state, so the fault level is determined to be a first-level fault level.
[0085] The first level fault level is a medium fault level, so it is necessary to turn off all non-essential functions as much as possible to avoid aggravating the vehicle's fault level or damaging related functions of the vehicle.
[0086] Therefore, based on the first-level fault level, the target functions corresponding to the first-level fault level are determined in the preset function library as auxiliary functions and main functions. Since the auxiliary functions and main functions have different characteristics, different operations need to be performed based on the auxiliary functions and main functions.
[0087] As for the auxiliary functions, since turning off these auxiliary functions will not affect the use of the vehicle, the auxiliary functions are directly turned off and prohibited from being turned on to avoid aggravating the degree of vehicle failure or damaging related functions of the vehicle.
[0088] For the main functions, since shutting down the main functions will affect the use of the vehicle, the main functions cannot be shut down directly. Instead, it is necessary to obtain environmental information and determine whether the environmental information meets the shut-down conditions.
[0089] When the environmental information meets the shutdown conditions, the main functions can be shut down based on the environmental information. At this time, since the environmental information meets the shutdown conditions, it means that the vehicle does not need to use these main functions in this environment. Therefore, shutting down the main functions will not affect the use of the vehicle. Only then can the main functions be shut down.
[0090] When the environmental information does not meet the shutdown conditions, the main functions cannot be shut down. At this time, since the environmental information does not meet the shutdown conditions, it means that the vehicle needs to use these main functions in this environment. Therefore, shutting down the main functions will affect the use of the vehicle. At this time, the main functions cannot be shut down.
[0091] In the present application, the corresponding target functions are determined as auxiliary functions and main functions based on the first-level fault level, and different shutdown operations are performed based on the auxiliary functions and the main functions. In this way, the auxiliary functions can be directly turned off and the auxiliary functions are prohibited from being turned on to avoid aggravating the degree of vehicle failure or damaging related functions of the vehicle, thereby improving the safety of the vehicle. The main functions can also be turned off based on environmental information to improve the functionality of the vehicle, thereby ensuring the normal use of vehicle functions while ensuring safety.
[0092] In some embodiments, the environmental information includes rainfall information, the main function includes a wiper function, the wiper function includes a wiper high-speed function and a wiper low-speed function, and the wiper speed of the wiper high-speed function is greater than the wiper speed of the wiper low-speed function.
[0093] The shutting down the main function based on the environmental information includes:
[0094] In response to the rainfall information being less than or equal to a first preset rainfall value, turning off the wiper function and prohibiting the wiper function from being turned on;
[0095] In response to the rainfall information being greater than the first preset rainfall value and less than or equal to a second preset rainfall value, turning off the wiper function and prohibiting the wiper high-speed function from being turned on;
[0096] In response to the rainfall information being greater than a second preset rainfall value, turning off the windshield wiper high-speed function;
[0097] Wherein, the second preset rainfall value is greater than the first preset rainfall value.
[0098] Specifically, the first preset rainfall value is a rainfall threshold when the preset rainfall is very small, and the second preset rainfall value is a preset threshold when the rainfall is relatively large.
[0099] When the rainfall information is less than or equal to the first preset rainfall value, it indicates that the rainfall in the external environment is very small and almost negligible. At this time, the possibility of the user using the wiper function is very small, and turning off the wiper function will not affect the normal use of the vehicle. Therefore, all functions of the wiper function are directly turned off and the wiper function is prohibited from being turned on to avoid aggravating the degree of vehicle failure or damaging the wiper function controller.
[0100] When the rainfall information is greater than the first preset rainfall value and less than or equal to the second preset rainfall value, it indicates that there is light rain in the external environment at this time. At this time, the user may use the wiper, but will not use the wiper high-speed function. Therefore, the wiper function is turned off and the wiper high-speed function is prohibited from being turned on to avoid aggravating the degree of vehicle failure. However, the wiper low-speed function is not prohibited from being turned on, that is, the user is allowed to manually turn on the wiper low-speed function to ensure that the user can turn on the wiper low-speed function when needed to ensure driving safety.
[0101] In response to the rainfall information being greater than the second preset rainfall value, it indicates that there is light rain, moderate rain or heavy rain in the external environment at this time, and the user is very likely to use the wiper function at this time, so the wiper high-speed function is turned off but the wiper low-speed function is not turned off, and the activation of the wiper high-speed function and the wiper low-speed function is not prohibited, so as to ensure that the user can turn on the wiper low-speed function and the wiper high-speed function when needed, thereby ensuring driving safety.
[0102] In the present application, different operations of shutting down the wiper function are performed based on different situations of rainfall information. Some functions of the wiper can be shut down to avoid aggravating the degree of vehicle failure, and some necessary functions of the wiper can be retained to ensure driving safety and improve the safety of the vehicle.
[0103] In some embodiments, the environmental information includes light intensity information, the main function includes a lighting function, the lighting function includes a first brightness function and a second brightness function, and the second brightness is greater than the first brightness. Exemplarily, the lighting function includes but is not limited to low beam, high beam, daytime running light, ground light, door light, door handle light, reverse light, follow-up function, corner light, front washing function, rear washing function, trunk light, etc.
[0104] The shutting down the main function based on the environmental information includes:
[0105] In response to the light intensity information being greater than or equal to a first preset intensity, turning off the light function and prohibiting the light function from being turned on;
[0106] In response to the light intensity information being greater than a second preset intensity and less than a first preset intensity, turning off the light function and prohibiting the second brightness function from turning on;
[0107] In response to the light intensity information being less than or equal to a second preset intensity, turning off the second brightness function;
[0108] Wherein, the first preset strength is greater than the second preset strength.
[0109] Specifically, the second preset intensity is a threshold of rainfall when the preset light intensity is very low, and the first preset intensity is a threshold of preset light intensity being relatively high.
[0110] When the light intensity information is greater than or equal to the first preset intensity, it means that the light intensity in the external environment is very strong at this time. At this time, the possibility of the user using the light function is very small, and turning off the light function will not affect the normal use of the vehicle. Therefore, all functions of the light function are directly turned off and the light function is prohibited from being turned on to avoid aggravating the degree of vehicle failure or damaging the wiper function controller.
[0111] When the light intensity information is greater than the second preset intensity and less than the first preset intensity, it means that the light intensity in the external environment is moderate at this time. At this time, the user may use the light function, but will not use the second brightness function with higher brightness. Therefore, at this time, the light function is turned off and the second brightness function is prohibited from being turned on to avoid aggravating the degree of vehicle failure. However, the first brightness function is not prohibited from being turned on, that is, the user is allowed to manually turn on the first brightness function to ensure that the user can turn on the first brightness function when needed to ensure driving safety.
[0112] In response to the light intensity information being less than or equal to the second preset intensity, it indicates that the light intensity in the external environment is relatively low at this time, and the user is very likely to use the light function at this time. Therefore, the second brightness function is turned off but the first brightness function is not turned off, and the first brightness function and the second brightness function are not prohibited from being turned on, so as to ensure that the user can turn on the first brightness function and the second brightness function when needed to ensure driving safety.
[0113] In the present application, different operations of shutting down the lighting function are performed based on different situations of light intensity information. Not only can some functions of the lighting function be shut down to avoid aggravating the degree of vehicle failure, but some necessary functions of the lighting function can also be retained to ensure driving safety and improve the safety of the vehicle.
[0114] In some embodiments, the environmental information includes horizontal visibility information, and the primary function includes a fog light function;
[0115] The shutting down the main function based on the environmental information includes:
[0116] In response to the horizontal visibility information being greater than or equal to a first visibility, turning off the fog lamp function and prohibiting turning on the fog lamp function;
[0117] In response to the horizontal visibility information being greater than the second visibility and less than the first visibility, turning off the fog lamp function;
[0118] Wherein, the first visibility is greater than the second visibility.
[0119] Specifically, the first visibility is a preset visibility threshold when the visibility is far, and the second visibility is a preset visibility threshold when the visibility is close.
[0120] When the horizontal visibility information is greater than or equal to the first visibility, it means that the visibility in the external environment is far away at this time. At this time, the possibility of the user using the fog light function is very small, and turning off the fog light function will not affect the normal use of the vehicle. Therefore, the fog light function is directly turned off and the fog light function is prohibited from being turned on to avoid aggravating the degree of vehicle failure or damaging the wiper function controller.
[0121] When the horizontal visibility information is greater than the second visibility and less than the first visibility, it means that the visibility in the external environment is relatively close at this time, and the user may use the fog lights at this time. Therefore, the fog light function is turned off at this time but the fog light function is not prohibited from being turned on, so as to ensure that the user can turn on the fog light function when needed to ensure driving safety.
[0122] When the horizontal visibility information is less than the second visibility, it means that the visibility in the external environment is very close at this time, and the user almost needs to use the fog lights at this time. Therefore, the fog light function is not turned off at this time to ensure that the user can turn on the fog light function when needed to ensure driving safety.
[0123] In the present application, different operations of shutting down the fog lamp function are performed based on different situations of horizontal visibility information, which can not only avoid aggravating the degree of vehicle failure, but also improve the safety of the vehicle.
[0124] In some embodiments, the target function includes an auxiliary function or a non-essential function, and the non-essential function is all functions on the vehicle except a power-off function;
[0125] The step S300 determines the target function based on the duration and the preset function library, and turns off the target function, including:
[0126] In response to the duration being greater than or equal to a third preset time and less than the first preset time, determining that the fault level is a secondary fault level, determining that the target function is an auxiliary function in the preset function library based on the secondary fault level, turning off the auxiliary function, and prohibiting the auxiliary function from being turned on; wherein the first preset time is greater than the third preset time;
[0127] In response to the duration being greater than or equal to a second preset time, the fault level is determined to be a special fault level, based on the special fault level, the target function is determined to be a non-essential function in the preset function library, and the non-essential function is turned off.
[0128] Specifically, the third preset time is a preset time threshold for a minor fault, and the second preset time is a preset time threshold for a serious fault.
[0129] When the duration is greater than or equal to the third preset time and less than the first preset time, the duration of the target voltage state of the vehicle is short and the vehicle is in a minor fault state, so the fault level is determined to be a secondary fault level.
[0130] The second-level fault level is a minor fault level. At this time, the degree of the vehicle's fault is not too serious, and some marginal functions or auxiliary functions need to be turned off. Therefore, based on the second-level fault level, the target function is determined to be an auxiliary function in the preset function library, the auxiliary function is turned off, and the auxiliary function is prohibited from being turned on. This can avoid aggravating the degree of the vehicle's fault and will not affect the use of some major functions of the vehicle.
[0131] When the duration is greater than or equal to the second preset time, the duration of the target voltage state of the vehicle is very long and the vehicle is in a serious fault state. Therefore, the fault level is determined to be a special fault level. At this time, the target function is determined to be a non-essential function, that is, all functions on the vehicle except the power-off function. The non-essential functions are turned off to ensure vehicle safety.
[0132] In the present application, the fault level is determined based on the duration, and then the corresponding target function is determined based on the fault level and the target function is turned off. In this way, the appropriate target function is determined based on the fault level, so that the turning off of the target function can take into account the safety and functionality of the vehicle, which can avoid aggravating the degree of vehicle failure and improve the safety of the vehicle, and will not affect the use of some major functions of the vehicle, thereby improving the functionality of the vehicle.
[0133] In some embodiments, determining the voltage state of the vehicle based on the system voltage in step S100 includes:
[0134] In response to the system voltage being less than a preset minimum voltage and the system voltage duration being greater than or equal to a fourth preset time, determining that the voltage state of the vehicle is a low voltage state;
[0135] In response to the system voltage being greater than or equal to a preset minimum voltage and less than a preset maximum voltage, and the system voltage duration being greater than or equal to a fourth preset time, determining that the voltage state of the vehicle is a normal state;
[0136] In response to the system voltage being greater than or equal to a preset maximum voltage, and the system voltage duration being greater than or equal to a fourth preset time, it is determined that the voltage state of the vehicle is a high voltage state.
[0137] Specifically, the preset minimum voltage is a preset system minimum voltage, and the preset maximum voltage is a preset system maximum voltage.
[0138] The fourth preset time is the shortest duration of the target voltage state. When the duration is less than the fourth preset time, the voltage state lasts too short and is unstable, and cannot be used as a basis for judgment.
[0139] When the system voltage is less than the preset minimum voltage and the system voltage duration is greater than or equal to the third preset time, it means that the system voltage is low voltage and the duration reaches a preset value. At this time, it is determined that the voltage state of the vehicle is a low voltage state.
[0140] When the system voltage is greater than or equal to the preset minimum voltage and less than the preset maximum voltage, and the system voltage duration is greater than or equal to the third preset time, it means that the system voltage is normal and the duration reaches the preset value. At this time, it is determined that the voltage state of the vehicle is normal.
[0141] When the system voltage is greater than or equal to the preset maximum voltage, and the system voltage duration is greater than or equal to the third preset time, it means that the system voltage is high voltage and the duration reaches the preset value. At this time, it is determined that the voltage state of the vehicle is a high voltage state.
[0142] The low voltage state and the high voltage state are both abnormal states, and various functions on the vehicle need to be shut down based on the low voltage state and the high voltage state to avoid damage to the functions and related hardware under abnormal voltage conditions or aggravate the degree of vehicle failure.
[0143] In the present application, the voltage state of the vehicle is determined based on the system voltage and its duration, so that the functions of the vehicle are operated accordingly based on the voltage state to improve the safety of the vehicle.
[0144] In some embodiments, the system voltage is divided into three states: normal, low voltage, and high voltage. The vehicle function control method further includes:
[0145] 1. When the system is powered on, the voltage may fluctuate within 100ms because the system is initializing. At this time, the default state of the system voltage is normal, and then the voltage state is monitored in real time; the voltage sampling circuit sends the controller voltage to the voltage processing module VRM in real time;
[0146] 2. After the system wakes up, it first determines the voltage status and automatically updates the voltage status; and outputs the voltage normal interface;
[0147] 3. In the low voltage state, if "low voltage recovery voltage ≤ system voltage < normal voltage upper limit" and it is stable for 2±0.1S (i.e. the fourth preset time), the voltage state becomes normal;
[0148] 4. Under high voltage state, if "normal voltage lower limit ≤ system voltage < high voltage recovery voltage" and it is stable for 2±0.1S continuously, the voltage state becomes normal;
[0149] 5. In any state, if "system voltage < normal voltage lower limit" and is stable for 2±0.1S continuously, the voltage state becomes low voltage;
[0150] 6. In any state, if the "system voltage > normal voltage upper limit" and is stable for 0.2±0.1S continuously, the voltage state is high voltage;
[0151] 7. In all other cases, the voltage state remains unchanged;
[0152] 8. The VRM module feeds back the voltage status to other functional modules in real time. Since high voltage is dangerous and can easily damage the controller or components, each functional module is controlled based on the voltage status. The specific operations are as follows:
[0153] a. If the voltage is high or low for more than 10 seconds (i.e. the third preset time), the user will be notified through the yellow light on the instrument that the vehicle needs to be stopped for inspection. If the voltage is high, the electric energy management module EEM will send a message to shut down the following functions:
[0154] 1). If the ceiling light and reading light are in the door control position, turn off the ceiling light and reading light;
[0155] 2). Turn off the follow-home function;
[0156] 3). Turn off the front wiper high-speed function;
[0157] 4). Turn off the ambient light output. It cannot be controlled by the switch at this time;
[0158] 5). Control to turn off the ventilation and heating function output of the front and rear seats and the switch signal cannot be used at this time;
[0159] 6). Control the closing of the approach light show, unlocking light show, and exhibition hall light show, and cannot be turned on again by the switch;
[0160] 7). Control and shut down the front nozzle heating function and the front wiper heating function.
[0161] b. If the voltage is high or low for more than 30 seconds (i.e. the first preset time), the red light on the instrument will notify the user that the vehicle needs to be stopped for inspection and away from the vehicle. If the voltage is high, the EEM will send a command to shut down the following functions:
[0162] 1) Turn off the follow-home function. If the ceiling light and reading light are in the door control position, turn off the ceiling light and reading light;
[0163] 2). Turn off the front wiper function. If it is turned on, it needs to return to its original position automatically;
[0164] 3). Turn off the rear wiper function. If it is turned on, it will automatically return to its original position.
[0165] 4). Turn off the front fog light output;
[0166] 5). Turn off the rear fog light output;
[0167] 6). Turn off the low beam output;
[0168] 7). Turn off the high beam output;
[0169] 8). Turn off the daytime running light output;
[0170] 9). Turn off the output of the floor lamp;
[0171] 10). Turn off the door light output;
[0172] 11). Turn off the door handle light output;
[0173] 12). Turn off the reversing light output;
[0174] 13). Turn off the follow-up car search function;
[0175] 14). Turn off the corner light output;
[0176] 15). Turn off the front washing function;
[0177] 16). Washing function after shutting down;
[0178] 17). Turn off the luggage compartment light output;
[0179] 18). Turn off the ambient light output. It cannot be controlled by the switch at this time;
[0180] 19). Control to turn off the ventilation and heating functions of the front and rear seats and cannot be controlled by switch signals at this time;
[0181] 20). Control the closing of the approach light show, unlocking light show, and exhibition hall light show, and cannot be turned on again by the switch;
[0182] 21). Control and shut down the front nozzle heating function and the front wiper heating function.
[0183] c. If the voltage remains high or low for more than 1 minute (i.e. the second preset time), the user will be notified and the 4S shop will be informed through the purple light on the instrument. At this time, the fault is serious. At this time, the EEM sends a command to shut down all loads except the power supply.
[0184] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0185] It should be noted that some embodiments of the present application are described above. In some cases, the actions or steps recorded in the above embodiments can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0186] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a control device for vehicle functions.
[0187] refer to Figure 2 , the control device of the vehicle function comprises:
[0188] The acquisition module 100 is configured to acquire a system voltage of the vehicle and determine a voltage state of the vehicle based on the system voltage;
[0189] The determination module 200 is configured to determine the duration of the target voltage state in response to the voltage state being the target voltage state;
[0190] The execution module 300 is configured to determine a target function based on the duration and a preset function library, and turn off the target function of the vehicle.
[0191] In some embodiments, the execution module 300 is further configured to:
[0192] Based on the duration, determining a fault level;
[0193] Based on the fault level, a target function corresponding to the fault level is determined in the preset function library, and the target function is turned off.
[0194] In some embodiments, the target function includes a secondary function and a primary function.
[0195] In some embodiments, the execution module 300 is further configured to:
[0196] In response to the duration being greater than or equal to a first preset time and less than a second preset time, determining that the fault level is a first fault level; wherein the second preset time is greater than the first preset time;
[0197] Based on the first-level fault level, determining in the preset function library that the target function corresponding to the first-level fault level is an auxiliary function and a main function;
[0198] Turn off the auxiliary function and prohibit the auxiliary function from being turned on;
[0199] Acquire environmental information, and disable the main function based on the environmental information.
[0200] In some embodiments, the environmental information includes rainfall information, the main function includes a wiper function, the wiper function includes a wiper high-speed function and a wiper low-speed function, and the wiper speed of the wiper high-speed function is greater than the wiper speed of the wiper low-speed function.
[0201] In some embodiments, the execution module 300 is further configured to:
[0202] In response to the rainfall information being less than or equal to a first preset rainfall value, turning off the wiper function and prohibiting the wiper function from being turned on;
[0203] In response to the rainfall information being greater than the first preset rainfall value and less than or equal to a second preset rainfall value, turning off the wiper function and prohibiting the wiper high-speed function from being turned on;
[0204] In response to the rainfall information being greater than a second preset rainfall value, turning off the windshield wiper high-speed function;
[0205] Wherein, the second preset rainfall value is greater than the first preset rainfall value.
[0206] In some embodiments, the environmental information includes light intensity information, the main function includes a light function, the light function includes a first brightness function and a second brightness function, and the second brightness is greater than the first brightness.
[0207] In some embodiments, the execution module 300 is further configured to:
[0208] In response to the light intensity information being greater than or equal to a first preset intensity, turning off the light function and prohibiting the light function from being turned on;
[0209] In response to the light intensity information being greater than a second preset intensity and less than a first preset intensity, turning off the light function and prohibiting the second brightness function from turning on;
[0210] In response to the light intensity information being less than or equal to a second preset intensity, turning off the second brightness function;
[0211] Wherein, the first preset strength is greater than the second preset strength.
[0212] In some embodiments, the environmental information includes horizontal visibility information, and the primary function includes a fog light function.
[0213] In some embodiments, the execution module 300 is further configured to:
[0214] In response to the horizontal visibility information being greater than or equal to a first visibility, turning off the fog lamp function and prohibiting turning on the fog lamp function;
[0215] In response to the horizontal visibility information being greater than the second visibility and less than the first visibility, turning off the fog lamp function;
[0216] Wherein, the first visibility is greater than the second visibility.
[0217] In some embodiments, the target function includes an auxiliary function or a non-essential function, and the non-essential function is all functions on the vehicle except a power-off function.
[0218] In some embodiments, the execution module 300 is further configured to:
[0219] In response to the duration being greater than or equal to a third preset time and less than the first preset time, determining that the fault level is a secondary fault level, determining that the target function is an auxiliary function in the preset function library based on the secondary fault level, turning off the auxiliary function, and prohibiting the auxiliary function from being turned on; wherein the first preset time is greater than the third preset time;
[0220] In response to the duration being greater than or equal to a second preset time, the fault level is determined to be a special fault level, based on the special fault level, the target function is determined to be a non-essential function in the preset function library, and the non-essential function is turned off.
[0221] In some embodiments, the acquisition module 100 is further configured to:
[0222] In response to the system voltage being less than a preset minimum voltage and the system voltage duration being greater than a fourth preset time, determining that the voltage state of the vehicle is a low voltage state;
[0223] In response to the system voltage being greater than or equal to a preset minimum voltage and less than a preset maximum voltage, and the system voltage duration being greater than a fourth preset time, determining that the voltage state of the vehicle is a normal state;
[0224] In response to the system voltage being greater than or equal to a preset maximum voltage, and the system voltage duration being greater than a fourth preset time, it is determined that the voltage state of the vehicle is a high voltage state.
[0225] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0226] The device of the above embodiment is used to implement the control method of the corresponding vehicle function in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0227] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the control method of the vehicle function described in any of the above embodiments is implemented.
[0228] Figure 3 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0229] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0230] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0231] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0232] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0233] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0234] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0235] The electronic device of the above-mentioned embodiment is used to implement the control method of the corresponding vehicle function in any of the above-mentioned embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0236] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the control method of the vehicle function described in any of the above embodiments.
[0237] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0238] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the vehicle function control method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0239] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the vehicle function control method described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.
[0240] Based on the same inventive concept, corresponding to any of the above embodiments and methods, the present application also provides a vehicle, the vehicle comprising the device, electronic device, storage medium or computer program product described in any of the above embodiments. The vehicle has the beneficial effects of the corresponding method embodiments, which will not be described in detail here.
[0241] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.
[0242] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0243] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0244] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0245] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0246] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0247] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0248] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.
Claims
1. A method for controlling a vehicle function, characterized in that: include: Acquiring a system voltage of the vehicle, and determining a voltage state of the vehicle based on the system voltage; In response to the voltage state being a target voltage state, determining a duration of the target voltage state; A target function is determined based on the duration and a preset function library, and the target function of the vehicle is turned off.
2. The method according to claim 1, characterized in that The determining the target function based on the duration and the preset function library, and shutting down the target function, comprises: Based on the duration, determining a fault level; Based on the fault level, a target function corresponding to the fault level is determined in the preset function library, and the target function is turned off.
3. The method according to claim 2, characterized in that The target functions include auxiliary functions and main functions; The determining the target function based on the duration and the preset function library, and shutting down the target function, comprises: In response to the duration being greater than or equal to a first preset time and less than a second preset time, determining that the fault level is a first fault level; wherein the second preset time is greater than the first preset time; Based on the first-level fault level, determining in the preset function library that the target function corresponding to the first-level fault level is an auxiliary function and a main function; Turn off the auxiliary function and prohibit the auxiliary function from being turned on; Acquire environmental information, and disable the main function based on the environmental information.
4. The method according to claim 3, characterized in that The environmental information includes rainfall information, the main function includes a wiper function, the wiper function includes a wiper high-speed function and a wiper low-speed function, and the wiper speed of the wiper high-speed function is greater than the wiper speed of the wiper low-speed function; The shutting down the main function based on the environmental information includes: In response to the rainfall information being less than or equal to a first preset rainfall value, turning off the wiper function and prohibiting the wiper function from being turned on; In response to the rainfall information being greater than the first preset rainfall value and less than or equal to a second preset rainfall value, turning off the wiper function and prohibiting the wiper high-speed function from being turned on; In response to the rainfall information being greater than a second preset rainfall value, turning off the windshield wiper high-speed function; Wherein, the second preset rainfall value is greater than the first preset rainfall value.
5. The method according to claim 3, characterized in that: The environmental information includes light intensity information, the main function includes a lighting function, the lighting function includes a first brightness function and a second brightness function, and the second brightness is greater than the first brightness; The shutting down the main function based on the environmental information includes: In response to the light intensity information being greater than or equal to a first preset intensity, turning off the light function and prohibiting the light function from being turned on; In response to the light intensity information being greater than a second preset intensity and less than a first preset intensity, turning off the light function and prohibiting the second brightness function from turning on; In response to the light intensity information being less than or equal to a second preset intensity, turning off the second brightness function; Wherein, the first preset strength is greater than the second preset strength.
6. The method according to claim 3, characterized in that The environmental information includes horizontal visibility information, and the main function includes a fog lamp function; The shutting down the main function based on the environmental information includes: In response to the horizontal visibility information being greater than or equal to a first visibility, turning off the fog lamp function and prohibiting turning on the fog lamp function; In response to the horizontal visibility information being greater than the second visibility and less than the first visibility, turning off the fog lamp function; Wherein, the first visibility is greater than the second visibility.
7. The method according to claim 2, characterized in that: The target function includes an auxiliary function or a non-essential function, and the non-essential function is all functions on the vehicle except a power-off function; The determining the target function based on the duration and the preset function library, and shutting down the target function, comprises: In response to the duration being greater than or equal to a third preset time and less than the first preset time, determining that the fault level is a secondary fault level, determining that the target function is an auxiliary function in the preset function library based on the secondary fault level, turning off the auxiliary function, and prohibiting the auxiliary function from being turned on; wherein the first preset time is greater than the third preset time; In response to the duration being greater than or equal to a second preset time, the fault level is determined to be a special fault level, based on the special fault level, the target function is determined to be a non-essential function in the preset function library, and the non-essential function is turned off.
8. The method according to claim 1, characterized in that The determining the voltage state of the vehicle based on the system voltage comprises: In response to the system voltage being less than a preset minimum voltage and the system voltage duration being greater than a fourth preset time, determining that the voltage state of the vehicle is a low voltage state; In response to the system voltage being greater than or equal to a preset minimum voltage and less than a preset maximum voltage, and the system voltage duration being greater than a fourth preset time, determining that the voltage state of the vehicle is a normal state; In response to the system voltage being greater than or equal to a preset maximum voltage, and the system voltage duration being greater than a fourth preset time, it is determined that the voltage state of the vehicle is a high voltage state.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.
10. A vehicle comprising the electronic device according to claim 9.
Citation Information
Cited By
Vehicle function control method and apparatus, electronic device, and vehicle
WO2026067719A1
