Vehicle sun shield control method and device, vehicle and storage medium

By voice control of electric sun visors, the problem of inconvenience in traditional manual operation is solved, automatic sun visor adjustment is realized, driving safety and operation experience are improved, and sunlight is adapted to different directions.

CN119037104APending Publication Date: 2024-11-29CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411168233.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The manual operation method of traditional vehicle sun visors is inconvenient, which causes the driver to be distracted, increases driving risks, and may cause problems such as accidental touch or insensitive response.

Method used

The voice control method is adopted to connect to the voice device through an electric sun visor controller, receive voice commands, recognize and generate control commands, and control the electric sun visor to adjust to the target direction and angle, including detecting the vehicle status and anti-clip fault handling.

Benefits of technology

It realizes automatic and convenient sun visor control, reduces the risk of driver distraction, improves driving safety, provides an intuitive and convenient operating experience, and adapts to sunlight in different directions to achieve effective sunshade effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119037104A_ABST
    Figure CN119037104A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle sun shield control method and device, a vehicle and a storage medium, and the method comprises the steps: receiving a voice instruction transmitted by a voice device, the voice instruction is obtained by converting a sun shield voice request of a user into a vehicle body domain message, recognizing the sun shield voice request corresponding to the voice instruction, and sending the recognized sun shield voice request to the voice device; and generating a control instruction by adopting the sun shield voice request, issuing the control instruction to an electric sun shield of the vehicle, and controlling the electric sun shield to be adjusted to a target angle in the target direction. According to the embodiment of the invention, the electric sun shield is directly controlled to perform four-direction adjustment through the voice instruction, a user does not need to perform manual operation, the risk of distraction of a driver is greatly reduced, the driving safety is improved, more intuitive and convenient operation experience is provided for automatic adjustment of the sun shield through voice control, and the user experience is improved. And the sun shield is adjusted to the target direction and the target angle to adapt to sunlight irradiation in different directions, the effective sun-shading effect is achieved, and the driving experience of a driver is further met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle sun visor control method, device, vehicle and storage medium. Background Art

[0002] With the rapid development of the vehicle industry, users have higher and higher requirements for the comfort and convenience of vehicle interiors and accessories. Among them, drivers cannot avoid facing the sun while driving. Especially when the light intensity is high, drivers are always exposed to the sun or cannot open their eyes due to the reflection of the sun, which affects driving safety.

[0003] At present, traditional vehicle sun visors are mostly operated manually. With the advancement of intelligent driving, electric sun visors are gradually becoming popular. Electric sun visor systems are mostly controlled by touch screens or electronic buttons. However, the above sun visor control method that relies on user manual operation is not convenient enough and requires distracting the driver's attention for operation. In some cases, there may be problems of accidental touch or unresponsiveness, which increases driving risks and further affects the driver's driving experience. Summary of the invention

[0004] In view of this, the present invention aims to propose a vehicle sun visor control method, device, vehicle and storage medium to solve the problem that the sun visor operation mode that relies on manual operation by the user is inconvenient and increases driving risks, and to achieve automatic and convenient vehicle sun visor control.

[0005] According to a first aspect of the present invention, a vehicle sun visor control method is provided, which is applied to an electric sun visor controller, wherein the electric sun visor controller is respectively connected to a voice device and an electric sun visor of the vehicle, and the method comprises:

[0006] Receiving a voice command transmitted by the voice device; wherein the voice command is obtained by converting the user's sun visor voice request into a vehicle body domain message;

[0007] identifying a sun visor voice request corresponding to the voice command, and generating a control command using the sun visor voice request;

[0008] The control instruction is sent to the electric sun visor of the vehicle to control the electric sun visor to adjust to a target angle in a target direction.

[0009] Optionally, the electric sun visor control is also connected to the vehicle body domain controller for receiving voice instructions transmitted by the voice device; wherein the voice instructions are obtained by converting the user's sun visor voice request into a vehicle body domain message, including:

[0010] Detect the current vehicle status;

[0011] When the vehicle is powered on, the voice request for the sun visor from the user is collected through the voice device; wherein the voice device is used to send the voice request for the sun visor to the vehicle body domain controller, and the vehicle body domain controller converts the voice request for the sun visor into a voice command;

[0012] Receive the voice command transmitted by the voice device through the vehicle body domain controller.

[0013] Optionally, the identifying a sun visor voice request corresponding to the voice command, and using the sun visor voice request to generate a control command, comprises:

[0014] Recognize the voice command and determine the sun visor voice request corresponding to the voice command; wherein the sun visor voice request includes an adjustment direction and an adjustment angle;

[0015] The adjustment direction and the adjustment angle are used to generate a control instruction corresponding to the sun visor voice request.

[0016] Optionally, the sending of the control instruction to the electric sun visor of the vehicle to control the electric sun visor to adjust to a target angle in a target direction includes:

[0017] Sending the control command to the electric sun visor of the vehicle; wherein the electric sun visor includes a first drive motor, a second drive motor and a sun visor;

