Vehicle window control method, device, controller, readable storage medium and vehicle

By acquiring seat rotation status information and performing intelligent logic conversion, the window control method solves the problem of high accidental touch rate of traditional second-row door panel window control buttons. It enables passengers to accurately control the windows through habitual actions regardless of the seat orientation, improving the intuitiveness of operation and safety.

CN122169694APending Publication Date: 2026-06-09ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD
Filing Date
2026-04-15
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

The traditional design of the second-row door panel window control buttons in vehicles has a high rate of accidental touches after the seat is rotated, which affects the user experience of passengers.

Method used

By acquiring seat rotation status information, a target window control command is generated. Based on the seat rotation status information and the initial window control command, intelligent logic conversion is performed to ensure that passengers can control the opening or closing of the window through habitual actions regardless of the seat orientation.

Benefits of technology

It eliminates the confusion caused by seat rotation when controlling window direction, improving the intuitiveness of operation, safety, and consistency of passenger experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122169694A_ABST
    Figure CN122169694A_ABST
Patent Text Reader

Abstract

The application relates to a vehicle window control method, device, controller, readable storage medium and vehicle. The method comprises the following steps: acquiring seat rotation state information, the rotation state information being used for indicating whether the seat orientation matches the vehicle head orientation; generating a target vehicle window control instruction based on the seat rotation state information and an initial vehicle window control instruction, the initial vehicle window control instruction and the target vehicle window control instruction both being used for indicating the opening or closing of the vehicle window; the initial vehicle window control instruction being triggered based on the pressing operation of a vehicle passenger on a vehicle window physical button; and controlling the opening or closing of the vehicle window based on the target vehicle window control instruction. Whether the seat orientation matches the vehicle head orientation or not, the vehicle passenger can control the opening or closing of the vehicle window through the habitual action, the problem of vehicle window control direction confusion caused by seat rotation is eliminated, and the intuitiveness, safety and consistency of the experience of the vehicle passenger are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and in particular to a window control method, device, controller, readable storage medium, and vehicle. Background Technology

[0002] With the development of the automotive industry, more and more models are equipped with second-row seat rotation functions. These models can meet the needs of scenarios such as face-to-face communication among multiple people and flexible utilization of rear space through seat rotation, and are widely used in MPVs, commercial vehicles, and high-end passenger vehicles. As a basic control function of automobiles, the rationality of the button logic of window controls directly affects the user experience of passengers.

[0003] In traditional technology, the window control buttons on the second-row door panels of vehicles generally adopt a fixed logic design, which leads to a high rate of accidental touches after the seat is rotated. Summary of the Invention

[0004] Therefore, it is necessary to provide a method, device, controller, readable storage medium, and vehicle for controlling vehicle windows that can reduce the accidental touch rate of physical buttons on vehicle windows, in order to address the aforementioned technical problems.

[0005] In a first aspect, this application provides a method for controlling vehicle windows, including:

[0006] Obtain seat rotation status information, which is used to indicate whether the seat orientation matches the vehicle's front orientation;

[0007] Based on the seat rotation status information and the initial window control command, a target window control command is generated. Both the initial window control command and the target window control command are used to instruct the opening or closing of the window. The initial window control command is triggered by the passenger pressing the physical button on the window.

[0008] The window is opened or closed based on the target window control command.

[0009] In one embodiment, generating the target window control command based on the seat rotation state information and the initial window control command includes:

[0010] When the seat rotation status information indicates that the seat orientation does not match the vehicle's front orientation, a target window control command that is opposite to the initial window control command is generated based on the seat rotation status information and the initial window control command.

[0011] Wherein, if the initial window control command is used to instruct the opening of the window, the target window control command is used to instruct the closing of the window; if the initial window control command is used to instruct the closing of the window, the target window control command is used to instruct the opening of the window.

[0012] In one embodiment, generating the target window control command based on the seat rotation state information and the initial window control command includes:

[0013] When the seat rotation status information indicates that the seat orientation matches the vehicle's front orientation, the initial window control command is used as the target window control command.

[0014] In one embodiment, the initial window control command includes: a first button travel signal or a second button travel signal; the method further includes:

[0015] In response to the first key state of the physical window button triggered by the passenger, a first key travel signal is output, which is used to indicate whether the window is opened or closed.

