A vehicle window anti-pinch correction method, system, electronic device and storage medium

By dynamically adjusting the anti-pinch detection threshold while the vehicle is in motion, the problem of false anti-pinch detection in the window anti-pinch algorithm on bumpy roads has been solved, thus improving the accuracy of the window anti-pinch function.

CN117449726BActive Publication Date: 2026-07-10CHONGQING CHANGAN TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHONGQING CHANGAN TECH CO LTD
Filing Date
2023-10-13
Publication Date
2026-07-10

Smart Images

  • Figure CN117449726B_ABST
    Figure CN117449726B_ABST
Patent Text Reader

Abstract

The application provides a vehicle window anti-pinch correction method, system, electronic equipment and storage medium, the method obtains the vehicle driving state, the preset vehicle window anti-pinch threshold, the vehicle driving state includes that the vehicle drives on uneven road, the vehicle drives on flat road, the vehicle is in static state, the anti-pinch determination threshold of corresponding driving state is determined based on that the vehicle drives on uneven road, the vehicle drives on flat road, the vehicle is in static state, so that the preset vehicle window anti-pinch threshold is corrected through the anti-pinch determination threshold of corresponding driving state; the preset vehicle window anti-pinch threshold is corrected through the anti-pinch determination threshold of corresponding driving state, the technical effect that the preset vehicle window anti-pinch threshold is dynamically adjusted according to the driving state in the vehicle driving process is realized, and the accuracy of the vehicle window anti-pinch function trigger is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of anti-pinch technology for vehicle windows, specifically to a method, system, electronic device, and storage medium for correcting anti-pinch mechanisms for vehicle windows. Background Technology

[0002] As automobiles become increasingly electrified, intelligent, and connected, and as ICT and internet technologies continue to penetrate the automotive industry, the development of automotive electronic hardware and software technologies and related standards has been driven, injecting new momentum into the industry's growth.

[0003] With the increasing application of automated and intelligent components and systems in the automotive industry, the comfort and convenience experience for drivers and passengers during vehicle use has been greatly enhanced. For example, the introduction of intelligent opening and closing systems has become a representative highlight of new features in the vehicle control domain. It provides more advanced and intelligent services when drivers and passengers operate the vehicle.

[0004] In practical engineering, a typical scenario that is relatively difficult to handle is the problem of the window being accidentally pinched when the window is operated while the vehicle is driving on a bumpy road.

[0005] However, in the design, development, and verification of relevant anti-pinch window algorithms, the calibration of algorithm parameters is mostly based on static conditions such as normal temperature and pressure, and high and low temperature and high and low pressure. Dynamic parameter calibration cannot be performed based on the vehicle's driving status. Furthermore, some anti-pinch window algorithms use vehicle speed to characterize the potential for significant bumps while the vehicle is in motion. However, in reality, vehicle speed and bumps do not have a necessary causal relationship. Even when the vehicle is in motion (i.e., the speed is not zero), the frequency and severity of bumps vary. For these reasons, the anti-pinch window correction algorithm is not accurate enough. Summary of the Invention

[0006] In view of the shortcomings of the prior art described above, the present invention provides a method, system, electronic device and storage medium for preventing vehicle window pinching, so as to solve the above technical problems.

[0007] This invention provides a method for correcting the anti-pinch function of a vehicle window. The method includes: acquiring the vehicle's driving state and a preset anti-pinch threshold, wherein the vehicle's driving state includes the vehicle driving on an uneven road surface, the vehicle driving on a smooth road surface, and the vehicle being stationary; determining anti-pinch judgment thresholds for the corresponding driving state based on the vehicle driving on an uneven road surface, the vehicle driving on a smooth road surface, and the vehicle being stationary, so as to correct the preset anti-pinch threshold by using the anti-pinch judgment thresholds for the corresponding driving state.

[0008] In one embodiment of the present invention, the process of determining the anti-pinch judgment threshold for the corresponding driving state based on the vehicle driving on an uneven road surface, the vehicle driving on a smooth road surface, and the vehicle being stationary includes: obtaining the preset window driving time threshold and preset window driving current threshold for the vehicle driving on an uneven road surface, the preset window driving time threshold and preset window driving current threshold for the vehicle driving on a smooth road surface, and the preset window driving time threshold and preset window driving current threshold for the vehicle being stationary; and determining the anti-pinch judgment threshold for the corresponding state based on the preset window driving time threshold and preset window driving current threshold for the vehicle being stationary, the preset window driving time threshold and preset window driving current threshold for the vehicle driving on a smooth road surface, and the preset window driving time threshold and preset window driving current threshold for the vehicle driving on an uneven road surface, wherein the uneven road surface includes a fine road surface, a pothole road surface, and a continuous washboard road surface.

[0009] In one embodiment of the present invention, the process of correcting the preset window anti-pinch threshold by using the anti-pinch determination threshold corresponding to the driving state includes: multiplying the preset window driving time threshold and the preset window driving current threshold for different vehicle driving states to obtain the anti-pinch determination threshold corresponding to the driving state, and replacing the preset window anti-pinch threshold with the anti-pinch determination threshold corresponding to the driving state to complete the correction of the preset window anti-pinch threshold.

[0010] In one embodiment of the present invention, after determining the anti-pinch judgment threshold for the corresponding driving state based on the vehicle driving on an uneven road surface, the vehicle driving on a smooth road surface, and the vehicle being stationary, the method includes: obtaining the window motor drive current when the vehicle is driving on an uneven road surface, the window motor drive current when the vehicle is driving on a smooth road surface, or the window motor drive current when the vehicle is stationary; if the window motor drive current when the vehicle is driving on an uneven road surface, the window motor drive current when the vehicle is driving on a smooth road surface, or the window motor drive current when the vehicle is stationary is greater than or equal to a preset window drive current threshold for the corresponding driving state, the method is as follows: The window motor drive current is integrated over time until the integration time reaches a preset window drive time threshold to obtain the window motor drive force under the corresponding driving state. If the window motor drive current is less than the preset window drive current threshold for the corresponding driving state before the integration time reaches the preset window drive time threshold, the window motor drive current when the vehicle is driving on an uneven road surface, the window motor drive current when the vehicle is driving on a smooth road surface, or the window motor drive current when the vehicle is stationary, the integration of the window motor drive current over time is stopped to obtain the window motor drive force under the corresponding driving state.