[0018] Determining a target drive motor for adjusting the sun visor according to an adjustment direction of the control instruction;

[0019] According to the adjustment angle of the control instruction, the target drive motor is controlled to drive the sun visor to adjust to the target angle in the target direction.

[0020] Optionally, determining a target drive motor for adjusting the sun visor according to the adjustment direction of the control instruction includes:

[0021] If the adjustment direction of the control instruction is the left-right direction, the target drive motor for adjusting the sun visor is determined to be the first drive motor; wherein the first drive motor is used to drive the electric sun visor to slide in the left-right direction;

[0022] If the adjustment direction of the control instruction is the up-down direction, the target drive motor for adjusting the sun visor is determined to be the second drive motor; wherein the second drive motor is used to drive the electric sun visor to slide in the up-down direction.

[0023] Optionally, after issuing the control instruction to the electric sun visor of the vehicle and controlling the electric sun visor to adjust to a target angle in a target direction, the method further includes:

[0024] Detecting the anti-pinch state of the electric sun visor;

[0025] If an anti-pinch fault is detected in the electric sun visor, an anti-pinch fault bit is generated, and the anti-pinch fault bit is reported to the vehicle body domain controller;

[0026] In response to the generated anti-pinch instruction, the electric sunshade is controlled to perform anti-pinch reversal.

[0027] Optionally, after controlling the electric sun visor to perform anti-pinch reversal in response to the generated anti-pinch instruction, the method further comprises:

[0028] If it is detected that the anti-pinch fault of the electric sun visor is released, clearing the anti-pinch fault position;

[0029] The electric sun visor is controlled to respond to the control instruction again and adjusted to the target angle in the target direction.

[0030] According to a second aspect of the present invention, a vehicle sun visor control device is provided, which is applied to an electric sun visor controller, wherein the electric sun visor controller is connected to a voice device and an electric sun visor of the vehicle respectively, and the device comprises:

[0031] A voice command receiving module, used for receiving the voice command transmitted by the voice device; wherein the voice command is obtained by converting the user's sun visor voice request into a vehicle body domain message;

[0032] A control instruction generating module, used for identifying a sun visor voice request corresponding to the voice instruction, and generating a control instruction using the sun visor voice request;

[0033] The first control module is used to send the control instruction to the electric sun visor of the vehicle to control the electric sun visor to adjust to a target angle in a target direction.

[0034] Optionally, the electric sun visor control is also connected to the vehicle body domain controller in communication, and the voice command receiving module includes:

[0035] The detection status submodule is used to detect the current vehicle status;

[0036] A voice collection submodule, used for collecting the user's sun visor voice request through the voice device when the vehicle is powered on; wherein the voice device is used for sending the sun visor voice request to the vehicle body domain controller, and converting the sun visor voice request into a voice command through the vehicle body domain controller;

[0037] The receiving submodule is used to receive the voice command transmitted by the voice device through the vehicle body domain controller.

[0038] Optionally, the generating control instruction module includes:

[0039] An identification submodule, configured to identify the voice command and determine a sun visor voice request corresponding to the voice command; wherein the sun visor voice request includes an adjustment direction and an adjustment angle;

[0040] A generating submodule is used to generate a control instruction corresponding to the sun visor voice request by adopting the adjustment direction and the adjustment angle.

[0041] Optionally, the first control module includes:

[0042] A sending submodule, used for sending the control instruction to the electric sun visor of the vehicle; wherein the electric sun visor comprises a first drive motor, a second drive motor and a sun visor;

[0043] A determination submodule, used to determine a target drive motor for adjusting the sun visor according to an adjustment direction of the control instruction;

[0044] The control submodule is used to control the target drive motor to drive the sun visor to adjust to a target angle in a target direction according to the adjustment angle of the control instruction.

[0045] Optionally, the determining submodule includes:

[0046] A first determining unit, configured to determine that the target drive motor for adjusting the sun visor is a first drive motor if the adjustment direction of the control instruction is a left-right direction; wherein the first drive motor is configured to drive the electric sun visor to slide in a left-right direction;

[0047] The second determination unit is used to determine that the target drive motor for adjusting the sun visor is the second drive motor if the adjustment direction of the control instruction is the up and down direction; wherein the second drive motor is used to drive the electric sun visor to slide in the up and down direction.

[0048] Optionally, the device further comprises:

[0049] An anti-pinch state detection module is used to detect the anti-pinch state of the electric sun visor;

[0050] An anti-pinch fault reporting module is used to generate an anti-pinch fault bit if an anti-pinch fault is detected in the electric sun visor, and report the anti-pinch fault bit to the vehicle body domain controller;

[0051] The anti-pinch reversal control module is used to control the electric sun visor to perform anti-pinch reversal in response to the generated anti-pinch instruction.

[0052] Optionally, the device further comprises:

[0053] An anti-pinch fault clearing module is used to clear the anti-pinch fault position if it is detected that the anti-pinch fault of the electric sun visor is released;