[0016] In response to the second key state triggered by the passenger's physical window button, a second key travel signal is output, which is used to indicate whether the window is opened or closed; the first key travel signal is the opposite of the second key travel signal.

[0017] In one embodiment, obtaining the seat rotation state information includes:

[0018] Acquire the level signal output by the sensor; the level signal is obtained by the sensor based on the electromagnetic signal of the detected magnetic element, which is disposed on the rotating base of the seat;

[0019] The seat rotation status information is determined based on the level signal.

[0020] In one embodiment, when the angle between the seat orientation and the vehicle front orientation is less than an angle threshold, the rotation state information is used to indicate that the seat orientation matches the vehicle front orientation.

[0021] When the angle between the seat orientation and the vehicle front orientation is not less than the angle threshold, the rotation state information is used to indicate that the seat orientation and the vehicle front orientation do not match.

[0022] Secondly, this application also provides a vehicle window control device, comprising:

[0023] The acquisition module is used to acquire seat rotation status information, which is used to indicate whether the seat orientation matches the vehicle's front orientation;

[0024] The generation module is used to generate a target window control command based on the seat rotation state information and the initial window control command. Both the initial window control command and the target window control command are used to instruct the opening or closing of the window. The initial window control command is triggered by the passenger pressing the physical button on the window.

[0025] The control module is used to control the opening or closing of the window based on the target window control command.

[0026] Thirdly, this application also provides a controller, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0027] Obtain seat rotation status information, which is used to indicate whether the seat orientation matches the vehicle's front orientation;

[0028] Based on the seat rotation status information and the initial window control command, a target window control command is generated. Both the initial window control command and the target window control command are used to instruct the opening or closing of the window. The initial window control command is triggered by the passenger pressing the physical button on the window.

[0029] The window is opened or closed based on the target window control command.

[0030] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0031] Obtain seat rotation status information, which is used to indicate whether the seat orientation matches the vehicle's front orientation;

[0032] Based on the seat rotation status information and the initial window control command, a target window control command is generated. Both the initial window control command and the target window control command are used to instruct the opening or closing of the window. The initial window control command is triggered by the passenger pressing the physical button on the window.

[0033] The window is opened or closed based on the target window control command.

[0034] Fifthly, this application also provides a vehicle including the controller as described in the third aspect.

[0035] The aforementioned window control method, device, controller, readable storage medium, and vehicle acquire seat rotation state information, which indicates whether the seat orientation matches the vehicle's front orientation. Based on the seat rotation state information and an initial window control command, a target window control command is generated. Both the initial and target window control commands are used to instruct the window to open or close. The initial window control command is triggered by the passenger pressing a physical button on the window. The target window control command controls the window to open or close. By acquiring seat rotation state information and intelligently converting the original window control command based on this information, the window action is ultimately controlled. This ensures that regardless of whether the seat orientation matches the vehicle's front orientation, passengers can control the window to open or close using familiar actions, eliminating the confusion caused by seat rotation and improving the intuitiveness, safety, and consistency of the passenger experience. Attached Figure Description

[0036] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0037] Figure 1 This is an application environment diagram of a window control method in one embodiment;

[0038] Figure 2 This is a flowchart illustrating a window control method in one embodiment;

[0039] Figure 3 This is a flowchart illustrating the window control method in another embodiment;

[0040] Figure 4 This is a flowchart illustrating the window control method in another embodiment;

[0041] Figure 5 This is a flowchart illustrating the window control method in another embodiment;

[0042] Figure 6 This is a structural block diagram of a window control device in one embodiment;

[0043] Figure 7 This is a diagram of the internal structure of the controller in one embodiment. Detailed Implementation

[0044] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0045] The window control method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, the controller 102 communicates with the window 104. A data storage system can store the data that the controller 102 needs to process. The controller 102 acquires seat rotation information and initial window control commands triggered by the passenger's pressing of the physical buttons on the window, thereby generating target window control commands and controlling the window 104 based on these target window control commands.

[0046] In one embodiment, such as Figure 2 As shown, a method for controlling vehicle windows is provided, which can be applied to... Figure 1 Taking the controller in the example, the explanation includes:

[0047] S201, Obtain seat rotation status information. The rotation status information is used to indicate whether the seat orientation matches the vehicle's front orientation.

