Vehicle window anti-pinch method and device, vehicle and storage medium

By obtaining vehicle operation information, determining whether there is an anti-clip object around the window, and determining the contact or non-contact anti-clip strategy based on the information, the problem of clamping during the rise of the window is solved, and the safety and efficiency of window control is improved.

CN120425962APending Publication Date: 2025-08-05ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510483879.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-17
Publication Date
2025-08-05

AI Technical Summary

Technical Problem

Vehicle windows are prone to clamping passengers during the rising process, and the prior art is difficult to effectively ensure the safety of vehicle window control.

Method used

By obtaining the current vehicle operation information, determine whether there is a preset anti-clip object around the window, and determine the contact or non-contact anti-clip strategy based on the information, including switching the anti-clip strategy when the image information meets the conditions to avoid clamping.

Benefits of technology

It improves the safety and efficiency of window control, and can give full play to the advantages of different anti-pinch strategies in different scenarios, avoid unnecessary computing power and provide dual security guarantees.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120425962A_ABST
    Figure CN120425962A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle window anti-pinch method and device, a vehicle and a storage medium, and relates to the technical field of vehicles. The method comprises the steps that in response to a rising instruction of a target vehicle window, whether a preset anti-pinch object exists around the target vehicle window or not is judged according to obtained current vehicle running information; when the preset anti-pinch object exists around the target vehicle window, determining an anti-pinch strategy according to the current vehicle operation information, and executing the anti-pinch strategy; wherein the non-contact anti-pinch strategy comprises the steps that when it is determined that the preset anti-pinch object does not meet the preset risk condition according to the image information, the rising instruction is executed, and the anti-pinch strategy is switched into the contact anti-pinch strategy. According to the method, multi-level safety risk pre-judgment is carried out in response to the rising requirement of the vehicle window, the control efficiency is improved, meanwhile, the advantages of different anti-pinch strategies can be fully played in different scenes in combination with the actual running condition of the current vehicle, and the safety of vehicle window control is comprehensively ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle window anti-pinch method, device, vehicle and storage medium. Background Art

[0002] With the continuous development of the automotive industry, vehicle safety, comfort, and intelligence have gradually become key concerns for consumers. As an important component of a car, windows primarily provide visibility and ventilation. In related technologies, window control methods are mainly divided into manual control and intelligent automated control, which can flexibly respond to user control needs in various vehicle usage scenarios.

[0003] While various window control mechanisms offer users great convenience and flexibility, they also pose potential safety risks. Frequent incidents of pinching injuries during window raising make it difficult to guarantee the safety of window control. Summary of the Invention

[0004] The problem solved by the present invention is how to improve the safety of vehicle window control.

[0005] To solve the above problems, the present invention provides a vehicle window anti-pinch method, comprising:

[0006] In response to a rising instruction of a target window, determining whether there is a preset anti-pinch object around the target window according to the acquired current vehicle operation information;

[0007] When the preset anti-pinch object exists around the target window, an anti-pinch strategy is determined according to the current vehicle operation information, and the anti-pinch strategy is executed;

[0008] Among them, the anti-pinch strategy includes a contact anti-pinch strategy or a non-contact anti-pinch strategy; the non-contact anti-pinch strategy includes executing the rising instruction and switching the anti-pinch strategy to the contact anti-pinch strategy when it is determined based on the acquired image information that the preset anti-pinch object does not meet the preset risk condition.

[0009] Optionally, the current vehicle operation information includes the current opening of the target window and current environmental information; and determining the anti-pinch strategy based on the current vehicle operation information includes:

[0010] When the current opening is greater than a preset opening threshold and the current environmental information meets a preset stability condition, the anti-pinch strategy is the non-contact anti-pinch strategy.

[0011] Optionally, the current environmental information includes current light intensity; the preset stability condition includes that the current light intensity is greater than a preset intensity threshold, and a change rate of the current light intensity is less than a preset first change rate.

[0012] Optionally, the determining of the anti-pinch strategy according to the current vehicle operation information further includes:

[0013] When the current opening is less than or equal to the preset opening threshold, or when the current environmental information does not meet the preset stability condition, the anti-pinch strategy is the contact anti-pinch strategy; wherein, the contact anti-pinch strategy includes executing the rising instruction, and when the current window rising resistance obtained is greater than the preset resistance threshold, controlling the target window to descend and generating a first alarm message.

[0014] Optionally, the preset risk condition includes that the preset anti-pinch object extends out of the target vehicle window, and / or that the preset anti-pinch object has a tendency to extend out of the target vehicle window.

[0015] Optionally, the non-contact anti-pinch strategy further includes: when it is determined according to the image information that the preset anti-pinch object meets the preset risk condition, disabling the ascending instruction and generating a second warning message.