[0011] In one embodiment of the present invention, after obtaining the window motor driving force in the corresponding state, the method includes: comparing the window motor driving force when the vehicle is traveling on an uneven road surface, the window motor driving force when the vehicle is traveling on a smooth road surface, or the window motor driving force when the vehicle is stationary with the anti-pinch judgment threshold in the corresponding state; if the window motor driving force when the vehicle is traveling on an uneven road surface, the window motor driving force when the vehicle is traveling on a smooth road surface, or the window motor driving force when the vehicle is stationary is greater than the anti-pinch judgment threshold in the corresponding driving state, the window anti-pinch function is triggered.

[0012] In one embodiment of the present invention, before obtaining the vehicle's driving status, the method includes: detecting the impact force received by the vehicle; if the impact force received by the vehicle is greater than or equal to a first preset impact force threshold, counting the number of times the vehicle is impacted per unit time to obtain a first count; if the first count is greater than or equal to a first preset count threshold, determining that the vehicle is driving on a continuous washboard road surface; if the first count is less than the first preset count threshold, determining that the vehicle is driving on a pothole road surface; if the impact force received by the vehicle is greater than a second preset impact force threshold and less than the first preset impact force threshold, counting the number of times the vehicle is impacted per unit time to obtain a second count; if the second count is greater than or equal to a second preset count threshold, determining that the vehicle is driving on a rough road surface; if the second count is less than the second preset count threshold, determining that the vehicle is driving on a smooth road surface or that the vehicle is stationary.

[0013] In one embodiment of the present invention, after determining that the vehicle is traveling on a continuous washboard road surface, a deep pothole road surface, a deep pothole road surface, a smooth road surface, or a stationary state, the process includes: establishing a data communication link between the suspension system and the window system; determining whether the suspension system has received a call instruction from the window system; if the suspension system has received a call instruction from the window system, immediately sending the vehicle's driving status to the window system through the data communication link; if the suspension system has not received a call instruction from the window system, sending the vehicle's driving status to the window system through the data communication link at predetermined time intervals.

[0014] According to one aspect of the present invention, a vehicle window anti-pinch correction device is provided. The vehicle window anti-pinch correction device includes: a state acquisition module, used to acquire a vehicle driving state and a preset vehicle window anti-pinch threshold, wherein the vehicle driving state includes the vehicle driving on an uneven road surface, the vehicle driving on a smooth road surface, and the vehicle being stationary; and a threshold determination module, used to determine an anti-pinch judgment threshold for the corresponding driving state based on the vehicle driving on an uneven road surface, the vehicle driving on a smooth road surface, and the vehicle being stationary, so as to correct the preset vehicle window anti-pinch threshold by using the anti-pinch judgment threshold for the corresponding driving state.

[0015] According to one aspect of the present invention, an electronic device is provided, the electronic device comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device enables the window anti-pinch correction method as described above.

[0016] According to one aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a computer processor, causes the computer to perform the aforementioned anti-pinch correction method for car windows.

[0017] The beneficial effects of this invention are as follows: This invention acquires the vehicle's driving status and determines the anti-pinch judgment threshold for each driving state—whether the vehicle is driving on an uneven road surface, on a smooth road surface, or stationary—and then corrects the preset window anti-pinch threshold based on these driving state judgment thresholds. This achieves the technical effect of dynamically adjusting the preset window anti-pinch threshold according to the vehicle's driving state, avoiding the use of static calibration parameters for different driving states and improving the accuracy of the window anti-pinch function triggering. Furthermore, the degree of bumpiness during vehicle movement is determined by the magnitude of the impact force and the number of impacts experienced by the vehicle, further improving the accuracy of vehicle driving state determination.

[0018] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:

[0020] Figure 1 This is a schematic diagram illustrating an exemplary system architecture as shown in an exemplary embodiment of this application;

[0021] Figure 2 This is a flowchart illustrating an exemplary embodiment of the method for correcting the anti-pinch function of a vehicle window, as shown in this application.

[0022] Figure 3 This is a schematic diagram illustrating the movement trend of the window motor when the vehicle is traveling on a flat road or when the vehicle is stationary, as shown in an exemplary embodiment of this application.

[0023] Figure 4 This is a schematic diagram illustrating the changing trend of the window motor movement when a vehicle travels on a rough road surface, as shown in an exemplary embodiment of this application.

[0024] Figure 5 This is a schematic diagram illustrating the changing trend of the window motor movement when a vehicle is traveling on a pothole road, as shown in an exemplary embodiment of this application.

[0025] Figure 6 This is a schematic diagram illustrating the changing trend of the window motor movement when a vehicle is traveling on a continuous washboard road, as shown in an exemplary embodiment of this application.

[0026] Figure 7 This is a schematic diagram illustrating the calculation of the driving force of the window motor when a vehicle is traveling on a pothole road, as shown in an exemplary embodiment of this application.

[0027] Figure 8 This is a schematic diagram illustrating a window anti-pinch processing strategy under different vehicle driving conditions, as shown in an exemplary embodiment of this application;

[0028] Figure 9 This is a block diagram illustrating a window anti-pinch correction device according to an exemplary embodiment of this application;

[0029] Figure 10 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation

[0030] The embodiments of the present invention will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention and not for limiting the scope of protection of the present invention.

[0031] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0032] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the invention. However, it will be apparent to those skilled in the art that embodiments of the invention may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the invention.

[0033] First, it's important to clarify that the anti-pinch function for car windows can be used to prevent pinching injuries to power windows and sunroofs, as well as for overload protection of the window motors. During normal operation of the power window, if an object gets caught at any position, the controller will immediately stop the upward movement and automatically return to the bottom dead center. It will then immediately cut off the power to release the trapped object and protect the safety of the driver and passengers. At the top and bottom dead centers, regardless of whether the window switch is released, the controller will automatically cut off the power to prevent the window motor from burning out due to prolonged stalling. If the power window experiences a mechanical malfunction and becomes stuck, the controller will also immediately cut off the power, effectively protecting the window motor from burnout.

[0034] Figure 1 This is a schematic diagram illustrating an exemplary system architecture as shown in an exemplary embodiment of this application, with reference to... Figure 1 As shown, the system architecture may include a vehicle state determination device 101 and a computer device 102. The computer device 102 may be at least one of a desktop graphics processing unit (GPU) computer, a GPU computing cluster, or a neural network computer. Those skilled in the art can use the computer device 102 to acquire the vehicle's driving state and determine the corresponding anti-pinch determination threshold based on whether the vehicle is driving on an uneven road surface, driving on a smooth road surface, or stationary. This threshold can then be used to correct the preset anti-pinch threshold for the vehicle window. The vehicle state determination device 101 is used to detect the impact force and impact frequency received by the vehicle, and determines the vehicle's driving state based on the magnitude and frequency of the impact force. In this embodiment, the vehicle state determination device 101 may use sensor devices or similar equipment to detect the impact force received by the vehicle, determine the vehicle's driving state based on the magnitude and frequency of the impact force, and provide this information to the computer device 102 for processing.