[0048] The rotation status information can include both "not rotated" and "rotated". For example, when the seat orientation matches the vehicle's front orientation, the rotation status information is "not rotated"; when the seat orientation does not match the vehicle's front orientation, the rotation status information is "rotated".

[0049] Optionally, when the seat orientation is exactly the same as the vehicle's front orientation, the rotation status information is used to indicate that the seat orientation matches the vehicle's front orientation; when there is an angle between the seat orientation and the vehicle's front orientation, the rotation status information is used to indicate that the seat orientation does not match the vehicle's front orientation.

[0050] Optionally, when the angle between the seat orientation and the vehicle's front orientation is less than an angle threshold, the rotation status information is used to indicate that the seat orientation matches the vehicle's front orientation; when the angle between the seat orientation and the vehicle's front orientation is not less than the angle threshold, the rotation status information is used to indicate that the seat orientation does not match the vehicle's front orientation. The angle threshold can be predetermined based on the vehicle's usage scenario; for example, the angle threshold can be 5°, or it can be 10°.

[0051] In this embodiment of the application, a detection element arranged at the seat rotation mechanism determines whether the seat has rotated 180 degrees relative to the original forward direction of the vehicle, that is, whether the seat orientation is consistent with the vehicle's front orientation or inconsistent with the vehicle's front orientation.

[0052] Optionally, when the seat orientation is detected to be consistent with the vehicle's original forward direction, the seat orientation is determined to be in a "positive" state and the seat is not rotated; when the seat orientation is detected to be opposite to the vehicle's original forward direction, it is determined to be in a "reverse" state and the seat has been rotated.

[0053] S202 generates the target window control command based on the seat rotation status information and the initial window control command.

[0054] Both the initial window control command and the target window control command are used to instruct the opening or closing of the window; the initial window control command is triggered by the passenger pressing the physical button on the window. The passenger is the person sitting in the seat next to the controlled window.

[0055] In this embodiment, the original electrical signal from the physical buttons on the vehicle window is acquired, and an initial window control command is determined based on the original electrical signal. Optionally, the original electrical signal can be an analog resistor signal R1 or R2, where R1 represents the passenger pressing a first button, and R2 represents the passenger pressing a second button. The initial window control command corresponding to the R1 signal is used to instruct the window to open, and the initial window control command corresponding to the R2 signal is used to instruct the window to close. Optionally, R1 can be 1kΩ, and R2 can be 2kΩ.

[0056] Furthermore, under different seat rotation state information, a target window control command is generated based on the mapping relationship between the initial window control command and the corresponding seat rotation state information. The mapping relationship refers to the correspondence between the initial window control command and the target window control command.

[0057] S203 controls the opening or closing of vehicle windows based on target window control commands.

[0058] In this embodiment, if the window control signal indicates that the window is open, the drive circuit controls the window lift motor to rotate forward, causing the window glass to descend, thus achieving the opening function. If the window control signal indicates that the window is closed, the drive circuit controls the motor to rotate in the reverse direction, causing the window glass to rise, thus achieving the closing function.

[0059] Optionally, during window control, the motor drive circuit monitors the operating current in real time. If an abnormal current is detected, the overcurrent protection function is immediately triggered to automatically cut off the motor power supply to ensure system safety.

[0060] In the aforementioned window control method, seat rotation status information is acquired, indicating whether the seat orientation matches the vehicle's front orientation. Based on the seat rotation status information and the initial window control command, a target window control command is generated. Both the initial and target window control commands are used to instruct the window to open or close. The initial window control command is triggered by the passenger pressing the physical window button. The target window control command controls the window to open or close. By acquiring seat rotation status information and intelligently converting the original window control command based on this information, the window action is ultimately controlled. This ensures that regardless of whether the seat orientation matches the vehicle's front orientation, passengers can control the window to open or close using familiar actions, eliminating the confusion caused by seat rotation and improving the intuitiveness, safety, and consistency of the passenger experience.

[0061] In one embodiment, one implementation of the above S202 is provided as follows: Figure 3 As shown, the above-mentioned "generating target window control commands based on seat rotation state information and initial window control commands" includes:

[0062] S301 determines the key state of the physical window button from the passenger's perspective based on seat rotation status information and initial window control commands.

