Vehicle control method and device, vehicle and computer readable storage medium
By detecting abnormal doors and implementing anti-clip, anti-play and anti-theft strategies, the problems of pinching users, damage to obstacles and frequent use during opening or closing of the doors are solved, and the safety and life of the doors are extended and the property protection in the car are protected.
Patent Information
- Application Number
- CN202410165787.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-05
- Publication Date
- 2025-08-05
AI Technical Summary
The risk of car doors being opened or closed may be that the user may be pinched, damaged by obstacles, shortened lifespans due to frequent use, and theft of items in the car.
By detecting abnormal doors, anti-clip, anti-play and anti-theft strategies are implemented, including preventing the door from clamping into obstacles, preventing frequent operations and preventing non-car owners from opening the doors, and handling abnormal situations by controlling the door movement and alarm information respectively.
Effectively avoid car door clamping, prevent obstacles from damaging the door, extend the service life of the door and protect the safety of the property in the car.
Smart Images

Figure CN120422784A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicles, and more particularly, to a vehicle control method, a vehicle control device, a vehicle, and a computer-readable storage medium in the field of vehicles. Background Art
[0002] With the advancement and development of society, the popularity of automobiles is increasing. During vehicle use, doors may malfunction. For example, a door may pinch the user, causing physical injury. Frequent door opening and closing due to playfulness can also cause damage to the vehicle. Furthermore, abnormally opened doors pose a risk of theft. Therefore, how to handle these abnormalities has become a pressing issue. Summary of the Invention
[0003] The present application provides a vehicle control method, device, vehicle and computer-readable storage medium, which can effectively prevent people from being pinched when the vehicle door is opened or closed, damage to the vehicle door due to touching obstacles when opening or closing, frequent opening of the vehicle door affecting the service life of the vehicle door, and theft of items in the vehicle.
[0004] In a first aspect, a vehicle control method is provided, the method comprising: detecting whether a target abnormality exists in a target door of a vehicle; wherein the target abnormality is at least one of a first situation, a second situation, and a third situation; the first situation comprises detecting an obstacle that prevents the door from performing a target action during the door performing the target action; the second situation comprises that the door performs a cyclic action more than a preset number of times; the third situation comprises that a physical switch of the door is triggered when the vehicle is in a parked state, and the user who triggers the physical switch is not the vehicle owner; the target action is a door opening action or a door closing action, and the cyclic action comprises the door moving from opening to closing, or from closing to opening;
[0005] If so, determining a target strategy from preset door protection strategies based on the target abnormality; wherein the preset door protection strategies include: a first strategy for preventing the door from being pinched by the obstacle, a second strategy for preventing the door from repeatedly performing the cyclic action, and a third strategy for preventing items in the vehicle from being stolen;
[0006] The target policy is executed.
[0007] The technical solutions provided by the embodiments of the present application can prevent vehicle doors from being pinched, played with, and stolen. On the one hand, if an obstacle is detected during the door opening or closing process, a strategy to prevent the door from pinching the obstacle is implemented, thereby preventing injuries or damage to the door. On the other hand, if frequent door opening and closing is detected, a strategy to prevent playing with the door is implemented, thereby preventing damage to the door caused by the user's playful behavior and extending the service life of the door. On the other hand, if a user other than the owner is detected opening the door through a physical switch while the vehicle is parked, a vehicle anti-theft strategy is implemented, thereby preventing theft of items inside the vehicle and protecting the owner's property.
[0008] In combination with the first aspect and the above implementations, in some possible implementations, determining a target strategy from preset door protection strategies according to the target abnormality includes:
[0009] If the target abnormal situation is the first situation, the first strategy is determined as the target strategy.
[0010] In combination with the first aspect and the above implementations, in some possible implementations, the vehicle includes a tailgate, the tailgate includes a first door and a second door, the first door and the second door are split, and both the first door and the second door can be opened or closed independently; when the target strategy is the first strategy, executing the target strategy includes:
[0011] When the target vehicle door includes the first door, controlling the first door to stop performing the target action;
[0012] or,
[0013] When the target vehicle doors include the second door, the second door is controlled to stop performing the target action.
[0014] In combination with the first aspect and the above implementations, in some possible implementations, the vehicle includes a tailgate, the tailgate includes a first door and a second door, the first door and the second door are in a double-door structure, the first door is provided with an outer lap edge, and the second door is provided with an inner lap edge, and when the first door and the second door are both in a closed state, the outer lap edge covers the inner lap edge;
[0015] When the target policy is the first policy, executing the target policy includes:
[0016] In a case where the target door includes the first door, if the second door is in a closed state, the first door is controlled to stop performing the target action.
[0017] In combination with the first aspect and the above implementations, in some possible implementations, detecting whether a target door of the vehicle has a target abnormality includes:
[0018] During the process of the target door performing the target action, detecting whether there is a force that prevents the target door from performing the target action;
[0019] If the acting force exists and the acting force value is greater than the preset value, it is determined that the target abnormality exists in the target door, and the target abnormality is the first situation.
[0020] In combination with the first aspect and the above implementations, in some possible implementations, determining a target strategy from preset door protection strategies according to the target abnormality includes:
[0021] If the target abnormal situation is the second situation, the second strategy is determined as the target strategy.
[0022] In combination with the first aspect and the foregoing implementation manner, in some possible implementation manners, when the target policy is the second policy, executing the target policy includes:
[0023] The target door is controlled to remain stationary.
[0024] In combination with the first aspect and the above implementations, in some possible implementations, after controlling the target door to remain stationary, the vehicle control method further includes:
[0025] In a case where a user manually contacts the target door to close or open the target door, execution of the target strategy is exited.
[0026] In combination with the first aspect and the above implementations, in some possible implementations, determining a target strategy from preset door protection strategies according to the target abnormality includes:
[0027] If the target abnormal situation is the third situation, the third strategy is determined as the target strategy.
[0028] In combination with the first aspect and the foregoing implementations, in some possible implementations, when the target policy is the third policy, executing the target policy includes:
[0029] The target door is prohibited from being controlled to execute the door opening action, and an alarm message is outputted to prompt that the target door is attempted to be opened.
[0030] In combination with the first aspect and the above implementations, in some possible implementations, after determining the target strategy from the preset door protection strategies according to the target abnormality, the vehicle control method further includes:
[0031] Detecting whether a vehicle key exists within a preset range of the vehicle;
[0032] If not, detecting whether the vehicle has received authorization information; wherein the authorization information is used to indicate that the vehicle owner allows a user who is not the vehicle owner to open the target door by triggering the physical switch;
[0033] If not, the step of prohibiting the target door from being controlled to perform the door opening action and outputting an alarm message for prompting that the target door is attempted to be opened is executed.
[0034] In a second aspect, a vehicle control device is provided, the device comprising:
[0035] a detection module for detecting whether a target door of a vehicle has a target abnormality; wherein the target abnormality is at least one of a first situation, a second situation, and a third situation; the first situation includes detecting an obstacle that prevents the door from performing the target action during the door performing the target action; the second situation includes the door performing a cyclic action more than a preset number of times; the third situation includes the physical switch of the door being triggered when the vehicle is in a parked state, and the user who triggers the physical switch is not the vehicle owner; the target action is a door opening action or a door closing action, and the cyclic action includes the door moving from opening to closing, or the door moving from closing to opening;
[0036] a determination module, configured to determine a target strategy from preset door protection strategies based on the target abnormality, if any; wherein the preset door protection strategies include: a first strategy for preventing the door from being pinched by the obstacle, a second strategy for preventing the door from repeatedly performing the cyclic action, and a third strategy for preventing items in the vehicle from being stolen;
[0037] An execution module is used to execute the target strategy.
[0038] In combination with the second aspect, in some implementations of the second aspect, the determination module is specifically configured to: if the target abnormal situation is the first situation, determine the first strategy as the target strategy.
[0039] In combination with the second aspect, in certain implementations of the second aspect, the execution module is specifically used to: when the target vehicle door includes the first door, if the second door is in a closed state, control the first door to stop executing the target action; or, when the target vehicle door includes the second door, if the first door is in an open state, control the second door to stop executing the target action.
[0040] In combination with the second aspect, in certain implementations of the second aspect, the execution module is specifically used to: when the target vehicle door includes the first door, if the second door is in a closed state, control the first door to stop executing the target action; or, when the target vehicle door includes the second door, if the first door is in an open state, control the second door to stop executing the target action.
[0041] In combination with the second aspect, in certain implementations of the second aspect, the detection module is specifically used to: detect whether there is a force that prevents the target door from performing the target action during the process of the target door performing the target action; if the force exists and the force value of the force is greater than a preset value, determine that the target door has the target abnormality, and the target abnormality is the first situation.
[0042] In combination with the second aspect, in some implementations of the second aspect, the determination module is specifically configured to: if the target abnormal situation is the second situation, determine the second strategy as the target strategy.
[0043] In combination with the second aspect, in certain implementations of the second aspect, the execution module is specifically configured to: when the target strategy is the second strategy, control the target door to remain stationary.
[0044] In combination with the second aspect, in certain implementations of the second aspect, the execution module is specifically configured to: exit execution of the target strategy when the user manually touches the target door to close or open the target door.
[0045] In combination with the second aspect, in some implementations of the second aspect, the determination module is specifically configured to: if the target abnormal situation is the third situation, determine the third strategy as the target strategy.
[0046] In combination with the second aspect, in certain implementations of the second aspect, the execution module is specifically used to: prohibit controlling the target door to perform the door opening action, and output an alarm message for prompting that the target door is attempted to be opened.
[0047] In combination with the second aspect, in certain implementations of the second aspect, the execution module is further used to: detect whether a vehicle key exists within a preset range of the vehicle; if not, detect whether the vehicle receives authorization information; wherein the authorization information is used to indicate that the vehicle owner allows a user who is not the vehicle owner to open the target door by triggering the physical switch; if not, execute the step of prohibiting the control of the target door from performing the door opening action, and output an alarm message for prompting that the target door is attempted to be opened.
[0048] In a third aspect, a vehicle is provided, including the third aspect, an electronic device is provided, including a memory and a processor; the memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0049] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0050] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A schematic diagram illustrating an exemplary flow chart of a vehicle control method provided in an embodiment of the present application is shown;
[0052] Figure 2 A schematic diagram of a vehicle provided in an embodiment of the present application is shown;
[0053] Figure 3 A schematic diagram showing the opening and closing of a target vehicle door provided by an embodiment of the present application is shown;
[0054] Figure 4 An exemplary schematic diagram of a vehicle tailgate provided by an embodiment of the present application is shown;
[0055] Figure 5 Another exemplary schematic diagram of a vehicle tailgate provided by an embodiment of the present application is shown;
[0056] Figure 6 A schematic structural diagram of a vehicle control device provided in an embodiment of the present application is shown;
[0057] Figure 7A structural schematic diagram of a vehicle provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0058] The following will clearly and thoroughly describe the technical solutions in this application in conjunction with the accompanying drawings. In the description of the embodiments of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more than two.
[0059] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0060] like Figure 1 As shown, Figure 1 The following is a schematic diagram showing an exemplary flow chart of a vehicle control method provided by an embodiment of the present application, wherein the vehicle control method is applied to a vehicle body domain controller, such as Figure 2 As shown, Figure 2 A schematic diagram of a vehicle provided in an embodiment of the present application is shown, where 100 represents the vehicle, 110 represents the tailgate, 120 represents the right front door, 130 represents the right rear door, 140 represents the left rear door, and 150 represents the left front door. The tailgate 110 can be understood as the door of the trunk.
[0061] The above vehicle control method includes the following schemes:
[0062] S210, detecting whether a target door of the vehicle has a target abnormality.
[0063] The target door refers to at least one of the vehicle's left front door, left rear door, right front door, right rear door, and tailgate, and the target abnormal condition is at least one of the first, second, and third conditions. The first condition involves detecting an obstacle that prevents the door from executing the target action, where the target action is either door opening or door closing. For example, if the target action is door opening, an obstacle is detected that prevents the door from opening, meaning the obstacle prevents the door from opening. If the target action is door closing, an obstacle is detected that prevents the door from closing, meaning the obstacle prevents the door from closing. If the obstacle is a user, the door could potentially injure the user. If the obstacle is something else, such as a brick, the door could potentially be damaged.
[0064] If the target abnormality is the first case, the above-mentioned detection of whether the target door of the vehicle has the target abnormality includes the following schemes:
[0065] During the process of the target door performing the target action, detecting whether there is a force that prevents the target door from performing the target action;
[0066] If there is an acting force and the acting force value is greater than a preset value, it is determined that a target abnormality exists in the target door, and the target abnormality is the first situation.
[0067] like Figure 3 As shown, Figure 3 A schematic diagram showing the opening and closing of a target door provided by an embodiment of the present application is shown. Figure 3 A in the middle represents the scene of the target door opening process. Figure 3 In the example, B represents the target door closing process, M represents the target door, specifically the tailgate, P represents the obstacle, F1 represents the force applied to the target door to open or close it, and F2 represents the force that prevents the target door from performing the target action. F2 is the reverse force applied by the obstacle to the target door after the target door contacts the obstacle, and the direction of F2 is opposite to that of F1. The obstacle can be a stationary object or a human hand. For example, Figure 3 As shown in A, the obstacle is a stationary object (such as a wall). During the opening process of the target door, the outer side of the target door contacts the obstacle P, preventing the target door from opening. At this time, the force exerted by the obstacle on the target door is F2. Figure 3 As shown in B, the obstacle is a human hand. During the closing process of the target door, the child pushes the inner side of the target door with his own hand to prevent the target door from closing. At this time, the force exerted by the child's hand on the target door is F2.
[0068] During the process of the target door executing the target action, detecting whether there is a force that prevents the target door from executing the target action is actually detecting whether there is an obstacle that prevents the target door from executing the target action. For example, if the target action is a door closing action, it is during the process of detecting whether there is an obstacle that prevents the target door from executing the door closing action.
[0069] by Figure 3 For example, the above-mentioned preset value is related to the size of F1, and the preset value is greater than or equal to the size of F1. If it is detected that F2 is greater than the preset value, it means that an obstacle prevents the target door from performing the target action, that is, the target door cannot continue to open or close. Therefore, it is determined that the target door has a target abnormality, and the target abnormality is the first situation.
[0070] The second condition involves the door executing a cycle action more times than a preset number. A cycle action includes the door opening and closing, or the door closing and opening. A cycle action greater than the preset number indicates the door is frequently opened and closed. If the second condition is met, it may be due to someone playing around and repeatedly opening and closing the door using the vehicle key or touching the door open and close button on the vehicle's central control screen. This can reduce the service life of the door and may also damage the door.
[0071] The preset number of times in the second scenario can be a fixed value or adjusted based on the user who triggered the door loop. For example, if the user who triggered the door loop is identified by age as belonging to a child group (e.g., the age range for children is 5 to 12 years old), it is initially determined that the user may be playing by opening and closing the door, and the preset number of times is reduced. Because most children are playful and have a low sense of safety, after identifying the user who triggered the door loop as a child and reducing the preset number of times, the number of times the target door loop is executed is checked. If the number of times detected is greater than the preset number, it indicates that the user is playing by opening and closing the door, allowing the vehicle to implement the door anti-play strategy as soon as possible, thereby timely intervening in the door anti-play control. This not only prevents children from being pinched by the door, but also prolongs the service life of the door. Furthermore, because the user's group is identified, it can be determined whether the target door loop is caused by children playing. If so, the door anti-play control is implemented, which can reduce the vehicle system's data processing time and conserve system resources.
[0072] Figure 4 An exemplary schematic diagram of a vehicle back door provided by an embodiment of the present application is shown and Figure 5Another exemplary schematic diagram of a vehicle back door provided by an embodiment of the present application is shown. Figure 4 and Figure 5 As shown, the back door includes a first door 310 and a second door 320 , and the first door 310 and the second door 320 are in a double-opening type.
[0073] If the back door 110 is a double-door that opens in the left-right direction, the first door 310 is the left door and the second door 320 is the right door, or the first door 310 is the right door and the second door 320 is the left door; if the back door 110 is a double-door that opens in the up-down direction, for example, the first door 310 is the upper door and the second door 320 is the lower door, or the first door 310 is the lower door and the second door 320 is the upper door, the first door 310 described in each embodiment of the present application is the upper door and the second door 320 is the lower door.
[0074] The opening and closing control of the first door 310 and the second door 320 is determined by their own structures. The opening and closing control of the first door 310 and the second door 320 includes two modes, which are as follows:
[0075] The first method for controlling the opening and closing of the first door and the second door includes: Figure 4 As shown, taking the first door 310 as the upper door and the second door 320 as the lower door as an example, Figure 4 The two scenes from left to right are scene 1 and scene 2. Scene 1 indicates that the first door 310 and the second door 320 are both in an open state, and scene 2 indicates that the first door 310 and the second door 320 are both in a closed state.
[0076] The first door 310 and the second door 320 are opened or closed independently, which means that the opening or closing of the first door 310 is not affected by the second door 320, and the opening or closing of the second door 320 is not affected by the first door 310. In addition, the first door 310 and the second door 320 can be opened or closed at the same time.
[0077] The second method for controlling the opening and closing of the first door and the second door includes: Figure 5 As shown, the first door 310 is provided with an outer edge 420, and the second door 320 is provided with an inner edge 430. Figure 5 The state shown on the left side is that both the first door 400 and the second door 410 are open. Figure 5The state shown on the right side shows that both the first door 400 and the second door 410 are closed. To close the first door 310 and the second door 320, the second door 320 is closed first, followed by the first door 310. After the first door 310 is closed, the outer edge 420 of the first door 310 overlaps the inner edge 430 of the second door 320. To open the first door 310 and the second door 320, the outer edge 420 of the first door 310 overlaps the inner edge 430 of the second door 320. Therefore, the first door 310 must be opened before the second door 320.
[0078] The vehicle includes a rear door, which includes a first door and a second door, and the first door and the second door are split into two parts. The number of executions of the target door to complete the cycle action includes:
[0079] If the target vehicle doors include a first door and a second door, obtaining a first number of times the first door or the second door executes a completed cycle action, and determining the first number as the execution number;
[0080] or,
[0081] If the target door includes the first door or the second door, the second number of times the first door performs the completed cycle action is obtained, and the third number of times the second door performs the completed cycle action is obtained.
[0082] If both the first door and the second door can be opened or closed independently, this indicates that the first door and the second door can be controlled independently. Since the first door and the second door can be controlled independently, the opening or closing of the first door is not affected by the second door, and vice versa. Furthermore, the first door and the second door can be opened and closed simultaneously. That is, when the first door and the second door are controlled simultaneously, the number of times the first door or the second door performs a cycle action is the number of times the first door and the second door simultaneously perform the cycle action. Therefore, if the target vehicle doors include the first door and the second door, the first number of times the first door or the second door completes the cycle action is obtained, and this first number is determined as the number of executions. For example, if it is detected that the first door and the second door have completed the cycle action three times, then the target vehicle door is considered to have completed the cycle action three times.
[0083] If the first door has an outer lap edge and the second door has an inner lap edge, and both the first and second doors are closed, with the outer lap edge overlapping the inner lap edge, when the first and second doors need to be closed, the second door is closed first, and then the first door. After the first door is closed, the outer lap edge of the first door overlaps the inner lap edge of the second door. When the first and second doors need to be opened, because the outer lap edge of the first door overlaps the inner lap edge of the second door after the first and second doors are closed, the first door must be opened first before the second door can be opened. Therefore, if the target door includes the first door or the second door, it is necessary to obtain the second number of times the first door has completed the cycle action and the third number of times the second door has completed the cycle action, and the sum of the second and third numbers is used as the number of times the target door has completed the cycle action. For example, if it is detected that the first door has completed the cycle action three times and the second door has completed the cycle action four times, it is considered that the target door has completed the cycle action seven times.
[0084] The third scenario involves the physical door switch being triggered while the vehicle is parked, and the user who triggered the switch is not the vehicle owner. The user who triggered the switch could be someone known to the vehicle owner, or someone unknown to the vehicle owner. If the third scenario is met, the user who triggered the switch is not the vehicle owner, indicating that the switch was not triggered by the vehicle owner, and there is a risk of theft of items inside the vehicle.
[0085] The physical switch includes a lock installed on the vehicle that can be opened with a mechanical key. The physical switch is used to lock and unlock the vehicle door. Triggering the physical switch means twisting the physical switch with the mechanical key. The process for determining whether the user who triggered the physical switch is the vehicle owner is as follows: When the vehicle is parked, if the physical switch controlling the opening of the target door is detected to be triggered, a facial image of the user who triggered the physical switch is obtained and compared with a preset facial image to determine whether the user who triggered the physical switch is the vehicle owner. The preset facial image is a pre-stored facial image of the vehicle owner. If the obtained facial image matches the preset facial image, the user who triggered the physical switch is considered the vehicle owner. If the obtained facial image does not match the preset facial image, the user who triggered the physical switch is considered not the vehicle owner.
[0086] S220: If the target door has a target abnormality, determine a target strategy from preset door protection strategies according to the target abnormality.
[0087] The preset door protection strategies include: a first strategy to prevent the door from being pinched by obstacles, a second strategy to prevent the door from repeatedly cycling, and a third strategy to prevent theft of items inside the vehicle. The first strategy can be understood as a door anti-pinch strategy, the second strategy as a door anti-play strategy, and the third strategy as a vehicle anti-theft strategy. The first strategy prevents the door from being pinched by obstacles; the second strategy prevents the door from opening and closing frequently, thereby preventing children from playing; and the third strategy prevents theft of items inside the vehicle.
[0088] If a target abnormality is detected in the target door, a target strategy that can eliminate the target abnormality in the target door is determined from the first strategy, the second strategy and the third strategy according to the target abnormality; if the target door is one door, the target strategy is at least one of the first strategy, the second strategy and the third strategy; if the target door is multiple doors, the target strategy corresponding to each door is at least one of the first strategy, the second strategy and the third strategy.
[0089] S230, executing the target strategy.
[0090] After obtaining the target strategy, the target strategy is executed to eliminate the target abnormality existing in the target door. For example, if the target strategy is the first strategy, it can prevent the door from pinching obstacles. If the obstacle is a person, this can prevent the door from being pinched, thus preventing injury. If the obstacle is something else, this can prevent the obstacle from damaging the door. If the target strategy is the second strategy, it can prevent the door from opening and closing repeatedly, thus preventing damage caused by the user's playful behavior and extending the door's service life. If the target strategy is the third strategy, it can prevent theft of items within the vehicle, thus improving vehicle safety.
[0091] The technical solutions provided by the embodiments of the present application can prevent vehicle doors from being pinched, played with, and stolen. On one hand, if an obstacle is detected during the door opening or closing process, a strategy to prevent the door from pinching the obstacle is implemented, preventing injuries or damage to the door. On the other hand, if frequent door opening and closing is detected, a strategy to prevent playing with the door is implemented, preventing damage to the door caused by playful users and extending the service life of the door. On the other hand, if a user other than the owner is detected opening the door through a physical switch while the vehicle is parked, a strategy to prevent theft of items inside the vehicle, thereby protecting the owner's property. By combining the strategies of door pinching, door playing, and vehicle theft prevention, vehicle safety can be improved. If the target door can include one or more doors, each door can support at least two strategies simultaneously. For example, if the target vehicle door consists of a single door, and a user (such as a child) frequently opens and closes the target door to play, this can not only prevent the door from pinching the user but also reduce the door's service life. If the target vehicle door consists of multiple doors, and if some of the multiple doors are frequently opened and closed, the anti-play strategy is implemented. If another door is blocked by an obstacle and cannot continue to open or close, the door anti-pinch strategy is implemented. Each vehicle executes its own strategy independently of the other.
[0092] In a possible implementation, the above-mentioned determination of the target strategy from the preset door protection strategies according to the target abnormality includes the following schemes:
[0093] If the target abnormal situation is the first situation, the first strategy is determined as the target strategy.
[0094] For example, if the target abnormal situation is the first situation, it means that the car door is in contact with an obstacle, and the obstacle prevents the target car door from performing the target action. If the target car door continues to perform the target action, it will clamp the obstacle. If the obstacle is a person, it will injure the person. If the obstacle is something else, it will damage the car door. Since it is necessary to implement anti-pinch protection for the car door, the first strategy is determined as the target strategy to prevent people from being clamped by the car door or the car door from being damaged.
[0095] In one possible embodiment, the vehicle includes a tailgate, the tailgate includes a first door and a second door, the first door and the second door are split, and the first door and the second door can be opened or closed independently;
[0096] When the target policy is the first policy, the execution target policy includes the following schemes:
[0097] When the target vehicle doors include the first door, controlling the first door to stop performing the target action;
[0098] or,
[0099] In a case where the target vehicle doors include the second door, the second door is controlled to stop performing the target action.
[0100] If the target policy is the first policy, such as Figure 4 As shown, in the first mode of controlling the opening and closing of the first and second doors, assuming that the target action is a door opening action, if the target doors include the first door, the first door is controlled to stop performing the door opening action. Alternatively, assuming that the target action is a door closing action, if the target doors include the second door, the second door is controlled to stop performing the door closing action.
[0101] In an embodiment of the present application, if the target door includes a first door, the first door is controlled to stop executing the target action; or if the target door includes a second door, the second door is controlled to stop executing the target action. By controlling the first door or the second door to open or close independently, the control of stopping the door from executing the target action is improved in intelligence.
[0102] In one possible embodiment, the vehicle includes a tailgate, the tailgate includes a first door and a second door, the first door and the second door are split, the first door has an outer lap edge, and the second door has an inner lap edge. When the first door and the second door are both closed, the outer lap edge covers the inner lap edge. The target door includes the first door or the second door. The above-mentioned execution target strategy includes the following schemes:
[0103] When the target door includes the first door, if the second door is in a closed state, the first door is controlled to stop executing the target action; or, when the target door includes the second door, if the first door is in an open state, the second door is controlled to stop executing the target action.
[0104] If the target policy is the first policy, such as Figure 5 As shown, in the second mode of controlling the opening and closing of the first and second doors, the second door can only be opened when the first door is open, and the first door can only be closed when the second door is closed. If the target door includes the first door, the first door is controlled to stop executing the target action when the second door is closed; if the target door includes the second door, the second door is controlled to stop executing the target action when the first door is open.
[0105] In an embodiment of the present application, if the target door includes a first door, the first door is controlled to stop executing the target action if the second door is closed; or if the target door includes a second door, the second door is controlled to stop executing the target action if the first door is open. Controlling the second door and the first door from executing the target action based on the states of the first and second doors improves the intelligence of controlling the doors from executing the target action.
[0106] If the target strategy is the first strategy, executing the target strategy means controlling the target door to stop executing the target action. After controlling the target door to stop executing the target action, the vehicle control method further includes the following solutions:
[0107] Control the target door to perform an action opposite to the target action.
[0108] When the target door is performing an opening action, after the target door is controlled to stop performing the target action, the target door is controlled to perform a closing action; when the target door is performing a closing action, after the target door is controlled to stop performing the target action, the target door is controlled to perform an opening action. Since the target door is stationary and no longer moves after the target door is controlled to stop performing the target action, it is easy to cause the target door to be scratched if the target door is in contact with an obstacle. If the target door is in contact with the obstacle for a long time, it will cause damage to the target door, such as paint peeling. When it is detected that the target door has stopped performing the opening action, the target door is controlled to perform an action opposite to the target action, which can prevent the target door from contacting the obstacle and causing damage to the door.
[0109] In a possible implementation, the above-mentioned determination of the target strategy from the preset door protection strategies according to the target abnormality includes the following schemes:
[0110] If the target abnormal situation is the second situation, the second strategy is determined as the target strategy.
[0111] If the target abnormal situation is the second situation, it means that the target door is detected to be controlled to open and close frequently. At this time, there is a user who constantly opens and closes the target door for fun. In order to avoid shortening the service life of the target door, the second strategy is determined as the target strategy.
[0112] In a possible implementation, when the target policy is the second policy, executing the target policy includes the following solutions:
[0113] Control the target door to remain stationary.
[0114] If the target strategy is the second strategy, the target door is controlled to remain stationary and no longer moves, thereby preventing the door from being opened and closed frequently, thereby preventing the door from being played.
[0115] In a possible implementation, when the target policy is the second policy, executing the target policy includes the following solutions:
[0116] In the event that the user manually touches the target door to close or open the target door, execution of the target strategy is exited.
[0117] In the second target strategy, after the target door remains stationary, if the user attempts to open or close the door again by pressing a button, the vehicle will remind the user that the door anti-gaming strategy has been implemented and the door must be opened or closed manually. Therefore, the user can only manually touch the target door to close or open it. If the user manually touches the target door to close or open it, the target strategy is exited, and the user can then control the door opening or closing normally by pressing a button.
[0118] In an embodiment of the present application, by exiting the door anti-play control strategy when the user manually touches the target door to close or open the target door, the target door activation and closing anti-play control strategy is made more intelligent.
[0119] In a possible implementation, determining the target strategy from the preset door protection strategies according to the target abnormality includes:
[0120] If the target abnormal situation is the third situation, the third strategy is determined as the target strategy.
[0121] If the target abnormal situation is the third situation, it means that the vehicle is at risk of being stolen, so the third strategy is determined as the target strategy to prevent the items in the vehicle from being stolen.
[0122] In a possible implementation, when the target policy is the third policy, executing the target policy includes:
[0123] The target door is prohibited from being controlled to perform the door opening action, and an alarm message is output to prompt that the target door is attempted to be opened.
[0124] If the target strategy is the third strategy, the target door is prohibited from opening, and an alarm message is output. The alarm message can be a message sent by the vehicle to the owner's mobile terminal, such as "A stranger has opened the door with the vehicle key. Please return to the vehicle and check the situation immediately." This prevents the vehicle from being stolen. The vehicle also warns the user who triggered the physical switch to stay away from the vehicle by honking the horn, flashing the headlights, or using voice commands.
[0125] In one possible implementation, when the target action is a door opening action, the vehicle control method further includes:
[0126] Detect whether there is a vehicle key within a preset range of the vehicle;
[0127] If not, checking whether the vehicle has received the authorization information;
[0128] If not, the steps of prohibiting the target door from being controlled to perform the door opening action and outputting an alarm message for prompting that the target door is attempted to be opened are executed.
[0129] The vehicle's preset range can be understood as the area covered by a circle with a preset radius centered on the vehicle. Authorization information is information sent by the vehicle owner via their mobile device to the vehicle, allowing a non-owner to open the door by triggering a physical switch. This authorization information indicates that the vehicle owner has authorized a non-owner to open the target door by triggering the physical switch.
[0130] When it is detected that the physical switch that controls the opening of the target door is triggered, if it is detected that there is no vehicle key within the preset range of the vehicle, and the user who triggered the physical switch is not the vehicle owner and the vehicle has not received the authorization information sent by the vehicle owner, it means that the vehicle owner is unaware that the door is opened at this time and the vehicle is at risk of being stolen. Therefore, controlling the target door to perform the target action is prohibited, and an alarm message is output to prompt that the target door is attempted to be opened to prevent the vehicle and / or items inside the vehicle from being stolen.
[0131] When it is detected that the physical switch that controls the opening of the target door is triggered, if it is detected that there is no vehicle key within the preset range of the vehicle, and the user who triggered the physical switch is not the vehicle owner, but the vehicle receives authorization information sent by the vehicle owner, it means that the vehicle owner allows the user who is not the vehicle owner to open the door by triggering the physical switch. At this time, it means that the vehicle is also in a safe state, so the target door is controlled to perform the door opening action. This can avoid the situation where people familiar with the vehicle owner (relatives or friends) cannot open the door by touching the physical switch with the vehicle owner's permission.
[0132] When it is detected that the physical switch that controls the opening of the target door is triggered, if it is detected that there is a vehicle key within the preset range of the vehicle and the user who triggered the physical switch is the owner, it means that the owner is opening the target door and the vehicle is in a safe state, so the target door is controlled to perform the door opening action.
[0133] In addition, when the target door is the tailgate, there are two situations: situation one, one of the target door, left front door, right front door, left rear door and right rear door is locked; and situation two, the target door is locked, but one of the left front door, right front door, left rear door and right rear door is unlocked.
[0134] For situation one, when it is detected that the physical switch that controls the opening of the target door is triggered, if it is detected that there is no vehicle key within the preset range of the vehicle, and the user who triggered the physical switch is not the owner and the vehicle has not received the authorization information sent by the owner, then the control of the target door, left front door, right front door, left rear door and right rear door is prohibited from performing the door opening action, that is, all doors cannot perform the door opening action to prevent theft of items in the car.
[0135] For the second situation, when it is detected that the physical switch that controls the opening of the target door is triggered, if it is detected that there is no vehicle key within the preset range of the vehicle, and the user who triggered the physical switch is not the owner and the vehicle has not received the authorization information sent by the owner, the unlocked doors among the left front door, right front door, left rear door and right rear door will be locked first, and then the target door, left front door, right front door, left rear door and right rear door will be prohibited from opening. That is, all doors cannot be opened to prevent theft of items in the car.
[0136] like Figure 7 As shown, Figure 7 A schematic structural diagram of a vehicle control device provided in an embodiment of the present application is shown, the device comprising:
[0137] In a second aspect, a vehicle control device is provided, the device comprising:
[0138] The detection module 510 is configured to detect whether a target abnormality condition exists at a target door of the vehicle; wherein the target abnormality condition is at least one of a first condition, a second condition, and a third condition; the first condition includes detecting an obstacle that prevents the door from performing the target action during the door performing the target action; the second condition includes the door performing a cyclic action more than a preset number of times; the third condition includes the door's physical switch being triggered when the vehicle is parked and the user who triggered the physical switch is not the vehicle owner; the target action is a door opening action or a door closing action, and the cyclic action includes the door moving from opening to closing, or from closing to opening;
[0139] a determination module 520 for determining a target strategy from preset door protection strategies based on the target abnormality, if any; wherein the preset door protection strategies include: a first strategy for preventing the door from being pinched by obstacles, a second strategy for preventing the door from repeatedly performing a cyclic action, and a third strategy for preventing theft of items inside the vehicle;
[0140] The execution module 530 is used to execute the target policy.
[0141] In a possible implementation, the determination module 520 is specifically configured to: if the target abnormal situation is the first situation, determine the first strategy as the target strategy.
[0142] In one possible implementation, the execution module 530 is specifically used to: when the target vehicle door includes a first door, if the second door is in a closed state, control the first door to stop executing the target action; or, when the target vehicle door includes a second door, if the first door is in an open state, control the second door to stop executing the target action.
[0143] In one possible implementation, the execution module 530 is specifically used to: when the target vehicle door includes a first door, if the second door is in a closed state, control the first door to stop executing the target action; or, when the target vehicle door includes a second door, if the first door is in an open state, control the second door to stop executing the target action.
[0144] In one possible implementation, the detection module 510 is specifically used to: detect whether there is a force that prevents the target door from performing the target action during the process of the target door performing the target action; if there is a force and the force value of the force is greater than a preset value, it is determined that the target door has a target abnormality, and the target abnormality is the first situation.
[0145] In a possible implementation, the determination module 520 is specifically configured to: if the target abnormal situation is the second situation, determine the second strategy as the target strategy.
[0146] In a possible implementation, the execution module 530 is specifically configured to: when the target strategy is the second strategy, control the target door to remain stationary.
[0147] In a possible implementation, the execution module 530 is specifically configured to exit the execution of the target strategy when the user manually touches the target door to close or open the target door.
[0148] In a possible implementation, the determination module 520 is specifically configured to: if the target abnormal situation is the third situation, determine the third strategy as the target strategy.
[0149] In a possible implementation, the execution module 530 is specifically configured to prohibit the target door from being controlled to perform the door opening action, and output an alarm message for prompting that an attempt is made to open the target door.
[0150] In one possible implementation, the execution module 530 is also used to: detect whether there is a vehicle key within a preset range of the vehicle; if not, detect whether the vehicle has received authorization information; wherein the authorization information is used to indicate that the owner allows a user who is not the owner to open the target door by triggering a physical switch; if not, execute the steps of prohibiting the control of the target door from performing the door opening action, and output an alarm message for prompting that the target door is attempted to be opened.
[0151] Figure 7 A structural schematic diagram of a vehicle provided in an embodiment of the present application is shown.
[0152] For example, Figure 7 As shown, the vehicle 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores an executable program code 6011, and the processor 602 is used to call and execute the executable program code 6011 to perform a vehicle control method.
[0153] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to perform a vehicle control method provided by an embodiment of the present application.
[0154] In this embodiment, the device can be divided into functional modules based on the above-described method examples. For example, each functional module can be mapped to a specific functional module, or two or more functions can be integrated into a single processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and represents only a logical functional division. In actual implementation, other division methods may be used.
[0155] In the case of dividing the functional modules into corresponding functional modules, the device may also include a vehicle module, a vehicle module, a vehicle module, a vehicle module, a vehicle module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0156] It should be understood that the device provided in this embodiment is used to execute the above-mentioned vehicle control method, and thus can achieve the same effect as the above-mentioned implementation method.
[0157] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is used in a vehicle, the processing module may be used to control and manage the vehicle's movements. The storage module may be used to support the vehicle's execution of program codes, etc.
[0158] The processing module may be a processor or controller that implements or executes various exemplary logic blocks, modules, and circuits disclosed herein. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processing (DSP) and a microprocessor, and the storage module may be a memory.
[0159] In addition, the device provided in the embodiments of the present application can specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle control method provided in the above embodiment.
[0160] This embodiment also provides a computer-readable storage medium, which stores computer program code. When the computer program code runs on a computer, the computer executes the above-mentioned related method steps to implement a vehicle control method provided by the above embodiment.
[0161] This embodiment also provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the above-mentioned related steps to implement a vehicle control method provided by the above embodiment.
[0162] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0163] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0164] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0165] The above content is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A vehicle control method, characterized in that: The vehicle control method comprises: Detecting whether a target door of a vehicle has a target abnormality; wherein the target abnormality is at least one of a first situation, a second situation, and a third situation; the first situation includes detecting an obstacle that prevents the door from performing the target action during the door performing the target action; the second situation includes that the number of executions of the door performing a cyclic action is greater than a preset number; the third situation includes that when the vehicle is in a parked state, a physical switch of the door is triggered and the user who triggers the physical switch is not the vehicle owner; the target action is a door opening action or a door closing action, and the cyclic action includes the movement of the door from opening to closing, or the movement of the door from closing to opening; If so, determining a target strategy from preset door protection strategies based on the target abnormality; wherein the preset door protection strategies include: a first strategy for preventing the door from being pinched by the obstacle, a second strategy for preventing the door from repeatedly performing the cyclic action, and a third strategy for preventing items in the vehicle from being stolen; The target policy is executed.
2. The vehicle control method according to claim 1, characterized in that: The vehicle includes a tailgate, the tailgate includes a first door and a second door, the first door and the second door are in a split-door type; Determining a target strategy from a preset door protection strategy according to the target abnormality includes: If the target abnormal situation is the first situation, determining the first strategy as the target strategy; The executing the target strategy includes: When the target vehicle door includes the first door, controlling the first door to stop performing the target action; or, When the target vehicle doors include the second door, the second door is controlled to stop performing the target action.
3. The vehicle control method according to claim 1, characterized in that: The detecting whether a target door of the vehicle has a target abnormality includes: During the process of the target door performing the target action, detecting whether there is a force that prevents the target door from performing the target action; If the acting force exists and the acting force value is greater than the preset value, it is determined that the target abnormality exists in the target door, and the target abnormality is the first situation.
4. The vehicle control method according to claim 1, wherein: Determining a target strategy from a preset door protection strategy according to the target abnormality includes: If the target abnormal situation is the second situation, determining the second strategy as the target strategy; The executing the target strategy includes: The target door is controlled to remain stationary.
5. The vehicle control method according to claim 4, characterized in that: After controlling the target door to remain stationary, the vehicle control method further includes: In a case where a user manually contacts the target door to close or open the target door, execution of the target strategy is exited.
6. The vehicle control method according to claim 1, characterized in that: Determining a target strategy from a preset door protection strategy according to the target abnormality includes: If the target abnormal situation is the third situation, determining the third strategy as the target strategy; The executing the target strategy includes: The target door is prohibited from being controlled to execute the door opening action, and an alarm message is outputted to prompt that the target door is attempted to be opened.
7. The vehicle control method according to claim 6, characterized in that: After determining a target strategy from preset door protection strategies according to the target abnormality, the vehicle control method further includes: Detecting whether a vehicle key exists within a preset range of the vehicle; If not, detecting whether the vehicle has received authorization information; wherein the authorization information is used to indicate that the vehicle owner allows a user who is not the vehicle owner to open the target door by triggering the physical switch; If not, the step of prohibiting the target door from being controlled to perform the door opening action and outputting an alarm message for prompting that the target door is attempted to be opened is executed.
8. A vehicle control device, characterized in that: The device comprises: a detection module for detecting whether a target door of a vehicle has a target abnormality; wherein the target abnormality is at least one of a first situation, a second situation, and a third situation; the first situation includes detecting an obstacle that prevents the door from performing the target action during the door performing the target action; the second situation includes the door performing a cyclic action more than a preset number of times; the third situation includes the physical switch of the door being triggered when the vehicle is in a parked state, and the user who triggers the physical switch is not the vehicle owner; the target action is a door opening action or a door closing action, and the cyclic action includes the door moving from opening to closing, or the door moving from closing to opening; a determination module, configured to determine a target strategy from preset door protection strategies based on the target abnormality, if any; wherein the preset door protection strategies include: a first strategy for preventing the door from being pinched by the obstacle, a second strategy for preventing the door from repeatedly performing the cyclic action, and a third strategy for preventing items in the vehicle from being stolen; An execution module is used to execute the target strategy.
9. A vehicle, characterized in that: The vehicle comprises: a memory for storing executable program code; A processor is configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.