[0035] Indicatively, after acquiring the vehicle driving status from the vehicle status determination device 101, the computer device 102 determines the anti-pinch determination threshold for the corresponding driving status based on whether the vehicle is driving on an uneven road surface, driving on a flat road surface, or the vehicle is stationary. The preset window anti-pinch threshold is then corrected based on the corresponding driving status determination threshold. This achieves the technical effect of dynamically adjusting the preset window anti-pinch threshold according to the driving status of the vehicle, avoiding the use of the calibration parameters under static conditions when the vehicle is in different driving states, and improving the accuracy of the window anti-pinch function triggering.

[0036] It should be noted that the anti-pinch correction method for car windows provided in this application embodiment is generally executed by computer device 102, and correspondingly, the anti-pinch correction device for car windows is generally installed in computer device 102.

[0037] The implementation details of the technical solutions in the embodiments of this application are described in detail below:

[0038] Figure 2 This is a flowchart illustrating an exemplary embodiment of a method for correcting the anti-pinch function of a vehicle window. This method can be executed by a computational processing device, which may be... Figure 1 The computer device 102 shown is illustrated. (Refer to...) Figure 2 As shown, the anti-pinch correction method for car windows includes at least steps S210 to S220, which are described in detail below:

[0039] In step S210, the vehicle driving status and the preset window anti-pinch threshold are obtained.

[0040] In one embodiment of this application, the vehicle driving state includes the vehicle driving on an uneven road surface, the vehicle driving on a smooth road surface, and the vehicle being stationary.

[0041] In this embodiment, before obtaining the vehicle's driving status, the impact force on the vehicle is detected by sensor devices and other equipment, and the vehicle's driving status is determined based on the magnitude and frequency of the impact force.

[0042] In this embodiment, the preset anti-pinch threshold for the car window is a calibration value obtained from tests conducted under static conditions of normal temperature and pressure, as well as high and low temperature and high and low pressure environments.

[0043] In step S220, anti-pinch judgment thresholds are determined for the corresponding driving states: the vehicle is driving on an uneven road surface, the vehicle is driving on a smooth road surface, and the vehicle is stationary. The preset anti-pinch threshold for the vehicle window is then corrected based on the anti-pinch judgment thresholds for the corresponding driving states.

[0044] In this embodiment, by acquiring the vehicle's driving status and determining the corresponding anti-pinch judgment threshold based on the vehicle driving on an uneven road surface, driving on a smooth road surface, and the vehicle being stationary, the preset window anti-pinch threshold is corrected by using the anti-pinch judgment threshold for the corresponding driving status. This achieves the technical effect of dynamically adjusting the preset window anti-pinch threshold according to the vehicle's driving status, avoiding the use of the calibration parameters under static conditions when the vehicle is in different driving states, and improving the accuracy of the window anti-pinch function triggering.

[0045] In one embodiment of this application, the process of determining the anti-pinch judgment threshold for the corresponding driving state based on the vehicle driving on an uneven road surface, the vehicle driving on a smooth road surface, and the vehicle being stationary includes:

[0046] The preset window driving time threshold and preset window driving current threshold are obtained respectively when the vehicle is driving on an uneven road surface, when the vehicle is driving on a smooth road surface, and when the vehicle is stationary.

[0047] In this embodiment, uneven road surfaces include fine-grained road surfaces, deep-pit road surfaces, and continuous washboard road surfaces. The preset window driving time threshold for a vehicle traveling on a smooth road surface is equal to the preset window driving time threshold for a vehicle in a stationary state, and the preset window driving current threshold for a vehicle traveling on a smooth road surface is equal to the preset window driving current threshold for a vehicle in a stationary state. The preset window driving time threshold for a vehicle traveling on a rough road surface is greater than the preset window driving time threshold for a vehicle traveling on a smooth road surface, and the preset window driving current threshold for a vehicle traveling on a rough road surface is greater than the preset window driving current threshold for a vehicle traveling on a smooth road surface. The preset window driving time threshold for a vehicle traveling on a potholed road surface is greater than the preset window driving time threshold for a vehicle traveling on a rough road surface, and the preset window driving current threshold for a vehicle traveling on a potholed road surface is greater than the preset window driving current threshold for a vehicle traveling on a potholed road surface. The preset window driving time threshold for a vehicle traveling on a continuous corrugated road surface is greater than the preset window driving time threshold for a vehicle traveling on a potholed road surface, and the preset window driving current threshold for a vehicle traveling on a continuous corrugated road surface is greater than the preset window driving current threshold for a vehicle traveling on a potholed road surface.

[0048] Based on the preset window driving time threshold and preset window driving current threshold when the vehicle is stationary, the preset window driving time threshold and preset window driving current threshold when the vehicle is driving on a flat road, and the preset window driving time threshold and preset window driving current threshold when the vehicle is driving on an uneven road, the anti-pinch judgment threshold for the corresponding state is determined respectively.

[0049] In this embodiment, the process of obtaining the anti-pinch judgment threshold under the corresponding state and correcting the preset window anti-pinch threshold with the anti-pinch judgment threshold under the corresponding driving state includes: (1) If the vehicle is in a stationary state, multiply the preset window driving time threshold under the stationary state by the preset window driving current threshold under the stationary state to obtain the anti-pinch judgment threshold under the stationary state, and replace the preset window anti-pinch threshold with the anti-pinch judgment threshold under the stationary state; (2) If the vehicle is driving on a smooth road surface, multiply the preset window driving time threshold under the smooth road surface by the preset window driving current threshold under the smooth road surface to obtain the anti-pinch judgment threshold under the smooth road surface, and replace the preset window anti-pinch threshold with the anti-pinch judgment threshold under the smooth road surface; (3) If the vehicle is driving on a rough road surface, multiply the preset window driving time threshold under the rough road surface by the preset window driving time threshold under the rough road surface. (3) Multiply the time threshold of the window drive current threshold when the vehicle is driving on a rough road surface to obtain the anti-pinch judgment threshold when the vehicle is driving on a rough road surface. Replace the preset anti-pinch threshold when the vehicle is driving on a rough road surface with the anti-pinch judgment threshold when the vehicle is driving on a rough road surface. (4) If the vehicle is driving on a deep pit road surface, multiply the preset window drive time threshold when the vehicle is driving on a deep pit road surface with the preset window drive current threshold when the vehicle is driving on a deep pit road surface to obtain the anti-pinch judgment threshold when the vehicle is driving on a deep pit road surface. Replace the preset anti-pinch threshold when the vehicle is driving on a deep pit road surface with the anti-pinch judgment threshold when the vehicle is driving on a deep pit road surface. (5) If the vehicle is driving on a continuous corrugated road surface, multiply the preset window drive time threshold when the vehicle is driving on a continuous corrugated road surface with the preset window drive current threshold when the vehicle is driving on a continuous corrugated road surface to obtain the anti-pinch judgment threshold when the vehicle is driving on a continuous corrugated road surface. Replace the preset anti-pinch threshold when the vehicle is driving on a continuous corrugated road surface with the anti-pinch judgment threshold when the vehicle is driving on a continuous corrugated road surface.

