Vehicle side sliding door control method and device, electronic equipment and storage medium
By monitoring personnel movement using an obstacle ranging component and combining this with the status of the sliding door, the problem of user waiting in traditional electric sliding doors is solved, enabling automatic opening and closing of the sliding door and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREAT WALL MOTOR CO LTD
- Filing Date
- 2023-09-04
- Publication Date
- 2026-06-12
Smart Images

Figure CN117188897B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive technology, and in particular to a method, device, electronic device, and storage medium for controlling a vehicle's sliding door. Background Technology
[0002] Sliding doors for automobiles are increasingly favored by customers due to their ease of parking, convenient entry and exit, and ease of loading and unloading, especially suitable for large passenger MPVs and minivans. With the improvement of vehicle configurations, some vehicles are equipped with electric sliding doors. Traditional electric sliding doors require passengers to pull the exterior door handle to trigger the door's opening or closing. Because the door opens slowly, passengers have to wait outside the vehicle while the door opens, resulting in a poor user experience. Summary of the Invention
[0003] This application provides a vehicle sliding door control method, device, electronic device, and storage medium to solve the problem of how to achieve automatic opening and closing of the sliding door.
[0004] In a first aspect, embodiments of this application provide a method for controlling a vehicle side sliding door, the method comprising:
[0005] The movement of people within a preset range corresponding to the vehicle is monitored by an obstacle ranging component installed on the vehicle, and personnel monitoring information is obtained. The personnel monitoring information includes the number of people within the preset range and the direction of movement of each person relative to the vehicle.
[0006] Obtain the current door status corresponding to the sliding door of the vehicle;
[0007] Based on the personnel monitoring information and the current door status, the door status corresponding to the sliding door is controlled.
[0008] Secondly, embodiments of this application also provide a vehicle side sliding door control device, the device comprising:
[0009] The first acquisition module is used to monitor the movement of people within a preset range corresponding to the vehicle by using an obstacle ranging component installed on the vehicle, and to acquire personnel monitoring information, which includes the number of people within the preset range and the direction of movement of each person relative to the vehicle.
[0010] The second acquisition module is used to acquire the current door status corresponding to the sliding door of the vehicle;
[0011] The control module is used to control the door status corresponding to the sliding door based on the personnel monitoring information and the current door status.
[0012] Thirdly, embodiments of this application provide an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the above-described vehicle side sliding door control method.
[0013] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-described vehicle side sliding door control method.
[0014] The embodiments of this application include at least the following technical effects:
[0015] The technical solution of this application embodiment monitors the movement of people around the vehicle to obtain personnel monitoring information. Based on the personnel monitoring information and the current door status of the sliding door, it determines whether the user has a need to open or close the sliding door, thereby controlling the door status of the sliding door and realizing the automatic opening and closing of the sliding door, improving the intelligence of the vehicle and enhancing the user experience. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0017] Figure 1 This is a schematic flowchart of the vehicle side sliding door control method provided in the embodiments of this application;
[0018] Figure 2 This is a schematic diagram of the vehicle side sliding door control system provided in an embodiment of this application;
[0019] Figure 3 This is a schematic diagram of the structure of the vehicle side sliding door control device provided in the embodiments of this application;
[0020] Figure 4 A block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0021] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0022] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.
[0023] In the various embodiments of this application, it should be understood that the sequence number of each process described below does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0024] like Figure 1 As shown in the figure, this application provides a method for controlling a vehicle side sliding door, the method including:
[0025] Step 101: Monitor the movement of people within a preset range corresponding to the vehicle using an obstacle ranging component installed on the vehicle, and obtain personnel monitoring information, which includes the number of people within the preset range and the direction of movement of each person relative to the vehicle.
[0026] The vehicle in this embodiment is equipped with an electric sliding door. An obstacle ranging component is also installed on the vehicle to measure the distance between it and obstacles. This component can monitor the movement of people within a preset range corresponding to the vehicle. This preset range can be the same as, slightly larger than, or slightly smaller than the vehicle's keyless entry effective area, and can also be set according to the vehicle's usage scenario; this application does not impose any specific limitations.
[0027] Specifically, the obstacle ranging component can monitor personnel within a preset range, thereby acquiring personnel monitoring information, including the number of personnel within the preset range and the direction of movement of each person relative to the vehicle. The direction of movement for each person is determined based on the change in the distance between them and the vehicle. If the currently acquired distance between the person and the vehicle is greater than the distance acquired at the previous data collection time, then the person's direction of movement is away from the vehicle; if the currently acquired distance is less than the distance acquired at the previous data collection time, then the person's direction of movement is towards the vehicle.
[0028] By acquiring personnel monitoring information in real time, it is possible to determine whether anyone is approaching the vehicle, the number of people approaching the vehicle, whether anyone is moving away from the vehicle, and the number of people moving away from the vehicle.
[0029] Step 102: Obtain the current door status corresponding to the sliding door of the vehicle.
[0030] Since whether an occupant intends to open or close the electric sliding door is closely related to the current door status corresponding to the sliding door, it is only necessary to determine whether the occupant intends to open the sliding door when the current door status is closed, and similarly, it is only necessary to determine whether the occupant intends to close the sliding door when the current door status is open. Therefore, in order to accurately determine the occupant's control intention for the sliding door, it is necessary to obtain the current door status corresponding to the sliding door, and then combine the current door status to determine whether the occupant has a need to open or close the electric sliding door.
[0031] Step 103: Control the door status corresponding to the sliding door based on the personnel monitoring information and the current door status.
[0032] After obtaining the current door status and personnel monitoring information corresponding to the sliding door, it is possible to determine whether the personnel have the intention to control the sliding door, that is, the need to open or close the electric sliding door, based on the personnel monitoring information and the current door status, and control the door status corresponding to the sliding door based on the intention.
[0033] In this embodiment, by monitoring the movement of people around the vehicle, personnel monitoring information is obtained. Based on the personnel monitoring information and the current door status of the sliding door, it is determined whether the user has a need to open or close the sliding door, thereby controlling the door status of the sliding door and realizing the automatic opening and closing of the sliding door, improving the intelligence of the vehicle and enhancing the user experience.
[0034] In an optional embodiment of this application, before monitoring the movement of people within a preset range corresponding to the vehicle using an obstacle ranging component installed on the vehicle, the method further includes:
[0035] Determine the target time for activating the obstacle ranging component;
[0036] At the target time, the obstacle ranging component is controlled to switch from standby state to active state;
[0037] The obstacle ranging component includes at least one radar installed on the vehicle.
[0038] Specifically, before monitoring the movement of people within a preset range corresponding to the vehicle using the obstacle ranging component installed on the vehicle, a target time for activating the obstacle ranging component needs to be determined. At the target time, the obstacle ranging component is controlled to switch from standby to active state, thus enabling the monitoring of personnel movement within the preset range corresponding to the vehicle. In other words, the vehicle only monitors the movement of people within its preset range after the target time for activating the obstacle ranging component has been determined.
[0039] The obstacle ranging component includes at least one radar installed on the vehicle. Specifically, the radar may be installed to implement the sliding door control method in this application, or it may be a radar reused in other functions of the vehicle.
[0040] The above-described implementation scheme of this application eliminates the need for the obstacle ranging component to be constantly active during the target time determination step. It is only activated when obstacle monitoring is required, i.e., when the target time is determined. This saves costs and allows the target time to be determined based on the vehicle's usage scenario, better meeting user needs and enhancing the vehicle's intelligence.
[0041] In an optional embodiment of this application, determining the target time for activating the obstacle ranging component includes:
[0042] When the vehicle is in a locked state, the time when the key of the vehicle is detected to enter the effective detection area corresponding to the vehicle and the vehicle switches from a locked state to an unlocked state is determined as the target time;
[0043] When the vehicle is in an unlocked state, the time when the vehicle enters the unlocked state is determined as the target time.
[0044] Specifically, the target time is the moment when the obstacle ranging component is activated, which is the moment when the user is detected opening or closing the sliding door.
[0045] In this embodiment, when determining the target time, the vehicle's state is first determined. This state refers to whether the vehicle is locked or unlocked. If the vehicle is locked, the target time is defined as the moment when the key enters the vehicle's effective detection area and the vehicle switches from locked to unlocked. In other words, the target time is the moment when a user approaches the vehicle with the key and unlocks it. This user can be the driver or another passenger. At this time, it may be necessary to open the sliding door. Whether to open it requires further determination based on personnel monitoring information obtained through the obstacle ranging component. Upon determining the target time, the obstacle ranging component can be activated to perform the corresponding operation. If the vehicle is unlocked, the scenario might be that a user has unlocked the vehicle and is preparing to get in. In this case, it's necessary to determine whether to open the sliding door. Alternatively, if there are passengers in the rear seats, and they are getting out, it's necessary to determine whether to close the sliding door. Therefore, when the vehicle is unlocked, the time when the vehicle enters the unlocked state is defined as the target time, allowing the obstacle ranging component to be activated at that time to perform the corresponding operation.
[0046] The above-described implementation scheme of this application determines the target times for activating the obstacle ranging component as the time when the vehicle is in a locked state, the time when the vehicle key is detected entering the vehicle's corresponding effective detection area and the time when the vehicle switches from a locked state to an unlocked state, and the time when the vehicle enters an unlocked state. This can cover the usage scenarios of users using the vehicle's sliding doors. By determining the time when it is determined that the sliding door may need to be controlled as the target time and activating the obstacle ranging component at the target time, the sliding door can be automatically opened before the user gets in the vehicle and automatically closed after the user gets out of the vehicle, thus improving the user experience.
[0047] In an optional embodiment of this application, the door state corresponding to the sliding door is controlled based on the personnel monitoring information and the current door state, including:
[0048] When the current door status is closed, a first number of people who meet the first preset condition are determined based on the personnel monitoring information, wherein the movement direction of the people who meet the first preset condition relative to the vehicle is towards the vehicle;
[0049] Based on the first quantity, determine whether to switch the sliding door's door status to the open state.
[0050] Specifically, when controlling the door status corresponding to the sliding door based on personnel monitoring information and the current door status, if the current door status is closed, it is necessary to determine whether the user intends to open the sliding door. Opening the sliding door here refers to opening the sliding door from the outside of the vehicle. Specifically, it can be determined by using personnel monitoring information to determine how many people need to get on the vehicle. Specifically, it can be determined by obtaining the first number of people that meet the first preset condition, that is, the number of people who are close to the vehicle relative to the direction of movement of the vehicle. Then, it can be determined whether there are people who need to get on the vehicle and the number of people who need to get on the vehicle. Then, based on the determined first number, the door status corresponding to the sliding door is controlled.
[0051] The above-described implementation scheme of this application obtains the number of people approaching the vehicle when the sliding door is closed, which is the first number. Then, based on the first number, the door status of the sliding door is controlled, thereby more accurately determining whether the sliding door needs to be opened and improving the user experience.
[0052] In an optional embodiment of this application, determining whether to switch the sliding door's door state to the open state based on the first quantity includes:
[0053] When the first quantity equals 1 and no one is detected in the driver's seat of the vehicle, the sliding door is controlled to remain closed;
[0054] When the first number is equal to 1 and someone is detected in the driver's seat of the vehicle, or when the first number is greater than or equal to 2, the sliding door is controlled to switch from the closed state to the open state.
[0055] Specifically, when someone is detected approaching the vehicle (i.e., the first number is greater than or equal to 1), if the first number is 1 (meaning one person approaches the vehicle), it is also necessary to check if there is anyone in the driver's seat. If no one is there, the person approaching the vehicle is the driver, and the sliding door does not need to be opened, so it remains closed. If someone is there, the person approaching the vehicle is a rear passenger, and the sliding door needs to be opened, so the sliding door is switched from closed to open. If the first number is greater than or equal to 2 (meaning multiple people approach the vehicle), and some of them need to sit in the rear seats, the sliding door needs to be opened, so the sliding door is switched from closed to open.
[0056] It should be noted that a pressure sensor can be installed on the driver's seat. The pressure value collected by the pressure sensor can determine whether someone is sitting in the driver's seat.
[0057] The above-described implementation scheme of this application determines whether to switch the sliding door to the open state by using a first quantity and considering whether there is someone in the driver's seat. If someone needs to sit in the back seat of the vehicle, there is no need to pull the handle of the sliding door to open it. Instead, as people approach the vehicle, the sliding door can automatically decide whether to open it based on the number of people approaching the vehicle, thus realizing automatic opening of the sliding door, improving the intelligence of the vehicle, and enhancing the user experience.
[0058] In an optional embodiment of this application, the door state corresponding to the sliding door is controlled based on the personnel monitoring information and the current door state, including:
[0059] When the current door status is open, the second number of rear seats in the vehicle that meet the second preset condition and the third number of people that meet the third preset condition are obtained, wherein the seats that meet the second preset condition are changed from being occupied to being unoccupied; and the people that meet the third preset condition are moving away from the vehicle.
[0060] Based on the second quantity and the third quantity, determine whether to switch the sliding door's door status to the closed state.
[0061] Specifically, when controlling the sliding door status based on personnel monitoring information and the current door status, if the current door status is open, it is necessary to determine whether the user intends to close the sliding door. This can be achieved by obtaining a second number of people meeting a second preset condition and a third number of people meeting a third preset condition, where the second preset condition indicates a seat has changed from occupied to unoccupied; and the third preset condition indicates people moving away from the vehicle. Therefore, the second number represents the number of people exiting the rear seats, and the third number represents the number moving away from the vehicle. Then, based on the determined second and third numbers, the sliding door status is controlled.
[0062] It should be noted that a pressure sensor can be installed on each seat in the vehicle. The pressure value collected by the pressure sensor can determine whether the corresponding seat is occupied, thereby determining the second quantity.
[0063] In the above-described implementation scheme of this application, when the sliding door is in the open state, the number of people getting out of the rear seats of the vehicle (the second number) and the number of people away from the vehicle (the third number) are obtained. Then, based on the second and third numbers, the door status of the sliding door is controlled, thereby more accurately determining whether the sliding door needs to be closed and improving the user experience.
[0064] In an optional embodiment of this application, controlling the door state corresponding to the sliding door based on the second quantity and the third quantity includes:
[0065] When the third quantity is detected to be less than the second quantity, the sliding door is kept open.
[0066] When the third quantity is detected to be equal to the second quantity, the sliding door is controlled to switch from the open state to the closed state.
[0067] Specifically, when controlling the door status corresponding to the sliding door based on the second and third quantities, if the third quantity is detected to be less than the second quantity (meaning the number of people moving away from the vehicle is less than the number of people leaving the rear seats), it is possible that passengers have gotten out of the vehicle to retrieve items but have not moved away from the vehicle, and the sliding door needs to be kept open. If the third quantity is detected to be equal to the second quantity (meaning the number of people moving away from the vehicle is equal to the number of people leaving the rear seats), it indicates that all passengers leaving the rear seats have moved away from the vehicle, and the sliding door can be switched from open to closed.
[0068] The above-described implementation scheme of this application determines whether to switch the sliding door to the closed state through the second and third quantities. After the occupants leave the vehicle, the sliding door can be automatically controlled to close without manual closing, which improves the intelligence of the vehicle and enhances the user experience.
[0069] The system architecture of the sliding door control method provided in the embodiments of this application is described below, such as... Figure 2 As shown, the system architecture includes: an electric side door controller, a body controller, an ultrasonic controller, an ultrasonic radar, a driver's seat sensor, rear seat sensors, a key antenna, an electric side door actuator, and a smart key. The ultrasonic radar can be replaced by other ranging devices such as ultra-wideband (UWB) radar or millimeter-wave radar. The smart key's location can be determined using both LF and radio frequency signals, or via Bluetooth Low Energy (BLE), UWB, or other methods. The smart key's location is determined by the key antenna in the vehicle transmitting a low-frequency signal in a specific band, such as 125kHz, and the body controller receiving the received signal strength indicator (RSSI) value from the radio frequency signal fed back by the smart key.
[0070] Specifically, the ultrasonic controller monitors the movement of people within a preset range corresponding to the vehicle using ultrasonic radar, obtains the monitoring results, and sends them to the body controller. The electric side door controller obtains the monitoring results from the body controller and, based on these results, obtains personnel monitoring information, including the number of people within the preset range and the direction of movement of each person relative to the vehicle. The body controller also obtains the current door status of the sliding door and feeds it back to the electric side door controller. Based on the personnel monitoring information and the current door status, the electric side door controller controls the door status of the sliding door and sends corresponding control commands to the electric side door actuator to switch the door status of the sliding door.
[0071] Furthermore, the electric side door controller is also used to determine the target time for activating the obstacle ranging component, and at the target time, control the ultrasonic controller and ultrasonic radar to switch from standby state to active state via the body controller.
[0072] Furthermore, when determining the target time for activating the obstacle ranging component, the electric side door controller can obtain the vehicle's status through the body controller. If the vehicle is in a locked state, the controller detects whether the vehicle's key (i.e., the smart key) has entered the vehicle's corresponding effective detection area via the key antenna and determines whether the vehicle has switched from a locked state to an unlocked state via the body controller. The time when the vehicle's key is detected entering the vehicle's corresponding effective detection area and the vehicle switches from a locked state to an unlocked state is determined as the target time. If the body controller detects that the vehicle is in an unlocked state, the time when the vehicle enters the unlocked state is determined as the target time.
[0073] Furthermore, when the electric side-opening door controller controls the door state corresponding to the sliding door based on the personnel monitoring information and the current door state, when the current door state is closed, it determines a first number of personnel that meet the first preset condition based on the personnel monitoring information, wherein the movement direction of the personnel that meet the first preset condition relative to the vehicle is towards the vehicle; based on the first number, it determines whether to switch the door state of the sliding door to the open state.
[0074] Specifically, when the first number equals 1 and no one is detected in the driver's seat of the vehicle, the sliding door is kept closed. When the first number equals 1 and someone is detected in the driver's seat of the vehicle, or when the first number is greater than or equal to 2, the sliding door is switched from closed to open. The electric side-opening door controller can determine whether there is someone in the driver's seat of the vehicle by receiving data collected by the driver's seat sensor sent by the body controller.
[0075] Furthermore, when the electric side-opening door controller controls the door state corresponding to the sliding door based on the occupant monitoring information and the current door state, when the current door state is open, it determines the second number of rear seats that meet a second preset condition and the third number of occupants that meet a third preset condition. Specifically, seats meeting the second preset condition change from occupied to unoccupied; occupants meeting the third preset condition move away from the vehicle. Based on the second and third numbers, it determines whether to switch the sliding door state to closed. If the third number is less than the second number, the sliding door remains open; if the third number equals the second number, the sliding door changes from open to closed. The electric side-opening door controller can determine the second number of rear seats that meet the second preset condition by receiving data collected by the rear seat sensors sent by the body controller.
[0076] The above describes the vehicle side sliding door control method provided in the embodiments of this application. The vehicle side sliding door control device provided in the embodiments of this application will be described below with reference to the accompanying drawings.
[0077] like Figure 3 As shown, this embodiment of the invention also provides a vehicle side sliding door control device, the device comprising:
[0078] The first acquisition module 301 is used to monitor the movement of people within a preset range corresponding to the vehicle through an obstacle ranging component installed on the vehicle, and acquire personnel monitoring information, which includes the number of people within the preset range and the direction of movement of each person relative to the vehicle.
[0079] The second acquisition module 302 is used to acquire the current door status corresponding to the sliding door of the vehicle;
[0080] The control module 303 is used to control the door status corresponding to the sliding door based on the personnel monitoring information and the current door status.
[0081] Optionally, the device further includes:
[0082] The determination module is used to determine the target time for activating the obstacle ranging component;
[0083] The wake-up module is used to control the obstacle ranging component to switch from standby state to active state at the target time.
[0084] The obstacle ranging component includes at least one radar installed on the vehicle.
[0085] Optionally, the determination module includes one of the following sub-modules:
[0086] The first determining submodule is used to determine the time when the vehicle key is detected entering the valid detection area corresponding to the vehicle and the vehicle switches from the locked state to the unlocked state as the target time when the vehicle is in the locked state.
[0087] The second determining submodule is used to determine the time when the vehicle enters the unlocked state as the target time when the vehicle is in the unlocked state.
[0088] Optionally, the control module includes:
[0089] The third determining submodule is used to determine, based on the personnel monitoring information, the first number of personnel that meet the first preset condition when the current door state is closed, wherein the movement direction of the personnel that meet the first preset condition relative to the vehicle is towards the vehicle.
[0090] The first control submodule is used to determine whether to switch the door state of the sliding door to the open state based on the first quantity.
[0091] Optionally, the first control submodule includes:
[0092] A first control unit is configured to control the sliding door to remain closed when the first quantity equals 1 and no one is detected in the driver's seat of the vehicle;
[0093] The second control unit is configured to control the sliding door to switch from a closed state to an open state when the first number is equal to 1 and a person is detected in the driver's seat of the vehicle, or when the first number is greater than or equal to 2.
[0094] Optionally, the control module includes:
[0095] The fourth determining submodule is used to determine, when the current door state is open, the second number of rear seats of the vehicle that meet the second preset condition and the third number of people that meet the third preset condition, wherein the seats that meet the second preset condition are changed from being occupied to being unoccupied; and the people that meet the third preset condition are moving away from the vehicle.
[0096] The second control submodule is used to determine whether to switch the door state of the sliding door to the closed state based on the second quantity and the third quantity.
[0097] Optionally, the second control submodule includes:
[0098] The third control unit is used to control the sliding door to remain open when the third quantity is detected to be less than the second quantity.
[0099] The fourth control unit is used to control the sliding door to switch from an open state to a closed state when the third quantity is detected to be equal to the second quantity.
[0100] The vehicle sliding door control device provided in this application monitors the movement of people around the vehicle to obtain personnel monitoring information. Based on the personnel monitoring information and the current door status of the sliding door, it determines whether the user needs to open or close the sliding door, thereby controlling the door status of the sliding door and realizing the automatic opening and closing of the sliding door, improving the intelligence of the vehicle and enhancing the user experience.
[0101] This application also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the various processes of the above-described vehicle side sliding door control method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here.
[0102] For example, Figure 4 A schematic diagram of the physical structure of an electronic device is shown.
[0103] like Figure 4 As shown, the electronic device may include a processor 410, a communication interface 420, a memory 430, and a communication bus 440. The processor 410, communication interface 420, and memory 430 communicate with each other via the communication bus 440. The processor 410 can call logical instructions stored in the memory 430. The processor 410 is used to execute the following steps: monitoring the movement of people within a preset range corresponding to the vehicle using an obstacle ranging component installed on the vehicle, acquiring personnel monitoring information, including the number of people within the preset range and the direction of movement of each person relative to the vehicle; acquiring the current door status corresponding to the vehicle's sliding door; and controlling the door status corresponding to the sliding door based on the personnel monitoring information and the current door status.
[0104] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0105] This application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described vehicle side sliding door control method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0106] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0107] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0108] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of the present invention.
[0109] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0110] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0111] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0112] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0113] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0114] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0115] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for controlling a vehicle's sliding door, characterized in that, include: The movement of people within a preset range corresponding to the vehicle is monitored by an obstacle ranging component installed on the vehicle, and personnel monitoring information is obtained. The personnel monitoring information includes the number of people within the preset range and the direction of movement of each person relative to the vehicle. Obtain the current door status corresponding to the sliding door of the vehicle; Based on the personnel monitoring information and the current door status, the door status corresponding to the sliding door is controlled, including: When the current door status is closed, a first number of people who meet the first preset condition are determined based on the personnel monitoring information, wherein the movement direction of the people who meet the first preset condition relative to the vehicle is towards the vehicle; Based on the first quantity, determine whether to switch the door status of the sliding door to the open state; When the current door status is open, determine the second number of rear seats that meet the second preset condition and the third number of people that meet the third preset condition, wherein the seats that meet the second preset condition are switched from being occupied to being unoccupied; and the people that meet the third preset condition move away from the vehicle. Based on the second quantity and the third quantity, determine whether to switch the sliding door's door status to the closed state; The step of determining whether to switch the sliding door's door state to the open state based on the first quantity includes: When the first quantity equals 1 and no one is detected in the driver's seat of the vehicle, the sliding door is controlled to remain closed; When the first number is equal to 1 and someone is detected in the driver's seat of the vehicle, or when the first number is greater than or equal to 2, the sliding door is controlled to switch from the closed state to the open state.
2. The vehicle side sliding door control method according to claim 1, characterized in that, Before monitoring the movement of people within a preset range corresponding to the vehicle using an obstacle ranging component installed on the vehicle, the method further includes: Determine the target time for activating the obstacle ranging component; At the target time, the obstacle ranging component is controlled to switch from standby state to active state; The obstacle ranging component includes at least one radar installed on the vehicle.
3. The vehicle side sliding door control method according to claim 2, characterized in that, Determining the target moment for activating the obstacle ranging component includes: When the vehicle is in a locked state, the time when the key of the vehicle is detected to enter the effective detection area corresponding to the vehicle and the vehicle switches from a locked state to an unlocked state is determined as the target time; When the vehicle is in an unlocked state, the time when the vehicle enters the unlocked state is determined as the target time.
4. The vehicle side sliding door control method according to claim 1, characterized in that, Based on the second quantity and the third quantity, determining whether to switch the sliding door's door status to the closed state includes: When the third quantity is detected to be less than the second quantity, the sliding door is kept open. When the third quantity is detected to be equal to the second quantity, the sliding door is controlled to switch from the open state to the closed state.
5. A vehicle side sliding door control device, characterized in that, include: The first acquisition module is used to monitor the movement of people within a preset range corresponding to the vehicle by using an obstacle ranging component installed on the vehicle, and to acquire personnel monitoring information, which includes the number of people within the preset range and the direction of movement of each person relative to the vehicle. The second acquisition module is used to acquire the current door status corresponding to the sliding door of the vehicle; The control module is used to control the door status corresponding to the sliding door based on the personnel monitoring information and the current door status; The control module includes: The third determining submodule is used to determine, based on the personnel monitoring information, the first number of personnel that meet the first preset condition when the current door state is closed, wherein the movement direction of the personnel that meet the first preset condition relative to the vehicle is towards the vehicle. The first control submodule is used to determine whether to switch the door state of the sliding door to the open state based on the first quantity. The fourth determining submodule is used to determine, when the current door state is open, the second number of rear seats of the vehicle that meet the second preset condition and the third number of people that meet the third preset condition, wherein the seats that meet the second preset condition are changed from being occupied to being unoccupied; and the people that meet the third preset condition are moving away from the vehicle. The second control submodule is used to determine whether to switch the door state of the sliding door to the closed state based on the second quantity and the third quantity. The first control submodule includes: A first control unit is configured to control the sliding door to remain closed when the first quantity equals 1 and no one is detected in the driver's seat of the vehicle; The second control unit is configured to control the sliding door to switch from a closed state to an open state when the first number is equal to 1 and a person is detected in the driver's seat of the vehicle, or when the first number is greater than or equal to 2.
6. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the vehicle side sliding door control method as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the vehicle side sliding door control method as described in any one of claims 1 to 4.