CN-121997067-A - Vehicle window learning execution method and device, vehicle and storage medium
Abstract
The application provides a vehicle window learning execution method, a vehicle and a storage medium, wherein the method is applied to the field of vehicle control and comprises the steps of obtaining a detection instruction aiming at a vehicle window anti-pinch parameter packet; the vehicle window anti-pinch parameter packet is used for achieving an anti-pinch function of a vehicle window, responding to the detection instruction, detecting whether the number of a preset position in a target storage area is a target number, and allowing vehicle window learning to be executed when the number of the preset position is determined to be the target number. According to the method, by introducing a window learning mechanism based on the window anti-pinch parameter packet number, on the premise of not increasing hardware cost, correct starting of window learning, quick verification of production lines and parameter configuration isolation are realized, and safety and reliability of a window system are remarkably improved.
Inventors
- ZHANG PEIPEI
- CUI YANTAO
Assignees
- 长城汽车股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260119
Claims (10)
- 1. A vehicle window learning execution method, characterized in that the method comprises: acquiring a detection instruction aiming at an anti-pinch parameter packet of a vehicle window, wherein the anti-pinch parameter packet of the vehicle window is used for realizing the anti-pinch function of the vehicle window; responding to the detection instruction, and detecting whether the number of the preset position in the target storage area is a target number; and when the number of the preset position is determined to be the target number, allowing the vehicle window learning to be executed.
- 2. The vehicle window learning execution method according to claim 1, wherein after detecting whether the number of the preset position in the target storage area is the target number in response to the detection instruction, further comprising: When the number of the preset position is not the target number, receiving a manual window learning instruction; and responding to the manual window learning instruction, only driving the window to move, and not generating data corresponding to window learning.
- 3. The vehicle window learning execution method according to claim 1, wherein after detecting whether the number of the preset position in the target storage area is the target number in response to the detection instruction, further comprising: And when the number of the preset position is not the target number, receiving an automatic window learning instruction, and not driving the window to move.
- 4. The vehicle window learning execution method according to claim 1, wherein the obtaining the vehicle window anti-pinching parameter pack detection instruction includes: Receiving a window learning instruction, and acquiring a window anti-pinch parameter packet detection instruction based on the window learning instruction, wherein the window learning instruction at least comprises one of a manual window learning instruction and an automatic window learning instruction; or acquiring a detection instruction of the window anti-pinch parameter packet based on a preset detection period.
- 5. The vehicle window learning execution method according to claim 1, wherein the detecting whether the number of the preset position in the target storage area is the target number in response to the detection instruction includes: And responding to the detection instruction, and detecting whether the number of the preset position in the target storage area is a target number matched with the vehicle configuration information according to the vehicle configuration information associated with the vehicle window, wherein different vehicle configuration information corresponds to different numbers.
- 6. The vehicle window learning execution method according to claim 1, wherein after detecting whether the number of the preset position in the target storage area is the target number in response to the detection instruction, further comprising: And generating a diagnosis fault code representing the verification failure when the number of the preset position is not the target number, and sending the diagnosis fault code to target equipment.
- 7. The window learning execution method according to claim 6, wherein when it is determined that the number of the preset position is not the target number, generating a diagnostic trouble code that characterizes the verification failure, and after transmitting the diagnostic trouble code to a target device, further comprises: and when a deleting instruction aiming at the diagnosis fault code is received, acquiring a detection instruction aiming at the vehicle window anti-pinch parameter packet based on the deleting instruction.
- 8. A window learning execution device, characterized by comprising: the detection acquisition module is used for acquiring a detection instruction aiming at the anti-pinch parameter packet of the vehicle window, wherein the anti-pinch parameter packet of the vehicle window is used for realizing the anti-pinch function of the vehicle window; the number detection module is used for responding to the detection instruction and detecting whether the number of the preset position in the target storage area is a target number or not; And the vehicle window learning module is used for allowing vehicle window learning to be executed when the number of the preset position is determined to be the target number.
- 9. A vehicle, characterized in that the vehicle comprises: A memory for storing executable program code; a processor for calling and running the executable program code from the memory, causing the vehicle to perform the method of any one of claims 1 to 7.
- 10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed, implements the method according to any of claims 1 to 7.
Description
Vehicle window learning execution method and device, vehicle and storage medium Technical Field The present application relates to the field of vehicle control, and more particularly, to a window learning execution method, apparatus, vehicle, and storage medium in the field of vehicle control. Background In vehicle electronic control systems, the window anti-pinch function is typically implemented by a controller integrated into the door module. This function relies on a set of anti-pinch parameters that are closely related to the physical characteristics of the whole vehicle, including but not limited to the length of travel of the window glass, the mechanical resistance characteristics of the lift mechanism, the sealing strip compression force, the motor current response curve, etc. Because of the obvious difference between the shapes of the whole vehicle and the design of the window structure of different vehicle types, the anti-pinch parameters of the window are also changed, so that the controller software needs to develop independent software variants for each vehicle type. In order to reduce the number of software varieties and improve the degree of platfonnization, a strategy of unifying basic software and line-refreshing calibration parameter packages is generally adopted at present, namely, corresponding window anti-pinch parameter packages are written into a storage area of a door module according to a specific vehicle model in the whole vehicle manufacturing process. Only after the anti-pinch parameter packet is successfully written, a Window Learning (Window Learning) process is executed, and the controller can accurately establish a reference model of Window operation, so that normal operation of an anti-pinch function is ensured. If the door module completes window learning in advance under the condition that the anti-pinch parameter packet is not successfully written in, the operation standard established by the controller is seriously inconsistent with the actual physical characteristics, so that the anti-pinch function of the window is invalid, and potential safety hazards of personal injury or property loss can be caused. Disclosure of Invention The application provides a vehicle window learning execution method, a vehicle window learning execution device, a vehicle and a storage medium, according to the method, the window anti-pinch parameters can be determined to be successfully written in the door module before window learning, and the success rate of window learning is improved. In a first aspect, there is provided a vehicle window learning execution method, the method including: acquiring a detection instruction aiming at an anti-pinch parameter packet of a vehicle window, wherein the anti-pinch parameter packet of the vehicle window is used for realizing the anti-pinch function of the vehicle window; responding to the detection instruction, and detecting whether the number of the preset position in the target storage area is a target number; and when the number of the preset position is determined to be the target number, allowing the vehicle window learning to be executed. Through the technical scheme, the vehicle window learning is allowed to be executed only after the number of the preset position in the detection target storage area is the target number and the characteristic vehicle window anti-pinch parameter packet is successfully written, the correct starting of the vehicle window learning, the quick verification of the production line and the parameter configuration isolation are realized on the premise of not increasing the hardware cost, the problem that the vehicle window anti-pinch function is invalid due to the fact that the vehicle window learning is carried out when the vehicle window anti-pinch parameter packet is not available is avoided, and the personal injury or the property loss is caused in the subsequent use process is remarkably improved. With reference to the first aspect, in some possible implementations, after detecting whether the number of the preset position in the target storage area is the target number in response to the detection instruction, the method further includes: When the number of the preset position is not the target number, receiving a manual window learning instruction; And responding to the manual window learning instruction, only driving the window to drive, and not generating data corresponding to window learning. According to the technical scheme, when the number of the preset position is not the target number, the window anti-pinch parameter packet is determined to be not written successfully, so that window learning is not executed, however, when a manual window learning instruction is executed, window movement is allowed to be driven based on the manual window learning instruction, for example, lifting or lowering action of the window is executed, the requirement of a user on manually lifting the window is met, the basic operatio