[0050] In one embodiment of this application, the process of correcting a preset anti-pinch threshold for a vehicle window by using an anti-pinch determination threshold corresponding to a driving state includes:

[0051] The preset window driving time threshold and the preset window driving current threshold for different vehicle driving states are multiplied to obtain the anti-pinch judgment threshold for the corresponding driving state. The preset window anti-pinch threshold is then replaced by the anti-pinch judgment threshold for the corresponding driving state to complete the correction of the preset window anti-pinch threshold.

[0052] In this embodiment, if the vehicle is stationary, the preset window driving time threshold for the stationary state is multiplied by the preset window driving current threshold for the stationary state to obtain the anti-pinch determination threshold for the stationary state. The preset window anti-pinch threshold is then replaced by the anti-pinch determination threshold for the stationary state.

[0053] In this embodiment, the anti-pinch determination threshold when the vehicle is stationary can be determined by looking up a table based on the preset window driving time threshold and the preset window driving current threshold when the vehicle is stationary, or it can be calculated based on the preset window driving time threshold and the preset window driving current threshold when the vehicle is stationary.

[0054] In this embodiment, if the vehicle is traveling on a smooth road surface, the preset window driving time threshold for the vehicle traveling on a smooth road surface is multiplied by the preset window driving current threshold for the vehicle traveling on a smooth road surface to obtain the anti-pinch determination threshold for the vehicle traveling on a smooth road surface. The preset window anti-pinch threshold is replaced by the anti-pinch determination threshold for the vehicle traveling on a smooth road surface.

[0055] In this embodiment, the anti-pinch judgment threshold for the vehicle driving on a flat road surface can be obtained by looking up a table based on the preset window driving time threshold and the preset window driving current threshold for the vehicle driving on a flat road surface, or it can be calculated based on the preset window driving time threshold and the preset window driving current threshold for the vehicle driving on a flat road surface.

[0056] In this embodiment, if the vehicle is traveling on a rough road surface, the preset window driving time threshold for the vehicle traveling on a rough road surface is multiplied by the preset window driving current threshold for the vehicle traveling on a rough road surface to obtain the anti-pinch determination threshold for the vehicle traveling on a rough road surface. The preset window anti-pinch threshold is replaced by the anti-pinch determination threshold for the vehicle traveling on a rough road surface.

[0057] In this embodiment, the anti-pinch determination threshold for the vehicle driving on a rough road surface can be obtained by looking up a table based on the preset window driving time threshold and the preset window driving current threshold for the vehicle driving on a rough road surface, or it can be calculated based on the preset window driving time threshold and the preset window driving current threshold for the vehicle driving on a rough road surface.

[0058] In this embodiment, if the vehicle is traveling on a deep pit road, the preset window driving time threshold for the vehicle traveling on a deep pit road is multiplied by the preset window driving current threshold for the vehicle traveling on a deep pit road to obtain the anti-pinch determination threshold for the vehicle traveling on a deep pit road. The preset window anti-pinch threshold is replaced by the anti-pinch determination threshold for the vehicle traveling on a deep pit road.

[0059] In this embodiment, the anti-pinch judgment threshold for the vehicle driving on a deep pit road can be determined by looking up a table based on the preset window driving time threshold and the preset window driving current threshold for the vehicle driving on a deep pit road, or it can be calculated based on the preset window driving time threshold and the preset window driving current threshold for the vehicle driving on a deep pit road.

[0060] In this embodiment, if the vehicle is traveling on a continuous corrugated road surface, the preset window driving time threshold for the vehicle traveling on the continuous corrugated road surface is multiplied by the preset window driving current threshold for the vehicle traveling on the continuous corrugated road surface to obtain the anti-pinch determination threshold for the vehicle traveling on the continuous corrugated road surface. The preset window anti-pinch threshold is replaced by the anti-pinch determination threshold for the vehicle traveling on the continuous corrugated road surface.

[0061] In this embodiment, the anti-pinch judgment threshold for a vehicle traveling on a continuous corrugated road surface can be determined by looking up a table based on a preset window driving time threshold and a preset window driving current threshold for a vehicle traveling on a continuous corrugated road surface, or it can be calculated based on the preset window driving time threshold and the preset window driving current threshold for a vehicle traveling on a continuous corrugated road surface.

[0062] In this embodiment, the increase in the preset window driving time threshold for vehicles traveling on rough roads relative to the preset window driving time threshold for vehicles traveling on smooth roads, and the increase in the preset window driving current threshold for vehicles traveling on rough roads relative to the preset window driving current threshold for vehicles traveling on smooth roads, can be set according to actual conditions. It is necessary to ensure that the anti-pinch judgment threshold calculated from the preset window driving time threshold and the preset window driving current threshold for vehicles traveling on rough roads will not cause false anti-pinch when the vehicle is traveling on rough roads, and also to meet the regulatory requirement that the anti-pinch judgment threshold does not exceed 100 N·m.

[0063] In this embodiment, the increase in the preset window driving time threshold for driving on deep potholes relative to the preset window driving time threshold for driving on rough surfaces, and the increase in the preset window driving current threshold for driving on deep potholes relative to the preset window driving current threshold for driving on rough surfaces, can be set according to actual conditions. It is necessary to ensure that the anti-pinch judgment threshold calculated from the preset window driving time threshold and the preset window driving current threshold for driving on deep potholes will not cause false anti-pinch when the vehicle is driving on deep potholes, and also to meet the regulatory requirement that the anti-pinch force does not exceed 100 N·m.