[0054] The second control module is used to control the electric sun visor to respond to the control instruction again and adjust to the target angle in the target direction.

[0055] According to another aspect of the present invention, a vehicle is provided, comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the steps of the vehicle sun visor control method as described above when executed by the processor.

[0056] According to another aspect of the present invention, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the vehicle sun visor control method as described above are implemented.

[0057] The vehicle sun visor control method provided by the embodiment of the present invention receives a voice command transmitted by a voice device, the voice command is obtained by converting the user's sun visor voice request into a vehicle body domain message, identifies the sun visor voice request corresponding to the voice command, generates a control command using the sun visor voice request, sends the control command to the vehicle's electric sun visor, and controls the electric sun visor to adjust to the target angle in the target direction. The embodiment of the present invention directly controls the electric sun visor to adjust in four directions through voice commands, and the user does not need manual operation, which greatly reduces the risk of driver distraction and improves driving safety. The voice control sun visor automatically adjusts, avoiding the problem of accidental touch or insensitive response that may occur in manual operation, providing a more intuitive and convenient operation experience, and adjusting the sun visor to the target direction and target angle according to the voice command. The electric sun visor can adapt to sunlight in different directions to achieve an effective shading effect, further satisfying the driver's driving experience.

[0058] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0060] Figure 1is a flow chart of the steps of a vehicle sun visor control method provided by an embodiment of the present invention;

[0061] Figure 2 yes Figure 1 A flowchart of step 101 in the vehicle sun visor control method provided by an embodiment of the present invention;

[0062] Figure 3 yes Figure 1 A flowchart of step 102 in the vehicle sun visor control method provided by an embodiment of the present invention;

[0063] Figure 4 yes Figure 1 A flowchart of step 103 in the vehicle sun visor control method provided by an embodiment of the present invention;

[0064] Figure 5 is a flowchart of another vehicle sun visor control method provided by an embodiment of the present invention;

[0065] Figure 6 is a schematic diagram of a scenario of a vehicle sun visor control method provided by an embodiment of the present invention;

[0066] Figure 7 The vehicle sun visor control method provided by the embodiment of the present invention is schematically shown in FIG. Figure 1 ;

[0067] Figure 8 The vehicle sun visor control method provided by the embodiment of the present invention is schematically shown in FIG. Figure 2 ;

[0068] Fig. 9 It is a structural schematic diagram of a vehicle sun visor control device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0069] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.

[0070] Reference Figure 1, shows a flow chart of the steps of a vehicle sun visor control method provided by an embodiment of the present invention, which is applied to an electric sun visor controller, wherein the electric sun visor controller is respectively connected to a voice device and an electric sun visor of the vehicle, and the method may include:

[0071] Step 101, receiving a voice instruction transmitted by a voice device; wherein the voice instruction is obtained by converting the user's sun visor voice request into a vehicle body domain message.

[0072] In the embodiment of the present invention, in order to solve the problem that most traditional vehicle sun visors are manually controlled by touch screens or electronic buttons, which are not convenient to operate, will distract the driver's attention, and increase driving risks, the present embodiment adopts an electric sun visor to realize automatic adjustment of the direction and angle of the sun visor, and uses an electric sun visor controller to be connected to the vehicle's voice device and the electric sun visor respectively, and automatically controls the electric sun visor for four-way adjustment according to the user's real-time voice request. The voice-controlled sun visor automatically adjusts, avoiding the problem of accidental touch or unresponsiveness that may occur in manual operation, and provides a more intuitive and convenient operating experience. The sun visor is adjusted to the target direction and target angle according to voice commands. The electric sun visor can adapt to sunlight from different directions, achieve effective shading effect, and further satisfy the driver's driving experience.

[0073] It should be noted that in this embodiment, the electric sun visor is controlled by an electric sun visor controller, including at least two drive motors, which respectively control the electric adjustment of the sun visor in four directions, left and right, front and back, to achieve all-round electric shading. Specifically, the electric sun visor controller is also connected to the vehicle body domain controller, and can receive the upstream LIN line signal, and can also send control instructions to the downstream motor actuator, so that the sun visor can slide up and down, left and right along the track. The drive mechanism of the sun visor is stable, reliable and responsive, and will not be described in detail here.

[0074] Reference Figure 6 , showing a scenario schematic diagram of the vehicle sun visor control method provided by an embodiment of the present invention. Specifically, the voice device can use the microphones at the driver and co-driver positions in the cockpit to receive the voice requests for the sun visors from the front passengers. The electric sun visor is installed above the front windshield of the vehicle and can perform front, rear, left and right four-way angle adjustment actions according to the control instructions converted from the voice instructions. The voice device receives the user's sun visor voice request, uploads it to the CDC cockpit controller, and transmits it to the VIU body domain controller through a cross-domain call service, so as to send it to the electric sun visor controller SVM according to the specific instructions of the service message. The electric sun visor controller sends the corresponding device abstract service, thereby realizing the motor operation and completing the automatic adjustment of the sun visor.