[0063] In this embodiment, by combining the known mapping relationship between buttons and window control commands, the specific button action triggered by the passenger at the moment of operation is determined, that is, the key state of the physical button triggering the window from the passenger's perspective. For example, pushing the button forward with the passenger's finger is recorded as "pressing forward", and pushing it backward is recorded as "pressing backward". From the passenger's perspective, the key state of pressing forward is to open the window, and the key state of pressing backward is to close the vehicle.

[0064] S302, Generate the target window control command corresponding to the key state of the physical button that triggers the window from the passenger's perspective.

[0065] In this embodiment of the application, when the key state is to open the window, the generated target window control command is used to control the window to open; when the key state is to close the window, the generated target window control command is used to control the window to close.

[0066] In the above-mentioned embodiments, the intention of the passenger's button operation is first clarified from the passenger's own perspective. Then, the intention is accurately logically converted in combination with the actual orientation of the seat to ensure that the final generated window control command is always consistent with the passenger's spatial intuition. This means that no matter what rotation state the seat is in, the passenger does not need to change their inherent operating habits, thereby eliminating the confusion and misjudgment caused by the change of seat orientation. This achieves the unity of control logic and passenger cognition, and improves the intuitiveness and accuracy of operation.

[0067] In one embodiment, an implementation of the above-mentioned S202 is provided, wherein the above-mentioned "generating a target window control command based on seat rotation state information and initial window control command" includes: when the seat rotation state information indicates that the seat orientation does not match the vehicle front orientation, generating a target window control command that is opposite to the initial window control command based on the seat rotation state information and the initial window control command.

[0068] Specifically, if the initial window control command is used to instruct the opening of the window, the target window control command is used to instruct the closing of the window; if the initial window control command is used to instruct the closing of the window, the target window control command is used to instruct the opening of the window.

[0069] In this embodiment of the application, when the seat rotation status information indicates that the seat orientation does not match the vehicle's front orientation, if the initial window control command is used to instruct the opening of the window, and the passenger's intention is to close the window, then the generated target window control command is used to instruct the closing of the window; if the initial window control command is used to instruct the closing of the window, and the passenger's intention is to open the window, then the generated target window control command is used to instruct the opening of the window.

[0070] Optionally, if the seat rotation status information indicates that the seat orientation matches the vehicle's frontal orientation, the initial window control command will be used as the target window control command. When the seat rotation status information indicates that the seat orientation matches the vehicle's frontal orientation, if the initial window control command is used to instruct the opening of the window, and the passenger's intention is to open the window, then the generated target window control command will be used to instruct the opening of the window; if the initial window control command is used to instruct the closing of the window, and the passenger's intention is to close the window, then the generated target window control command will be used to instruct the closing of the window.

[0071] In the above-mentioned embodiments, when the seat is rotated to a reverse state that does not match the original orientation of the vehicle, the initial control command is automatically logically reversed so that the passenger does not need to perceive or remember the actual position of the seat and can complete the correct operation based on their own fixed intuition. This effectively prevents misoperation caused by misalignment and improves safety and consistency of operation.

[0072] In one embodiment, such as Figure 4As shown, the above-mentioned window control method also includes:

[0073] S401, in response to the first key state of the physical window button triggered by the passenger, outputs a first key travel signal, which is used to indicate whether the window is opened or closed.

[0074] In this embodiment, when the first button travel signal is used to indicate opening the window, the second button travel signal is used to indicate closing the window; when the first button travel signal is used to indicate closing the window, the second button travel signal is used to indicate opening the window.

[0075] In this embodiment, taking the first button travel signal as an example of indicating the closing of the window, when the seat is in a reverse position, i.e., the seat orientation does not match the vehicle's front orientation, the passenger, based on their own orientation and intuition, performs the "press forward" button operation, which triggers the first key state of the physical window button and outputs the first button travel signal. The first button travel signal is used to indicate closing the window, but when the seat orientation does not match the vehicle's front orientation, the window appears to be open from the passenger's perspective.

[0076] In this embodiment, when the seat is in the forward-facing position, i.e., when the seat orientation matches the vehicle's front orientation, when the passenger performs the "press back" button operation, the first key state of the physical window button is triggered, and a first button travel signal is output. The first button travel signal is used to indicate that the window is closed, and from the passenger's perspective, the window is also closed when the seat orientation matches the vehicle's front orientation.

[0077] S402, in response to the second key state of the physical window button triggered by the passenger, outputs a second key travel signal, which is used to indicate whether the window is opened or closed; the first key travel signal is the opposite of the second key travel signal.

