Method for controlling regulator, terminal equipment and computer readable storage medium

By dividing the regulator area into sub-regions and setting different adjustment values, the problem of poor user experience caused by proportional adjustment of the regulator is solved, providing multiple operation methods and achieving more precise adjustment and higher user satisfaction.

CN121957441APending Publication Date: 2026-05-01HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2024-10-29
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

In existing technologies, the proportional adjustment method of the regulator can easily lead to a poor user experience when fine adjustments are required, especially when small drags cause excessive changes in the adjustment amount, which affects user satisfaction.

Method used

By dividing the adjustment area into multiple sub-areas, each sub-area corresponds to a different adjustment value, and setting the adjustment area in the vertical direction, the adjustment value and adjustment amount are determined according to the user's operation, and multiple operation methods such as touch gestures and hover gestures are provided to adapt to the personalized needs of different users.

Benefits of technology

It enables more precise adjustments, improves the user experience in different scenarios, meets the personalized needs of different users, and increases user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121957441A_ABST
    Figure CN121957441A_ABST
Patent Text Reader

Abstract

A method for controlling a regulator, a terminal device and a computer readable storage medium, the method comprising: in a process of adjusting a target regulator, determining a first distance, the first distance being a sliding distance of a target operation in a first sub-region, the first sub-region being a sub-region in an adjustment region, the adjustment region comprising a plurality of sub-regions, the multiple sub-areas correspond to multiple adjustment values, the adjustment area is located in the second sliding direction of the target adjuster, the second sliding direction is perpendicular to the first sliding direction, and the first sliding direction is the sliding direction of the target adjuster; a third distance is determined according to the second distance and the adjustment value of the first sub-region, the second distance is the projection distance of the first distance in the first sliding direction, the third distance is the sliding distance of the target adjuster in the first sliding direction, and the third distance is smaller than or equal to the total adjustment length of the target adjuster. The method can better adapt to individual requirements of different users, and the satisfaction degree of the users is integrally improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to methods for controlling regulators, terminal devices, and computer-readable storage media. Background Technology

[0002] With the widespread use of mobile devices such as smartphones, tablets, and computers, people are more inclined to watch videos or read e-books on these devices. When users need to adjust the playback progress of a video (or reading content), they simply tap and drag the adjustment block on the progress bar to the target position on the screen. In most cases, the distance the adjustment block moves and the change in playback progress (i.e., the adjustment amount) are proportionally 1:1; this means that the further the user drags the block, the more the playback progress changes.

[0003] However, in some scenarios where fine adjustments to the regulator (such as the progress regulator) are required, this proportional adjustment may cause some problems; for example, a small drag by the user may cause a large change in the adjustment amount of the regulator, which may make the user feel inconvenienced and affect the user experience. Summary of the Invention

[0004] Therefore, this application provides a method for controlling a regulator, a terminal device, and a computer-readable storage medium, which can better adapt to the personalized needs of different users and improve overall user satisfaction.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] In a first aspect, a method for controlling a regulator is provided, the method comprising:

[0007] During the adjustment of the target regulator, a first distance is determined. The first distance is the sliding distance of the target operation within a first sub-region. The target operation is the operation performed by the user when adjusting the target regulator. The first sub-region is a sub-region within the adjustment region. The adjustment region includes multiple sub-regions, each corresponding to a multiple adjustment value. The adjustment region is located in the second sliding direction of the target regulator. The second sliding direction is perpendicular to the first sliding direction, which is the sliding direction of the target regulator. A third distance is determined based on the second distance and the adjustment value of the first sub-region. The second distance is the projected distance of the first distance in the first sliding direction, and the third distance is the sliding distance of the target regulator in the first sliding direction. The third distance is less than or equal to the total adjustment length of the target regulator.

[0008] The above methods can be executed by the terminal device, or by a module (such as a processor, chip, or chip system) applied in the terminal device, or by a logic module or software that can implement all or part of the functions of the terminal device.

[0009] Considering that proportional (e.g., 1:1) adjustment of the regulator cannot meet the needs of users in different scenarios, especially when fine adjustment to a specific setting value is required, this application addresses this limitation by setting an adjustment area in the second sliding direction and dividing the adjustment area into multiple sub-areas with different adjustment values. This satisfies the user's adjustment needs in different scenarios. For example, users can select an appropriate adjustment value to control the adjustment amount of the target regulator according to their needs, achieving more precise adjustment. Furthermore, since different users have different preferences for the sensitivity and speed of regulator adjustment, providing multiple selectable adjustment values ​​better adapts to the personalized needs of different users, thereby improving overall user satisfaction.

[0010] In one possible implementation, determining the third distance based on the adjustment value of the second distance and the first sub-region includes: determining the third distance based on the product of the second distance and the adjustment value of the first sub-region.

[0011] In one possible implementation, before determining the first distance, the method further includes: activating a target regulator in response to a target operation.

[0012] In one possible implementation, determining the first distance includes: determining a first position and a second position of the target operation within a first sub-region; and determining the first distance based on the distance between the first position and the second position.

[0013] In one possible implementation, multiple sub-regions are distributed sequentially along the second sliding direction, and multiple adjustment values ​​corresponding to the multiple sub-regions decrease sequentially along the second sliding direction.

[0014] In some scenarios, setting the adjustment values ​​corresponding to multiple sub-regions according to a certain pattern, such as setting these adjustment values ​​from large to small along the second sliding direction, can make it convenient for users to select the appropriate adjustment value to adjust the target regulator based on the distribution pattern of the adjustment values, resulting in a better user experience.

[0015] In one possible implementation, the target operation includes a gesture operation or a mouse operation.