[0075] Specifically, the electric sun visor controller receives voice commands transmitted by the voice device; wherein, the voice command is obtained by converting the user's sun visor voice request into a body domain message, the user's voice triggers the sun visor adjustment, the CDC cockpit domain controller calls the cross-domain service interface provided by the domain controller to issue the sun visor voice request, and the body domain controller converts the service interface request into a LIN signal, thereby sending the LIN signal to the electric sun visor controller. It should be noted that the LIN (Local Interconnect Network) signal is a low-cost serial communication protocol, which is mainly used to connect some low-speed devices in the car, such as window control, seat adjustment, interior lighting, etc., which will not be repeated here.

[0076] Step 102, identifying a sun visor voice request corresponding to the voice command, and using the sun visor voice request to generate a control command.

[0077] In an embodiment of the present invention, the electric sun visor controller receives a voice command transmitted by a voice device, recognizes the voice command, recognizes the sun visor voice request corresponding to the voice command, and generates a control command using the sun visor voice request. Specifically, the voice command is recognized, and the sun visor voice request corresponding to the voice command is determined. The sun visor voice request includes an adjustment direction and an adjustment angle. The adjustment direction and the adjustment angle are used to generate a control command corresponding to the sun visor voice request.

[0078] It should be noted that, refer to Figure 7 , showing a schematic diagram of a vehicle sun visor control method provided by an embodiment of the present invention Figure 1 , a voice device microphone arranged in the front row of the CDC cockpit controller is used to collect voice commands of the front passengers through the microphone, such as "open the forward sun visor and rotate it downward". The electric sun visor controller recognizes the voice command and determines that the adjustment direction is downward. If the specific rotation angle is not indicated by voice, the default adjustment angle is 120°. If the voice gives a specific rotation angle, it rotates according to the specific angle. The maximum rotation angle b of the sun visor is 120°. Since the inclination angle a of the front windshield of most models is between 50-60°, the maximum rotation angle b does not exceed 120°, and is not specifically limited here.

[0079] Step 103 , sending a control instruction to the electric sun visor of the vehicle to control the electric sun visor to adjust to a target angle in a target direction.

[0080] In an embodiment of the present invention, an electric sun visor controller generates a command for adjusting the sun visor, sends a control instruction to the electric sun visor of the vehicle, and controls the electric sun visor to adjust to a target angle in a target direction. Since the electric sun visor mechanism has two drive motors, the first drive motor is used for driving and adjusting in the left and right directions, and the second drive motor is used for driving and adjusting in the front and rear directions. The electric sun visor controller sends a control instruction to the electric sun visor of the vehicle, determines a target drive motor for adjusting the sun visor according to the adjustment direction of the control instruction, and controls the target drive motor to drive the sun visor to adjust to the target angle in the target direction according to the adjustment angle of the control instruction.

[0081] In order to facilitate those skilled in the art to fully understand the above vehicle sun visor control method, refer to Figure 8 , Figure 8 A schematic diagram of a vehicle sun visor control method provided by an embodiment of the present invention Figure 2 Specifically, the electric sun visor is mainly composed of a sun visor and two drive motors. If the control instruction instructs the sun visor to adjust the target angle in the left and right directions, the first drive motor is controlled, and the electric sun visor will first rotate to the left or right to reach the target angle position. If the control instruction instructs the sun visor to adjust the target angle in the front and back directions, the second drive motor is controlled, and the electric sun visor will first rotate forward or backward to reach the target angle position.

[0082] The vehicle sun visor control method provided by the embodiment of the present invention receives a voice command transmitted by a voice device, the voice command is obtained by converting the user's sun visor voice request into a vehicle body domain message, identifies the sun visor voice request corresponding to the voice command, generates a control command using the sun visor voice request, sends the control command to the vehicle's electric sun visor, and controls the electric sun visor to adjust to the target angle in the target direction. The embodiment of the present invention directly controls the electric sun visor to adjust in four directions through voice commands, and the user does not need manual operation, which greatly reduces the risk of driver distraction and improves driving safety. The voice control sun visor automatically adjusts, avoiding the problem of accidental touch or insensitive response that may occur in manual operation, providing a more intuitive and convenient operation experience, and adjusting the sun visor to the target direction and target angle according to the voice command. The electric sun visor can adapt to sunlight in different directions to achieve an effective shading effect, further satisfying the driver's driving experience.

[0083] Further, see Figure 2 , showing Figure 1 A flowchart of step 101 in a vehicle sun visor control method is provided, which is basically the same as the vehicle sun visor control method provided in the first embodiment of the present invention. The electric sun visor control is also communicated with the vehicle body domain controller. Step 101 may include:

[0084] Step 201, detecting the current vehicle status.

[0085] Step 202, when the vehicle is powered on, collect the user's sun visor voice request through a voice device; wherein the voice device is used to send the sun visor voice request to the body domain controller, and convert the sun visor voice request into a voice command through the body domain controller.

[0086] Step 203, receiving the voice command transmitted by the voice device through the vehicle body domain controller.

