Method and device for controlling windscreen wiper
By detecting user gesture information and calculating the simulated swing frequency, and dynamically adjusting the actual swing frequency of the wiper, the problem that the existing wiper adjustment methods cannot meet user needs is solved, flexible wiper control is achieved, and user experience and driving safety are improved.
Patent Information
- Application Number
- CN202411996794.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The adjustment method of existing wipers is relatively fixed and cannot be flexibly regulated according to the actual needs of the driver or user, resulting in the inability to meet the user's comfort requirements for the wiper frequency under different rainfall and vehicle speed conditions, affecting driving safety.
By detecting the user's gesture information, the gesture control information for the wiper component model is obtained in real time, the simulated swing frequency is calculated, and the actual swing frequency of the wiper is set to realize the user-defined wiper working frequency and interval time.
It realizes dynamic adjustment of the working frequency and interval time of the wiper according to user needs, ensuring that the working status of the wiper meets user comfort requirements under different rainfall and vehicle speed conditions, improving user experience and ensuring driving safety.
Smart Images

Figure CN119773683A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of vehicle technology, and more particularly to a method and device for controlling a windshield wiper. Background Art
[0002] When a vehicle is driving fast and encounters rainy weather, the amount of rainfall will change with the movement of the position and the change of weather. Although the handle controls the fixed working position of the wiper, users or drivers have different requirements for the comfort level of the wiper frequency, which brings certain unsafe factors to the user's driving. Summary of the invention
[0003] Embodiments of the present disclosure provide a method and apparatus for controlling a windshield wiper.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for controlling a wiper, comprising: in response to detecting first gesture information, detecting second gesture information in real time, wherein the second gesture information includes gesture control information for a wiper component model; in response to detecting the second gesture information, extracting the gesture control information; according to the gesture control information, acquiring a simulated swing frequency; and according to the simulated swing frequency, setting an actual swing frequency of the wiper component.
[0005] In some embodiments, before or while detecting the second gesture information in real time, the method further includes: displaying a first simulation image, wherein the first simulation image includes an image of the wiper assembly model in a predetermined vehicle window model.
[0006] In some embodiments, in response to detecting second gesture information, while or after extracting the gesture control information, the method also includes: displaying a second simulated image, wherein the second simulated image is used to display a picture of the wiper assembly model swinging in a predetermined window model according to the simulated swinging frequency.
[0007] In some embodiments, the gesture control information includes touch information of a user pressing and sliding back and forth on a predetermined vehicle window model with respect to the wiper assembly model in the first simulation image.
[0008] In some embodiments, in response to detecting the second gesture information, extracting the gesture control information includes: in response to detecting the second gesture information, obtaining the sliding information in the second gesture information; based on the sliding information, obtaining the corresponding touch point set, wherein the touch point set includes at least one touch point for pressing and sliding; based on the touch point set, obtaining the gesture control information, wherein the gesture control information includes touch cycle data, and the touch cycle data includes the number of cycles, the cycle interval, the cycle point set and the cycle duration; a touch cycle is a cycle in which the horizontal coordinate of the touch point slides back and forth once.
[0009] In some embodiments, acquiring the simulated swing frequency according to the gesture control information includes: acquiring the simulated swing frequency according to the touch cycle data, wherein the simulated swing frequency includes: a simulated movement speed and a simulated cycle interval.
[0010] In some embodiments, obtaining the simulated swing frequency according to the touch cycle data includes: in response to the touch cycle data corresponding to at least one touch cycle, obtaining the moving speed of each touch cycle; obtaining the simulated moving speed according to the moving speed of each touch cycle; and obtaining the simulated cycle interval according to the pause interval between any two adjacent touch cycles.
[0011] In some embodiments, before acquiring gesture control information according to the touch point set, the method further includes: filtering out data corresponding to a touch period in which the moving distance is less than a predetermined value.
[0012] In some embodiments, displaying the second simulated image includes: in response to the touch point set containing at least two or more touch points with different coordinates, generating and displaying the second simulated image, wherein in the second simulated image, the wiper assembly model swings in the predetermined window model according to the simulated swinging frequency, and wherein the distance that the movable end of the wiper assembly model moves along the predetermined curve is proportional to the distance that the touch point moves.
[0013] In some embodiments, displaying the second simulated image includes: displaying a simulated dynamic image of the wiper assembly model in a predetermined car window model in the rain in a head-up display device according to a set rainfall amount.
[0014] In some embodiments, displaying the second simulated image includes: displaying a simulated dynamic image of the wiper assembly model in a predetermined car window model under rain in a suspended image projected by a display device according to a set rainfall amount.
[0015] In a second aspect, an embodiment of the present disclosure provides a device for controlling a wiper, comprising: a detection unit, configured to detect second gesture information in real time in response to detecting first gesture information, wherein the second gesture information includes gesture control information for a wiper component model; an extraction unit, configured to extract the gesture control information in response to detecting the second gesture information; a simulation unit, configured to obtain a simulated swing frequency based on the gesture control information; and a setting unit, configured to set an actual swing frequency of the wiper component based on the simulated swing frequency.
[0016] In some embodiments, the device further comprises a display unit configured to: display a first simulated image before or simultaneously with detecting the second gesture information in real time, wherein the first simulated image comprises an image of the wiper assembly model in a predetermined vehicle window model.
[0017] In some embodiments, the device also includes a display unit configured to: display a second simulated image while or after extracting the gesture control information in response to detecting the second gesture information, wherein the second simulated image is used to display a picture of the wiper assembly model swinging in a predetermined vehicle window model according to the simulated swinging frequency.
[0018] In some embodiments, the gesture control information includes touch information of a user pressing and sliding back and forth on a predetermined vehicle window model with respect to the wiper assembly model in the first simulation image.
[0019] In some embodiments, the extraction unit is further configured to: in response to detecting second gesture information, obtain sliding information in the second gesture information; based on the sliding information, obtain a corresponding touch point set, wherein the touch point set includes at least one touch point for pressing and sliding; based on the touch point set, obtain the gesture control information, wherein the gesture control information includes touch cycle data, and the touch cycle data includes the number of cycles, cycle interval, cycle point set and cycle duration; a touch cycle is a cycle in which the horizontal coordinate of the touch point undergoes a back-and-forth sliding.
[0020] In some embodiments, the simulation unit is further configured to: obtain the simulated swing frequency according to the touch cycle data, wherein the simulated swing frequency includes: a simulated movement speed and a simulated cycle interval.
[0021] In some embodiments, the simulation unit is further configured to: in response to the touch cycle data corresponding to at least one touch cycle, obtain the moving speed of each touch cycle; obtain the simulated moving speed based on the moving speed of each touch cycle; and obtain the simulated cycle interval based on the pause interval between any two adjacent touch cycles.
[0022] In some embodiments, the device further includes a filtering unit configured to filter out data corresponding to a touch period in which a moving distance is less than a predetermined value before acquiring gesture control information according to the touch point set.
[0023] In some embodiments, the display unit is further configured to: generate and display the second simulated image in response to the touch point set containing at least two or more touch points with different coordinates, wherein in the second simulated image, the wiper assembly model oscillates in the predetermined window model according to the simulated oscillation frequency, and wherein the distance that the movable end of the wiper assembly model moves along the predetermined curve is proportional to the distance that the touch point moves.
[0024] In some embodiments, the display unit is further configured to: display a simulated dynamic image of the wiper assembly model in a predetermined vehicle window model under rain in a head-up display device according to a set amount of rain.
[0025] In some embodiments, the display unit is further configured to: display a simulated dynamic image of the wiper assembly model in a predetermined car window model under rain in a suspended image projected by a display device according to a set amount of rain.
[0026] In a third aspect, an embodiment of the present disclosure provides a vehicle-mounted terminal, comprising: one or more processors; a storage device on which one or more computer programs are stored, and when the one or more computer programs are executed by the one or more processors, the one or more processors implement a method as described in any one of the first aspects.
[0027] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method as described in any one of the first aspects.
[0028] The method and device for controlling the wiper provided by the embodiments of the present disclosure calculate the desired wiper operating frequency and intermittent time through the gesture control information of the user for the wiper component model, and then send a signal to set the actual operating frequency and intermittent time of the wiper. During actual driving, regardless of the current rainfall or vehicle speed, the wiper can be controlled to work at the frequency desired by the user, which effectively starts from the user's needs, improves the user experience, and ensures driving safety.
[0029] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0031] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;
[0032] Figure 2 is a flow chart of an embodiment of a method for controlling a wiper according to the present disclosure;
[0033] Figure 3 is a schematic diagram of an application scenario of the method for controlling a windshield wiper according to the present disclosure;
[0034] Figure 4 is a structural schematic diagram of an embodiment of a device for controlling a windshield wiper according to the present disclosure;
[0035] Figure 5 It is a schematic diagram of the structure of a computer system of an electronic device suitable for implementing an embodiment of the present disclosure. DETAILED DESCRIPTION
[0036] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.
[0037] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0038] Figure 1 An exemplary system architecture of an embodiment of a method for controlling a windshield wiper or an apparatus for controlling a windshield wiper disclosed in the present invention is shown.
[0039] like Figure 1 As shown, the system architecture may include a driving recorder 110, a vehicle camera 120, a vehicle display screen 130, a server 140, and a rain sensor (not shown in the drawings). The system architecture may also include an AR HUD (not shown in the drawings) and a vehicle terminal (not shown in the drawings) that establishes communication connections with the vehicle display screen and the AR HUD, respectively.
[0040] The rain sensor can detect the current rainfall.
[0041] The driving recorder 110 is used to record the video images and sounds of the entire driving process of the car.
[0042] The vehicle-mounted camera 120 can be a panoramic camera on the roof or a camera installed on each side of the vehicle body. It can capture images of the environment or the vehicle body, perform image recognition, and thus determine the rainfall. The image recognition method can also be combined with a rain sensor to determine the rainfall.
[0043] The vehicle display screen 130 can display a 3D vehicle model, which includes component models of various parts, such as a wiper component model, a window component model, a trunk component model, etc. The component component model is controllable or uncontrollable. The vehicle display screen 130 can be a touch screen for receiving touch events, and the user can interact with the 3D vehicle model through the vehicle display screen.
[0044] AR HUD is configured to project the contents of the vehicle display, that is, it can also display the 3D vehicle model. The front windshield of the vehicle can be used as a projection screen for AR HUD to display augmented reality information. Users can interact with the 3D vehicle model through gestures through AR HUD.
[0045] The vehicle terminal is configured to receive signals sent by the user through the vehicle display, microphone or button. The vehicle terminal can output the 3D vehicle model to the vehicle display or AR HUD for display for user control. For example, when the user clicks on the window component model in the 3D vehicle model, the lifting and lowering of the window can be simulated, and then mapped to the lifting and lowering control of the real window.
[0046] At present, the adjustment of wipers is usually carried out through the wiper control lever behind the steering wheel. Generally, it includes the gear adjustment of the intermittent time and the gear adjustment of the working frequency, which are basically realized through the hardware control lever. Among them, the gear adjustment of the intermittent time includes turning the wiper control lever to the intermittent gear position, and then using the knob to adjust the intermittent time; the gear adjustment of the working frequency is divided into fast and slow gears, mainly by turning the control lever to the slow or fast gear. However, in the actual driving process, the amount of rain and the speed of the vehicle will affect the working effect of the wiper. The existing gear adjustment method is relatively fixed and cannot be flexibly adjusted according to the actual needs of the driver or user.
[0047] Continue to refer Figure 2 , shows a process 200 of an embodiment of a method for controlling a windshield wiper according to the present disclosure. The method for controlling a windshield wiper comprises the following steps:
[0048] Step 201: in response to detecting first gesture information, detecting second gesture information in real time.
[0049] In this embodiment, the execution subject (e.g., the vehicle-mounted terminal) of the method for controlling the wiper can receive the user's gesture information through the vehicle-mounted display screen, wherein the first gesture information includes the user's selection operation on the predetermined wiper component model on the vehicle window in the 3D vehicle model, or in the absence of the 3D vehicle model, the user directly clicks a control button or control icon in the vehicle-mounted display screen to enter the control of the wiper. The first gesture information is used to indicate entering the manual control state of the wiper. The second gesture information includes gesture control information for the wiper component model.
[0050] Step 202: extracting gesture control information in response to detecting second gesture information.
[0051] In this embodiment, the second gesture information may include a touch slide of a finger on the vehicle display screen. The user's finger may slide back and forth on the vehicle display screen, and the sliding speed and pause interval are counted as gesture control information.
[0052] The second gesture information may also include non-contact gesture swing information of a finger in front of the vehicle-mounted display screen. The in-vehicle camera device may recognize the gesture action performed by the user in the air, take pictures, and recognize and count the moving speed and pause interval as gesture control information.
[0053] Step 203: acquiring a simulated swing frequency according to the gesture control information.
[0054] In this embodiment, gesture control information can be mapped to a simulated swing frequency, wherein the simulated swing frequency includes a simulated moving speed and a simulated cycle interval, wherein the simulated moving speed corresponds to the operating frequency of the wiper, the faster the simulated moving speed, the higher the operating frequency, and the simulated cycle interval corresponds to the intermittent time of the wiper.
[0055] In this embodiment, the wiper hardware supports a custom swing frequency, and the speed and interval of the finger sliding back and forth can be proportionally mapped to the simulated swing frequency. The proportional coefficient can be set by the user or the default value can be used.
[0056] Step 204, setting the actual oscillation frequency of the wiper assembly according to the simulated oscillation frequency.
[0057] In this embodiment, the actual oscillation frequency of the wiper assembly is set to the simulated oscillation frequency obtained in step 203. The wiper can oscillate at the set actual oscillation frequency.
[0058] The method provided by the above embodiment of the present disclosure calculates the desired wiper operating frequency and intermittent time through the gesture control information of the user for the wiper component model, and then sends a signal to set the actual operating frequency and intermittent time of the wiper. During actual driving, regardless of the current rainfall or vehicle speed, the wiper can be controlled to work at the frequency desired by the user, which effectively starts from the user's needs, improves the user experience, and ensures driving safety.
[0059] In some optional implementations of this embodiment, before or while detecting the second gesture information in real time, the method further includes: displaying a first simulated image, wherein the first simulated image includes an image of the wiper assembly model in a predetermined window model. The wiper assembly model can be displayed on a vehicle display or an AR HUD. The predetermined window model can be a front window or a rear window, and the user can select which window model to display. Figure 1 Shown is the wiper assembly model displayed in the front window model.
[0060] In one embodiment, in response to the first gesture information sent by the user, the first simulated image is displayed. That is, in response to the user's selection operation on the wiper assembly model on the predetermined vehicle window in the 3D vehicle model, or in the absence of the 3D vehicle model, the user directly clicks a control button or control icon on the vehicle display screen, or the user directly makes a predetermined gesture in the air, at this time, the first simulated image is displayed, which may be an enlarged image of the predetermined vehicle window, and the wiper assembly model is included in the image to indicate that the second gesture information can be received to enter the control of the wiper assembly.
[0061] In some optional implementations of this embodiment, while or after extracting the gesture control information in response to detecting the second gesture information, the method further includes: displaying a second simulated image, wherein the second simulated image is used to display a picture of the wiper assembly model swinging in a predetermined window model according to the simulated swing frequency. The second simulated image is a dynamic image, and the user can feel whether the swing frequency of the wiper is comfortable.
[0062] Optionally, the effect of rain flow can be added to the second simulated image to simulate the swing of the wiper in a real rainy environment, so that the user can more intuitively feel whether different swing frequencies are comfortable. The effect of rain flow can be simulated according to the current rainfall.
[0063] In some optional implementations of this embodiment, the gesture control information includes touch information of the user pressing and sliding the wiper assembly model in the first simulated image back and forth on the predetermined window model. As the finger slides, the wiper assembly model swings at the same speed and interval on the predetermined window model, which can make the user feel immersive, thereby reflecting the comfort of the wiper swing frequency in a real rainy scene.
[0064] In one embodiment, the gesture control information includes information of the user's hand swinging back and forth in the air. As the hand swings back and forth, the wiper assembly model swings at the same speed and interval on the predetermined vehicle window model.
[0065] In some optional implementations of this embodiment, the second gesture information includes touch information of a user pressing and sliding back and forth on a predetermined window model for a wiper assembly model in the first simulation image, and the extracting of the gesture control information in response to detecting the second gesture information includes: in response to detecting the second gesture information, obtaining sliding information in the second gesture information; obtaining a corresponding touch point set according to the sliding information, wherein the touch point set includes at least one touch point for pressing and sliding; obtaining the gesture control information according to the touch point set, wherein the gesture control information includes touch cycle data, and the touch cycle data includes a cycle number, a cycle interval, a cycle point set, and a cycle duration; a touch cycle is a cycle in which a horizontal coordinate of a touch point undergoes a back-and-forth sliding. The cycle number is the number of back-and-forth sliding. The cycle interval is the time interval between two adjacent cycles. The cycle point set is a set of touch points within a cycle. The cycle duration is the duration of a back-and-forth sliding. Since the user's finger may slide back and forth multiple times, there is no limit on the distance and the number of back-and-forth sliding for each slide.
[0066] like Figure 3 As shown, it is the trajectory of the touch point. It should be noted that Figure 3 The relationship between periodic events and time is presented, which does not represent the actual sliding area of the user on the vehicle computer. In actual applications, the user's sliding back and forth operations may be limited to the same area.
[0067] exist Figure 3 In the figure, a periodic event indicates a continuous touch event from 1>2-3>4 (or 3>4>1>2);
[0068] The circle on the left indicates the interval point of periodic events (generally applicable to the periodic event sequence 1>2-3>4), which is mainly used for the calculation of wiper periodic event frequency;
[0069] The circle on the right indicates the interval point of periodic events (generally applicable to the periodic event sequence 3->4>1>2), which is mainly used for the frequency calculation of wiper periodic events;
[0070] The intra-cycle distance represents the distance calculated from the valid point set after curve fitting within a cycle;
[0071] The speed of a periodic event is the corresponding periodic distance divided by the corresponding periodic time;
[0072] Total cycle event average speed = (cycle event speed 1 + cycle event speed 2 + cycle event speed 3 + ... + cycle event speed n) / n, mainly used to set the execution speed within the wiper cycle event;
[0073] Periodic interval = (periodic event interval point time 1 + periodic event interval point time 2 + periodic event interval point time 3 + ... + periodic event interval point time n-1) / (n-1), which is mainly used to set the wiper periodic event trigger frequency.
[0074] In some optional implementations of this embodiment, acquiring the simulated swing frequency according to the gesture control information includes: acquiring the simulated swing frequency according to the touch cycle data, wherein the simulated swing frequency includes: a simulated movement speed and a simulated cycle interval.
[0075] The moving speed of a cycle can be calculated based on the moving distance of the periodic point set in each cycle and the cycle duration. Then the moving speeds of multiple cycles are averaged to obtain the simulated moving speed.
[0076] It is also necessary to set the time interval between one round trip of the wiper and the next round trip, that is, the cycle interval. Figure 3 The simulated cycle interval is obtained by calculating the average value of multiple cycle event intervals shown in .
[0077] The user may lift the finger between two cycles, and the cycle interval can be determined by detecting the time interval between the finger lifting and the next press.
[0078] In some optional implementations of the present embodiment, obtaining the simulated swing frequency according to the touch cycle data includes: in response to the touch cycle data corresponding to at least one touch cycle, obtaining the moving speed of each touch cycle; obtaining the simulated moving speed according to the moving speed of each touch cycle; and obtaining the simulated cycle interval according to the pause interval between any two adjacent touch cycles.
[0079] The user's finger can slide back and forth multiple times, and the trajectory does not need to be consistent each time. Therefore, the moving speed of each touch cycle can be calculated based on the moving distance of the touch point and the cycle length in each touch cycle. Then the moving speeds of multiple touch cycles are averaged to obtain the simulated moving speed. The average pause interval is calculated based on the pause interval between two adjacent touch cycles as the simulated cycle interval.
[0080] In some optional implementations of this embodiment, before acquiring gesture control information according to the touch point set, the method further includes: filtering out data corresponding to a touch period whose moving distance is less than a predetermined value. If the finger sliding track is too short, it may be an accidental touch by the user's finger, and the data has no reference value and can be filtered out.
[0081] In some optional implementations of the present embodiment, the displaying of the second simulated image includes: in response to the touch point set containing at least two or more touch points with different coordinates, generating and displaying the second simulated image, wherein in the second simulated image, the wiper assembly model swings in the predetermined window model according to the simulated swinging frequency, and wherein the distance that the movable end of the wiper assembly model moves along the predetermined curve is proportional to the distance that the touch point moves.
[0082] The wiper assembly model includes a movable end and a fixed end. The movable end draws a circle with the fixed end as the center, so the moving curve of the movable end is an arc. The present application does not limit the movement trajectory of the finger to an arc, it can also be a straight line, or a non-arc curve. The trajectory of the touch point does not completely match the movement curve of the movable end of the wiper, so the movement curve of the movable end is fitted according to the trajectory of the touch point. Similar to the mapping relationship between the mouse and the cursor, the movement curve of the movable end can be regarded as the cursor movement trajectory, and the movement trajectory of the touch point can be regarded as the mouse movement trajectory. Therefore, the moving distance of the movable end is proportional to the distance moved by the touch point.
[0083] In some optional implementations of this embodiment, the displaying of the second simulated image includes: displaying a simulated dynamic image of the wiper assembly model in a predetermined car window model in the rain in a head-up display device according to a set rainfall amount.
[0084] The rain effect of different rainfall amounts can be added to the second simulated image displayed on the head-up display device, and animation simulation can be performed for different rainfall amounts. The user can set different wiper swing frequencies for different rainfall amounts. For example, when the rain sensor detects that it is currently raining heavily during vehicle driving, the wiper can be made to swing at the swing frequency of heavy rain. Since the head-up display device utilizes the front window, the wiper swing seen by the user on the head-up display device can realistically simulate the wiper swing on the window, so that the user can accurately find the swing frequency that suits him or her.
[0085] In some optional implementations of this embodiment, the displaying of the second simulated image includes: displaying a simulated dynamic image of the wiper assembly model in a predetermined car window model under rain in a suspended image projected by a display device according to a set rainfall amount.
[0086] The second simulated image displayed in the suspended image projected by the display device can be added with rain effects of different rainfall amounts, and animation simulation can be performed for different rainfall amounts. Users can set different wiper swing frequencies for different rainfall amounts. For example, when the rain sensor detects that it is currently raining heavily during vehicle driving, the wipers can be made to swing at the swing frequency of heavy rain. Since the suspended image is displayed in 3D, users can more immersively experience the impact of the wiper swing frequency on comfort under different rainfall conditions, and thus set the wiper swing frequency that makes users most comfortable.
[0087] Continue to see Figure 3 , Figure 3 FIG. 1 is a schematic diagram of an application scenario of the method for controlling a windshield wiper according to this embodiment. Figure 3 In the application scenario, set the wiper oscillation frequency by following the steps below:
[0088] (1) The user can select a wiper assembly model from the 3D vehicle model list displayed on the vehicle display screen (including the front and rear windows, as long as it exists on the 3D vehicle model);
[0089] (2) The user slides positively or negatively according to his or her visual or frequency preference (there are no special requirements for the sliding amplitude and sliding area. The only concern is whether the curvature calculated based on the touch point set in each cycle meets the requirements.);
[0090] (3) Record the set of points for each sliding cycle (for example, sliding a finger in a straight line on the screen will generate a set of touch points on the system), the time of each cycle, and the number of cycles;
[0091] (4) Calculate the average distance per cycle based on the number of cycles and the corresponding point set;
[0092] (5) Calculate the average time per cycle based on the number of cycles and cycle time;
[0093] (6) Calculate the speed of each cycle based on the average distance and time of each cycle;
[0094] (7) After the user cancels the touch event, the speed per cycle is sent to the vehicle wiper controller.
[0095] Further references Figure 4 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a device for controlling a wiper. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0096] like Figure 4As shown, the device 400 for controlling a wiper in this embodiment includes: a detection unit 401, an extraction unit 402, a simulation unit 403 and a setting unit 404. The detection unit 401 is configured to detect the second gesture information in real time in response to detecting the first gesture information, wherein the second gesture information includes gesture control information for the wiper component model; the extraction unit 402 is configured to extract the gesture control information in response to detecting the second gesture information; the simulation unit 403 is configured to obtain a simulated swing frequency according to the gesture control information; and the setting unit 404 is configured to set the actual swing frequency of the wiper component according to the simulated swing frequency.
[0097] In this embodiment, the specific processing of the detection unit 401, the extraction unit 402, the simulation unit 403 and the setting unit 404 of the device for controlling the wiper 400 can refer to Figure 2 Corresponding to step 201, step 202, step 203, and step 204 in the embodiment.
[0098] In some optional implementations of this embodiment, the device 400 also includes a display unit (not shown in the drawings), which is configured to: display a first simulated image before or simultaneously with the real-time detection of the second gesture information, wherein the first simulated image includes an image of the wiper assembly model in a predetermined vehicle window model.
[0099] In some optional implementations of this embodiment, the device 400 also includes a display unit (not shown in the drawings), which is configured to: in response to detecting second gesture information, while or after extracting the gesture control information, display a second simulated image, wherein the second simulated image is used to display a picture of the wiper assembly model swinging in a predetermined vehicle window model according to the simulated swinging frequency.
[0100] In some optional implementations of this embodiment, the gesture control information includes touch information of a user pressing and sliding back and forth on a predetermined vehicle window model with respect to the wiper assembly model in the first simulation image.
[0101] In some optional implementations of this embodiment, the extraction unit 402 is further configured to: in response to detecting second gesture information, obtain sliding information in the second gesture information; based on the sliding information, obtain a corresponding touch point set, wherein the touch point set includes at least one touch point for pressing and sliding; based on the touch point set, obtain the gesture control information, wherein the gesture control information includes touch cycle data, and the touch cycle data includes the number of cycles, cycle interval, cycle point set and cycle duration; a touch cycle is a cycle in which the horizontal coordinate of the touch point undergoes a back-and-forth sliding.
[0102] In some optional implementations of this embodiment, the simulation unit 403 is further configured to: obtain the simulated swing frequency according to the touch cycle data, wherein the simulated swing frequency includes: a simulated movement speed and a simulated cycle interval.
[0103] In some optional implementations of this embodiment, the simulation unit 403 is further configured to: in response to the touch cycle data corresponding to at least one touch cycle, obtain the moving speed of each touch cycle; obtain the simulated moving speed based on the moving speed of each touch cycle; and obtain the simulated cycle interval based on the pause interval between any two adjacent touch cycles.
[0104] In some optional implementations of this embodiment, the device 500 also includes a filtering unit (not shown in the drawings), which is configured to: before acquiring gesture control information based on the touch point set, filter out data corresponding to touch cycles with a moving distance less than a predetermined value.
[0105] In some optional implementations of this embodiment, the display unit is further configured to: in response to the touch point set containing at least two or more touch points with different coordinates, generate and display the second simulated image, wherein in the second simulated image, the wiper assembly model swings in the predetermined window model according to the simulated swinging frequency, and wherein the distance that the movable end of the wiper assembly model moves along the predetermined curve is proportional to the distance that the touch point moves.
[0106] In some optional implementations of this embodiment, the display unit is further configured to: display a simulated dynamic image of the wiper assembly model in a predetermined car window model under rain in a head-up display device according to a set amount of rain.
[0107] In some optional implementations of this embodiment, the display unit is further configured to: display a simulated dynamic image of the wiper assembly model in a predetermined car window model under rain in a suspended image projected by the display device according to a set rainfall amount.
[0108] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security and national security.
[0109] According to an embodiment of the present disclosure, the present disclosure also provides a vehicle-mounted terminal and a readable storage medium.
[0110] A vehicle-mounted terminal includes: one or more processors; a storage device on which one or more computer programs are stored. When the one or more computer programs are executed by the one or more processors, the one or more processors implement the method described in process 200.
[0111] A computer-readable medium stores a computer program, wherein the computer program implements the method described in process 200 when executed by a processor.
[0112] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0113] like Figure 5 As shown, the device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0114] A number of components in the device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0115] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as the road area planning method. For example, in some embodiments, the road area planning method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the road area planning method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the road area planning method in any other appropriate manner (e.g., by means of firmware).
[0116] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0117] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0118] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0119] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0120] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0121] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the respective computers and having a client-server relationship with each other. The server may be a server of a distributed system, or a server combined with a blockchain. The server may also be a cloud server, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology. The server may be a server of a distributed system, or a server combined with a blockchain. The server may also be a cloud server, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology.
[0122] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0123] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for controlling a wiper, comprising: In response to detecting the first gesture information, detecting second gesture information in real time, wherein the second gesture information includes gesture control information for the wiper assembly model; In response to detecting the second gesture information, extracting the gesture control information; According to the gesture control information, obtaining a simulated swing frequency; The actual oscillation frequency of the wiper assembly is set according to the simulated oscillation frequency.
2. The method according to claim 1, wherein: Before or while detecting the second gesture information in real time, the method further includes: A first simulation image is displayed, wherein the first simulation image includes an image of the wiper assembly model in a predetermined vehicle window model.
3. The method according to claim 1 or 2, wherein: While or after extracting the gesture control information in response to detecting the second gesture information, the method further includes: A second simulation image is displayed, wherein the second simulation image is used to display a picture of the wiper assembly model swinging in a predetermined vehicle window model according to the simulated swinging frequency.
4. The method according to claim 3, wherein: The gesture control information includes touch information of a user pressing and sliding back and forth on a predetermined vehicle window model with respect to the wiper assembly model in the first simulation image.
5. The method according to claim 4, wherein: In response to detecting the second gesture information, extracting the gesture control information includes: In response to detecting the second gesture information, obtaining sliding information in the second gesture information; According to the sliding information, a corresponding touch point set is acquired, wherein the touch point set includes at least one touch point for pressing and sliding; The gesture control information is obtained according to the touch point set, wherein the gesture control information includes touch cycle data, and the touch cycle data includes the number of cycles, cycle intervals, cycle point sets and cycle duration; a touch cycle is a cycle in which the horizontal coordinate of the touch point slides back and forth once.
6. The method according to claim 5, wherein: The acquiring the simulated swing frequency according to the gesture control information includes: The simulated swing frequency is acquired according to the touch cycle data, wherein the simulated swing frequency includes: a simulated moving speed and a simulated cycle interval.
7. The method according to claim 6, wherein: The step of acquiring the simulated swing frequency according to the touch cycle data includes: In response to the touch cycle data corresponding to at least one touch cycle, acquiring a moving speed of each touch cycle; According to the moving speed of each touch cycle, acquiring the simulated moving speed; The simulation cycle interval is obtained according to the pause interval between any two adjacent touch cycles.
8. The method according to any one of claims 5 to 7, wherein: Before acquiring gesture control information according to the touch point set, the method further includes: The data corresponding to the touch period whose moving distance is less than a predetermined value is filtered out.
9. The method according to claim 5, wherein: The displaying of the second simulation image comprises: In response to the touch point set containing at least two or more touch points with different coordinates, the second simulated image is generated and displayed, wherein in the second simulated image, the wiper assembly model oscillates in the predetermined window model according to the simulated oscillation frequency, and wherein the distance that the movable end of the wiper assembly model moves along the predetermined curve is proportional to the distance that the touch point moves.
10. The method according to claim 3, wherein: The displaying of the second simulation image comprises: According to the set rainfall amount, a simulated dynamic image of the wiper assembly model in a predetermined vehicle window model in the rain is displayed in the head-up display device.
11. The method according to claim 3, wherein: The displaying of the second simulation image comprises: According to the set rainfall amount, a simulated dynamic image of the wiper assembly model in a predetermined car window model in the rain is displayed in the suspended image projected by the display device.
12. A device for controlling a windshield wiper, comprising: a detection unit, configured to detect second gesture information in real time in response to detecting the first gesture information, wherein the second gesture information includes gesture control information for the wiper assembly model; an extracting unit, configured to extract the gesture control information in response to detecting the second gesture information; a simulation unit configured to obtain a simulated swing frequency according to the gesture control information; The setting unit is configured to set the actual oscillation frequency of the wiper assembly according to the simulated oscillation frequency.
13. A vehicle-mounted terminal, comprising: at least one processor; And, a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps in the method described in any one of claims 1 to 11.
14. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
Gesture-based automotive controls
CN104411530A
Wiper intelligent control method and device
CN109334609A
Windshield wiper control method, device, equipment, medium, program product and train
CN117944626A
User interface, means of transportation and methods for interacting with a means of transportation
DE102022126772A1
Wiper control device
JP2017140960A