[0016] In one possible implementation, gesture operations include touch gesture operations or hover gesture operations.

[0017] In some scenarios, to meet the usage habits of different users, multiple operations for controlling the target regulator are provided, such as touch gesture operation or hover gesture operation, so that users can choose the appropriate operation method to adjust the target regulator according to their own usage habits; for example, if the terminal device supports touch operation, the user can use touch gesture operation to adjust the adjustment amount of the target regulator; and if the terminal device supports hover operation, the user can use hover gesture to adjust the adjustment amount of the target regulator.

[0018] In one possible implementation, the target adjuster is one of the following: a progress adjuster, a brightness adjuster, a volume adjuster, a font size adjuster, a contrast adjuster, or a color temperature adjuster.

[0019] In a second aspect, embodiments of this application provide an electronic device, which includes a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, causing the electronic device to perform the methods described in the first aspect and various possible implementations of the first aspect.

[0020] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform the methods described in the first aspect and various possible implementations of the first aspect.

[0021] Fourthly, embodiments of this application provide a computer program product, which includes computer program code that, when executed by an electronic device, causes the electronic device to perform the methods described in the first aspect and various possible implementations of the first aspect.

[0022] Fifthly, embodiments of this application provide a chip system including a processing circuit and a storage medium storing computer program instructions; when the computer program instructions are executed by the processing circuit, they implement the methods described in the first aspect and various possible implementations of the first aspect.

[0023] Optionally, the processing circuitry in the above-mentioned chip system can be replaced by a processor, and the storage medium can be replaced by a memory. Optionally, the chip system may also include a communication interface for enabling communication between the chip system and a receiving device.

[0024] The beneficial effects of the technical solutions in the second to fifth aspects of this application can be the same as the beneficial effects of the technical solutions in the first aspect, and will not be repeated here. Attached Figure Description

[0025] Figure 1A schematic diagram of the hardware structure of a terminal device 100 provided in an embodiment of this application;

[0026] Figure 2 A schematic diagram of the software architecture of a terminal device 100 provided in an embodiment of this application;

[0027] Figure 3 A flowchart illustrating a method 400 for controlling a regulator provided in an embodiment of this application;

[0028] Figures 4A to 4B This is a schematic diagram of an application scenario provided by an embodiment of this application;

[0029] Figures 5A to 5B This is a schematic diagram illustrating another application scenario provided by an embodiment of this application;

[0030] Figure 6 This is a schematic diagram illustrating another application scenario provided by an embodiment of this application;

[0031] Figures 7A to 7B This is a schematic diagram illustrating another application scenario provided by an embodiment of this application;

[0032] Figures 8A to 8B This is a schematic diagram illustrating another application scenario provided by an embodiment of this application;

[0033] Figures 9A to 9B This is a schematic diagram illustrating another application scenario provided by an embodiment of this application;

[0034] Figure 10 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. Detailed Implementation

[0035] To clearly describe the technical solutions of the embodiments of this application, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be noted that the embodiments described in this application are only some embodiments of this application, and not all embodiments.

[0036] In the description of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. In the description of this application, "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. "At least one" means one or more, and "more" means two or more. The terms "first" and "second," etc., in the specification and claims of this application are used to distinguish different objects or to distinguish different treatments of the same object, not to describe a specific order of objects. For example, "first device" and "second device," etc., are used to distinguish different terminal devices, not to describe a specific order of terminal devices. Those skilled in the art will understand that the words "first," "second," etc., do not limit the quantity or execution order, and that "first," "second," etc., do not necessarily imply difference.

[0037] It should be noted that, in this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.

[0038] In the embodiments of this application, unless otherwise specified, the same or similar parts between the various embodiments can be referred to each other. In the various embodiments of this application, and in the various implementation methods / methods / implementations within each embodiment, unless otherwise specified or logically conflicting, the terminology and / or descriptions between different embodiments and between the various implementation methods / methods / implementations within each embodiment are consistent and can be mutually referenced. The technical features in different embodiments and the various implementation methods / methods / implementations within each embodiment can be combined according to their inherent logical relationships to form new embodiments, implementation methods, methods, or implementation approaches. The embodiments of this application described below do not constitute a limitation on the scope of protection of this application.

[0039] The following section, using practical application scenarios, introduces the technical problems that this application needs to solve.

[0040] In some application scenarios, users can use adjusters (such as progress bars and volume controls) to adjust interface elements such as playback progress and volume. Typically, the distance a user drags the slider on the adjuster changes proportionally to the amount of adjustment. However, in scenarios requiring fine-tuning, this 1:1 adjustment method can be inconvenient; for example, even a slight drag can cause significant changes to the progress bar or volume value, thus impacting the user experience.

[0041] Therefore, this application proposes a method for controlling a regulator, which can better adapt to the personalized needs of different users and improve overall user satisfaction.

[0042] Before introducing the method of the control regulator described above, a terminal device (or user equipment, UE) applicable to this application is first introduced. This terminal device can be a mobile phone, smart screen, tablet computer, wearable device, virtual reality (VR) device, augmented reality (AR) device, or other device with WiFi functionality. The specific type of terminal device is not limited in the embodiments of this application.

[0043] To better understand the embodiments of this application, the hardware and software structure of a terminal device is described below with reference to the accompanying drawings.

[0044] like Figure 1 The diagram shows a hardware structure schematic of a terminal device 100. The terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) connector 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, and a display screen 170, etc.

[0045] The processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), a controller, a digital signal processor (DSP), a baseband processor, etc. These different processing units may be independent devices or integrated into one or more processors.

[0046] The processor 110 can generate operation control signals based on the instruction opcode and timing signals to control the instruction fetching and execution.