[0087] It should be noted that, in the embodiment of the present invention, the sun visor adjustment is completed through cross-domain calls of SOA service-based voice commands. To ensure effective control of the electric sun visor, it is necessary to ensure that the vehicle is in a powered-on, parked or driving state. The current vehicle state is detected by the body domain controller. When the vehicle state is powered on, the voice commands of the front passengers are collected through the voice device microphone. The voice device is used to send the sun visor voice request to the body domain controller, and the sun visor voice request is converted into a voice command through the body domain controller.

[0088] Specifically, if the voice request is to open the sun visor, and the user's voice triggers the sun visor to open, the CDC cockpit domain controller calls the cross-domain service interface BCM_Sunvisor_CS provided by the domain controller, and sends a request for the sun visor to automatically open: CS_OpenCloseStop=0x1Open. After the domain controller receives the open request from the CDC cockpit domain controller calling the cross-domain service interface, it converts the service interface request into a LIN signal, and transmits the voice command converted into the LIN signal to the electric sun visor controller through the body domain controller; if the voice request is to close the sun visor, and the user's voice triggers the sun visor to close, the CDC cockpit domain controller calls the cross-domain service interface BCM_Sunvisor_CS provided by the domain controller, and sends a request for the sun visor to automatically close: CS_OpenCloseStop=0x1Close. After the domain controller receives the close request from the CDC cockpit domain controller calling the cross-domain service interface, it converts the service interface request into a LIN signal, and transmits the voice command converted into a LIN signal to the electric sun visor controller through the body domain controller.

[0089] In the embodiment of the present invention, the voice device transmits voice commands to the electric sun visor controller through the body domain controller. The voice commands are converted based on the user's sun visor voice requests, so that the electric sun visor controller performs corresponding sun visor operations according to these voice commands, ensuring that when the vehicle is powered on and the user makes a clear voice request, the sun visor adjustment operation is responded to and executed, making the operation more intuitive and convenient.

[0090] Further, see Figure 3 , showing Figure 1A flowchart of step 102 in a vehicle sun visor control method is provided. The method is substantially the same as the vehicle sun visor control method provided in the first embodiment of the present invention. Step 102 may include:

[0091] Step 301, recognize the voice command and determine the sun visor voice request corresponding to the voice command; wherein the sun visor voice request includes an adjustment direction and an adjustment angle.

[0092] Step 302: Generate a control instruction corresponding to the sun visor voice request by using the adjustment direction and the adjustment angle.

[0093] It should be noted that, in the embodiment of the present invention, the electric sun visor controller recognizes the voice command, determines the sun visor voice request corresponding to the voice command, and the sun visor voice request includes the adjustment direction and the adjustment angle, thereby generating a control instruction corresponding to the sun visor voice request. After receiving the voice command, the electric sun visor controller first performs voice recognition processing to determine the user's specific request. During the recognition process, the voice command will be parsed to extract the key information of the sun visor voice request, including the adjustment direction (such as up and down, left and right) and the adjustment angle (such as a specific angle value or percentage). After determining the adjustment direction and the adjustment angle, the corresponding control instruction will be generated according to this information. The control instruction will guide the electric sun visor to perform a specific adjustment action to ensure that the sun visor can be moved to the specified position according to the user's voice request.

[0094] For example, the service interface request is converted into a LIN signal, and then the voice command in the form of a LIN signal is converted into a control command. The control command includes two types: "VIU_SVM_F_Ctrl=0%" or "VIU_SVM_R_Ctrl=0%". Among them, VIU_SVM_F_Ctrl is the command for adjusting the sun visor forward and backward, and VIU_SVM_R_Ctrl is the command for adjusting the sun visor left and right. The specific control command is output according to the specific adjustment direction and adjustment angle of the voice, which is not specifically limited here.

[0095] The embodiment of the present invention accurately parses the user's voice request and converts it into actual control actions, which not only improves the response accuracy of the sun visor control, but also enhances the interactive experience between the user and the system. The sun visor is adjusted to the target direction and target angle according to the voice command. The electric sun visor can adapt to sunlight from different directions to achieve effective shading effect, making the adjustment of the sun visor more intelligent and personalized.

[0096] Further, see Figure 4 , showing Figure 1A flowchart of step 103 in a vehicle sun visor control method is provided. The method is substantially the same as the vehicle sun visor control method provided in the first embodiment of the present invention. Step 103 may include:

[0097] Step 401, sending a control instruction to the electric sun visor of the vehicle; wherein the electric sun visor includes a first drive motor, a second drive motor and a sun visor.

[0098] Step 402, determining a target drive motor for adjusting the sun visor according to the adjustment direction of the control instruction.

[0099] Step 403, according to the adjustment angle of the control instruction, control the target driving motor to drive the sun visor to adjust to the target angle in the target direction.

