Sun-shading curtain control method, device, controller, system and vehicle
By automatically identifying the state of the sunshade and generating control signals, the problems of complex sunshade control and messy user interface are solved, and the automatic control of sunshade is realized, which improves operation convenience and user experience.
Patent Information
- Application Number
- CN202510498753.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2025-07-08
AI Technical Summary
Traditional sunshade control methods lead to large space occupancy of the user interface, messy interface, poor user experience, and complex control.
By automatically identifying the sunshade status and feeding it back to the switch interface, receiving the key operation signal to generate a control signal, and generating sunshade instructions based on the status to realize automatic control of the sunshade.
Simplify sunshade control operations, improve user convenience and improve user experience.
Smart Images

Figure CN120270000A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automotive sunroof sunshades, and particularly to a sunshade control method, device, controller, system and vehicle. Background Art
[0002] With the continuous development of new energy vehicles, more and more in-vehicle displays are installed. Traditional physical button switches are gradually replaced by virtual switches, which become touch switches on the display screen. As the vehicle configuration becomes more and more abundant, the corresponding touch switches are increasing. There are two conventional solutions for this: the first is to arrange the switches in a tiled manner, and the second is to hide the switches in a drop-down menu manner. The former occupies a large interface space, making the display interface crowded and messy, and the user experience is poor. The latter increases the menu level, resulting in a worse user experience. Therefore, in the process of controlling the sunshade, how to simplify the sunshade control to improve the user experience has become an urgent problem to be solved. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a sunshade control method, device, controller, system and vehicle to solve the problem of complex control in the process of controlling the sunshade.
[0004] In a first aspect, embodiments of the present invention provide a sunshade control method, including: Obtaining the sunshade state and feeding back the key state corresponding to the sunshade state to a switch interface including a sunshade key; Receiving a target operation signal, and generating a control signal for controlling the sunshade according to the target operation signal and the sunshade state, where the target operation signal is a signal generated after performing a target operation on the sunshade key based on the key state; Generating a corresponding sunshade command according to the control signal and the sunshade state, and controlling the sunshade according to the sunshade command.
[0005] In a second aspect, embodiments of the present invention provide a sunshade control device, including: A feedback module, configured to obtain the sunshade state and feed back the key state corresponding to the sunshade state to a switch interface including a sunshade key; A generation module, configured to receive a target operation signal, and generate a control signal for controlling the sunshade according to the target operation signal and the sunshade state, where the target operation signal is a signal generated after performing a target operation on the sunshade key based on the key state; A control module, configured to generate a corresponding sunshade command according to the control signal and the sunshade state, and control the sunshade according to the sunshade command.
[0006] In a third aspect, an embodiment of the present invention provides a controller, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the sunshade control method described above is implemented.
[0007] In a fourth aspect, an embodiment of the present invention provides a sunshade control system, which includes a first controller and a second controller. The first controller and the second controller are communicatively connected, and the second controller is connected to the sunshade. The first controller is configured to obtain the state of the sunshade, feedback the key state corresponding to the sunshade state to a switch interface including sunshade keys; receive a corresponding target operation signal generated after a target operation is performed on the sunshade keys on the switch interface based on the sunshade state, and generate a control signal for controlling the sunshade according to the target operation signal and the sunshade state. The second controller is configured to generate a corresponding sunshade instruction according to the control signal and the sunshade state, and control the sunshade according to the sunshade instruction.
[0008] In a fifth aspect, an embodiment of the present invention provides a vehicle, which includes the above-mentioned sunshade control system and a sunshade, and the sunshade control system is connected to the sunshade.
[0009] The beneficial effects of the present invention compared with the prior art are as follows: In this application, after automatically identifying the state of the sunshade, the key state corresponding to the sunshade state is feedback to a switch interface including sunshade keys, a target operation signal generated after a target operation is performed on the sunshade keys based on the key state is received, and a control signal for controlling the sunshade is generated according to the target operation signal and the sunshade state; a corresponding sunshade instruction is generated according to the control signal and the sunshade state, and the sunshade is controlled according to the sunshade instruction. Thereby, the automatic control of the sunshade is realized, the operation of controlling the sunshade is simplified, and the convenience of the operation is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can also obtain other drawings based on these drawings without creative efforts.
[0011] Figure 1 It is a schematic flowchart of a sunshade control method provided in Embodiment 1 of the present invention; Figure 2It is a structural block diagram of a sunshade control device provided in the second embodiment of the present invention; Figure 3 It is a schematic structural diagram of a controller provided in the third embodiment of the present invention; Figure 4 It is a schematic structural diagram of a sunshade control system provided in the fourth embodiment of the present invention; Figure 5 It is a schematic structural diagram of a sunshade control system provided in the fifth embodiment of the present invention; Figure 6 It is a schematic structural diagram of a vehicle provided in the sixth embodiment of the present invention. Detailed implementation manners
[0012] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of the present invention.
[0013] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. However, those skilled in the art should clearly understand that the present invention can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, systems, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present invention.
[0014] It should be understood that when used in the specification and appended claims of the present invention, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.
[0015] It should also be understood that the term "and / or" as used in the specification and appended claims of the present invention refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0016] As used in the specification and appended claims of the present invention, the term "if" can be interpreted as "when", "once", "in response to determining", or "in response to detecting" depending on the context. Similarly, the phrase "if determined" or "if detecting [the described condition or event]" can be interpreted as meaning "once determined", "in response to determining", "once detecting [the described condition or event]", or "in response to detecting [the described condition or event]" depending on the context.
[0017] In addition, in the description of the specification and the appended claims of the present invention, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be construed as indicating or implying relative importance.
[0018] The reference to "one embodiment" or "some embodiments" etc. described in the specification of the present invention means that in one or more embodiments of the present invention, specific features, structures or characteristics described in connection with that embodiment are included. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "comprising", "including", "having" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0019] It should be understood that the magnitudes of the sequence numbers of the steps in the following embodiments do not mean the order of execution is prior or subsequent. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
[0020] In order to illustrate the technical solution of the present invention, the following specific embodiments are used for illustration.
[0021] See Figure 1 , which is a schematic flowchart of a sunshade control method provided by Embodiment 1 of the present invention. As Figure 1 shown, the sunshade control method may include the following steps.
[0022] S101: Obtain the sunshade state, and feedback the key state corresponding to the sunshade state to the switch interface including the sunshade keys.
[0023] In step S101, when obtaining the sunshade state, the sunshade state includes an initialization state, a non-initialization state, a running state and a stationary state. Among them, the initialization state is the state after the sunshade is restored to the factory settings, the non-initialization state is the state after the sunshade is not restored to the factory settings, the running state is the state when the sunshade is in the process of opening or closing, and the stationary state is the state when the sunshade is stationary. The key state is used to characterize the sunshade state, and the key state corresponds to the sunshade state one by one. The key state corresponding to the sunshade state is feedback to the switch interface including the sunshade keys, so as to determine the corresponding sunshade state according to the key state. Among them, the switch interface includes a virtual key for controlling the sunshade.
[0024] In this embodiment, the state of the sunshade is obtained. The state of the sunshade can be sensed by a Hall sensor, and the Hall sensor transmits the sensed state of the sunshade to the corresponding controller. After the controller obtains the corresponding state of the sunshade, it feeds back the key state corresponding to the sunshade state to the switch interface including the sunshade key and displays it on the switch interface. When displaying on the switch interface, the key states corresponding to different sunshade states can be displayed using different key colors, or different pop-up windows can be used to ensure that the user can determine the corresponding sunshade state according to the display content on the switch interface.
[0025] It should be noted that after the key state corresponding to the sunshade state is fed back to the switch interface including the sunshade key, the user can perform corresponding operations on the key according to the prompt of the key state in the switch interface, so as to achieve the purpose of controlling the sunshade.
[0026] In this embodiment, the key state corresponding to the sunshade state is fed back to the switch interface including the sunshade key, so that the user can determine the sunshade state according to the feedback result of the switch interface, without the user having to check the sunshade, and can directly determine the sunshade state, which provides convenience for subsequent operations on the sunshade.
[0027] Optionally, feeding back the key state corresponding to the sunshade state to the switch interface including the sunshade key includes: Judging the state of the sunshade. If the state of the sunshade is a non-initialization state, the key state corresponding to the non-initialization state is fed back to the switch interface including the sunshade key; If the state of the sunshade is an initialization state, a target state is determined from the running state and the stationary state, and the key state corresponding to the sunshade state of the target state is fed back to the switch interface including the sunshade key.
[0028] In this embodiment, the state of the sunshade includes an initialization state, a non-initialization state, a running state, and a stationary state. Among them, the initialization state is the state after the sunshade is restored to the factory settings, the non-initialization state is the state after the sunshade is not restored to the factory settings, the running state is the state during the opening or closing process of the sunshade, and the stationary state is the state when the sunshade is stationary. During the process of feeding back the key state corresponding to the sunshade state to the switch interface including the sunshade key, first judge whether the state of the sunshade is an initialization state. If the state of the sunshade is a non-initialization state, the non-initialization state is fed back to the switch interface including the sunshade key. When the non-initialization state is displayed on the switch interface, the brightness of the sunshade key can be changed to display the non-initialization state, such as changing the color of the sunshade key to gray, etc.
[0029] If the sunshade curtain is in the initialization state, determine the target state from the running state and the stationary state, and feedback the key state corresponding to the sunshade curtain state to the switch interface including the sunshade curtain key. For example, if the target state is the running state, feedback the key state corresponding to the running state to the switch interface. When it is displayed on the switch interface, a text prompt can be given. For example, "Sunshade Curtain" at the sunshade curtain key becomes "Pause" to remind the user that the sunshade curtain is in the running state.
[0030] In this embodiment, during the process of feedbacking the key state corresponding to the sunshade curtain state to the switch interface, first determine whether the sunshade curtain state is the initialization state. If it is not the initialization state, directly display it on the switch interface so that after the user obtains the corresponding non-initialization state, they can then determine whether to initialize the sunshade curtain state. If an initialization operation is performed on the sunshade curtain state, after the initialization is completed, further operations can be performed on the sunshade curtain. If it is the initialization state, continue to determine whether the sunshade curtain is in other states, and feedback the key state corresponding to the corresponding state to the switch interface, so that when operating the sunshade curtain key based on the key state, it can ensure that the operation is performed on the basis of initialization, so that the sunshade curtain can successfully complete the corresponding behavior according to the corresponding operation.
[0031] Optionally, feedbacking the key state corresponding to the sunshade curtain state to the switch interface including the sunshade curtain key includes: If the sunshade curtain state is the fully open state, feedback the key state corresponding to the fully open state to the switch interface including the sunshade curtain key; If the sunshade curtain state is the fully closed state, feedback the key state corresponding to the fully closed state to the switch interface including the sunshade curtain key; If the sunshade curtain state is the intermediate state, determine whether the sunshade curtain is automatically retracting. If the sunshade curtain is automatically retracting, determine that the sunshade curtain state is the fault state, and feedback the key state corresponding to the fault state to the switch interface including the sunshade curtain key; If the sunshade curtain is not automatically retracting, determine that the sunshade curtain state is the normal state, and feedback the key state corresponding to the normal state to the switch interface including the sunshade curtain key.
[0032] In this embodiment, the stationary state includes the fully open state, the fully closed state, and the intermediate state. Among them, the fully closed state is the state after the sunshade curtain is fully closed, the fully open state is the state after the sunshade curtain is fully open, and the intermediate state is the state where the sunshade curtain is between fully open and fully closed.
[0033] During the process of feeding back the key state corresponding to the sunshade state to the switch interface including the sunshade key, if the sunshade state is the fully open state, the key state corresponding to the fully open state is fed back to the switch interface including the sunshade key. When it is displayed on the switch interface, the color of the sunshade key can be changed to red to remind the user that the sunshade state is the fully open state and so on. If the sunshade state is the fully closed state, the key state corresponding to the fully closed state is fed back to the switch interface including the sunshade key. When it is displayed on the switch interface, the color of the sunshade key can be changed to blue to remind the user that the sunshade state is the fully closed state.
[0034] If the sunshade state is the intermediate state, that is, the sunshade is between the fully open state and the fully closed state, it is judged whether the sunshade is automatically retracted. If the sunshade is automatically retracted, it is determined that the sunshade state is the fault state, and the key state corresponding to the fault state is fed back to the switch interface including the sunshade key. When it is displayed on the switch interface, the color of the sunshade key can be changed to yellow to remind the user that the sunshade is in the position between fully open and fully closed and is in the fault state. If the sunshade is not automatically retracted, it is determined that the sunshade state is the normal state, and the key state corresponding to the normal state is fed back to the switch interface including the sunshade key. When it is displayed on the switch interface, the color of the sunshade key can be changed to green to remind the user that the sunshade is in the position between fully open and fully closed and is in the normal state.
[0035] In this embodiment, after judging that the sunshade state is the intermediate state, it is further judged whether the sunshade state is the normal state and the fault state, so as to perform different operations according to whether the sunshade operates normally, so as to achieve the purpose of operating the sunshade.
[0036] S102: Receive the target operation signal, generate a control signal for controlling the sunshade according to the target operation signal and the sunshade state, and the target operation signal is a signal generated after performing a target operation on the sunshade key based on the key state.
[0037] In step S102, the target operation signal is received, where the target operation signal is a signal generated after the user performs a target operation on the sunshade key. The target operation includes two types of operations, a short press operation and a long press operation. A control signal for controlling the sunshade is generated according to the target operation signal and the sunshade state. Among them, the same target operation corresponds to different control signals in different sunshade states, and different target operations also correspond to different control signals in the same sunshade state. The control signal is used to generate a sunshade instruction so as to control the sunshade according to the sunshade instruction.
[0038] In this embodiment, after the key state corresponding to the sunshade curtain state is fed back to the switch interface including the sunshade curtain key, the user performs different operations on the sunshade curtain key according to the feedback result, so as to achieve the purpose that the user wants the sunshade curtain to be in the target state. After the user performs the target operation, the corresponding target operation signal is obtained. The control signal for controlling the sunshade curtain is generated according to the target operation signal and the sunshade curtain state. So as to generate the corresponding sunshade curtain command according to the control signal. Among them, in different sunshade curtain states, the same operation signal may generate the same or different control signals.
[0039] In this embodiment, when the user performs different operations on the sunshade curtain key according to the feedback result of the key state, different operations can be performed according to the prompt, that is, the control of the sunshade curtain corresponding to different operations is prompted, so as to achieve the purpose of controlling the sunshade curtain.
[0040] It should be noted that when prompting on the switch interface, a pop-up window can be used for prompting, that is, the control purposes corresponding to different operations are prompted in the pop-up window. So as to facilitate the user to perform the target operation according to the corresponding prompt.
[0041] In this embodiment, the corresponding control signal is generated according to the target operation signal and the sunshade curtain state, taking the sunshade curtain state into consideration, avoiding that in different sunshade curtain states, the same operation generates the same control signal, and the meaning represented by the control signal cannot be distinguished, thus generating an incorrect sunshade curtain command.
[0042] Optionally, the target operation includes a short press operation and a long press operation, and the operation duration of the long press operation is greater than that of the short press operation.
[0043] In this embodiment, the sunshade curtain key in the switch interface is a virtual key, that is, one key is used to control the sunshade curtain. The sunshade curtain key can be located at any position in the switch interface. For example, in the area indicating the sunshade curtain, the sunshade curtain key is led out, or the sunshade curtain display area is the sunshade curtain key. This embodiment does not make a limitation. One virtual key simplifies the key layout of the switch interface, and the user only needs to operate one key, which simplifies the operation of the sunshade curtain key.
[0044] In this embodiment, the target operations include short - press operations and long - press operations. That is, the operations on the sunshade include two types of operations. Among them, the short - press operation is an operation with a relatively short operation time on the sunshade button, and the long - press operation is an operation with a relatively long operation time on the sunshade button. The operation durations of the short - press operation and the long - press operation on the button are different, and the operation duration of the short - press operation is less than that of the long - press operation. In this embodiment, the operation duration of the short - press operation is within the first preset duration range, and the operation duration of the long - press operation is within the second preset duration range. Among them, the maximum value of the first preset duration range is less than the minimum value of the second preset duration range. For example, the first preset duration range is [45ms, 350ms), and the second preset duration range is greater than or equal to 10s. When the duration of the target operation is greater than 45ms and less than 350ms, it is determined as a short - press operation. When the duration of the target operation is greater than 10s, it is determined as a long - press operation.
[0045] It should be noted that when the operation duration on the sunshade button is less than the minimum value of the first preset duration range, it is considered an anti - shake press, and the operation is not responded to. When the operation duration on the sunshade button is between the maximum value of the first preset duration range and the minimum value of the second preset duration range, that is, between [350ms, 10s), it is considered a long - and - short press, and the operation is not responded to.
[0046] In this embodiment, the short - press operation is a normal on - off operation, and the long - press operation is a conventional function operation. For example, in the fully closed state, when a short - press operation is performed on the sunshade button, the sunshade runs automatically to the fully open state. In the fully open state, when a short - press operation is performed on the sunshade button, the sunshade runs automatically to the fully closed state, etc. In the fully closed state, when a long - press operation is performed on the sunshade button, the sunshade is manually initialized. In the fully open state, when a long - press operation is performed on the sunshade button, the sunshade is manually initialized, etc.
[0047] In this embodiment, two operations are used to alternately operate the sunshade button, enabling the sunshade to achieve state conversion between different states, which simplifies the operation steps.
[0048] Optionally, for any sunshade state, the control signal includes a first control signal and a second control signal; Generating a control signal for controlling the sunshade according to the target operation signal and the sunshade state includes: For any sunshade state, if the target operation is a short - press operation, a first control signal for controlling the sunshade is generated based on the corresponding target operation signal generated after the short - press operation and the sunshade state; If the target operation is a long - press operation, a second control signal for controlling the sunshade is generated based on the corresponding target operation signal generated after the long - press operation and the sunshade state.
[0049] In this embodiment, for any sunshade state, the control signal includes a first control signal and a second control signal. That is, if the target operation is a short press operation, a first control signal for controlling the sunshade is generated based on the corresponding target operation signal generated after the short press operation and the sunshade state; if the target operation is a long press operation, a second control signal for controlling the sunshade is generated based on the corresponding target operation signal generated after the long press operation and the sunshade state. Among them, the first control signal and the second control signal are control signals with different durations. The first control signal and the second control signal can be signals with the same identifier or signals with different identifiers.
[0050] In this embodiment, under the corresponding sunshade state, different operations generate different control signals to distinguish the corresponding operations, so as to generate corresponding sunshade commands according to different control signals, and the sunshade can be controlled more accurately.
[0051] S103: Generate a corresponding sunshade command according to the control signal and the sunshade state, and control the sunshade according to the sunshade command.
[0052] In step S103, a corresponding sunshade command is generated according to the control signal and the sunshade state, and the sunshade is controlled according to the sunshade command. Among them, the sunshade command includes a command for controlling the operation of the sunshade and a non-response command.
[0053] In this embodiment, a corresponding sunshade command is generated according to the control signal and the sunshade state. Among them, the sunshade command may include a non-response command, a manual initialization command, a running pause command, an automatic full-open running command, an automatic full-close running command, a manual full-close running command, a manual de-initialization command, an automatic full-close and retraction command, a manual full-close and retraction command, etc.
[0054] Among them, the non-response command is a command for the sunshade not to react to the sunshade; the manual initialization command is a command for controlling the sunshade to perform a forced initialization action; the running pause command is a command for controlling the sunshade to pause; the automatic full-open running command is a command for controlling the running direction of the sunshade to be the open direction; the automatic full-close running command is a command for controlling the running direction of the sunshade to be the closed direction; the manual full-close running command is a command for controlling the sunshade to perform a forced closing action; the manual de-initialization command is a command for controlling the sunshade to forcibly remove the initialization; the automatic full-close and retraction command is a command for controlling the running direction of the sunshade to be the closed direction and then controlling the sunshade to retract; the manual full-close and retraction command is a command for controlling the sunshade to perform a forced closing action and then controlling the sunshade to retract.
[0055] It should be noted that in the corresponding sunshade state, the control signal corresponds to the sunshade command, that is, for any sunshade state, the first control signal corresponds to one sunshade command, and the second control signal corresponds to another sunshade command. In different sunshade states, the sunshade commands corresponding to different control signals can be the same sunshade command. The sunshade commands corresponding to the same control signal can also be different sunshade commands, which are not limited in this embodiment.
[0056] For example, in the uninitialized state, the first control signal generated based on a short press operation is the signal of SR_SunshadeOpeCtr = 3 and ACU_IDCSunshadeOpenSwSt = 1, and the corresponding sunshade instruction is a non-response instruction. The second control signal generated based on a long press operation is the signal of continuously sending SR_SunshadeOpeCtr = 3 and ACU_IDCSunshadeOpenSwSt = 1, and the corresponding sunshade instruction is a manual initialization instruction. Among them, the duration of the first control signal is within the first preset duration range, and the duration of the second control signal is within the second preset duration range. In the running state, the first control signal generated based on a short press operation is the signal of SR_SunshadeOpeCtr = 1 and ACU_IDCSunshadeClosenSwSt = 1, and the corresponding sunshade instruction is a running pause instruction. The second control signal generated based on a long press operation is the signal of continuously sending SR_SunshadeOpeCtr = 1 and ACU_IDCSunshadeClosenSwSt = 1, and the corresponding sunshade instruction is a non-response instruction. Among them, the duration of the first control signal is within the first preset duration range, and the duration of the second control signal is within the second preset duration range. In the fully closed state, the first control signal generated based on a short press operation is the signal of SR_SunshadeOpeCtr = 3 and ACU_IDCSunshadeOpenSwSt = 1, and the corresponding sunshade instruction is an automatic fully open running instruction. The second control signal generated based on a long press operation is the signal of continuously sending SR_SunshadeOpeCtr = 3 and ACU_IDCSunshadeOpenSwSt = 1, and the corresponding sunshade instruction is a manual initialization instruction. Among them, the duration of the first control signal is within the first preset duration range, and the duration of the second control signal is within the second preset duration range. In the fully open state, the first control signal generated based on a short press operation is the signal of SR_SunshadeOpeCtr = 2 and ACU_IDCSunshadeOpenSwSt = 1, and the corresponding sunshade instruction is an automatic fully closed running instruction. The second control signal generated based on a long press operation is the signal of continuously sending SR_SunshadeOpeCtr = 2 and ACU_IDCSunshadeOpenSwSt = 1, and the corresponding sunshade instruction is a manual de-initialization instruction. Among them, the duration of the first control signal is within the first preset duration range, and the duration of the second control signal is within the second preset duration range.In the normal state, the first control signal generated based on a short press operation is a signal with SR_SunshadeOpeCtr = 2 and ACU_IDCSunshadeClosenSwSt = 1. The corresponding sunshade instruction is an automatic full-close operation instruction. The second control signal generated based on a long press operation is a continuous signal with SR_SunshadeOpeCtr = 2 and ACU_IDCSunshadeClosenSwSt = 1. The corresponding sunshade instruction is a manual full-close operation instruction. Among them, the duration of the first control signal is within the first preset duration range, and the duration of the second control signal is within the second preset duration range. In the fault state, the first control signal generated based on a short press operation is a signal with SR_SunshadeOpeCtr = 2 and ACU_IDCSunshadeClosenSwSt = 1. The corresponding sunshade instruction is an automatic full-close and retract instruction. The second control signal generated based on a long press operation is a continuous signal with SR_SunshadeOpeCtr = 2 and ACU_IDCSunshadeClosenSwSt = 1. The corresponding sunshade instruction is a manual full-close and retract instruction. Among them, the duration of the first control signal is within the first preset duration range, and the duration of the second control signal is within the second preset duration range.
[0057] In this embodiment, a corresponding sunshade instruction is generated according to the control signal and the sunshade state, and the sunshade is controlled according to the sunshade instruction, so as to achieve the purpose of automatically controlling the sunshade according to the sunshade instruction, avoiding the viewing operation when the user controls the sunshade, and realizing the automatic control of the sunshade.
[0058] In this application, after automatically identifying the sunshade state, the key state corresponding to the sunshade state is fed back to the switch interface including the sunshade key, and the target operation signal generated after performing a target operation on the sunshade key on the switch interface based on the key state is received. A control signal for controlling the sunshade is generated according to the target operation signal and the sunshade state; a corresponding sunshade instruction is generated according to the control signal and the sunshade state, and the sunshade is controlled according to the sunshade instruction. Thus, the automatic control of the sunshade is realized, the operation of controlling the sunshade is simplified, and the convenience of the operation is improved.
[0059] See Figure 2 , Figure 2 FIG. is a structural block diagram of a sunshade control device provided in Embodiment 2 of the present invention. For the sake of convenience of description, only the parts related to the embodiments of the present application are shown. See Figure 2 FIG., the sunshade control device 20 includes a feedback module 21, a generation module 22, and a control module 23.
[0060] The feedback module 21 is used to obtain the state of the sunshade, and feed back the key state corresponding to the sunshade state to the switch interface including the sunshade key.
[0061] The generation module 22 is used to receive the target operation signal, and generate a control signal for controlling the sunshade according to the target operation signal and the sunshade state. The target operation signal is a signal generated after performing a target operation on the sunshade key based on the key state.
[0062] The control module 23 is used to generate a corresponding sunshade instruction according to the control signal and the sunshade state, and control the sunshade according to the sunshade instruction.
[0063] Optionally, the above feedback module 21 includes: The first judgment unit is used to judge the sunshade state. If the sunshade state is a non-initialization state, the key state corresponding to the non-initialization state is fed back to the switch interface including the sunshade key.
[0064] The second judgment unit is used to, if the sunshade state is an initialization state, determine the target state from the running state and the stationary state, and feed back the key state corresponding to the target state of the sunshade state to the switch interface including the sunshade key.
[0065] Optionally, the above feedback module 21 further includes: The third judgment unit is used to, if the sunshade state is a fully open state, feed back the key state corresponding to the fully open state to the switch interface including the sunshade key.
[0066] The fourth judgment unit is used to, if the sunshade state is a fully closed state, feed back the key state corresponding to the fully closed state to the switch interface including the sunshade key.
[0067] The fifth judgment unit is used to, if the sunshade state is an intermediate state, judge whether the sunshade is automatically retracted. If the sunshade is automatically retracted, it is determined that the sunshade state is a fault state, and the key state corresponding to the fault state is fed back to the switch interface including the sunshade key.
[0068] The sixth judgment unit, if the sunshade is not automatically retracted, determines that the sunshade state is a normal state, and feeds back the key state corresponding to the normal state to the switch interface including the sunshade key.
[0069] Optionally, the above generation module 22 includes: The first generation unit is used for any sunshade state. If the target operation is a short press operation, a first control signal for controlling the sunshade is generated based on the corresponding target operation signal generated after the short press operation and the sunshade state.
[0070] A second generation unit, configured to, if the target operation is a long - press operation, generate a second control signal for controlling the sunshade based on the target operation signal generated after the long - press operation and the state of the sunshade.
[0071] It should be noted that, for the information interaction, execution process, etc. between the above - mentioned modules, since they are based on the same concept as the method embodiments of this application, for their specific functions and the technical effects brought, reference can be specifically made to the method embodiment part, and details will not be elaborated here.
[0072] Figure 3 It is a schematic structural diagram of a controller provided in Embodiment 3 of the present invention. As Figure 3 shown, the controller of this embodiment includes: at least one processor ( Figure 3 only one is shown in the figure), a memory, and a computer program stored in the memory and executable on at least one processor. When the processor executes the computer program, the steps in any of the above - mentioned method embodiments for controlling the sunshade are implemented.
[0073] The controller may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that Figure 3 this is only an example of the controller and does not constitute a limitation on the controller. The controller may include more or fewer components than those shown in the figure, or combine some components, or different components. For example, it may also include a network interface, a display screen, and an input device, etc.
[0074] The so - called processor may be a CPU, and this processor may also be other general - purpose processors, digital signal processors (DSPs), application - specific integrated circuits (ASICs), field - programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general - purpose processor may be a microprocessor or this processor may also be any conventional processor, etc.
[0075] The memory includes a readable storage medium, an internal memory, etc. Among them, the internal memory can be the memory of the controller, and the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. The readable storage medium can be the hard disk of the controller, and in some other embodiments, it can also be an external storage device of the controller, such as a plug-in hard disk equipped on the controller, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the memory can also include both the internal storage unit of the controller and the external storage device. The memory is used to store the operating system, application programs, a BootLoader, data, and other programs, such as the program code of a computer program. The memory can also be used to temporarily store the data that has been output or will be output.
[0076] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiments can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of this application. The specific working process of the units and modules in the above device can refer to the corresponding process in the foregoing method embodiments and will not be elaborated here. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above method embodiments of this application, a computer program can be used to instruct the relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can at least include: any entity or device capable of carrying the computer program code, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunication signal.
[0077] To implement all or part of the processes in the above method embodiments of this application, it can also be completed by a computer program product. When the computer program product runs on a controller, it causes the controller to execute and implement the steps in the above method embodiments.
[0078] In the above embodiments, the descriptions of each embodiment have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0079] Those of ordinary skill in the art will appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of this application.
[0080] In the embodiments provided in this application, it should be understood that the disclosed devices / controllers and methods can be implemented in other ways. For example, the device / controller embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical or other forms.
[0081] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0082] The above embodiments are only used to illustrate the technical solutions of this application, not to limit it; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included in the protection scope of this application.
[0083] See Figure 4 , Figure 4FIG. 0 is a schematic structural diagram of a sunshade control system 40 provided by Embodiment 4 of the present invention. The sunshade control system 40 includes a first controller and a second controller. The first controller and the second controller are communicatively connected. The second controller is connected to the sunshade. The first controller is configured to obtain the state of the sunshade, and feedback the key state corresponding to the sunshade state to a switch interface including sunshade keys; receive a target operation signal, and generate a control signal for controlling the sunshade according to the target operation signal and the sunshade state, where the target operation signal is a signal generated after performing a target operation on the sunshade keys based on the key state; the second controller is configured to generate a corresponding sunshade instruction according to the control signal and the sunshade state, and control the sunshade according to the sunshade instruction.
[0084] In this embodiment, the first controller and the second controller manage and perform corresponding communication interactions through a LIN (Local Interconnect Network) matrix. The first controller and the switch interface communicate through a CAN (Controller Area Network).
[0085] In this embodiment, the first controller is a vehicle-mounted central control unit (Central Control Unit), the switch interface is a UI (User Interface) switch interface, and the second controller is a sunshade controller. The first controller is configured to obtain the state of the sunshade, and feedback the key state corresponding to the sunshade state to a switch interface including sunshade keys; receive a target operation signal, and generate a control signal for controlling the sunshade according to the target operation signal and the sunshade state, where the target operation signal is a signal generated after performing a target operation on the sunshade keys based on the key state; the second controller is configured to generate a corresponding sunshade instruction according to the control signal and the sunshade state, and control the sunshade according to the sunshade instruction.
[0086] For example, if the user wants to fully open the sunshade, the central control unit obtains the state of the sunshade and feeds back the key state corresponding to the sunshade state to the switch interface including the sunshade key. If it is in the fully open state, no operation is performed. If it is not in the fully open state, the user performs corresponding operations according to the feedback result of the switch interface to achieve the purpose of fully opening the sunshade. The process is as follows: The central control unit judges the obtained sunshade state to determine whether the sunshade state is the initialization state. When it is judged that it is not the initialization state, the key state corresponding to the non-initialization state is fed back to the switch interface. The user long-presses the sunshade key. The central control unit generates a corresponding control signal based on the received operation signal of the long-press operation and the non-initialization state, and sends the corresponding control signal to the sunshade controller. The sunshade controller generates a manual de-initialization sunshade instruction based on the corresponding control signal and the non-initialization state, and controls the sunshade to perform a manual de-initialization action according to the manual de-initialization sunshade instruction. After the manual de-initialization action is completed, the initialization result is fed back to the central control unit.
[0087] After the central control unit obtains that the sunshade state is the initialization state, it determines the target state corresponding to the sunshade. If it is in the moving state, the central control unit feeds back the key state corresponding to the moving state to the switch interface. The user short-presses the sunshade key on the switch interface. The central control unit receives the operation signal generated by the short-press operation and generates a corresponding control signal based on the corresponding operation signal and the moving state, and sends the corresponding control signal to the sunshade controller. The sunshade controller generates a sunshade instruction to pause the operation based on the corresponding control signal and the moving state, and controls the sunshade to pause the operation. At this time, the sunshade state is the intermediate state, and the intermediate state is fed back to the central control unit. The central control unit judges whether the intermediate state is the normal state. If it is the normal state, the key state corresponding to the normal state is fed back to the switch interface. The user short-presses the sunshade key. The central control unit receives the operation signal generated by the short-press operation and generates a corresponding control signal based on the corresponding operation signal and the normal state, and sends the corresponding control signal to the sunshade controller. The sunshade controller generates a sunshade instruction for automatic full-close operation based on the corresponding control signal and the normal state, and controls the sunshade to close completely. The fully closed state is fed back to the central control unit. The central control unit feeds back the key state corresponding to the fully closed state to the switch interface. The user short-presses the sunshade key. The central control unit receives the operation signal generated by the short-press operation and generates a corresponding control signal based on the corresponding operation signal and the fully closed state, and sends the corresponding control signal to the sunshade controller. The sunshade controller generates a sunshade instruction for automatic full-open operation based on the corresponding control signal and the fully closed state, and controls the sunshade to perform a full-open action.
[0088] It should be noted that in this embodiment, the sunshade control system 40 may further include an information entertainment system. The information entertainment system is connected to the central control unit. The central control unit feeds back the sunshade state to the information entertainment system. After receiving the sunshade state information, the information entertainment system performs a composite display on the switch interface through text and highlight changes. After receiving the target operation signal on the switch interface, the information entertainment system sends the target operation signal to the central control unit.
[0089] See Figure 5 , Figure 5 FIG. is a schematic structural diagram of a sunshade control system 50 provided in Embodiment 5 of the present invention. The sunshade control system 50 further includes a Hall sensor. The Hall sensor is connected to the sunshade and is used to sense the state of the sunshade. The Hall sensor is also respectively connected to a first controller and a second controller, and transmits the sunshade state to the first controller and the second controller.
[0090] See Figure 6 , Figure 6 FIG. is a schematic structural diagram of a vehicle 60 provided in Embodiment 6 of the present invention. The vehicle 60 includes the above-mentioned sunshade control system and a sunshade. The sunshade control system is connected to the sunshade.
[0091] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A sunshade control method, characterized in that, Including: Obtain the sunshade state and feedback the key state corresponding to the sunshade state to the switch interface including the sunshade key; Receive a target operation signal, generate a control signal for controlling the sunshade according to the target operation signal and the sunshade state, where the target operation signal is a signal generated after performing a target operation on the sunshade key based on the key state; Generate a corresponding sunshade command according to the control signal and the sunshade state, and control the sunshade according to the sunshade command.
2. The sunshade control method according to claim 1, characterized in that The sunshade state includes an initialization state, a non-initialization state, an operating state, and a stationary state; The feedback of the key state corresponding to the sunshade state to the switch interface including the sunshade key includes: Judge the sunshade state. If the sunshade state is the non-initialization state, feedback the key state corresponding to the non-initialization state to the switch interface including the sunshade key; If the sunshade state is the initialization state, determine a target state from the operating state and the stationary state, and feedback the key state of the sunshade state corresponding to the target state to the switch interface including the sunshade key.
3. The sunshade control method according to claim 2, wherein The stationary state includes a fully open state, a fully closed state, and an intermediate state; The feedback of the key state corresponding to the sunshade state to the switch interface including the sunshade key includes: If the sunshade state is the fully open state, feedback the key state corresponding to the fully open state to the switch interface including the sunshade key; If the sunshade state is the fully closed state, feedback the key state corresponding to the fully closed state to the switch interface including the sunshade key; If the sunshade state is the intermediate state, judge whether the sunshade is automatically retracted. If the sunshade is automatically retracted, determine that the sunshade state is a fault state, and feedback the key state corresponding to the fault state to the switch interface including the sunshade key; If the sunshade is not automatically retracted, determine that the sunshade state is a normal state, and feedback the key state corresponding to the normal state to the switch interface including the sunshade key.
4. The sunshade control method according to claim 3, wherein, The target operation includes a short press operation and a long press operation, and the operation duration of the long press operation is greater than that of the short press operation.
5. The sunshade control method according to claim 4, wherein, For any sunshade state, the control signal includes a first control signal and a second control signal; The generation of the control signal for controlling the sunshade according to the target operation signal and the sunshade state includes: For any sunshade state, if the target operation is a short press operation, generate a first control signal for controlling the sunshade based on the corresponding target operation signal generated after the short press operation and the sunshade state; If the target operation is a long press operation, generate a second control signal for controlling the sunshade based on the corresponding target operation signal generated after the long press operation and the sunshade state.
6. A sunshade control device, characterized in that, Including: A feedback module for obtaining the sunshade state and feedbacking the key state corresponding to the sunshade state to the switch interface including the sunshade key; A generation module, configured to receive a target operation signal, and generate a control signal for controlling a sunshade according to the target operation signal and the sunshade state, where the target operation signal is a signal generated after performing a target operation on a sunshade button based on the button state; A control module, configured to generate a corresponding sunshade instruction according to the control signal and the sunshade state, and control the sunshade according to the sunshade instruction.
7. A controller, characterized in that, The controller includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the sunshade control method according to any one of claims 1 to 5 is implemented.
8. A sunshade control system, characterized in that, The sunshade control system includes a first controller and a second controller. The first controller and the second controller are communicatively connected, and the second controller is connected to the sunshade; The first controller is configured to obtain the sunshade state, feedback the button state corresponding to the sunshade state to a switch interface including a sunshade button; receive a target operation signal, and generate a control signal for controlling the sunshade according to the target operation signal and the sunshade state, where the target operation signal is a signal generated after performing a target operation on the sunshade button based on the button state; The second controller is configured to generate a corresponding sunshade instruction according to the control signal and the sunshade state, and control the sunshade according to the sunshade instruction.
9. The sunshade control system according to claim 8, wherein, The sunshade control system further includes a Hall sensor. The Hall sensor is connected to the sunshade and is configured to sense the sunshade state. The Hall sensor is also respectively connected to the first controller and the second controller, and transmits the sunshade state to the first controller and the second controller.
10. A vehicle, characterized in that, The vehicle includes the sunshade control system and the sunshade according to any one of claims 8 and 9. The sunshade control system is connected to the sunshade.
Citation Information
Cited By
Vehicle-mounted man-machine interaction system, display method, electronic equipment and storage medium
CN120994051A