[0064] In this embodiment, the increase in the preset window driving time threshold for vehicles traveling on continuous corrugated surfaces relative to the preset window driving time threshold for vehicles traveling on potholed surfaces, and the increase in the preset window driving current threshold for vehicles traveling on continuous corrugated surfaces relative to the preset window driving current threshold for vehicles traveling on potholed surfaces, can be set according to actual conditions. It is necessary to ensure that the anti-pinch judgment threshold calculated from the preset window driving time threshold and the preset window driving current threshold for vehicles traveling on continuous corrugated surfaces will not cause false anti-pinch when the vehicle is traveling on continuous corrugated surfaces, and also to meet the regulatory requirement that the anti-pinch force does not exceed 100 N·m.

[0065] In this embodiment, after adjusting the preset window driving time threshold and the preset window driving current threshold according to the vehicle driving state, the anti-pinch judgment threshold corresponding to the driving state is also adjusted accordingly, thereby correcting the preset window anti-pinch threshold under different driving states and improving the accuracy of the window anti-pinch function triggering.

[0066] In one embodiment of this application, after determining the anti-pinch judgment threshold for the corresponding driving state based on the vehicle driving on an uneven road surface, the vehicle driving on a smooth road surface, and the vehicle being stationary, the process includes:

[0067] The window motor drive current is obtained when the vehicle is driving on an uneven road surface, when the vehicle is driving on a smooth road surface, or when the vehicle is stationary.

[0068] In this embodiment, the window motor drive current of the vehicle window motor is detected by a current sensor or the like under different driving conditions.

[0069] Figure 3 This is a schematic diagram illustrating the changing motion trend of the window motor when the vehicle is traveling on a smooth road or when the vehicle is stationary, as shown in an exemplary embodiment of this application. Figure 3 As shown: When the vehicle is driving on a flat road (ordinary road) or when the vehicle is stationary, the vehicle is subjected to vibrations at its natural frequency, which causes a small change in current. At this time, the anti-pinch judgment threshold is determined based on the preset window driving time threshold and the preset window driving current threshold when the vehicle is driving on a flat road, or based on the preset window driving time threshold and the preset window driving current threshold when the vehicle is stationary.

[0070] Figure 4 This is a schematic diagram illustrating the changing trend of the window motor movement when a vehicle travels on rough roads, as shown in an exemplary embodiment of this application. Please refer to [link / reference]. Figure 4As shown: When a vehicle is driving on a rough road surface, the low-frequency, low-intensity vibrations during vehicle operation cause intermittent changes in the window motor drive current. At this time, the anti-pinch judgment threshold is determined based on the preset window drive time threshold and the preset window drive current threshold for the vehicle driving on a rough road surface.

[0071] Figure 5 This is a schematic diagram illustrating the changing trend of the window motor movement when a vehicle is traveling on a potholed road surface, as shown in an exemplary embodiment of this application. Please refer to [link / reference]. Figure 5 As shown: When a vehicle is driving on a deep pothole, it is subjected to low-frequency, high-intensity vibrations. In order to overcome the inertia, the drive current of the window motor suddenly increases. At this time, the anti-pinch judgment threshold is determined based on the preset window drive time threshold and the preset window drive current threshold when the vehicle is driving on a deep pothole.

[0072] Figure 6 This is a schematic diagram illustrating the changing motion trend of the window motor when a vehicle is traveling on a continuous corrugated road, as shown in an exemplary embodiment of this application. Please refer to [link / reference]. Figure 6 As shown: When a vehicle is traveling on a continuous corrugated road, it is subjected to high-frequency and high-intensity vibrations. The drive current of the window motor increases and decreases periodically with the vehicle's bumps. At this time, the anti-pinch judgment threshold is determined based on the preset window drive time threshold and the preset window drive current threshold for the vehicle traveling on the continuous corrugated road.

[0073] If the window motor drive current when the vehicle is driving on an uneven road surface, the window motor drive current when the vehicle is driving on a smooth road surface, or the window motor drive current when the vehicle is stationary is greater than or equal to the preset window drive current threshold for the corresponding driving state, the window motor drive current is integrated over time until the integration time of the window motor drive current reaches the preset window drive time threshold, and the window motor drive force for the corresponding driving state is obtained.

[0074] In this embodiment, when the window motor drive current in different driving states of the vehicle is greater than the preset window drive current threshold for the corresponding state, it indicates that the vehicle is experiencing bumps or vibrations in the corresponding state. It is necessary to calculate the window motor drive force in the corresponding driving state based on the window motor drive current in the corresponding state, the preset window drive current threshold, and the preset window drive time threshold. This improves the accuracy of the window motor drive force by calculating the window motor drive force based on the vehicle's driving state.

[0075] If the window motor drive current is less than the preset window drive time threshold when the integral time of the window motor drive current reaches the preset window drive time threshold before the window motor drive current when the vehicle is driving on an uneven road surface, the window motor drive current when the vehicle is driving on a smooth road surface, or the window motor drive current when the vehicle is stationary, the window motor drive current when driving on an uneven road surface, the window motor drive current when driving on a smooth road surface, or the window motor drive current when the vehicle is stationary is less than the preset window drive current threshold for the corresponding driving state, the time integration of the window motor drive current is stopped to obtain the window motor drive force for the corresponding driving state.

[0076] In this embodiment, when the window motor drive current in different driving states of the vehicle is greater than the preset window drive current threshold for the corresponding state, it indicates that the vehicle is experiencing bumps or vibrations in the corresponding state. It is necessary to calculate the window motor drive force in the corresponding driving state based on the window motor drive current in the corresponding state, the preset window drive current threshold, and the duration for which the window motor drive current in the corresponding state is greater than the preset window drive current threshold for the corresponding state. This improves the accuracy of the window motor drive force calculation based on the vehicle's driving state.

[0077] Figure 7 This is a schematic diagram illustrating the calculation of the driving force of the window motor when a vehicle is traveling on a potholed road surface, as shown in an exemplary embodiment of this application. Figure 7 As shown, when a vehicle travels on a pothole, the low-frequency, high-intensity vibration causes a sudden increase in the window motor drive current. At times t0 and t1, the window motor drive current equals a preset window drive current threshold. Between t0 and t1, the window motor drive current exceeds the preset window drive current threshold, and the time difference between t1 and t0 equals the preset window drive time threshold. Therefore, at time t0, the window motor drive current is integrated over time. During the integration process, it is determined whether the window motor drive current is less than the preset window drive current threshold. If the window motor drive current is less than the preset window drive current threshold, the window motor drive current is considered less than the preset window drive current threshold. If the driving current is less than the preset window driving current threshold, stop integrating the window motor driving current over time to obtain the shaded area S (i.e., the window motor driving force). If the window motor driving current is greater than or equal to the preset window driving current threshold, determine whether the time integration of the window motor driving current reaches the preset window driving time threshold. If the time integration of the window motor driving current reaches the preset window driving time threshold, stop integrating the window motor driving current over time at time t1 to obtain the shaded area S (i.e., the window motor driving force). The shaded area S does not exceed 100 N·m.