[0100] It should be noted that, in the embodiment of the present invention, the electric sun visor controller sends the generated control instruction to the electric sun visor of the vehicle. The electric sun visor includes a first drive motor, a second drive motor and the sun visor itself. These components will perform corresponding actions according to the received control instructions. According to the adjustment direction information contained in the control instruction, the target drive motor to be activated is determined. For example, if the control instruction requires the sun visor to be adjusted up and down, the first drive motor will be used; if it is adjusted left and right, the second drive motor will be used. According to the adjustment angle information in the control instruction, the target drive motor is controlled to drive the sun visor to move at an appropriate speed and force. The sun visor will move to the specified target direction and target angle according to the instruction to complete the user's voice request.

[0101] Specifically, the target drive motor for adjusting the sun visor is determined according to the adjustment direction of the control instruction, including: if the adjustment direction of the control instruction is the left-right direction, the target drive motor for adjusting the sun visor is determined to be the first drive motor; wherein the first drive motor is used to drive the electric sun visor to slide in the left-right direction; if the adjustment direction of the control instruction is the up-down direction, the target drive motor for adjusting the sun visor is determined to be the second drive motor; wherein the second drive motor is used to drive the electric sun visor to slide in the up-down direction.

[0102] In the embodiment of the present invention, different drive motors are used to control the adjustment of the sun visor in different directions, ensuring that the electric sun visor can accurately and quickly respond to the user's voice commands, achieve precise adjustment, improve the convenience and accuracy of operation, and enhance the system's response speed and user experience.

[0103] Reference Figure 5 , shows a flow chart of steps of another vehicle sun visor control method provided by an embodiment of the present invention, which method is basically the same as the vehicle sun visor control method provided by the first embodiment of the present invention, except that the method may further include:

[0104] Step 101, receiving a voice instruction transmitted by a voice device; wherein the voice instruction is obtained by converting the user's sun visor voice request into a vehicle body domain message.

[0105] Step 102, identifying a sun visor voice request corresponding to the voice command, and using the sun visor voice request to generate a control command.

[0106] Step 103, sending a control instruction to the electric sun visor of the vehicle to control the electric sun visor to adjust to a target angle in a target direction.

[0107] The above steps 101 to 103 are described in the foregoing description and will not be repeated here.

[0108] Step 104, detecting the anti-pinch state of the electric sun visor.

[0109] It should be noted that the anti-pinch state is when the anti-pinch is activated, the motor stops after encountering an obstacle and starts to reverse. When the anti-pinch reversal is completed and the motor stops, it is set to the non-anti-pinch state. If a power outage occurs during the anti-pinch reversal process, it is set to the non-anti-pinch state.

[0110] Step 105, if an anti-pinch fault is detected in the electric sun visor, an anti-pinch fault bit is generated and the anti-pinch fault bit is reported to the vehicle body domain controller.

[0111] In an embodiment of the present invention, the SVM electric sun visor controller includes an anti-pinch fault detection circuit, which is used to monitor whether the drive motor encounters resistance during operation. This resistance may be caused by the sun visor encountering an obstacle or other reasons. If an anti-pinch fault is detected, after a debounce time of 100ms, an anti-pinch fault bit SVM_AntiPinch=0x1:active is generated, and the anti-pinch fault bit is reported to the body domain controller to report the fault to the body domain controller. The purpose of the debounce time is to avoid false alarms caused by momentary signal interference or false touches, and the specific duration is not specifically limited here.

[0112] Step 106, in response to the generated anti-pinch instruction, control the electric sun visor to perform anti-pinch reversal.

[0113] It should be noted that after detecting the anti-pinch fault, the electric sun visor controller generates an anti-pinch command, and in response to the generated anti-pinch command, controls the drive motor to perform anti-pinch reversal. The anti-pinch protection function is an important safety feature in the electric sun visor system, which is designed to prevent the occupants from being pinched or the sun visor mechanism from being damaged during the sun visor adjustment process. The motor runs in reverse to move the sun visor in the opposite direction, thereby releasing the pinched object or occupant to avoid injury or further damage.

[0114] Compared with the prior art, this embodiment, on the basis of achieving the beneficial effects of the first embodiment, detects an anti-pinch fault in the electric sun visor, generates an anti-pinch fault bit, reports the anti-pinch fault bit to the body domain controller, and controls the electric sun visor to perform anti-pinch reversal. The implementation of the anti-pinch protection function ensures that the electric sun visor can stop and move in the opposite direction in time when encountering an obstacle, thereby protecting the user's safety and further improving the user experience.

[0115] Specifically, after step 106 controls the electric sunshade to perform anti-pinch reversal in response to the generated anti-pinch instruction, it may also include:

[0116] If it is detected that the anti-pinch fault of the electric sun visor is released, clearing the anti-pinch fault position;

[0117] The electric sun visor is controlled to respond to the control instruction again and adjusted to the target angle in the target direction.

