Control method and device and storage medium
By introducing a sliding strip and a status detection component into the remote control, the relative sliding state between the housing and the sliding strip is detected to generate control commands, solving the problem of poor user experience caused by multiple buttons, realizing intuitive device control, and improving interaction efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GOLDANA TECH CO LTD
- Filing Date
- 2025-12-30
- Publication Date
- 2026-04-21
AI Technical Summary
Existing remote controls require multiple buttons for operation, resulting in a poor user experience.
The system employs a combined structure of a sliding strip and a state detection component. By detecting the relative sliding state between the housing and the sliding strip, control commands are generated, enabling the sliding operation to be directly converted into a device control signal.
It improves user interaction efficiency and operating experience, reduces reliance on multiple buttons, and enables intuitive device control.
Smart Images

Figure CN121900221A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of control equipment technology, and in particular to a control method, device and storage medium. Background Technology
[0002] With the rapid development of the Internet of Things, smart homes, and multimedia entertainment systems, remote controls, as the core entry point for human-computer interaction, have seen a dramatic increase in functional density and control complexity.
[0003] Existing remote controls require one button for each function. When a remote control has multiple functions, it can lead to the need to set up multiple buttons for separate control, resulting in a poor user experience. Summary of the Invention
[0004] The main purpose of this application is to provide a control method, device and storage medium, which aims to solve the technical problem that the existing technology requires multiple buttons for control, resulting in a poor user experience.
[0005] To achieve the above objectives, this application provides a control method applied to a control device, the control device comprising: a housing, a sliding belt, and a state detection component; The sliding band is sleeved on the side of the housing and slides relative to the housing along the outer contour of the housing. The state detection component is used to detect the relative sliding state between the housing and the sliding band. The method includes: When the user slides the sliding strip, the relative sliding state between the housing and the sliding strip is detected by the state detection component; Based on the relative sliding state, corresponding control commands are generated, and the target device is controlled to perform corresponding operations according to the control commands.
[0006] In one embodiment, the relative sliding state includes: relative sliding distance and relative sliding direction; The step of generating corresponding control commands based on the relative sliding state includes: Obtain the parameter to be adjusted; The adjustment amount of the parameter to be adjusted is determined based on the relative sliding distance, and the adjustment direction of the parameter to be adjusted is determined based on the relative sliding direction. Based on the parameter to be adjusted, the adjustment amount, and the adjustment direction, a corresponding control command is generated.
[0007] In one embodiment, the control device further includes: physical buttons, the physical buttons being disposed in the housing; Before the step of detecting the relative sliding state between the housing and the sliding strip by the state detection component when the user slides the sliding strip, the method further includes: When the user presses the physical button, the current control mode corresponding to the physical button is determined; The step of generating corresponding control commands based on the relative sliding state and controlling the target device to perform corresponding operations according to the control commands includes: Based on the current control mode and the relative sliding state, corresponding control commands are generated.
[0008] In one embodiment, the control device further includes a pressure detection component, which is disposed on the side of the sliding band away from the housing, or between the sliding band and the housing; The method further includes: When the user presses the sliding band, the current pressure state is detected by the pressure detection component; Based on the current pressure state, a corresponding control command is generated, and the target device is controlled to perform the corresponding operation according to the control command.
[0009] In one embodiment, the current pressure state includes: the current pressing force; The step of generating corresponding control commands based on the current pressure state and controlling the target device to perform corresponding operations according to the control commands includes: The preset pressure range is determined based on the current pressing force. The system generates corresponding control commands based on a preset pressure range, and controls the target device to perform corresponding operations according to the control commands.
[0010] In one embodiment, the pressure detection component is a pressure sensing strip, and there are at least two pressure sensing strips, which are arranged sequentially along the thickness direction of the housing or the thickness direction of the sliding strip. Alternatively, the pressure detection component may be a pressure sensor array; The step of generating corresponding control commands based on the current pressure state and controlling the target device to perform corresponding operations according to the control commands further includes: Based on the current pressure state of each of the pressure sensing bands, or based on the pressure sensing array, the current pressing point is determined, and the current pressing trajectory is generated according to the current pressing point. Based on the current pressing trajectory, a corresponding control command is generated, and the target device is controlled to perform the corresponding operation according to the control command.
[0011] In one embodiment, the control device further includes an indicator light strip disposed between the housing and the sliding strip, facing the direction of the sliding strip; After the step of generating corresponding control commands based on the relative sliding state and controlling the target device to perform corresponding operations according to the control commands, the method further includes: Obtain the parameters to be prompted corresponding to the target device; Based on the parameters to be prompted, a corresponding LED strip prompt state is generated, and the prompt LED strip is controlled to provide prompts according to the LED strip prompt state.
[0012] In one embodiment, the parameter to be prompted includes at least one of: a progress parameter, a status parameter, and a scalar parameter; The indicator status of the light strip includes at least one of the following: light emission length, light emission ratio, light emission color, and light emission frequency.
[0013] In addition, to achieve the above objectives, the control device includes: a housing, a sliding belt, and a status detection component; The sliding band is sleeved on the side of the housing and slides relative to the housing along the outer contour of the housing. The state detection component is used to detect the relative sliding state between the housing and the sliding band. The control device further includes: a memory, a processor, and a control program stored in the memory and executable on the processor, wherein the control program, when executed by the processor, implements the steps of the control method described above.
[0014] In addition, to achieve the above objectives, this application also proposes a storage medium that is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the control method described above.
[0015] This application provides a control method, device, and storage medium. The method is applied to a control device, which includes: a housing, a sliding band, and a state detection component. The sliding band is sleeved on the side of the housing and slides relative to the housing along the outer contour of the housing. The state detection component is used to detect the relative sliding state between the housing and the sliding band. The method includes: detecting the relative sliding state between the housing and the sliding band by the state detection component when a user slides the sliding band; generating a corresponding control command based on the relative sliding state; and controlling the target device to perform a corresponding operation according to the control command.
[0016] The control method and device of this application can be equipped with a sliding strip and a state detection component sleeved on the side of the housing. The state detection component can be placed between the housing and the sliding strip to detect the relative sliding state between the two. In actual use, when the user slides the sliding strip, the state detection component detects its relative sliding state with the housing and generates a corresponding control command. Compared to existing interaction methods that rely on multiple independent buttons, resulting in cumbersome operation, this application, through continuous sliding detection, can directly convert the displacement of a single sliding strip into a control signal for the target device. Therefore, when using the device, the user can directly and continuously control it intuitively through sliding operations, improving interaction efficiency and user experience. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of the control device structure of the hardware operating environment involved in the embodiments of this application; Figure 2 This is a structural diagram of the control device proposed in the embodiments of this application; Figure 3 This is a flowchart illustrating the first embodiment of the control method proposed in this application. Figure 4 This is a perspective view of the control device in the control method of this application; Figure 5 This is a structural diagram of the sliding belt in the control device of the control method of this application; Figure 6 This is a cross-sectional structural diagram of the control equipment in the control method of this application; Figure 7 This is a flowchart illustrating the third embodiment of the control method proposed in this application.
[0020] Explanation of icon numbers:
[0021] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0022] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0023] Reference Figure 1 , Figure 1 This is a schematic diagram of the control device structure of the hardware operating environment involved in the embodiments of this application.
[0024] like Figure 1 As shown, the control device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may be connected to a display screen; optionally, the user interface 1003 may include a standard wired interface or a wireless interface. In this application, the wired interface of the user interface 1003 may be a USB interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or non-volatile memory (NVM), such as a disk storage device. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0025] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the control device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0026] like Figure 1 As shown, the memory 1005, which is identified as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a control program.
[0027] exist Figure 1 In the control device shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the user equipment; the control device calls the control program stored in the memory 1005 through the processor 1001 and executes the steps of the control method provided in the embodiments of this application.
[0028] It should also be understood that the control device described above in this embodiment may further include a housing 1, a sliding band 2, and a state detection component; the sliding band 2 is sleeved on the side of the housing 1 and slides relative to the housing 1 along the outer contour of the housing 1; the state detection component includes a sensing component 3 and a state detection component 4; one of the sensing component 3 and the state detection component 4 is disposed on the sliding band 2, and the other of the sensing component 3 and the state detection component 4 is disposed on the housing 1; the state detection component 4 is used to detect the relative sliding state between the housing 1 and the sliding band 2 through the sensing component 3; the specific implementation can be referred to the description of the following embodiments.
[0029] It should be noted that with the rapid development of the Internet of Things, smart homes, and multimedia entertainment systems, the remote control, as the core entry point for human-computer interaction, has seen a dramatic increase in its functional density and control complexity.
[0030] Existing remote controls require one button for each function. When a remote control has multiple functions, it can lead to the need to set up multiple buttons for separate control, resulting in a poor user experience.
[0031] Therefore, to address the aforementioned shortcomings, this embodiment incorporates a sliding band 2 and a cooperative structure of a state detection component 4 and a sensing component 3. The sliding band 2 is fitted onto the side of the housing 1 and slides relative to it. One of the state detection component 4 and the sensing component 3 is located on the sliding band 2, and the other on the housing 1, to detect their relative sliding state. In actual use, the user can slide the sliding band 2 fitted onto the side of the housing 1. The state detection component 4 can detect the relative sliding state between the housing 1 and the sliding band 2 through the sensing component 3, and generate corresponding control commands based on this state. Compared to existing control devices with their simple interaction methods and inability to achieve precise operation through intuitive mechanical sliding, this embodiment, by incorporating the cooperative structure of the state detection component 4 and the sensing component 3 between the housing 1 and the sliding band 2, can accurately convert the user's physical sliding action on the sliding band 2 into an electrical signal. Therefore, when using this control device, the user does not need to use multiple buttons for control, thus improving the user experience.
[0032] Reference Figure 2 as well as Figure 3 , Figure 2 This is a structural diagram of the control device proposed in the embodiments of this application. Figure 3 This is a flowchart illustrating the first embodiment of the control method proposed in this application.
[0033] like Figure 2 As shown, the control device includes: a housing 1, a sliding belt 2, and a status detection component; The status detection component includes a sensing component 3 and a status detection component 4. The sliding band 2 is sleeved on the side of the housing 1 and slides relative to the housing 1 along the outer contour of the housing 1. One of the sensing component 3 and the status detection component 4 is disposed on the sliding band 2, and the other of the sensing component 3 and the status detection component 4 is disposed on the housing 1. The status detection component 4 is used to detect the relative sliding state between the housing 1 and the sliding band 2 through the sensing component 3.
[0034] It is understood that the aforementioned control device can be an electronic device with human-computer interaction and signal generation functions, whose core function is to convert the user's physical operations into control commands. The aforementioned housing 1 can be a supporting frame or shell that constitutes the external main structure of the device, used to house and protect the internal electronic components. For example, it could be the plastic or metal body of a remote control, the grip part of a handle, or a frame with an independent ring structure. The aforementioned sliding band 2 can be a strip or ring-shaped component that can be arranged around the device housing 1 and slide relative to the housing 1 (especially circumferentially along the housing 1), providing the user with a direct touch interface. For example, it could be a ring-shaped band made of flexible or rigid material (such as plastic, rubber, or a composite layer of fabric) fitted onto the side of a remote control, with its inner surface possibly having guiding or sensing structures. The aforementioned relative sliding can be a contact-type or non-contact relative movement between the sliding band 2 and the housing 1, wherein the position of at least one component changes relative to the other component. For example, the user's finger can move the sliding band 2 to rotate it around the housing 1, while the housing 1 itself remains stationary.
[0035] Furthermore, the aforementioned sensing component 3 can be a physical structure or marker capable of being detected and used to characterize the relative position or motion state between the sliding band 2 and the housing 1. Examples include a photoelectric encoder (such as a code disk with alternating light and dark stripes), a magnetic grating for a magnetic encoder, a conductive pattern for capacitive sensing applications, or a mechanical contact array. The aforementioned state detection component 4 can be a sensor or detection unit used to sense or read the state of the sensing component 3, thereby determining the relative sliding state between the sliding band 2 and the housing 1. Examples include a photoelectric sensor (through-beam or reflective), a Hall sensor, a capacitive sensing chip, or a mechanical micro-switch array. The aforementioned outer contour of the housing 1 can refer to the shape and orientation of the outer surface of the housing 1 in the area where the sliding band 2 is located. For example, a circular ring, an elliptical ring, a rectangular ring, or any closed or open curved path along which the sliding band 2 slides.
[0036] It should also be noted that, such as Figure 2As shown, the control device also includes a vibration motor 7 and a motherboard 6. The motherboard 6 can be an electronic motherboard that integrates a processing chip, a storage unit, and peripheral circuits to process sensor signals, execute control logic, and generate instructions. The vibration motor 7 can be a haptic feedback motor that generates vibration sensation based on sliding state or operation events (such as sliding beyond a preset distance). The motherboard 6 includes the aforementioned processor.
[0037] The housing 1 constitutes the main support structure of the device, and has an internal space for accommodating the battery 8, the motherboard 6, and the circuitry. The sliding band 2 is movably fitted around the side of the housing 1 in a circumferential manner, with its inner wall adjacent to or in contact with the outer surface of the housing 1 through an intermediate structure, allowing the user to drive the sliding band 2 to slide relative to the housing 1. The sliding path is basically along the outer contour of the housing 1, for example, rotating and sliding 360 degrees around the circumference of the housing 1.
[0038] In another example, the sensing component 3 is fixedly disposed on the sliding band 2 (e.g., attached to the inner sidewall of the sliding band 2), while the state detection component 4 is correspondingly fixedly disposed on the housing 1 (e.g., installed inside or on the surface of the housing 1, with its detection end facing the sensing component 3). When the sliding band 2 slides, the sensing component 3 moves accordingly, and the state detection component 4 detects the sliding state by sensing the change in movement of the sensing component 3.
[0039] In another example, the sensing component 3 is fixedly mounted on the housing 1, while the state detection component 4 is fixedly mounted on the sliding band 2 and moves with it. The state detection component 4 detects the sliding state by sensing the change in its relative position to the fixed sensing component 3.
[0040] like Figure 3 As shown, in this embodiment, the specific method includes: Step S10: When the user slides the sliding band 2, the relative sliding state between the housing 1 and the sliding band 2 is detected by the state detection component 4.
[0041] It is understood that the method of this embodiment can be applied to the control device described above. The control device can be any control device having a housing 1, a sliding strip 2, a sensing component 3, and a status detection component 4, such as a remote control and a game controller. This embodiment does not limit this. For ease of understanding, this embodiment and the following embodiments can be described using the control device described above, but no specific limitation is made to this embodiment.
[0042] In its implementation, the processor within the motherboard 6 is electrically connected to the state detection component 4. When the user slides the sliding band 2, the sensing component 3 moves along with it. When the state detection component 4 detects movement of the sensing component 3, it transmits the collected sensing information to the processor. The processor samples and performs analog-to-digital conversion on the received sensing signal, converting it into a digital signal sequence. It then analyzes and decodes the signal, calculating and determining one or more specific parameters of the relative sliding state based on the decoding results. For example, the processor calculates the direction and cumulative distance of the relative sliding by analyzing the timing and number of pulses in the sensing signal, or determines the instantaneous or average speed of the relative sliding by calculating the change in the number of pulses per unit time or by analyzing the interval of signal edges.
[0043] For ease of understanding, the following example is used for illustration, but it does not impose specific limitations on this embodiment. Assume that the state detection component 4 is a pair of photoelectric sensors (A and B), and the sensing component 3 is a photoelectric code disk with equally spaced bright and dark grids fixed to the inner wall of the sliding band 2. When the user slides the sliding band 2 clockwise, the code disk rotates accordingly. Due to a slight spatial offset, photoelectric sensors A and B will detect two pulse signals with a fixed phase difference. The processor continuously acquires these two signals. The processor first determines the relative sliding direction by judging the phase relationship between the two signals (for example, if signal B is high when signal A rises, it is determined to be clockwise; otherwise, it is counterclockwise). Next, the processor counts the pulses generated by either sensor, with each pulse corresponding to a fixed minimum distance (e.g., 0.1 mm) movement of the sliding band 2. By accumulating the number of pulses, the processor calculates the total relative sliding distance. Simultaneously, a high-precision timer inside the processor records the time interval between pulses. The processor calculates the real-time relative sliding speed by dividing the fixed minimum distance by the time interval.
[0044] Step S20: Generate corresponding control commands based on the relative sliding state, and control the target device to perform corresponding operations according to the control commands.
[0045] It should be noted that the aforementioned control commands can be a set of predefined or real-time generated data, codes, or signals used to instruct the target device to perform specific functions, such as infrared remote control codes, Bluetooth HID commands, or custom wireless data packets. The target device can be an external electronic device controlled by the control device, such as a television, air conditioner, smart lighting, or multimedia player. The aforementioned operations can be functional responses or state changes implemented by the target device after receiving the control commands, such as adjusting volume, changing channels, changing temperature, or scrolling through pages.
[0046] In its implementation, after determining the relative sliding state, the processor reads one or more parameters contained in that state. Based on the current operating function mode or application scenario, it invokes an instruction mapping table or rule algorithm stored in memory. The processor takes the read relative sliding state parameters as input and, according to the mapping table or algorithm, performs matching, calculation, or decision-making to determine one or more functional operation codes to be executed. These functional operation codes are then encapsulated into data packets conforming to a specific communication protocol format to generate the final control command. The processor sends this control command to the target device via the communication module built into the control device, causing the target device to execute the corresponding operation according to the control command.
[0047] In one example, after sending a command, the processor can wait for or listen for an acknowledgment signal from the target device. If no acknowledgment is received, the processor may resend the command according to a preset strategy. After completing the command transmission, the current control flow based on swipe input ends, or the processor enters a state of waiting for the next swipe input.
[0048] Furthermore, the relative sliding state includes: relative sliding distance and relative sliding direction; The step of generating corresponding control commands based on the relative sliding state includes: Step S21: Obtain the parameter to be adjusted; Step S22: Determine the adjustment amount of the parameter to be adjusted based on the relative sliding distance, and determine the adjustment direction of the parameter to be adjusted based on the relative sliding direction; Step S23: Generate a corresponding control command based on the parameter to be adjusted, the adjustment amount, and the adjustment direction.
[0049] It should be noted that the aforementioned adjustable parameters can refer to functions or status variables on the target device that can be continuously changed, such as volume level, screen brightness, temperature setting, or playback progress. The aforementioned adjustment amount can refer to the specific value or magnitude of the change required for the adjustable parameter, such as increasing the volume by 5 levels, decreasing the brightness by 10%, or fast-forwarding by 30 seconds. The aforementioned adjustment direction can refer to the trend of change in the adjustable parameter, such as increasing or decreasing, raising or lowering, or moving forward or backward.
[0050] In its implementation, the processor determines the target device function to be controlled as the parameter to be adjusted. It then receives the relative sliding distance and direction detected by the state detection unit 4. Based on the relative sliding distance, the processor determines the adjustment amount of the parameter to be adjusted using a predefined mapping relationship or proportional calculation. The processor then determines whether the adjustment direction is positive or negative based on the relative sliding direction. Finally, the processor combines the determined parameter to be adjusted, the adjustment amount, and the adjustment direction to generate a complete control instruction containing this information.
[0051] For ease of understanding, the following example illustrates the concept, but does not impose specific limitations on this embodiment. For instance, when a user controls the TV volume using a remote control, the processor first determines that the "parameter to be adjusted" is "TV volume". The user slides slider 2 clockwise, and the processor detects that the "relative sliding direction" is clockwise and calculates the "relative sliding distance" corresponding to 10 units. Preset rules map "clockwise" to the "adjustment direction" of "increase", and map "10 unit distance" to the "adjustment amount" of "increase by 10 levels". Finally, based on the three elements of "TV volume", "increase by 10 levels", and "increase", the processor generates a precise control command to "increase the TV volume by 10 levels" and sends it to the TV.
[0052] Furthermore, to facilitate mode switching, the control device also includes a physical button located on the housing 1.
[0053] It is understood that the physical buttons mentioned above can be set at any position on the housing 1 of the control device, and this embodiment does not impose any restrictions.
[0054] Before the step of detecting the relative sliding state between the housing 1 and the sliding band 2 by the state detection component when the user slides the sliding band 2, the method further includes: Step S01: When the user presses the physical button, determine the current control mode corresponding to the physical button; The step of generating corresponding control commands based on the relative sliding state and controlling the target device to perform corresponding operations according to the control commands includes: Step S11: Generate corresponding control commands based on the current control mode and the relative sliding state.
[0055] It should be noted that the aforementioned physical buttons can be mechanical or capacitive push-button switches located on the device housing 1, which can trigger circuit switching or capacitance changes by the user pressing them. The aforementioned current control mode can refer to a preset functional state within the device, which defines the set of mapping relationships between the input of the slider 2 and the final control command, such as media playback mode, web browsing mode, or smart home control mode.
[0056] In its implementation, the processor monitors whether a physical button is pressed. When a button is pressed, the processor determines the current control mode mapped to that button. When the user slides slider 2, the processor obtains the relative sliding state through state detection component 4. The processor combines the determined current control mode with the obtained relative sliding state as input conditions for generating instructions. Based on these input conditions, the processor searches for or calculates the target control function from the instruction mapping table corresponding to the current control mode. The processor then generates control instructions corresponding to the target control function.
[0057] For ease of understanding, the following example illustrates the concept, but does not limit the scope of this embodiment. For instance, the remote control housing 1 has two physical buttons: "TV" and "AC". When the user presses the "TV" button, the processor determines the current control mode as "TV control mode". In this mode, sliding the slider 2 upwards is mapped to "increasing the TV volume". If the user presses the "AC" button instead, the processor switches the current control mode to "air conditioning control mode". In this case, the same upward sliding operation is mapped to "increasing the air conditioning set temperature".
[0058] Furthermore, the sensing component 3 includes multiple encoder disks, which are equidistantly spaced on the side of the sliding strip 2 facing the housing 1, and the state detection component 4 is fixedly mounted on the housing 1 with its detection end facing the sliding strip 2.
[0059] It is understood that the aforementioned encoder disk can be a disc-shaped or strip-shaped component with periodic physical features on its surface, used to provide a reference for position or motion detection, such as a photoelectric encoder disk, a magnetic encoder disk, or a mechanical encoder disk. The aforementioned equidistant spacing can refer to multiple encoder disks arranged at fixed spatial or angular intervals on the sliding strip 2. The side of the sliding strip 2 facing the housing 1 refers to the inner wall of the sliding strip 2, that is, the side opposite to the outer surface of the housing 1. The aforementioned detection end of the state detection component 4 refers to the physical part of the state detection component 4 used to directly sense or receive signals, such as the light-emitting and receiving window of a photoelectric sensor or the sensing surface of a Hall sensor.
[0060] refer to Figure 2 In one specific embodiment, the aforementioned sensing component 3 specifically includes multiple encoder disks. These encoder disks are fixedly arranged at equal intervals on the inner side of the aforementioned sliding band 2 (i.e., the side facing the housing 1), so that when the sliding band 2 slides around the housing 1, the multiple encoder disks will move together.
[0061] The aforementioned state detection component 4 is fixedly mounted on the aforementioned housing 1. Its detection end (such as an optical window or sensing surface) is oriented towards the inside of the sliding band 2, so as to form a detectable alignment with the encoder disks moving on the sliding band 2 in space. When the user slides the sliding band 2, the state detection component 4, fixed to the housing 1, can sense in real time the characteristic changes (such as grating obstruction, magnetic field changes) produced by the equidistant encoder disks passing in front of it, thereby accurately detecting the moving direction, speed, and distance of the sliding band 2.
[0062] It should be noted that the fixing method of the encoder disc on the sliding strip 2, the specific values of the equidistant intervals, and the specific installation position of the status detection component 4 on the housing 1 can all be adjusted according to different product designs, detection accuracy requirements, or spatial layouts, and are not limited to the above description. For example, the encoder disc can be combined with the sliding strip 2 by adhesive, snap-fit, or integral molding; the status detection component 4 can be embedded inside the housing 1 with only the detection end exposed, or it can be directly attached to the surface of the housing 1. This embodiment does not impose any restrictions.
[0063] In another embodiment, in order to differentiate when controlling different target devices, the controller further includes an indicator light strip 10, which is disposed between the housing 1 and the sliding strip 2, facing the sliding strip 2. The sliding strip 2 is provided with a light-transmitting area, which is aligned with the indicator light strip 10. The indicator light strip 10 is used to display the corresponding light strip color according to the target device.
[0064] It should be noted that the aforementioned indicator light strip 10 can be a lighting or indicator module composed of multiple light-emitting diodes (LEDs) arranged linearly or in an array. The term "between the housing 1 and the sliding strip 2" refers to the gap or adjacent space formed after assembly. "Facing the sliding strip 2" means that the main light-emitting direction of the indicator light strip 10 faces the sliding strip 2. The aforementioned light-transmitting area can be a material or structural component that allows light to pass through, such as a transparent window, light guide strip, or semi-transparent area. The aforementioned "alignment" means that the light-transmitting area and the indicator light strip 10 correspond to each other in spatial position so that light can effectively pass through. The color of the light strip can be the hue of the light emitted by the indicator light strip 10, such as red, blue, or warm white.
[0065] In this technical solution, in order to provide intuitive device identification feedback, the controller also includes an indicator light strip 10. The indicator light strip 10 is disposed in the space between the housing 1 and the sliding strip 2. Specifically, it can be fixed on the outer surface of the housing 1 or installed in a dedicated light groove inside the housing 1, but its light-emitting surface (i.e., the light emission direction) is configured to face and be directed toward the sliding strip 2.
[0066] A light-transmitting area is provided on the sliding strip 2. The position of this light-transmitting area is spatially aligned with the indicator light strip 10, that is, when the sliding strip 2 is assembled onto the housing 1, the light-transmitting area is exactly located in the light path of the light emitted by the indicator light strip 10. The light-transmitting area can be made of a partially transparent or semi-transparent material on the sliding strip 2, or it can be a window opened on the sliding strip 2 and covered with a light-transmitting material.
[0067] The indicator light strip 10 is electrically connected to the mainboard 6 of the controller and receives control signals. When the controller establishes a control association (such as binding) with different target devices, the processor controls the indicator light strip 10 to emit a specific color light that matches the target device according to a preset correspondence. This light passes through the light-transmitting area on the sliding strip 2 and is displayed outward, allowing the user to intuitively distinguish the target device currently being controlled by the remote control by observing the light color in the area of the sliding strip 2 (for example, a warm yellow light is displayed when binding a living room light, and a cyan light is displayed when selecting an air purifier).
[0068] Furthermore, after the step of generating corresponding control commands based on the relative sliding state and controlling the target device to perform corresponding operations according to the control commands, the method further includes: Step S50: Obtain the parameters to be prompted corresponding to the target device; Step S60: Generate a corresponding LED strip prompt state based on the parameters to be prompted, and control the prompt LED strip 10 to provide prompts according to the LED strip prompt state.
[0069] It should be noted that the specific installation position of the indicator light strip 10, the specific shape of the light-transmitting area (such as strip, dot, or ring), its distribution on the sliding strip 2 (such as partial or full circle), and the specific mapping relationship between the color and the device can all be adjusted according to functional requirements and are not limited to the above description.
[0070] It should be noted that the parameters to be prompted mentioned above can be information related to the target device that needs to provide visual feedback to the user, such as device type, operating status (on / off, connection status), current setting (volume level, temperature value), or battery level. The light strip indication status mentioned above can be the illumination state presented by the indicator light strip 10, such as a specific color (e.g., red, blue), brightness, flashing frequency, dynamic lighting effects (e.g., breathing, flowing light), or a combination thereof. The indicator light strip 10 mentioned above can be the aforementioned LED light strip, or any other light-emitting component used to provide visual feedback.
[0071] In its implementation, the processor determines the target device currently being controlled or about to be controlled. The processor acquires the parameters to be prompted associated with the target device. Based on a preset parameter-light effect mapping relationship, the parameters to be prompted are converted into a corresponding LED strip prompt status description. Based on this LED strip prompt status description, a corresponding LED strip control signal is generated. This LED strip control signal is then output to the prompt LED strip 10, causing the light-emitting units of the prompt LED strip 10 to operate according to a specified color, brightness, flashing mode, or dynamic effect, thereby completing the prompt.
[0072] Furthermore, the parameters to be prompted include at least one of the following: progress parameters, status parameters, and scalar parameters; The indicator status of the light strip includes at least one of the following: light emission length, light emission ratio, light emission color, and light emission frequency.
[0073] It should be noted that the above progress parameters can be numerical values representing the completion percentage of a continuous process, such as media playback progress (percentage of played time out of total time), file download progress, or task execution progress. The above status parameters can be information representing a discrete working state of the target device, such as power on / off, online / offline, play / pause, connection successful / failed. The above scalar parameters can be information representing the current value of a continuously adjustable quantity of the target device, such as volume (0-100), screen brightness (0-100%), and air conditioner set temperature (specific Celsius value). The above light emission length can be the proportion of the illuminated physical length or illuminated area of the indicator light strip 10 to the total length. The above light emission percentage can be the percentage of the number of illuminated light-emitting units to the total number of light-emitting units in the light strip. The above light emission color can be the hue of the light emitted by the light strip, such as red, green, blue, or a mixture thereof. The above light emission frequency can be the rate of periodic change in the light strip's brightness, such as constant light (0Hz), slow flashing (1Hz), and fast flashing (5Hz).
[0074] For example, when the parameter to be prompted is a progress parameter, if the user is currently watching a movie, the progress parameter of the movie playback progress on the target device can be obtained first, and the progress can be displayed on the indicator light strip 10 according to the corresponding light emission length. Of course, prompts can also be made through any one or more of the above-mentioned light emission ratio, light emission color, and light emission frequency, and this embodiment does not limit this.
[0075] For example, when it is necessary to display the volume of the target device, the parameter to be prompted can be a scalar parameter. The processor can obtain the volume of the target device and display the volume on the indicator light strip 10 according to the light emission ratio corresponding to the volume.
[0076] In another embodiment, when it is necessary to display the wireless connection status of the target device, the parameter to be prompted can be a status parameter. The processor can first obtain the connection status between the control device and the target device (e.g., connection failure or connection success), and display the status on the indicator light strip 10 according to the light color corresponding to the connection status, for example, a blue light for a successful connection and a red light for a failed connection.
[0077] This embodiment features a sliding band 2 and a cooperative structure of a state detection component 4 and a sensing component 3. The sliding band 2 can be fitted onto the side of the housing 1 and slide relative to it. One of the state detection component 4 and the sensing component 3 is located on the sliding band 2, and the other on the housing 1, to detect their relative sliding state. In actual use, the user can slide the sliding band 2 fitted onto the side of the housing 1. The state detection component 4 can detect the relative sliding state between the housing 1 and the sliding band 2 through the sensing component 3, and generate corresponding control commands based on this state. Compared to existing control devices with simple interaction methods that cannot achieve precise operation through intuitive mechanical sliding, this embodiment, by incorporating the cooperative state detection component 4 and the sensing component 3 between the housing 1 and the sliding band 2, can accurately convert the user's physical sliding action on the sliding band 2 into an electrical signal. Therefore, when using this control device, the user does not need to use multiple buttons, improving the user experience.
[0078] Refer to 4 and Figure 5 , Figure 4 This is a perspective view of the control device in the control method of this application. Figure 5 This is a structural diagram of the sliding belt 2 in the control device of the control method of this application. Based on the first embodiment described above, a second embodiment of the control method of this application is proposed.
[0079] Furthermore, in order to enable the sliding band 2 to slide relative to the housing 1, a sliding structure 21 is provided on the side of the sliding band 2 facing the housing 1; The control device further includes a mating part 9, which is located on the side of the housing 1 facing the sliding structure 21. The sliding structure 21 is slidably engaged with the mating part 9 so that the sliding band 2 slides relative to the housing 1 along the outer contour of the housing 1.
[0080] It should be noted that the aforementioned sliding structure 21 can be a physical structure disposed on the sliding band 2, used to cooperate with a corresponding structure on the housing 1 to achieve smooth relative movement, such as a convex rail, a groove, or a rack. The aforementioned mating part 9 can be a corresponding physical structure disposed on the housing 1, used to cooperate with the sliding structure 21 on the sliding band 2 to achieve a sliding function, such as a guide rail, a ball bearing 91, or a pulley. The aforementioned sliding fit refers to the mechanical connection relationship formed by the sliding structure 21 and the mating part 9 through contact and relative movement.
[0081] like Figure 5 As shown, the sliding band 2 has a sliding structure 21 on its side facing the housing 1 (i.e., the inner wall). The sliding structure 21 can be a specific shape structure that is continuously or discontinuously distributed along the inner wall of the sliding band 2.
[0082] Accordingly, the control device also includes a mating part 9. The mating part 9 is disposed on the housing 1 and its position corresponds to the sliding structure 21, that is, it is located on the side of the housing 1 facing the sliding structure 21 (usually the outer surface or sidewall of the housing 1).
[0083] The aforementioned sliding structure 21 and the aforementioned mating part 9 are spatially engaged to form a sliding fit relationship. This fit relationship allows the sliding band 2 to contact and move relative to the mating part 9 on the housing 1 through its sliding structure 21, thereby constraining the movement path of the sliding band 2 and enabling it to slide stably relative to the housing 1 along the outer contour (e.g., its circumferential direction) of the housing 1.
[0084] It should be noted that there are various feasible implementations for the specific form, material, size, and specific placement position of the sliding structure 21 and the mating part 9 on the sliding band 2 and the housing 1, and they are not limited to the above description. For example, the sliding structure 21 can be a continuous annular groove provided on the inner wall of the sliding band 2, and the mating part 9 can be a ring of balls 91 embedded in the side wall of the housing 1, with the balls 91 partially embedded in the groove to achieve rolling engagement; or, the sliding structure 21 can be multiple protrusions provided on the inner wall of the sliding band 2, and the mating part 9 can be a smooth coating or a low-friction material layer on the surface of the housing 1 to achieve sliding friction engagement.
[0085] like Figure 5 As shown, the sliding structure 21 is a protruding structure on the side of the sliding band 2 facing the housing 1, and the end of the protruding structure facing the housing 1 is provided with a sliding groove; The mating part 9 includes a plurality of balls 91, which are fixedly disposed on the side of the housing 1 facing the sliding band 2. At least a portion of each ball 91 is located in the sliding groove and slides in engagement with the protrusion structure.
[0086] It is understood that the aforementioned protruding structure can be a continuous or discontinuous strip-shaped, ridge-shaped, or block-shaped structure extending from the inner wall of the sliding band 2 towards the housing 1. The aforementioned end side refers to the surface or side of the protruding structure that is furthest from the inner wall of the sliding band 2 and closest to the housing 1. The aforementioned sliding groove can be a groove or track formed on the end side of the protruding structure and extending along the sliding direction. The aforementioned ball 91 can be a spherical rolling element, typically made of metal or ceramic material.
[0087] In this embodiment, the sliding structure 21 is specifically configured as a protrusion located inside the sliding band 2, and a sliding groove is formed on the end side of the protrusion facing the housing 1. The mating part 9 specifically includes a plurality of balls 91 fixedly disposed on the side of the housing 1 facing the sliding band 2. In the assembled state, the protrusion on the inner side of the sliding band 2 spans over the plurality of balls 91, such that at least a portion of the sphere of each ball 91 is embedded and accommodated in the sliding groove on the end side of the protrusion. Thus, a sliding fit relationship is formed between the protrusion and its sliding groove and the plurality of balls 91. When the sliding band 2 is subjected to force, the balls 91 roll in the sliding groove, thereby realizing the sliding of the sliding band 2 relative to the housing 1.
[0088] It should be noted that this embodiment describes a specific and preferred mechanical implementation of the "sliding structure 21" and the "fitting part 9". However, its implementation is not limited to this. For example, the shape, size, and number (such as multiple independent protrusions) of the protruding structure and the sliding groove can be varied; the material, size, arrangement density, and fixing method of the ball bearing 91 (such as using a cage, fixing band 92, or directly embedding it into the guide rail of the housing 1) can also be adjusted according to design requirements. In addition, the positions of the sliding structure 21 and the fitting part 9 can be interchanged. For example, the ball bearing 91 can be placed on the sliding band 2, while the grooved track can be placed on the housing 1, which can also achieve a sliding fit, and is not limited to the above description.
[0089] Correspondingly, the mating part 9 also includes a fixing band 92 with multiple through holes, the number of which is the same as the number of balls 91. The fixing band 92 is fixedly disposed between the housing 1 and the sliding groove. At least part of the multiple balls 91 are disposed in the through holes and rotate within the through holes.
[0090] It is understood that the aforementioned fixing band 92 can be a strip-shaped, ring-shaped, or sheet-shaped component with a specific shape, used to fix and constrain the position of the ball 91. The aforementioned through hole can be a hole opened in the fixing band 92, allowing the ball 91 to partially pass through or be accommodated therein. In a specific embodiment, the aforementioned mating part 9 further includes the fixing band 92. The fixing band 92 is fixedly disposed between the aforementioned housing 1 and the aforementioned sliding groove, and is usually installed on the outer surface of the housing 1 by means of adhesion, snap fastening, or screw connection, and its position corresponds to the protrusion structure and sliding groove on the sliding band 2. The fixing band 92 has a plurality of through holes, the number of which is consistent with the number of balls 91, and their spatial positions correspond one-to-one with the preset installation position of each ball 91. The sphere of each ball 91 is at least partially located (or passes through) in the corresponding through hole on the fixing band 92, and the ball 91 can rotate freely in its through hole. The fixing band 92 is used to limit the axial displacement of the ball 91, prevent the ball 91 from falling out of its designed position, and allow it to rotate about its own axis. The fixing band 92 is clamped between the protruding structure of the housing 1 and the sliding band 2. A portion of the ball 91 protrudes from the fixing band 92 through the through hole and is embedded in the sliding groove to achieve cooperation with the sliding structure 21; the other portion of the ball 91 may be supported by a corresponding structure (such as a recess) on the housing 1.
[0091] It should be noted that this embodiment is a specific description of the method of fixing the ball 91 in the "Matching Part 9". The material (such as plastic, metal), shape (such as flat belt, bracket with three-dimensional structure), shape of the through hole (such as circular, oval), and specific constraint method of the ball 91 in the through hole (such as interference fit, clearance fit and use of retaining ring for limiting) of the fixing band 92 can all be adjusted according to the design and process. The method of fixing the ball 91 is not limited to using the fixing band 92. For example, a ball 91 cage structure machined on the housing 1 can be used directly or an independent bearing unit can be used. It is not limited to the above description.
[0092] Reference Figure 6 as well as Figure 7 , Figure 6 This is a cross-sectional structural diagram of the control equipment in the control method of this application. Figure 7 This is a flowchart illustrating the third embodiment of the control method proposed in this application. Based on the above embodiments, the third embodiment of the control method of this application is proposed.
[0093] Furthermore, in order to achieve more functions, the control device also includes a pressure detection component, which is located on the side of the sliding band 2 away from the housing 1, or between the sliding band 2 and the housing 1; The method further includes: Step S30: When the user presses the sliding band 2, the current pressure state is detected by the pressure detection component; Step S40: Generate corresponding control commands based on the current pressure state, and control the target device to perform corresponding operations according to the control commands.
[0094] It should be noted that the pressure detection component can be located between the housing 1 and the mating part 9, with the pressure detection component aligned with the mating part 9. When the sliding band 2 is pressed, the mating part 9 (i.e., the aforementioned ball bearing 91) faces and presses against the pressure detection component. Alternatively, it can be directly located on the side of the sliding band 2 away from the housing 1, allowing the user to directly press the pressure detection component to achieve pressure detection. This embodiment uses the pressure detection component located between the housing 1 and the mating part 9 for explanation and illustration.
[0095] It should be noted that the aforementioned pressure detection component can be a sensor or sensing assembly capable of sensing and measuring the magnitude of the applied pressure or force and converting it into an electrical signal, such as a piezoresistive sensor, a capacitive pressure sensor, or a piezoelectric thin-film sensor. The aforementioned alignment arrangement can be such that the pressure detection component corresponds spatially to the mating part 9, so that when the mating part 9 is subjected to pressure toward the housing 1, the pressure can be directly or indirectly transmitted and act on the pressure detection component. As one implementation method, such as... Figure 6 As shown, the pressure detection component can be a pressure sensing strip 5 wrapped around the outside of the housing 1. The pressure sensing strip 5 can be a long strip or ring-shaped flexible or rigid sensing component, with multiple pressure-sensitive units integrated on its surface or inside. It can sense the pressure at different positions along its length and convert the pressure signal into an electrical signal output. For example, it can be a strip sensor made of piezoresistive material, capacitor array or optical sensing principle.
[0096] Understandably, when a user presses the sliding band 2 with their finger, the pressing force is transmitted through the sliding band 2 to the sliding structure 21 inside it, and then further to the mating part 9 (i.e., the ball 91) that mates with the sliding structure 21. Since the mating part 9 (i.e., the ball 91) has a positioning pressure detection component facing away from the sliding band 2, the pressing force drives the mating part 9 (i.e., the ball 91) to move towards the housing 1, thereby squeezing the pressure detection component located therein. The pressure detection component senses the magnitude of the squeezing force (i.e., the pressing force) and outputs a corresponding electrical signal to the processor.
[0097] It should be noted that the aforementioned current pressure state may refer to one or more parameters that are detected and output by the pressure detection component and reflect the characteristics of the pressing event, such as the magnitude (force) of the pressing force, the duration (duration) of the pressing force, the number of pressings within a specific time period, or the rate of change of pressure.
[0098] In its implementation, the processor monitors signals from the pressure detection component. When the signal indicates that the sliding band 2 is pressed, the processor locks the pressing event, processes the output signal of the pressure detection component, and parses the current pressure state. Based on the parsed current pressure state, the processor queries a preset pressure mapping relationship and determines the control command corresponding to the current pressure state. The processor generates or invokes the control command and executes the operation of sending the control command to the target device.
[0099] In another embodiment, the current pressure state includes: the current pressure level; The step of generating corresponding control commands based on the current pressure state and controlling the target device to perform corresponding operations according to the control commands includes: The preset pressure range is determined based on the current pressing force. The system generates corresponding control commands based on a preset pressure range, and controls the target device to perform corresponding operations according to the control commands.
[0100] It should be noted that the aforementioned current pressing force can refer to the instantaneous or effective value of the pressing force measured and output by the pressure detection component, which reflects the magnitude of the pressing force. Its unit can be Newton (N) or a dimensionless quantization level.
[0101] In its implementation, the processor obtains the current pressure value from the pressure detection unit. The processor compares this value with threshold values for multiple preset pressure ranges stored in memory. The processor determines the specific preset pressure range to which the value belongs. Based on this determined preset pressure range, it indexes the associated control function; for example, light pressure corresponds to one function, and heavy pressure corresponds to another. Then, a control command corresponding to that control function can be generated. The processor then executes the operation of sending the control command to the target device.
[0102] It should be emphasized that, in order to prevent misidentification due to accidental user touches, in this embodiment, the step of determining the preset pressure range based on the current pressing pressure includes: Determine whether the current pressing pressure is higher than a preset accidental touch threshold; If so, the preset pressure range is determined based on the current pressing force.
[0103] It is understood that the aforementioned preset accidental touch threshold can be a threshold used to prevent accidental touches. For example, 0.5N, etc., and this embodiment does not limit it.
[0104] In actual use, after detecting the current pressing pressure, it can first be determined whether it exceeds the preset accidental touch threshold. If not, it indicates that the user may have accidentally touched the button, resulting in no subsequent response. If so, it indicates that the user has a need for control, and the preset pressure range can be determined based on the current pressing pressure.
[0105] Furthermore, in order to achieve multi-position detection, there are at least two pressure sensing bands 5, and the at least two pressure sensing bands 5 are arranged sequentially along the thickness direction of the housing 1 or the thickness direction of the sliding band 2.
[0106] It is understandable that, considering that the pressure transmission process when the user presses the sliding band requires the sliding structure 21 and the mating part 9 as a medium, in order to enable multi-position detection when the user presses the sliding band 2 in different directions of thickness, the sliding structure 21 and the mating part 9 need to correspond to the number of pressure sensing bands. Therefore, multiple mating parts 9, sliding structures 21 and multiple pressure sensing bands 5 can be set and arranged sequentially in the thickness direction of the housing 1. Thus, when the user presses different positions, the pressure can be transmitted to the corresponding pressure sensing band 5 through different mating parts 9 in the up and down directions.
[0107] As an alternative implementation, the pressure detection component is a pressure sensor array (not shown in the figure), which is arranged around the side of the housing.
[0108] It should be noted that the aforementioned pressure sensing array can be composed of multiple discrete pressure sensing units arranged along the thickness direction and side direction of the outer shell 1. Specifically, the pressure sensing units in the thickness direction of the pressure sensing array can be aligned with the sliding structure 21 and the mating part 9. Therefore, to achieve multi-position detection, this embodiment can also provide multiple mating parts 9 along the thickness direction of the shell and a corresponding number of sliding structures 21 on the sliding band 2. The number of pressure sensing units in the pressure sensing array along the thickness direction of the outer shell 1 is the same as the number of mating parts 9, and they are aligned with the mating parts 9.
[0109] The step of generating corresponding control commands based on the current pressure state and controlling the target device to perform corresponding operations according to the control commands further includes: Step S51: Determine the current pressing point based on the current pressure state of each pressure sensing band 5 or based on the pressure sensing array, and generate the current pressing trajectory based on the current pressing point. Step S52: Generate corresponding control instructions based on the current pressing trajectory, and control the target device to perform corresponding operations according to the control instructions.
[0110] It should be noted that the aforementioned current pressure point can be the instantaneous center point or area of pressure formed by the user's pressing operation on the sensing area (pressure sensing strip or pressure sensing array), and its position information can be characterized by the coordinates or number of the sensor unit. The aforementioned current pressure trajectory can be a path formed by connecting multiple current pressure points that change continuously over time in chronological order, and this path reflects the movement process of the pressing position on the sensing area.
[0111] In its implementation, the processor acquires pressure signals from each pressure sensing strip 5 (or each pressure sensing unit in the pressure sensing array) in parallel or sequentially. Based on the pressure signals, the processor determines whether the pressure is being applied at the current moment and the intensity distribution of the applied pressure. Based on the pressing states and positions of multiple pressure sensing strips 5 (or each pressure sensing unit in the pressure sensing array) at the same or consecutive moments, the processor calculates or identifies the point of combined pressure application in three-dimensional space, which is taken as the current pressing point. The processor tracks the change of this current pressing point over time, forming the current pressing trajectory. The processor analyzes the shape, direction, or speed characteristics of this current pressing trajectory. Based on a preset trajectory-command mapping rule, the processor generates a control command that matches the trajectory characteristics. The processor then executes the operation of sending the control command to the target device.
[0112] To facilitate understanding, the following example illustrates the concept, but does not impose specific limitations on this embodiment. Assume two pressure-sensing strips 5 are stacked vertically along the thickness of a sliding strip 2. When a user presses the sliding strip 2 at a certain angle with their fingertip, the uppermost strip first detects the pressure, followed shortly by the lower strip, and the maximum pressure points detected by the two strips are slightly offset horizontally. Based on the signal timing and positional offset of the two strips, the processor determines that this is a tilted, top-down "click" action (the current pressing trajectory), rather than a vertical press. If a preset rule maps this tilted click trajectory to a "right-click menu" function, the processor generates a "call right-click menu" command to control the computer to execute. This example demonstrates the principle of using multiple sensor strips to acquire three-dimensional pressure information to achieve richer gesture recognition.
[0113] In addition, to achieve the above objectives, embodiments of this application also provide a storage medium, which is a computer-readable storage medium, and stores a computer program thereon. When the computer program is executed by a processor, it implements the steps of the control method described above.
[0114] The implementation of the storage medium in the embodiments of this application can refer to the above method embodiments, and this embodiment does not limit it.
[0115] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0116] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0117] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as a read-only memory image (ROM) / random access memory (RAM), magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0118] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A control method, characterized in that, The method is applied to a control device, the control device comprising: a housing, a sliding belt, and a state detection component; The sliding band is sleeved on the side of the housing and slides relative to the housing along the outer contour of the housing. The state detection component is used to detect the relative sliding state between the housing and the sliding band. The method includes: When the user slides the sliding strip, the relative sliding state between the housing and the sliding strip is detected by the state detection component; Based on the relative sliding state, corresponding control commands are generated, and the target device is controlled to perform corresponding operations according to the control commands.
2. The method as described in claim 1, characterized in that, The relative sliding state includes: relative sliding distance and relative sliding direction; The step of generating corresponding control commands based on the relative sliding state includes: Obtain the parameter to be adjusted; The adjustment amount of the parameter to be adjusted is determined based on the relative sliding distance, and the adjustment direction of the parameter to be adjusted is determined based on the relative sliding direction. Based on the parameter to be adjusted, the adjustment amount, and the adjustment direction, a corresponding control command is generated.
3. The method as described in claim 1, characterized in that, The control device further includes: physical buttons, which are located in the housing; Before the step of detecting the relative sliding state between the housing and the sliding strip by the state detection component when the user slides the sliding strip, the method further includes: When the user presses the physical button, the current control mode corresponding to the physical button is determined; The step of generating corresponding control commands based on the relative sliding state and controlling the target device to perform corresponding operations according to the control commands includes: Based on the current control mode and the relative sliding state, corresponding control commands are generated.
4. The method as described in claim 1, characterized in that, The control device further includes a pressure detection component, which is located on the side of the sliding band away from the housing, or between the sliding band and the housing; The method further includes: When the user presses the sliding band, the current pressure state is detected by the pressure detection component; Based on the current pressure state, a corresponding control command is generated, and the target device is controlled to perform the corresponding operation according to the control command.
5. The method as described in claim 4, characterized in that, The current pressure status includes: the current pressing force; The step of generating corresponding control commands based on the current pressure state and controlling the target device to perform corresponding operations according to the control commands includes: The preset pressure range is determined based on the current pressing force. The system generates corresponding control commands based on a preset pressure range, and controls the target device to perform corresponding operations according to the control commands.
6. The method as described in claim 4, characterized in that, The pressure detection component is a pressure sensing strip, and there are at least two pressure sensing strips, which are arranged sequentially along the thickness direction of the housing or the thickness direction of the sliding strip. Alternatively, the pressure detection component may be a pressure sensor array; The step of generating corresponding control commands based on the current pressure state and controlling the target device to perform corresponding operations according to the control commands further includes: Based on the current pressure state of each of the pressure sensing bands, or based on the pressure sensing array, the current pressing point is determined, and the current pressing trajectory is generated according to the current pressing point. Based on the current pressing trajectory, a corresponding control command is generated, and the target device is controlled to perform the corresponding operation according to the control command.
7. The method as described in claim 1, characterized in that, The control device also includes an indicator light strip, which is disposed between the housing and the sliding strip and faces the sliding strip. After the step of generating corresponding control commands based on the relative sliding state and controlling the target device to perform corresponding operations according to the control commands, the method further includes: Obtain the parameters to be prompted corresponding to the target device; Based on the parameters to be prompted, a corresponding LED strip prompt state is generated, and the prompt LED strip is controlled to provide prompts according to the LED strip prompt state.
8. The method as described in claim 7, characterized in that, The parameters to be prompted include at least one of the following: progress parameters, status parameters, and scalar parameters; The indicator status of the light strip includes at least one of the following: light emission length, light emission ratio, light emission color, and light emission frequency.
9. A control device, characterized in that, The control device includes: a housing, a sliding belt, and a status detection component; The sliding band is sleeved on the side of the housing and slides relative to the housing along the outer contour of the housing. The state detection component is used to detect the relative sliding state between the housing and the sliding band. The control device further includes: a memory, a processor, and a control program stored in the memory and executable on the processor, wherein the control program, when executed by the processor, implements the steps of the control method as described in any one of claims 1 to 8.
10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the control method as described in any one of claims 1 to 8.