Vehicle sliding door control method and device, vehicle and storage medium
The method controls vehicle sliding doors by tracking the key's movement trajectory to prevent immediate reopening after closure, improving user experience and security by ensuring the door only opens when the key moves away and then approaches within a specific threshold.
Patent Information
- Application Number
- CN202411386680.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2024-12-27
AI Technical Summary
Existing vehicle sliding door systems automatically open when the key approaches after closure, leading to user inconvenience and increased risk of theft if the user does not immediately leave the vehicle.
A method to control the sliding door by determining the movement trajectory of the vehicle key relative to the vehicle, ensuring the door remains closed unless the key moves away and then approaches within a specific distance threshold, thereby preventing immediate reopening.
Prevents accidental door opening after closure, enhancing user experience and reducing theft risk by ensuring the door only opens when the key follows a predefined movement path.
Smart Images

Figure CN119195595A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicles, and more specifically, to a method and device for controlling a sliding door of a vehicle in the field of vehicles, a vehicle, and a storage medium. Background Art
[0002] With the development of vehicle technology, vehicles have more and more functions. Users no longer need to manually open or close the sliding door of the vehicle. Users only need to bring the vehicle key close to the vehicle, and the vehicle will automatically recognize the key and unlock the vehicle.
[0003] In the related art, since the vehicle key is a short-range wireless communication technology, the sliding door of the vehicle can only be opened or closed when the vehicle key is close to the vehicle. However, if the vehicle key is close to the vehicle after the sliding door of the vehicle is closed by the vehicle key, the vehicle will sense the vehicle key again and open the sliding door of the vehicle. That is, if the user does not immediately leave the current position of closing the sliding door of the vehicle, the vehicle key will immediately open the sliding door after closing the sliding door of the vehicle, which brings a bad experience to the user. Summary of the invention
[0004] The present application provides a vehicle sliding door control method, device, vehicle and storage medium. The method can solve the problem that after the sliding door of the vehicle is closed, the sliding door can be immediately opened when the vehicle key approaches the vehicle again.
[0005] In a first aspect, a method for controlling a sliding door of a vehicle is provided, the method comprising:
[0006] acquiring a plurality of relative positions between a vehicle key and the vehicle in response to the closing of the sliding door of the vehicle when an automatic sliding door opening function of the vehicle is activated, the automatic sliding door opening function being used to automatically open the sliding door when the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold;
[0007] determining a movement trajectory of the vehicle key based on a plurality of relative positions between the vehicle key and the vehicle;
[0008] When the movement trajectory of the vehicle key does not conform to the preset movement trajectory, the sliding door is controlled to remain closed. The preset movement trajectory is the movement trajectory of the vehicle key moving away from the vehicle and then detecting the movement direction of the vehicle key approaching the vehicle again.
[0009] Through the above technical solution, when the automatic opening function of the sliding door of the vehicle is activated, in response to the closing of the sliding door of the vehicle, multiple relative positions between the vehicle key of the vehicle and the vehicle are obtained, and the automatic opening function of the sliding door is used to automatically open the sliding door when the distance between the vehicle key and the vehicle is less than or equal to the first distance threshold. If the sliding door of the vehicle is closed, the vehicle key approaches the moving trajectory of the vehicle again, then the sliding door of the vehicle will be opened. Therefore, in order to prevent the sliding door of the vehicle from opening immediately after closing, the moving trajectory of the vehicle key is determined based on the multiple relative positions between the vehicle key of the vehicle and the vehicle. In the case that the moving trajectory of the vehicle key does not meet the preset moving trajectory, the sliding door is controlled to remain closed, and the preset moving trajectory is the moving trajectory of the vehicle key moving away from the vehicle and then detecting the moving direction of the vehicle key approaching the vehicle again. That is, in the case that the moving trajectory of the vehicle key does not meet the moving trajectory of the vehicle key moving away from the vehicle first and then approaching the vehicle again, the sliding door of the vehicle is controlled to remain closed, thereby preventing the sliding door of the vehicle from opening immediately after closing, and preventing the vehicle from being stolen.
[0010] In conjunction with the first aspect, in some possible implementations, a sensing area where each relative position between the vehicle key and the vehicle is located is determined, where the sensing area is used to describe an area where the vehicle receives a sensing signal from the vehicle key;
[0011] The movement trajectory of the vehicle key is determined based on the sensing areas where each relative position is located.
[0012] In conjunction with the first aspect, in some possible implementations, before determining the sensing areas where the multiple relative positions between the vehicle key and the vehicle are located, the method includes:
[0013] The sensing area of the vehicle key is divided based on the sensing signal strength of the vehicle key. The sensing area of the vehicle key includes a first area, a second area and a third area. The first area is a sensing area where the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold, the second area is a sensing area where the distance between the vehicle key and the vehicle is greater than the first distance threshold and less than or equal to a second distance threshold, and the third area is a sensing area where the distance between the vehicle key and the vehicle is greater than the second distance threshold, and the first distance threshold is less than the second distance threshold.
[0014] In conjunction with the first aspect, in some possible implementations, a change in the sensing areas where the multiple relative positions are located is determined;
[0015] The movement trajectory of the vehicle key is determined based on the change situation.
[0016] In combination with the first aspect, in certain possible implementations, when the movement trajectory of the vehicle key does not conform to a preset movement trajectory, the sliding door is controlled to remain closed, and the preset movement trajectory is the movement trajectory of the vehicle key from the third area to the first area, and the distance between the third area and the vehicle is greater than the distance between the first area and the vehicle.
[0017] In combination with the first aspect, in certain possible implementations, when a movement trajectory of the vehicle key matches a preset movement trajectory, a sliding door of the vehicle is controlled to open.
[0018] In combination with the first aspect, in some possible implementations, a unique identifier of a vehicle key and a historical movement track of the vehicle key are obtained, and the unique identifier is used to identify the vehicle key;
[0019] determining whether the vehicle key is close to the vehicle after the sliding door is closed based on the unique identifier of the vehicle key and the historical movement trajectory of the vehicle key;
[0020] When the vehicle key approaches the vehicle after the sliding door is closed, a prompt message indicating that the sliding door is successfully closed is triggered.
[0021] In a second aspect, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store executable program codes, and the processor is used to call and run the executable program codes from the memory, so that the electronic device executes the method executed by the above-mentioned vehicle sliding door control method.
[0022] In a third aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is run on a computer, the computer executes the method executed by the above-mentioned vehicle sliding door control method.
[0023] In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code is run on a computer, the computer executes the method executed by the above-mentioned vehicle sliding door control method. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a schematic diagram of an implementation environment of a vehicle sliding door control method provided by an embodiment of the present application;
[0025] Figure 2 is a schematic flow chart of a vehicle sliding door control method provided in an embodiment of the present application;
[0026] Figure 3 is a schematic flow chart of another vehicle sliding door control method provided in an embodiment of the present application;
[0027] Figure 4 is a schematic diagram of a sensing area division provided in an embodiment of the present application;
[0028] Figure 5 is a structural schematic diagram of a sliding door control device for a vehicle provided in an embodiment of the present application;
[0029] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present 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 the present application, "multiple" means two or more than two.
[0031] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0032] Figure 1 It is a schematic diagram of an implementation environment of a vehicle sliding door control method provided in an embodiment of the present application.
[0033] For example, Figure 1 As shown, the implementation environment includes a vehicle control unit (VCU) 101 and a Bluetooth receiver 102 .
[0034] The vehicle controller 101 is an important control unit of the vehicle, which can obtain relevant data of the vehicle and control the vehicle to perform corresponding operations based on the relevant data, for example, obtaining the sensing signal of the vehicle key and controlling the opening of the sliding door of the vehicle based on the sensing signal. In some embodiments, the vehicle controller 101 can receive the Bluetooth signal of the vehicle key collected by the Bluetooth receiver 102.
[0035] The Bluetooth receiver 102 is used to collect the Bluetooth signal of the vehicle key so that the vehicle controller 101 can obtain the Bluetooth signal of the vehicle key.
[0036] Figure 2 It is a schematic flow chart of a vehicle sliding door control method provided in an embodiment of the present application.
[0037] For example, Figure 2 As shown, taking the execution subject as a vehicle controller as an example, the method 200 includes.
[0038] Step 201, when the automatic opening function of the sliding door of the vehicle is activated, in response to the closing of the sliding door of the vehicle, multiple relative positions between the vehicle key and the vehicle are obtained, and the automatic opening function of the sliding door is used to automatically open the sliding door when the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold.
[0039] The sliding door of the vehicle is a door that is opened and closed by sliding. When the sliding door of the vehicle receives an automatic opening or closing instruction, it is automatically opened and closed by an electric motor.
[0040] The vehicle key includes a Bluetooth key. When the vehicle key approaches the vehicle, a plurality of relative positions between the vehicle key and the vehicle are obtained. The plurality of relative positions are used to represent the relative distance between the vehicle key and the vehicle.
[0041] It should be understood that the sliding door of the vehicle has an automatic opening function. When the distance between the vehicle key and the vehicle is far, the vehicle cannot detect the Bluetooth signal of the vehicle key; when the distance between the vehicle key and the vehicle is close, the vehicle can detect the Bluetooth signal of the vehicle key. The closer the vehicle key is to the vehicle, the higher the strength of the Bluetooth signal. In order to prevent the sliding door of the vehicle from being opened by mistake by remotely touching the vehicle key, the sliding door is automatically opened based on the Bluetooth signal when the distance between the vehicle key and the vehicle is less than or equal to the first distance threshold.
[0042] The first distance threshold is automatically determined by the vehicle controller or set by a technician according to actual conditions, and the present application embodiment does not limit this. For example, the first distance threshold may be 1.5 meters.
[0043] Step 202 : determining a movement trajectory of the vehicle key based on a plurality of relative positions between the vehicle key and the vehicle.
[0044] The movement trajectory of the vehicle indicates the position change of the vehicle key during the movement.
[0045] It should be understood that when the vehicle key gradually approaches the vehicle, the distance between the vehicle key and the vehicle keeps changing. Since the order of obtaining the multiple relative positions between the vehicle key and the vehicle is different, the distance of the vehicle key relative to the vehicle at different time points is determined based on the multiple relative positions between the vehicle key and the vehicle, that is, the movement trajectory of the vehicle key.
[0046] Step 203, when the movement trajectory of the vehicle key does not conform to the preset movement trajectory, the sliding door is controlled to remain closed. The preset movement trajectory is the movement trajectory of the vehicle key moving away from the vehicle and then detecting the movement direction of the vehicle key approaching the vehicle again.
[0047] It should be understood that when the vehicle key approaches the sliding door of the vehicle, the vehicle controller obtains the Bluetooth signal of the vehicle key, and when the vehicle key approaches the vehicle, the sliding door automatically opens. However, if the vehicle key is close to the vehicle after the user closes the sliding door of the vehicle, the vehicle controller will sense the Bluetooth key again and open the sliding door of the vehicle. That is, if the user does not immediately leave the current position of closing the sliding door of the vehicle, the vehicle key will immediately open the sliding door after closing the sliding door of the vehicle. Therefore, in order to avoid the sliding door of the vehicle being opened immediately after closing, it is determined whether the movement trajectory of the vehicle key meets the preset movement trajectory.
[0048] Among them, the movement trajectory of the vehicle key does not conform to the preset movement trajectory, which means that the movement direction of the vehicle key is not to move away from the vehicle first and then approach the vehicle again. Then the movement direction of the vehicle key may be to approach the vehicle first. In this case, if the sliding door of the vehicle is closed, even if the vehicle key approaches the vehicle again, it will not trigger the opening of the sliding door of the vehicle. In other words, even if the vehicle key approaches the vehicle again, the vehicle controller controls the sliding door of the vehicle to remain closed, thereby avoiding the problem of the sliding door of the vehicle opening immediately after closing, thereby reducing the risk of increasing theft of the vehicle.
[0049] The embodiment of the present application provides a method for controlling a sliding door of a vehicle. When the automatic opening function of the sliding door of the vehicle is activated, in response to the closing of the sliding door of the vehicle, a plurality of relative positions between the vehicle key of the vehicle and the vehicle are obtained. The automatic opening function of the sliding door is used to automatically open the sliding door when the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold. If the sliding door of the vehicle is closed, and the moving trajectory of the vehicle key approaches the vehicle again, the sliding door of the vehicle will be opened. Therefore, in order to prevent the sliding door of the vehicle from being opened immediately after closing, the moving trajectory of the vehicle key is determined based on the plurality of relative positions between the vehicle key of the vehicle and the vehicle. When the moving trajectory of the vehicle key does not meet the preset moving trajectory, the sliding door is controlled to remain closed. The preset moving trajectory is the moving trajectory of the vehicle key moving away from the vehicle and then detecting the moving direction of the vehicle key approaching the vehicle again. That is, when the moving trajectory of the vehicle key does not meet the moving trajectory of the vehicle key moving away from the vehicle first and then approaching the vehicle again, the sliding door of the vehicle is controlled to remain closed, thereby preventing the sliding door of the vehicle from being opened immediately after closing, and preventing the vehicle from being stolen.
[0050] Figure 3It is a schematic flow chart of a vehicle sliding door control method provided in an embodiment of the present application.
[0051] It should be noted that the above steps 201-203 are a simple description of a vehicle sliding door control method provided in an embodiment of the present application. The following will be combined with some examples to provide a more detailed description of the vehicle sliding door control method provided in an embodiment of the present application. Figure 3 Taking the execution subject as the vehicle controller as an example, the method includes the following steps.
[0052] Step 301, when the automatic opening function of the sliding door of the vehicle is turned on, in response to the closing of the sliding door of the vehicle, multiple relative positions between the vehicle key and the vehicle are obtained, and the automatic opening function of the sliding door is used to automatically open the sliding door when the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold.
[0053] It should be understood that when the automatic opening function of the sliding door of the vehicle is turned on, the vehicle detects the position of the vehicle key and determines whether to open the sliding door based on the change in the distance between the vehicle key and the vehicle.
[0054] In some embodiments, when the automatic opening function of the sliding door of the vehicle is activated, in response to the sliding door of the vehicle being closed, the sliding door is automatically opened when the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold.
[0055] For example, if the first distance threshold is 1.5 meters, the sliding door is automatically opened when the distance between the vehicle key and the vehicle is 0.5 meters.
[0056] It should be understood that when the automatic opening function of the sliding door of the vehicle is turned on, if the distance between the vehicle key and the vehicle is less than or equal to the first distance threshold, the sliding door will automatically open. However, if the vehicle key is relatively close to the vehicle after the sliding door of the vehicle is closed by the vehicle key, the vehicle will sense the vehicle key again and open the sliding door of the vehicle, thereby obtaining multiple relative positions between the vehicle key and the vehicle to determine whether to perform a control operation on the sliding door of the vehicle.
[0057] The following will describe how to obtain multiple relative positions between the vehicle key and the vehicle.
[0058] In a possible implementation, a plurality of relative positions between the vehicle key and the vehicle are determined based on a received signal strength (RSSI) of the vehicle key.
[0059] Among them, the vehicle key is a Bluetooth key, and the sensing signal of the vehicle key is a Bluetooth signal.
[0060] In some embodiments, the vehicle controller measures the time it takes for the Bluetooth signal of the vehicle key to reach the vehicle through a Bluetooth receiver, determines the distance between the vehicle key and the vehicle based on the time it takes for the Bluetooth signal to arrive at the vehicle, and determines the relative position between the vehicle key and the vehicle based on the distance between the vehicle key and the vehicle.
[0061] The time it takes for the Bluetooth signal to reach the vehicle is the time it takes for the Bluetooth signal to propagate from the vehicle key to the Bluetooth receiver in the vehicle.
[0062] In some embodiments, the distance between the vehicle key and the vehicle is calculated by measuring the time difference of the Bluetooth signal propagation.
[0063] In some embodiments, the time and position coordinates of the acquired multiple relative positions between the vehicle key and the vehicle are recorded, and the multiple relative positions between the vehicle key and the vehicle are determined based on the position coordinates and the time.
[0064] In this implementation, multiple relative positions between the vehicle key and the vehicle are obtained based on the induction signal strength of the vehicle key, and the accuracy of the obtained multiple relative positions is relatively high.
[0065] It should be understood that when the automatic opening function of the vehicle's sliding door is turned on, if the vehicle's sliding door is closed, multiple relative positions between the vehicle key and the vehicle are obtained, and then it is determined whether to perform a control operation on the vehicle's sliding door based on the multiple relative positions.
[0066] Step 302 : determining a movement trajectory of the vehicle key based on a plurality of relative positions between the vehicle key and the vehicle.
[0067] The movement trajectory is the path that the vehicle key passes through during the movement.
[0068] In some embodiments, multiple times corresponding to multiple relative positions between the vehicle key and the vehicle are obtained; the multiple relative positions are sorted according to the multiple times to obtain a movement trajectory of the vehicle key.
[0069] It should be understood that since the multiple relative positions between the vehicle key and the vehicle are obtained based on time, the movement trajectory of the vehicle key can be obtained by sorting them according to the times corresponding to the respective positions.
[0070] It should also be understood that the vehicle key is equipped with low-power Bluetooth. When the vehicle key is close to the vehicle, the vehicle and the vehicle key establish a connection. The distance between the vehicle key and the vehicle can be determined by the strength of the vehicle key's induction signal, thereby determining multiple relative positions between the vehicle key and the vehicle. Based on low-power Bluetooth technology to determine multiple relative positions between the vehicle key and the vehicle, the vehicle key must be close to the vehicle to detect the induction signal of the vehicle key. Different induction signal strengths of the vehicle key correspond to different positions between the vehicle key and the vehicle, and different induction signal strengths trigger different functions of the vehicle. Therefore, the induction area of the vehicle key is divided based on the induction signal strength of the vehicle key.
[0071] The following describes the division of the sensing area of the vehicle key based on the sensing signal strength of the vehicle key.
[0072] In a possible implementation, the sensing area of the vehicle key is divided based on the sensing signal strength of the vehicle key, and the sensing area of the vehicle key includes a first area, a second area, and a third area. The first area is a sensing area where the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold, the second area is a sensing area where the distance between the vehicle key and the vehicle is greater than the first distance threshold and less than or equal to a second distance threshold, and the third area is a sensing area where the distance between the vehicle key and the vehicle is greater than the second distance threshold, and the first distance threshold is less than the second distance threshold.
[0073] It should be understood that the sensing area is used to describe the area of the vehicle that receives the sensing signal of the vehicle key. The relative position between the vehicle key and the vehicle is used to describe the distance between the vehicle key and the vehicle. The distance between the vehicle key and the vehicle is calculated based on the sensing signal strength of the vehicle key. If the sensing signal strength of the vehicle key is stronger, the distance between the vehicle key and the vehicle is closer. Different sensing signal strengths of the vehicle key can trigger different functions of the vehicle. Based on the distance between the vehicle key and the vehicle, multiple relative positions between the vehicle key and the vehicle can be determined. Therefore, the sensing areas where the relative positions between the vehicle key and the vehicle are located are different, which can trigger different functions of the vehicle. For example, if the relative position between the vehicle key and the vehicle is within the second area, the headlights of the vehicle are automatically turned on. If the relative position between the vehicle key and the vehicle is within the third area, the vehicle key is far away from the vehicle, and a remote start function is provided.
[0074] For example, Figure 4 As shown, based on the strength of the vehicle key sensing signal, three sensing areas are divided from strong to weak into a first area, a second area, a third area, and a fourth area that cannot sense the sensing signal of the vehicle key.
[0075] Optionally, the four areas can also be divided into three sensing areas, namely, a first area, a second area, and a third area, based on the distance between the vehicle key and the vehicle, from near to far, and a fourth area that cannot sense the sensing signal of the vehicle key.
[0076] Among them, the first area, the second area and the third area are sensing areas where the vehicle can sense the vehicle key; the fourth area is an area where the vehicle cannot sense the sensing signal of the vehicle key.
[0077] In this implementation, the sensing area of the vehicle key is divided based on the sensing signal strength of the vehicle key, so that corresponding functions and services are triggered based on different sensing areas.
[0078] In order to explain the above implementation more clearly, the above implementation is explained in several parts below.
[0079] The first part explains the contents of dividing the first area.
[0080] The first area is a sensing area where the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold. The first area is a sensing area where the vehicle detects the strongest sensing signal of the vehicle key.
[0081] In some embodiments, the first area is used to automatically open the sliding door of the vehicle when the vehicle key approaches the vehicle. The shape of the first area includes a circle. Figure 4 As shown, the first area is a circle with the vehicle as the origin and the first distance threshold as the radius.
[0082] The second part explains the contents of dividing the second area.
[0083] The second area is a sensing area where the distance between the vehicle key and the vehicle is greater than the first distance threshold and less than or equal to the second distance threshold. The second area is a sensing area where the vehicle detects a weak sensing signal from the vehicle key.
[0084] The second distance threshold is automatically determined by the vehicle controller or set by a technician according to actual conditions, and the present application embodiment does not limit this. For example, the second distance threshold may be 2.5 meters.
[0085] In some embodiments, the shape of the second region includes a circular ring. Figure 4 As shown, the second area is a hollow circle with the first distance threshold as a small radius and the second distance threshold as a large radius.
[0086] Part 3 explains the contents of dividing the third area.
[0087] The third area is a sensing area where the distance between the vehicle key and the vehicle is greater than the second distance threshold and less than the third distance threshold. The third area is a sensing area where the vehicle detects the weakest sensing signal of the vehicle key.
[0088] The third distance threshold is automatically determined by the vehicle controller or set by a technician according to actual conditions, and the present application embodiment does not limit this. For example, the third distance threshold may be 3.5 meters.
[0089] In some embodiments, the shape of the third region includes a circular ring. Figure 4 As shown, the third area is a hollow circle with the second distance threshold as a small radius and the third distance threshold as a large radius.
[0090] Part 4 explains the contents of the fourth area.
[0091] The fourth area is an area where the distance between the vehicle key and the vehicle is greater than the third distance threshold. The fourth area is an area where the induction signal of the vehicle key cannot be detected.
[0092] It should be understood that based on the sensing area between the vehicle key and the vehicle, the functions corresponding to different sensing areas are triggered. For example, if the vehicle key moves from the second area or the third area to the first area, the sliding door of the vehicle is automatically opened. If the vehicle key is in the second area, the headlights of the vehicle are automatically turned on. If the vehicle key is in the third area and the vehicle key is far away from the vehicle, a remote start function is provided, thereby reducing the number of manual operations by the user, increasing the safety of the vehicle, and reducing the risk of vehicle theft.
[0093] It should also be understood that when the vehicle key moves from the third area to the first area or from the second area to the first area, the vehicle controller will open the sliding door of the vehicle. If the vehicle key approaches the vehicle again after the sliding door of the vehicle is closed, the sliding door of the vehicle will be opened immediately. Therefore, in order to prevent the sliding door of the vehicle from being opened immediately after being closed, the movement trajectory of the vehicle key is determined based on the sensing areas where multiple relative positions are located to determine whether to control the sliding door to be opened.
[0094] The following is a description of the content of determining the moving trajectory of the vehicle key based on the sensing areas where multiple relative positions are located.
[0095] In a possible implementation, the sensing areas at each relative position between the vehicle key and the vehicle are determined, where the sensing area is used to describe the area where the vehicle receives the sensing signal of the vehicle key; and the movement trajectory of the vehicle key is determined based on the sensing areas at each relative position.
[0096] The sensing areas where the multiple relative positions between the vehicle key and the vehicle are located include a first area, a second area and a third area.
[0097] It should be understood that the vehicle key can only receive the vehicle key sensing signal when the vehicle key is located in the sensing area. However, multiple relative positions between the vehicle key and the vehicle may be located in different sensing areas, so the sensing area where each relative position between the vehicle key and the vehicle is located is determined, thereby determining the sensing area passed by the vehicle key to obtain the movement trajectory of the vehicle key.
[0098] In order to explain the above implementation more clearly, the above implementation is explained in several parts below.
[0099] The first part describes a method for determining the sensing area where each relative position between the vehicle key and the vehicle is located.
[0100] In some embodiments, based on the distance between the vehicle key and the vehicle, each relative position is compared with the boundary of each sensing area to determine the sensing area where each relative position between the vehicle key and the vehicle is located.
[0101] It should be understood that the sensing area is used to describe the area where the vehicle receives the sensing signal of the vehicle key, and each relative position between the vehicle key and the vehicle is determined based on the sensing signal of the vehicle key. However, each relative position between the vehicle key and the vehicle may be located in a different sensing area, so by comparing each relative position with the boundary of each sensing area, the sensing area where each relative position is located can be determined.
[0102] In some embodiments, Figure 4 As shown, each relative position is compared with the boundary of the first area based on the distance between the vehicle key and the vehicle.
[0103] The boundary of the first area is a circle with the vehicle as the origin and the first distance threshold as the radius.
[0104] In some embodiments, if the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold, the sensing area where the relative position between the vehicle key and the vehicle is located is the first area; if the distance between the vehicle key and the vehicle is greater than the first distance threshold, the distance is compared with the boundary of the second area, wherein the boundary of the second area is a hollow circle with the first distance threshold as a small radius and the second distance threshold as a large radius.
[0105] For example, if the range of the first area is 0-1.5 meters, and the first position between the vehicle key and the vehicle is 1.4 meters away from the vehicle, then the sensing area where the first position is located is the first area.
[0106] In some embodiments, if the distance between the vehicle key and the vehicle is less than or equal to the second distance zone and the distance is greater than the first distance threshold, the relative position between the vehicle key and the vehicle is located in the second zone; if the distance between the vehicle key and the vehicle is greater than the second zone, the distance is compared with the boundary of the third zone, wherein the third zone is a hollow circle with the second distance threshold as the small radius and the third distance threshold as the large radius.
[0107] For example, if the range of the second area is 1.5 meters to 2.5 meters, the second position between the vehicle key and the vehicle is 2.3 meters away from the vehicle, and the third position between the vehicle key and the vehicle is 2.4 meters away from the vehicle, then the sensing area where the second position and the third position are located is the second area.
[0108] In some embodiments, if the distance between the vehicle key and the vehicle is less than or equal to a third distance area and the distance is greater than a second distance threshold, the relative position between the vehicle key and the vehicle is located in the third area; if the distance between the vehicle key and the vehicle is greater than the third area, it is determined that the relative position between the vehicle key and the vehicle is not within the sensing area.
[0109] For example, if the range of the third area is 2.5 meters to 3.5 meters, the fourth position between the vehicle key and the vehicle is 2.7 meters away from the vehicle, and the fifth position between the vehicle key and the vehicle is 3 meters away from the vehicle, then the sensing area where the fourth position and the fifth position are located is the third area.
[0110] It should be understood that abnormal situations may occur when detecting the sensing signal of the vehicle key. For example, the multiple relative positions obtained are discontinuous in position. It is impossible to determine whether the moving trajectory of the vehicle key is close to the vehicle or away from the vehicle based on the multiple relative positions. Therefore, the multiple relative positions are calibrated based on the sensing areas where the multiple relative positions are located.
[0111] In some embodiments, a sensing area where a plurality of continuous relative positions between the vehicle key and the vehicle are located is determined; based on the sensing area where the plurality of relative positions are located, the plurality of continuous relative positions are calibrated to obtain a plurality of sensing areas where the plurality of continuous relative positions are located.
[0112] For example, the acquired consecutive relative positions of the vehicle key are respectively the first position, the second position, the third position, the fourth position, the fifth position, and the sixth position; the sensing area where the first position is located is the third area, the sensing area where the second position is located is the third area, the sensing area where the third position is located is the second area, the sensing area where the fourth position is located is the second area, the area where the fifth position is located is the third area, and the sensing area where the sixth position is located is the first area; the area where the fifth position is located is the third area, indicating that the fifth position is an abnormal position.
[0113] In some embodiments, discontinuous positions are removed from the plurality of continuous relative positions, and sensing areas where other positions in the plurality of relative positions except the discontinuous positions are located are determined.
[0114] For example, if the sensing area where the first position is located is the third area, the sensing area where the second position is located is the third area, the sensing area where the third position is located is the second area, the sensing area where the fourth position is located is the second area, the area where the fifth position is located is the third area, and the sensing area where the sixth position is located is the first area, then the fifth position and the third area where the fifth position is located are removed.
[0115] Under this implementation, it is determined whether multiple relative positions between the vehicle key and the vehicle are within each sensing area; when the range of the multiple relative positions matches the range of each sensing area, the sensing area where the multiple relative positions between the vehicle key and the vehicle are located is determined, thereby facilitating subsequent triggering of related functions of the vehicle key based on the sensing area.
[0116] The second part describes a method for determining the movement trajectory of a vehicle key based on changes in sensing areas at multiple relative positions.
[0117] It should be understood that when the automatic opening function of the vehicle's sliding door is activated, the vehicle key may be accidentally touched, causing the vehicle's sliding door to open accidentally, increasing the risk of the vehicle being stolen. Therefore, in order to improve the safety of the vehicle, when the distance between the vehicle key and the vehicle is from far to near, it is determined whether to control the opening of the vehicle's sliding door. However, in the process of the vehicle key approaching the vehicle, the sensing areas where the vehicle key and the vehicle are located at multiple relative positions are different, and different sensing areas can trigger different functions of the vehicle. In order to avoid accidentally touching other functions of the vehicle when passing through different sensing areas, in the process of the vehicle key approaching the vehicle, the sensing area passed by the vehicle key is determined based on the change of the sensing area, so as to determine the movement trajectory of the vehicle key based on the sensing area passed by the vehicle key.
[0118] In some embodiments, changes in sensing areas where multiple relative positions are located are determined, and the movement trajectory of the vehicle key is determined based on the changes.
[0119] The change situation is used to indicate multiple sensing areas where multiple relative positions are located.
[0120] In some embodiments, the change includes changing from the third area to the second area, from the third area to the first area, from the first area to the second area, from the first area to the third area, from the second area to the third area, and from the second area to the first area.
[0121] It should be understood that different changes correspond to different movement trajectories of the vehicle key. For example, if the change is from the third area to the second area to the third area, the movement trajectory of the vehicle key is determined to be from the third area to the second area and then to the third area. If the change of the sensing area is from the second area to the third area, the movement trajectory of the vehicle key is determined to be from the second area to the third area. That is, even if the sensing area where the relative position of the vehicle key is located is the third area, different movement trajectories of the vehicle key can be obtained for different changes in the sensing area where the relative position is located.
[0122] In some embodiments, based on different sensing areas where the multiple relative positions are located, changes in the sensing areas where the multiple relative positions are located are determined.
[0123] For example, multiple consecutive relative positions of the vehicle key are obtained, namely the first position, the second position, and the third position; the sensing area where the first position is located is the third area, the sensing area where the second position is located is the second area, and the sensing area where the third position is located is the first area, then the change of the sensing areas where the multiple relative positions are located is determined to be from the third area to the first area.
[0124] In some embodiments, when the sensing areas where the multiple relative positions are located move from one sensing area to another sensing area, the multiple relative positions are sorted in time to obtain the movement trajectory of the vehicle key.
[0125] For example, when the sensing area where the first position is located is determined to be the third area, the sensing area where the second position is located is the second area, and the sensing area where the third position is located is the first area, the movement trajectory of the vehicle key is determined based on the first position, the second position and the third position, and the movement trajectory is from the third area to the first area.
[0126] In this implementation, the change of the sensing areas where the multiple relative positions are located is determined, and the movement trajectory of the vehicle key is determined based on the change, so that the sensing area corresponding to the movement trajectory of the vehicle key can be obtained.
[0127] Step 303, determining whether the movement trajectory of the vehicle key conforms to a preset movement trajectory.
[0128] The preset moving trajectory is a moving trajectory in which the moving direction of the vehicle key is detected to be away from the vehicle and then the moving direction of the vehicle key is detected to be close to the vehicle again.
[0129] It should be understood that if the vehicle's sliding door is closed by the vehicle key and then the vehicle key approaches the vehicle, the vehicle will sense the vehicle key again and open the vehicle's sliding door. Therefore, in order to prevent the vehicle key from opening the sliding door immediately after closing the vehicle's sliding door, it is necessary to determine whether the movement trajectory of the vehicle key meets the preset movement trajectory.
[0130] In some embodiments, Figure 4 As shown, the preset moving track is from the third area to the first area.
[0131] It should be understood that the vehicle key can close the sliding door of the vehicle in the third area, the second area, or the first area. After the sliding door of the vehicle is closed, many users will approach the vehicle to check whether the sliding door of the vehicle is locked. After the vehicle key approaches the sliding door of the vehicle, the sliding door of the vehicle automatically opens. In order to prevent the sliding door of the vehicle from automatically opening again after the vehicle key closes the sliding door of the vehicle, it is determined whether the movement trajectory of the vehicle key is a movement trajectory that first moves away from the vehicle and then approaches the vehicle.
[0132] In some embodiments, after the vehicle key closes the sliding door of the vehicle in the first area, it is determined whether the movement trajectory of the vehicle key meets the preset movement trajectory.
[0133] It should be understood that closing the sliding door of the vehicle in the first area by the vehicle key indicates that the vehicle key is very close to the vehicle. To prevent the vehicle key from immediately opening the sliding door of the vehicle, it is determined whether the moving trajectory of the vehicle key is a moving trajectory in which the moving direction of the vehicle key is away from the first area and then the moving direction of the vehicle key is detected again close to the first area.
[0134] In some embodiments, after the sliding door of the vehicle is closed in the first area by the vehicle key, it is determined whether the movement trajectory of the vehicle key conforms to the movement from the third area to the first area.
[0135] In some embodiments, after the vehicle key closes the sliding door of the vehicle in the first area, if the movement trajectory of the vehicle key is not from the third area to the first area, it is determined that the movement trajectory of the vehicle key does not meet the preset movement trajectory.
[0136] For example, if the movement trajectory of the vehicle key is from the first area to the second area, and then from the second area to the first area, it is determined that the movement trajectory of the vehicle key does not meet the preset movement trajectory. That is, the movement trajectory of the vehicle key is from the first area to the second area, and then from the second area to the first area, which means that the vehicle key is not far away from the vehicle, so it is determined that there is no need to open the sliding door of the vehicle. In this case, the vehicle key moves from the first area to the second area, and then from the second area to the first area to approach the vehicle, which may mean that the user returns to the vehicle to check whether the sliding door of the vehicle is locked. In order to prevent the sliding door of the vehicle from opening automatically, it is determined that the movement trajectory of the vehicle key does not meet the preset movement trajectory.
[0137] In some embodiments, after the vehicle key closes the sliding door of the vehicle in the first area, if the movement trajectory of the vehicle key is from the third area to the first area, it is determined that the movement trajectory of the vehicle key meets the preset movement trajectory.
[0138] In some embodiments, after the vehicle key closes the sliding door of the vehicle in the second area, it is determined whether the movement trajectory of the vehicle key meets the preset movement trajectory.
[0139] It should be understood that closing the sliding door of the vehicle in the second area by the vehicle key indicates that the vehicle key is very close to the vehicle. To avoid the vehicle key immediately opening the sliding door of the vehicle, it is determined whether the moving trajectory of the vehicle key is a moving trajectory in which the vehicle key moves away from the second area and then detects the moving direction of the vehicle key close to the second area again.
[0140] In some embodiments, after the sliding door of the vehicle is closed in the second area by the vehicle key, it is determined that the movement trajectory of the vehicle key matches the movement from the third area to the first area.
[0141] It can be understood that the specific implementation method of determining whether the movement trajectory of the vehicle key conforms to the movement from the third area to the first area after the sliding door of the vehicle is closed in the second area by the vehicle key can refer to the aforementioned determination of whether the movement trajectory of the vehicle key conforms to the movement from the third area to the first area after the sliding door of the vehicle is closed in the first area by the vehicle key.
[0142] In some embodiments, after the sliding door of the vehicle is closed in the third area by the vehicle key, it is determined whether the movement trajectory of the vehicle key conforms to the movement from the third area to the first area.
[0143] It can be understood that the specific implementation method of determining whether the movement trajectory of the vehicle key conforms to the movement from the third area to the first area after the sliding door of the vehicle is closed in the third area by the vehicle key can refer to the aforementioned determination of whether the movement trajectory of the vehicle key conforms to the movement from the third area to the first area after the sliding door of the vehicle is closed in the first area by the vehicle key.
[0144] In this embodiment, it is determined whether the movement trajectory of the vehicle key conforms to a preset movement trajectory, and then based on the movement trajectory, it can be determined whether to control the sliding door of the vehicle to be opened.
[0145] Step 304 : When the movement trajectory of the vehicle key does not conform to the preset movement trajectory, the sliding door is controlled to remain closed.
[0146] In a possible implementation, when the movement trajectory of the vehicle key does not conform to a preset movement trajectory, the sliding door is controlled to remain closed. The preset movement trajectory is the movement trajectory of the vehicle key from the third area to the first area, and the distance between the third area and the vehicle is greater than the distance between the first area and the vehicle.
[0147] It should be understood that if the movement trajectory of the vehicle key does not conform to the preset movement trajectory, it means that the movement trajectory of the vehicle key is not to move away from the vehicle and then approach the vehicle again. When the automatic opening function of the sliding door of the vehicle is activated, in order to prevent the sliding door of the vehicle from opening as soon as the vehicle key approaches the vehicle, it is determined whether to control the sliding door to close based on the movement trajectory of the vehicle key.
[0148] In some embodiments, when the movement trajectory of the vehicle key is not from the third area to the first area, the sliding door is controlled to remain closed.
[0149] For example, Figure 4 As shown, when the sliding door of the vehicle is closed, if the movement trajectory of the vehicle key is from the second area to the first area or the movement trajectory of the vehicle key is from the first area to the third area, the sliding door is controlled to remain closed.
[0150] In this embodiment, when the movement trajectory of the vehicle key does not conform to the preset movement trajectory, the sliding door is controlled to remain closed, thereby preventing the sliding door of the vehicle from opening as soon as the vehicle key approaches the vehicle. That is, when the movement trajectory of the vehicle key does not conform to the movement from the third area to the first area, the sliding door is controlled to remain closed, thereby preventing the problem of the sliding door of the vehicle opening immediately after closing.
[0151] Optionally, after executing the above steps, you can also execute the following steps.
[0152] In one possible implementation, a unique identifier of the vehicle key and a historical movement trajectory of the vehicle key are obtained, and the unique identifier is used to identify the vehicle key; based on the unique identifier of the vehicle key and the historical movement trajectory of the vehicle key, it is determined whether the vehicle key is close to the vehicle after the sliding door is closed; when the vehicle key is close to the vehicle after the sliding door is closed, a prompt message for successful sliding door closure is triggered.
[0153] The unique identifier of the vehicle key is used to identify the unique vehicle key corresponding to the vehicle.
[0154] In some embodiments, the unique identifier of the vehicle key includes an identifier such as a barcode, a QR code, or a radio frequency identification chip.
[0155] It should be understood that since the unique identifier of the vehicle key is used to identify the unique vehicle key corresponding to the vehicle, the historical movement trajectory of the unique vehicle key can be determined based on the unique identifier of the vehicle key and the historical movement trajectory of the vehicle key.
[0156] The historical movement trajectory is multiple movement trajectories of the vehicle key after the vehicle sliding door is closed.
[0157] For example, Figure 4As shown, the historical movement trajectory of the vehicle key includes the historical movement trajectory of the vehicle key from area two to the first area, the historical movement trajectory from the third area to the first area, the historical movement trajectory from the first area close to the sliding door of the vehicle, etc.
[0158] In some embodiments, when the sliding door of the vehicle is closed, the current position of the vehicle key is obtained; based on the current position of the vehicle key and the historical movement trajectory of the vehicle key, a prompt message for successful closing of the sliding door is triggered.
[0159] For example, if the vehicle key moves from the second area to the first area after closing the sliding door of the vehicle in the second area, it means that the vehicle key has approached the vehicle again. That is, the user may check again whether the sliding door of the vehicle is closed successfully after closing the sliding door of the vehicle. In order to prevent the user from approaching the sliding door of the vehicle repeatedly, the prompt information for successful closing of the sliding door is triggered to prompt the user that the sliding door of the vehicle has been closed successfully.
[0160] For another example, if the vehicle key moves from the third area to the first area after closing the sliding door of the vehicle in the third area, it means that the vehicle key has approached the vehicle again. That is, the user may check again whether the sliding door of the vehicle is closed successfully after closing the sliding door of the vehicle. In order to prevent the user from approaching the sliding door of the vehicle repeatedly, the prompt information for successful closing of the sliding door is triggered to prompt the user that the sliding door of the vehicle has been closed successfully.
[0161] For another example, if the vehicle key moves from the first area to the sliding door of the vehicle after closing the sliding door of the vehicle in the first area, it means that the vehicle key has approached the sliding door of the vehicle again. That is, the user may check again whether the sliding door of the vehicle is closed successfully after closing the sliding door of the vehicle. In order to prevent the user from approaching the sliding door of the vehicle repeatedly, the prompt information for successful closing of the sliding door is triggered to prompt the user that the sliding door of the vehicle has been closed successfully.
[0162] In a possible implementation, when the vehicle key approaches the vehicle after the sliding door is closed, a prompt message indicating that the sliding door is closed successfully is triggered.
[0163] The prompt information for closing the sliding door includes a prompt text and a prompt audio for closing the sliding door.
[0164] In some embodiments, a prompt text for closing the sliding door is sent to the user's terminal, and the prompt text is displayed on the terminal screen to prompt the user that the sliding door of the vehicle is closed successfully.
[0165] In some embodiments, the prompt audio is broadcast based on the vehicle's onboard audio system.
[0166] For example, if the vehicle key is close to the vehicle, the prompt text or prompt audio may be "Sliding door closed successfully."
[0167] Under this embodiment, when the vehicle key approaches the vehicle after the sliding door is closed, a prompt message that the sliding door is successfully closed is triggered, and the user does not need to approach the vehicle again to check whether the vehicle's sliding door is successfully closed. Therefore, the user is promptly reminded that the door has been successfully closed through the prompt text and prompt audio regarding the successful closing of the sliding door.
[0168] In some embodiments, the prompt text and the prompt audio are stored in a prompt storage medium. For example, the prompt storage medium includes a USB disk, a mobile hard disk, a magnetic disk, or an optical disk.
[0169] In this implementation, the prompt text and the prompt audio are stored in a prompt storage medium, so that the vehicle device can read the prompt text and the prompt audio.
[0170] Step 305 , when the movement trajectory of the vehicle key matches the preset movement trajectory, control the sliding door of the vehicle to open.
[0171] The preset moving trajectory is a moving trajectory from the third area to the first area.
[0172] In some embodiments, when the movement trajectory of the vehicle key matches the movement trajectory from the third area to the first area, the sliding door of the vehicle is controlled to open.
[0173] It should be understood that if the movement trajectory of the vehicle key meets the preset movement trajectory, it means that the movement trajectory of the vehicle key is to move away from the vehicle first and then approach the vehicle again. That is, if the vehicle key moves away from the vehicle first and then approaches the vehicle again, it means that the vehicle key needs to open the sliding door of the vehicle, so the sliding door of the vehicle is controlled to open, thereby reducing the manual operation of the user.
[0174] For example, Figure 4 As shown, when the sliding door of the vehicle is closed, if the movement trajectory of the vehicle key is from the third area to the first area, the sliding door is controlled to open.
[0175] In this implementation, when the movement trajectory of the vehicle key matches the movement trajectory from the third area to the first area, the sliding door of the vehicle is controlled to open. That is, when the movement trajectory of the vehicle key matches the movement trajectory from the third area to the first area, the sliding door is controlled to open, thereby reducing the manual operation of the user and bringing a better experience to the user.
[0176] The embodiment of the present application provides a method for controlling a sliding door of a vehicle. When the automatic opening function of the sliding door of the vehicle is turned on, in response to the closing of the sliding door of the vehicle, a plurality of relative positions between the vehicle key of the vehicle and the vehicle are obtained. The automatic opening function of the sliding door is used to automatically open the sliding door when the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold. If the sliding door of the vehicle is closed, and the vehicle key approaches the moving trajectory of the vehicle again, the sliding door of the vehicle will be opened. Therefore, in order to prevent the sliding door of the vehicle from opening immediately after closing, the moving trajectory of the vehicle key is determined based on the plurality of relative positions between the vehicle key of the vehicle and the vehicle, and whether the moving trajectory of the vehicle key meets the preset moving trajectory is determined, and then the sliding door of the vehicle is opened based on the moving trajectory. That is, when the moving trajectory of the vehicle key does not meet the preset moving trajectory, the sliding door is controlled to remain closed, thereby preventing the sliding door of the vehicle from opening immediately after closing, and reducing the direction of vehicle theft. When the moving trajectory of the vehicle key meets the preset moving trajectory, the sliding door of the vehicle is controlled to open, thereby reducing the operation of the user manually opening the sliding door, and bringing a better experience to the user.
[0177] Figure 5 It is a structural schematic diagram of a sliding door control device for a vehicle provided in an embodiment of the present application.
[0178] For example, Figure 5 As shown, the device 500 includes:
[0179] an acquisition module 501, configured to acquire a plurality of relative positions between a vehicle key and the vehicle in response to the closing of the sliding door of the vehicle when an automatic sliding door opening function of the vehicle is activated, wherein the automatic sliding door opening function is configured to automatically open the sliding door when the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold;
[0180] A determination module 502, configured to determine a movement trajectory of the vehicle key based on a plurality of relative positions between the vehicle key and the vehicle;
[0181] The control module 503 is used to control the sliding door to remain closed when the movement trajectory of the vehicle key does not conform to the preset movement trajectory. The preset movement trajectory is the movement trajectory of the vehicle key after the movement direction of the vehicle key moves away from the vehicle and then the movement direction of the vehicle key is detected again to be close to the vehicle.
[0182] In a possible implementation manner, the device 500 further includes:
[0183] A sensing area determination module is used to determine the sensing area where each relative position between the vehicle key and the vehicle is located, and the sensing area is used to describe the area where the vehicle receives the sensing signal of the vehicle key;
[0184] The determination module 502 is used to determine the movement trajectory of the vehicle key based on the sensing areas where the relative positions are located.
[0185] In a possible implementation manner, the device 500 further includes:
[0186] A division module is used to divide the sensing area of the vehicle key based on the sensing signal strength of the vehicle key, the sensing area of the vehicle key includes a first area, a second area and a third area, the first area is a sensing area where the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold, the second area is a sensing area where the distance between the vehicle key and the vehicle is greater than the first distance threshold and less than or equal to a second distance threshold, the third area is a sensing area where the distance between the vehicle key and the vehicle is greater than the second distance threshold, and the first distance threshold is less than the second distance threshold.
[0187] In a possible implementation manner, the device 500 further includes:
[0188] A change determination module is used to determine the change of the sensing areas where the multiple relative positions are located;
[0189] The determination module 502 is used to determine the movement trajectory of the vehicle key based on the change situation.
[0190] In a possible implementation manner, the device 500 further includes:
[0191] The control module 503 is used to control the sliding door to remain closed when the movement trajectory of the vehicle key does not conform to the preset movement trajectory. The preset movement trajectory is the movement trajectory of the vehicle key from the third area to the first area, and the distance between the third area and the vehicle is greater than the distance between the first area and the vehicle.
[0192] In a possible implementation manner, the device 500 further includes:
[0193] The control module 503 is used to control the opening of the sliding door of the vehicle when the movement trajectory of the vehicle key meets the preset movement trajectory.
[0194] In a possible implementation manner, the device 500 further includes:
[0195] A module for obtaining historical movement tracks is used to obtain a unique identifier of a vehicle key and a historical movement track of the vehicle key, wherein the unique identifier is used to identify the vehicle key;
[0196] A module for determining proximity to a vehicle, for determining whether the vehicle key is close to the vehicle after the sliding door is closed based on the unique identifier of the vehicle key and the historical movement trajectory of the vehicle key;
[0197] The trigger module is used to trigger a prompt message indicating that the sliding door is closed successfully when the vehicle key approaches the vehicle after the sliding door is closed.
[0198] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0199] For example, Figure 6 As shown, the vehicle 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores an executable program code 603, and the processor 602 is used to call and execute the executable program code 603 to perform a vehicle sliding door control method.
[0200] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a vehicle sliding door control method provided in an embodiment of the present application.
[0201] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0202] In the case of dividing each functional module according to each function, the device may also include a division module, a trigger module, a sensing area determination 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, which will not be repeated here.
[0203] It should be understood that the device provided in this embodiment is used to execute the above-mentioned sliding door control method of a vehicle, and thus can achieve the same effect as the above-mentioned implementation method.
[0204] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing related program codes, etc.
[0205] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0206] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle sliding door control method provided in the above embodiments.
[0207] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a vehicle sliding door control method provided in the above embodiment.
[0208] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a vehicle sliding door control method provided in the above embodiment.
[0209] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0210] 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 assigned to 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.
[0211] In the embodiments provided in the present 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 only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, 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.
[0212] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for controlling a sliding door of a vehicle, characterized in that: The method comprises: acquiring a plurality of relative positions between a vehicle key and the vehicle in response to the closing of the sliding door of the vehicle when an automatic sliding door opening function of the vehicle is activated, the automatic sliding door opening function being used to automatically open the sliding door when the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold; determining a movement trajectory of the vehicle key based on a plurality of relative positions between the vehicle key and the vehicle; When the movement trajectory of the vehicle key does not conform to a preset movement trajectory, the sliding door is controlled to remain closed. The preset movement trajectory is a movement trajectory in which the vehicle key moves away from the vehicle and then is detected to move closer to the vehicle.
2. The method according to claim 1, characterized in that The determining the movement trajectory of the vehicle key based on a plurality of relative positions between the vehicle key and the vehicle comprises: Determine a sensing area where each relative position between the vehicle key and the vehicle is located, the sensing area being used to describe an area of the vehicle where a sensing signal of the vehicle key is received; The movement trajectory of the vehicle key is determined based on the sensing areas where the respective relative positions are located.
3. The method according to claim 2, characterized in that Before determining the sensing areas where the plurality of relative positions between the vehicle key and the vehicle are located, the method includes: The sensing area of the vehicle key is divided based on the sensing signal strength of the vehicle key, and the sensing area of the vehicle key includes a first area, a second area and a third area. The first area is a sensing area where the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold, the second area is a sensing area where the distance between the vehicle key and the vehicle is greater than the first distance threshold and less than or equal to a second distance threshold, and the third area is a sensing area where the distance between the vehicle key and the vehicle is greater than the second distance threshold, and the first distance threshold is less than the second distance threshold.
4. The method according to claim 2, characterized in that: The determining the movement trajectory of the vehicle key based on the sensing areas where the multiple relative positions are located includes: Determine changes in the sensing areas where the multiple relative positions are located; A movement trajectory of the vehicle key is determined based on the change.
5. The method according to claim 1, characterized in that When the movement trajectory of the vehicle key does not conform to the preset movement trajectory, controlling the sliding door to remain closed includes: When the movement trajectory of the vehicle key does not conform to the preset movement trajectory, the sliding door is controlled to remain closed. The preset movement trajectory is the movement trajectory of the vehicle key from the third area to the first area, and the distance between the third area and the vehicle is greater than the distance between the first area and the vehicle.
6. The method according to claim 1, characterized in that The method further comprises: When the movement trajectory of the vehicle key matches the preset movement trajectory, the sliding door of the vehicle is controlled to open.
7. The method according to claim 1, characterized in that When the movement trajectory of the vehicle key does not conform to the preset movement trajectory, controlling the sliding door to remain closed includes: Acquire a unique identifier of the vehicle key and a historical movement track of the vehicle key, wherein the unique identifier is used to identify the vehicle key; determining, based on the unique identifier of the vehicle key and the historical movement trajectory of the vehicle key, whether the vehicle key is close to the vehicle after the sliding door is closed; When the vehicle key approaches the vehicle after the sliding door is closed, a prompt message indicating that the sliding door is successfully closed is triggered.
8. A sliding door control device for a vehicle, characterized in that: The device comprises: an acquisition module, configured to acquire a plurality of relative positions between a vehicle key of the vehicle and the vehicle in response to the sliding door of the vehicle being closed when an automatic sliding door opening function of the vehicle is activated, wherein the automatic sliding door opening function is configured to automatically open the sliding door when the distance between the vehicle key and the vehicle is less than or equal to a first distance threshold; a determination module, configured to determine a movement trajectory of the vehicle key based on a plurality of relative positions between the vehicle key and the vehicle; A control module is used to control the sliding door to remain closed when the movement trajectory of the vehicle key does not conform to a preset movement trajectory, wherein the preset movement trajectory is the movement trajectory of the vehicle key after the movement direction of the vehicle key moves away from the vehicle and then the movement direction of the vehicle key is detected again to be close to the vehicle.
9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, 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.
