Intelligent equipment control method based on hand controller, hand controller, system and medium
By adopting the cylindrical body side rotation design and high-precision rotation detection module on the smart device manual, the problem that the existing manual cannot meet the complex height adjustment needs is solved, the flexibility and accuracy of height adjustment are achieved, and the operating freedom is improved through the wireless communication module.
Patent Information
- Application Number
- CN202411627673.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-03-25
AI Technical Summary
The existing smart device manual control has a single function, which cannot meet the complex height adjustment needs, and lacks real-time feedback and operational flexibility.
It adopts the cylindrical body side rotation design, with a built-in high-precision rotation detection module and wireless communication module, and realizes the height adjustment of the intelligent device through rotation gestures and displays the current height in real time on the display screen.
It improves the flexibility and accuracy of height adjustment of smart devices, provides real-time feedback, enables users to accurately control the height of the device, and improves operating freedom through wireless communication modules, reducing cable clutter.
Smart Images

Figure CN119689925A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent control technology, and in particular to an intelligent device control method based on a hand controller, a hand controller, an intelligent device control system, and a computer-readable storage medium. Background Art
[0002] With the development of the Internet of Things and intelligent technology, smart devices have been widely used in daily life and work. Many smart devices (such as smart office desks and chairs, smart beds, smart lamps, etc.) have height adjustment functions to adapt to the needs and usage scenarios of different users. Traditional height adjustment methods usually rely on buttons, touch screens or remote controls, which have certain limitations in operation, such as the need for manual buttons and the lack of intuitive operation.
[0003] Existing hand controllers have been used in some fields, but their functions are usually relatively simple and cannot meet complex height adjustment requirements. For example, some devices may only support limited angle adjustment and lack real-time feedback, so users cannot intuitively know the current height status of the device. In addition, existing hand controllers usually use wired connections, which limits the user's freedom of operation.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present application is to provide a hand controller-based intelligent device control method, a hand controller, an intelligent device control system and a computer-readable storage medium, aiming to improve the flexibility and accuracy of height adjustment of the intelligent device.
[0006] To achieve the above object, the present application provides a method for controlling an intelligent device based on a hand controller, comprising the following steps:
[0007] When the rotation detection module detects the rotation of the side of the hand controller, the rotation direction and rotation angle are obtained; wherein the side of the cylindrical body of the hand controller is axially centered and can rotate forward and backward infinitely; the rotation detection module is built in the hand controller, and the trigger end of the rotation detection module contacts the inner side of the side of the body of the hand controller;
[0008] Acquire height adjustment data of the smart device according to the rotation direction and the rotation angle; wherein the smart device can be height-adjusted based on the electronically controlled component;
[0009] Based on the built-in wireless communication module of the hand controller, the height adjustment data is sent to the control box of the smart device, so that the control box adjusts the height of the smart device based on the height adjustment data; and the current height of the smart device is displayed on the display screen on the front of the hand controller.
[0010] To achieve the above objectives, the present application also provides a hand controller, which includes: a memory, a microcontroller, and a computer program stored in the memory and executable on the microcontroller, wherein the computer program, when executed by the microcontroller, implements the steps of the above-mentioned smart device control method based on the hand controller.
[0011] To achieve the above objectives, the present application also provides a smart device control system, including a smart device, and a hand controller that establishes a communication connection with a control box on the smart device; the hand controller is the hand controller described above.
[0012] To achieve the above objectives, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a microcontroller, the steps of the above-mentioned smart device control method based on a hand controller are implemented.
[0013] The hand controller-based intelligent device control method, hand controller, intelligent device control system and computer-readable storage medium provided in the present application adopt a cylindrical main body side infinite rotation design, and the user can achieve continuous height adjustment through rotation gestures. This design allows the user to finely control the angle and height as needed, greatly improving the flexibility and accuracy of the operation. The built-in high-precision rotation detection module can accurately capture the angle and direction of rotation, ensuring that each operation can be accurately reflected in the height adjustment, so that the user can accurately control the height of the device to avoid excessive or insufficient adjustment. And through the high-definition display screen on the front of the hand controller, the user can see the height change synchronously when rotating the hand controller to adjust the height, which is convenient for the user to understand the current height data of the intelligent device. In addition, the built-in wireless communication module is used to communicate with the control box of the intelligent device, abandoning the traditional wired connection method, which not only improves the user's operating freedom, but also reduces the restraint and clutter of cables, making the working environment cleaner. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a schematic diagram of the steps of a method for controlling an intelligent device based on a hand controller in an embodiment of the present application;
[0015] Figure 2 This is a schematic diagram of a control device in an embodiment of the present application;
[0016] Figure 3 FIG. 1 is a schematic diagram of a control circuit structure inside a hand controller according to an embodiment of the present application.
[0017] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0018] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0019] In addition, if the description of "first", "second", etc. is involved in this application, it is only used for descriptive purposes (such as for distinguishing the same or similar features), and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0020] Reference Figure 1 In one embodiment, the smart device control method based on the hand controller includes:
[0021] Step S10, when the rotation detection module detects that the side of the hand controller rotates, the rotation direction and rotation angle are obtained; wherein the side of the cylindrical body of the hand controller is axially centered and can rotate forward and backward infinitely; the rotation detection module is built in the hand controller, and the trigger end of the rotation detection module contacts the inner side of the side of the body of the hand controller;
[0022] Step S20: acquiring height adjustment data of the smart device according to the rotation direction and the rotation angle; wherein the smart device can be height-adjusted based on the electronic control component;
[0023] Step S30: Based on the wireless communication module built into the hand controller, the height adjustment data is sent to the control box of the smart device, so that the control box adjusts the height of the smart device based on the height adjustment data; and, the current height of the smart device is displayed on the display screen on the front of the hand controller.
[0024] In this embodiment, the execution terminal of the embodiment is a hand controller.
[0025] As described in step S10, refer to Figure 2The hand controller is designed to be cylindrical in shape, which allows users to control smart devices by rotating the hand controller. The cylindrical body is symmetrical, allowing the side of the body to rotate 360 degrees around the center of the circle (i.e. continuous rotation without a fixed starting point and end point), and supports clockwise and counterclockwise rotation. This design ensures that the hand controller can be rotated in any direction and the operation will not be interrupted due to the limitation of the rotation angle.
[0026] The rotation detection module is built into the hand controller, and its trigger end (usually the detection part of the sensor) maintains physical contact with the inner side of the cylindrical body.
[0027] Optionally, the type of the rotation detection module may be:
[0028] Toggle two-way tact switch: A toggle two-way tact switch is a mechanical sensor that detects state changes through physical contact and manual operation. This switch changes the position of its internal mechanical parts by the user toggling or pressing, thereby generating a change in the switch state (such as from "off" to "on" or vice versa), and converts this state change into an electrical signal output.
[0029] Magnetic field sensor or Hall switch: The magnetic field sensor works with magnets placed at different angles inside the hand controller. When the hand controller rotates and drives the magnet to rotate, the magnetic field sensor or Hall switch can accurately detect the change in magnetic field intensity, thereby completing the judgment of the rotation direction and rotation angle.
[0030] Encoders: Rotary encoders provide high-precision angle measurements, are able to detect very small rotational movements, and can distinguish the direction of rotation (clockwise or counterclockwise).
[0031] Optionally, the working process of the rotation detection is that when the hand controller is not rotated, the rotation detection module is in a standby state, waiting for user operation. At this time, the microcontroller (such as a microcontroller) of the hand controller continuously monitors the state of the rotation detection module.
[0032] When the user touches the side of the cylindrical body of the hand controller with a finger or other tool and applies a rotational force, the body rotates around the central axis. The trigger end of the rotation detection module contacts the inner side of the side of the hand controller body, and when the body starts to rotate, the rotation action is detected.
[0033] Furthermore, the rotation direction can be detected by detecting the change in the force direction; and the rotation angle can be detected by detecting the duration (or number of times) of the force.
[0034] Clockwise rotation: When the user rotates the hand controller clockwise, the rotation detection module detects the change in magnetic field, angle or pulse signal and determines that the rotation direction is clockwise.
[0035] Counterclockwise rotation: When the user rotates the hand controller counterclockwise, the rotation detection module will also detect the signal change and determine that the rotation direction is counterclockwise. As the user continues to rotate the hand controller, the rotation detection module continues to record the change in rotation angle and accumulates or decrements it (depending on the rotation direction). For example, if the user rotates the hand controller 30 degrees, the sensor will transmit the 30-degree angle change data in real time.
[0036] The rotation detection module transmits the detected rotation direction and rotation angle data to the microcontroller inside the hand controller. After receiving the data from the rotation detection module, the microcontroller will analyze and process the signal and calculate the rotation direction (clockwise or counterclockwise) and rotation angle (the accumulated rotation angle from the initial position to the current position) according to the preset algorithm.
[0037] As described in step S20, the rotation direction data obtained in step S10 may be clockwise or counterclockwise.
[0038] Clockwise rotation: corresponds to the height increase of the smart device (for example, the smart lifting table rises).
[0039] Counterclockwise rotation: corresponds to the height decrease of the smart device (for example, the smart lifting table is lowered).
[0040] Rotation angle: The rotation angle data obtained from step S10 indicates how many degrees the user has rotated the cylindrical body of the hand controller. For example, the user may have rotated 30 degrees, 45 degrees, etc.
[0041] In order to convert the rotation angle into a specific height change of the smart device, an adjustment ratio is pre-set. This ratio determines how much the height of the smart device should change when the user rotates the hand controller by a certain angle. For example: every 10-degree rotation corresponds to a 3-cm height change of the smart device.
[0042] This ratio can be adjusted according to the type of equipment and user needs. For example, for larger equipment (such as a height-adjustable table), a larger adjustment ratio can be selected; while for smaller equipment (such as a desk lamp), a smaller adjustment ratio can be selected.
[0043] The adjustment ratio can be preset by the manufacturer or the user can allow the user to customize the setting through the user interface.
[0044] Optionally, according to the rotation angle and the adjustment ratio, the microcontroller uses the following formula to calculate the height adjustment amount: height adjustment amount = rotation angle × adjustment ratio.
[0045] For example, if the user rotates 45 degrees, and every 10 degrees corresponds to a 2 cm height change, the calculated height adjustment is:
[0046] Height adjustment = 45 x 0.2 = 9 cm
[0047] Optionally, the rotation direction determines the increase or decrease of the height adjustment amount. The height adjustment amount of clockwise rotation can be a positive value, indicating that the height of the device increases, such as an increase of 9 cm in height; the height adjustment amount of counterclockwise rotation can be a negative value, indicating that the height of the device decreases, such as a decrease of 9 cm in height.
[0048] Among them, the smart device is provided with an electronic control component for controlling the height adjustment, and the electronic control component may include a motor or a servo driver, which is responsible for the actual physical height adjustment of the smart device.
[0049] As described in step S30, the hand controller may establish a communication connection with the control box of the smart device.
[0050] Before sending the height adjustment data (including relevant information of the current increase or decrease of the corresponding height of the smart device) to the control box, the microcontroller can package the relevant information into a data packet.
[0051] After ensuring that the wireless communication module (such as Bluetooth or Wi-Fi) built into the hand controller is in a connected state, the microcontroller sends the constructed data packet to the corresponding control box through the wireless communication module.
[0052] After the control box receives the data packet, the internal microcontroller will analyze the data packet content and extract the height adjustment data. Then, according to the received height adjustment data, it will instruct the electronic control components (such as motors) to perform corresponding height adjustment operations.
[0053] At the same time, the microcontroller inside the hand controller updates the current height information of the smart device to the display screen of the hand controller. On the display screen of the hand controller, the updated content may be "Current height: XX cm", so that the user can clearly understand the current height information of the device.
[0054] The cylindrical side of the hand controller can rotate forward and backward infinitely around the center of the circle. Users can complete the operation through natural gestures, without the need for precise pressing like traditional buttons or touch screens. This rotation operation is more in line with the natural movement trajectory of the human hand, improving the comfort and convenience of operation. Unlike the traditional "press once to raise / lower a little" step-by-step adjustment method, the rotation operation allows users to achieve continuous height adjustment through the rotation amplitude. Users can make fine adjustments through slight rotations, or quickly change the height through large rotations, greatly improving operating efficiency.
[0055] The built-in rotation detection module of the hand controller can accurately capture the angle and direction of rotation, ensuring that each operation is accurately reflected in the height adjustment. This allows users to precisely control the height of the device and avoid over- or under-adjustment.
[0056] At the same time, the hand controller displays the current height in real time through the display screen, and the user can intuitively see the height changes of the equipment. This real-time feedback mechanism makes the operation more transparent and enhances the user's confidence in operation.
[0057] The hand controller communicates with the control box of the smart device through a built-in wireless communication module (such as Bluetooth or Wi-Fi), abandoning the traditional wired connection method. This not only improves the user's operating freedom, but also reduces the constraints and clutter of cables, making the working environment tidier.
[0058] Optionally, the hand controller supports saving multiple height presets. Users can set commonly used heights according to their usage habits and achieve one-click quick adjustment. For example, users can preset "office height", "reading height", etc. to avoid manual adjustment every time, which improves the convenience of use. In addition to the basic height adjustment function, the hand controller can also integrate other practical functions, such as scene mode switching, device status monitoring, etc. Users can use the hand controller to realize the linkage control of multiple smart devices and enhance the overall smart experience.
[0059] The hand controller's rotation operation and real-time display design simplifies the complex process of traditional height adjustment. Users do not need to operate through multiple buttons or menus, they only need to rotate the hand controller to adjust the height, which is more intuitive and simple to operate. The smart device control method based on the hand controller is applicable to a variety of smart devices, such as smart office desks and chairs, smart beds, smart lamps, etc., covering multiple scenarios of daily life and work. Whether at home, in the office or in public places, this method can provide a convenient height adjustment experience.
[0060] The design of the smart device control method based on the hand controller has strong scalability and can be expanded and customized according to different application scenarios and requirements. For example, more preset modes can be added, more smart device linkages can be supported, and voice control can be introduced to meet the development needs of future smart homes and offices.
[0061] In one embodiment, a cylindrical main body side infinite rotation design is adopted, and the user can achieve continuous height adjustment through rotation gestures. This design allows the user to finely control the angle and height as needed, greatly improving the flexibility and accuracy of the operation. The built-in high-precision rotation detection module can accurately capture the angle and direction of rotation, ensuring that each operation can be accurately reflected in the height adjustment, allowing the user to accurately control the height of the device and avoid over- or under-adjustment. And through the high-definition display screen on the front of the hand controller, the user can see the height change synchronously when rotating the hand controller to adjust the height, which is convenient for the user to understand the current height data of the smart device. In addition, the built-in wireless communication module is used to communicate with the control box of the smart device, abandoning the traditional wired connection method, which not only improves the user's operating freedom, but also reduces the constraints and clutter of cables, making the working environment more tidy.
[0062] In one embodiment, based on the above embodiment, the front of the hand controller is further provided with a touch-sensitive function key; the function key includes at least one of a one-key height setting key, a menu key and a height adjustment key;
[0063] When it is detected that any of the function keys is triggered, the backlight corresponding to the function key is turned on;
[0064] If the triggered function key is a one-key height setting key or a height adjustment key, a corresponding height adjustment instruction is sent to the control box.
[0065] In this embodiment, the function keys include at least one of the following:
[0066] One-touch height setting: allows users to set the height of the current device to a preset value with a single touch. This design greatly simplifies the operation process and is particularly suitable for scenarios that require frequent adjustments to a fixed height, such as switching the height of an office desk.
[0067] Menu key: used to enter or exit the setting menu, which is convenient for users to perform more complex settings and adjustments. The introduction of the menu key makes the hand controller have more functional expansion possibilities, such as setting height presets, adjusting device parameters, etc.
[0068] Height adjustment key: used to fine-tune the height of the device. Users can gradually increase or decrease the height by touch. This design provides users with another way to adjust the height, which is very practical in scenarios where precise control of height changes is required.
[0069] Optionally, when any function key is detected to be triggered, the hand controller will light up the backlight of the function key. The backlighting provides clear visual feedback to the user, letting the user know that the current touch operation has taken effect. In the case of insufficient ambient light, the backlight can help users easily find and use the function keys, improving the convenience of use. The backlight design can also enhance the overall aesthetics of the hand controller, making it more modern and technological.
[0070] Optionally, if the triggered function key is a one-key height setting or height adjustment key, the hand controller will send a corresponding height adjustment instruction to the control box of the smart device through the built-in wireless communication module.
[0071] Optionally, for one-button height setting, the hand controller sends a preset height adjustment command, and the control box automatically adjusts the height of the device according to the preset value. This design greatly simplifies the operation process, and users do not need to manually adjust the height, just one-button operation can be completed.
[0072] Optionally, for the height adjustment button, the hand controller sends a step-by-step height adjustment command, and the control box gradually increases or decreases the height of the device according to the command. This design allows the user to fine-tune the height, which is particularly suitable for scenarios that require fine adjustment.
[0073] Optionally, if the triggered function key is a menu key, the hand controller will enter or exit the setting menu. In menu mode, the user can perform more complex setting operations by touching the function keys, such as setting the height preset value, adjusting device parameters, switching scene modes, etc.
[0074] The introduction of touch-sensitive function keys allows users to complete complex height adjustments and settings through simple touch operations, greatly simplifying the operation process and improving the user experience. The introduction of multiple types of function keys and menu keys gives the hand controller more functional expansion possibilities, meeting the height adjustment and setting requirements in different scenarios and needs. The function key backlight design provides clear visual and tactile feedback, making user operation more intuitive and convenient, especially in dim light environments. The design of one-button height setting and height adjustment keys allows users to quickly switch preset heights or gradually fine-tune the height as needed, meeting the height adjustment requirements in different scenarios.
[0075] In one embodiment, based on the above embodiment, the smart device control method based on the hand controller further includes:
[0076] When it is detected that the menu key is triggered, the hand controller is controlled to enter a menu setting state, and a menu interface is displayed on a display screen, and options in the menu interface are switched based on the side rotation of the hand controller.
[0077] In this embodiment, when the user triggers the menu button, the hand controller will enter the menu setting state. This state allows the user to perform deeper settings and adjustment operations, not just simple height adjustment. For example: setting a preset height value, adjusting other parameters of the device (such as angle, tilt, etc.), switching scene modes, configuring personalized options, etc.
[0078] After entering the menu setting state, the hand controller's display screen will display the menu interface. This interface will list the options and settings that the user can choose. The display interface design should be simple and clear, so that users can quickly find the required function options.
[0079] The hand controller is equipped with a rotation detection module on the side. This module is not only used for height adjustment, but also for option switching in the menu setting state. In the menu setting state, by rotating the side of the hand controller, the user can switch different options in the menu interface. For example, in the height preset setting, the user can browse different preset heights by rotating. In the setting items that need to adjust parameters, the side rotation operation can also be used to increase or decrease the parameter value. For example, when adjusting the tilt angle of the table, the user can finely control the change of the angle by rotating.
[0080] This can improve the adaptability of side rotation operations, and the hand controller can better adapt to the user's operating habits and usage scenarios, providing a more flexible, convenient and personalized operating experience.
[0081] In one embodiment, based on the above embodiment, the smart device control method based on the hand controller further includes:
[0082] When it is detected that the preset button in the function key is triggered by long pressing, it is detected whether the side of the hand controller is rotating in a preset direction; if so, the hand controller is controlled to enter a reset state, and a command is sent to the control box through the wireless communication module to make the smart device enter a reset state of the initial height;
[0083] Alternatively, when it is detected that two preset buttons are triggered at the same time, the hand controller and the control box of the smart device start pairing operation of wireless communication and allocate communication identification codes. After successful pairing, the buzzer of the control box sounds to indicate that the pairing is successful; wherein, after the pairing is successful, if the corresponding two preset buttons are triggered at the same time again, the pairing between the hand controller and the control box is released.
[0084] In this embodiment, one or more function keys (eg, a main menu key, a shortcut key, etc.) are provided on the hand controller to trigger different operation modes.
[0085] When the user long presses a preset function key (which can be any function key other than the height adjustment key), the microprocessor detects the operation and enters a specific detection state. After the long press of the function key is triggered, the user needs to rotate the side of the hand controller in a preset direction (e.g., clockwise or counterclockwise).
[0086] When a function key is long pressed and the hand controller is rotated in the preset direction, it will enter the reset state. The reset state can include initializing the device, restoring parameters to default values, canceling the current operation state, etc. The reset state can be used in many scenarios, such as:
[0087] Height adjustment reset: When the user makes an error during use and causes the desktop height to be abnormal, the user can press and hold the function key and rotate the side to enter the reset state to restore the desktop height to the initial setting.
[0088] Scene mode reset: After switching scene modes, if the user is not satisfied with the current settings, the scene mode can be restored to the default state by long pressing the function key and rotating the side.
[0089] System fault recovery: When the device is abnormal or fails, the user can press and hold the function key and rotate the side to enter the system reset state and try to restore the normal operation of the device.
[0090] While the hand controller is being reset, a command is also sent to a control box of the smart device through a built-in wireless communication module (such as Bluetooth or Wi-Fi) to adjust the height of the smart device to an initial height.
[0091] In this way, the reset operation is performed by long pressing the function key and rotating the side. The operation is simple and clear. Users can intuitively control the status of the device and improve their confidence in use.
[0092] Optionally, when the hand controller needs to be paired with the control box of a smart device, it also supports pairing and unbinding operations under double button triggering:
[0093] Two preset buttons are triggered simultaneously: When the user presses two preset buttons on the hand controller (such as the "menu button" and the "height adjustment button") at the same time, the hand controller and the control box of the smart device begin the wireless communication pairing operation.
[0094] The hand controller sends a pairing request through the wireless communication module. After receiving the request, the control box performs the corresponding identity authentication and identification code allocation. If the pairing is successful, the control box assigns a unique communication identification code to the hand controller to ensure that the device can correctly identify the instructions issued by the hand controller during the subsequent communication process; at the same time, the buzzer of the control box makes a sound, indicating that the pairing is successful. At this time, the vibration module of the hand controller can also provide vibration feedback, and the display screen displays the information of successful pairing.
[0095] After pairing is successful, if the user triggers the two preset buttons again, the pairing relationship between the hand controller and the control box will be released. The hand controller sends an unbinding request, and the control box performs the unbinding operation after receiving the request. The buzzer makes a sound to indicate that the unbinding is successful, the vibration module of the hand controller provides vibration feedback, and the display shows the information of successful unbinding.
[0096] By long pressing the preset button and rotating the side, users can intuitively and accurately reset the device. By double-button triggering, users can easily pair and unbind wireless communications.
[0097] In one embodiment, based on the above embodiment, the hand controller further has a built-in vibration module; the hand controller-based smart device control method further includes:
[0098] When the side rotation of the hand controller is detected, or when the function key arranged on the front of the hand controller is detected to be triggered, corresponding vibration feedback is performed based on the vibration module.
[0099] In this embodiment, the hand controller has a built-in high-precision vibration motor as a vibration module, which can generate vibrations of different intensities and frequencies according to system instructions.
[0100] Optionally, the user's rotation operation is detected in real time, and corresponding vibration feedback is triggered according to the direction and angle of rotation. For example, when rotating clockwise, the vibration motor can emit a series of short vibrations, indicating that the option is selected; when rotating counterclockwise, the vibration motor maintains low-frequency vibration, indicating that the option has been cancelled.
[0101] Optionally, when it is detected that a function key on the front of the hand controller is triggered, the vibration module is triggered to send out different forms of vibration feedback according to the key type (such as short press, long press). For example, when a function key is short pressed, the vibration motor can send out a single short vibration; when a long press triggers a reset operation, the vibration motor can send out a continuous vibration for a period of time, ensuring that the user clearly perceives the success of the long press operation.
[0102] Optionally, the vibration feedback can be dynamically changed to adapt to different operating states. For example, when the user rotates the side of the hand controller to make fine adjustments, the vibration feedback can change with the rotation speed and angle to provide real-time operational feedback.
[0103] In addition, users can also customize the intensity, frequency and form of vibration feedback through the hand controller's settings menu to suit personal preferences and usage environment. For example, in a noisy environment, users can choose to increase the intensity of vibration feedback to ensure confirmation of operations.
[0104] With the built-in vibration module, the hand controller can provide instant vibration feedback when performing side rotation operations and triggering function keys, significantly enhancing the intuitiveness of operation and user experience.
[0105] In one embodiment, based on the above embodiment, before the step of acquiring the rotation direction and the rotation angle when the rotation detection module detects the lateral rotation of the hand controller, the step further includes:
[0106] When the hand controller and the control box are paired for the first time and interconnected, the hand controller requests the control box to obtain the height adjustable range of the smart device;
[0107] According to the height adjustable range and user habit data, a mapping relationship between the height adjustment amount and the rotation angle of the side of the hand controller is established.
[0108] In this embodiment, the pairing and unbinding process between the hand controller and the control box can refer to the above embodiment, which will not be described again here.
[0109] When the hand controller establishes a connection with the control box of the smart device for the first time, the hand controller sends a request to the control box to obtain the height adjustable range of the smart device.
[0110] The control box returns the height adjustable range data of the smart device, including the minimum height and the maximum height (such as from 50 cm to 120 cm), so that the hand controller understands the basic height adjustment capability of the device.
[0111] Optionally, the hand controller can further optimize the range and mapping relationship of height adjustment based on previously collected user habit data (such as user preferred height setting).
[0112] Based on the collected height adjustable range and user habit data, the hand controller uses a built-in algorithm to establish a mapping relationship between the rotation angle and the height adjustment amount. For example, if the user usually sets the height to around 90 cm, the hand controller can set a center point for this height in the mapping relationship, making the rotation operation more in line with the user's daily habits.
[0113] When establishing a mapping relationship, the hand controller can use linear mapping (such as 1 cm height change for each degree of rotation) or nonlinear mapping (such as a larger height change within a smaller rotation angle and a smaller height change within a larger rotation angle) to adapt to user needs and operating habits.
[0114] By establishing a mapping relationship between the rotation angle and the height adjustment amount, the operation provided by the hand controller is more intuitive. The user only needs to rotate the side of the hand controller to intuitively perceive the change in height adjustment without complicated calculations and adjustments. The personalization of the mapping relationship makes the hand controller more in line with the actual needs of the user, enhancing the applicability and user experience of the device. For example, the hand controller can automatically adjust the mapping relationship according to the user's usage environment (such as office or home environment) to provide a more comfortable operation experience.
[0115] During the rotation operation, the hand controller can provide real-time operation feedback through the vibration module and the display screen, allowing the user to clearly perceive the changes in height adjustment. For example, during the rotation process, the hand controller can display the current height value through the display screen and provide vibration feedback of different intensities through the vibration module to further confirm the success of the operation.
[0116] Through these improvements, the hand controller can better meet the needs of users in different usage scenarios and provide a more flexible, convenient and reliable operating experience.
[0117] In one embodiment, based on the above embodiment, the hand controller further has a built-in battery management module; the hand controller-based smart device control method further includes:
[0118] Monitoring the battery power of the hand controller based on a battery management module;
[0119] The hand controller is charged and discharged based on the battery power.
[0120] In this embodiment, the battery management module monitors the battery power of the hand controller in real time, can accurately obtain the current remaining battery power, and make corresponding operation prompts or management measures according to the power status.
[0121] Optionally, based on the battery power status, the battery management module is responsible for intelligently managing the charging and discharging process of the hand controller to ensure that the battery works in the best condition and avoid overcharging, over-discharging and other situations that are detrimental to the battery life.
[0122] Optionally, the battery management module monitors the battery voltage, current and temperature in real time through built-in voltage, current and temperature sensors to calculate the current battery charge. The hand controller can update and display the battery charge status in real time based on these data.
[0123] When the battery power drops to different levels (such as 20%, 10%, 5%), the hand controller reminds the user to charge in time through the vibration module, display screen, etc. For example, when the power is less than 20%, the hand controller vibrates slightly and displays a low battery reminder; when the power is less than 5%, the hand controller enters low power mode and reminds the user to charge as soon as possible through continuous vibration.
[0124] Optionally, when the hand controller is plugged into a charger, the battery management module detects the external power input and automatically starts the charging process. During the charging process, the battery management module continuously monitors the battery voltage and temperature to ensure safety during the charging process. If it detects that the battery temperature is too high or the voltage is abnormal, the module will automatically suspend charging or reduce the charging current to avoid overheating or overcharging of the battery.
[0125] Optionally, when the battery charge reaches 100%, the battery management module will automatically stop charging and enter the trickle charge mode (also called "float charge") to maintain the stability of the battery charge and avoid damage to the battery due to overcharging.
[0126] Optionally, when the battery power is lower than a preset threshold (such as 5%), the battery management module will automatically cut off some functions of the hand controller and enter low power mode to reduce power consumption, extend standby time, and avoid battery over-discharge. If the battery power drops to an extremely low state, the battery management module will force the hand controller to shut down to prevent irreversible damage caused by over-discharge of the battery.
[0127] In this way, through intelligent charge and discharge management, the battery management module of the hand controller can effectively extend the battery life and avoid battery aging or damage caused by overcharging, over-discharging or high temperature. At the same time, the battery power is monitored in real time, and the user is informed of the current power status through various reminder methods (such as vibration, display prompts), ensuring that the user can charge the hand controller in time to avoid sudden power outages during use. The intelligent protection mechanism of the battery management module (such as overcharge protection, overheating protection, and over-discharge protection) ensures the safety of the hand controller during charging and use, and avoids safety accidents caused by battery failure. In addition, intelligent charge and discharge management means that users do not need to pay attention to the battery status frequently. The hand controller will automatically adjust and manage according to the power and usage, simplifying the user's operation process.
[0128] In addition, a hand controller is also provided in the embodiment of the present application. The control circuit inside the hand controller can be as follows: Figure 3 As shown, the control circuit includes a microcontroller, a rotation detection module, a vibration module, a wireless communication module, a battery management module, a display module and a multi-channel touch module, and a multi-channel touch backlight module corresponding to the multi-channel touch module;
[0129] The rotation detection module, the vibration module, the wireless communication module, the battery management module, and the display module are all electrically connected to the control circuit; the multi-channel touch module is electrically connected to the microcontroller via the multi-channel touch backlight module;
[0130] The trigger end of the rotation detection module contacts the inner side of the main body of the hand controller;
[0131] The multi-touch module is adapted to the multiple touch-sensitive function keys on the front of the main body of the hand controller;
[0132] The control circuit also includes a memory electrically connected to the microcontroller, and a USB TYPE-C port for program upgrading and debugging.
[0133] The microcontroller is used to provide computing and control capabilities. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. When the computer program is executed by the microcontroller, a smart device control method based on a hand controller as described in the above embodiment is implemented.
[0134] When the hand controller needs to be upgraded, the computer program can be upgraded through the USB TYPE-C port. By adding a USB TYPE-C port for program upgrade and debugging in the control circuit, the subsequent program upgrade, product maintenance and function testing are greatly facilitated.
[0135] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the present application scheme, and does not constitute a limitation on the hand controller to which the present application scheme is applied. For example, in some optional embodiments, the hand controller may also include an output interface (not shown in the figure), and the output interface is also connected to the system bus and is used to output corresponding signals to the peripheral device.
[0136] In addition, the present application also proposes an intelligent device control system, which includes an electronic control device and a hand controller, and the hand controller establishes a communication connection with the control box on the electronic control device. The specific structure of the hand controller refers to the above-mentioned embodiment. Since the present intelligent device control system adopts all the technical solutions of all the above-mentioned embodiments, it has at least all the technical effects brought by the technical solutions of the above-mentioned embodiments, which will not be repeated here one by one.
[0137] In addition, the present application also proposes a computer-readable storage medium, the computer-readable storage medium includes a computer program, and when the computer program is executed by the microcontroller, the steps of the smart device control method based on the hand controller as described in the above embodiment are implemented. It can be understood that the computer-readable storage medium in this embodiment can be a volatile readable storage medium or a non-volatile readable storage medium.
[0138] In summary, the hand controller-based intelligent device control method, hand controller, intelligent device control system and computer-readable storage medium provided in the embodiments of the present application adopt a cylindrical body side infinite rotation design, and the user can achieve continuous height adjustment through a rotation gesture. This design allows the user to finely control the angle and height as needed, greatly improving the flexibility and accuracy of the operation. The built-in high-precision rotation detection module can accurately capture the angle and direction of rotation, ensuring that each operation can be accurately reflected in the height adjustment, so that the user can accurately control the height of the device to avoid excessive or insufficient adjustment. And through the high-definition display screen on the front of the hand controller, the user can see the height change synchronously when rotating the hand controller to adjust the height, which is convenient for the user to understand the current height data of the intelligent device. In addition, the built-in wireless communication module communicates with the control box of the intelligent device, abandoning the traditional wired connection method, which not only improves the user's operating freedom, but also reduces the restraint and clutter of cables, making the working environment more tidy.
[0139] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0140] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0141] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for controlling an intelligent device based on a hand controller, characterized in that: include: When the rotation detection module detects the rotation of the side of the hand controller, the rotation direction and rotation angle are obtained; wherein the side of the cylindrical body of the hand controller is axially centered and can rotate forward and backward infinitely; the rotation detection module is built in the hand controller, and the trigger end of the rotation detection module contacts the inner side of the side of the body of the hand controller; Acquire height adjustment data of the smart device according to the rotation direction and the rotation angle; wherein the smart device can be height-adjusted based on the electronic control component; Based on the built-in wireless communication module of the hand controller, the height adjustment data is sent to the control box of the smart device, so that the control box adjusts the height of the smart device based on the height adjustment data; and the current height of the smart device is displayed on the display screen on the front of the hand controller.
2. The method for controlling an intelligent device based on a hand controller according to claim 1, characterized in that: The hand controller is also provided with a touch-sensitive function key on the front; the function key includes at least one of a one-key height setting key, a menu key and a height adjustment key; When it is detected that any of the function keys is triggered, the backlight corresponding to the function key is turned on; If the triggered function key is a one-key height setting key or a height adjustment key, a corresponding height adjustment instruction is sent to the control box.
3. The method for controlling an intelligent device based on a hand controller according to claim 2, characterized in that: The hand controller-based intelligent device control method further includes: When it is detected that the menu key is triggered, the hand controller is controlled to enter a menu setting state, and a menu interface is displayed on a display screen, and options in the menu interface are switched based on the side rotation of the hand controller.
4. The method for controlling an intelligent device based on a hand controller according to claim 2, characterized in that: The hand controller-based intelligent device control method further includes: When it is detected that the preset button in the function key is triggered by long pressing, it is detected whether the side of the hand controller is rotating in a preset direction; if so, the hand controller is controlled to enter a reset state, and a command is sent to the control box through the wireless communication module to make the smart device enter a reset state of the initial height; Alternatively, when it is detected that two preset buttons are triggered at the same time, the hand controller and the control box of the smart device start pairing operation of wireless communication and allocate communication identification codes. After successful pairing, the buzzer of the control box sounds to indicate that the pairing is successful; wherein, after the pairing is successful, if the corresponding two preset buttons are triggered at the same time again, the pairing between the hand controller and the control box is released.
5. The method for controlling an intelligent device based on a hand controller according to any one of claims 1 to 4, characterized in that: The hand controller also has a built-in vibration module; the hand controller-based smart device control method also includes: When the side rotation of the hand controller is detected, or when the function key arranged on the front of the hand controller is detected to be triggered, corresponding vibration feedback is performed based on the vibration module.
6. The method for controlling an intelligent device based on a hand controller according to any one of claims 1 to 4, characterized in that: Before the step of obtaining the rotation direction and the rotation angle when the rotation detection module detects the lateral rotation of the hand controller, the method further includes: When the hand controller and the control box are paired for the first time and interconnected, the hand controller requests the control box to obtain the height adjustable range of the smart device; According to the height adjustable range and user habit data, a mapping relationship between the height adjustment amount and the rotation angle of the side of the hand controller is established.
7. The method for controlling an intelligent device based on a hand controller according to claim 1, characterized in that: The hand controller also has a built-in battery management module; the hand controller-based smart device control method also includes: Monitoring the battery power of the hand controller based on a battery management module; The hand controller is charged and discharged based on the battery power.
8. A hand controller, characterized in that: The hand controller includes a memory, a microcontroller, and a computer program stored in the memory and executable on the microcontroller. When the computer program is executed by the microcontroller, the steps of the hand controller-based smart device control method are implemented as described in any one of claims 1 to 7.
9. An intelligent device control system, characterized in that: It comprises a smart device and a hand controller which establishes a communication connection with a control box on the smart device; the hand controller is the hand controller according to claim 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the microcontroller, the steps of the hand controller-based intelligent device control method according to any one of claims 1 to 7 are implemented.