[0016] Optionally, the current vehicle operation information includes a current seat pressure corresponding to a target seat closest to the target window; and determining whether there is a preset anti-pinch object around the target window based on the acquired current vehicle operation information includes:

[0017] When the current seat pressure is greater than a preset pressure threshold, and / or when the change rate of the current seat pressure is greater than a preset second change rate, it indicates that the preset anti-pinch object exists around the target window.

[0018] In the present invention, the current vehicle operation information is obtained in response to the rising instruction of the target window, which is conducive to quickly grasping the current actual state of the vehicle when the window rising demand is identified. Based on the current vehicle operation information, it is judged whether there is a preset anti-pinch object around the target window. While prejudging whether the window rising operation may bring safety risks, it is also conducive to improving the pertinence, reliability and efficiency of the prejudgment, and avoiding unnecessary waste of computing power. When there is a preset anti-pinch object around the target window, it means that the target window has the possibility of clamping the preset anti-pinch object during the rising process (i.e. when executing the rising instruction), that is, there may be a safety risk. At this time, the anti-pinch strategy is determined according to the current vehicle operation information, which is conducive to selecting a reasonable anti-pinch strategy in combination with the current actual operation situation of the vehicle, and executing the anti-pinch strategy, so that the reliability advantage of the contact anti-pinch strategy or the safety advantage of the non-contact anti-pinch strategy can be fully utilized in different scenarios. The non-contact anti-pinch strategy in the present invention includes executing the rising instruction and switching the anti-pinch strategy to the contact anti-pinch strategy when it is determined based on the acquired image information that the preset anti-pinch object does not meet the preset risk condition. Among them, when it is determined based on the acquired image information that the preset anti-pinch object does not meet the preset risk conditions, it indicates that the safety risk of executing the rise command in the current scenario is low (that is, it is predicted that the target anti-pinch object will not be pinched during the execution of the rise command with a high probability). At this time, executing the rise command and switching the anti-pinch strategy to the contact anti-pinch strategy quickly responds to the rise demand of the target window while also helping to avoid possible pinching injuries caused by the rapid change in the positional relationship between the preset anti-pinch object and the target window during the execution of the rise command, which is equivalent to providing double safety protection for the preset anti-pinch object.

[0019] In this way, the present invention responds to rising demand for a target window by first determining whether there are pre-set anti-pinch objects around the target window. It then determines a suitable anti-pinch strategy based on current vehicle operating information. When implementing the non-contact anti-pinch strategy, it further identifies safety risks based on image information. This enables multi-level safety risk prediction, improving control efficiency while fully leveraging the advantages of different anti-pinch strategies in different scenarios, ensuring comprehensive window control safety.

[0020] The present invention also provides a vehicle window anti-pinch device, comprising:

[0021] a judgment module, configured to respond to a rising instruction of a target window and judge whether there is a preset anti-pinch object around the target window according to the acquired current vehicle operation information;

[0022] an anti-pinch module, configured to determine an anti-pinch strategy based on the current vehicle operation information and execute the anti-pinch strategy when the preset anti-pinch object exists around the target window;

[0023] Among them, the anti-pinch strategy includes a contact anti-pinch strategy or a non-contact anti-pinch strategy; the non-contact anti-pinch strategy includes executing the rising instruction and switching the anti-pinch strategy to the contact anti-pinch strategy when it is determined based on the acquired image information that the preset anti-pinch object does not meet the preset risk condition.

[0024] The advantages of the vehicle window anti-pinch device provided by the present invention and the vehicle window anti-pinch method compared to the prior art are basically the same, and will not be repeated here.

[0025] The present invention also provides a vehicle, comprising a memory and a processor;

[0026] The memory is used to store computer programs;

[0027] The processor is configured to implement the vehicle window anti-pinch method as described above when executing the computer program.

[0028] The advantages of the vehicle provided by the present invention and the window anti-pinch method compared to the prior art are basically the same and will not be repeated here.

[0029] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the vehicle window anti-pinch method described above is implemented.

[0030] The advantages of the computer-readable storage medium provided by the present invention and the vehicle window anti-pinch method compared to the prior art are basically the same and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 Schematic diagram of the process of the vehicle window anti-pinch method according to an embodiment of the present invention;

[0032] Figure 2 Schematic diagram of a process flow of a vehicle window anti-pinch method according to another embodiment of the present invention;

[0033] Figure 3 Schematic diagram of the structure of a vehicle window anti-pinch device according to an embodiment of the present invention;

[0034] Figure 4 Schematic diagram of the structure of a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION

[0035] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of protection of the present invention.

[0036] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0037] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0038] It should be noted that the modifications of "one" and "multiple" mentioned in the present invention are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0039] It is understood that any part of this application related to data acquisition or collection has been authorized by the user.