[0078] In this embodiment, taking the first button travel signal as an example of indicating the opening of the window, when the seat is in a reverse position, i.e., the seat orientation does not match the vehicle's front orientation, the passenger, based on their own orientation and intuition, performs the "press backward" button operation, which triggers the second button state of the physical window button and outputs the second button travel signal. When the seat orientation does not match the vehicle's front orientation, the second button travel signal is used to indicate opening the window, but from the passenger's perspective, it means the window is closed.

[0079] In this embodiment, when the seat is in the forward-facing position, i.e., when the seat orientation matches the vehicle's frontal orientation, when the passenger performs the "press forward" button operation, the second button state of the physical window button is triggered, and a second button travel signal is output. The second button travel signal is used to indicate that the window is open, and from the passenger's perspective, the window is also open when the seat orientation matches the vehicle's frontal orientation.

[0080] In the above-mentioned application embodiments, by pre-defining the correspondence between the physical operation of the passenger and the output electrical signal when the seat is in the reverse state, an accurate and consistent input basis is provided for the subsequent logic conversion. It can clearly identify the intuitive intention of the passenger in the current orientation and output a signal that is opposite in the original logic but matches the passenger's intention, thereby ensuring the reliability and correctness of the entire logic reversal mechanism at the underlying signal level.

[0081] In one embodiment, one implementation of the above-described S201 is provided, such as... Figure 5 As shown, the above "obtaining seat rotation status information" includes:

[0082] S501, acquire the level signal output by the sensor; the level signal is obtained by the sensor based on the electromagnetic signal detected by the magnetic element, which is located on the rotating base of the seat.

[0083] In this embodiment, the sensor can be a Hall sensor, a photoelectric sensor, or a limit switch. Optionally, a Hall sensor fixedly mounted on the seat rail fixing part is used to acquire the level signal. A magnetic element is mounted on a seat base that rotates with the seat, and the mounting position is calibrated so that it aligns with the Hall sensor when the seat orientation is the same as the vehicle's front orientation. When the seat rotates, causing the magnetic element to move, the spatial distribution of the magnetic field generated by the magnetic element changes. The Hall sensor continuously detects the magnetic field strength at its location and directly outputs a digital level signal based on the magnetic field strength. When the magnetic element approaches the Hall sensor and reaches a preset threshold, the sensor outputs a low level, such as 0V; when the magnetic element moves away from the Hall sensor, it outputs a high level, such as 5V.

[0084] Optionally, the magnetic element can be a magnet.

[0085] Optionally, the positive terminal (VCC) of the sensor is connected to a 5V DC power supply, the negative terminal (GND) is grounded, and its signal output pin (OUT) is directly connected to the controller's general purpose input / output (GPIO) interface, such as the PA0 pin.

[0086] S502 determines the seat rotation status information based on the level signal.

[0087] In this embodiment, when the controller reads a low level signal, it determines that the magnetic element is close, and thus determines that the seat orientation matches the vehicle's front orientation; when it reads a high level signal, it determines that the magnetic element is far away, and thus determines that the seat orientation does not match the vehicle's front orientation.

[0088] Optionally, the controller can be a microcontroller unit (MCU), such as an STM32F103. The controller can be connected to a signal amplification circuit and a filtering circuit to determine the seat rotation status information and the target window control command.

[0089] In the above-mentioned embodiments, the non-contact detection composed of sensors and magnetic elements directly outputs digital level signals, which has strong anti-interference ability, simple and fast logic judgment, and avoids wear and failure caused by mechanical contact, resulting in a long service life. At the same time, the hardware cost is low, the structure is compact, and it is easy to install or integrate into existing seat assemblies.

[0090] In one embodiment, a complete method for controlling vehicle windows is provided, including:

[0091] S1, acquire the level signal output by the sensor; the level signal is obtained by the sensor based on the electromagnetic signal detected by the magnetic element, which is located on the rotating base of the seat.

[0092] S2, based on the level signal, determines the seat rotation status information; the rotation status information is used to indicate whether the seat orientation matches the vehicle's front orientation.

[0093] S3, in response to the first key state of the physical window button triggered by the passenger, outputs a first key travel signal, which is used to indicate closing the window; or, in response to the second key state of the physical window button triggered by the passenger, outputs a second key travel signal, which is used to indicate opening the window.