[0118] It should be noted that, in the embodiment of the present invention, in the electric sun visor, once the anti-pinch protection function is triggered and the anti-pinch reversal operation is performed, the electric sun visor controller will continue to monitor the anti-pinch fault state. If the anti-pinch fault is eliminated, that is, the sun visor does not detect resistance or clamped objects again after the reverse movement, the anti-pinch fault detection circuit will continue to be used to monitor the movement state of the sun visor. If the circuit detects that the sun visor can move freely without encountering any resistance, it is judged that the fault has been eliminated. After confirming that the fault has been eliminated, the sun visor working instruction initially issued by the user will be executed. The sun visor will continue to adjust according to the control instruction corresponding to the user's voice request and move to the specified position. Once the sun visor resumes normal operation, the fault bit will be cleared immediately, and the state of the anti-pinch fault detection circuit will be reset to return it to the normal working mode and prepare to respond to the next adjustment instruction. The clearing of the fault bit indicates that it has recovered from the anti-pinch fault and can continue to operate normally. The user can continue to use voice control or other methods to operate the sun visor without worrying about the impact of the previous fault.

[0119] The embodiments of the present invention ensure that the electric sun visor system can safely handle anti-pinch faults and can seamlessly return to a normal working state after the faults are eliminated, thereby ensuring the reliability of the electric sun visor.

[0120] Reference Fig. 9 , shows a schematic structural diagram of a vehicle sun visor control device provided by an embodiment of the present invention, which is applied to an electric sun visor controller, wherein the electric sun visor controller is connected to a vehicle voice device and an electric sun visor respectively, and the device comprises:

[0121] The voice instruction receiving module 501 is used to receive the voice instruction transmitted by the voice device; wherein the voice instruction is obtained by converting the user's sun visor voice request into a vehicle body domain message;

[0122] A control instruction generating module 502 is used to identify a sun visor voice request corresponding to the voice instruction, and generate a control instruction using the sun visor voice request;

[0123] The first control module 503 is used to send the control instruction to the electric sun visor of the vehicle to control the electric sun visor to adjust to a target angle in a target direction.

[0124] Furthermore, the electric sun visor control is also connected to the vehicle body domain controller in communication, and the voice command receiving module 501 includes:

[0125] The detection status submodule is used to detect the current vehicle status;

[0126] A voice collection submodule, used for collecting the user's sun visor voice request through the voice device when the vehicle is powered on; wherein the voice device is used for sending the sun visor voice request to the vehicle body domain controller, and converting the sun visor voice request into a voice command through the vehicle body domain controller;

[0127] The receiving submodule is used to receive the voice command transmitted by the voice device through the vehicle body domain controller.

[0128] Furthermore, the generating control instruction module 502 includes:

[0129] An identification submodule, configured to identify the voice command and determine a sun visor voice request corresponding to the voice command; wherein the sun visor voice request includes an adjustment direction and an adjustment angle;

[0130] A generating submodule is used to generate a control instruction corresponding to the sun visor voice request by adopting the adjustment direction and the adjustment angle.

[0131] Furthermore, the first control module 503 includes:

[0132] A sending submodule, used for sending the control instruction to the electric sun visor of the vehicle; wherein the electric sun visor comprises a first drive motor, a second drive motor and a sun visor;

[0133] A determination submodule, used to determine a target drive motor for adjusting the sun visor according to an adjustment direction of the control instruction;

[0134] The control submodule is used to control the target drive motor to drive the sun visor to adjust to a target angle in a target direction according to the adjustment angle of the control instruction.

[0135] Furthermore, the determining submodule includes:

[0136] A first determining unit, configured to determine that the target drive motor for adjusting the sun visor is a first drive motor if the adjustment direction of the control instruction is a left-right direction; wherein the first drive motor is configured to drive the electric sun visor to slide in a left-right direction;

[0137] The second determination unit is used to determine that the target drive motor for adjusting the sun visor is the second drive motor if the adjustment direction of the control instruction is the up and down direction; wherein the second drive motor is used to drive the electric sun visor to slide in the up and down direction.

[0138] Furthermore, the device also includes:

[0139] An anti-pinch state detection module is used to detect the anti-pinch state of the electric sun visor;

[0140] An anti-pinch fault reporting module is used to generate an anti-pinch fault bit if an anti-pinch fault is detected in the electric sun visor, and report the anti-pinch fault bit to the vehicle body domain controller;

[0141] The anti-pinch reversal control module is used to control the electric sun visor to perform anti-pinch reversal in response to the generated anti-pinch instruction.

[0142] Furthermore, the device also includes:

[0143] An anti-pinch fault clearing module is used to clear the anti-pinch fault position if it is detected that the anti-pinch fault of the electric sun visor is released;

[0144] The second control module is used to control the electric sun visor to respond to the control instruction again and adjust to the target angle in the target direction.

