Method for scratch protection on vehicle doors, device, apparatus and vehicle
The method and device use seat detection and distance measurement to prevent underside scratches on vehicle doors by implementing automated scratch protection measures, improving safety and reducing damage risks.
Patent Information
- Application Number
- DE102025137459
- Authority / Receiving Office
- DE · DE
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-12-27
- Filing Date
- 2025-09-17
- Publication Date
- 2026-07-02
AI Technical Summary
Existing methods for scratch protection on vehicle doors fail to address scratches on the underside of the doors, particularly when the door height is reduced due to a passenger's weight, leading to potential damage and increased repair costs.
A method and device that utilize seat detection information to determine the presence of a passenger, activate distance measuring devices on the door to detect the distance between the door's lower edge and obstacles, and implement scratch protection measures such as warnings or door locking based on predefined thresholds to prevent underside scratches.
Effectively identifies and prevents scratches on the underside of vehicle doors, enhancing safety and reducing the risk of damage by automating scratch protection operations.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
TECHNICAL AREA The present application relates to the technical field of vehicles, in particular a method for scratch protection on vehicle doors, a device, a apparatus and a vehicle. STATE OF THE ART After parking a vehicle, scratching can easily occur when opening the door if the vehicle is too close to an obstacle or if the parking space is confined, causing the door to be too close to surrounding objects. Such scratching can lead to paint damage, rust, and corrosion in the affected areas. This affects the structural stability and safety of the vehicle doors and increases the vehicle's repair costs. To protect vehicle doors from scratches, binocular cameras or proximity sensors are now installed on both sides of the body. These cameras or sensors detect the presence of an object that could scratch the doors. This method allows for a rough detection of the obstacle causing scratches around the vehicle body by scanning the area on both sides. However, it does not solve the problem of scratches on the bottom of the doors. SUMMARY OF THE INVENTION This application proposes a method for scratch protection on vehicle doors, a device, a apparatus and a vehicle to solve at least one of the above-mentioned technical problems in the prior art. According to the first aspect of this application, a method for scratch protection on vehicle doors is proposed. The method comprises: Receiving seat detection information from a vehicle to determine a destination door based on the seat detection information; wherein the seat detection information indicates whether a seat is occupied by a passenger; Activating a distance measuring device of the corresponding target door to detect a distance value between a lower edge of the corresponding target door and a target obstacle when an opening angle of the target door changes; Determine whether an operation to protect vehicle doors from scratches should be performed, based on the distance value. In some embodiments, obtaining seat detection information from the vehicle to determine a destination door based on the seat detection information includes at least one of the following steps: Obtaining pressure data from the vehicle seat, and determining a corresponding seat as the seat occupied by the passenger and a vehicle door adjacent to the corresponding seat as the destination door, if the pressure data is greater than a predetermined pressure value; Obtaining seat image data from the vehicle, and determining a vehicle door adjacent to a corresponding seat as the destination door, if the seat is identified as the seat occupied by the passenger based on the seat image data. In some embodiments, activating a distance measuring device of the corresponding target door to detect a distance value between the lower edge of the corresponding target door and the target obstacle further includes: activating a distance measuring device on the underside of the corresponding target door to detect the distance value in the vertical direction in order to detect the vertical distance between the underside of the target door and the target obstacle. In some embodiments, determining whether the scratch protection operation should be performed on vehicle doors, based on the distance value, includes at least one of the following steps: Issue a scratch warning if the height difference is less than a first threshold; Sending a locking command to lock the corresponding target door if the height difference is less than the first threshold. In some embodiments, activating a distance measuring device of the corresponding target door to detect a distance value between the bottom edge of the corresponding target door and the target obstacle further includes: activating a distance measuring device on the underside of the corresponding target door to detect the distance value in the horizontal direction in order to detect the horizontal distance between the bottom of the target door and the target obstacle. In some embodiments, activating a distance measuring device of the corresponding target door to detect a distance value between the lower edge of the corresponding target door and the target obstacle further includes: Activating at least two distance measuring devices, positioned at different locations on the underside of the target door, to record the distance value between the bottom edge of the corresponding target door and the target obstacle. In some embodiments, the distance measuring device includes one of the following: Ultrasonic distance sensor, infrared distance sensor, laser distance sensor and millimeter wave radar sensor. According to the second aspect of this application, a device for scratch protection on vehicle doors is proposed. The device comprises: a seat detection module configured to receive seat detection information from the vehicle to determine a target door based on this seat detection information, wherein the seat detection information indicates whether the seat is occupied by a passenger; a distance detection module configured to activate a distance measuring device of the corresponding target door upon a change in the opening angle of the target door, in order to detect a distance value between the lower edge of the corresponding target door and the target obstacle; and a scratch protection module configured to determine, based on the distance value, whether a scratch protection operation should be performed on the vehicle doors. According to the third aspect of this application, an electronic device is proposed comprising a processor and a memory in which a computer program instruction is stored, wherein, upon execution of the computer program instruction by the processor, the steps of the above method for scratch protection on vehicle doors are implemented. According to the fourth aspect of this application, a vehicle is proposed which includes the above electronic device and a distance measuring device at the vehicle door, the distance measuring device being connected to the electronic device. According to the fifth aspect of this application, a computer-readable storage medium is proposed on which a computer program instruction is stored, wherein, upon execution of the computer program instruction by the processor, the steps of the method for scratch protection on vehicle doors are implemented. In summary, the method proposed in this application for warning against scratching on vehicle doors, the device, the electronic equipment, the vehicle and the storage medium have at least the following advantages: The target door is determined using seat detection information indicating that a seat is occupied by a passenger. A distance value between the bottom edge of the target door and the target obstacle is detected when the target door's opening angle changes. This allows for the identification of at least a potential scratching of the target door's bottom edge during such changes. This determines whether scratch protection measures should be implemented on the vehicle doors. By using the target door as the detection target, the risk of scratching on the underside (towards the floor) can be effectively identified, and the necessary scratch protection measures can be applied. This efficiently solves the scratch protection problem and improves door opening safety. BRIEF DESCRIPTION OF THE DRAWINGS To more clearly illustrate the technical solutions of specific embodiments of this application, the specific embodiments are presented below in combination with drawings. The following explanatory drawings obviously show some embodiments of this application. Further drawings or solutions can be obtained by those skilled in the art based on these drawings without inventive work. Fig. 1 is a flowchart of the method for scratch protection on vehicle doors in one embodiment of this application; Fig. 2 is a schematic representation of the arrangement of the pressure sensors in one embodiment of this application; Fig. 3 is a schematic representation of the location of the ultrasonic distance measuring sensor in one embodiment of this application; Fig. 4 is a flowchart of the method for scratch protection on vehicle doors in another embodiment of this application; Fig.Figure 5 is a structural representation of the device for scratch protection on vehicle doors in an embodiment of this application; Figure 6 is a block diagram of the structure of the electronic device in an embodiment of this application. DESCRIPTION OF THE EXECUTION FORMS To clarify the above and further features and advantages of this application, it is explained in more detail below in conjunction with the drawings. It should be understood that the specific embodiments provided here are for illustrative purposes only and are not limiting. The following description sets out numerous specific details to enable a thorough understanding of this application. However, it is obvious to those skilled in the art that this application can be implemented without these specific details. Under other circumstances, well-known steps or operations are not described in detail so as not to obscure this application. The existing method for scratch protection on vehicle doors cannot solve the problem of scratching on the underside of the vehicle doors. The risk of scratching remains. This is because the height difference between the vehicle doors and the curb was taken into account when the door height was determined. However, the investigation showed that when a passenger opens the vehicle door, the height on the side of the occupied seat is slightly reduced due to the passenger's weight. This reduces the height difference between the vehicle door and the curb. Consequently, the underside of the vehicle door can strike the curb and cause scratches. Therefore, this application proposes a method for scratch protection on vehicle doors. The method for scratch protection on vehicle doors proposed in this application can be implemented by the device for scratch protection on vehicle doors proposed in this application, which can be equipped in an electronic device. With reference to Fig. 1, the method proposed in this application for scratch protection on vehicle doors comprises the following steps S110 to S150. S110: Obtaining seat detection information from the vehicle to determine a destination door based on the seat detection information; wherein the seat detection information indicates whether the seat is occupied by a passenger. For example, seat detection information can include at least one of the following: pressure data corresponding to the seats, seat image data. Seat detection information can also include further data related to passenger occupancy detection, such as data from infrared sensors or temperature data from temperature sensors. Determining the destination door based on seat detection information can be achieved, for example, by analyzing the seat detection information to determine whether a seat is occupied by a passenger. The vehicle door adjacent to the occupied seat is then designated as the destination door. In other words, the destination door is the vehicle door next to the seat occupied by a passenger. S130: Activation of a distance measuring device of the corresponding target door to detect a distance value between the lower edge of the corresponding target door and the target obstacle when the opening angle of the target door changes. The opening angle refers to the angle at which the vehicle door opens. The change in the opening angle of a vehicle door encompasses the process from the closed state to the open state, as well as from an initial opening to full opening. The initial opening refers to the open state of the vehicle door, where it was initially at a specific opening angle. Full opening refers to the open state of the vehicle door at its maximum opening angle. When a passenger wants to exit the cabin, the destination door opens. During this process, the opening angle of the destination door gradually increases; that is, the opening angle of the destination door changes. Specifically, a further step for condition monitoring can be carried out before step S130: monitoring the condition and opening angle of the target door. Once the target door has been determined, its status is monitored. In other words, it is monitored whether the target door is open. If the vehicle door was initially closed, a change in its status from closed to open is monitored. This change in the opening angle is detected when a passenger exits the cabin, opens the originally closed target door using the interior door handle, or when someone outside the vehicle opens the originally closed target door using the exterior door handle. For example, the status of the corresponding vehicle door can be monitored by receiving a signal from the door opening detector. The door opening detector is designed to detect when the vehicle door is opened. The door opening detector could be, for example, an angle sensor, a switch sensor, or a photoelectric sensor on the vehicle door.With electronic vehicle doors, the door status can also be determined by monitoring the corresponding electronic signal. In the case of a target door with an initially defined opening angle, the opening angle can be further monitored by observing the open state to determine whether it changes. The target obstacle is an obstruction in the vicinity of 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 cause a scrape. Specifically, the vehicle door next to a passenger-occupied seat is defined as the target door. By measuring the distance between the bottom edge of the target door, whose opening angle changes, and the target obstacle, the system accurately measures the distance between the vehicle door (whose height is reduced due to the passengers) and the obstacle. In particular, the distance measuring device is only activated when the opening angle of the target door changes. This saves energy. S150: Determine whether an operation to protect vehicle doors from scratches should be carried out, based on the distance value. Specifically, the system determines whether scratch protection for vehicle doors should be applied based on the distance value and a predefined threshold. The predefined threshold is determined by the distance at which scratching of vehicle doors is likely to occur. In particular, there is a risk of scratching if the distance is less than the predefined threshold. In this case, scratch protection should be applied. If the distance is greater than or equal to the predefined threshold, the risk of scratching is minimal, and therefore scratch protection should not be applied. Specifically, the anti-scratch operation for vehicle doors can be configured according to actual needs. For example, the anti-scratch operation for vehicle doors can include at least one of the following: operation with an alarm message and / or operation with locking of the vehicle door. In the operation with an alarm message, for example, a scratch warning can be issued in addition to the alarm, alerting the passenger to the risk of scratching. In the operation with locking of the vehicle door, for example, a locking command can be sent to lock the corresponding target door to prevent further opening and scratching. The above method for scratch protection on vehicle doors uses seat detection information, which indicates whether a seat is occupied by a passenger, to determine the target door. A distance value between the bottom edge of the target door and the target obstacle is detected when the target door's opening angle changes. This determines whether scratching on the bottom edge of the target door is necessary. By using the target door as the detection target, the risk of scratching on the underside (towards the ground) can be effectively identified, and the scratch protection operation can then be implemented. This efficiently solves the problem of scratch protection on the underside of the vehicle door.The risk of damage to passengers and vehicles is significantly reduced, the potential for accidents is minimized, and safety during vehicle operation is improved. Specifically, the vehicle door adjacent to a passenger seat is designated as the target door. In the above method for scratch protection on vehicle doors, the target door next to a passenger seat is defined as the detection target. This allows scratching to be effectively detected due to the reduced height of the target door caused by the passenger. The underside of the vehicle door next to the passenger can thus be efficiently protected from scratches, thereby increasing vehicle safety. In some embodiments, obtaining seat detection information from the vehicle further includes: receiving the original seat detection information captured and transmitted by the information acquisition device; preprocessing the original seat detection information into final seat detection information; and determining the target door based on the final seat detection information. The information acquisition device is designed to capture initial seat detection information. Examples include pressure sensors, vehicle cameras, or infrared sensors. Preprocessing includes, but is not limited to, noise reduction and data correction. Preprocessing the initial seat detection information improves data accuracy. In some embodiments, step S110 includes: obtaining pressure data of the vehicle seat, and determining a corresponding seat as the seat occupied by the passenger and a vehicle door adjacent to the corresponding seat as the destination door if the pressure data is greater than a predetermined pressure value. For example, data can be received from a pressure sensor located on the seat, and the pressure data of that seat can be obtained. In particular, a pressure sensor, as shown in Fig. 2, is located under the seat to determine the pressure generated by a passenger sitting on the seat. Obtaining pressure data from the vehicle seat further comprises: receiving the detected pressure data from the pressure sensor corresponding to the vehicle seat; and preprocessing the pressure data detected by the pressure sensor into final pressure data. Specifically, the pressure data of all seats in the vehicle can be obtained and compared with a predefined pressure value. An analysis of all seats identifies the seat occupied by a passenger. The vehicle door adjacent to the occupied seat is then set as the destination door. Alternatively, the pressure data of the seats on the side of the vehicle doors (the seats next to the doors) can be obtained and compared with the predefined pressure value. An analysis of the seats on the side of the vehicle doors identifies the seat occupied by a passenger and finally sets the destination door. Determining the destination door is simplified by identifying the seat occupied by a passenger using the seat pressure data and by analyzing it based on a size comparison. In further embodiments, step SII 0 comprises: obtaining seat image data of the vehicle, and determining a vehicle door adjacent to a corresponding seat as the target door, if the seat is recognized as the seat occupied by the passenger based on the seat image data. For example, vehicle seat image data can be obtained using a vehicle camera. This seat image data is then subjected to image recognition to identify seats with occupant images, i.e., seats occupied by passengers. In this way, the occupied seat is automatically identified using image recognition. The destination door is then determined. Specifically, obtaining vehicle seat image data further includes: receiving the seat image data sent by the vehicle camera, preprocessing the seat image data sent by the vehicle camera into final seat image data. It is understood that in other embodiments, the seat occupied by the passenger can also be determined by a combination of the seat pressure data and the seat image data. In that case, the vehicle door next to the seat occupied by the passenger can be defined as the destination door. In some embodiments, the procedure after step S130 and before step S150 further includes: preprocessing the detected distance value. Specifically, in step S170, based on the preprocessed distance value, it is determined whether an operation for scratch protection should be carried out on vehicle doors. The preprocessing of the recorded distance value includes, but is not limited to, filtering and noise reduction of the recorded distance value to improve the accuracy of the data. In some embodiments, step S130, activating a distance measuring device on the corresponding target door to detect a distance value between the bottom edge of the target door and the target obstacle, further includes: activating a distance measuring device on the underside of the corresponding target door to detect the distance value in the vertical direction, in order to detect the vertical distance between the bottom edge of the target door and the target obstacle. Thus, the distance value detected by the distance measuring device includes: the vertical distance between the bottom edge of the corresponding target door and the target obstacle. The height difference represents the vertical distance between the bottom edge of the target door and the target obstacle. Specifically, step S150 includes: issuing a scratch warning and / or sending a locking command to lock the corresponding target door if the height difference is less than a first threshold. It is understood that a scratch warning can be issued or a locking command sent to lock the corresponding target door if the height difference is less than a first threshold. Alternatively, both a scratch warning and a locking command to lock the corresponding target door can be issued. The "corresponding target door" refers to the target door whose opening angle changes and whose height difference between its bottom edge and the target obstacle is less than the first threshold. It is understood that the first threshold can be 0. The scratch warning is a notification designed to warn against scratching of vehicle doors. By issuing the scratch warning, the passenger is alerted to the risk of scratching the vehicle door. The passenger can therefore prevent the door from opening further. The scratch warning can be delivered via a voice announcement, the display of text or images on a screen, or an alarm sound, although this application is not limited to these methods. In particular, a locking command can be sent to the locking assembly. This controls the locking assembly to lock the corresponding target door. Locking the target door prevents further opening and thus prevents scratching. In some embodiments, step S130, activating a distance measuring device on the corresponding target door to detect a distance value between the bottom edge of the corresponding target door and the target obstacle, further comprises: activating a distance measuring device on the underside of the corresponding target door to detect the distance value in the horizontal direction, in order to detect the horizontal distance between the bottom edge of the target door and the target obstacle. Thus, the distance value detected by the distance measuring device includes: the horizontal distance between the bottom edge of the corresponding target door and the target obstacle. The horizontal distance is the distance in the horizontal direction, perpendicular to the vertical direction. By measuring both the vertical and horizontal distances, a distance analysis can be performed in both directions. Step S150 further includes: issuing a scratch warning and / or sending a locking command to lock the corresponding target door if the horizontal distance is less than the second threshold and the vertical distance is less than a first threshold. It is understood that the second threshold depends on the width of the door. Specifically, the first and second thresholds are determined based on the distance that could cause scratching. By comparing the vertical and horizontal distances with the corresponding thresholds, the potential scratching on the lower edge of the vehicle door is defined in both vertical and horizontal directions. This effectively prevents scratching on the vehicle doors and increases safety when opening them. It is understood that a scratch warning can be issued, or a locking command can be sent to lock the corresponding target door, or both a scratch warning and a locking command can be sent to lock the corresponding target door if the horizontal distance is less than the second threshold and the vertical distance is less than the first threshold. In some embodiments, step S130, activating a distance measuring device of the corresponding target door to detect a distance value between the lower edge of the corresponding target door and the target obstacle, further comprises: activating at least two distance measuring devices arranged at different locations on the underside of the target door to detect the distance value between the lower edge of the corresponding target door and the target obstacle. The at least two distance measuring devices, positioned at different points on the underside of the target door, can each measure the distance to the target obstacle at various locations. This allows for the use of measurements from multiple points to determine whether scratch protection measures should be applied to the vehicle doors. This results in improved scratch protection. In particular, a first distance measuring device for measuring the vertical distance and a second distance measuring device for measuring the horizontal distance at the bottom edge of the target door can be provided. Furthermore, the number of first and second distance measuring devices is unlimited. To improve measurement accuracy, multiple first / second distance measuring devices can be provided. In some embodiments, the distance measuring device includes, but is not limited to, one of the following: ultrasonic distance measuring sensor, infrared distance measuring sensor, laser distance measuring sensor and millimeter wave radar sensor. Specifically, the distance measuring device can be positioned at the bottom edge of the target door. This allows the vertical distance to the target obstacle to be measured precisely, for example, using an ultrasonic distance sensor. The placement of the ultrasonic distance sensor is shown in Fig. 3. An example of this is the acquisition of pressure data from the seat using a pressure sensor and the acquisition of a distance value between the underside of the vehicle door and the curb using an ultrasonic distance sensor. Referring to Figure 4, the data acquired by the pressure sensor on the seat is preprocessed after acquisition, including noise reduction and correction of the sensor values. Based on the preprocessed data, the weight corresponding to the pressure is calculated and compared with the set value. Using the comparison result, the seat occupied by a passenger is determined in order to locate the target seat. When the vehicle door next to the target seat is opened, the ultrasonic distance sensor on the underside of this door is activated to acquire data. After preprocessing the acquired ultrasonic data, a distance is calculated.If the distance is less than the threshold, there is a potential risk of scratching. An alarm is then triggered and the vehicle door locks. Data acquisition, preprocessing, calculation, and real-time safety monitoring efficiently prevent the underside of the vehicle door from impacting the curb. An alarm is triggered in time to warn the passenger and driver, ensuring driving safety. Furthermore, the impact protection against the curb is detected and automatically controlled. The entire process is fully automated, eliminating the need for the passenger to take any additional action or pay attention. This improves passenger comfort and eliminates the worry of the vehicle door hitting the curb. This application proposes a device for scratch protection on vehicle doors. With reference to Fig. 5, the device comprises a seat detection module 510, a distance detection module 530, and a scratch protection module 550. The seat detection module 510 is configured to receive seat detection information from the vehicle to determine a destination door based on the seat detection information; the seat detection information indicating whether the seat is occupied by a passenger. The distance detection module 530 is configured to activate a distance measuring device of the corresponding target door to detect a distance value between the lower edge of the target door and the target obstacle when the opening angle of the target door changes. The scratch protection module 550 is configured to determine, based on the distance value, whether a scratch protection operation should be performed on vehicle doors. In some embodiments, the seat detection module 510 is further configured to receive the original seat detection information captured and transmitted by the information acquisition device, preprocess the original seat detection information to final seat detection information, and determine the destination door based on the final seat detection information. In some embodiments, the seat detection module 510 is further configured to receive the pressure data of the vehicle seat and to determine a corresponding seat as the seat occupied by the passenger and the vehicle door adjacent to the corresponding seat as the destination door when the pressure data is greater than a predetermined pressure value. In other embodiments, the seat detection module 510 is further configured to receive seat image data from the vehicle and to determine the vehicle door adjacent to a corresponding seat as the destination door when the seat is identified as the seat occupied by the passenger based on the seat image data. In some embodiments, the above device for scratch protection on vehicle doors also includes a preprocessing module. This module is configured to preprocess the distance value detected by the distance measuring device. In particular, the scratch protection module 570 determines, based on the preprocessed distance value, whether a scratch protection operation should be performed on the vehicle doors. In some embodiments, the distance detection module 530 is further configured to activate a distance sensor on the underside of the corresponding target door to detect a distance value in the vertical direction, in order to obtain a vertical distance between the underside of the target door and the target obstacle. Specifically, the distance value includes the vertical distance between the bottom edge of the corresponding target door and the target obstacle. The scratch protection module 550 is further configured to issue a scratch warning and / or send a locking command to lock the corresponding target door if the vertical distance is less than a first threshold value. In some embodiments, the distance detection module 530 is further configured to activate a distance sensor on the underside of the corresponding target door to detect a horizontal distance value in order to obtain a horizontal distance between the underside of the target door and the target obstacle. Specifically, the distance value includes the horizontal distance between the bottom edge of the corresponding target door and the target obstacle. The scratch protection module 550 is further configured to issue a scratch warning and / or send a locking command to lock the corresponding target door if the horizontal distance is less than the second threshold and the vertical distance is less than a first threshold. In some embodiments, activating the distance measuring device of the corresponding target door by the distance detection module 530 to detect the distance value between the lower edge of the corresponding target door and the target obstacle further comprises: activating at least two distance measuring devices arranged at different locations on the underside of the target door to detect the distance value between the lower edge of the corresponding target door and the target obstacle. It should be understood that specific features, operations, and details previously described in this context with regard to the method according to this application are also similarly applicable to the device according to this application, or vice versa. Furthermore, each step of the method described above in this application can be performed by a corresponding component or unit of the device according to this application. It should be understood that the individual modules / units of the device of this application may be implemented wholly or partially by software, hardware, firmware, or a combination thereof. The individual modules / units may each be embedded in a processor of an electronic device in the form of hardware or firmware, or be independent of the processor, or be stored in the form of software on memory of the electronic device, which is called by the processor to implement the functions of the individual modules / units. The individual modules / units may each be implemented as an independent component or module. Or two or more modules / units may be implemented as a single component or module. As shown in Fig. 6, this application proposes an electronic device 600. The electronic device 600 comprises a processor 601 and a memory 602 on which a computer program instruction is stored. When the processor 601 executes the computer program instruction, the respective steps of the above method for scratch protection on vehicle doors are implemented. In one embodiment, the electronic device 600 can comprise a processor, memory, a network interface, a communication interface, and the like, connected via a system bus. The processor of the electronic device 600 can provide necessary computing, processing, and / or control capabilities. The memory of the electronic device 600 can comprise non-volatile storage media and internal memory. An operating system, a computer program, and the like can be stored on the non-volatile storage media. The internal memory can provide an operating environment for the operating system and the computer program on the non-volatile storage media. The network interface and the communication interface of the electronic device 600 can be used for connecting and communicating with an external device over the network.When the computer program is executed by the processor, the steps of the procedure according to this application are carried out. This application proposes a vehicle. The vehicle comprises the above-mentioned electronic device and a distance measuring device on the vehicle door, the distance measuring device being connected to the electronic device. Furthermore, this application proposes a computer-readable storage medium on which a computer program instruction is stored, wherein, upon execution of the computer program instruction by a processor, the steps of the procedure described herein for scratch protection on vehicle doors are implemented. The person skilled in the art should understand that the process steps of this application can be carried out by the associated hardware, such as the electronic device 600 or a processor, as a result of instructions from a computer program, and that the computer program can be stored on a non-temporary, computer-readable storage medium, with the steps of this application being carried out during the execution of the computer program. All references herein to memory, storage media, or other media may, as required, 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 tapes, floppy disks, magneto-optical data storage devices, optical data storage devices, hard disks, solid-state disks, etc.Examples of volatile memory include random access memory (RAM), external cache memory, and the like. The technical features described above can be combined in any way. Although not all possible combinations of these technical features are described, it should be noted that every combination of these technical features is covered by this description, as long as the combination does not lead to a contradiction. Finally, it should be noted that the above embodiments serve only to illustrate the technical solutions of this application and are not limiting. Although the present application is described in detail with reference to the aforementioned embodiments, the person skilled in the art should understand that they may still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features contained therein with equivalents. However, these modifications or replacements do not result in the essential nature of the corresponding technical solutions differing from the scope of the technical solutions of the embodiments of this application.
Claims
A method for scratch protection on vehicle doors, characterized in that the method comprises: obtaining seat detection information from a vehicle to determine a target door based on the seat detection information, wherein the seat detection information indicates whether a seat is occupied by a passenger; activating a distance measuring device of the corresponding target door to detect a distance value between a lower edge of the corresponding target door and a target obstacle, upon a change in the opening angle of the target door; determining whether a scratch protection operation should be performed on vehicle doors, based on the distance value. Method according to claim 1, characterized in that activating a distance measuring device of the corresponding target door to detect the distance value between the lower edge of the corresponding target door and the target obstacle further comprises: activating a distance measuring device on the underside of the corresponding target door to detect the distance value in the vertical direction in order to detect the vertical distance between the underside of the target door and the target obstacle. Method according to claim 2, characterized in that determining whether the operation for scratch protection on vehicle doors should be carried out, based on the distance value, comprises at least one of the following steps: issuing a scratch warning if the height distance is less than a first threshold value; sending a locking command to lock the corresponding target door if the height distance is less than the first threshold value. Method according to one of claims 1 to 3, characterized in that the activation of a distance measuring device of the corresponding target door for detecting a distance value between the lower edge of the corresponding target door and the target obstacle further comprises: activating a distance measuring device on the underside of the corresponding target door for detecting the distance value in a horizontal direction in order to detect the horizontal distance between the underside of the target door and the target obstacle. Method according to one of claims 1 to 4, characterized in that the activation of a distance measuring device of the corresponding target door for detecting a distance value between the lower edge of the corresponding target door and the target obstacle further comprises: activating at least two distance measuring devices which are arranged at different locations on the underside of the target door in order to detect the distance value between the lower edge of the corresponding target door and the target obstacle. A method according to any one of claims 1 to 5, characterized in that obtaining seat detection information from the vehicle for determining the destination door based on the seat detection information comprises at least one of the following steps: obtaining pressure data from the vehicle seat and determining a corresponding seat as the seat occupied by the passenger and a vehicle door adjacent to the corresponding seat as the destination door if the pressure data is greater than a predetermined pressure value; obtaining seat image data from the vehicle and determining a vehicle door adjacent to a corresponding seat as the destination door if the seat is recognized as the seat occupied by the passenger based on the seat image data. Method according to one of claims 1 to 6, characterized in that the distance measuring device comprises one of the following: ultrasonic distance measuring sensor, infrared distance measuring sensor, laser distance measuring sensor and millimeter wave radar sensor. A device for scratch protection on vehicle doors, characterized in that the device comprises: a seat detection module configured to receive seat detection information from the vehicle to determine a target door based on the seat detection information, wherein the seat detection information indicates whether the seat is occupied by a passenger; a distance detection module configured to activate a distance measuring device of the corresponding target door to detect a distance value between the lower edge of the corresponding target door and the target obstacle when the opening angle of the target door changes; a scratch protection module configured to determine, based on the distance value, whether a scratch protection operation should be performed on vehicle doors. Electronic device characterized in that it comprises a processor and a memory in which a computer program instruction is stored, wherein, during the execution of the computer program instruction by the processor, the steps of the method according to one of claims 1 to 7 are implemented. Vehicle characterized in that it comprises the electronic device according to claim 9 and a distance measuring device on the vehicle door, wherein the distance measuring device is connected to the electronic device. Computer-readable storage medium, characterized in that a computer program instruction is stored on the computer-readable storage medium, wherein, during the execution of the computer program instruction by a processor, the steps of the method according to one of claims 1 to 7 are implemented.