[0078] In this embodiment, the formula for calculating the area S of the shaded region is as follows:

[0079]

[0080] Where S is the area of ​​the shaded region, I(t) is the drive current of the window motor, and I 阈值T is the preset window drive current threshold for vehicles driving on pothole roads. 阈值 The preset window driving time threshold is the time interval between time t1 and time t0 when the vehicle is driving on a deep pothole.

[0081] In one embodiment of this application, after obtaining the window motor driving force in the corresponding state, the process includes:

[0082] The driving force of the window motor when the vehicle is driving on an uneven road surface, the driving force of the window motor when the vehicle is driving on a smooth road surface, or the driving force of the window motor when the vehicle is stationary are compared with the anti-pinch judgment threshold for the corresponding state.

[0083] In this embodiment, both the driving force of the window motor and the anti-pinch judgment threshold under the corresponding state need to be adjusted according to the vehicle's driving state, thereby improving the accuracy of the driving force of the window motor and the anti-pinch judgment threshold.

[0084] If the driving force of the window motor when the vehicle is driving on an uneven road surface, the driving force of the window motor when the vehicle is driving on a smooth road surface, or the driving force of the window motor when the vehicle is stationary exceeds the anti-pinch judgment threshold for the corresponding driving state, the window anti-pinch function will be triggered.

[0085] In this embodiment, when the driving force of the window motor in different driving states of the vehicle is greater than the anti-pinch judgment threshold of the corresponding driving state, the window anti-pinch function is triggered. The triggering of the window anti-pinch function is based on the dynamically calibrated anti-pinch judgment threshold and the driving force of the window motor, which improves the accuracy of the window anti-pinch function and can avoid triggering false anti-pinch.

[0086] Figure 8 This is a schematic diagram illustrating the anti-pinch window handling strategy under different vehicle driving conditions, as shown in an exemplary embodiment of this application. Figure 8 As shown, after obtaining the vehicle's driving status, the preset window drive time threshold and preset window drive current threshold are adjusted according to the vehicle's driving conditions: driving on a smooth road, the vehicle is stationary, the vehicle is driving on a rough road, the vehicle is driving on a potholed road, and the vehicle is driving on a continuous washboard road. The shaded area S is then calculated based on these adjusted thresholds. When the road surface is bumpy, the shaded area S (window motor driving force) increases. By comparing the window motor driving force with the anti-pinch detection threshold, false alarms caused by the window anti-pinch function can be avoided. For example, when the vehicle is driving on a potholed road or a continuous washboard road, the impact exceeds the maximum value that the shaded area S can be calculated to (e.g., I or T is infinitely large), and the window anti-pinch function may fail. In this case, the window anti-pinch function should be directly turned off, or even the window drive should be stopped, to prevent false alarms or damage to the motor or mechanical components.

[0087] In one embodiment of this application, before obtaining the vehicle driving status, the process includes:

[0088] The impact force experienced by the vehicle was measured.

[0089] In this embodiment, the impact force on the vehicle is detected by sensors in the suspension system, and the vehicle's driving state is determined based on the magnitude and frequency of the impact force.

[0090] If the impact force on the vehicle is greater than or equal to the first preset impact force threshold, the number of times the vehicle is impacted per unit time is counted to obtain the first count. If the first count is greater than or equal to the first preset count threshold, it is determined that the vehicle is driving on a continuous washboard road surface; if the first count is less than the first preset count threshold, it is determined that the vehicle is driving on a deep pothole road surface.

[0091] In this embodiment, the first preset impact force threshold can be set according to the hardware configuration conditions of different brands and models of vehicles; the first preset number threshold can be determined according to the average number of impacts the vehicle receives on different continuous washboard roads or the average number of impacts the vehicle receives on different deep pothole roads, and there is no specific limitation here; the unit time can be 1 second or other values.

[0092] If the impact force on the vehicle is greater than the second preset impact force threshold but less than the first preset impact force threshold, the number of times the vehicle is impacted per unit time is counted to obtain a second count. If the second count is greater than or equal to the second preset count threshold, it is determined that the vehicle is driving on a rough road surface; if the second count is less than the second preset count threshold, it is determined that the vehicle is driving on a smooth road surface or that the vehicle is stationary.

[0093] In this embodiment, the second preset impact force threshold can be set according to the hardware configuration conditions of different brands and models of vehicles; the second preset number threshold can be determined according to the average number of impacts the vehicle receives on different rough road surfaces or the average number of impacts the vehicle receives on different smooth road surfaces, and no specific limitation is made here.

[0094] The conditions of a vehicle driving on an uneven road surface are defined as driving on a continuous washboard road surface, driving on a deep pothole road surface, and driving on a fine, uneven road surface.

[0095] In this embodiment, uneven road surfaces include continuous washboard roads, pothole roads, and finely broken roads. By determining the vehicle's driving state through the suspension system, the different frequencies and intensities of road impacts on the vehicle can be more precisely classified, improving the accuracy of vehicle driving state determination. With the improved accuracy of vehicle driving state determination, the stability and reliability of the anti-pinch function are further enhanced.

[0096] In one embodiment of this application, after determining whether the vehicle is traveling on a continuous washboard road, a pothole road, a pothole road, a smooth road, or a stationary state, the process includes:

[0097] Establish a data communication link between the suspension system and the window system.

[0098] In this embodiment, the data communication link between the suspension system and the window system is established based on a service-oriented architecture (SOA). Under SOA, the window system and the suspension system are logically located within the same functional area, and each system software module is considered a "local" function. Therefore, the data path between the window system and the suspension system is established, and the window system can directly use the data provided by the suspension system.

[0099] In this embodiment, the suspension system determines the degree of vehicle bumps based on the magnitude of the impact force and the number of impacts the vehicle experiences during driving, and determines whether the vehicle is driving on a bumpy road surface based on the degree of vehicle bumps, thereby improving the accuracy of vehicle driving status determination. The window system uses the determination data provided by the suspension system and adjusts its own anti-pinch determination threshold based on the determination data to avoid false anti-pinch problems, thereby improving the accuracy of the window anti-pinch algorithm.