[0040] like Figure 1 As shown, an embodiment of the present invention provides a method for preventing vehicle window pinching, comprising the following steps:

[0041] S1: In response to a rising instruction of a target window, it is determined whether there is a preset anti-pinch object around the target window according to the acquired current vehicle operation information.

[0042] Specifically, in this embodiment, the rising instruction of the target window can be manually triggered by the passenger (such as pressing the window rising button), or it can be generated by the vehicle control system (such as when the car is remotely locked, if it is detected that the window is in the open state, the window rising instruction is automatically generated). The preset anti-pinch objects referred to in this embodiment may include the limbs, head, etc. of the passenger. It can be determined whether there is a preset anti-pinch object around the target window based on the current vehicle operation information. For example, the current operation information may include in-vehicle image information, and the preset anti-pinch object can be identified and located based on the in-vehicle image information. On this basis, it can be determined whether the distance between the preset anti-pinch object and the target window (such as the minimum distance in the horizontal direction) is greater than the preset distance threshold. If so, it indicates that there is no preset anti-pinch object around the target window. If not, it indicates that there is a preset anti-pinch object around the target window.

[0043] In this embodiment, current vehicle operating information is obtained in response to a target window's up command, facilitating a quick understanding of the vehicle's current state upon identifying a window-up request. This information is used to determine whether there are pre-set anti-pinch objects around the target window. This not only helps predict whether the window-up operation may pose a safety risk, but also improves the specificity, reliability, and efficiency of the prediction, avoiding unnecessary waste of computing power.

[0044] S2: When there are preset anti-pinch objects around the target window, an anti-pinch strategy is determined based on current vehicle operation information; and the anti-pinch strategy is executed;

[0045] Among them, the anti-pinch strategy includes a contact anti-pinch strategy or a non-contact anti-pinch strategy; the non-contact anti-pinch strategy includes executing an ascending instruction and switching the anti-pinch strategy to a contact anti-pinch strategy when it is determined based on the acquired image information that the preset anti-pinch object does not meet the preset risk conditions.

[0046] Specifically, the anti-pinch strategy in this embodiment includes a contact anti-pinch strategy and a non-contact anti-pinch strategy, wherein the contact anti-pinch strategy refers to a strategy for avoiding further pinching of the preset anti-pinch object after detecting that the window has pinched the preset anti-pinch object during the process of executing the rising instruction. For example, a pressure sensor can be set at the edge of the window in advance. When the current pressure detected by the pressure sensor is greater than the preset pressure threshold, it can be considered that the window has pinched the preset anti-pinch object, and the corresponding anti-pinch operation (such as lowering the window) is performed. The non-contact anti-pinch strategy refers to a strategy for actively preventing pinching after predicting that the window may pinch the preset anti-pinch object during the process of executing the rising instruction. For example, photoelectric sensors can be set on both sides of the window frame. If the photoelectric sensors detect that the light beam is blocked by an object, it can be considered that the window may pinch the preset anti-pinch object during the process of executing the rising instruction, and the corresponding anti-pinch operation (such as stopping and raising the window) is performed.

[0047] In one embodiment, different anti-pinch strategies have different safety and reliability in different scenarios, and an anti-pinch strategy adapted to the current vehicle operation situation can be determined based on the current vehicle operation information. For example, the current vehicle operation information may include the current seat pressure at the target seat. When the current seat pressure is less than a preset pressure, it indicates that the passengers around the target window may be children. A non-contact anti-pinch strategy that can predict safety risks in advance can be adopted to ensure the safety of window control. When the current seat pressure is greater than or equal to the preset pressure, and the rate of change of the current seat pressure is less than a preset rate of change threshold, it indicates that the passengers around the target window are likely to be adults and have small movements. The probability of the passenger's limbs and other parts (i.e., the preset anti-pinch targets) being pinched by the window is low, and a contact anti-pinch strategy can be adopted to quickly respond to the window raising demand.

[0048] In one embodiment, the image information may include image information of the area where the target window is located (such as image information within a preset space around the target window), and a camera may be pre-installed near each window of the vehicle to capture images of the area where the window is located. When executing a non-contact anti-pinch strategy, the image information may be first acquired, and then the image information may be used to determine whether the preset anti-pinch object meets the preset risk conditions. For example, the image information may be input into an object detection model (such as a convolutional neural network model, etc.), and the model may be used to identify and locate the preset anti-pinch object and the target window, and by comparing the positions of the preset anti-pinch object and the target window, it may be determined whether the preset anti-pinch object meets the preset risk conditions (the preset anti-pinch object extends out of the target window).

