A method, system, storage medium, and vehicle for controlling car windows and curtains.
By identifying the type of control signal and the current location, the object to be controlled is determined, solving the cumbersome problem of controlling car windows and curtains and achieving a simplified collaborative control effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREAT WALL MOTOR CO LTD
- Filing Date
- 2023-04-17
- Publication Date
- 2026-05-26
Smart Images

Figure CN116498179B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and more specifically, to a method, system, storage medium, and vehicle for controlling vehicle windows and curtains. Background Technology
[0002] With the development of automotive technology, providing passengers with a safe and comfortable experience has become the main purpose of upgrading car configurations. Considering the high temperature of the sun or the sun protection needs of women, more and more vehicles are equipped with electric curtains for the windows.
[0003] In related technologies, vehicles equipped with electric curtains typically have separate control buttons for the windows and curtains to open and close them. This control method is relatively simple. If a user needs to operate the windows and curtains continuously, they must switch back and forth between the window and curtain control buttons to send control signals for the windows and curtains respectively, making the process cumbersome. Therefore, simplifying the user's control process when continuous operation of the windows and curtains is necessary is a pressing issue. Summary of the Invention
[0004] Based on this, this application provides a method, system, storage medium, and vehicle for controlling vehicle windows and curtains, in order to address the urgent problem of simplifying the user's control operation process when continuous operation is required to control vehicle windows and curtains.
[0005] A first aspect of this application provides a method for controlling vehicle windows and curtains, including:
[0006] In response to a triggered control signal, determine the type of the control signal;
[0007] In the case where the type is the first type, the object to be controlled is determined from the car window and the curtain according to the controlled object indicated by the control signal;
[0008] In the case of the second type, the object to be controlled is determined from the window and the curtain based on the current position of the window and the current position of the curtain.
[0009] Control the object to be controlled to move in the target direction indicated by the control signal;
[0010] The first type is a control signal type that controls the window or the curtain individually; the second type is a control signal type that controls both the window and the curtain in combination.
[0011] Optionally, determining the object to be controlled from the vehicle window and the curtain based on the current position of the window and the curtain includes:
[0012] Determine whether the current position of the vehicle window and the current position of the curtain are the target positions, wherein the target position is the extreme position corresponding to the target direction indicated by the control signal;
[0013] The vehicle window and / or the curtain that are not in the target position are identified as the objects to be controlled.
[0014] Optionally, determining the vehicle window and / or curtain that are not in the target position as the object to be controlled includes:
[0015] If either the car window or the curtain is not in the target position, then the car window or the curtain that is not in the target position is identified as the object to be controlled.
[0016] If neither the car window nor the curtain is in the target position, then the car window or the curtain is identified as the object to be controlled according to the target direction indicated by the control signal.
[0017] Optionally, determining the vehicle window or the curtain as the object to be controlled based on the target direction indicated by the control signal includes:
[0018] If the target direction indicated by the control signal is the opening direction, then the curtain is identified as the object to be controlled;
[0019] If the target direction indicated by the control signal is the closing direction, then the window is identified as the object to be controlled.
[0020] Optionally, when the vehicle window is the object to be controlled, controlling the object to be controlled to move in the target direction indicated by the control signal includes:
[0021] After driving the curtain to its limit position in the opening direction, control the window to move in the target direction.
[0022] Optionally, when the curtain is the object to be controlled and the target direction indicated by the control signal is the closing direction, controlling the object to be controlled to move in the target direction indicated by the control signal includes:
[0023] After driving the window to its extreme position in the closing direction, the curtain is controlled to move in the target direction.
[0024] Optionally, if the control signal is of the first type, the method further includes, before driving the window to its extreme position in the closing direction:
[0025] Drive the curtain to its extreme position in the opening direction.
[0026] A second aspect of this application provides a control system for vehicle windows and curtains, comprising:
[0027] A judgment module is used to determine the type of the control signal in response to the triggered control signal;
[0028] The first decision module is used to determine the object to be controlled from the car window and the curtain according to the controlled object indicated by the control signal when the type is the first type.
[0029] The second decision module is used to determine the object to be controlled from the window and the curtain based on the current position of the window and the current position of the curtain when the type is the second type.
[0030] The execution module controls the object to be controlled to move in the target direction indicated by the control signal;
[0031] The first type is a control signal type that controls the window or the curtain individually; the second type is a control signal type that controls both the window and the curtain in combination.
[0032] A third aspect of this application provides a computer-readable storage medium having a computer program stored thereon, the program being executed by a processor to implement the steps of the control method for vehicle windows and curtains described in the first aspect of this application.
[0033] A fourth aspect of this application provides a vehicle including the control system for the windows and curtains described in the second aspect of this application.
[0034] This application provides a method, system, storage medium, and vehicle for controlling vehicle windows and curtains. The method includes: in response to a triggered control signal, determining the type of the control signal; if the type is a first type, determining a controllable object from the vehicle window and the curtain according to the control object indicated by the control signal; if the type is a second type, determining the controllable object from the vehicle window and the curtain according to the current position of the vehicle window and the current position of the curtain; controlling the controllable object to move in the target direction indicated by the control signal; wherein, the first type is a control signal type that controls the vehicle window or the curtain alone; and the second type is a control signal type that controls both the vehicle window and the curtain.
[0035] Upon receiving a control signal, this application determines whether the user needs to continuously operate to control the windows and curtains by identifying the type of the control signal. If the control signal is identified as a second type of control signal, it is determined that the user needs to continuously operate. Furthermore, based on the current positions of the windows and curtains, it determines the object to be controlled by the user triggering the second type of control signal. This application achieves control of both the windows and curtains by sequentially triggering the same type of control signal when continuous operation is required, avoiding the need to switch back and forth between window and curtain control buttons, thus simplifying the user's control process. Attached Figure Description
[0036] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 This is a step diagram of a method for controlling car windows and curtains provided in an embodiment of this application;
[0038] Figure 2 This is a flowchart illustrating the steps of a method for controlling vehicle windows and curtains to determine the object to be controlled, as provided in an embodiment of this application.
[0039] Figure 3 This is a flowchart of a method for controlling vehicle windows and curtains provided in an embodiment of this application;
[0040] Figure 4 This is a control strategy diagram of a first type of control signal for a vehicle window, provided in an embodiment of this application;
[0041] Figure 5 This application provides a control strategy diagram for a first type of control signal where the object to be controlled is a curtain.
[0042] Figure 6 This is a control strategy diagram for a second type of control signal provided in an embodiment of this application;
[0043] Figure 7 This is a schematic diagram of the structure of a control system for vehicle windows and curtains provided in an embodiment of this application. Detailed Implementation
[0044] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0045] The first aspect of this application provides an embodiment, such as... Figure 1 The step diagram illustrates a method for controlling vehicle windows and curtains, the method being applied to a central controller, including:
[0046] Step S101: In response to the triggered control signal, determine the type of the control signal.
[0047] A control signal is a signal triggered by the user to control the movement of vehicle windows or curtains. When a user needs to control the windows and curtains, the control signal can be triggered in various ways, such as through a window and / or curtain controller connected to the central controller, or through a personal terminal connected to the central controller.
[0048] There are two types of control signals: Type 1 and Type 2. Type 1 refers to control signals used to control a window or curtain individually, while Type 2 refers to control signals used to control both windows and curtains simultaneously. In simpler terms, Type 1 control signals are triggered when the user only needs to control either the window or the curtain; Type 2 control signals are triggered when the user needs to continuously control both the window and the curtain.
[0049] For example, if a user has no specific requirement for the position of the curtains but only wants to control the movement of the car window, then triggering a first-type control signal can control only the position of the window. Alternatively, if a user wants to control both the window and the curtains continuously, then triggering a second-type control signal can provide combined control of both.
[0050] If the control signal type is type 1, proceed to step S102; if the control signal type is type 2, proceed to step S103.
[0051] Step S102: If the type is the first type, determine the object to be controlled from the car window and the curtain according to the control object indicated by the control signal.
[0052] When the control signal type is type 1, the object to be controlled is determined from the window and curtain according to the control signal indicated in the control signal. The object to be controlled refers to the window or curtain that will be moved under the drive of the control signal, and the object to be controlled reflects the user's control intention.
[0053] When the control signal type is Type 1, it indicates that the user wishes to control either the window or the curtain. In one specific implementation, the user can trigger a control signal indicating the window or curtain as the control object via a single-use window controller or a single-use curtain controller connected to the central controller. Specifically, when the user triggers a control signal indicating the window as the control object via the single-use window controller, the window is identified as the object to be controlled; when the user triggers a control signal indicating the curtain as the control object via the single-use curtain controller, the curtain is identified as the object to be controlled.
[0054] Step S103: In the case of the second type, the object to be controlled is determined from the window and the curtain based on the current position of the window and the current position of the curtain.
[0055] When the control signal type is the second type, since the second type of control signal is a control signal issued by the composite control window and curtain button for composite control of the window and curtain, it is necessary to further determine the user's control intention based on the current position of the window and the current position of the curtain, and then determine the object to be controlled based on the user's control intention. The composite control window and curtain button refers to a single button that can realize the control of the window and curtain.
[0056] In one specific implementation, the current positions of the window and the curtain can be obtained through window position sensors and curtain position sensors connected to the central controller. Specifically, if the window position sensor is a Hall sensor, the current position of the window can be determined by measuring the number of rotation cycles of the window lifting motor. Similarly, the curtain position sensor can also be a Hall sensor, and the current position of the curtain can be determined using the same principle as the window position sensor.
[0057] The current position of the car window and curtain can be divided into three situations: the extreme position in the opening direction, the extreme position in the closing direction, and the position between the extreme positions in the opening and closing directions. For ease of description, in this application, the extreme position in the opening direction will be described as the fully open position; the extreme position in the closing direction will be described as the fully closed position; and the position between the extreme positions in the opening and closing directions will be described as the half-open position.
[0058] Taking a common type of curtain and car window that opens and closes vertically as an example, when the car window moves downward, it moves in the opening direction. When the car window is at its maximum downward position, it is in the fully open position. When the car window moves upward, it moves in the closing direction. When the car window is at its maximum upward position, it is in the fully closed position. When the car window is between its maximum downward and maximum upward positions, it is in the half-open position.
[0059] Similarly, moving the curtain downwards means moving it in the opening direction. When the curtain is at its lowest downward position, it is fully open. Moving the curtain upwards means moving it in the closing direction. When the curtain is at its highest upward position, it is fully closed. When the curtain is between its lowest downward and highest upward positions, it is partially open.
[0060] When a user intends to continuously control the movement of the car windows and curtains, the system first observes whether the current position of the window or curtain matches the user's expected position. If the current position does not match the user's expectation, a second type of control signal is triggered to move the window and curtain to the expected position. Therefore, when the control signal type is second type, the object to be controlled can be determined based on the current position of the window and curtain.
[0061] Step S104: Control the object to be controlled to move in the target direction indicated by the control signal.
[0062] After the object to be controlled is determined, the central controller sends a drive signal to the drive motor of the object, thereby determining that the object to be controlled moves in the target direction indicated by the control signal. The target direction indicated by the control signal includes both a closing direction and an opening direction. For ease of description, a control signal indicating a closing direction can be called a closing signal, and a control signal indicating an opening direction can be called an opening signal.
[0063] In this embodiment, upon receiving a control signal, the type of the control signal is identified to determine whether the user needs to continuously operate to control the windows and curtains. If the control signal is identified as a second type of control signal, it is determined that the user needs to continuously operate. Furthermore, based on the current positions of the windows and curtains, the system determines the object to be controlled by the user triggering the second type of control signal. This embodiment, when continuous operation is required, achieves the effect of controlling both the windows and curtains by sequentially triggering the same type of control signal, avoiding the need to switch back and forth between window and curtain control buttons, thus simplifying the user's control process.
[0064] The second aspect of this application provides an embodiment, such as Figure 2 The flowchart illustrates a method for determining the control object of a vehicle window and curtain. When the control signal type is type two, the method for determining the control object includes:
[0065] Step S201: Determine whether the current position of the window and the current position of the curtain are the target positions, wherein the target position is the extreme position corresponding to the target direction indicated by the control signal.
[0066] The target position is the extreme position of the movement direction indicated by the control signal. When the movement direction indicated by the control signal is the opening direction, the target position is the fully open position; when the movement direction indicated by the control signal is the closing direction, the target position is the fully closed position.
[0067] The target direction indicated by the control signal represents the user's desired direction of movement for the windows and curtains. When the user sends a control signal with the target direction being the opening direction, it indicates that the user currently expects the window or curtain to move in the opening direction; when the user sends a control signal with the target direction being the closing direction, it indicates that the user currently expects the window or curtain to move in the opening direction.
[0068] Based on this, the target object that the user expects to control when issuing the second type of control signal can be determined by whether the car window and curtain are currently at the extreme position of the target direction indicated by the control signal.
[0069] Step S202: The vehicle window and / or the curtain that are not in the target position are identified as the objects to be controlled.
[0070] If the window and / or curtains are not in the target position, it indicates that their current position does not meet the user's expectations, and the user's intention in issuing the control signal should be to adjust the current position of the window and / or curtains to the desired position. Therefore, when a second type of control signal is received, the current position of either the window or the curtain that is not in the target position should be adjusted to the desired position; that is, the window or curtain that is not in the target position should be identified as the object to be controlled.
[0071] When the car window is fully open, but the curtain is not fully open (i.e., fully closed or half open), if the user sends a control signal indicating the target direction as the opening direction, since the car window is already fully open and cannot move further in the opening direction, while the curtain is not fully open and can continue to move in the opening direction, it indicates that the user's current control intention is to control the curtain to move in the opening direction, that is, the object to be controlled is the curtain.
[0072] When the car window is not fully open, but the curtain is fully open, if the user sends a control signal indicating the target direction as the opening direction, since the curtain is already fully open and cannot move further in the opening direction, while the car window is not fully open and can continue to move in the opening direction, it indicates that the user's current control intention is to control the car window to move in the opening direction, that is, the controlled object is the car window.
[0073] When the car window is not fully open and the curtain is not fully open, if the user sends a control signal indicating the target direction as the opening direction, since neither the curtain nor the car window is fully open at this time, it can continue to move in the opening direction. This indicates that the user's current control intention is to control either or both of the curtain and the car window to move in the opening direction, that is, the objects to be controlled are the car window and / or the curtain.
[0074] Similarly, when the car window is in the fully closed position, but the curtain is not in the fully closed position (i.e., in the fully open or half-open position), if the user sends a control signal indicating that the target direction is the closing direction, since the car window is already in the fully closed position and cannot continue to move in the closing direction, while the curtain is not in the fully closed position and can continue to move in the closing direction, it indicates that the user's current control intention is to control the curtain to move in the closing direction, that is, the object to be controlled is the curtain.
[0075] When the car window is not in the fully closed position, but the curtain is in the fully closed position, if the user sends a control signal indicating that the target direction is the closing direction, since the curtain is already in the fully closed position and cannot continue to move in the closing direction, while the car window is not in the fully closed position and can continue to move in the closing direction, it indicates that the user's current control intention is to control the car window to move in the closing direction, that is, the object to be controlled is the car window.
[0076] When the car window is not fully closed and the curtain is not fully closed, if the user sends a control signal indicating the target direction as the closing direction, since neither the curtain nor the car window is fully closed at this time, it can continue to move in the closing direction. This indicates that the user's current control intention is to control either or both of the curtain and the car window to move in the closing direction, that is, the objects to be controlled are the car window and / or the curtain.
[0077] In summary, when the target direction indicated by the control signal is the opening direction, if the window is in the fully open position but the curtain is not in the fully open position, the curtain is identified as the object to be controlled; if the window is not in the fully open position but the curtain is in the fully open position, the window is identified as the object to be controlled; if the window is not in the fully open position and the curtain is not in the fully open position, both the window and / or the curtain are identified as the objects to be controlled.
[0078] Similarly, when the target direction indicated by the control signal is the closing direction, if the window is in the fully closed position but the curtain is not in the fully closed position, the curtain is identified as the object to be controlled; if the window is not in the fully closed position but the curtain is in the fully closed position, the window is identified as the object to be controlled; if the window is not in the fully closed position and the curtain is not in the fully closed position, the window and / or the curtain are identified as the objects to be controlled.
[0079] Optionally, step S202, determining the vehicle window and / or the curtain that are not in the target position as the object to be controlled, includes:
[0080] Scenario 1: If either the car window or the curtain is not in the target position, then the car window or the curtain that is not in the target position is identified as the object to be controlled.
[0081] If either the car window or the curtain is not in the target position, then only one of their current positions does not meet the user's expectations, and the object to be controlled is clearly defined. Therefore, if either the car window or the curtain is not in the target position, the one not in the target position can be directly identified as the object to be controlled.
[0082] Scenario 2: If neither the car window nor the curtain is in the target position, then the car window or the curtain is identified as the object to be controlled according to the target direction indicated by the control signal.
[0083] If neither the window nor the curtain is in the target position, and their current positions do not meet the user's expectations, the object to be controlled is the window and / or the curtain. However, it is unclear whether the user intends to control either the window or the curtain, or both, when triggering the control signal. Therefore, when neither the window nor the curtain is in the target position, it is necessary to further clarify the object to be controlled.
[0084] Considering that the movement direction of the car window is restricted by the window rails, and curtains are usually made of soft fabric, the curtain fabric can easily be pulled into the rails during window movement, causing damage. Furthermore, window and curtain control typically occurs while the vehicle is in motion; if the curtains are closed before the window is fully closed, they are easily damaged by wind. Therefore, to ensure the integrity of the curtains, the target object to be controlled can be further clarified based on the target direction indicated by the control signal, thus ensuring the safety of the curtains during window movement or movement.
[0085] Optionally, step S202, case one: determining the vehicle window or the curtain as the object to be controlled according to the target direction indicated by the control signal, includes:
[0086] Target direction 1: If the target direction indicated by the control signal is the opening direction, then the curtain is identified as the object to be controlled.
[0087] The movement direction of the car window is restricted by the window rails, while curtains are usually made of soft fabric. During the movement of the car window, the curtain fabric can easily be pulled into the rails, causing damage. Therefore, to ensure the integrity of the curtains and prevent damage during movement, if neither the window nor the curtains are in the target position, the curtains should first be controlled to move in the opening direction to the fully open position. This allows the curtain fabric to be completely retracted into the car body, preventing the window from pulling on the curtains and causing damage as it moves in the opening direction. Therefore, if the target direction indicated by the control signal is the opening direction, the curtains are identified as the object to be controlled.
[0088] Target direction two: If the target direction indicated by the control signal is the closing direction, then the window is identified as the object to be controlled.
[0089] Since window and curtain controls typically occur while the vehicle is in motion, closing curtains before the windows are fully closed can easily lead to damage from wind. Therefore, to prevent damage from wind damage caused by partially closed windows, the windows should be moved towards the closing direction first. Thus, if the control signal indicates the closing direction, the window is identified as the object to be controlled.
[0090] Optionally, if the window is the object to be controlled, step S104 includes: after driving the curtain to move to the limit position of the opening direction, controlling the window to move towards the target direction.
[0091] The direction of movement of a car window is restricted by window rails, while curtains are usually made of soft fabric. During window movement, the curtain fabric can easily be pulled into the rails, causing damage. Therefore, when the window is the object to be controlled, regardless of whether it moves in the opening or closing direction, the curtains must first be moved to their maximum opening position to ensure the curtain fabric is completely retracted into the car body, preventing damage caused by the window pulling on the curtains during movement.
[0092] Optionally, if the curtain is the object to be controlled and the target direction indicated by the control signal is the closing direction, step S104 includes: after driving the window to move to the limit position of the closing direction, controlling the curtain to move towards the target direction.
[0093] Since window and curtain controls typically occur while the vehicle is in motion, closing curtains before the windows are fully closed can easily lead to damage from the wind. Therefore, to prevent damage from the wind after the curtains are fully closed, when the control signal indicates the closing direction, the windows should be moved towards the closing direction to the fully closed position first. This prevents the curtains from being damaged by the wind during the movement towards the closing direction.
[0094] Optionally, if the type of the control signal is the first type, the curtain is the object to be controlled, and the target direction indicated by the control signal is the closing direction, step S104 includes: before driving the window to move to the limit position of the closing direction, driving the curtain to move to the limit position of the opening direction.
[0095] When the control signal type is Type 1, to prevent the curtains from getting caught in the window rails, the curtains should be moved to the opening direction's limit position before the window is moved to its closing position. That is, first move the curtains to the opening direction's limit position, then move the window to the closing direction's limit position, and finally control the curtains to move in the target direction.
[0096] A third aspect of this application provides an embodiment, such as... Figure 3 A flowchart illustrating a method for controlling vehicle windows and curtains is shown, the method comprising:
[0097] In response to a user-triggered control signal, the type of the control signal is determined. If the control signal is of type 1, the object to be controlled is identified from the car window and curtains based on the object indicated by the control signal.
[0098] When the control signal type is type two, the object to be controlled is determined from the window and the curtain based on the current position of the curtain and the vehicle. Specifically, based on the current position of the window and the curtain, it is determined whether neither the window nor the curtain is in the target position. If neither is in the target position, that is, if one of the window and the curtain is not in the target position, then the one not in the target position is determined as the object to be controlled. If neither is in the target position, then the object to be controlled is determined based on the target direction. Specifically, determining the object to be controlled based on the target direction includes: when the target direction is the closing mode, the window is determined as the object to be controlled; when the target direction is the opening direction, the curtain is determined as the object to be controlled.
[0099] After identifying the object to be controlled, the object is controlled to move in the target direction. This control includes: if the window is the object to be controlled, after moving the curtain to its maximum position in the opening direction, controlling the window to move in the target direction; if the curtain is the object to be controlled and the target direction indicated by the control signal is the closing direction, after moving the window to its maximum position in the closing direction, controlling the curtain to move in the target direction.
[0100] Specifically, such as Figure 4 The diagram illustrates a control strategy for a vehicle window as the object to be controlled, based on a first-type control signal. When the control signal type is first-type, if the object to be controlled is a vehicle window, the movement actions of the window and curtain triggered by the control signal include:
[0101] When the control signal is a shutdown signal:
[0102] When the curtains are not in the fully open position, after the curtains are moved to the fully open position, the windows are moved in the closing direction.
[0103] When the curtains are fully open, drive the window to close.
[0104] When the control signal is an enable signal:
[0105] When the curtains are not in the fully open position, after the curtains are moved to the fully open position, the window is moved in the opening direction.
[0106] When the curtains are fully open, drive the window to move in the opening direction.
[0107] like Figure 5 The diagram illustrates a control strategy for a first-type control signal where the controlled object is a curtain. When the control signal type is first-type, if the controlled object is a curtain, the actions of the car window and the curtain triggered by the control signal include:
[0108] When the control signal is a shutdown signal:
[0109] When the car window is in the fully closed position, the curtain is driven to move in the closing direction.
[0110] If the curtains are fully open when the car window is not fully closed, to avoid damage to the curtains from the wind, move the car window towards the closing direction first, then move the curtains towards the closing direction. If the curtains are not fully open, to avoid damage to the curtains from moving the car window, first move the curtains to the fully open position, then move the car window towards the closing direction, and finally move the curtains towards the closing direction.
[0111] When the control signal is an enable signal:
[0112] When the curtains are not fully open, drive the curtains to move in the opening direction.
[0113] When the curtains are fully open, the curtains remain in their current position.
[0114] like Figure 6 The diagram illustrates a control strategy for a second type of control signal. When the control signal is of the second type, the strategy for determining the object to be controlled based on the current position of the windows and curtains, and for driving the object to be controlled to move, includes:
[0115] When the control signal is a shutdown signal:
[0116] When the car window is in the fully closed position, but the curtain is not in the fully closed position (i.e., in the fully open or half-open position), the object to be controlled is the curtain, and the curtain is controlled to move in the closing direction.
[0117] When the car window is not in the fully closed position, but the curtain is in the fully closed position, the object to be controlled is determined to be the car window. In order to prevent the car window from damaging the curtain during the movement, the curtain is first driven to move in the opening direction to the fully open position, and then the car window is driven to close.
[0118] When the car window is not in the fully closed position and the curtain is not in the fully closed position, the object to be controlled is determined to be the car window. In order to prevent the car window from damaging the curtain during the movement, the curtain is first driven to move in the opening direction to the fully open position, and then the car window is driven to close.
[0119] When both the car windows and curtains are fully closed, and there is no object to be controlled, no action is taken, and both the car windows and curtains remain in their current positions.
[0120] When the control signal is an enable signal:
[0121] When the car window is fully open but the curtain is not fully open (i.e., fully closed or half open), the object to be controlled is determined to be the curtain, and the curtain is driven to move in the opening direction.
[0122] When the car window is not in the fully open position (i.e., in the fully closed or half-open position), while the curtain is in the fully open position, the object to be controlled is determined to be the car window, and the car window is driven to move in the opening direction.
[0123] When the car window is not fully open and the curtain is not fully open, in order to avoid damage to the curtain caused by the movement of the car window, the curtain is identified as the controlled object and is driven to move in the opening direction.
[0124] When both the car windows and curtains are fully open, and there is no object to be controlled, no action is taken, and both the car windows and curtains remain in their current positions.
[0125] The fourth aspect of this application provides an embodiment, such as Figure 7 The schematic diagram shown illustrates the structure of a control system for vehicle windows and curtains, which includes:
[0126] A judgment module is used to determine the type of the control signal in response to the triggered control signal;
[0127] The first decision module is used to determine the object to be controlled from the car window and the curtain according to the controlled object indicated by the control signal when the type is the first type.
[0128] The second decision module is used to determine the object to be controlled from the window and the curtain based on the current position of the window and the current position of the curtain when the type is the second type.
[0129] The execution module controls the object to be controlled to move in the target direction indicated by the control signal;
[0130] The first type is a control signal type that controls the window or the curtain individually; the second type is a control signal type that controls both the window and the curtain in combination.
[0131] Optionally, the second decision module is further configured to determine whether the current position of the window and the current position of the curtain are target positions, wherein the target position is the extreme position corresponding to the target direction indicated by the control signal; and to determine the window and / or the curtain that are not in the target position as the objects to be controlled.
[0132] Optionally, the second decision module is further configured to, if either the window or the curtain is not in the target position, determine the window or the curtain that is not in the target position as the object to be controlled; if neither the window nor the curtain is in the target position, determine the window or the curtain as the object to be controlled according to the target direction indicated by the control signal.
[0133] Optionally, the second decision module is further configured to determine the curtain as the object to be controlled if the target direction indicated by the control signal is the opening direction; and to determine the car window as the object to be controlled if the target direction indicated by the control signal is the closing direction.
[0134] Optionally, if the window is the object to be controlled, the execution module is further configured to control the window to move toward the target direction after driving the curtain to move to the extreme position of the opening direction.
[0135] Optionally, if the curtain is the object to be controlled and the target direction indicated by the control signal is the closing direction, the execution module is further configured to control the curtain to move towards the target direction after driving the window to the extreme position of the closing direction.
[0136] Optionally, if the control signal is of the first type, the execution module is further configured to drive the curtain to move to the extreme position of the opening direction.
[0137] This application also provides a computer-readable storage medium storing a computer program / instructions thereon, which, when executed by a processor, implements a method for controlling vehicle windows and curtains as disclosed in this application.
[0138] This application also provides a vehicle, including a window and curtain control system provided in this application.
[0139] In this embodiment, upon receiving a control signal, the type of the control signal is identified to determine whether the user needs to continuously operate to control the windows and curtains. If the control signal is identified as a second type of control signal, it is determined that the user needs to continuously operate. Furthermore, based on the current positions of the windows and curtains, the system determines the object to be controlled by the user triggering the second type of control signal. This embodiment, when continuous operation is required, achieves the effect of controlling both the windows and curtains by sequentially triggering the same type of control signal, avoiding the need to switch back and forth between window and curtain control buttons, thus simplifying the user's control process.
[0140] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0141] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, systems, electronic devices, and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0142] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0144] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.
[0145] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes the element.
[0146] The foregoing has provided a detailed description of a method, system, storage medium, and vehicle for controlling vehicle windows and curtains. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method of controlling a window and a curtain, characterized by, The method includes: In response to a triggered control signal, determine the type of the control signal; In the case where the type is the first type, the object to be controlled is determined from the car window and the curtain according to the controlled object indicated by the control signal; In the case of the second type, the object to be controlled is determined from the window and the curtain based on the current position of the window and the current position of the curtain. Control the object to be controlled to move in the target direction indicated by the control signal; The first type is a control signal type that controls the window or the curtain individually; the second type is a control signal type that controls both the window and the curtain in combination.
2. The method of claim 1, wherein, The step of determining the object to be controlled from the vehicle window and the curtain based on the current position of the vehicle window and the curtain includes: Determine whether the current position of the vehicle window and the current position of the curtain are the target positions, wherein the target position is the extreme position corresponding to the target direction indicated by the control signal; The vehicle window and / or the curtain that are not in the target position are identified as the objects to be controlled.
3. The method of claim 2, wherein, The step of identifying the vehicle window and / or the curtain that are not in the target position as the object to be controlled includes: If either the car window or the curtain is not in the target position, then the car window or the curtain that is not in the target position is identified as the object to be controlled. If neither the car window nor the curtain is in the target position, then the car window or the curtain is identified as the object to be controlled according to the target direction indicated by the control signal.
4. The method of claim 3, wherein, The step of identifying the vehicle window or the curtain as the object to be controlled based on the target direction indicated by the control signal includes: If the target direction indicated by the control signal is the opening direction, then the curtain is identified as the object to be controlled; If the target direction indicated by the control signal is the closing direction, then the window is identified as the object to be controlled.
5. The method of claim 1, wherein, When the vehicle window is the object to be controlled, controlling the object to be controlled to move in the target direction indicated by the control signal includes: After driving the curtain to its limit position in the opening direction, control the window to move in the target direction.
6. The method of claim 1, wherein, When the curtain is the object to be controlled and the target direction indicated by the control signal is the closing direction, controlling the object to be controlled to move in the target direction indicated by the control signal includes: After driving the window to its extreme position in the closing direction, the curtain is controlled to move in the target direction.
7. The method of claim 6, wherein, When the control signal is of the first type, the method further includes, before driving the window to its extreme position in the closing direction: Drive the curtain to its extreme position in the opening direction.
8. A control system for vehicle windows and curtains, characterized in that The system includes: The judgment module is used to determine the type of the control signal in response to the triggered control signal; The first decision module is used to determine the object to be controlled from the car window and the curtain according to the controlled object indicated by the control signal when the type is the first type. The second decision module is used to determine the object to be controlled from the window and the curtain based on the current position of the window and the current position of the curtain when the type is the second type. The execution module controls the object to be controlled to move in the target direction indicated by the control signal; The first type is a control signal type that controls the window or the curtain individually; the second type is a control signal type that controls both the window and the curtain in combination.
9. A computer readable storage medium having stored thereon a computer program, characterized in that, When executed by the processor, the program implements the steps of the control method for vehicle windows and curtains as described in any one of claims 1-7.
10. A vehicle characterized by comprising: The system includes the control system for the vehicle windows and curtains as described in claim 8.