[0094] S4, if the seat rotation status information indicates that the seat orientation matches the vehicle's front orientation, the initial window control command is used as the target window control command; if the seat rotation status information indicates that the seat orientation does not match the vehicle's front orientation, a target window control command opposite to the initial window control command is generated.

[0095] S5 controls the opening or closing of the windows based on the target window control command.

[0096] In the aforementioned window control method, seat rotation status information is acquired, indicating whether the seat orientation matches the vehicle's front orientation. Based on the seat rotation status information and the initial window control command, a target window control command is generated. Both the initial and target window control commands are used to instruct the window to open or close. The initial window control command is triggered by the passenger pressing the physical window button. The target window control command controls the window to open or close. By acquiring seat rotation status information and intelligently converting the original window control command based on this information, the window action is ultimately controlled. This ensures that regardless of whether the seat orientation matches the vehicle's front orientation, passengers can control the window to open or close using familiar actions, eliminating the confusion caused by seat rotation and improving the intuitiveness, safety, and consistency of the passenger experience.

[0097] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0098] Based on the same inventive concept, this application also provides a window control device for implementing the window control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations of the one or more window control device embodiments provided below can be found in the limitations of the window control method described above, and will not be repeated here.

[0099] In one embodiment, such as Figure 6 As shown, a vehicle window control device is provided, including: an acquisition module 10, a generation module 11, and a control module 12, wherein:

[0100] The acquisition module 10 is used to acquire seat rotation status information, which is used to indicate whether the seat orientation matches the vehicle's front orientation.

[0101] The generation module 11 is used to generate a target window control command based on the seat rotation status information and the initial window control command. Both the initial window control command and the target window control command are used to instruct the opening or closing of the window. The initial window control command is triggered by the passenger pressing the physical button on the window.

[0102] The control module 12 is used to control the opening or closing of the window based on the target window control command.

[0103] In one embodiment, the above-mentioned generation module 11 includes: a first generation unit, used to generate a target window control command that is opposite to the initial window control command based on the seat rotation state information and the initial window control command when the seat rotation state information indicates that the seat orientation does not match the vehicle front orientation;

[0104] Specifically, if the initial window control command is used to instruct the opening of the window, the target window control command is used to instruct the closing of the window; if the initial window control command is used to instruct the closing of the window, the target window control command is used to instruct the opening of the window.

[0105] In one embodiment, the generation module 11 includes a third generation unit, configured to use the initial window control command as the target window control command when the seat rotation state information indicates that the seat orientation matches the vehicle front orientation.

[0106] In one embodiment, the above-mentioned window control device further includes: a first output module and a second output module, wherein:

[0107] The first output module is used to respond to the first key state of the physical window button triggered by the passenger and output a first key travel signal. The first key travel signal is used to indicate whether the window is opened or closed.

[0108] The second output module is used to respond to the second key state of the physical window button triggered by the passenger and output a second key travel signal. The second key travel signal is used to indicate whether the window is opened or closed. The first key travel signal is the opposite of the second key travel signal.

[0109] In one embodiment, the acquisition module 10 includes: an acquisition unit and a determination unit, wherein:

[0110] The acquisition unit is used to acquire the level signal output by the sensor; the level signal is obtained by the sensor based on the electromagnetic signal detected by the magnetic element, which is set on the rotating base of the seat.

[0111] The determination unit is used to determine the seat rotation status information based on the level signal.

[0112] In one embodiment, when the angle between the seat orientation and the vehicle front orientation is less than an angle threshold, the rotation state information is used to indicate that the seat orientation matches the vehicle front orientation.

[0113] When the angle between the seat orientation and the vehicle's front orientation is not less than the angle threshold, the rotation status information is used to indicate that the seat orientation and the vehicle's front orientation do not match.

[0114] Each module in the aforementioned window control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the controller in hardware form or independent of it, or stored in the memory of the controller in software form, so that the processor can call and execute the corresponding operations of each module.

[0115] In one embodiment, a controller is provided, the internal structure of which can be shown in the following diagram. Figure 7 As shown, the controller includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a vehicle window control method. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the controller can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the controller housing, or external keyboards, touchpads, or mice, etc.

[0116] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the controller to which the present application is applied. A specific controller may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0117] In one embodiment, a controller is provided, including a memory and a processor, the memory storing a computer program, the processor executing the computer program to perform the following steps:

[0118] Obtain seat rotation status information, which is used to indicate whether the seat orientation matches the vehicle's frontal orientation;

[0119] Based on the seat rotation status information and the initial window control command, a target window control command is generated. Both the initial window control command and the target window control command are used to instruct the opening or closing of the window. The initial window control command is triggered by the passenger pressing the physical button on the window.

[0120] Control the opening or closing of the windows based on the target window control command.

[0121] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0122] If the seat rotation status information indicates that the seat orientation does not match the vehicle's frontal orientation, a target window control command that is the opposite of the initial window control command will be generated.

[0123] Specifically, if the initial window control command is used to instruct the opening of the window, the target window control command is used to instruct the closing of the window; if the initial window control command is used to instruct the closing of the window, the target window control command is used to instruct the opening of the window.

[0124] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0125] When the seat rotation status information indicates that the seat orientation matches the vehicle's front orientation, the initial window control command will be used as the target window control command.

[0126] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0127] In response to the first key state of the physical window button triggered by the passenger, a first key travel signal is output, which is used to indicate whether the window is opened or closed.

[0128] In response to the second button state triggered by the passenger, a second button travel signal is output, which is used to indicate whether the window is opened or closed; the first button travel signal is the opposite of the second button travel signal.

[0129] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0130] Acquire the level signal output by the sensor; the level signal is obtained by the sensor based on the electromagnetic signal detected by the magnetic element, which is set on the rotating base of the seat;

[0131] The seat rotation status information is determined based on the level signal.

[0132] In one embodiment, when the processor executes the computer program, if the angle between the seat orientation and the vehicle head orientation is less than an angle threshold, rotational state information is used to indicate that the seat orientation matches the vehicle head orientation.

[0133] When the angle between the seat orientation and the vehicle's front orientation is not less than the angle threshold, the rotation status information is used to indicate that the seat orientation and the vehicle's front orientation do not match.

[0134] In one embodiment, a vehicle is provided, including an on-board controller as described in the above embodiments.

[0135] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0136] Obtain seat rotation status information, which is used to indicate whether the seat orientation matches the vehicle's frontal orientation;

[0137] Based on the seat rotation status information and the initial window control command, a target window control command is generated. Both the initial window control command and the target window control command are used to instruct the opening or closing of the window. The initial window control command is triggered by the passenger pressing the physical button on the window.

[0138] Control the opening or closing of the windows based on the target window control command.

[0139] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0140] If the seat rotation status information indicates that the seat orientation does not match the vehicle's frontal orientation, a target window control command that is the opposite of the initial window control command will be generated.

[0141] Specifically, if the initial window control command is used to instruct the opening of the window, the target window control command is used to instruct the closing of the window; if the initial window control command is used to instruct the closing of the window, the target window control command is used to instruct the opening of the window.

[0142] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0143] When the seat rotation status information indicates that the seat orientation matches the vehicle's front orientation, the initial window control command will be used as the target window control command.

[0144] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0145] In response to the first key state of the physical window button triggered by the passenger, a first key travel signal is output, which is used to indicate whether the window is opened or closed.

[0146] In response to the second button state triggered by the passenger, a second button travel signal is output, which is used to indicate whether the window is opened or closed; the first button travel signal is the opposite of the second button travel signal.

[0147] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0148] Acquire the level signal output by the sensor; the level signal is obtained by the sensor based on the electromagnetic signal detected by the magnetic element, which is set on the rotating base of the seat;

[0149] The seat rotation status information is determined based on the level signal.

[0150] In one embodiment, when the computer program is executed by the processor, if the angle between the seat orientation and the vehicle's front orientation is less than an angle threshold, the rotation state information is used to indicate that the seat orientation matches the vehicle's front orientation.

[0151] When the angle between the seat orientation and the vehicle's front orientation is not less than the angle threshold, the rotation status information is used to indicate that the seat orientation and the vehicle's front orientation do not match.

[0152] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0153] Obtain seat rotation status information, which is used to indicate whether the seat orientation matches the vehicle's frontal orientation;

[0154] Based on the seat rotation status information and the initial window control command, a target window control command is generated. Both the initial window control command and the target window control command are used to instruct the opening or closing of the window. The initial window control command is triggered by the passenger pressing the physical button on the window.