[0047] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 may be a cache memory. This memory can store instructions or data that the processor 110 has used or that are used frequently. If the processor 110 needs to use the instruction or data, it can directly retrieve it from this memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0048] In some embodiments, the processor 110 may include one or more interfaces. These interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc. The processor 110 can connect to modules such as wireless communication modules and displays through at least one of these interfaces.

[0049] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the terminal device 100. In other embodiments of this application, the terminal device 100 may also adopt different interface connection methods or a combination of multiple interface connection methods as described in the above embodiments.

[0050] USB connector 130 is a USB standard-compliant interface used to connect terminal device 100 and peripheral devices. Charging management module 140 receives charging input from a charger, which can be either a wireless or wired charger. Power management module 141 connects to battery 142, and charging management module 140 connects to processor 110. Power management module 141 receives input from battery 142 and / or charging management module 140 to power processor 110, internal memory 121, display screen 170, and wireless communication module 160, etc. In some embodiments, power management module 141 and charging management module 140 may also be housed in the same device.

[0051] The wireless communication function of the terminal device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0052] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the terminal device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the same device as at least some modules of the processor 110.

[0053] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device (e.g., a speaker) or displays a sharing interface, data transmission progress, etc., on the display screen 170. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.

[0054] The wireless communication module 160 can provide wireless communication solutions for use on the terminal device 100, including wireless local area networks (WLAN) (such as WiFi hotspots), Bluetooth (BT), and near field communication (NFC) technologies.

[0055] In some embodiments, antenna 1 of terminal device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling terminal device 100 to communicate with networks and other terminal devices via wireless communication technology. This wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), etc.

[0056] The terminal device 100 can implement display functions through a GPU, a display screen 170, and an application processor. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0057] The external storage interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the terminal device 100. The external storage card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, it can save images, audio, and video files to the external storage card, or transfer images, audio, and video files from the terminal device 100 to the external storage card.

[0058] Internal memory 121 can be used to store computer executable program code, including instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (e.g., video, audio, etc.). The data storage area may store data created during the use of terminal device 100 (e.g., contact information, information about external devices to be connected, etc.). In addition, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional methods or data processing of terminal device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory disposed in the processor.

[0059] The display screen 170 can be used to display video, adjust settings, and other content. For example, the display screen 170 can be used to display a video playback interface and adjust settings such as video playback progress, volume, and screen brightness. The display screen 170 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. In some embodiments, the terminal device 100 may include one or more display screens 170. In some embodiments, the display screen 170 may be a foldable or rollable display screen.

[0060] It is understood that the structure illustrated in the embodiments of this application does not constitute a specific limitation on the terminal device 100. In other embodiments of this application, the terminal device 100 may further include... Figure 1 More or fewer components, or combining some components, or splitting some components, or different component arrangements. Figure 1 The components can be implemented in hardware, software, or a combination of both.

[0061] The software system of the aforementioned terminal device 100 can adopt a layered architecture or a service architecture, etc. This embodiment of the invention uses the layered architecture of the Android operating system as an example to exemplify the software architecture of the terminal device 100. It should be understood that the solution provided in this application can also be applied to other types of operating systems such as HarmonyOS, Apple operating systems, and Windows operating systems.

[0062] Figure 2 A schematic diagram of the software architecture of a terminal device 100 provided in an embodiment of this application is shown. For example... Figure 2 As shown, the layered architecture of the terminal device 100 divides the software into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the software components, from top to bottom, are the application (APP) layer, the application framework (FW) layer, the Android runtime (ART) and native C / C++ libraries, the hardware abstraction layer (HAL), and the kernel layer.

[0063] The application layer, also known as the application layer, can include a series of application packages. For example, an application layer package may include a gallery application, a video application, and a graphic design application. When these application packages are run, they can access the various service modules provided by the application framework layer through the application programming interface (API) and execute corresponding intelligent business logic.

[0064] The application framework layer (FWK) provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes a set of predefined functions.

[0065] like Figure 2 As shown, the application framework layer can include a window manager, content providers, a view system, a resource manager, a notification manager, an activity manager, and an input manager. The window manager manages all windows in the system; the content provider stores and retrieves data (such as videos and images) and makes this data accessible to the application; the view system includes visual controls, such as controls for displaying text and controls for displaying images. The display interface can consist of one or more views. For example, the display interface including the SMS notification icon can include a view for displaying text and a view for displaying images; the resource manager provides the application with various resources, such as images and video files; and the notification manager manages the notification information in the phone's top status bar.

[0066] The Android runtime consists of the core libraries and the Android runtime itself. The Android runtime is responsible for converting source code into machine code. The Android runtime primarily employs ahead-of-time (AOT) compilation and just-in-time (JIT) compilation techniques.

[0067] The core library primarily provides basic Java class library functionalities, such as libraries for fundamental data structures, mathematics, I / O, tools, databases, and networking. It also provides APIs for users to develop Android applications.

[0068] Native C / C++ libraries can include multiple functional modules. Examples include a surface manager and a media framework. The surface manager manages the display subsystem and provides blending of 2D and 3D layers for multiple applications. The media framework supports playback and recording of various common audio and video formats, as well as still image files.

[0069] The Hardware Abstraction Layer (HAL) runs in user space, encapsulates kernel-level drivers, and provides calling interfaces to the upper layers. The HAL includes modules such as the display module, Bluetooth module, and WiFi module.

[0070] The kernel layer is the layer between hardware and software. At a minimum, the kernel layer contains display drivers, Bluetooth drivers, and WiFi drivers to power the display, Bluetooth chip, and WiFi chip.