[0049] Optionally, before determining whether the preset anti-pinch object meets the preset risk conditions based on the image information, the image information can also be processed by noise reduction, cropping, normalization and scaling, which is conducive to improving image quality, reducing interference from irrelevant factors, and thus improving the accuracy of the judgment results.

[0050] It should be understood that in this embodiment, the number of preset anti-pinch objects is at least one, and the positional relationships between different preset anti-pinch objects and the vehicle window may be different. For example, assuming that the preset anti-pinch objects can be the two arms of a passenger adjacent to the target vehicle window, the positional relationships between different arms and the target vehicle window may be different. Assuming that one arm extends out of the target vehicle window (i.e., one arm is located outside the target vehicle window), and the other arm has a tendency to extend out of the target vehicle window (i.e., the other arm is about to be located outside the target vehicle window), it can be considered that the preset risk condition is met (the corresponding preset anti-pinch object extends out of the target vehicle window, and the preset anti-pinch object has a tendency to extend out of the target vehicle window).

[0051] In this embodiment, the current vehicle operation information is obtained in response to the rising instruction of the target window, which is conducive to quickly grasping the current actual state of the vehicle when the window rising demand is identified. Based on the current vehicle operation information, it is judged whether there is a preset anti-pinch object around the target window. While prejudging whether the window rising operation may bring safety risks, it is also conducive to improving the pertinence, reliability and efficiency of the prejudgment, and avoiding unnecessary waste of computing power. When there is a preset anti-pinch object around the target window, it means that there is a possibility that the target window will clamp the preset anti-pinch object during the rising process (that is, when the rising instruction is executed), that is, there may be a safety risk. At this time, the anti-pinch strategy is determined according to the current vehicle operation information, which is conducive to selecting a reasonable anti-pinch strategy in combination with the current actual operation of the vehicle, so that the reliability advantage of the contact anti-pinch strategy or the safety advantage of the non-contact anti-pinch strategy can be fully utilized in different scenarios. In this embodiment, the non-contact anti-pinch strategy includes executing the rising instruction and switching the anti-pinch strategy to the contact anti-pinch strategy when it is determined based on the acquired image information that the preset anti-pinch object does not meet the preset risk condition. Among them, when it is determined based on the acquired image information that the preset anti-pinch object does not meet the preset risk conditions, it indicates that the safety risk of executing the rise command in the current scenario is low (that is, it is predicted that the target anti-pinch object will not be pinched during the execution of the rise command with a high probability). At this time, executing the rise command and switching the anti-pinch strategy to the contact anti-pinch strategy quickly responds to the rise demand of the target window while also helping to avoid possible pinching injuries caused by the rapid change in the positional relationship between the preset anti-pinch object and the target window during the execution of the rise command, which is equivalent to providing double safety protection for the preset anti-pinch object.

[0052] In this way, this embodiment responds to the target window's upward movement by first determining whether there are pre-set anti-pinch objects around the target window. It then determines a suitable anti-pinch strategy based on current vehicle operating information. When implementing the non-contact anti-pinch strategy, it further identifies safety risks based on image information. This multi-level safety risk prediction improves control efficiency while fully leveraging the advantages of different anti-pinch strategies in different scenarios, ensuring comprehensive window control safety.

[0053] Optionally, the current vehicle operation information includes the current opening of the target window and current environmental information; and determining the anti-pinch strategy based on the current vehicle operation information includes:

[0054] When the current opening is greater than a preset opening threshold and the current environmental information meets a preset stability condition, the anti-pinch strategy is a non-contact anti-pinch strategy.

[0055] Specifically, in this embodiment, the current vehicle operation information includes the current opening of the target window and the current environmental information. For example, a pre-set position detection device (such as a position sensor) can be used to obtain the current opening of the target window. In this embodiment, the preset opening threshold can be set in advance according to the size information of the preset anti-pinch object. For example, assuming that the preset anti-pinch object includes the limbs and head of the passenger, etc., the preset opening threshold can be set according to the minimum size of the preset anti-pinch object (such as the window opening that can accommodate a finger as the preset opening threshold). When the current opening is greater than the preset opening threshold, it means that the current window opening can allow the preset anti-pinch object to at least partially extend out of the target window. At this time, the current environmental information can be obtained, and the selection of the anti-pinch strategy can be determined based on whether the current environmental information meets the preset stability condition.