[0100] In this embodiment, the suspension system refers to a suspension system with air springs that can receive settings from the suspension system application software, has its own driving status detection function, and is used to quickly adjust to reduce or shield the impact transmitted to the vehicle from bumpy roads.

[0101] Determine whether the suspension system has received a call command from the window system.

[0102] In this embodiment, the command to invoke the window system is sent via a data communication link, and the vehicle driving status of the suspension system is sent via a data communication link.

[0103] If the suspension system receives a call command from the window system, it immediately sends the vehicle's driving status to the window system via the data communication link.

[0104] In this embodiment, the suspension system adds a service interface for sending vehicle driving status. The service interface includes a notification interface and an acquisition interface. When the suspension system receives the call command from the window system, it immediately sends the vehicle driving status to the window system through the acquisition interface and the data communication link.

[0105] If the suspension system does not receive a call command from the window system, it sends the vehicle's driving status to the window system at predetermined time intervals via the data communication link.

[0106] In this embodiment, the suspension system does not receive a call command from the window system. Instead, it periodically sends the vehicle's driving status through a notification interface and data communication link for the window system to use. The window system needs to listen to the notification interface to continuously obtain the vehicle's driving status.

[0107] In one embodiment of this application, after determining whether the vehicle is traveling on a smooth road surface or is stationary, the process includes:

[0108] Obtain the vehicle's acceleration and speed.

[0109] In this embodiment, the vehicle's acceleration and speed are detected by acceleration sensors and speed sensors carried by the vehicle itself.

[0110] If the vehicle's speed is less than a preset speed threshold and the vehicle's acceleration is less than a preset acceleration threshold, the vehicle is determined to be stationary; otherwise, the vehicle is traveling on a flat road surface.

[0111] In this embodiment, the preset velocity threshold can be set to 0.01 m / s, or other values; the preset acceleration threshold can be set to 0.01 m / s. 2 It can also be other values.

[0112] The following describes an embodiment of the apparatus described in this application, which can be used to execute the anti-pinch correction method for vehicle windows in the above embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the anti-pinch correction method for vehicle windows described above.

[0113] Figure 9 This is a block diagram illustrating an exemplary embodiment of a vehicle window anti-pinch correction device. The device can be applied to... Figure 1 The implementation environment shown is specifically configured in computer device 102. This device can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applicable.

[0114] like Figure 9 As shown, this exemplary anti-pinch correction device for vehicle windows includes:

[0115] The status acquisition module 901 is used to acquire the vehicle driving status and preset the anti-pinch threshold of the window.

[0116] The threshold determination module 902 is used to determine the anti-pinch judgment threshold for the corresponding driving state based on the vehicle driving on an uneven road surface, the vehicle driving on a flat road surface, and the vehicle being stationary, so as to correct the preset window anti-pinch threshold by using the anti-pinch judgment threshold for the corresponding driving state.

[0117] In one embodiment of this application, the vehicle driving state includes the vehicle driving on an uneven road surface, the vehicle driving on a smooth road surface, and the vehicle being stationary.

[0118] In this embodiment, before obtaining the vehicle's driving status, the impact force on the vehicle is detected by sensor devices and other equipment, and the vehicle's driving status is determined based on the magnitude and frequency of the impact force.

[0119] In this embodiment, the preset anti-pinch threshold for the car window is a calibration value obtained from tests conducted under static conditions of normal temperature and pressure, as well as high and low temperature and high and low pressure environments.

[0120] In this embodiment, by acquiring the vehicle's driving status and determining the corresponding anti-pinch judgment threshold based on the vehicle driving on an uneven road surface, driving on a smooth road surface, and the vehicle being stationary, the preset window anti-pinch threshold is corrected by using the anti-pinch judgment threshold for the corresponding driving status. This achieves the technical effect of dynamically adjusting the preset window anti-pinch threshold according to the vehicle's driving status, avoiding the use of the calibration parameters under static conditions when the vehicle is in different driving states, and improving the accuracy of the window anti-pinch function triggering.

[0121] It should be noted that the anti-pinch correction device for car windows provided in the above embodiments and the anti-pinch correction method for car windows provided in the above embodiments belong to the same concept. The specific operation methods of each module and unit have been described in detail in the method embodiments and will not be repeated here. In practical applications, the anti-pinch correction device for car windows provided in the above embodiments can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. This is not a limitation here.

[0122] Embodiments of this application also provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the anti-pinch correction method for car windows provided in the above embodiments.

[0123] Figure 10 A schematic diagram of a computer system suitable for implementing the embodiments of this application is shown. It should be noted that... Figure 10 The computer system 1000 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0124] like Figure 10As shown, the computer system 1000 includes a Central Processing Unit (CPU) 1001, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on programs stored in Read-Only Memory (ROM) 1002 or programs loaded from Storage Unit 1008 into Random Access Memory (RAM) 1003. The RAM 1003 also stores various programs and data required for system operation. The CPU 1001, ROM 1002, and RAM 1003 are interconnected via a bus 1004. An Input / Output (I / O) interface 1005 is also connected to the bus 1004.

[0125] The following components are connected to I / O interface 1005: an input section 1006 including a keyboard, mouse, etc.; an output section 1007 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to I / O interface 1005 as needed. Removable media 1011, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 1010 as needed so that computer programs read from them can be installed into storage section 1008 as needed.

[0126] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1009, and / or installed from removable medium 1011. When the computer program is executed by central processing unit (CPU) 1001, it performs various functions defined in the system of this application.

[0127] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0128] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0129] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.

[0130] Another aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a computer's processor, causes the computer to perform the aforementioned window anti-pinch correction method. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not incorporated into the electronic device.

[0131] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the window anti-pinch correction method provided in the various embodiments described above.

[0132] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.

Claims