[0071] It should be noted that the software architecture of terminal devices is not limited to Figure 1 and Figure 2 The hardware and software system architecture shown can be adapted to specific application scenarios in practical applications. Figure 1 and Figure 2 The hardware and software system architecture shown may be modified, but this application does not limit it.

[0072] The method of the control regulator provided in the embodiments of this application will be illustrated below with reference to the accompanying drawings.

[0073] like Figure 3 The diagram shown is a flowchart illustrating a method 300 for controlling a regulator according to an embodiment of this application. Before introducing the method 300 provided in this application, a brief description of the execution entity involved in the embodiment of this application will be given; the method 300 can be executed by a terminal device, or by a module applied in the terminal device (such as a processor, chip, or chip system, etc.), or by a logic module or software that can implement all or part of the functions of the terminal device.

[0074] This application uses a terminal device as an example to executively describe the method 300 proposed in this application, but this application does not limit the subject of execution.

[0075] The above method 300 includes steps 301 to 303, which are described in detail below.

[0076] Step 301: During the process of adjusting the target regulator, the terminal device determines the first distance.

[0077] Wherein, the first distance is the sliding distance of the target operation in the first sub-region, the target operation is the operation performed by the user when adjusting the target regulator, the first sub-region is a sub-region in the adjustment region, the adjustment region includes multiple sub-regions, the multiple sub-regions correspond to multiple adjustment values, the adjustment region is located in the second sliding direction of the target regulator, the second sliding direction is perpendicular to the first sliding direction, and the first sliding direction is the sliding direction of the target regulator.

[0078] It should be noted that the aforementioned target adjuster can also be described as a target adjustment control, target selector, or target selection control, etc., and this application does not limit it in this regard.

[0079] In some embodiments, the target regulator may be designed into an application (such as a system application or a third-party application) to control and adjust changes in a certain aspect of the application (such as changes in volume, playback progress, or screen brightness).

[0080] For example, a target adjuster can be designed on the playback interface of a video application to allow users to easily adjust playback progress or volume.

[0081] In some other embodiments, the target regulator described above can be one of the following: a progress regulator (also called a playback progress regulator), a brightness regulator, a volume regulator, a font size regulator, a contrast regulator, or a color temperature regulator; wherein, the progress regulator can be used to control and adjust the progress of a certain process, for example, a playback progress regulator can be used to control and adjust the progress of video or other content playback; the brightness regulator can be used to control and adjust the brightness level of the display screen; the volume regulator can be used to control and adjust the volume of the audio signal; the font size regulator can be used to control and adjust the size of the font on the display screen; the contrast regulator can be used to change the degree of brightness difference between the black and white (or color) parts on the display screen; and the color temperature regulator can be used to adjust the color temperature of the display screen to match different environments and needs.

[0082] For example, if the target adjuster is a playback progress adjuster in a video application, the user can adjust the video playback progress by dragging the adjustment block on the playback progress adjuster.

[0083] The adjustment block, also known as a slider, is used by the user to adjust the adjustment amount of the target adjuster. The adjustment block can be a circular slider or a rectangular slider, a dynamic effect slider, or a transparent or semi-transparent slider, etc. This application does not limit the specific adjustment block.

[0084] It should be noted that, in addition to the regulators listed above, the target regulators can also be sharpness regulators, etc., and this application does not limit them.

[0085] In some embodiments, an application interface may be designed with multiple different adjusters, each of which is responsible for different adjustment functions. For example, some adjusters control the playback progress, while others adjust the volume. However, at a specific moment, the user usually interacts with one of the multiple adjusters. For example, at time T, the user can drag the adjustment block on the playback progress adjuster to adjust the playback progress or drag the adjustment block on the volume adjuster to adjust the volume.

[0086] During the user's adjustment of the target regulator, it can be understood as the user interacting with the target regulator. During this process, the target regulator is in an "active" or "activated" state. Simultaneously, other regulators on the application interface will not respond to the user's current target operation. This means that even if the user drags (or moves) the adjustment block of the target regulator on the application interface using target operations (such as swipe gestures or mouse operations), only the currently operated target regulator will respond to these operations. Other regulators, although visible and accessible on the application interface, remain silent (or deactivated or unresponsive), and will not change their state or perform any actions due to user operations (such as dragging). This approach, where the user interacts with only one regulator (such as the target regulator) at a time, avoids confusion or conflict caused by simultaneous interaction with multiple regulators, thus improving application usability and user experience.

[0087] For example, such as Figure 4A (or Figure 4B As shown in the image, regardless of whether the phone (i.e., an example of a terminal device) is in portrait mode (see...), Figure 4A (The screen is still in landscape mode.) Figure 4B In this state, users can launch a certain regulator of application X on the display interface of the mobile phone, such as playback progress regulator 401 (i.e., an example of a target regulator); the adjustment block 402 of the playback progress regulator 401 can move left and right in the first sliding direction to adjust the playback progress of application X; when the user enters the area 403 around the playback progress regulator 401 through a target operation (such as a touch gesture operation), the playback progress regulator 401 is activated; during the execution of the target operation, the playback progress regulator 401 will continuously respond to the target operation; this process can be understood as the active period (or launch period, effective period, or activation period) of the playback progress regulator 401; the area 403 can also be called the regulator hot zone. When the target operation enters the area 403, the playback progress regulator 401 corresponding to the area 403 is in an activated or responding state.

[0088] In some embodiments, the target adjuster can respond to the target operation in a first sliding direction by a distance of movement (or sliding distance) and also in a second sliding direction, wherein the second sliding direction is perpendicular to the first sliding direction.

[0089] For example, such as Figure 4A As shown (or as shown) Figure 4B As shown), the target operation can be performed by dragging the adjustment block 402 to move (or slide) in the first sliding direction, and also indirectly by dragging the adjustment block 402 left and right in the second sliding direction; for example, as Figure 4AAs shown, when the phone is in portrait mode, during the adjustment of the playback progress adjuster 401, the user can freely slide along the second sliding direction on the display screen where application X is located, such as sliding from position A to position B; at this time, the corresponding adjustment block 402 also slides from position A to position C. Similarly, as... Figure 4B As shown, when the phone is in landscape mode, the user can also slide freely on the display screen where application X is located along the second sliding direction through the target operation, such as sliding from position A to position B; at this time, the corresponding adjustment block 402 also slides from position A to position C.

