Method, apparatus, device and vehicle for preventing car door scratching
By acquiring seat detection information and using a distance measuring device to detect the distance between the bottom edge of the door and obstacles, the problem of door bottom scraping is solved, improving the safety of opening the vehicle door.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- MOBILITY ASIA SMART TECH CO LTD
- Filing Date
- 2024-12-27
- Publication Date
- 2026-06-30
Smart Images

Figure CN122300352A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicles, and more particularly to a method, apparatus, device, and vehicle for preventing scratches on vehicle doors. Background Technology
[0002] When a vehicle is parked, if it is too close to an obstacle or the parking space is limited, the vehicle door may be scratched when opened. Scratches to the door can cause damage to the paint, rust, and corrosion, affecting the structural stability and safety of the door and increasing vehicle repair costs.
[0003] To reduce scratches on car doors, current methods involve installing binocular cameras or distance sensors on both sides of the vehicle body. These cameras or sensors detect objects that could scratch the doors. While this method senses the environment around the vehicle to roughly determine if there are obstacles causing scratches, it is not effective in preventing scratches from the bottom of the doors. Summary of the Invention
[0004] This application provides a method, apparatus, device, and vehicle for preventing car door scratches, in order to solve at least one of the aforementioned technical problems in the prior art.
[0005] According to a first aspect of this application, a method for preventing scratches on a vehicle door is provided, the method comprising:
[0006] Obtain vehicle seat detection information to determine the target door based on the seat detection information; the seat detection information is used to indicate whether there is a passenger in the seat.
[0007] When the opening of the target door changes, the distance measuring device of the corresponding target door is activated to collect the distance value between the bottom edge of the corresponding target door and the target obstacle;
[0008] Based on the distance value, determine whether to perform an operation to prevent the car door from being scratched.
[0009] In some embodiments, obtaining vehicle seat detection information to determine the target door based on the seat detection information includes at least one of the following:
[0010] Acquire pressure data of the vehicle's seats. When the pressure data is greater than a preset pressure value, determine that the corresponding seat is the seat of an already occupied passenger, and the door adjacent to the corresponding seat is the target door.
[0011] The vehicle acquires seat image data, and when a seat is identified as being occupied by a passenger based on the seat image data, the door adjacent to the corresponding seat is identified as the target door.
[0012] In some embodiments, activating the ranging device corresponding to the target door to collect the distance value between the bottom edge of the target door and the target obstacle further includes: activating the ranging device at the bottom of the target door to collect distance data in the height direction, so as to obtain the height distance between the bottom of the target door and the target obstacle.
[0013] In some embodiments, determining whether to perform the operation to prevent the vehicle door from being scratched based on the distance value includes at least one of the following:
[0014] When the height distance is less than a first threshold, a scratch warning message is output;
[0015] When the height distance is less than a first threshold, a door locking command is sent to lock the corresponding target door.
[0016] In some embodiments, activating the ranging device of the corresponding target door to collect the distance value between the bottom edge of the corresponding target door and the target obstacle further includes: activating the ranging device at the bottom of the corresponding target door to collect horizontal distance data to obtain the horizontal distance between the bottom of the target door and the target obstacle.
[0017] In some embodiments, the step of activating the ranging device corresponding to the target vehicle door to collect the distance value between the bottom edge of the target vehicle door and the target obstacle further includes:
[0018] At least two ranging devices located at different positions on the bottom of the target door are activated to collect the distance values between the bottom edge of the corresponding target door and the target obstacle.
[0019] In some embodiments, the ranging device includes any of the following:
[0020] Ultrasonic ranging sensors, infrared ranging sensors, laser ranging sensors, and millimeter-wave radar sensors.
[0021] According to a second aspect of this application, a device for preventing scratches on a vehicle door is provided, the device comprising:
[0022] A seat detection module is configured to acquire seat detection information of a vehicle to determine a target door based on the seat detection information; the seat detection information is used to indicate whether there is a passenger in the seat.
[0023] The distance detection module is configured to activate the distance measuring device of the corresponding target door to collect the distance value between the bottom edge of the corresponding target door and the target obstacle when the opening degree of the target door changes;
[0024] The anti-scratch module is configured to determine whether to perform an operation to prevent scratching the car door based on the distance value.
[0025] According to a third aspect of this application, an electronic device is provided, including a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the steps of the method described above for preventing car door scratches.
[0026] According to a fourth aspect of this application, a vehicle is provided, including the aforementioned electronic equipment and a ranging device disposed on a door, the ranging device being connected to the electronic equipment.
[0027] According to a fifth aspect of this application, a computer-readable storage medium is provided, on which computer program instructions are stored, which, when executed by a processor, implement the steps of the method for preventing scratches on a car door described above.
[0028] In summary, the door scratch warning method, device, electronic equipment, vehicle, and storage medium provided in this application have at least the following beneficial effects:
[0029] By identifying the target door based on seat detection information indicating whether a passenger is seated, and detecting the distance between the bottom edge of the target door and a target obstacle when the opening of the target door changes, the system can at least determine whether the bottom edge of the target door might scrape against something when the door opening changes, thereby determining whether to perform anti-scratching operations. In this way, by using the target door as the detection object, it is possible to effectively detect whether there is a risk of scraping at the bottom of the door (the side facing the ground) and perform anti-scratching operations, effectively solving the problem of preventing scraping at the bottom of the door and improving the safety of opening the vehicle door. Attached Figure Description
[0030] To more clearly illustrate the technical solutions of the specific embodiments of this application, the accompanying drawings used in the specific embodiments will be briefly introduced below in conjunction with the accompanying drawings. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings or solutions can be obtained based on these drawings without creative effort.
[0031] Figure 1 This is a flowchart of a method for preventing car door scratches in one embodiment of this application;
[0032] Figure 2 This is a schematic diagram showing the arrangement of the pressure sensor in one embodiment of this application;
[0033] Figure 3 This is a schematic diagram showing the installation position of the ultrasonic ranging sensor in one embodiment of this application;
[0034] Figure 4 This is a flowchart of a method for preventing car door scratches in another embodiment of this application;
[0035] Figure 5 This is a structural diagram of a device for preventing car door scratches in one embodiment of this application;
[0036] Figure 6 This is a structural block diagram of an electronic device in one embodiment of this application. Detailed Implementation
[0037] To make the above and other features and advantages of this application clearer, the application is further described below with reference to the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explanation to those skilled in the art, and are exemplary only, not restrictive.
[0038] In the following description, numerous specific details are set forth to provide a thorough understanding of this application. However, it will be apparent to those skilled in the art that the specific details are not required to practice this application. In other instances, well-known steps or operations have not been described in detail to avoid obscuring this application.
[0039] Existing methods for preventing car door scratches do not address the issue of scratching the bottom of the door, leaving a risk of scratches. This is because while the door height is designed to account for most of the height difference between the door and steps, research has shown that when a passenger opens the door from inside the vehicle, their weight causes the side of the vehicle where they are seated to drop slightly, reducing the height difference between the door and the step. This makes it easier for the bottom of the door to come into contact with the step when opening the door, potentially leading to a scratch. Therefore, this application provides a method for preventing car door scratches.
[0040] The method for preventing car door scratches provided in this application embodiment can be executed by the device for preventing car door scratches provided in this application embodiment, which can be configured in an electronic device.
[0041] refer to Figure 1 The method for preventing car door scratches provided in this application includes the following steps S110 to S150.
[0042] S110: Obtain vehicle seat detection information to determine the target door based on the seat detection information; the seat detection information is used to indicate whether there is a passenger in the seat.
[0043] For example, seat detection information may include at least one of the following: pressure data corresponding to the seat, seat image data, and other data used to detect whether a passenger is sitting in the seat, such as data detected by an infrared sensor or temperature data detected by a body temperature sensor. Determining the target door based on the seat detection information can be achieved, for example, by analyzing the seat detection information to determine whether a passenger is sitting in the seat, and then designating the door adjacent to the seat occupied by the passenger as the target door; that is, the target door is the door adjacent to the seat occupied by the passenger.
[0044] S130: When the opening of the target door changes, the distance measuring device of the corresponding target door is activated to collect the distance value between the bottom edge of the target door and the target obstacle.
[0045] Door opening refers to the angle at which a car door opens. Changes in door opening include the door transitioning from a closed to an open state, and from an initially open state to a fully open state. The initial open state is the door's initial degree of opening, while the fully open state is the door's maximum opening. When passengers want to exit the vehicle, the target door is opened, and during this process, the target door's opening gradually increases; that is, the target door's opening changes.
[0046] Specifically, before step S130, a status monitoring step may be included: monitoring the door status and opening degree of the target door.
[0047] Once the target door is identified, its status is monitored, specifically whether it has been opened. If the door was originally closed, a change in its opening status—whether a passenger inside the vehicle opens the door using the inside handle or a person outside opens it using the outside handle—will be detected, indicating a change in the door's opening degree. For example, the door status can be monitored by receiving signals from a door opening detector, which can be an angle sensor, switch sensor, or photoelectric sensor installed on the door. Alternatively, for electronic doors, the door status can be determined by monitoring the corresponding electronic signals. If the target door already has a certain opening degree, further monitoring of the opening degree can determine if it has changed after detecting an open state.
[0048] The target obstacle is any obstacle around the vehicle door, such as a curb. The smaller the distance between the bottom edge of the target door and the target obstacle, the more likely the bottom edge of the target door is to collide with the obstacle and scrape against it. Specifically, the target door is the door adjacent to a seat where passengers are present. By acquiring the distance between the bottom edge of the target door and the target obstacle when the door's opening changes, distance detection is specifically performed on doors whose height decreases due to passengers being present. Furthermore, the ranging device is activated only when the target door's opening changes, saving energy.
[0049] S150: Determines whether to perform a door scratch prevention operation based on the distance value.
[0050] Specifically, the decision to perform door scratch prevention measures can be based on a distance value and a set threshold. The set threshold is determined by the distance at which a door scratch could occur. Specifically, if the distance value is less than the set threshold, it indicates a risk of door scratching, and in this case, door scratch prevention measures are performed. If the distance value is greater than or equal to the set threshold, it indicates a low risk of door scratching, and in this case, door scratch prevention measures are not performed.
[0051] Specifically, the actions to prevent door scratches can be configured according to actual needs. For example, the actions to prevent door scratches may include at least one of an alarm reminder action and a door locking action. The alarm reminder action may be to output a scratch reminder message to alert passengers of the risk of scratching. The door locking action may be to send a door locking command to lock the corresponding target door to prevent it from being opened further and scratched.
[0052] The aforementioned method for preventing door scratches identifies the target door based on seat detection information indicating whether a passenger is seated. When the opening of the target door changes, the distance between the bottom edge of the target door and a target obstacle is detected. This is used to determine at least whether the bottom edge of the target door is likely to scratch when the door opening changes, thereby determining whether to perform door scratch prevention operations. Thus, by using the target door as the detection object, it can effectively detect whether there is a risk of scratching at the bottom of the door (the side facing the ground) and perform door scratch prevention operations, effectively solving the problem of preventing scratches at the bottom of the door, greatly reducing the risk of damage to passengers and the vehicle, reducing potential accidents, and improving vehicle safety.
[0053] Specifically, the method for preventing door scratches uses the door adjacent to the seat of a passenger as the target door. This method effectively detects scratches caused by the drop in door height due to the presence of a passenger, effectively solving the problem of preventing scratches on the bottom of the door on the side with a passenger, and improving the safety of vehicle use.
[0054] In some embodiments, acquiring vehicle seat detection information further includes: receiving initial seat detection information collected and transmitted by an information acquisition device; preprocessing the initial seat detection information to obtain final seat detection information. Further, a target door is determined based on the final seat detection information.
[0055] The information acquisition device is used to collect initial seat detection information, such as from a pressure sensor, an onboard camera, or an infrared sensor. Specifically, preprocessing operations include, but are not limited to, noise removal and data correction. Preprocessing the initial seat detection information improves data accuracy.
[0056] In some embodiments, step S110 includes: acquiring pressure data of the vehicle's seats; when the pressure data is greater than a preset pressure value, determining that the corresponding seat is the seat of an already occupied passenger, and that the door adjacent to the corresponding seat is the target door.
[0057] For example, it can receive data from pressure sensors installed in the seat to obtain the seat's pressure data. Specifically, such as... Figure 2 As shown, a pressure sensor is installed under the seat to detect the pressure generated when a passenger sits on the seat. Furthermore, acquiring the vehicle seat pressure data further includes: receiving pressure data detected by the pressure sensor corresponding to the vehicle seat, preprocessing the pressure data detected by the pressure sensor, and obtaining the final pressure data.
[0058] Specifically, pressure data from all seats in the vehicle can be acquired and compared with preset pressure values. The seats occupied by passengers can then be analyzed to identify the seats of passengers already seated, and the door adjacent to these seats can be designated as the target door. Alternatively, pressure data from the door-side seats (seats adjacent to the door) can be acquired and compared with preset pressure values. The door-side seats occupied by passengers can then be analyzed to identify the door-side seats of passengers already seated, ultimately determining the target door.
[0059] By utilizing the pressure data from the seats and analyzing it through size comparisons, the seats of passengers already seated are identified, ultimately leading to the target car door. The process is simple.
[0060] In some other embodiments, step S110 includes: acquiring seat image data of the vehicle, and when the seat is identified as a seat occupied by a passenger based on the seat image data, determining the door adjacent to the corresponding seat as the target door.
[0061] For example, in-vehicle cameras can capture image data of vehicle seats. Image recognition can then be performed on these images to identify seats with human figures, i.e., seats occupied by passengers. In this way, image recognition can be used to automatically identify seats occupied by passengers and thus determine the target door.
[0062] Specifically, acquiring vehicle seat image data further includes: receiving seat image data sent by an in-vehicle camera, preprocessing the seat image data sent by the in-vehicle camera, and obtaining the final seat image data.
[0063] It is understood that in other embodiments, the seat pressure data and seat image data can be combined to determine the seat of the passenger already seated, thereby determining the door adjacent to the seat of the passenger already seated as the target door.
[0064] In some embodiments, after step S130 and before step S150, the method further includes: preprocessing the collected distance values. Specifically, step S170 determines whether to perform an operation to prevent the car door from being scratched based on the preprocessed distance values.
[0065] The preprocessing of the collected distance values includes, but is not limited to, filtering and eliminating interference to improve the accuracy of the data.
[0066] In some embodiments, step S130, activating the ranging device corresponding to the target door to collect the distance value between the bottom edge of the target door and the target obstacle, further includes: activating the ranging device at the bottom of the target door to collect distance data in the height direction, so as to obtain the height distance between the bottom of the target door and the target obstacle. Thus, the distance value collected by the ranging device includes the height distance between the bottom edge of the target door and the target obstacle.
[0067] The height distance reflects the vertical distance between the bottom edge of the target door and the target obstacle. Specifically, step S150 includes: when the height distance is less than a first threshold, outputting a scratch warning message, and / or sending a door lock command to lock the corresponding target door.
[0068] It is understandable that when the height distance is less than the first threshold, a scratch warning message can be output, or a door lock command can be sent to lock the corresponding target door, or both a scratch warning message and a door lock command can be output to lock the corresponding target door. Here, the corresponding target door refers to the target door whose door opening changes, or the target door whose bottom edge is less than the first threshold in height distance from the target obstacle. It is understood that the first threshold can be 0.
[0069] The scratch warning message is used to remind passengers to prevent the car door from being scratched. By outputting the scratch warning message, passengers are alerted to the risk of the car door being scratched and are advised to stop opening the door to prevent further damage. Specifically, the scratch warning message can be delivered through voice broadcast, display of text or images on the screen, or alarm sound, etc., and this application does not impose any restrictions on this.
[0070] Specifically, a door locking command can be sent to the door locking assembly to control the assembly to lock the corresponding target door. By locking the target door, further opening and potential scratches can be prevented.
[0071] In some embodiments, step S130, activating the ranging device corresponding to the target door to collect the distance value between the bottom edge of the target door and the target obstacle, further includes: activating the ranging device at the bottom of the target door to collect horizontal distance data to obtain the horizontal distance between the bottom of the target door and the target obstacle. Thus, the distance value collected by the ranging device also includes the horizontal distance between the bottom edge of the target door and the target obstacle.
[0072] Horizontal distance is the distance value in the horizontal direction perpendicular to the height direction. By obtaining both vertical and horizontal distances, distance analysis can be performed in both the vertical and horizontal directions.
[0073] Further, step S150 includes: when the horizontal distance is less than a second threshold and the vertical distance is less than a first threshold, outputting a scratch warning message and / or sending a door lock command to lock the corresponding target door. It is understood that the second threshold is related to the door width value.
[0074] Specifically, the first and second thresholds are set based on the distances that may cause scratches. By comparing both the vertical and horizontal distances with the corresponding thresholds, the system determines whether there is a potential problem of scratching the bottom edge of the car door in both vertical and horizontal directions, improving the accuracy of scratch risk prediction and thus more effectively preventing door scratches and improving the safety of opening the vehicle doors. It can be understood that when the horizontal distance is less than the second threshold and the vertical distance is less than the first threshold, a scratch warning message can be output, or a door locking command can be sent to lock the corresponding target door, or both a scratch warning message and a door locking command can be output to lock the corresponding target door.
[0075] In some embodiments, step S130, which involves activating the ranging device corresponding to the target door to collect the distance value between the bottom edge of the target door and the target obstacle, further includes: activating at least two ranging devices located at different positions on the bottom of the target door to collect the distance value between the bottom edge of the target door and the target obstacle.
[0076] At least two ranging devices are installed at different positions on the bottom of the target car door. They can measure the distance to the target obstacle at different positions, thereby taking into account the distance values at multiple positions and determining whether to perform the operation to prevent the car door from being scratched, resulting in a better anti-scratching effect.
[0077] Specifically, a first ranging device can be installed at the bottom edge of the target vehicle door to measure vertical distance, and a second ranging device can be installed to measure horizontal distance. Furthermore, the number of the first and second ranging devices is not limited; multiple first and second ranging devices can be installed to improve ranging accuracy.
[0078] In some embodiments, the ranging device includes, but is not limited to, any one of an ultrasonic ranging sensor, an infrared ranging sensor, a laser ranging sensor, and a millimeter-wave radar sensor.
[0079] Specifically, by installing the ranging device on the bottom edge of the target vehicle door, the height distance to the target obstacle can be accurately measured. For example, an ultrasonic ranging sensor can be used, and its installation position is as follows: Figure 3 As shown.
[0080] Taking the use of pressure sensors to collect pressure data from the seats and ultrasonic ranging sensors to detect the distance between the bottom of the door and the step as an example, refer to Figure 4 After the pressure sensors on the seats collect data, the data is preprocessed, including noise removal and sensor reading correction. The weight corresponding to the pressure is calculated from the preprocessed data and compared with a set value. Based on the comparison result, the system determines which seat is occupied and locates the target seat. When the door next to the target seat is opened, the ultrasonic ranging sensor at the bottom of the door collects data. After preprocessing the collected ultrasonic data, the distance is calculated. If the distance is less than a threshold, it indicates a potential risk of collision, triggering an alarm and locking the door. Through data collection, preprocessing, and calculation, along with real-time safety monitoring, the system effectively prevents collisions between the bottom of the door and curbside steps, and issues alarms when necessary to alert passengers and the driver, ensuring passenger safety. Furthermore, the step collision avoidance system, achieved through sensing and automatic control, is fully automated, requiring no additional operation or vigilance from passengers, making travel more convenient and eliminating concerns about door collisions.
[0081] This application provides a device for preventing scratches on car doors, see reference. Figure 5 The device includes: a seat detection module 510, a distance detection module 530, and an anti-scratch module 550.
[0082] The seat detection module 510 is configured to acquire seat detection information of the vehicle in order to determine the target door based on the seat detection information; the seat detection information is used to indicate whether there is a passenger in the seat.
[0083] The distance detection module 530 is configured to activate the distance measuring device of the corresponding target door to collect the distance value between the bottom edge of the target door and the target obstacle when the opening of the target door changes.
[0084] The anti-scratch module 550 is configured to determine whether to perform anti-scratch operation on the car door based on the distance value.
[0085] In some embodiments, the seat detection module 510 is further configured to receive initial seat detection information collected and sent by the information acquisition device; preprocess the initial seat detection information to obtain final seat detection information; and determine the target door based on the final seat detection information.
[0086] In some embodiments, the seat detection module 510 is further configured to acquire pressure data of the vehicle's seats, and when the pressure data is greater than a preset pressure value, determine that the corresponding seat is the seat of an already occupied passenger, and that the door adjacent to the corresponding seat is the target door.
[0087] In other embodiments, the seat detection module 510 is further configured to acquire seat image data of the vehicle, and when the seat is identified as a seat occupied by a passenger based on the seat image data, the door adjacent to the corresponding seat is determined as the target door.
[0088] In some embodiments, the device for preventing door scratches described above further includes a preprocessing module configured to preprocess the distance values collected by the ranging device. Specifically, the anti-scratch module 570 determines whether to perform the operation to prevent door scratches based on the preprocessed distance values.
[0089] In some embodiments, the distance detection module 530 is further configured to activate a ranging device at the bottom of the corresponding target door to collect distance data in the height direction, so as to obtain the height distance between the bottom of the target door and the target obstacle. Specifically, the distance value includes the height distance between the bottom edge of the corresponding target door and the target obstacle. The anti-scratch module 550 is further configured to output a scratch reminder message and / or send a door locking command to lock the corresponding target door when the height distance is less than a first threshold.
[0090] In some embodiments, the distance detection module 530 is further configured to activate a ranging device at the bottom of the corresponding target door to collect horizontal distance data, thereby obtaining the horizontal distance between the bottom of the target door and the target obstacle. Specifically, the distance value also includes the horizontal distance between the bottom edge of the corresponding target door and the target obstacle. The anti-scratch module 550 is further configured to output a scratch warning message and / or send a door locking command to lock the corresponding target door when the horizontal distance is less than a second threshold and the height distance is less than a first threshold.
[0091] In some embodiments, the distance detection module 530 activates the ranging device of the corresponding target door to collect the distance value between the bottom edge of the corresponding target door and the target obstacle, further including: activating at least two ranging devices set at different positions on the bottom of the target door to collect the distance value between the bottom edge of the corresponding target door and the target obstacle.
[0092] It should be understood that the specific features, operations, and details described herein with respect to the methods of this application can also be similarly applied to the apparatus of this application, or vice versa. Furthermore, each step of the methods of this application described above can be performed by a corresponding component or unit of the apparatus of this application.
[0093] It should be understood that the various modules / units of the device of this application can be implemented wholly or partially through software, hardware, firmware, or a combination thereof. Each module / unit can be embedded in the processor of the electronic device in hardware or firmware form or independent of the processor, or it can be stored in the memory of the electronic device in software form for the processor to call to execute the operation of each module / unit. Each module / unit can be implemented as an independent component or module, or two or more modules / units can be implemented as a single component or module.
[0094] like Figure 6 As shown, this application provides an electronic device 600, which includes a processor 601 and a memory 602 storing computer program instructions. The processor 601 executes the computer program instructions to implement the steps of the aforementioned method for preventing car door scratches.
[0095] In one embodiment, the electronic device 600 may include a processor, memory, network interface, communication interface, etc., connected via a system bus. The processor of the electronic device 600 can be used to provide necessary computing, processing, and / or control capabilities. The memory of the electronic device 600 may include non-volatile storage media and internal memory. The non-volatile storage media may store an operating system, computer programs, etc. The internal memory can provide an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface and communication interface of the electronic device 600 can be used to connect and communicate with external devices via a network. When the computer program is executed by the processor, it performs the steps of the method of this application.
[0096] This application provides a vehicle including the aforementioned electronic equipment and a ranging device disposed on the vehicle door, the ranging device being connected to the electronic equipment.
[0097] In addition, this application provides a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the steps of the above-described method for preventing car door scratches.
[0098] Those skilled in the art will understand that the method steps of this application can be performed by a computer program instructing related hardware, such as electronic device 600 or a processor. The computer program can be stored in a non-transitory computer-readable storage medium, and its execution causes the steps of this application to be performed. Depending on the context, any reference herein to memory, storage, or other media may include non-volatile or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid-state drive, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.
[0099] The technical features described above can be combined arbitrarily. Although not all possible combinations of these technical features are described, any combination of these technical features should be considered to be covered by this specification, provided that such combination does not contain contradictions.
[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A method for preventing door scuffing, characterized by, The method includes: Obtain vehicle seat detection information to determine the target door based on the seat detection information; the seat detection information is used to indicate whether there is a passenger in the seat. When the opening of the target door changes, the distance measuring device of the corresponding target door is activated to collect the distance value between the bottom edge of the corresponding target door and the target obstacle; Based on the distance value, determine whether to perform an operation to prevent the car door from being scratched.
2. The method of claim 1, wherein, The step of activating the ranging device corresponding to the target door to collect the distance value between the bottom edge of the target door and the target obstacle further includes: activating the ranging device at the bottom of the target door to collect distance data in the height direction, so as to obtain the height distance between the bottom of the target door and the target obstacle.
3. The method of claim 2, wherein, The step of determining whether to perform the operation to prevent the car door from being scratched based on the distance value includes at least one of the following: When the height distance is less than a first threshold, a scratch warning message is output; When the height distance is less than a first threshold, a door locking command is sent to lock the corresponding target door.
4. The method of claim 2, wherein, The step of activating the ranging device corresponding to the target door to collect the distance value between the bottom edge of the target door and the target obstacle further includes: activating the ranging device at the bottom of the target door to collect horizontal distance data to obtain the horizontal distance between the bottom of the target door and the target obstacle.
5. The method according to any one of claims 1 to 4, characterized in that, The step of activating the ranging device corresponding to the target door to collect the distance value between the bottom edge of the target door and the target obstacle further includes: At least two ranging devices located at different positions on the bottom of the target door are activated to collect the distance values between the bottom edge of the corresponding target door and the target obstacle.
6. The method according to claim 1, characterized in that, The step of acquiring vehicle seat detection information to determine the target door based on the seat detection information includes at least one of the following: Acquire pressure data of the vehicle's seats. When the pressure data is greater than a preset pressure value, determine that the corresponding seat is the seat of an already occupied passenger, and the door adjacent to the corresponding seat is the target door. The vehicle acquires seat image data, and when a seat is identified as being occupied by a passenger based on the seat image data, the door adjacent to the corresponding seat is identified as the target door.
7. The method according to claim 1, characterized in that, The ranging device includes any one of the following: Ultrasonic ranging sensors, infrared ranging sensors, laser ranging sensors, and millimeter-wave radar sensors.
8. A device for preventing scratches on a car door, characterized in that, The device includes: A seat detection module is configured to acquire seat detection information of a vehicle to determine a target door based on the seat detection information; the seat detection information is used to indicate whether there is a passenger in the seat. The distance detection module is configured to activate the distance measuring device of the corresponding target door to collect the distance value between the bottom edge of the corresponding target door and the target obstacle when the opening degree of the target door changes; The anti-scratch module is configured to determine whether to perform an operation to prevent scratching the car door based on the distance value.
9. An electronic device, characterized in that, include: Processor and memory storing computer program instructions; When the processor executes the computer program instructions, it implements the steps of the method according to any one of claims 1-7.
10. A vehicle, characterized in that, The device includes the electronic device as described in claim 9 and a ranging device disposed on the vehicle door, the ranging device being connected to the electronic device.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that, when executed by a processor, implement the steps of the method according to any one of claims 1-7.