[0056] In one embodiment, the preset stability condition can be set in advance based on current environmental information. For example, the current environmental information may include the current wind speed corresponding to the target vehicle window, and it can be determined whether the current wind speed is greater than a preset wind speed threshold. If so, it indicates that the current environmental information does not meet the preset stability condition. For example, a higher wind speed may cause obstacles (such as passengers' clothing) to affect the reliability of image recognition. If not, it indicates that the current environmental information meets the preset stability condition, and the non-contact anti-pinch strategy can be used as the anti-pinch strategy.

[0057] In this embodiment, when the current opening is greater than the preset opening threshold, it means that the current opening of the target window can allow the preset anti-pinch object to extend out of the window, which constitutes the basic condition that may cause safety risks. On this basis, the current vehicle operation information also includes current environmental information, which is conducive to grasping the actual operating environment of the vehicle and provides a reliable reference basis for the selection of subsequent anti-pinch strategies. This embodiment can predict in advance the reliability of the image quality obtained in this scenario by judging whether the current environmental information meets the preset stability conditions. When the current environmental information meets the preset stability conditions, it means that the reliability of the non-contact anti-pinch strategy that relies on image information to predict safety risks can be guaranteed in this scenario. At this time, using the non-contact anti-pinch strategy as the anti-pinch strategy is conducive to giving full play to the advantages of the non-contact anti-pinch strategy in being able to comprehensively and effectively predict safety risks and ensure the safety of the target window rising operation.

[0058] Optionally, the current environmental information includes current light intensity; the preset stability condition includes that the current light intensity is greater than a preset intensity threshold, and the change rate of the current light intensity is less than a preset first change rate.

[0059] Specifically, in this embodiment, the front environment information may include the current light intensity. A light detection device (such as a light intensity sensor) may be set inside and / or outside the vehicle in advance, and the light detection device may be used to obtain the current light intensity. On the one hand, the quality of image information will usually be different under different light intensities due to the influence of parameters such as brightness, noise, and resolution. In this embodiment, the minimum light intensity that can ensure image quality can be used as a preset intensity threshold. On the other hand, in scenarios where light intensity changes dramatically (such as scenarios where vehicles are traveling in tree-lined areas), the reliability of risk identification based on image information is likely to be affected. For example, in scenarios where light intensity changes dramatically, irregular shadows may appear in the image information, thereby affecting the reliability of the recognition and positioning of the preset anti-pinch object. The light intensity change rate that does not affect the accuracy of image recognition can be set in advance as a preset first change rate.

[0060] In this embodiment, when the vehicle is actually running, it can first determine whether the current light intensity is greater than the preset intensity threshold. If not, it indicates that the preset stability condition is not met. If so, it can continue to determine whether the rate of change of the current light intensity is less than the preset first rate of change (such as determining the rate of change of light intensity based on the light intensity obtained in multiple consecutive sampling cycles). If so, it indicates that the current environmental information meets the preset stability condition. If not, it indicates that the current environmental information does not meet the preset stability condition. The preset stability condition of this embodiment is conducive to ensuring the quality of the acquired image by constraining the light intensity and the rate of change of the light intensity, avoiding interference with the accuracy of image recognition, and thereby improving the reliability of judging whether the preset anti-pinch object meets the preset risk condition.

[0061] Optionally, determining the anti-pinch strategy based on current vehicle operation information further includes:

[0062] When the current opening is less than or equal to a preset opening threshold, or when the current environmental information does not meet the preset stability conditions, the anti-pinch strategy is a contact anti-pinch strategy; wherein, the contact anti-pinch strategy includes executing an ascending instruction, and when the current window ascending resistance obtained is greater than the preset resistance threshold, the target window is controlled to descend and a first alarm message is generated.

[0063] Specifically, in this embodiment, the current window's upward resistance represents the resistance detected against the target window during the execution of the upward command, and can be obtained based on the resistance detection device. The contact anti-pinch strategy involves controlling the target window to lower and generating a first warning (such as an audible or light warning) when the current window's upward resistance exceeds a preset resistance threshold. This helps prevent further pinching of the designated anti-pinch target and promptly alerts vehicle personnel to safety risks.

[0064] It should be understood that in this embodiment, the higher the preset resistance threshold, the lower the probability of the contact-based anti-pinch strategy being falsely triggered. Conversely, the lower the preset resistance threshold, the less damage the window may cause to the preset anti-pinch target. This embodiment balances these characteristics by presetting the preset resistance threshold.

[0065] In this embodiment, when the current window opening is less than or equal to the preset opening threshold, it indicates that the current window opening is unlikely to allow the preset anti-pinch object to extend beyond the target window, and the safety risk is low. In this case, using the contact anti-pinch strategy as the anti-pinch strategy facilitates a quick and safe response to window raising requests. However, when the current environmental information does not meet the preset stability conditions, the reliability of using the acquired image information to determine whether the preset anti-pinch object meets the preset risk conditions in this scenario may be low. In this case, using the contact anti-pinch strategy as the anti-pinch strategy can avoid misidentification of safety risks while also providing basic safety protection for the preset anti-pinch object.

[0066] Optionally, the preset risk condition includes that the preset anti-pinch object extends out of the target vehicle window, and / or that the preset anti-pinch object has a tendency to extend out of the target vehicle window.

[0067] Specifically, this embodiment can determine the positional relationship between the preset anti-pinch object and the target window based on the acquired image information, and thus predict the safety risk. Before executing the non-contact anti-pinch strategy, the window anti-pinch method can also include:

[0068] Identifying a preset anti-pinch object and an unclosed area of the target vehicle window based on the image information, and determining a current minimum distance between the preset anti-pinch object and the unclosed area;

[0069] When the current minimum distance is equal to zero, instructing the preset anti-pinch object to extend out of the target window;

[0070] When the current minimum distance is greater than zero and shows a decreasing trend, it indicates that the preset anti-pinch object has a tendency to extend out of the target vehicle window.

[0071] Specifically, the unclosed area referred to in this embodiment represents the gap between the upper edge of the target window and the frame. An object detection model (such as a convolutional neural network model, etc.) can be used to identify and locate the preset anti-pinch object and the target window, and then determine the current minimum distance between the preset anti-pinch object and the unclosed area. For example, the object detection model can use a bounding box to select the detected preset target object and the unclosed area and mark the object type. On this basis, the current minimum distance between the preset anti-pinch object and the unclosed area can be determined based on the positions of the bounding boxes of the two.

[0072] Among them, based on the image information, the preset anti-pinch object and the unclosed area of the target window are identified, and the current minimum distance between the preset anti-pinch object and the unclosed area is determined, which is conducive to providing an accurate reference basis for the subsequent determination of the positional relationship between the two. On this basis, it can be determined whether the current minimum distance is zero. If so, it can indicate that the edges of the bounding boxes between the two overlap or at least partially overlap, which can indicate that the preset anti-pinch object has extended beyond the target window. If not, it means that the preset anti-pinch object has not currently extended beyond the target window. At this time, multiple current minimum distances within a continuous preset acquisition cycle can be obtained, and it can be determined whether the current minimum distance is decreasing. If so, it indicates that the preset anti-pinch object has a tendency to extend beyond the target window. This indicates that the preset anti-pinch object is gradually approaching the unclosed area of the target window. During the rising process of the target window, the preset anti-pinch object may extend beyond the target window, posing a safety risk. In this way, this embodiment can accurately determine whether the preset anti-pinch object meets the preset risk condition based on the size and changing trend of the current minimum distance.

[0073] In this embodiment, the preset risk conditions include the preset anti-pinch object extending out of the target window, and / or the preset anti-pinch object has a tendency to extend out of the target window, which is conducive to improving the comprehensiveness, foresight and reliability of risk prediction, thereby effectively predicting the safety risks that may be caused by the target window raising operation in a variety of complex scenarios.

[0074] Optionally, the non-contact anti-pinch strategy further includes: when it is determined based on the image information that the preset anti-pinch object meets a preset risk condition, disabling the ascending instruction and generating a second warning message.

[0075] In this embodiment, when the anti-pinch strategy is a non-contact anti-pinch strategy, when it is determined based on image information that the preset anti-pinch object meets the preset risk conditions, it means that the preset anti-pinch object is very likely to be clamped during the rising process of the window. At this time, the rising instruction is disabled and a second alarm information is generated (such as voice alarm, light alarm, etc.). While avoiding damage to the preset anti-pinch object, it can also promptly remind passengers to pay attention to safety risks, thereby significantly improving the safety of window control.

[0076] Optionally, the current vehicle operation information includes a current seat pressure corresponding to a target seat closest to the target window; and determining whether there is a preset anti-pinch object around the target window based on the acquired current vehicle operation information includes:

[0077] When the current seat pressure is greater than a preset pressure threshold, and / or when the change rate of the current seat pressure is greater than a preset second change rate, it indicates that a preset anti-pinch object exists around the target window.

[0078] Specifically, in this embodiment, the current vehicle operation information includes the current seat pressure corresponding to the target seat closest to the target window. A pressure detection device (e.g., a pressure sensor) can be pre-installed on each seat, and the seat corresponding to each pressure detection device can be associated with the window closest to it. During actual vehicle operation, the seat pre-associated with the target window can be used as the target seat, and the current seat pressure detected by the pressure detection device on the target seat can be obtained.

[0079] In one embodiment, the preset pressure threshold can be set in advance based on average weight from historical statistical data, and the preset second rate of change can be determined based on the average current seat pressure change rate of adult passengers during vehicle operation. This ensures reliable judgment while also facilitating the identification of potentially lightweight but active children near the target window (i.e., those with current seat pressure less than or equal to the preset pressure threshold and a current seat pressure change rate greater than the preset second rate of change), thereby comprehensively improving judgment accuracy.

[0080] In this embodiment, obtaining the current seat pressure corresponding to the target seat closest to the target window is helpful in determining whether there are passengers near the target window, providing a reliable reference for subsequently identifying whether there are preset anti-pinch objects around the target window. When the current seat pressure is greater than a preset pressure threshold, it indicates that the target seat is currently under high pressure, and it can be assumed that there are passengers around the target seat, thereby indicating the presence of a preset anti-pinch object around the target window. When the rate of change of the current seat pressure is greater than a preset second rate of change, it indicates that even when the current seat pressure is less than or equal to the preset pressure threshold, the pressure on the target seat is changing frequently, which is most likely due to the frequent movement of passengers at the target seat. This indicates the presence of a preset anti-pinch object around the target window, which helps improve the reliability of the judgment result.

[0081] For example, Figure 2 As shown, a specific embodiment of the vehicle window anti-pinch method is now further introduced. The vehicle window anti-pinch method includes the following steps:

[0082] Responding to a target window raising instruction, obtaining current vehicle operation information;

[0083] Determine whether there is a preset anti-pinch object around the target window based on the current vehicle operation information;

[0084] If not, execute the rising instruction;

[0085] If so, obtain the current opening of the target window;

[0086] Determine whether the current opening is greater than a preset opening threshold;

[0087] If not, the anti-pinch strategy is a contact anti-pinch strategy, and the contact anti-pinch strategy is executed;

[0088] If so, determine whether the current environment information meets the preset stability conditions:

[0089] If not, the anti-pinch strategy is a contact anti-pinch strategy, and the contact anti-pinch strategy is executed;

[0090] If yes, the anti-pinch strategy is a non-contact anti-pinch strategy, and the non-contact anti-pinch strategy is executed;

[0091] When the non-contact anti-pinch strategy is executed, it is determined whether the preset anti-pinch object meets the preset risk conditions based on the acquired image information;

[0092] If so, the ascending instruction is disabled and a second warning message is generated;

[0093] If not, the ascending instruction is executed and the anti-pinch strategy is switched to the contact anti-pinch strategy;

[0094] When the contact anti-pinch strategy is executed, the rising instruction is executed and the current rising resistance of the target window is obtained;

[0095] Determine whether the current upward resistance is greater than the preset resistance threshold;

[0096] If so, control the target vehicle window to lower and generate a first warning message;

[0097] If not, continue to execute the rising instruction.

[0098] like Figure 3 As shown, an embodiment of the present invention provides a vehicle window anti-pinch device 300, comprising:

[0099] A determination module 310 is configured to respond to a rising instruction of a target window and determine whether there is a preset anti-pinch object around the target window according to the acquired current vehicle operation information;

[0100] an anti-pinch module 320 for determining an anti-pinch strategy based on the current vehicle operation information and executing the anti-pinch strategy when the preset anti-pinch object exists around the target window;

[0101] Among them, the anti-pinch strategy includes a contact anti-pinch strategy or a non-contact anti-pinch strategy; the non-contact anti-pinch strategy includes executing the rising instruction and switching the anti-pinch strategy to the contact anti-pinch strategy when it is determined based on the acquired image information that the preset anti-pinch object does not meet the preset risk condition.

[0102] The technical effects that can be produced by the vehicle window anti-pinch device and the vehicle window anti-pinch method provided in this embodiment are basically the same, and will not be described in detail here.

[0103] like Figure 4 As shown, a vehicle 400 provided by an embodiment of the present invention includes a memory 410 and a processor 420; the memory 410 is used to store a computer program; the processor 420 is used to implement the above-mentioned vehicle window anti-pinch method when executing the computer program.

[0104] In other words, a vehicle 400 includes a memory 410 and a processor 420 coupled to the memory 410; the memory 410 is configured to store a computer program; and the processor 420 is configured to perform the following operations when executing the computer program:

[0105] In response to a rising instruction of a target window, determining whether there is a preset anti-pinch object around the target window according to the acquired current vehicle operation information;

[0106] When the preset anti-pinch object exists around the target window, an anti-pinch strategy is determined according to the current vehicle operation information, and the anti-pinch strategy is executed;

[0107] Among them, the anti-pinch strategy includes a contact anti-pinch strategy or a non-contact anti-pinch strategy; the non-contact anti-pinch strategy includes executing the rising instruction and switching the anti-pinch strategy to the contact anti-pinch strategy when it is determined based on the acquired image information that the preset anti-pinch object does not meet the preset risk condition.

[0108] The technical effects produced by the vehicle and window anti-pinch method provided in this embodiment are basically the same and will not be repeated here.

[0109] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the vehicle window anti-pinch method described above is implemented.

[0110] In other words, a non-volatile computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the following operations:

[0111] In response to a rising instruction of a target window, determining whether there is a preset anti-pinch object around the target window according to the acquired current vehicle operation information;

[0112] When the preset anti-pinch object exists around the target window, an anti-pinch strategy is determined according to the current vehicle operation information, and the anti-pinch strategy is executed;

[0113] Among them, the anti-pinch strategy includes a contact anti-pinch strategy or a non-contact anti-pinch strategy; the non-contact anti-pinch strategy includes executing the rising instruction and switching the anti-pinch strategy to the contact anti-pinch strategy when it is determined based on the acquired image information that the preset anti-pinch object does not meet the preset risk condition.

[0114] The computer-readable storage medium provided in this embodiment and the vehicle window anti-pinch method can produce substantially the same technical effects, which will not be described in detail here.

[0115] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM). In this application, the units described as separate components may or may not be physically separate, and 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 according to actual needs to achieve the purpose of the embodiments of the present invention. In addition, the functional units in the various embodiments of the present invention can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into a single unit. The above-mentioned integrated units can be implemented in the form of hardware or software functional units.