[0090] In some embodiments, the target adjuster may have different adjustment values ​​in the first sliding direction and the second sliding direction; for example, in the first sliding direction, a 100% adjustment value may be used (i.e., the distance the user slides in the first sliding direction corresponds to the distance the adjustment block of the target adjuster will move accordingly); and different regions along the second sliding direction may also have different adjustment values, for example, the first sub-region may use an 80% adjustment value, the second sub-region may use a 60% adjustment value, etc.

[0091] It should be noted that the adjustment value can refer to the adjustment ratio (such as 60%, 80%, etc.), the adjustment coefficient (such as 0.6, 0.8, etc.), or a specific value (such as 60, 80, etc.). This application does not limit this. The application of the adjustment coefficient is similar to that of the adjustment ratio. The application of the adjustment ratio is given as an example in this paper. The application of the adjustment coefficient can be referred to the application of the adjustment ratio. It will not be described separately in this paper.

[0092] For example, the total adjustment length of the target regulator is 1, the adjustment ratio of the first sub-region of the adjustment area is set to 80% (or the adjustment coefficient is 0.8), the adjustment ratio of the second sub-region is set to 60% (or the adjustment coefficient is 0.6); the movement distance of the target operation in the first sub-region is D1, the projection of D1 in the first sliding distance direction is D2, and the actual sliding distance of the target regulator is D2 multiplied by 80% (or 0.8).

[0093] The total length of the target regulator can be understood as the maximum distance that the adjustment block of the target regulator can move; for example, if the total adjustment length of the target regulator is 2, the maximum distance that the user can adjust the adjustment block through the target operation is 2.

[0094] For example, such as Figure 5AAs shown, with the phone in portrait mode, the playback progress adjuster 401 of application X can respond to the user's target operation along the second sliding direction. When designing the sub-regions of the adjustment area 501, the developer can divide the adjustment area 501 into multiple sub-regions by the pixel (PX) range on the adjustment area 501. For example, pixels 600PX to 800PX are sub-region 1, pixels 400PX to 600PX are sub-region 2 (i.e., an example of the first sub-region), etc. These multiple sub-regions can correspond to multiple adjustment values ​​(e.g., 80%, 60%, etc.). Since the adjustment values ​​of different sub-regions are different, when the target operation adjusts the adjustment block 402 in different sub-regions, the moving distance (or sliding distance) of the adjustment block 402 is not necessarily the same as the actual distance of the target operation.

[0095] For example, such as Figure 5A As shown, when the user drags adjustment block 402 from position A to position B, since position B is in sub-region 2 and the adjustment value of sub-region 2 is 80%, the actual moving distance of adjustment block 402 is not from position A to position D, but rather from position A to position C. Similarly, as... Figure 5B As shown, when the phone is in landscape mode, if the user drags the adjustment block 402 to move it in different sub-areas through the target operation, the phone determines the actual distance moved by the adjustment block 402 in the same way as in portrait mode, which will not be described again here.

[0096] It should be noted that when a user performs a target operation within the first sub-region, the movement trajectory generated by the target operation may not be a straight line. However, the distance generated by the target operation can be determined by the distance difference between the target operation moving from the first position to the second position; this distance is the first distance (i.e., the first distance determined by the terminal device based on the distance between the first position and the second position).

[0097] The first position can be understood as the starting position of the target operation when it moves within time period T; the second position can be understood as the ending position of the target operation when it moves within time period T.

[0098] The aforementioned target operation may include, but is not limited to, gesture operation or mouse operation; wherein, gesture operation may refer to the operation of controlling the movement (or sliding) of the adjustment block through some gesture; mouse operation may refer to mouse drag operation (or mouse movement operation), for example, pressing the left mouse button and moving the mouse, and then releasing the left button, to directly or indirectly drag the adjustment block of the target adjuster to move in the first sliding direction or the second sliding direction.

[0099] In some other embodiments, the gesture operation described above may include touch gesture operation or hover gesture operation.

[0100] Touch gestures typically require the user's finger to directly touch the screen surface and slide it across the screen. For example, on a smartphone or tablet, this type of touch gesture allows users to slide on on-screen controls (such as playback progress or volume controls) to adjust playback progress, volume levels, etc.

[0101] Unlike touch gestures, hover gestures typically do not require the user's fingers to directly touch the screen surface. Instead, they rely on sensors (such as infrared sensors, cameras, or other types of proximity sensors) to detect finger or hand movements near the screen and perform corresponding actions accordingly. For example, hover gestures can also be used on smartphones or tablets to adjust playback progress, volume levels, etc. by swiping on on-screen adjusters (such as playback progress adjusters, volume adjusters, etc.).

[0102] Therefore, considering the different user habits, this application provides a variety of operations for controlling the target regulator, such as touch gesture operation or hover gesture operation, so that users can choose the appropriate operation method to adjust the target regulator according to their own usage habits; for example, if the terminal device supports touch operation, the user can use touch gesture operation to adjust the adjustment amount of the target regulator; and if the terminal device supports hover operation, the user can use hover gesture to adjust the adjustment amount of the target regulator.