[0155] Control the opening or closing of the windows based on the target window control command.

[0156] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0157] If the seat rotation status information indicates that the seat orientation does not match the vehicle's frontal orientation, a target window control command that is the opposite of the initial window control command will be generated.

[0158] Specifically, if the initial window control command is used to instruct the opening of the window, the target window control command is used to instruct the closing of the window; if the initial window control command is used to instruct the closing of the window, the target window control command is used to instruct the opening of the window.

[0159] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0160] When the seat rotation status information indicates that the seat orientation matches the vehicle's front orientation, the initial window control command will be used as the target window control command.

[0161] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0162] In response to the first key state of the physical window button triggered by the passenger, a first key travel signal is output, which is used to indicate whether the window is opened or closed.

[0163] In response to the second button state triggered by the passenger, a second button travel signal is output, which is used to indicate whether the window is opened or closed; the first button travel signal is the opposite of the second button travel signal.

[0164] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0165] Acquire the level signal output by the sensor; the level signal is obtained by the sensor based on the electromagnetic signal detected by the magnetic element, which is set on the rotating base of the seat;

[0166] The seat rotation status information is determined based on the level signal.

[0167] In one embodiment, when the computer program is executed by the processor, if the angle between the seat orientation and the vehicle's front orientation is less than an angle threshold, the rotation state information is used to indicate that the seat orientation matches the vehicle's front orientation.

[0168] When the angle between the seat orientation and the vehicle's front orientation is not less than the angle threshold, the rotation status information is used to indicate that the seat orientation and the vehicle's front orientation do not match.

[0169] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0170] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0171] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for controlling vehicle windows, characterized in that, The method includes: Obtain seat rotation status information, which is used to indicate whether the seat orientation matches the vehicle's front orientation; Based on the seat rotation status information and the initial window control command, a target window control command is generated. Both the initial window control command and the target window control command are used to instruct the opening or closing of the window. The initial window control command is triggered by the passenger pressing the physical button on the window. The window is opened or closed based on the target window control command.

2. The method according to claim 1, characterized in that, The step of generating a target window control command based on the seat rotation state information and the initial window control command includes: If the seat rotation status information indicates that the seat orientation does not match the vehicle's front orientation, a target window control command that is opposite to the initial window control command will be generated. Wherein, if the initial window control command is used to instruct the opening of the window, the target window control command is used to instruct the closing of the window; if the initial window control command is used to instruct the closing of the window, the target window control command is used to instruct the opening of the window.

3. The method according to claim 1, characterized in that, The step of generating a target window control command based on the seat rotation state information and the initial window control command includes: When the seat rotation status information indicates that the seat orientation matches the vehicle's front orientation, the initial window control command is used as the target window control command.

4. The method according to claim 2 or 3, characterized in that, The initial window control command includes: a first button travel signal or a second button travel signal; the method further includes: In response to the first key state of the physical window button triggered by the passenger, a first key travel signal is output, which is used to indicate whether the window is opened or closed. In response to the second key state triggered by the passenger's physical window button, a second key travel signal is output, which is used to indicate whether the window is opened or closed; the first key travel signal is the opposite of the second key travel signal.

5. The method according to claim 1, characterized in that, The acquisition of seat rotation status information includes: Acquire the level signal output by the sensor; the level signal is obtained by the sensor based on the electromagnetic signal of the detected magnetic element, which is disposed on the rotating base of the seat; The seat rotation status information is determined based on the level signal.

6. The method according to claim 1, characterized in that, When the angle between the seat orientation and the vehicle front orientation is less than the angle threshold, the rotation state information is used to indicate that the seat orientation matches the vehicle front orientation; When the angle between the seat orientation and the vehicle front orientation is not less than the angle threshold, the rotation state information is used to indicate that the seat orientation and the vehicle front orientation do not match.

7. A vehicle window control device, characterized in that, The device includes: The acquisition module is used to acquire seat rotation status information, which is used to indicate whether the seat orientation matches the vehicle's front orientation; The generation module is used to generate a target window control command based on the seat rotation state information and the initial window control command. Both the initial window control command and the target window control command are used to instruct the opening or closing of the window. The initial window control command is triggered by the passenger pressing the physical button on the window. The control module is used to control the opening or closing of the window based on the target window control command.

8. A controller comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A vehicle, characterized in that, The vehicle includes the controller as described in claim 8.