[0116] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.

Claims

1. A method for preventing vehicle windows from being pinched, characterized in that: include: In response to a rising instruction of a target window, determining whether there is a preset anti-pinch object around the target window according to the acquired current vehicle operation information; When the preset anti-pinch object exists around the target window, an anti-pinch strategy is determined according to the current vehicle operation information, and the anti-pinch strategy is executed; Among them, the anti-pinch strategy includes a contact anti-pinch strategy or a non-contact anti-pinch strategy; the non-contact anti-pinch strategy includes executing the rising instruction and switching the anti-pinch strategy to the contact anti-pinch strategy when it is determined based on the acquired image information that the preset anti-pinch object does not meet the preset risk condition.

2. The vehicle window anti-pinch method according to claim 1, characterized in that: The current vehicle operation information includes the current opening of the target window and current environment information; The determining of the anti-pinch strategy according to the current vehicle operation information includes: When the current opening is greater than a preset opening threshold and the current environmental information meets a preset stability condition, the anti-pinch strategy is the non-contact anti-pinch strategy.

3. The vehicle window anti-pinch method according to claim 2, characterized in that: The current environment information includes current light intensity; the preset stability condition includes that the current light intensity is greater than a preset intensity threshold, and a change rate of the current light intensity is less than a preset first change rate.