[0103] Step 302: The terminal device determines the second distance.

[0104] Wherein, the second distance is the projection distance of the first distance onto the first sliding direction.

[0105] For example, such as Figure 6 As shown, taking the mobile phone in portrait mode as an example, during time period T, the user slides from position A to position B in sub-region 2 through the target operation. The actual sliding trajectory of this process is shown in 601. The actual distance the user slides from position A to position B through the target operation is line segment AB. This line segment AB is the first distance. The projection distance of this line segment AB on the axis parallel to the first sliding direction is line segment AC. This line segment AC is the second distance.

[0106] Step 303: The terminal device determines the third distance based on the adjustment value of the second distance and the first sub-region.

[0107] The third distance is the sliding distance of the target regulator in the first sliding direction, and the third distance is less than or equal to the total adjustment length of the target regulator.

[0108] In some embodiments, the terminal device may determine a third distance based on the product of the second distance and the adjustment value of the first sub-region.

[0109] For example, such as Figure 6 As shown, taking the portrait mode of a mobile phone as an example, after the terminal device determines that the projection distance of line segment AB on the axis parallel to the first sliding direction is line segment AC (i.e., the second distance), it can calculate the third distance based on line segment AC. For example, the adjustment value of sub-region 2 is 80%; the pixel difference of line segment AC is 200PX, and the third distance is the product of line segment AC and the adjustment value 80%, that is, 200PX × 80% = 160PX; at this time, the sliding distance of the adjustment block 602 of the target adjuster is D, that is, the adjustment block 602 slides from position S1 to position S2.

[0110] In some other embodiments, the terminal device may also determine the third distance in the following manner:

[0111] D = S × (1 - K / 100)

[0112] Where D is the third distance, S is the second distance, "-" is the subtraction symbol, " / " is the subtraction symbol, and K represents the adjustment value. K can be a specific value, such as 20, 40, 60, 80, etc.

[0113] For example, such as Figure 6 As shown, the adjustment value of sub-region 2 can be 20; the second distance (i.e. the pixel difference of line segment AC) is 200PX, and the third distance D = 200 × (1 - 20 / 100) = 200PX × 0.8 = 160PX; at this time, the sliding distance of adjustment block 602 is D, that is, adjustment block 602 slides from position S1 to position S2.

[0114] It should be noted that the above-mentioned multiple sub-regions can be distributed sequentially along the second sliding direction, and the multiple adjustment values ​​corresponding to the multiple sub-regions decrease sequentially along the second sliding direction.

[0115] In some embodiments, when designing the adjustment area, the developer can set multiple sub-areas along the second sliding direction according to the user's usage habits, and can set the adjustment values ​​corresponding to the multiple sub-areas according to a certain rule based on the user's operating habits.

[0116] For example, the adjustment values ​​for multiple sub-regions can be set to decrease sequentially along the second sliding direction. For instance, when the terminal device is in portrait mode, the adjustment value at the top (or near the top) of the screen might be higher (e.g., 100%), meaning that a small movement of the target adjuster's block can cause a significant change in the adjustment amount. Conversely, at the bottom (or near the bottom), the adjustment value (e.g., 10%) can be set lower. For example, in scenarios requiring fine-tuning of the target adjuster, users can move the adjustment block at the bottom of the screen using a target operation to achieve fine adjustments. This is because even if the distance generated by the target operation is large, the adjustment amount of the block will not change significantly when the user moves the adjustment block at the bottom of the screen using a target operation, thus achieving fine adjustments.

[0117] Therefore, setting the adjustment values ​​corresponding to multiple sub-regions according to a certain pattern, such as setting these adjustment values ​​from large to small along the second sliding direction, makes it convenient for users to select the appropriate adjustment value to adjust the target regulator according to the distribution pattern of the adjustment values, resulting in a better user experience.

[0118] In summary, this application addresses user adjustment needs in various scenarios by setting an adjustment area in the second sliding direction and dividing this area into multiple sub-areas with different adjustment values. For example, users can select an appropriate adjustment value to control the adjustment amount of the target regulator, achieving more precise adjustment. Furthermore, since different users have different preferences for the sensitivity and speed of regulator adjustment, providing multiple selectable adjustment values ​​better adapts to the personalized needs of different users, thereby improving overall user satisfaction.

[0119] In some embodiments, prior to step 301, the method 300 further includes: the terminal device activating the target regulator in response to the target operation.

[0120] In some scenarios, users are using application X (such as a video application) on their terminal devices. When a user needs to adjust a certain attribute of application X (such as playback progress, volume, etc.) through a target adjuster, the user can launch the target adjuster through a target operation (such as swiping, dragging, etc.). Correspondingly, after receiving the operation instruction corresponding to the target operation, the terminal device can respond to the operation instruction and launch the target adjuster.

[0121] During the period from when the target regulator is started to when the target operation stops, only the target regulator currently being operated on will respond to these operations, while other regulators on the display interface of application X will not respond to the user's current target operation.

[0122] In some embodiments, step 301 can also be implemented through the following steps:

[0123] Step S1: The terminal device determines the first and second positions of the target operation within the first sub-region.

[0124] The first position can be understood as the starting position of the target operation when it moves within time period T; the second position can be understood as the ending position of the target operation when it moves within time period T.

[0125] After the terminal device detects the target operation on the display interface of application X, it determines the first position of the target operation in the first area and determines the coordinates of the first position; then it determines the second position of the target operation in the first area and determines the coordinates of the second position; finally, it determines the first distance based on the first position and the second position; for example, it calculates the distance between the first position and the second position (i.e., the first distance) using a distance calculation formula.