[0145] The vehicle sun visor control device provided by the embodiment of the present invention receives a voice command transmitted by a voice device, the voice command is obtained by converting the user's sun visor voice request into a vehicle body domain message, identifies the sun visor voice request corresponding to the voice command, generates a control command using the sun visor voice request, sends the control command to the vehicle's electric sun visor, and controls the electric sun visor to adjust to the target angle in the target direction. The embodiment of the present invention directly controls the electric sun visor to adjust in four directions through voice commands, and the user does not need manual operation, which greatly reduces the risk of driver distraction and improves driving safety. The voice control sun visor automatically adjusts, avoiding the problem of accidental touch or insensitive response that may occur in manual operation, providing a more intuitive and convenient operation experience, and adjusting the sun visor to the target direction and target angle according to the voice command. The electric sun visor can adapt to sunlight in different directions to achieve an effective shading effect, further satisfying the driver's driving experience.

[0146] In another embodiment provided by the present invention, a vehicle is also provided, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the steps of the vehicle sun visor control method as described above are implemented.

[0147] In another embodiment provided by the present invention, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the vehicle sun visor control method described in any of the above embodiments.

[0148] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0149] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0150] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0151] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A vehicle sun visor control method, characterized in that: Applied to an electric sun visor controller, the electric sun visor controller is connected to a voice device and an electric sun visor of a vehicle respectively, and the method comprises: Receiving a voice command transmitted by the voice device; wherein the voice command is obtained by converting the user's sun visor voice request into a vehicle body domain message; identifying a sun visor voice request corresponding to the voice command, and generating a control command using the sun visor voice request; The control instruction is sent to the electric sun visor of the vehicle to control the electric sun visor to adjust to a target angle in a target direction.

2. The method according to claim 1, characterized in that: The electric sun visor control is also connected to the vehicle body domain controller for receiving voice instructions transmitted by the voice device; wherein the voice instructions are obtained by converting the user's sun visor voice request into a vehicle body domain message, including: Detect the current vehicle status; When the vehicle is powered on, the voice request for the sun visor from the user is collected through the voice device; wherein the voice device is used to send the voice request for the sun visor to the vehicle body domain controller, and the vehicle body domain controller converts the voice request for the sun visor into a voice command; Receive the voice command transmitted by the voice device through the vehicle body domain controller.

3. The method according to claim 1, characterized in that The identifying the sun visor voice request corresponding to the voice command, and using the sun visor voice request to generate a control command, comprises: Recognize the voice command and determine the sun visor voice request corresponding to the voice command; wherein the sun visor voice request includes an adjustment direction and an adjustment angle; The adjustment direction and the adjustment angle are used to generate a control instruction corresponding to the sun visor voice request.

4. The method according to claim 1, characterized in that: The sending of the control instruction to the electric sun visor of the vehicle to control the electric sun visor to adjust to a target angle in a target direction includes: Sending the control command to the electric sun visor of the vehicle; wherein the electric sun visor includes a first drive motor, a second drive motor and a sun visor; Determining a target drive motor for adjusting the sun visor according to an adjustment direction of the control instruction; According to the adjustment angle of the control instruction, the target drive motor is controlled to drive the sun visor to adjust to the target angle in the target direction.

5. The method according to claim 4, characterized in that The step of determining a target drive motor for adjusting the sun visor according to the adjustment direction of the control instruction includes: If the adjustment direction of the control instruction is the left-right direction, the target drive motor for adjusting the sun visor is determined to be the first drive motor; wherein the first drive motor is used to drive the electric sun visor to slide in the left-right direction; If the adjustment direction of the control instruction is the up-down direction, the target drive motor for adjusting the sun visor is determined to be the second drive motor; wherein the second drive motor is used to drive the electric sun visor to slide in the up-down direction.

6. The method according to claim 1, characterized in that After the control instruction is issued to the electric sun visor of the vehicle and the electric sun visor is controlled to be adjusted to a target angle in a target direction, the method further includes: Detecting the anti-pinch state of the electric sun visor; If an anti-pinch fault is detected in the electric sun visor, an anti-pinch fault bit is generated, and the anti-pinch fault bit is reported to the vehicle body domain controller; In response to the generated anti-pinch instruction, the electric sunshade is controlled to perform anti-pinch reversal.

7. The method according to claim 6, characterized in that After the generated anti-pinch instruction is responded to and the electric sunshade is controlled to perform anti-pinch reversal, the method further comprises: If it is detected that the anti-pinch fault of the electric sun visor is released, clearing the anti-pinch fault position; The electric sun visor is controlled to respond to the control instruction again and adjusted to the target angle in the target direction.

8. A vehicle sun visor control device, characterized in that: Applied to an electric sun visor controller, the electric sun visor controller is connected to a voice device and an electric sun visor of a vehicle respectively, and the device comprises: A voice command receiving module, used for receiving the voice command transmitted by the voice device; wherein the voice command is obtained by converting the user's sun visor voice request into a vehicle body domain message; A control instruction generating module, used for identifying a sun visor voice request corresponding to the voice instruction, and generating a control instruction using the sun visor voice request; The first control module is used to send the control instruction to the electric sun visor of the vehicle to control the electric sun visor to adjust to a target angle in a target direction.

9. A vehicle, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the vehicle sun visor control method according to any one of claims 1 to 7 are implemented.

10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle sun visor control method according to any one of claims 1 to 7 is implemented.