4. The vehicle window anti-pinch method according to claim 2, characterized in that: The step of determining the anti-pinch strategy according to the current vehicle operation information further includes: When the current opening is less than or equal to the preset opening threshold, or when the current environmental information does not meet the preset stability condition, the anti-pinch strategy is the contact anti-pinch strategy; wherein, the contact anti-pinch strategy includes executing the rising instruction, and when the current window rising resistance obtained is greater than the preset resistance threshold, controlling the target window to descend and generating a first alarm message.

5. The vehicle window anti-pinch method according to claim 1, characterized in that: The preset risk condition includes that the preset anti-pinch object extends out of the target vehicle window, and / or that the preset anti-pinch object has a tendency to extend out of the target vehicle window.

6. The vehicle window anti-pinch method according to claim 1, characterized in that: The non-contact anti-pinch strategy further includes: when it is determined according to the image information that the preset anti-pinch object meets the preset risk condition, disabling the ascending instruction and generating a second warning message.

7. The vehicle window anti-pinch method according to any one of claims 1 to 6, characterized in that: The current vehicle operation information includes a current seat pressure corresponding to a target seat closest to the target window; The determining whether there is a preset anti-pinch object around the target window according to the acquired current vehicle operation information includes: When the current seat pressure is greater than a preset pressure threshold, and / or when the change rate of the current seat pressure is greater than a preset second change rate, it indicates that the preset anti-pinch object exists around the target window.

8. A vehicle window anti-pinch device, characterized in that: include: a judgment module, configured to respond to a rising instruction of a target window and judge whether there is a preset anti-pinch object around the target window according to the acquired current vehicle operation information; an anti-pinch module, configured to determine an anti-pinch strategy based on the current vehicle operation information and execute the anti-pinch strategy when the preset anti-pinch object exists around the target window; Among them, the anti-pinch strategy includes a contact anti-pinch strategy or a non-contact anti-pinch strategy; the non-contact anti-pinch strategy includes executing the rising instruction and switching the anti-pinch strategy to the contact anti-pinch strategy when it is determined based on the acquired image information that the preset anti-pinch object does not meet the preset risk condition.

9. A vehicle, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is configured to implement the vehicle window anti-pinch method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that The storage medium stores a computer program, and when the computer program is executed by the processor, the vehicle window anti-pinch method according to any one of claims 1 to 7 is implemented.