1. A method for preventing vehicle window pinching, characterized in that, The method for preventing window pinching includes: The vehicle driving status and preset window anti-pinch threshold are obtained. The vehicle driving status includes the vehicle driving on an uneven road surface, the vehicle driving on a flat road surface, and the vehicle being stationary. Based on the vehicle driving on uneven road surface, driving on smooth road surface, and the vehicle being stationary, the anti-pinch judgment threshold for the corresponding driving state is determined, so as to correct the preset window anti-pinch threshold by the anti-pinch judgment threshold for the corresponding driving state. The process of determining the anti-pinch threshold based on the vehicle's travel on uneven roads, its travel on smooth roads, and its stationary state includes: The window motor drive current is obtained when the vehicle is driving on an uneven road surface, when the vehicle is driving on a smooth road surface, or when the vehicle is stationary. If the window motor drive current when the vehicle is traveling on an uneven road surface, the window motor drive current when the vehicle is traveling on a smooth road surface, or the window motor drive current when the vehicle is stationary is greater than or equal to the preset window drive current threshold for the corresponding driving state, the window motor drive current is integrated over time until the integration time of the window motor drive current reaches the preset window drive time threshold, and the window motor drive force for the corresponding driving state is obtained. If the window motor drive current is less than the preset window drive time threshold before the integral time of the window motor drive current reaches the preset window drive time threshold, the window motor drive current when the vehicle is driving on an uneven road surface, the window motor drive current when the vehicle is driving on a smooth road surface, or the window motor drive current when the vehicle is stationary is less than the preset window drive current threshold for the corresponding driving state, then the time integration of the window motor drive current is stopped to obtain the window motor drive force for the corresponding driving state.

2. The anti-pinch correction method for vehicle windows according to claim 1, characterized in that, The process of determining the anti-pinch detection threshold based on the vehicle driving on an uneven road surface, the vehicle driving on a smooth road surface, and the vehicle being stationary includes: The preset window driving time threshold and preset window driving current threshold are obtained respectively when the vehicle is driving on an uneven road surface, when the vehicle is driving on a smooth road surface, and when the vehicle is stationary. Based on the preset window driving time threshold and preset window driving current threshold when the vehicle is stationary, the preset window driving time threshold and preset window driving current threshold when the vehicle is traveling on a smooth road surface, and the preset window driving time threshold and preset window driving current threshold when the vehicle is traveling on an uneven road surface, the anti-pinch judgment threshold for the corresponding state is determined respectively. The uneven road surface includes fine road surface, deep pothole road surface and continuous washboard road surface.

3. The anti-pinch correction method for vehicle windows according to claim 2, characterized in that, The process of correcting the preset anti-pinch threshold of the vehicle window by using the anti-pinch determination threshold corresponding to the driving state includes: The preset window driving time threshold and the preset window driving current threshold for different vehicle driving states are multiplied to obtain the anti-pinch judgment threshold for the corresponding driving state. The preset window anti-pinch threshold is then replaced by the anti-pinch judgment threshold for the corresponding driving state to complete the correction of the preset window anti-pinch threshold.

4. The anti-pinch correction method for vehicle windows according to claim 1, characterized in that, After obtaining the driving force of the window motor in the corresponding state, the following is included: The driving force of the window motor when the vehicle is traveling on an uneven road surface, the driving force of the window motor when the vehicle is traveling on a smooth road surface, or the driving force of the window motor when the vehicle is stationary are compared with the anti-pinch judgment threshold of the corresponding state. If the driving force of the window motor when the vehicle is traveling on an uneven road surface, the driving force of the window motor when the vehicle is traveling on a smooth road surface, or the driving force of the window motor when the vehicle is stationary exceeds the anti-pinch judgment threshold for the corresponding driving state, the window anti-pinch function is triggered.

5. The method for correcting the anti-pinch function of a vehicle window according to any one of claims 2-4, characterized in that, Before obtaining the vehicle's driving status, the following steps are included: Detect the impact force experienced by the vehicle; If the impact force on the vehicle is greater than or equal to a first preset impact force threshold, the number of times the vehicle is impacted per unit time is counted to obtain the first count. If the first count is greater than or equal to a first preset count threshold, it is determined that the vehicle is traveling on a continuous washboard road surface; if the first count is less than the first preset count threshold, it is determined that the vehicle is traveling on a deep pothole road surface. If the impact force on the vehicle is greater than the second preset impact force threshold and less than the first preset impact force threshold, the number of times the vehicle is impacted per unit time is counted to obtain a second count. If the second count is greater than or equal to the second preset count threshold, it is determined that the vehicle is driving on a rough road surface; if the second count is less than the second preset count threshold, it is determined that the vehicle is driving on a smooth road surface or that the vehicle is stationary.

6. The anti-pinch correction method for vehicle windows according to claim 5, characterized in that, After determining that the vehicle is traveling on a continuous washboard road, a pothole road, a smooth road, or is stationary, the process includes: Establish a data communication link between the suspension system and the window system; Determine whether the suspension system has received a call command from the window system; If the suspension system receives a call command from the window system, it immediately sends the vehicle driving status to the window system via the data communication link; If the suspension system does not receive a call command from the window system, it sends the vehicle driving status to the window system via the data communication link at predetermined time intervals.

7. A vehicle window anti-pinch correction device, characterized in that, The anti-pinch correction device for the vehicle window includes: The status acquisition module is used to acquire the vehicle driving status and the preset window anti-pinch threshold. The vehicle driving status includes the vehicle driving on an uneven road surface, the vehicle driving on a flat road surface, and the vehicle being stationary. The threshold determination module is used to determine the anti-pinch judgment threshold for the corresponding driving state based on whether the vehicle is driving on an uneven road surface, driving on a smooth road surface, or the vehicle is stationary, so as to correct the preset window anti-pinch threshold by using the anti-pinch judgment threshold for the corresponding driving state; wherein, after determining the anti-pinch judgment threshold for the corresponding driving state based on whether the vehicle is driving on an uneven road surface, driving on a smooth road surface, or the vehicle is stationary, the module includes: obtaining the window motor drive current when the vehicle is driving on an uneven road surface, the window motor drive current when the vehicle is driving on a smooth road surface, or the window motor drive current when the vehicle is stationary; if the window motor drive current when the vehicle is driving on an uneven road surface, the window motor drive current when the vehicle is driving on a smooth road surface, or the window motor drive current when the vehicle is stationary... If the window motor drive current when the vehicle is stationary is greater than or equal to a preset window drive current threshold for the corresponding driving state, the window motor drive current is integrated over time until the integration time reaches the preset window drive time threshold to obtain the window motor drive force for the corresponding driving state. If, before the integration time reaches the preset window drive time threshold, the window motor drive current when the vehicle is traveling on an uneven road surface, the window motor drive current when the vehicle is traveling on a smooth road surface, or the window motor drive current when the vehicle is stationary is less than the preset window drive current threshold for the corresponding driving state, the integration of the window motor drive current over time is stopped to obtain the window motor drive force for the corresponding driving state.

8. An electronic device, characterized in that, The electronic device includes: One or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the window anti-pinch correction method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, It stores a computer program, which, when executed by the computer's processor, causes the computer to perform the window anti-pinch correction method according to any one of claims 1 to 6.