[0126] Step S2: The terminal device determines the first distance based on the distance between the first location and the second location.

[0127] When a user performs a target operation on the display interface of application X, the terminal device will record the first and second positions of the user's swipe; then, the distance between these two positions (i.e., the first distance) can be calculated using a distance calculation formula.

[0128] The method 300 has been described in detail above. Below, with reference to the interface implementation example and taking a mobile phone as the terminal device, we will briefly introduce the application of method 300 in a video playback scenario.

[0129] In video playback scenarios, such as Figure 7A As shown, users can double-click the shortcut icon "XX Video 702" on the phone's main interface 701; at this time, the phone enters the video playback interface 703, as shown. Figure 7B As shown; users can see a playback progress adjuster 704 (i.e., an example of a target adjuster) on the video playback interface 703; users can adjust the playback progress of the current video by dragging the adjustment block 705 of the playback progress adjuster 704 along the first sliding direction or the second sliding direction through target operations (such as gesture operations); for example, users can adjust the playback progress of the current video by dragging the adjustment block 705 left and right along the first sliding direction through gesture operations (i.e., an example of a target operation), such as sliding from position A to position B; or they can adjust the playback progress of the current video by dragging the adjustment block 705 up and down along the second sliding direction.

[0130] from Figure 7BAs can be seen, the adjustment values ​​of the playback progress adjuster 704 are different in different sub-regions in the second sliding direction. For example, the adjustment value in the area near the playback progress adjuster 704 (such as sub-region 1 and sub-region 2) is 100%; while the adjustment value in the area below the playback progress adjuster 704 (such as sub-region 3 to sub-region 5) can be 80%, 40%, etc.

[0131] For example, such as Figure 8A As shown, the user can drag the adjustment block 705 along the second sliding direction within sub-region 1 through a target operation; for example, the user can slide from position A to position B within sub-region 1 through a target operation, with a sliding distance of line segment AB (i.e., an example of the first distance); the projected distance of line segment AB in the first sliding direction is line segment DE (i.e., an example of the second distance); since the adjustment value of sub-region 1 is 100%, after the user slides a distance AB within sub-region 1 through the target operation, the projected distance DE is the actual distance that the adjustment block 705 needs to slide (i.e., an example of the third distance).

[0132] In some embodiments, such as Figure 8B As shown, designers can also design multiple different adjustment values ​​(such as 100%, 80%, etc.) in the upper area (such as sub-area 1, sub-area 01 and sub-area 02) of the playback progress adjuster 704; and multiple different adjustment values ​​(such as 100%, 80%, 40%, etc.) can also be designed in the lower area (such as sub-area 2 to sub-area 5) of the playback progress adjuster 704 to meet the personalized adjustment needs of users in the portrait screen scenario of mobile phones.

[0133] For example, such as Figure 8B As shown, the user can drag the adjustment block 705 along the second sliding direction within the sub-region 3 through the target operation; for example, the user slides from position A to position B within the sub-region 3 through the target operation, and the sliding distance is line segment AB (i.e., an example of the first distance); the projected distance of line segment AB in the first sliding direction is line segment DF (i.e., an example of the second distance); since the adjustment value of the sub-region 3 is 80%, after the user slides the distance AB within the sub-region 3 through the target operation, the projected distance DF needs to be multiplied by 80% to obtain the actual sliding distance DE that the adjustment block 705 needs to slide (i.e., an example of the third distance).

[0134] Similarly, when the phone is in landscape mode, the way it calculates the actual third swipe distance based on the first distance in the first and second swipe directions is similar to the way it calculates the distance in portrait mode; for example, ... Figure 9AAs shown, when the phone is in landscape mode 901, the user can drag the adjustment block 705 along the second sliding direction within sub-region 3 through a target operation. For example, the user slides from position A to position B within sub-region 3 through the target operation, and the sliding distance is line segment AB (an example of the first distance). The projected distance of line segment AB in the first sliding direction is line segment DF (an example of the second distance). Since the adjustment value of sub-region 3 is 60%, after the user slides AB distance within sub-region 3 through the target operation, the projected distance DF needs to be multiplied by 60% to obtain the actual sliding distance DE that the adjustment block 705 needs to slide (an example of the third distance).

[0135] For example, such as Figure 9B As shown, when the phone is in landscape mode 901, the user can drag the adjustment block 903 of the brightness adjuster 902 along the second sliding direction within sub-region 3 through a target operation; for example, the user slides from position A to position B within sub-region 4 through a target operation, and the sliding distance is line segment AB (i.e., an example of the first distance); the projected distance of line segment AB in the first sliding direction is line segment DF (i.e., an example of the second distance); since the adjustment value of sub-region 4 is 40%, after the user slides AB distance within sub-region 3 through a target operation, the projected distance DF needs to be multiplied by 40% to obtain the actual sliding distance DE that the adjustment block 705 needs to slide (i.e., an example of the third distance).

[0136] It should be noted that the control regulator method proposed in this application is not limited to video applications, audio applications, and other scenarios. The control regulator method is applicable to some virtual reality, screen projection (such as font size adjustment, playback progress adjustment, etc.) scenarios. This application does not limit the application scenarios.

[0137] The foregoing section detailed examples of the control regulator method provided in this application. It is understood that, in order to implement the above functions, the terminal device includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application. This application can divide the control regulator method into functional units based on the above method examples; for example, each function can be divided into separate functional units, or two or more functions can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application is illustrative and only represents a logical functional division; other division methods may exist in actual implementation.

[0138] Figure 10 A schematic diagram of the structure of a terminal device provided in this application is shown. Figure 10 The dashed line indicates that the unit or module is optional. The terminal device 1000 can be used to implement the methods described in the above method embodiments. The terminal device 1000 can be a server or a chip (system).

