Anti-abuse method and device for vehicle component, vehicle and storage medium
By using timers and counter arrays to limit the frequency of motor operation in the vehicle's anti-abuse mode, the problem of low universality of component protection in existing technologies is solved, thereby extending the service life of components and improving the level of intelligence.
Patent Information
- Application Number
- CN202211500728.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2042-11-28
AI Technical Summary
Existing technologies limit the movement of components by their frequency of operation, which is insufficient to effectively protect vehicle components. This results in low protection universality, low level of intelligence, and an inability to effectively extend the service life of vehicle components.
When the vehicle is in anti-abuse mode, the frequency of motor operation is judged and timer arrays and counter arrays are used to limit the operation frequency of vehicle components, including prohibiting components from operating again when preset conditions are met, and generating an abuse warning signal.
Effectively prevents the misuse of vehicle components, extends the service life of components, improves vehicle intelligence and practicality, and ensures the reliability and interactivity of components.
Smart Images

Figure CN116118648B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive control technology, and in particular to a method, device, vehicle, and storage medium for preventing the misuse of vehicle components. Background Technology
[0002] Currently, with the rapid development of automotive technology, automobiles have made great progress in terms of intelligence and safety. As an important component of automobiles, motors are distributed in many parts of the car, such as windows, seats, and rearview mirrors. Frequent operation in a short period of time can affect the service life of vehicle components.
[0003] In related technologies, the protection of the automobile rear door strut motor can be calculated based on the motor's running time, downtime, and preset technical rules to start the motor protection, thereby controlling the operation of the strut motor and protecting the rear door strut motor.
[0004] However, current technologies that limit the movement of components by their frequency of action are insufficient to effectively protect vehicle components. They also have low universality of protection, low level of intelligence, and cannot effectively extend the service life of vehicle components, thus requiring urgent improvement. Summary of the Invention
[0005] This application provides a method, device, vehicle, and storage medium for preventing abuse of vehicle components, in order to solve the problems in related technologies, such as the difficulty in effectively protecting vehicle components by limiting their operation frequency, low universality of protection, low level of intelligence, and inability to effectively extend the service life of vehicle components.
[0006] The first aspect of this application provides a method for preventing abuse of a vehicle component, comprising the following steps: when the current vehicle is in an anti-abuse mode, determining whether an action of the motor of the current vehicle component is triggered; if an action of the motor of the current vehicle component is triggered, determining whether the total number of actions of the motor of the current vehicle component is less than a preset threshold; and if the total number of motor actions is less than the preset threshold, activating timers whose index in the timer array is less than the number of actions, and simultaneously executing preset counting actions for counters whose index in the counter array is less than the number of actions; otherwise, continuously counting for all elements of the timer array, and simultaneously executing the preset counting actions for all elements of the counter array, and prohibiting the current vehicle component from acting again for a preset period of time when the timer array or the counter array reaches a preset stop condition.
[0007] Based on the above technical means, the embodiments of this application can determine whether the motor of the current vehicle component has been triggered when the current vehicle is in the anti-abuse mode, and determine whether the total number of motor actions of the current vehicle component is less than a preset threshold. Based on the determination result, anti-abuse is carried out based on the frequency of motor actions, and timer array is used for restriction, thereby preventing the abuse of vehicle components, extending the service life of components, and improving the intelligence and practicality of the vehicle.
[0008] Optionally, in one embodiment of this application, the preset stop condition includes any count value in the counter array being greater than or equal to the preset threshold or the timing value in the timer array being less than a preset duration.
[0009] Based on the above technical means, the stopping conditions in this application embodiment include any count value in the counter array being greater than or equal to a certain threshold or the timing value in the timer array being less than a certain duration. Based on the stopping conditions, the abuse of vehicle components can be further prevented, and the practicality of the vehicle can be guaranteed.
[0010] Optionally, in one embodiment of this application, when the timer array or the counter array reaches a preset stop condition, the method further includes: obtaining the index value corresponding to the count value that is greater than or equal to the preset threshold and clearing it to zero; or, clearing the count value that is less than the preset duration to zero.
[0011] Based on the above technical means, the embodiments of this application can obtain the index value corresponding to the count value that is greater than or equal to a certain threshold and clear it to zero, or clear the time value that is less than a certain duration to zero, thereby achieving the stopping condition and prohibiting the vehicle parts from operating again within a certain period of time, thus preventing the abuse of vehicle parts.
[0012] Optionally, in one embodiment of this application, the method further includes: generating an abuse warning signal for the at least one target vehicle component; and controlling the vehicle to issue a warning based on the abuse warning signal.
[0013] Based on the above technical means, the embodiments of this application can generate an abuse reminder signal for at least one target vehicle component, and control the vehicle to remind the user based on the abuse reminder signal, thereby reminding the user of the current usage status of the vehicle component, preventing abuse of the vehicle component, and improving interactivity.
[0014] Optionally, in one embodiment of this application, the step of controlling the vehicle to issue a warning based on the abuse warning includes: detecting the actual power level of the vehicle; when the actual power level is ON, controlling the vehicle lights to flash as a warning, and simultaneously controlling at least one acoustic warning device and / or at least one optical warning device to issue a warning; when the actual power level is OFF, controlling the vehicle lights to flash as a warning, and simultaneously sending the abuse warning signal to a preset mobile terminal.
[0015] Based on the above-mentioned technical means, the embodiments of this application can detect the actual power level of the vehicle and, according to different actual power levels, control the vehicle lights to flash as a reminder, control at least one acoustic reminder device and / or at least one optical reminder device to provide a reminder, or send an abuse reminder signal to a preset mobile terminal, thereby providing corresponding reminders when the user operates the device, preventing abuse of vehicle components, extending the service life of vehicle components, and improving the timeliness and effectiveness of the reminders.
[0016] Optionally, in one embodiment of this application, before preventing the current vehicle component from operating again, the method further includes:
[0017] Determine whether the current action of the current vehicle component meets the preset stop condition; if the preset stop condition is not met, then after the current action ends, the current vehicle component is prohibited from acting again.
[0018] Based on the above technical means, the embodiments of this application can determine whether the current action of at least one target vehicle component meets the stopping condition, and if the stopping condition is not met, prohibit the action of at least one target vehicle component after the current action ends, thereby further preventing the abuse of vehicle components, ensuring the reliability of the vehicle, and improving the intelligence level of the vehicle.
[0019] Optionally, in one embodiment of this application, when the current vehicle is in the anti-abuse mode, the method further includes: collecting the actual temperature of the current vehicle components; when the actual temperature is higher than a first preset temperature, prohibiting the current vehicle components from operating until the actual temperature is lower than a second preset temperature, wherein the first preset temperature is higher than the second preset temperature.
[0020] Based on the above-mentioned technical means, the embodiments of this application can collect the actual temperature of the current vehicle, and when the actual temperature is higher than a certain temperature, prohibit the operation of the current vehicle components, intervene in the vehicle components in advance, thereby preventing the abuse of vehicle components and ensuring the practicality of the vehicle.
[0021] A second aspect of this application provides an anti-abuse device for a vehicle component, comprising: a first judgment module, configured to determine whether an action of the motor of the current vehicle component has been triggered when the current vehicle is in an anti-abuse mode; a second judgment module, configured to determine whether the total number of actions of the motor of the current vehicle component is less than a preset threshold if the action of the motor of the current vehicle component is triggered; and a control module, configured to, if the total number of motor actions is less than the preset threshold, activate timers with timer array indices less than the number of actions, and simultaneously execute preset counting actions with counters with counter array indices less than the number of actions; otherwise, continuously count all elements of the timer array and execute the preset counting actions with all elements of the counter array, and prohibit the current vehicle component from acting again for a preset period of time when the timer array or the counter array reaches a preset stop condition.
[0022] Optionally, in one embodiment of this application, the preset stop condition includes any count value in the counter array being greater than or equal to the preset threshold or the timing value in the timer array being less than a preset duration.
[0023] Optionally, in one embodiment of this application, it further includes: an acquisition module, used to acquire the index value corresponding to the count value that is greater than or equal to the preset threshold, and clear it to zero; or, a clearing module, used to clear the timing value that is less than the preset duration to zero.
[0024] Optionally, in one embodiment of this application, it further includes: a generation module for generating an abuse warning signal for the current vehicle component; and a warning module for controlling the vehicle to issue a warning based on the abuse warning signal.
[0025] Optionally, in one embodiment of this application, the reminder module includes: a detection unit for detecting the actual power level of the vehicle; a reminder unit for controlling the vehicle lights to flash as a reminder when the actual power level is ON, and simultaneously controlling at least one acoustic reminder device and / or at least one optical reminder device to provide a reminder; and a sending unit for controlling the vehicle lights to flash as a reminder when the actual power level is OFF, and simultaneously sending the abuse reminder signal to a preset mobile terminal.
[0026] Optionally, in one embodiment of this application, it further includes: a third judgment module, used to judge whether the current action of the current vehicle component meets a preset stop condition; and a first control prohibition module, used to prohibit the current vehicle component from acting again after the current action ends if the preset stop condition is not met.
[0027] Optionally, in one embodiment of this application, it further includes: a data acquisition module, used to acquire the actual temperature of the current vehicle components when the current vehicle is in the anti-abuse mode; and a second control prohibition module, used to prohibit the operation of the current vehicle components when the actual temperature is higher than a first preset temperature, until the actual temperature is lower than a second preset temperature, wherein the first preset temperature is higher than the second preset temperature.
[0028] A third aspect of this application provides a vehicle, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for preventing abuse of vehicle components as described in the above embodiments.
[0029] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for preventing misuse of vehicle components.
[0030] The beneficial effects of the embodiments of this application are as follows:
[0031] (1) In this embodiment of the application, when the current vehicle is in the anti-abuse mode, it can determine whether the current vehicle component motor has been triggered and whether the total number of motor actions is less than a preset threshold. Based on the determination result, anti-abuse is carried out according to the frequency of motor actions. The timer array and counter array are combined to limit the abuse of vehicle components, thereby preventing the abuse of vehicle components, extending the service life of components, and improving the intelligence and practicality of the vehicle.
[0032] (2) The embodiments of this application can obtain the index value corresponding to the count value that is greater than or equal to a certain threshold and clear it to zero, or clear the timing value that is less than a certain duration to zero, thereby achieving the stopping condition and prohibiting the vehicle parts from operating again within a certain period of time to prevent the abuse of vehicle parts.
[0033] (3) The embodiments of this application can determine whether the current action of at least one target vehicle component meets the stopping condition, and if the stopping condition is not met, the action of at least one target vehicle component is prohibited after the current action ends, thereby further preventing the abuse of vehicle components, ensuring the reliability of the vehicle, and improving the intelligence level of the vehicle.
[0034] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0035] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0036] Figure 1 This is a flowchart of a method for preventing misuse of a vehicle component according to an embodiment of this application;
[0037] Figure 2 A flowchart illustrating the protection against abuse of a vehicle component according to an embodiment of this application;
[0038] Figure 3 A flowchart illustrating the protection against abuse of a vehicle component according to an embodiment of this application;
[0039] Figure 4 This is a schematic diagram of the structure of an anti-abuse device for a vehicle component according to an embodiment of this application;
[0040] Figure 5 This is a structural schematic diagram of a vehicle provided according to an embodiment of this application.
[0041] Among them, 10-Anti-abuse device for vehicle components: 100-First judgment module, 200-Second judgment module, 300-Control module. Detailed Implementation
[0042] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0043] The following description, with reference to the accompanying drawings, describes a method, apparatus, vehicle, and storage medium for preventing the misuse of vehicle components according to embodiments of this application. Addressing the problems mentioned in the background art, where limiting the operation frequency of components is insufficient for effectively protecting vehicle components, resulting in low universality of protection, low intelligence levels, and an inability to effectively extend the service life of vehicle components, this application provides a method for preventing the misuse of vehicle components. This method can prevent misuse based on the motor's operation frequency, combined with timer and counter arrays for limitation, thereby preventing the misuse of vehicle components, extending their service life, and improving vehicle intelligence and practicality. Thus, it solves the problems in the related art where limiting the operation frequency of components is insufficient for effectively protecting vehicle components, resulting in low universality of protection, low intelligence levels, and an inability to effectively extend the service life of vehicle components.
[0044] Specifically, Figure 1 This is a schematic flowchart illustrating a method for preventing misuse of vehicle components provided in an embodiment of this application.
[0045] like Figure 1 As shown, the method for preventing misuse of this vehicle component includes the following steps:
[0046] In step S101, when the current vehicle is in anti-abuse mode, it is determined whether the motor of the current vehicle component has been triggered.
[0047] It is understood that the anti-abuse mode in this application embodiment can be understood as limiting the action constraints of vehicle components in order to ensure the service life of vehicle components, thereby effectively preventing the abuse of vehicle components. When the vehicle is in the anti-abuse mode, it can be determined whether the action of the current vehicle component motor has been triggered, such as by using a timer array and a counter array.
[0048] For example, in this embodiment of the application, a certain number of times N and time T can be obtained, and a counter array Cnt[N] of size N and a timer array Time[T] of size T can be created. When the anti-abuse function button of the current vehicle is detected to be flashing, that is, the current vehicle is in anti-abuse mode, the counter array Cnt[N] and the timer array Time[T] can be used to determine whether the action of the current vehicle component motor is triggered. If the total number of motor actions is less than 10, the timer with the index of the Time array less than the number of actions is started, and the counter with the index of the Cnt array less than the number of actions is incremented by 1. When the current vehicle component motor is triggered for the first time, Time[0] starts timing and the count of Cnt[0] is incremented by 1. If it is triggered for the second time, Time[1] starts timing, Time[0] continues timing, the count of Cnt[1] is incremented by 1, the count of Cnt[0] is also incremented by 1, and so on.
[0049] This application embodiment can determine whether the motor of the current vehicle component has been triggered when the vehicle is in the anti-abuse mode. When the total number of motor actions of the vehicle component reaches a certain condition, the abuse of the vehicle component is prohibited, the service life of the component is extended, and the intelligence and practicality of the vehicle are guaranteed.
[0050] In one embodiment of this application, when the current vehicle is in the anti-abuse mode, the method further includes: collecting the actual temperature of the current vehicle components; when the actual temperature is higher than a first preset temperature, prohibiting the current vehicle components from operating until the actual temperature is lower than a second preset temperature, wherein the first preset temperature is higher than the second preset temperature.
[0051] It is understood that in this embodiment of the application, the high temperature environment of the car will affect the service life of the vehicle parts. When the actual temperature is higher than the first preset temperature, at least one target vehicle part can be prohibited from operating to prevent the abuse of vehicle parts.
[0052] For example, the target vehicle component in this application embodiment can be an automobile motor. The first preset temperature can be set to 50 degrees Celsius, the actual temperature can be set to 60 degrees Celsius, and the second preset temperature can be set to 40 degrees Celsius. When the actual temperature of the automobile motor is higher than the first preset temperature, the load of the automobile motor has reached the upper limit. At this time, the automobile motor can be prohibited from running until the actual temperature of the automobile motor is lower than the second preset temperature of 40 degrees Celsius, so as to continue to work. This further prevents the abuse of vehicle components, extends the service life of vehicle components, and ensures the intelligence and practicality of the vehicle.
[0053] It should be noted that the preset temperature can be set by those skilled in the art according to the actual situation, and no specific restrictions are imposed here.
[0054] In step S102, if there is an action that triggers the motor of the current vehicle component, it is determined whether the total number of actions of the motor of the current vehicle component is less than a preset threshold.
[0055] It is understood that, in the embodiments of this application, when the current vehicle component motor is triggered, the number of times the current vehicle component motor operates can be determined. For example, the number of times the triggered motor operates can be determined by a counter, and the total number of times the vehicle component motor operates can be compared with a certain threshold to further prevent the abuse of vehicle components.
[0056] For example, in this embodiment of the application, a certain threshold for the number of motor actions can be set to N. When it is determined that an action is triggered on the motor of the current vehicle component, it can be determined whether the total number of actions of the motor of the current vehicle component is less than a certain threshold N. If so, a timer with an array Time index less than the number of actions is started, and a counter with an array Cnt index less than the number of actions is incremented by 1. If not, the timers of all elements in the array Time are continuously timed, and the counters of all elements in the array Cnt are incremented by 1. Furthermore, when the timer reaches T, the timer stops accumulating.
[0057] This application embodiment can determine whether the total number of times the motor of the current vehicle component is activated is less than a certain threshold when the motor of the current vehicle component is activated, thereby providing a basis for the operation of the timer and counter, preventing the abuse of vehicle components, and ensuring the intelligence and practicality of the vehicle.
[0058] It should be noted that the preset threshold can be set by those skilled in the art according to the actual situation, and no specific restrictions are imposed here.
[0059] In step S103, if the total number of motor actions is less than a preset threshold, then timers with indexes less than the number of actions in the timer array are activated, and counters with indexes less than the number of actions in the counter array execute preset counting actions. Otherwise, all counters in the timer array count continuously, and all counters in the counter array execute preset counting actions. When the timer array or counter array reaches the preset stop condition, the current vehicle component is prohibited from acting again for a preset time.
[0060] It is understood that the timer array index and counter array index in this application embodiment are common array types. The array index stores one or more organized values. Each value can be accessed using an unsigned integer value. The first index value is always the number 0. In this application embodiment, a certain stopping condition can be that the count value is greater than a certain threshold or the timing value is less than a certain threshold.
[0061] In some cases, embodiments of this application can perform timing or counting actions through a timer array or a counter array based on the comparison result of the total number of motor actions with a certain threshold. In embodiments of this application, if the total number of motor actions is less than a certain threshold, a timer in the timer array with an index less than the number of motor actions can be activated. At the same time, the counters of all elements in the counter array can continuously count, and the counters of all elements in the counter array can be programmed with a certain counting action. When the counter array or timer array meets a certain stopping condition, the current vehicle component is prohibited from acting again for a certain period of time.
[0062] For example, when the embodiments of the present application are directed to vehicle components with an anti-pinch function, when it is detected that the anti-abuse function button of the current vehicle is flashing, that is, when the current vehicle is in the anti-abuse mode, a certain number of times N and a time T can be obtained, a counter array Cnt[N] with a size of N is created, and at the same time, a timer array Time[T] with a size of T is created. When it is directed to vehicle components without an anti-pinch function, if the total number of motor operations is less than 10 times, the timer with an index in the Time array less than the number of operations is started, and at the same time, the counter with an index in the Cnt array less than the number of operations is incremented by 1. That is, if it is the first trigger, Time[0] starts timing and the count of Cnt[0] is incremented by 1. If it is the second trigger, Time[1] starts timing, Time[0] continues to time, the count of Cnt[1] is incremented by 1, and the count of Cnt[0] is also incremented by 1, and so on. When the total number of motor operations reaches 10 times, all the timers from Time[0] to Time[9] continue to time. When the timer reaches 20s, the timer no longer accumulates. Each time the motor operation is triggered, all the counters from Cnt[0] to Cnt[9] are incremented by 1. If any of the count values in Cnt[0] to Cnt[9] is ≥ 10 times, first obtain the index value i corresponding to the count value ≥ N in the Cnt array, and then clear the count value of Cnt[i] to 0. According to the index value i, determine whether the timing value in Time[i] is < T. If so, first clear the timing value of Time[i], and then after the current motor operation stops, the vehicle component motor will not operate within a time X (in this embodiment, X is taken as 10s).
[0063] For another example, when the embodiments of the present application are directed to vehicle components with an anti-pinch function, if the total number of motor operations is less than 10 times, the timer with an index in the Time array less than the number of operations is started, and at the same time, the counter with an index in the Cnt array less than the number of operations is incremented by 1. That is, if it is the first trigger, Time[0] starts timing and the count of Cnt[0] is incremented by 1. If it is the second trigger, Time[1] starts timing, Time[0] continues to time, the count of Cnt[1] is incremented by 1, and the count of Cnt[0] is also incremented by 1, and so on. When the total number of motor operations reaches 10 times, all the timers from Time[0] to Time[9] continue to time. When the timer reaches 30s, the timer no longer accumulates. Each time the motor operation is triggered, all the counters from Cnt[0] to Cnt[9] are incremented by 1. If any of the count values in Cnt[0] to Cnt[9] is ≥ 10 times, first obtain the index value i corresponding to the count value ≥ N in the Cnt array, and then clear the count value of Cnt[i] to 0. According to the index value i, determine whether the timing value in Time[i] is < T. If so, first clear the timing value of Time[i]. When the condition for prohibiting motor operation is met, then judge the current anti-pinch state. If anti-pinch is triggered, it is necessary to wait for the anti-pinch to end. At the same time, after the current motor operation stops, the vehicle component motor will not operate within a time X (in this embodiment, X is taken as 20s).
[0064] In an embodiment of the present application, according to the result of comparing the total number of motor operations with a certain threshold, for vehicle components with and without anti-pinch functions, timing or counting operations are performed through a timer array or a counter array. When the timer array or the counter array reaches a certain stop condition, the current vehicle component can be prohibited from operating again within a certain period of time, so that both the timer array and the counter array can settle the overuse of the motor at any time when pressed, prevent the abuse of vehicle components, extend the service life of vehicle components, and ensure the intelligence and practicability of the vehicle.
[0065] It should be noted that the preset threshold, the preset counting operation, and the preset stop condition can be set by those skilled in the art according to the actual situation, and no specific limitation is made here.
[0066] Optionally, in an embodiment of the present application, the preset stop condition includes that any count value in the counter array is greater than or equal to the preset threshold or the timing value of the timer array is less than the preset duration.
[0067] It can be understood that in an embodiment of the present application, when any count value in the counter array is greater than or equal to a certain threshold or the timing value of the timer array is less than the preset duration, it is determined that the timer array or the counter array meets a certain stop condition, and the motor of the vehicle component is controlled not to operate anymore, preventing the abuse of the vehicle component.
[0068] For example, in an embodiment of the present application, a certain number N and time T can be obtained, a timer array Time[T] with a size of N is created, and a counter array Cnt[N] with a size of N is created at the same time. It is judged whether any count value in the array Cnt is ≥ N. If so, first obtain the index value i corresponding to the count value ≥ N in the array Cnt, and then clear the count value of Cnt[i]. After the current motor operation stops, the motor of the vehicle component will not operate again within a certain period of time; for another example, in an embodiment of the present application, it can be judged whether the timing value in Time[i] is < T. If so, first clear the timing value of Time[i], and then after the current motor operation stops, the motor of the vehicle component will not operate again within a certain period of time.
[0069] In an embodiment of the present application, when the timer array or the counter array meets a certain stop condition, the motor of the vehicle component can be controlled not to operate within a certain period of time, thereby preventing the abuse of the vehicle component and extending the service life of the vehicle component.
[0070] Optionally, in an embodiment of the present application, when the timer array or the counter array reaches the preset stop condition, it further includes: obtaining the index value corresponding to the count value greater than or equal to the preset threshold and clearing it; or clearing the timing value less than the preset duration.
[0071] It can be understood that in the embodiments of the present application, when any count value in the timer array is greater than a certain threshold, the index value corresponding to the count value can be obtained, and in the embodiments of the present application, when any timing value in the timer array is less than a certain threshold, the timing value less than a certain duration can be cleared.
[0072] For example, in the embodiments of the present application, a preset number N and time T can be obtained, a timer array Time[T] with a size of N can be created, and a counter array Cnt[N] with a size of N can be created at the same time. It is judged whether any count value in the array Cnt is ≥ N. If so, first obtain the index value i corresponding to the count value ≥ N in the array Cnt, and then clear the count value of Cnt[i] to 0; for another example, in the embodiments of the present application, it can be judged whether the timing value in Time[i] is < T. If so, first clear the timing value of Time[i], and then after the operation of the vehicle component motor stops this time, the vehicle component motor will not act within X time, and at the same time control the turn signal to flash for reminder. If not, first clear the timing value of Time[i].
[0073] The embodiments of the present application can obtain the index value corresponding to the count value greater than or equal to a certain threshold and clear it, or clear the timing value less than a certain duration, so as to prevent the abuse of the vehicle component motor, extend the service life of the vehicle component, and ensure the intelligence and practicability of the vehicle.
[0074] Optionally, in an embodiment of the present application, it further includes: generating an abuse reminder signal for the current vehicle component; controlling the vehicle to give a reminder based on the abuse reminder signal.
[0075] It can be understood that the abuse reminder signal in the embodiments of the present application can give a reminder by voice or text, reminding the user that there will be an abuse behavior for the current vehicle component. In the embodiments of the present application, while prohibiting at least one target vehicle component from acting, an abuse reminder signal for at least one target vehicle component can be generated, and based on the abuse reminder signal, the vehicle can be controlled to give a reminder to the user.
[0076] For example, in the embodiments of the present application, when the target vehicle component is a sunroof and the sunroof action is prohibited, an abuse reminder signal for the sunroof can be generated, and based on the abuse reminder signal for the sunroof, the vehicle can be controlled to give a voice or text reminder to the user, so as to prevent the abuse of the vehicle component and extend the service life of the vehicle component.
[0077] Optionally, in an embodiment of the present application, controlling the vehicle to give a reminder based on the abuse reminder includes: detecting the actual gear position of the vehicle power supply; when the actual gear position is the ON gear, while controlling the vehicle lights to flash for reminder, controlling at least one acoustic reminder device and / or at least one optical reminder device to give a reminder; when the actual gear position is the OFF gear, while controlling the vehicle lights to flash for reminder, sending the abuse reminder signal to a preset mobile terminal.
[0078] It is understood that the reminder devices in this application embodiment include, but are not limited to, acoustic reminder devices and optical reminder devices. For example, an acoustic reminder device can remind the driver of the current vehicle abuse status through voice, and an optical reminder device can remind the driver through flashing turn signals. In this application embodiment, when the actual gear is ON, it means that all electrical components in the vehicle are powered on. At this time, the vehicle lights can be controlled to flash while at least one acoustic reminder device and / or at least one optical reminder device can be controlled to remind the driver. When the actual gear is OFF, it means that all electrical components in the vehicle are turned off. At this time, the vehicle lights can be controlled to flash while sending an abuse reminder signal to a preset mobile terminal.
[0079] For example, in this embodiment of the application, when the actual gear position of the vehicle is detected to be ON, the vehicle lights can be controlled to flash as a reminder, and the voice system can be controlled to remind the user via voice or text to prevent misuse of vehicle components; as another example, in this embodiment of the application, when the actual gear position of the vehicle is detected to be ON, the vehicle lights can be controlled to flash as a reminder, and the turn signals can be controlled to flash as a reminder to the user to prevent misuse of vehicle components; as yet another example, in this embodiment of the application, when the actual gear position of the vehicle is detected to be OFF, the vehicle lights can be controlled to flash as a reminder, and a reminder can be sent via a mobile APP or SMS.
[0080] This application embodiment can control the vehicle to issue abusive warnings based on the actual power level of the vehicle, thereby preventing the abuse of vehicle components and ensuring the vehicle's intelligence and practicality.
[0081] Optionally, in one embodiment of this application, before preventing the current vehicle component from operating again, the method further includes:
[0082] Determine whether the current action of the current vehicle component meets the preset stop condition; if the preset stop condition is not met, then prohibit the current vehicle component from taking action again after the current action ends.
[0083] It is understood that the preset stopping condition in this application embodiment can be that the number of times the current vehicle component operates is less than a certain number. When the stopping condition is not met, it means that the number of times the current vehicle component operates exceeds a certain number, and the vehicle component is facing abuse.
[0084] In a specific embodiment, it can be determined whether the current action of at least one target vehicle component meets certain stopping conditions. When the certain stopping conditions are not met, that is, when the number of actions of at least one target vehicle component exceeds a certain number, at least one target vehicle component can be prohibited from acting again after the current action of the target vehicle component ends, thereby further preventing the abuse of vehicle components and extending the service life of vehicle components.
[0085] It should be noted that the preset stop conditions can be set by those skilled in the art according to the actual situation, and no specific restrictions are imposed here.
[0086] Specifically, in combination Figure 2 and Figure 3 As shown, a schematic diagram illustrating the principle of the method for preventing abuse of vehicle components according to a specific embodiment of this application is described in detail.
[0087] like Figure 2 As shown, embodiments of this application may include the following steps:
[0088] Step S201: Obtain the preset number of times N and time T. In this embodiment of the application, the preset number of times and time of the vehicle component can be obtained. The number of times N can be set to 10 times and the time T can be set to 20 seconds.
[0089] Step S202: Create a timer array Time[T] of size N, and create a counter array Cnt[N] of size N.
[0090] Step S203: Determine whether the vehicle component motor is activated. If the vehicle component motor is activated, proceed to step S204. If the vehicle component motor is not activated, proceed to step S212, or re-execute step S203.
[0091] Step S204: Determine if the total number of motor actions is less than N? If the total number of motor actions is less than N, proceed to step S205; if the total number of motor actions is greater than or equal to N, proceed to step S206.
[0092] Step S205: Start the timer whose index in the Time array is less than the number of actions, and simultaneously increment the counter whose index in the Cnt array is less than the number of actions by 1. In this embodiment of the application, if the number of motor actions is less than 10, step S205 is executed, the timer whose index in the Time array is less than the number of actions is started, and the counter whose index in the Cnt array is less than the number of actions is incremented by 1. That is, if it is the first trigger, Time[0] starts timing, and the count of Cnt[0] is incremented by 1. If it is the second trigger, Time[1] starts timing, Time[0] continues timing, the count of Cnt[1] is incremented by 1, the count of Cnt[0] is also incremented by 1, and so on.
[0093] Step S206: The timers of all elements in the Time array start counting continuously, and the counters of all elements in the Cnt array increment by 1. In this embodiment, if the total number of motor actions reaches 10, all timers from Time[0] to Time[9] start counting continuously. When the timer reaches 20s, the timer stops incrementing. Each time the motor action is triggered, all counters from Cnt[0] to Cnt[9] increment by 1.
[0094] Step S207: Determine whether any count value in the array Cnt is ≥ N? If it is established that any count value in the array Cnt is ≥ N, execute Step S208. If it is not established that any count value in the array Cnt is ≥ N, then execute Step S203 or Step S212.
[0095] Step S208: Obtain the index value i corresponding to the count value ≥ N in the array Cnt. In the embodiment of the present application, if any count value in Cnt[0] to Cnt[9] is ≥ 10 times, first obtain the index value i corresponding to the count value ≥ N in the array Cnt, and then clear the count value of Cnt[i] to 0.
[0096] Step S209: Clear the count value of Cnt[i] to 0. In the embodiment of the present application, if any count value in Cnt[0] to Cnt[9] is ≥ 10 times, first obtain the index value i corresponding to the count value ≥ N in the array Cnt, and then clear the count value of Cnt[i] to 0.
[0097] Step S210: Determine whether the timing value in Time[i] is < T? If it is established that the timing value is < T, execute Step S211. If it is established that the timing value is < T, execute Step S212.
[0098] Step S211: Clear the timing value of Time[i] to 0.
[0099] If it is established that the timing value is < T, then clear the timing value of Time[i] to 0.
[0100] Step S212: Clear the timing value of Time[i] to 0.
[0101] If it is established that the timing value is < T, then clear the timing value of Time[i] to 0.
[0102] Step S213: After the operation of the motor stops this time, within X time, the motor of the vehicle component will not operate again, and at the same time, control the turn signal to flash for reminder. In the embodiment of the present application, according to the index value i, it can be determined whether the timing value in Time[i] is < T. If so, first clear the timing value of Time[i] to 0, and then after the operation of the motor stops this time, within X (10s is taken in this embodiment) time, the motor of the vehicle component will not operate again, and at the same time, control the turn signal to flash for reminder. If the vehicle power gear is in the ON gear, while the turn signal is flashing, a text or voice reminder will be given through the vehicle computer. If the vehicle power gear is in the OFF gear, while the turn signal is flashing, a reminder will be given through the mobile phone APP or text message.
[0103] Next, it can be passed through Figure 3 to further elaborate on the anti-abuse method of the vehicle component in the embodiment of the present application in detail.
[0104] Such as Figure 3As shown, embodiments of this application may include the following steps:
[0105] Step S301: Obtain the preset number of times N and time T. The preset number of times and time for the vehicle component can be obtained; for example, the number of times N can be set to 10, and the time T to 30 seconds.
[0106] Step S302: Create a timer array Time[T] of size N, and create a counter array Cnt[N] of size N.
[0107] Step S303: Determine whether the vehicle component motor is activated. If the vehicle component motor is activated, proceed to step S204. If the vehicle component motor is not activated, proceed to step S212, or re-execute step S203.
[0108] Step S304: Determine if the total number of motor actions is less than N? If the total number of motor actions is less than N, proceed to step S205; if the total number of motor actions is greater than or equal to N, proceed to step S206.
[0109] Step S305: Start the timer whose array Time index is less than the number of actions, and at the same time increment the counter whose array Cnt index is less than the number of actions by 1. In this embodiment of the application, if the number of motor actions is less than 10, execute step S205, start the timer whose array Time index is less than the number of actions, and at the same time increment the counter whose array Cnt index is less than the number of actions by 1. That is, if it is the first trigger, Time[0] starts timing, and the count of Cnt[0] is incremented by 1. If it is the second trigger, Time[1] starts timing, Time[0] continues timing, the count of Cnt[1] is incremented by 1, the count of Cnt[0] is also incremented by 1, and so on.
[0110] Step S306: The timers of all elements in the Time array start counting continuously, and the counters of all elements in the Cnt array increment by 1. In this embodiment, if the total number of motor actions reaches 10, all timers from Time[0] to Time[9] start counting continuously. When the timer reaches 30s, the timer stops incrementing. Each time the motor action is triggered, all counters from Cnt[0] to Cnt[9] increment by 1.
[0111] Step S307: Determine if any count value in array Cnt is ≥ N? If any count value in array Cnt is ≥ N, proceed to step S208. If any count value in array Cnt is not ≥ N, proceed to step S203 or step S212.
[0112] Step S308: Obtain the index i corresponding to the count value ≥ N in the array Cnt.
[0113] If any of the count values in Cnt[0] to Cnt[9] is ≥ 10 times, first obtain the index value i corresponding to the count value ≥ N in the array Cnt, and then clear the count value of Cnt[i] to 0.
[0114] Step S309: Clear the count value of Cnt[i] to 0.
[0115] If any of the count values in Cnt[0] to Cnt[9] is ≥ 10 times, first obtain the index value i corresponding to the count value ≥ N in the array Cnt, and then clear the count value of Cnt[i] to 0.
[0116] Step S310: Determine whether the timing value in Time[i] is < T? If the timing value < T holds, execute Step S211. If the timing value < T holds, execute Step S212.
[0117] Step S311: Clear the timing value of Time[i] to 0.
[0118] If the timing value < T holds, then clear the timing value of Time[i] to 0.
[0119] Step S312: Clear the timing value of Time[i] to 0.
[0120] If the timing value < T holds, then clear the timing value of Time[i] to 0.
[0121] Step S313: Determine whether there is an anti-pinch trigger? If there is an anti-pinch trigger, re-execute Step S313. If there is no anti-pinch trigger, then execute Step S314. If the vehicle component has an anti-pinch function, such as windows, electric spoilers, rear doors, etc., it is necessary to wait until the anti-pinch ends and the motor stops running, and then prohibit the motor from operating.
[0122] Step S314: After the current motor operation stops, the vehicle component motor will not operate for X time, and at the same time control the turn signal to flash for reminder. In the embodiment of the present application, according to the index value i, it can be determined whether the timing value in Time[i] is < T. If so, first clear the timing value of Time[i] to 0, and then after the current motor operation stops, the vehicle component motor will not operate for X (in this embodiment, X is taken as 20s) time, and at the same time control the turn signal to flash for reminder. If the vehicle power gear is in the ON gear, when the turn signal flashes, a text or voice reminder will be given through the vehicle computer. If the vehicle power gear is in the OFF gear, when the turn signal flashes, a reminder will be given through the mobile phone APP or text message.
[0123] The method for preventing abuse of vehicle components proposed in this application can prevent abuse based on the frequency of motor operation, combined with timer and counter arrays for limitation, thereby preventing abuse of vehicle components, extending the service life of components, and improving vehicle intelligence and practicality. This solves the problems in related technologies where limiting operation based on component frequency is insufficient for effective protection of vehicle components, resulting in low universality of protection, low level of intelligence, and inability to effectively extend the service life of vehicle components.
[0124] Next, with reference to the accompanying drawings, an anti-abuse device for a vehicle component proposed according to an embodiment of this application is described.
[0125] Figure 4 This is a block diagram of an anti-abuse device for a vehicle component according to an embodiment of this application.
[0126] like Figure 4 As shown, the anti-abuse device 10 for the vehicle component includes: a first judgment module 100, a second judgment module 200, and a control module 300.
[0127] Specifically, the first judgment module 100 is used to determine whether the motor of the current vehicle component has been triggered when the current vehicle is in the anti-abuse mode.
[0128] The second judgment module 200 is used to determine whether the total number of actions of the current vehicle component motor is less than a preset threshold if there is an action that triggers the current vehicle component motor.
[0129] The control module 300 is used to activate timers whose index in the timer array is less than the number of actions if the total number of motor actions is less than a preset threshold, and at the same time, counters whose index in the counter array is less than the number of actions execute preset counting actions. Otherwise, all counters in the timer array count continuously, and all counters in the counter array execute preset counting actions. When the timer array or counter array reaches the preset stop condition, the current vehicle component is prohibited from acting again for a preset time.
[0130] Optionally, in one embodiment of this application, the preset stop condition includes any count value in the counter array being greater than or equal to a preset threshold or the timing value in the timer array being less than a preset duration.
[0131] Optionally, in one embodiment of this application, the anti-abuse device 10 for vehicle components further includes: an acquisition module and a reset module.
[0132] The acquisition module is used to acquire the index value corresponding to the count value that is greater than or equal to the preset threshold, and then clear it to zero.
[0133] Alternatively, a reset module can be used to reset time values that are less than a preset duration.
[0134] Optionally, in one embodiment of this application, the anti-abuse device 10 for vehicle components further includes a generation module and a reminder module.
[0135] The generation module is used to generate a warning signal for the abuse of current vehicle components.
[0136] The reminder module is used to control the vehicle to issue reminders based on the abuse reminder signal.
[0137] Optionally, in one embodiment of this application, the reminder module includes: a detection unit, a control unit, and a sending unit.
[0138] The detection unit is used to detect the actual power level of the vehicle.
[0139] The control unit is used to control the vehicle lights to flash as a reminder when the actual gear position is ON, and to control at least one acoustic reminder device and / or at least one optical reminder device to provide a reminder.
[0140] The transmitting unit is used to control the vehicle lights to flash as a reminder when the actual gear position is OFF, while simultaneously sending an abuse warning signal to a preset mobile terminal.
[0141] Optionally, in one embodiment of this application, the anti-abuse device 10 for vehicle components further includes: a third judgment module and a first control prohibition module.
[0142] The third judgment module is used to determine whether the current action of the current vehicle component meets the preset stop conditions.
[0143] The first control prohibition module is used to prevent the current vehicle component from operating again after the current action ends if the preset stop condition is not met.
[0144] Optionally, in one embodiment of this application, the anti-abuse device 10 for vehicle components further includes: a data acquisition module and a second control prohibition module.
[0145] The data acquisition module is used to collect the actual temperature of the vehicle's components when the vehicle is in anti-abuse mode.
[0146] The second control prohibition module is used to prohibit the operation of the current vehicle component when the actual temperature is higher than the first preset temperature, until the actual temperature is lower than the second preset temperature, wherein the first preset temperature is higher than the second preset temperature.
[0147] It should be noted that the explanation of the aforementioned method for preventing abuse of vehicle components also applies to the device for preventing abuse of vehicle components in this embodiment, and will not be repeated here.
[0148] The vehicle component anti-abuse device proposed in this application can prevent abuse based on the frequency of motor operation, combined with timer and counter arrays for limitation, thereby preventing vehicle component abuse, extending component lifespan, and improving vehicle intelligence and practicality. This solves the problems in related technologies where limiting operation based on component frequency is insufficient for effective protection of vehicle components, resulting in low universality of protection, low intelligence level, and inability to effectively extend the lifespan of vehicle components.
[0149] Figure 5 A schematic diagram of the structure of a vehicle provided in an embodiment of this application. The vehicle may include:
[0150] The memory 501, the processor 502, and the computer program stored on the memory 501 and capable of running on the processor 502.
[0151] When the processor 502 executes the program, it implements the method for preventing abuse of vehicle components provided in the above embodiments.
[0152] Furthermore, the vehicle also includes:
[0153] Communication interface 503 is used for communication between memory 501 and processor 502.
[0154] The memory 501 is used to store computer programs that can run on the processor 502.
[0155] The memory 501 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0156] If the memory 501, processor 502, and communication interface 503 are implemented independently, then the communication interface 503, memory 501, and processor 502 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 5 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0157] Optionally, in a specific implementation, if the memory 501, processor 502, and communication interface 503 are integrated on a single chip, then the memory 501, processor 502, and communication interface 503 can communicate with each other through an internal interface.
[0158] Processor 502 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0159] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described method for preventing misuse of vehicle components.
[0160] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0161] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0162] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0163] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0164] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0165] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0166] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0167] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. An anti-tampering method of a vehicle component, characterized by, The method comprises the following steps: when the current vehicle is in an anti-abuse mode, determining whether there is an action triggering a motor of a current vehicle component; if there is an action triggering the motor of the current vehicle component, determining whether a total number of actions of the motor of the current vehicle component is less than a preset threshold value; and if the total number of actions of the motor is less than the preset threshold value, starting a timer array index less than the number of actions, and a counter array index less than the number of actions performs a preset number of actions, otherwise, all elements of the timer array continuously count, and all elements of the counter array perform the preset number of actions, and when the timer array or the counter array reaches a preset stop condition, the current vehicle component is prohibited from acting again for a preset time; wherein, when the timer array or the counter array reaches the preset stop condition, further comprising: obtaining an index value corresponding to a count value greater than or equal to the preset threshold value, and clearing zero; or, clearing a timing value less than a preset time length; when the current vehicle is in the anti-abuse mode, further comprising: collecting an actual temperature of the current vehicle component; when the actual temperature is higher than a first preset temperature, prohibiting the current vehicle component from acting again until the actual temperature is lower than a second preset temperature, wherein the first preset temperature is greater than the second preset temperature.
2. The method of claim 1, wherein, The preset stop condition includes any count value in the counter array being greater than or equal to the preset threshold value or the timing value of the timer array being less than a preset time length.
3. The method of claim 1, further comprising: comprising: generating an abuse reminder signal of the current vehicle component; controlling the vehicle to perform a reminder based on the abuse reminder signal.
4. The method of claim 3, wherein, The vehicle is controlled to perform a reminder based on the abuse reminder signal, comprising: detecting an actual gear of a vehicle power supply; when the actual gear is an ON gear, controlling the vehicle lights to flash and reminding at the same time, and controlling at least one acoustic reminder device and / or at least one optical reminder device to perform a reminder; when the actual gear is an OFF gear, controlling the vehicle lights to flash and reminding at the same time, and sending the abuse reminder signal to a preset mobile terminal.
5. The method of claim 1, wherein, Before the current vehicle component is prohibited from acting again, further comprising: determining whether a current action of the current vehicle component meets a preset stop condition; if the preset stop condition is not met, after the current action ends, the current vehicle component is prohibited from acting again.
6. An anti-tampering device for a vehicle component, characterized by The anti-abuse method of the vehicle component according to any one of claims 1-5, comprising: a first determination module for determining whether there is an action triggering a motor of a current vehicle component when the current vehicle is in an anti-abuse mode; a second determination module for determining whether a total number of actions of the motor of the current vehicle component is less than a preset threshold value when there is an action triggering the motor of the current vehicle component; and The control module is configured to, if the total number of actions of the motor is less than the preset threshold, start a timer array index less than the number of actions, and simultaneously, a counter array index less than the number of actions performs a preset number of actions, otherwise, all elements of the timer array continuously count, and simultaneously, all elements of the counter array perform the preset number of actions, and when the timer array or the counter array reaches a preset stop condition, the current vehicle component is prohibited from acting again for a preset time; The control module is configured to, if the total number of actions of the motor is less than the preset threshold, start a timer array index less than the number of actions, and simultaneously, a counter array index less than the number of actions performs a preset number of actions, otherwise, all elements of the timer array continuously count, and simultaneously, all elements of the counter array perform the preset number of actions, and when the timer array or the counter array reaches a preset stop condition, the current vehicle component is prohibited from acting again for a preset time; The control module is configured to, if the total number of actions of the motor is less than the preset threshold, start a timer array index less than the number of actions, and simultaneously, a counter array index less than the number of actions performs a preset number of actions, otherwise, all elements of the timer array continuously count, and simultaneously, all elements of the counter array perform the preset number of actions, and when the timer array or the counter array reaches a preset stop condition, the current vehicle component is prohibited from acting again for a preset time; 7. A vehicle characterized by comprising: The control module is configured to, if the total number of actions of the motor is less than the preset threshold, start a timer array index less than the number of actions, and simultaneously, a counter array index less than the number of actions performs a preset number of actions, otherwise, all elements of the timer array continuously count, and simultaneously, all elements of the counter array perform the preset number of actions, and when the timer array or the counter array reaches a preset stop condition, the current vehicle component is prohibited from acting again for a preset time; The control module is configured to, if the total number of actions of the motor is less than the preset threshold, start a timer array index less than the number of actions, and simultaneously, a counter array index less than the number of actions performs a preset number of actions, otherwise, all elements of the timer array continuously count, and simultaneously, all elements of the counter array perform the preset number of actions, and when the timer array or the counter array reaches a preset stop condition, the current vehicle component is prohibited from acting again for a preset time; 8. A computer-readable storage medium having stored thereon a computer program, characterized in that,
Citation Information
Patent Citations
Continuous lane changing driving behavior monitoring control method and system
CN111731264A
Daytime running lamp driving control method and device, computer equipment and storage medium
CN113071405A