Method, apparatus, device and medium for slidingly adjusting wind speed
By capturing the direction and speed of the user's finger swipes and recognizing gestures using a touchscreen or touchpad, the fan speed can be continuously adjusted, solving the problems of inconvenient operation and fine adjustment of traditional fans, and improving user experience and energy efficiency.
Patent Information
- Application Number
- CN202411861021.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2044-12-17
AI Technical Summary
Traditional fan speed adjustment methods are inconvenient to operate, difficult to achieve precise adjustment, and prone to errors and energy waste.
By capturing the direction and speed of the user's finger swipe, and using the touchscreen or touchpad to recognize the gesture, the fan speed can be continuously adjusted. Combined with the preset fan speed settings and their corresponding speeds, the fan outputs the current fan speed.
It enables continuous and smooth wind speed adjustment, meets users' personalized needs, improves ease of operation and adjustment accuracy, and reduces misoperation and energy waste.
Smart Images

Figure CN119616904B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of fan speed adjustment, and particularly to a method, device, equipment and medium for slidingly adjusting fan speed. BACKGROUND
[0002] The design of conventional handheld fans is often limited to single-key or dial switch adjustment of fan speed gears. This design is simple and low in cost, but has a single function. However, with the increasing demand for personalization, users hope that the fan can provide more precise fan speed adjustment to adapt to different environments and individual body feeling needs. For example, a fan speed adjustment range from 1-99 gears can provide more selection space for users.
[0003] To improve this problem, some handheld fans that use a scroll wheel to control fan speed gears have appeared on the market. The scroll wheel design improves the flexibility of fan speed adjustment to some extent, and users can gradually adjust the fan speed by rolling the scroll wheel. However, this control method still has the problem of inconvenient operation. The scroll wheel needs to be repeatedly operated by the user, and since the scroll wheel usually does not have clear gear markings, the user can hardly accurately find the required fan speed gear, resulting in inconvenience and errors in the adjustment process. In addition, the accuracy and stability of the scroll wheel control also face certain challenges, further affecting the user's experience.
[0004] To solve the above problems, a handheld fan that adjusts fan speed gears by a key mode has appeared on the market. This design simplifies the operation process, and users only need to press the corresponding key to switch to different fan speed gears. However, due to the limited number of keys, usually only 3 or fewer fan speed gears can be provided, which leads to insufficient continuity of air volume when the fan adjusts the fan speed, and cannot realize stepless adjustment from small to large. This jump-type fan speed adjustment method not only cannot meet the user's demand for precise fan speed adjustment, but also may cause discomfort or energy waste during use. SUMMARY
[0005] The purpose of the present application is to overcome the shortcomings of the prior art and provide a method, device, equipment and medium for slidingly adjusting fan speed.
[0006] To solve the above technical problems, the present application adopts the following technical solutions:
[0007] In a first aspect, the present embodiment provides a method for slidingly adjusting fan speed, comprising the following steps:
[0008] obtaining the sliding direction and sliding speed of the user's finger;
[0009] determining whether the sliding direction is upward or downward;
[0010] if the sliding direction is upward, the fan speed gear is increased by a fan speed gear variable value corresponding to the sliding speed.
[0011] If the sliding direction is downward, the fan's wind speed level is reduced by the wind speed level variable value corresponding to the sliding speed;
[0012] Based on a preset corresponding relationship between the wind speed level and the wind speed, the fan is controlled to output a current wind speed corresponding to a current wind speed level;
[0013] The current wind speed level is the fan's wind speed level plus or minus the wind speed level variable value corresponding to the sliding speed.
[0014] Further technical solutions are that before the step of obtaining the user's finger sliding direction and sliding speed, the method further comprises: obtaining the fan's wind speed level at a sliding initial time point.
[0015] Further technical solutions are that the wind speed level variable value corresponding to the sliding speed is the sliding speed*k, wherein k is a correlation coefficient.
[0016] Further technical solutions are that the step of controlling the fan to output a current wind speed corresponding to a current wind speed level based on a preset corresponding relationship between the wind speed level and the wind speed comprises:
[0017] Data of the current wind speed level is transmitted to a motor control module;
[0018] The motor control module converts the received data of the current wind speed level into a corresponding current wind speed;
[0019] The motor control module controls the motor to output the current wind speed.
[0020] In a second aspect, the embodiment provides a device for slidingly adjusting a wind speed, comprising: an obtaining unit, a judging unit, an increasing unit, a reducing unit and a controlling unit.
[0021] The obtaining unit is configured to obtain a user's finger sliding direction and sliding speed.
[0022] The judging unit is configured to judge whether the sliding direction is upward or downward.
[0023] The increasing unit is configured to increase the fan's wind speed level by a wind speed level variable value corresponding to the sliding speed if the sliding direction is upward.
[0024] The reducing unit is configured to reduce the fan's wind speed level by a wind speed level variable value corresponding to the sliding speed if the sliding direction is downward.
[0025] The controlling unit is configured to control the fan to output a current wind speed corresponding to a current wind speed level based on a preset corresponding relationship between the wind speed level and the wind speed.
[0026] The current wind speed gear is the wind speed gear of the fan plus or minus a wind speed gear variable value corresponding to the sliding speed.
[0027] Further technical solutions are that the device further comprises an obtaining unit configured to obtain the gear at the initial time of the fan sliding to obtain the wind speed gear of the fan.
[0028] Further technical solutions are that the wind speed gear variable value corresponding to the sliding speed is the sliding speed * k, wherein k is a correlation coefficient.
[0029] Further technical solutions are that the control unit comprises a transmission module, a conversion module and an output module.
[0030] The transmission module is configured to transmit the data of the current wind speed gear to the motor control module.
[0031] The conversion module is configured to convert the data of the current wind speed gear received by the motor control module into the corresponding current wind speed.
[0032] The output module is configured to control the motor to output the current wind speed by the motor control module.
[0033] In a third aspect, the embodiment provides a computer device, which comprises a memory and a processor, the memory stores a computer program, and the processor implements the method for slidingly adjusting the wind speed when executing the computer program.
[0034] In a fourth aspect, the embodiment provides a storage medium, which stores a computer program, the computer program comprises program instructions, and the program instructions can implement the method for slidingly adjusting the wind speed when executed by a processor.
[0035] Compared with the prior art, the beneficial effects of the present application are that the sliding direction and the sliding speed of the user's finger are captured, the user can control the wind speed of the fan with a natural and intuitive gesture, without complicated key operations or complex menu navigation, thereby enhancing the user's experience; in addition, the different sliding speeds are converted into corresponding wind speed gear variable values, which means that the user can finely adjust the wind speed of the fan by the speed of the sliding speed, realize continuous and smooth adjustment of the wind speed, and meet the individualized needs of different users for wind power.
[0036] The present application will be further described below in combination with the drawings and specific embodiments. BRIEF DESCRIPTION OF DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description only some of the embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0038] Figure 1 The flowchart of the method for slidingly adjusting the wind speed provided by the embodiment of the present application is shown in the figure.
[0039] Figure 2 The schematic block diagram of the device for slidingly adjusting the wind speed provided by the embodiment of the present application is shown in the figure.
[0040] Figure 3 The schematic block diagram of the computer device provided by the embodiment of the present application is shown in the figure. DETAILED DESCRIPTION
[0041] The technical solutions in the embodiments of the present application will be described clearly and completely in the following with reference to the drawings of the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0042] It should be understood that when used in the specification and the appended claims, the terms "comprise" and "include" indicate the presence of the described features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0043] It should also be understood that the terms used in the present application specification are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the present application specification and the appended claims, unless otherwise clearly indicated by the context, the singular forms "a", "an" and "the" are intended to include the plural forms.
[0044] It should be further understood that the term "and / or" used in the present application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations thereof, and includes these combinations.
[0045] Please refer to Figure 1 The present application discloses a method for slidingly adjusting the wind speed, which comprises the following steps:
[0046] S1, obtaining the sliding direction and sliding speed of the user's finger;
[0047] Specifically, a touch screen or touchpad is integrated on the operating panel of the fan, which can sense the touch, sliding and other actions of the user's fingers. The touch screen or touchpad is internally configured with corresponding sensors and processors for real-time capture and analysis of the sliding actions of the user's fingers. In addition, a set of special gesture recognition algorithms is developed, which can accurately identify the sliding trajectory of the user's fingers on the touch screen or touchpad. The algorithm calculates the sliding direction (up, down, left, right, etc., but in this embodiment, the up and down directions are mainly concerned) and the sliding speed (i.e., the distance of the finger sliding in unit time) of the user's fingers by analyzing the data collected by the sensors. Among them, the gesture recognition algorithm uses existing public technology and will not be described in detail here.
[0048] More specifically, the user can adjust the fan speed by simply sliding the finger, without the need for complex key operations or menu navigation, greatly improving the convenience of operation and the user's experience. In addition, since the sliding speed of the user's finger can be obtained, the fan speed can be fine-tuned according to the speed of the sliding speed, realizing continuous and smooth adjustment of the fan speed, and meeting the user's individual needs for wind power. In addition, the touch screen or touchpad can capture the sliding action of the user's finger in real time and immediately convert it into a corresponding fan speed adjustment instruction, thereby realizing rapid response and adjustment of the fan speed. In addition, different users may have different sliding speed and strength habits, and by obtaining the sliding speed of the user's finger, it can better adapt to the operation habits of different users and provide a fan speed adjustment experience that better meets the user's expectations.
[0049] S2, determine whether the sliding direction is upward or downward;
[0050] Specifically, first, the original data of the user's finger sliding is collected by the sensors on the touch screen or touchpad, including the starting position, ending position and a series of intermediate positions of the touch points during the sliding process. According to the collected touch point position data, the starting coordinates and ending coordinates of the sliding are calculated. In the coordinate system of the touch screen or touchpad, the upper left corner of the screen is usually defined as the origin (0, 0), the right direction is the positive direction of the X axis, and the downward direction is the positive direction of the Y axis. Compare the Y values of the starting coordinates and ending coordinates; if the Y value of the ending coordinates is greater than the Y value of the starting coordinates, it is determined that the sliding direction is upward; if the Y value of the ending coordinates is less than the Y value of the starting coordinates, it is determined that the sliding direction is downward. In this process, the change of the X axis can be ignored because this embodiment mainly concerns the sliding in the vertical direction (up and down). According to the judgment result, a signal representing the sliding direction (for example, "+" for upward and "-" for downward) is output to the control system of the fan.
[0051] More specifically, the user can only realize the increase and decrease adjustment of the fan wind speed through a simple up and down sliding action of the finger, without the need to remember complex key combinations or operation steps, greatly simplifying the user operation. In addition, by accurately judging the sliding direction, the accurate transmission of the user's intention can be ensured, avoiding misoperation or adjustment not in place, thereby improving the accuracy of the wind speed adjustment. In addition, the operation mode of up and down sliding conforms to people's intuition and habit, so that the user can easily and naturally control the fan wind speed, enhancing the user's use experience and satisfaction. In addition, the implementation of this technical feature relies on the touch screen or touchpad and the corresponding algorithm processing, embodying the development trend of product towards intelligence and digitization, improving the technological sense and competitiveness of the product.
[0052] S3, if the sliding direction is upward, the wind speed gear of the fan is increased by the wind speed gear variable value corresponding to the sliding speed;
[0053] Specifically, first, the sliding direction of the user's finger is detected in real time through the sensor on the touch screen or touchpad; when it is detected that the sliding direction is upward, the subsequent wind speed gear increase logic is triggered. At the same time of detecting the sliding direction, the sliding speed of the user's finger is measured. The sliding speed can be obtained by calculating the distance of the finger sliding in unit time, and the unit can be pixel / second or millimeter / second, etc. According to the measured sliding speed, a corresponding wind speed gear variable value is calculated, which can be a fixed increment value or a dynamic value proportional to the sliding speed. For example, a basic increment value can be set, and then the basic increment value is adjusted by a certain proportion according to the fast or slow of the sliding speed. The calculated wind speed gear variable value is added to the current wind speed gear, so as to obtain the new wind speed gear. If the new wind speed gear exceeds the maximum gear supported by the fan, the wind speed gear can be limited to the maximum gear.
[0054] More specifically, the user can control the increase amount of the wind speed gear through the fast or slow of the sliding speed, realizing the fine adjustment of the wind speed, which is more intuitive and conforms to the user's operation habit. In addition, the user can quickly adjust the wind speed of the fan through a simple up and down sliding action, without the need for complex key operation or menu navigation, which greatly improves the user's use convenience and satisfaction. In addition, this technical feature makes the fan product have a more intelligent and user-friendly operation interface, which helps to improve the market competitiveness of the product and attract more attention and purchase of consumers.
[0055] S4, if the sliding direction is downward, the wind speed gear of the fan is reduced by the wind speed gear variable value corresponding to the sliding speed;
[0056] Specifically, the sliding direction of the user's finger is detected in real time using sensors on the touch screen or touchpad; when the sliding direction is detected to be downward, the subsequent wind speed gear reduction logic is triggered. Similar to the case where the sliding direction is upward, the sliding speed of the user's finger needs to be measured. The sliding speed can be obtained by calculating the distance (such as pixels, millimeters, etc.) that the finger slides in a unit of time. According to the measured sliding speed, a corresponding wind speed gear reduction amount, i.e., a wind speed gear variable value, is calculated. This reduction amount can be a fixed reduction value or a dynamic value that is inversely proportional to the sliding speed. For example, a basic reduction value can be set, and then the basic reduction value is proportionally adjusted according to the speed of the sliding speed. The faster the sliding speed, the greater the reduction amount. The calculated wind speed gear variable value is subtracted from the current wind speed gear to obtain a new wind speed gear. If the new wind speed gear is lower than the minimum gear supported by the fan, the wind speed gear can be limited to the minimum gear or the fan can be turned off.
[0057] More specifically, the user can reduce the wind speed gear of the fan by sliding the finger downward. This operation method is intuitive and easy to understand, and conforms to the user's operation habits. In addition, different sliding speeds will result in different wind speed gear reduction amounts, thereby realizing fine adjustment of the wind speed. The user can fine-tune the wind speed of the fan by controlling the sliding speed to meet different use requirements. In addition, the user does not need to perform complex key operations or menu navigation, but only needs to quickly adjust the wind speed of the fan through a simple sliding action, which greatly improves the user's convenience and satisfaction.
[0058] S5, based on a preset corresponding relationship between the wind speed gear and the wind speed, controlling the fan to output a current wind speed corresponding to the current wind speed gear;
[0059] Specifically, during the product design phase, a set of wind speed gears and their corresponding wind speeds are pre-set according to the motor characteristics of the fan and user requirements. This correspondence is usually a lookup table or a function relationship, where each wind speed gear corresponds to a specific wind speed value. The current wind speed gear is determined through user input (such as a sliding operation on the touch screen) or pre-set automatic adjustment logic (such as a temperature sensor trigger). According to the current wind speed gear, the corresponding current wind speed value is found in the pre-set correspondence, which usually involves indexing the lookup table or calculating the function. The found current wind speed value is converted into a motor control signal, such as voltage, current or pulse width modulation (PWM) signal duty cycle, and this control signal is sent to the fan motor controller to adjust the motor speed, thereby controlling the fan to output the current wind speed corresponding to the current wind speed gear. In some advanced implementations, real-time monitoring of the actual output wind speed of the fan can also be included and compared with the pre-set wind speed value. If there is a deviation, the motor control signal can be adjusted through a closed-loop control algorithm (such as PID control) to achieve more accurate wind speed control.
[0060] More specifically, through the pre-set correspondence between wind speed gears and wind speeds, it can be ensured that the fan output matches the user's expected wind speed, which improves the accuracy of wind speed control and meets the user's demand for accurate wind speed adjustment. In addition, users can control the output wind speed of the fan through simple operations without understanding complex motor control principles, which improves user convenience and satisfaction, making the fan product more user-friendly. In addition, by accurately controlling the output wind speed of the fan, the motor speed can be adjusted according to actual needs, thereby optimizing energy efficiency, which helps to reduce energy consumption and noise and improve the energy efficiency ratio of the fan. In addition, the pre-set correspondence between wind speed gears and wind speeds can be adjusted according to different application scenarios and user requirements.
[0061] wherein the current wind speed gear is the wind speed gear of the fan plus or minus the wind speed gear variable value corresponding to the sliding speed.
[0062] In an embodiment, the step of obtaining the sliding direction and speed of the user's finger further comprises: obtaining the gear at the initial sliding time of the fan to obtain the wind speed gear of the fan.
[0063] Specifically, before the user starts the sliding operation through the touch screen or touchpad, the current fan speed state is first obtained, which usually involves reading the memory or registers of the fan control system to obtain the fan speed value at the initial moment of sliding. The obtained initial fan speed value is stored in a variable or data structure for subsequent sliding operations, and this initial speed value represents the fan speed state before the user starts the sliding operation. After the user starts sliding the finger, the direction and speed of the sliding are detected in real time through the sensors on the touch screen or touchpad, which involves listening and processing touch events, as well as tracking and calculating the sliding trajectory. According to the detected sliding direction and speed, and the stored initial speed value, the new fan speed is calculated, which usually involves analyzing the sliding direction and speed, and calculating the new fan speed according to the pre-set corresponding relationship between the fan speed and the sliding parameters (such as the lookup table or function relationship mentioned above).
[0064] More specifically, by obtaining the fan speed at the initial moment of sliding, it can be ensured that the user's sliding operation is based on a known fan speed state, which makes the sliding operation continuous, and the user can start from the state at the initial moment of sliding and adjust the fan speed step by step through sliding. The acquisition of the initial speed value makes the subsequent fan speed adjustment more accurate, and the user can fine-tune based on the initial speed, rather than starting from a fixed starting point, which helps to improve the accuracy of fan speed adjustment and user experience. In addition, by recording the initial speed value, it is easier to detect user's misoperation (such as accidental sliding); if the user's sliding operation is detected to be inconsistent with the expected (such as the sliding direction being opposite to the expected fan speed adjustment direction), the user can be prompted to confirm or cancel the operation, thereby avoiding misadjustment of the fan speed.
[0065] In an embodiment, the fan speed corresponding to the sliding speed variable value is k*sliding speed, where k is a correlation coefficient.
[0066] Specifically, during the product design or software implementation stage, a suitable correlation coefficient k is determined according to the motor characteristics of the fan, the user's usage habits, and the design goals of the product. This coefficient k represents the proportional relationship between the sliding speed and the wind speed gear variable value, and it determines the sensitivity of the sliding speed to the wind speed gear adjustment. When the user performs a sliding operation through the touch screen or touchpad, the sliding speed of the finger is measured in real time, which usually involves listening and processing touch events, as well as tracking and calculating the sliding trajectory to obtain the distance or number of pixels that the finger slides in unit time. According to the measured sliding speed and the preset correlation coefficient k, a corresponding wind speed gear variable value is calculated, which represents the amount of wind speed gear adjustment caused by the sliding operation. The calculation formula is: wind speed gear variable value = sliding speed * k. The calculated wind speed gear variable value is added to the gear at the initial sliding time (or subtracted, depending on whether the sliding direction is to increase or decrease the wind speed), to obtain the new wind speed gear (i.e. the current wind speed gear). If the new wind speed gear exceeds the range supported by the fan, it will be limited within the minimum or maximum gear.
[0067] More specifically, by setting the correlation coefficient k, the relationship between the sliding speed and the wind speed gear adjustment amount can be flexibly adjusted, which allows users to quickly and accurately adjust the fan's wind speed through finger sliding according to their own usage habits and needs. Since the proportional relationship between the sliding speed and the wind speed gear adjustment amount can be adjusted by k, a more intuitive and easy-to-understand wind speed adjustment method can be provided for users, which helps to improve user convenience and satisfaction, making the fan product more humanized. Different application scenarios and user needs may require different wind speed adjustment methods. By adjusting the correlation coefficient k, the fan product can be adapted to a wider range of application scenarios and user needs, improving the product's flexibility and market competitiveness.
[0068] In an embodiment, the step of controlling the fan to output a current wind speed corresponding to the current wind speed gear based on the preset correspondence between the wind speed gears and the wind speeds comprises:
[0069] transmitting data of the current wind speed gear to the motor control module;
[0070] the motor control module converts the received data of the current wind speed gear into a corresponding current wind speed;
[0071] the motor control module controls the motor to output the current wind speed.
[0072] Specifically, during the product design or software programming phase, a corresponding relationship table or function relationship between the fan speed gear and the wind speed is preset according to the motor characteristics and performance parameters of the fan. This corresponding relationship table or function relationship defines the wind speed value corresponding to each wind speed gear, so that accurate conversion can be performed when controlling the fan output. When the user selects or adjusts the wind speed gear through the user interface (such as touch screen, knob, etc.), the system will transmit the current selected wind speed gear data (such as digital code, gear number, etc.) to the motor control module, which usually involves the design of data communication protocol and interface to ensure accurate transmission and reception of data. After receiving the current wind speed gear data, the motor control module will convert it into the corresponding current wind speed value according to the preset corresponding relationship table or function relationship. This conversion process may be looking up the corresponding relationship table or calculating the function value, depending on the type of preset corresponding relationship. The motor control module controls the speed and output power of the motor according to the converted current wind speed value to achieve the required wind speed output, which usually involves the control and adjustment of the motor drive circuit to ensure that the motor can stably and reliably operate at the specified speed and power. In actual application, sensors and other devices are also needed to monitor and feedback the actual wind speed of the fan output. If there is a deviation between the actual wind speed and the expected value, the motor control module can make corresponding adjustments according to the feedback information to ensure that the wind speed output of the fan is consistent with the user's set value.
[0073] More specifically, through the preset corresponding relationship between the wind speed gear and the wind speed, accurate control of the fan output can be achieved, which helps to reduce wind speed fluctuations and errors, improve the performance and stability of the fan. Users can adjust the required wind speed through simple operation without understanding complex motor control principles, which makes the use of fan products more convenient and intuitive, improves user satisfaction and experience. In addition, by accurately controlling the speed and output power of the motor, energy efficiency optimization of the fan can be achieved, which helps to reduce energy consumption and noise, improve the energy efficiency ratio and environmental performance of the fan. In addition, the motor control module can make corresponding adjustments according to the feedback information of the actual wind speed to ensure stable operation of the fan, which helps to reduce failures and damage caused by overheating and overloading of the motor, improves the reliability and service life of the product.
[0074] To better illustrate the technical content of the present application, the following application scenarios are provided:
[0075] A touch detection device (which can be a PCB board or a conductive film) is installed inside the front structure of the fan handle; a touch button switch is located on the side; and a speed indicator is located in the center of the fan grille. To operate the fan, the user simply presses the side button to turn it on, and then slides their finger up or down in the speed control area to adjust the fan speed. The display shows the speed in real time, for example, from speed 1 to 99. Specifically, it includes the following components:
[0076] Power on / off button (A): Located on the side of the handle (it can be on the right side for right-handed users, or on the left side for left-handed users, or buttons can be located on both sides). It can be a touch button or a toggle switch. Users can control the fan to turn on or off by touching or toggling this button.
[0077] Touch slider control area (B): This area detects the speed and direction of the user's finger movement. Users can adjust the fan speed by sliding their finger up or down in this area; for example, sliding up increases the speed, and sliding down decreases it. The speed change is directly proportional to the finger's sliding speed; the faster the sliding speed, the faster the speed increases / decreases, and vice versa. This is more convenient than traditional button control. The relationship between fan speed and sliding speed can be represented as follows:
[0078] D t =D0+V*k;
[0079] Among them, D t is the fan speed at the current moment (minimum is 0, maximum can be 99); D0 is the fan speed at the initial moment of sliding; V is the speed of the finger sliding, positive when sliding upwards and negative when sliding downwards; k is the correlation coefficient.
[0080] Speed indicator area (C): This area uses two figure-eight indicators to clearly show the current fan speed, making it convenient for users to check. The fan uses a DC brushless motor with stepless speed adjustment.
[0081] In other application scenarios, the side button can be set as the activation button. Pressing it activates the speed display and slider control area. Double-tapping the slider control area again turns on the fan, displaying the default speed. The user can adjust the speed by sliding their finger up or down. Double-tapping the slider control area again turns off the fan, extinguishing the display and stopping the fan. When the slider control area is active, pressing the side button deactivates it, temporarily disabling speed control to prevent accidental operation. To adjust the speed again, the side button must be pressed again to reactivate it. This operation logic simulates smartphone operation, improving the user experience of home appliances while preventing accidental operation.
[0082] This invention captures the direction and speed of a user's finger swipe, allowing for natural and intuitive gesture control of the fan speed, eliminating the need for cumbersome button operations or complex menu navigation, thus enhancing the user experience. Furthermore, different swipe speeds are converted into corresponding fan speed levels, meaning users can fine-tune the fan speed by varying the swipe speed, achieving continuous and smooth adjustment to meet the personalized wind power needs of different users. Additionally, the instant feedback mechanism, which directly increases or decreases the fan speed level based on the swipe direction (up or down), significantly reduces the time required for adjustment, improving efficiency. Moreover, by combining preset fan speed levels with pre-defined correspondences between speeds, this method intelligently identifies and controls the fan output to match the current speed level, ensuring accuracy and stability. Furthermore, since the fan speed is adjusted based on swipe input, it can be flexibly applied to various fan products with touch interfaces, providing a consistent and convenient operating experience in home, office, and industrial environments.
[0083] Please see Figure 2 As shown, the present invention also discloses a device for adjusting wind speed by sliding, comprising: an acquisition unit 10, a judgment unit 20, an increase unit 30, a decrease unit 40, and a control unit 50;
[0084] The acquisition unit 10 is used to acquire the user's finger sliding direction and sliding speed;
[0085] The judgment unit 20 is used to determine whether the sliding direction is upward or downward;
[0086] The adding unit 30 is used to increase the fan speed setting by the variable value corresponding to the sliding speed if the sliding direction is upward.
[0087] The reduction unit 40 is used to reduce the fan speed level variable value corresponding to the sliding speed if the sliding direction is downward.
[0088] The control unit 50 is used to control the fan to output the current wind speed corresponding to the current wind speed level based on the preset correspondence between wind speed levels and wind speeds.
[0089] The current wind speed setting is the fan's wind speed setting plus or minus the wind speed setting variable value corresponding to the sliding speed.
[0090] In one embodiment, the device further includes: an acquisition unit, configured to acquire the speed setting of the fan at the initial moment of its sliding motion, so as to obtain the fan's wind speed setting.
[0091] In one embodiment, the wind speed level variable value corresponding to the sliding speed is sliding speed * k, where k is the correlation coefficient.
[0092] In one embodiment, the control unit includes a transmission module, a conversion module, and an output module;
[0093] The transmission module is used to transmit the current wind speed level data to the motor control module;
[0094] The conversion module is used by the motor control module to convert the received data of the current wind speed level into the corresponding current wind speed.
[0095] The output module is used by the motor control module to control the motor to output the current wind speed.
[0096] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned sliding wind speed adjustment device and each unit can be referred to the corresponding description in the foregoing method embodiments. For the sake of convenience and brevity, it will not be repeated here.
[0097] The aforementioned sliding wind speed regulating device can be implemented as a computer program, which can, for example... Figure 3 It runs on the computer device shown.
[0098] Please see Figure 3 , Figure 3 This is a schematic block diagram of a computer device 500 provided in an embodiment of this application; the computer device 500 can be a terminal or a server, wherein the terminal can be an electronic device with communication functions such as a smartphone, tablet computer, laptop computer, desktop computer, personal digital assistant, and wearable device. The server can be a standalone server or a server cluster composed of multiple servers.
[0099] See Figure 3 The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a system bus 501. The memory may include a non-volatile storage medium 503 and internal memory 504.
[0100] The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform a method for adjusting the wind speed using a sliding mechanism.
[0101] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.
[0102] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can perform a method for adjusting the wind speed by sliding.
[0103] This network interface 505 is used for network communication with other devices. Those skilled in the art will understand that... Figure 3 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device 500 to which the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0104] The processor 502 is used to run a computer program 5032 stored in the memory to perform the following steps:
[0105] The system obtains the user's finger swipe direction and swipe speed; determines whether the swipe direction is upward or downward; if the swipe direction is upward, the fan speed setting is increased by the variable value corresponding to the swipe speed; if the swipe direction is downward, the fan speed setting is decreased by the variable value corresponding to the swipe speed; based on a preset correspondence between fan speed settings and wind speed, the system controls the fan to output the current wind speed corresponding to the current fan speed setting; wherein, the current fan speed setting is the fan speed setting plus or minus the variable value corresponding to the swipe speed.
[0106] It should be understood that in the embodiments of this application, the processor 502 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0107] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program includes program instructions and can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.
[0108] Therefore, the present invention also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions that, when executed by a processor, can implement the above-described method for adjusting the wind speed by sliding. The storage medium stores a computer program, which includes program instructions that, when executed by a processor, can implement the above-described method. The program instructions include the following steps:
[0109] The system obtains the user's finger swipe direction and swipe speed; determines whether the swipe direction is upward or downward; if the swipe direction is upward, the fan speed setting is increased by the variable value corresponding to the swipe speed; if the swipe direction is downward, the fan speed setting is decreased by the variable value corresponding to the swipe speed; based on a preset correspondence between fan speed settings and wind speed, the system controls the fan to output the current wind speed corresponding to the current fan speed setting; wherein, the current fan speed setting is the fan speed setting plus or minus the variable value corresponding to the swipe speed.
[0110] The storage medium can be any computer-readable storage medium capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), magnetic disk, or optical disk.
[0111] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0112] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or skipped.
[0113] The steps in the method of this invention can be adjusted, merged, or reduced in order according to actual needs. The units in the device of this invention can be merged, divided, or reduced according to actual needs. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0114] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0115] The above embodiments are preferred implementations of the present invention. In addition, the present invention can be implemented in other ways. Any obvious substitutions without departing from the concept of the present technical solution are within the protection scope of the present invention.
Claims
1. A method for adjusting wind speed by sliding, characterized in that, Includes the following steps: Get the user's finger swipe direction and swipe speed; Determine whether the sliding direction is upward or downward; If the sliding direction is upward, the fan speed setting will increase by the variable value of the fan speed setting corresponding to the sliding speed. If the sliding direction is downward, the fan speed setting will decrease by the value of the fan speed setting variable corresponding to the sliding speed. Based on the preset correspondence between wind speed levels and wind speed, the fan is controlled to output the current wind speed corresponding to the current wind speed level. Wherein, the current wind speed setting is the wind speed setting of the fan plus or minus the wind speed setting variable value corresponding to the sliding speed; The wind speed gear variable value corresponding to the sliding speed is sliding speed * k, where k is the correlation coefficient; Specifically, during the product design or software implementation phase, a correlation coefficient k is determined based on the fan's motor characteristics, user habits, and product design goals. This coefficient k represents the proportional relationship between the sliding speed and the fan speed level variable value, determining the sensitivity of the sliding speed to fan speed level adjustments. When the user performs a sliding operation via a touchscreen or touchpad, the sliding speed of the finger is measured in real time. This involves listening to and processing touch events, as well as tracking and calculating the sliding trajectory to determine the distance or number of pixels the finger slides per unit time. Based on the measured sliding speed and the preset correlation coefficient k, a corresponding fan speed level variable value is calculated. This variable value represents the amount of fan speed level adjustment caused by the sliding operation. The calculation formula is: Fan speed level variable value = Sliding speed * k. The calculated fan speed level variable value is added to or subtracted from the level at the initial moment of sliding to obtain the new fan speed level.
2. The method for adjusting wind speed by sliding according to claim 1, characterized in that, Before the step of obtaining the user's finger sliding direction and sliding speed, the method further includes: obtaining the fan speed setting at the initial moment of the fan sliding, so as to obtain the fan speed setting.
3. The method for adjusting wind speed by sliding according to claim 1, characterized in that, The step of controlling the fan to output the current wind speed corresponding to the current wind speed level based on the preset correspondence between wind speed levels and wind speeds includes: The current wind speed setting is transmitted to the motor control module; The motor control module converts the received data of the current wind speed setting into the corresponding current wind speed. The motor control module controls the motor to output the current wind speed.
4. A device for adjusting wind speed by sliding, characterized in that, include: Acquisition unit, judgment unit, addition unit, reduction unit, and control unit; The acquisition unit is used to acquire the user's finger sliding direction and sliding speed; The judgment unit is used to determine whether the sliding direction is upward or downward; The adding unit is used to increase the fan speed setting by the variable value corresponding to the sliding speed if the sliding direction is upward. The reduction unit is used to reduce the fan speed level variable value corresponding to the sliding speed if the sliding direction is downward. The control unit is used to control the fan to output the current wind speed corresponding to the current wind speed level based on the preset correspondence between wind speed levels and wind speeds. Wherein, the current wind speed setting is the wind speed setting of the fan plus or minus the wind speed setting variable value corresponding to the sliding speed; The wind speed gear variable value corresponding to the sliding speed is sliding speed * k, where k is the correlation coefficient; Specifically, during the product design or software implementation phase, a correlation coefficient k is determined based on the fan's motor characteristics, user habits, and product design goals. This coefficient k represents the proportional relationship between the sliding speed and the fan speed level variable value, determining the sensitivity of the sliding speed to fan speed level adjustments. When the user performs a sliding operation via a touchscreen or touchpad, the sliding speed of the finger is measured in real time. This involves listening to and processing touch events, as well as tracking and calculating the sliding trajectory to determine the distance or number of pixels the finger slides per unit time. Based on the measured sliding speed and the preset correlation coefficient k, a corresponding fan speed level variable value is calculated. This variable value represents the amount of fan speed level adjustment caused by the sliding operation. The calculation formula is: Fan speed level variable value = Sliding speed * k. The calculated fan speed level variable value is added to or subtracted from the level at the initial moment of sliding to obtain the new fan speed level.
5. The device for adjusting wind speed by sliding according to claim 4, characterized in that, The device further includes: an acquisition unit, used to acquire the speed setting of the fan at the initial moment of sliding, so as to obtain the fan speed setting.
6. The device for adjusting wind speed by sliding according to claim 4, characterized in that, The control unit includes a transmission module, a conversion module, and an output module; The transmission module is used to transmit the current wind speed level data to the motor control module; The conversion module is used by the motor control module to convert the received data of the current wind speed level into the corresponding current wind speed. The output module is used by the motor control module to control the motor to output the current wind speed.
7. A computer device, characterized in that, The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the method of adjusting the wind speed by sliding as described in any one of claims 1-3.
8. A storage medium, characterized in that, The storage medium stores a computer program, which includes program instructions that, when executed by a processor, implement the method of adjusting wind speed by sliding as described in any one of claims 1-3.
Citation Information
Patent Citations
Stepless speed regulation method for touch strip of air conditioner controller
CN102589084A
Method, device and equipment for adjusting wind speed through touch sliding and storage medium
CN118328006A