[0139] Terminal device 1000 includes one or more processors 1001, which can support terminal device 1000 in implementing Figure 3 The method described in the corresponding method embodiment. Processor 1001 can be a general-purpose processor or a dedicated processor. For example, processor 1001 can be a central processing unit (CPU). The CPU can be used to control the terminal device 1000, execute software programs, and process data from the software programs. The terminal device 1000 may also include a communication unit 1005 for implementing signal input (reception) and output (transmission).

[0140] The aforementioned terminal device 1000 may be a chip (system) including a memory and a processor, wherein the processor is configured to execute a computer program stored in the memory to implement the methods shown in the various embodiments above.

[0141] The communication unit 1005 may be an input and / or output circuit of the chip (system), or the communication unit 1005 may be a communication interface of the chip (system), and the chip (system) may be a component of the terminal device 1000.

[0142] For example, the communication unit 1005 may be a transceiver of the terminal device 1000, or the communication unit 1005 may be a transceiver circuit of the terminal device 1000. The terminal device 1000 may include one or more memories 1002, on which a program 1004 is stored. The program 1004 can be executed by the processor 1001 to generate instructions 1003, causing the processor 1001 to execute the method described in the above method embodiments according to the instructions 1003. Optionally, the memory 1002 may also store data. Optionally, the processor 1001 may also read data stored in the memory 1002, which may be stored at the same memory address as the program 1004, or the data may be stored at a different memory address than the program 1004.

[0143] The processor 1001 and memory 1002 can be configured separately or integrated together, for example, integrated on a system-on-chip (SOC) of the terminal device. For details on how the processor 1001 executes the control regulator, please refer to the relevant description in the method embodiments.

[0144] It should be understood that the steps of the above method embodiments can be implemented by hardware logic circuits or software instructions in the processor 1001. The processor 1001 may be a CPU, a digital signal processor (DSP), a field programmable gate array (FPGA), or other programmable logic devices, such as discrete gate, transistor logic devices, or discrete hardware components.

[0145] This application also provides a computer program product that, when executed by processor 1001, implements the method of any method embodiment in this application. The computer program product can be stored in memory 1002, for example, as program 1004. Program 1004 undergoes preprocessing, compilation, assembly, and linking processes to ultimately be converted into an executable object file that can be executed by processor 1001.

[0146] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a computer, implements the method of any of the method embodiments of this application. The computer program may be a high-level language program or an executable object program.

[0147] The computer-readable storage medium is, for example, memory 1002. Memory 1002 can be volatile memory or non-volatile memory, or memory 1002 can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM).

[0148] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process and technical effects of the above-described apparatus and equipment can be referred to the corresponding processes and technical effects in the foregoing method embodiments, and will not be repeated here.

[0149] The systems, apparatuses, and methods disclosed in the embodiments provided in this application can be implemented in other ways. For example, some features of the method embodiments described above may be omitted or not performed. The apparatus embodiments described above are merely illustrative; the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Multiple units or components may be combined or integrated into another system. Furthermore, the coupling between units or components can be direct or indirect, including electrical, mechanical, or other forms of connection.

[0150] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

[0151] Finally, the above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for controlling a regulator, characterized in that, The method includes: During the adjustment of the target regulator, a first distance is determined. The first distance is the sliding distance of the target operation in the first sub-region. The target operation is the operation performed by the user when adjusting the target regulator. The first sub-region is a sub-region in the adjustment region. The adjustment region includes multiple sub-regions. The multiple sub-regions correspond to multiple adjustment values. The adjustment region is located in the second sliding direction of the target regulator. The second sliding direction is perpendicular to the first sliding direction. The first sliding direction is the sliding direction of the target regulator. A third distance is determined based on the second distance and the adjustment value of the first sub-region. The second distance is the projection distance of the first distance onto the first sliding direction, and the third distance is the sliding distance of the target adjuster on the first sliding direction. The third distance is less than or equal to the total adjustment length of the target adjuster.

2. The method according to claim 1, characterized in that, Determining the third distance based on the adjustment value of the second distance and the first sub-region includes: The third distance is determined by multiplying the second distance by the adjustment value of the first sub-region.

3. The method according to claim 1 or 2, characterized in that, Before determining the first distance, the method further includes: In response to the target operation, the target regulator is activated.

4. The method according to claim 1 or 2, characterized in that, Determining the first distance includes: Determine the first and second positions of the target operation within the first sub-region; The first distance is determined based on the distance between the first position and the second position.

5. The method according to any one of claims 1 to 4, characterized in that, The plurality of sub-regions are distributed sequentially along the second sliding direction, and the plurality of adjustment values ​​corresponding to the plurality of sub-regions decrease sequentially along the second sliding direction.

6. The method according to claim 5, characterized in that, The target operation includes gesture operation or mouse operation.

7. The method according to claim 6, characterized in that, The gesture operations include touch gesture operations or hover gesture operations.

8. The method according to any one of claims 1 to 7, characterized in that, The target regulator is one of the following: Progress control, brightness control, volume control, font size control, contrast control, or color temperature control.

9. A terminal device, characterized in that, The terminal device includes a processor and a memory, the memory being used to store a computer program, and the processor being used to call and run the computer program from the memory, causing the terminal device to perform the method of any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to perform the method of any one of claims 1 to 8.

11. A computer program product, characterized in that, The computer program product includes: computer program code, which, when executed by a processor, causes the processor to perform the method of any one of claims 1 to 8.

12. A chip system, characterized in that, The chip system includes a memory and a processor, the processor being configured to execute a computer program stored in the memory to implement the method as described in any one of claims 1 to 8.