CN110908571B - Control method, device and equipment of sliding control and storage medium - Google Patents

Control method, device and equipment of sliding control and storage medium Download PDF

Info

Publication number
CN110908571B
CN110908571B CN201911193430.9A CN201911193430A CN110908571B CN 110908571 B CN110908571 B CN 110908571B CN 201911193430 A CN201911193430 A CN 201911193430A CN 110908571 B CN110908571 B CN 110908571B
Authority
CN
China
Prior art keywords
control
sliding
control operation
slider
proportion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911193430.9A
Other languages
Chinese (zh)
Other versions
CN110908571A (en
Inventor
鲍慧翡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911193430.9A priority Critical patent/CN110908571B/en
Publication of CN110908571A publication Critical patent/CN110908571A/en
Application granted granted Critical
Publication of CN110908571B publication Critical patent/CN110908571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The application discloses a control method, a control device, control equipment and a storage medium of a sliding control, and relates to the field of electronic equipment. The method comprises the following steps: displaying a user interface comprising a sliding control on the terminal, wherein the sliding control comprises a sliding rail and a slider; the method comprises the steps that a first control operation aiming at a sliding control is received, the display proportion of a local area where a sliding mark is located is controlled to be amplified from a first proportion to a second proportion, namely the local area where the sliding mark is located is amplified and displayed, the sliding mark is controlled to slide in the amplified local area through a second control operation, the change of a parameter value corresponding to one unit of the sliding mark moving on a sliding rail under the first proportion is changed, the change of the parameter value corresponding to one unit of the sliding mark moving on the sliding rail under the second proportion is reduced, and the adjustment precision of the sliding control on the parameter is improved; the problem that high-precision parameter adjustment cannot be realized through a sliding control due to limitation of a display area of the intelligent terminal under the condition that the parameter range is large can be solved.

Description

Control method, device and equipment of sliding control and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method, an apparatus, a device, and a storage medium for controlling a sliding control.
Background
In the intelligent terminal, a sliding bar is designed for parameter adjustment, so that a user can adjust parameters by controlling the sliding block to move on the sliding bar. For example, in a game with a face pinching function, a slider corresponding to a model parameter is arranged on a face pinching interface, and a user can adjust the model parameter of the face model through the slider.
A sliding strip on an interface of the intelligent terminal is correspondingly provided with a parameter range; because the display area of the intelligent terminal is limited, and the length of the corresponding sliding bar is also limited, the larger the parameter range is, the smaller the adjustment precision is. Illustratively, the length of the sliding strip is 40 mm, if the parameter range is 0 to 40, the sliding block on the sliding strip moves 1 mm, and the parameter changes by 1 unit; if the parameter range is 0-400, the slide block on the slide bar moves by 1 mm, and the parameter changes by 10 units; obviously, the adjustment accuracy becomes smaller as the parameter range becomes larger.
Therefore, when the parameter range is large, the high-precision parameter adjustment cannot be realized by the slider due to the limitation of the display area of the smart terminal.
Disclosure of Invention
The embodiment of the application provides a control method, a control device, control equipment and a storage medium of a sliding control, and can solve the problem that high-precision parameter adjustment cannot be realized through a sliding bar due to limitation of a display area of an intelligent terminal under the condition that a parameter range is large. The technical scheme is as follows:
According to an aspect of the present application, there is provided a method for controlling a slide control, the method including:
displaying a user interface, wherein the user interface comprises a sliding control, and the sliding control comprises a sliding rail and a sliding mark;
receiving a first control operation;
according to the first control operation, the display scale of the local area where the slider is located is controlled to be amplified from a first scale to a second scale, and the second scale is larger than the first scale;
receiving a second control operation;
in response to a second control operation, the slider is controlled to slide within the partial region in which the enlarged slider is located.
According to another aspect of the present application, there is provided a control apparatus of a slide control, the apparatus including:
the display module is used for displaying a user interface, the user interface comprises a sliding control, and the sliding control comprises a sliding rail and a sliding mark;
the receiving module is used for receiving a first control operation;
the control module is used for controlling the display proportion of the local area where the slider is located to be amplified from a first proportion to a second proportion according to the first control operation, and the second proportion is larger than the first proportion;
the receiving module is used for receiving a second control operation;
and the control module is used for responding to the second control operation and controlling the slider to slide in the local area where the amplified slider is located.
According to another aspect of the present application, there is provided a terminal including:
a memory;
a processor coupled to the memory;
wherein the processor is configured to load and execute executable instructions to implement the control method of the sliding control according to the above-mentioned aspect and its optional embodiments.
According to another aspect of the present application, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the method for controlling a sliding control according to the above-mentioned one aspect and its optional embodiments.
The beneficial effects that technical scheme that this application embodiment brought include at least:
displaying a user interface comprising a sliding control on a terminal, wherein the sliding control comprises a sliding rail and a slider; the method comprises the steps that a first control operation for a sliding control is received, the display proportion of a local area where a slider is located is controlled to be enlarged from a first proportion to a second proportion, wherein the second proportion is larger than the first proportion, namely, the local area where the slider is located is enlarged and displayed, the slider is controlled to slide in the enlarged local area through a second control operation, and the variation of a parameter value corresponding to one unit of movement of the slider on a sliding rail under the first proportion is reduced, so that the variation of the parameter value corresponding to one unit of movement of the slider on the sliding rail under the second proportion is reduced, and the adjustment accuracy of the sliding control on the parameter is improved; the problem that high-precision parameter adjustment cannot be achieved through a sliding control due to limitation of a display area of the intelligent terminal under the condition that the parameter range is large can be solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is an interface schematic diagram of a slider control of the type provided in the present application;
FIG. 2 is an interface schematic of another type of slider control provided herein;
fig. 3 is a schematic structural diagram of a terminal according to an exemplary embodiment of the present application;
FIG. 4 is a flowchart of a method for controlling a slider control provided in an exemplary embodiment of the present application;
FIG. 5 is an interface schematic of a slider control provided by an exemplary embodiment of the present application;
FIG. 6 is a flowchart of a method for controlling a slider control provided in another exemplary embodiment of the present application;
FIG. 7 is a flowchart of a method for controlling a slider control according to another exemplary embodiment of the present application;
FIG. 8 is an interface schematic of a slider control provided by another exemplary embodiment of the present application;
FIG. 9 is an interface schematic of a slider control provided in accordance with another exemplary embodiment of the present application;
FIG. 10 is a flowchart of a method for controlling a slider control provided in another exemplary embodiment of the present application;
FIG. 11 is an interface schematic of a slider control provided in accordance with another exemplary embodiment of the present application;
FIG. 12 is a flowchart of a method for controlling a slider control according to another exemplary embodiment of the present application;
FIG. 13 is a flowchart of a method for controlling a slider control according to another exemplary embodiment of the present application;
FIG. 14 is an interface schematic of a slider control provided by another exemplary embodiment of the present application;
FIG. 15 is an interface schematic of a slider control provided by another exemplary embodiment of the present application;
FIG. 16 is a schematic illustration of a localized area of a slider provided in an exemplary embodiment of the present application;
FIG. 17 is a block diagram of a control apparatus for a slider control provided in an exemplary embodiment of the present application;
fig. 18 is a schematic structural diagram of a terminal according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Several terms referred to in this application are explained as follows:
suspension touch operation: refers to a gesture operation triggered in a suspended area above the screen. The suspension touch operation depends on a capacitive screen supporting the suspension touch function, wherein the capacitive screen induces gesture operation through an electric field extending to a suspension area above the screen, and an application function corresponding to the suspension touch operation is realized on the terminal. That is, the above-described floating touch function enables a control operation of an application on a terminal without touching a screen.
And (3) sliding a control: comprises a slider and a slide rail. The slider is arranged on the slide rail and is controlled by a user to move along the slide rail. In some application scenarios, the slider control may be used for parameter adjustment; the slide rail is correspondingly provided with a parameter range, and when the slide mark is controlled to move on the slide rail, the parameter value is changed in the parameter range, so that the adjustment of the parameter value can be realized. For example, a face-pinching function is provided in the game, and in the process of setting the face model, the adjustment of the model parameters of the face model is realized through the sliding control, as shown in fig. 1, the model parameters of the eyebrows of the virtual image can be adjusted through the sliding control on the right side of the user interface.
However, since the size of the display area of the terminal is limited, and the length of the slide rail in the settable slide control is limited, the larger the parameter range set corresponding to the slide control is, the smaller the accuracy of adjustment is. For example, the length of the slide rail is 40 mm, if the parameter range is 0 to 40, the slide mark moves 1 mm on the slide rail, and the parameter value changes by 1 unit; if the parameter range is 0 to 400, the sliding scale moves 1 mm on the sliding rail, and the parameter value changes by 10 units; obviously, the adjustment accuracy becomes smaller as the parameter range becomes larger.
That is, under the condition that the parameter range is large, due to the size limitation of the display area of the terminal, the high-precision parameter adjustment cannot be realized through the sliding control, so that the requirement of a user for pursuing precise operation cannot be met; for example, for a game player who is addicted to a face, the sliding control cannot meet the requirement of the game player for accurate adjustment of the model parameters of the face model.
There is a solution to the above-mentioned problem, and button controls are added at two ends of the slide rail on the slide control, so that the parameters can be roughly adjusted through the slide, and at the same time, the parameters can be accurately adjusted through the button controls at the two ends. However, the setting of the button controls occupies the limited interface space, which causes a burden on user perception, and particularly, when a plurality of sliding controls exist on the interface at the same time, as shown in fig. 2, three sliding controls are arranged on the right side of the user interface, so that six button controls are correspondingly arranged, the situation that controls are densely arranged while the interface space is occupied is also caused, and the controls are easily touched by mistake in the operation process.
Therefore, in order to solve the problem that high-precision parameter adjustment cannot be realized through the sliding control due to the limitation of the size of the display area of the terminal under the condition of a large parameter range and avoid occupying limited interface space, the present application provides a control method of the sliding control, and please refer to the following embodiments for details of the method.
Referring to fig. 3, a schematic structural diagram of a terminal provided in an exemplary embodiment of the present application is shown. The terminal may be a laptop portable computer, a cell phone, a tablet computer, an e-book reader, an electronic game machine, a motion Picture Experts Group Audio Layer IV (MP 4) player, etc.
Regarding the hardware structure, the terminal includes a touch screen 120, a memory 140, and a processor 160. Alternatively, the touch screen 120 may include a capacitive screen or a resistive screen. The touch screen 120 can support at least one of capacitive touch, pressure touch, and floating touch.
The capacitive touch control is to respond to gesture operation through capacitance value change on a screen so as to control an application program; the pressure touch control means that the gesture operation is responded through the pressure value change on the screen so as to realize the control of the application program; the suspension touch is to respond to gesture operation through capacitance value change in an electric field of a suspension area above a screen so as to realize control on an application program.
The touch screen 120 is used for realizing interaction between the terminal and the user. In the embodiment of the application, the terminal obtains, through the touch screen 120, a control operation on the slider control triggered by the user, for example, a long-time pressing operation on the slider, a dragging operation on the slider, a clicking operation on the slider, a suspension touch operation in a suspension area above the screen, and the like.
Memory 140 may include one or more computer-readable storage media. The computer storage medium includes at least one of a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and a Flash Memory (Flash). The operating system 12 and the application programs 14 are installed in the memory 140.
The operating system 12 is the base software that provides the application programs 14 with secure access to the computer hardware. The operating system may be the Android system (Android) or the apple system (IOS).
The application 14 includes an application provided with a slide control. The application program may include instant messaging software, financial software, game software, shopping software, video playing software, and the like, and in the application program, the application program includes a sliding control for parameter adjustment, and the type of the application program is not limited. For example, the application program is game software, an virtual image is provided in the game software, and model parameters of the virtual image can be customized by a user; the game software is provided with a sliding control for adjusting the parameter value of the model parameter of the virtual image.
It should be noted that the sliding control may also be used for system setting, for example, adjusting the brightness of the screen, adjusting the sound size of the speaker, and the like.
Processor 160 may include one or more processing cores, such as a 4-core processor, an 8-core processor. Alternatively, Processor 160 may be a general-purpose Processor, such as a Central Processing Unit (CPU) or a Network Processor (NP). The processor 160 is configured to execute different commands corresponding to different operations according to the control operations received on the touch screen 120. Illustratively, in the present application, the processor 160 is configured to control, according to a received first control operation for the sliding control, amplification of a display scale of a local area where a slider of the sliding control is located; or controlling the slider to slide in the amplified local area according to the received second control operation aiming at the sliding control; or controlling the display scale of the local area where the slider is located to be enlarged or reduced according to the received second control operation for the sliding control.
For example, when the playing volume of the speaker is adjusted on the setting interface of the terminal, the terminal receives a long press operation on a slider of a slide control corresponding to the playing volume; when the length-based operation exceeds a first preset time length, the terminal controls the amplification of the display scale of the local area where the slider is located; and the terminal receives touch screen sliding operation, and drags the slider to slide in the amplified local area through the touch screen sliding operation.
For another example, when the model parameters of the virtual image are adjusted in a game, the terminal receives the suspension touch operation of the suspension area above the sliding control corresponding to the model parameters; when the hovering duration of the suspended touch operation is longer than a second preset duration, the terminal controls the amplification of the display scale of the local area where the slider is located; and the terminal receives the suspension sliding operation of the upper suspension area, and correspondingly drags the slider to slide in the enlarged local area through the suspension sliding operation.
For another example, when the screen brightness is adjusted on the playing interface of the video playing software, the terminal receives a pressure touch operation on a slider of a sliding control corresponding to the screen brightness; when the pressure value of the pressure touch operation exceeds a preset pressure value, the terminal controls the amplification of the display scale of the local area where the slider is located; and the terminal receives a pressure sliding operation, and drags the slider to slide in the enlarged local area through the pressure sliding operation.
Referring to fig. 4, a flowchart of a method for controlling a slider control according to an exemplary embodiment of the present application is shown, which is described by taking the method as an example for being applied to a terminal, and the method includes:
step 201, displaying a user interface on the terminal.
Displaying a user interface of the setting of the operating system on the terminal, or displaying a user interface of the application program on the terminal; the user interface comprises a sliding control, and the sliding control comprises a sliding rail and a slider. In some scenarios, a slider of the slider control is explicitly shown on the user interface; in other scenarios, the slider of the sliding control is not explicitly shown on the user interface, and the position of the slider may be indicated by a change of the slide rail when the slider slides, for example, when different filling colors, filling styles, or brightness are set for the slide rails on both sides of the slider, a boundary between the two different filling colors, filling styles, or brightness is the position of the slider.
The sliding control is a control for adjusting parameters, and illustratively, the sliding control may be an adjustment control for the playing volume of a speaker in the terminal; or, the brightness of the display screen on the terminal can be adjusted; or, the method can also be an adjustment control of parameters in the application program, for example, the method can be an adjustment control of model parameters of a face model of an avatar in the game, and can be an adjustment control of sensitivity of lens sensitivity in a shooting type game.
In step 202, a first control operation is received.
The terminal receives a first control operation aiming at the sliding control, the first control operation is used for triggering control over a slider on the sliding control, and the first control operation is also used for triggering adjustment of the display scale of a local area where the slider is located.
Optionally, the first control operation may be a long press operation, or the first control operation may be a pressure touch operation, or the first control operation may be a floating touch operation. The long-press operation refers to an operation that the duration of touch operation on a slider of the sliding control exceeds a first preset duration; the pressure touch operation refers to an operation that a touch pressure value of the touch operation on the sliding control exceeds a preset pressure value; the suspension touch operation refers to an operation that the hovering duration of the touch operation on the suspended area above the sliding control exceeds a second preset duration.
For example, the first preset time period is 1 second(s); when the duration of the touch operation on the slider of the slide control is 1s, the touch operation is the first control operation. For another example, the preset pressure value is 1.5 pascal (Pa); when the pressure value of the touch operation on the slider of the sliding control reaches 1.5Pa, the touch operation is the first control operation. For another example, the second preset time period is also 1 s; when the hovering duration of the hovering touch operation on the suspended area above the sliding control is 1s, the hovering touch operation is the first control operation.
And step 203, according to the first control operation, controlling the display scale of the local area where the slider is located to be enlarged from the first scale to the second scale.
When the first control operation is received, the terminal determines a local area where a slider of the sliding control is located, for example, a circular area with a radius being a preset radius is determined by taking the slider as a dot, the circular area comprises a track of a sliding rail with the length being a preset diameter, and the display scale of the circular area is enlarged from a first scale to a second scale. Wherein the second ratio is greater than the first ratio.
Optionally, different proportions corresponding to different operation parameter values of the control operation are prestored in the terminal; when the first control operation is received, the terminal can correspondingly obtain the second proportion through the operation parameter value of the first control operation, and the local area where the slider is located is amplified from the first proportion to the second proportion.
Optionally, if the first control operation is a long-press operation, the operation parameter value of the first control operation includes a touch duration of the long-press operation; if the first control operation is a pressure touch operation, the operation parameter value of the first control operation comprises a pressure value of the pressure touch operation; if the first control operation is a suspension touch operation, the operation parameter value of the first control operation comprises a suspension distance of the suspension touch operation, and the suspension distance is a vertical distance between an object triggering the suspension touch operation and the terminal screen.
Correspondingly, when the long press operation is received, the terminal correspondingly obtains a second proportion according to the touch duration of the long press operation, and the local area where the slider is located is amplified to the second proportion from the first proportion. Or when the pressure touch operation is received, the terminal correspondingly obtains a second proportion according to the pressure value of the pressure touch operation, and the local area where the slider is located is amplified to the second proportion from the first proportion. Or when the suspension touch operation is received, the terminal correspondingly obtains a second proportion according to the suspension distance of the suspension touch operation, and the local area where the slider is located is amplified to the second proportion from the first proportion.
Step 204, receiving a second control operation.
After the display scale of the partial area where the slider is located is enlarged from the first scale to the second scale, the terminal receives a second control operation, and the second control operation is used for controlling the slider to slide on the slide rail in the partial area where the enlarged slider is located. Alternatively, the second control operation may be a pressure slide operation, or may be an air slide operation.
And step 205, responding to the second control operation, and controlling the slider to slide in the local area where the amplified slider is located.
And the terminal responds to the second control operation to control the slider to slide on the slide rail in the local area where the amplified slider is located.
Illustratively, the slider is located at a first position of the slide rail, after the terminal controls a local area where the slider located at the first position is located to be enlarged from a first proportion to a second proportion according to a first control operation, the terminal controls the slider to slide from the first position of the slide rail to the second position of the slide rail according to a second control operation, the slider located at the second position is used as a circular point to display a circular area enlarged to the second proportion, and the circular area enlarged to the second proportion comprises a track of the slide rail with a length which is enlarged to the second proportion and is with a preset diameter.
Illustratively, as shown in fig. 5, a user interface 11 is displayed on a terminal, where the user interface 11 includes a sliding control 12, and when a first control operation for the sliding control 12 is received, a local area 13 where a slider is located is displayed in an enlarged manner on the user interface 11, and the slider is controlled to slide in the local area 13 by a second control operation.
It should be noted that the first control operation and the second control operation may be a consecutive action. For example, the first control operation is a suspension touch operation, the second control operation is a suspension sliding operation, the finger is located in a suspension area above the sliding control, the suspension touch operation is triggered after the suspension time exceeds a second preset time, at this time, the suspension finger makes a sliding gesture to trigger the suspension sliding operation, the suspension and sliding gestures of the finger can be regarded as a coherent action, if the suspension touch operation is triggered and the finger leaves the suspension area above the sliding control, the amplification display of the local area where the slider is located triggered by the suspension touch operation fails, and even if the suspension sliding operation is executed, the terminal cannot respond to the suspension sliding operation.
For another example, the first control operation is a long-press operation, the second control operation is a touch screen sliding operation, the finger is located on a slider of the sliding control, the long-press operation is triggered when the touch duration exceeds a first preset duration, at this time, the finger does not leave the screen to continue sliding, the touch screen sliding operation is triggered, the long-press and sliding of the finger on the screen can be regarded as a coherent action, if the long-press operation trigger is finished, the enlarged display of the local area where the slider is located, triggered by the long-press operation, is invalid, and even if the touch screen sliding operation is executed, the terminal does not respond to the touch screen sliding operation.
In summary, in the control method of the sliding control provided in this embodiment, a user interface including the sliding control is displayed on the terminal, where the sliding control includes a slide rail and a slider; the method comprises the steps that a first control operation aiming at a sliding control is received, the display proportion of a local area where a sliding mark is located is controlled to be amplified from a first proportion to a second proportion, wherein the second proportion is larger than the first proportion, namely, the local area where the sliding mark is located is amplified and displayed, the sliding mark is controlled to slide in the amplified local area through the second control operation, the change of a parameter value corresponding to one unit of the sliding mark moving on a sliding rail under the first proportion is changed, the change of the parameter value corresponding to one unit of the sliding mark moving on the sliding rail under the second proportion is reduced, and the adjustment precision of the sliding control on the parameter is improved; the problem that high-precision parameter adjustment cannot be realized through a sliding control due to limitation of a display area of the intelligent terminal under the condition that the parameter range is large can be solved.
Based on fig. 4, in the implementation process of the control method of the sliding control, the second proportion in the terminal may be determined by an operation parameter value of the control operation, for example, referring to fig. 6, when receiving the first control operation, the implementation step 203 of the terminal amplifying the local area where the slider is located from the first proportion to the second proportion may include the following steps:
at step 2031, operating parameter values for the first control operation are determined.
Optionally, if the first control operation is a long-press operation, the terminal acquires a touch duration of the long-press operation; if the first control operation is a pressure touch operation, the terminal acquires a pressure value of the pressure touch operation; if the first control operation is a suspension touch operation, the terminal acquires the suspension operation of the suspension touch operation.
Step 2032, determining a second ratio according to the operation parameter value of the first control operation.
Optionally, there is a linear correspondence, i.e. a first correspondence, between different operating parameter values and different proportions of the control operation; in the first correspondence, the terminal determines a second proportion corresponding to the value of the operation parameter of the first control operation. For example, in the first corresponding relationship, the linear relationship of the function y ═ f (x) is satisfied between different operation parameter values and different proportions, and the terminal determines the touch duration x 1Corresponding second ratio y1Is f (x)1) (ii) a Or the terminal determines the pressure value x2Corresponding second ratio y2Is f (x)2) (ii) a Alternatively, the terminal determines the flying distancex3Corresponding second ratio y3Is f (x)3)。
Optionally, there is a correspondence between different parameter ranges and different proportions of the control operation, i.e. a second correspondence; the terminal determines a first parameter range to which an operation parameter value of a first control operation belongs; in the second correspondence, the terminal determines a second ratio corresponding to the first parameter range. For example, the range [ k ] of the parameter of the operation is controlled based on the second correspondence shown in Table 11,k2]I.e. greater than or equal to k1K is not more than k2Corresponding to the ratio g1(ii) a Parameter range (k)2,k3]I.e. greater than k2K is not more than k3Corresponding to the ratio g2(ii) a Parameter range (k)3,k4]I.e. greater than k3K is not more than k4Corresponding to the ratio g3. In the second corresponding relation, the terminal determines that the touch duration k belongs to a parameter range [ k ]1,k2]Then the second ratio is determined to be g1(ii) a Or the terminal determines that the pressure value k belongs to the parameter range (k)2,k3]Then the second ratio is determined to be g2(ii) a Or the terminal determines that the suspension distance k belongs to the parameter range (k)3,k4]Then the second ratio is determined to be g3
TABLE 1
Parameter range Ratio of
[k1,k2] g1
(k2,k3] g2
(k3,k4] g3
Wherein the ratio may be positively or negatively related to the value of the operating parameter. For example, the longer the touch duration is, the larger the corresponding amplification ratio is, or the larger the pressure value is, the larger the corresponding amplification ratio is, or the farther the suspension distance is, the larger the corresponding amplification ratio is. For another example, the longer the touch duration is, the smaller the corresponding amplification ratio is, or the larger the pressure value is, the smaller the corresponding amplification ratio is, or the farther the suspension distance is, the smaller the corresponding amplification ratio is.
And step 2033, controlling the display scale of the local area where the slider is located to be enlarged from the first scale to the second scale.
In summary, in the control method of the sliding control provided in this embodiment, the different second proportions are determined by determining the operation parameter value of the first control operation, so that the different proportions of the local area where the slider is located can be displayed in an enlarged manner, that is, while the adjustment precision of the sliding control on the parameter is increased, the user can adjust the parameter with different precisions, and the user experience is improved.
It should be noted that, in the process of controlling the slider of the sliding control to slide on the slide rail, the display scale of the local area where the slider is located may also be adjusted, for example, the user may adjust the display scale of the local area where the slider is located by controlling the change of the operation parameter value of the second control operation. Based on fig. 4, after step 205 is executed, the following steps 206 to 208 are executed to realize the adjustment of the display scale of the local area in the process of sliding the slider on the slide rail, as shown in fig. 7, the schematic steps are as follows:
in step 206, a change in the operating parameter value of the second control operation is monitored.
In the process of executing the second control operation, the terminal constantly monitors the change of the operation parameter value of the second control operation, or the terminal periodically detects the change of the operation parameter value of the second control operation; and monitoring the change of the operation parameter value of the second control operation to monitor the adjustment of the display scale of the local area where the slider is positioned by the user.
Optionally, the second control operation is a pressure sliding operation, and the operation parameter value of the second control operation includes a touch pressure value of the pressure sliding operation; and the terminal monitors the change of the touch pressure value. Or, the second control operation is a suspended sliding operation, and the operation parameter value of the second control operation includes a suspended distance of the suspended sliding operation; the terminal detects the change of the suspension distance.
And step 207, determining a third proportion according to the operation parameter value of the second control operation.
When the operation parameter value of the first control operation is changed from the first parameter value to the second parameter value, the terminal determines a third proportion according to the second parameter value.
Optionally, there is a first correspondence or a second correspondence between different values of the operating parameter and different proportions in the terminal. Determining a third ratio corresponding to the operation parameter value of the second control operation in the first correspondence; wherein the first correspondence comprises a linear correspondence between different operating parameter values and different proportions.
Or, in the second corresponding relationship, when the operation parameter value of the second control operation belongs to the second parameter range, determining a third proportion corresponding to the second parameter range; the second corresponding relation comprises corresponding relations between different parameter ranges and different proportions.
Illustratively, in the first corresponding relationship, the relationship between different operation parameter values and different proportions conforms to the linear relationship of the function z ═ w (i); when the touch pressure value of the pressure slide operation is from the first voltage value i1Is changed into a second voltage value i2Then the third ratio z is determined1Is w (i)2) (ii) a Or, when the suspension distance of the suspension sliding operation is from the first suspension distance i3Changing into the second suspension distance i4Then the third ratio z is determined2Is w (i)4)。
In the second correspondence relationship, the parameter range [ j ] of the operation is controlled based on the relationship between the different parameter ranges and the different ratios shown in table 21,j2]I.e. greater than or equal to j1J is less than or equal to2Corresponding to the ratio m1(ii) a Parameter range (j)2,j3]I.e. greater than j2J is less than or equal to3Corresponding to the ratio m2. In the second corresponding relation, the touch pressure value of the pressure sliding operation is changed from the first voltage value j to the second voltage value j', and the terminal determines that the first voltage value j belongs to the parameter range (j) 2,j3]The second voltage value j' belongs to the parameter range [ j1,j2]Then the corresponding third ratio is m1(ii) a Or the suspension distance of the suspension sliding operation is changed from the first suspension distance j to the second suspension distance j', and the terminal determines that the first suspension distance j belongs to the parameter range [ j1,j2]The second suspension distance j' belongs to the parameter range (j)2,j3]Then the corresponding third ratio is m2
TABLE 2
Parameter range Ratio of
[j1,j2] m1
(j2,j3] m2
It should be noted that the first corresponding relationship in step 207 and the first corresponding relationship in step 2032 may be the same or different; the second corresponding relationship in step 207 may be the same as or different from the second corresponding relationship in step 2032.
And 208, controlling the display scale of the local area where the slider is positioned to be adjusted from the second scale to the third scale.
And if the second proportion is larger than the third proportion, the terminal controls the display proportion of the local area where the slider is located to be reduced from the second proportion to the third proportion. Schematically, as shown in fig. 8, a partial area 22 where the slider is located is displayed on the user interface 21, and the partial area 22 is a partial area where the slider displayed in the second scale is enlarged according to the first control operation; and when the change of the operation parameter value of the second control operation is detected, the terminal determines a third proportion according to the operation parameter value of the second control operation, reduces the display proportion from the second proportion to the third proportion, and enlarges and displays the local area 23 where the slider is located in the third proportion.
And if the second proportion is smaller than the third proportion, the terminal controls the display proportion of the local area where the slider is located to be amplified to the third proportion from the second proportion. Illustratively, as shown in fig. 9, a partial area 32 where the slider is located is displayed on the user interface 31, and the partial area 32 is a partial area where the slider displayed in the second scale is enlarged according to the first control operation; when the change of the operation parameter value of the second control operation is detected, the terminal determines a third proportion according to the operation parameter value of the second control operation, enlarges the display proportion from the second proportion to the third proportion, and enlarges and displays the local area 33 in the third proportion. Wherein the third ratio is greater than the first ratio.
And the terminal controls the display proportion of the local area where the slider is positioned to be adjusted from the second proportion to a third proportion, and the local area where the slider is positioned is displayed in an enlarged mode according to the third proportion.
In summary, according to the control method of the sliding control provided by this embodiment, while the slider of the sliding control is controlled to slide on the slide rail, the amplification scale of the local area where the slider is located can be changed by changing the operation parameter value of the second control operation, so that the user can adjust the precision of parameter adjustment at any time in the process of parameter adjustment, and the user experience is improved.
It should be further noted that, in the terminal, the enlargement ratio of the local area where the slider is located corresponds to a maximum value; because the terminal has a limited sensing range for the operation parameter value of the control operation, the operation parameter value corresponding to the maximum value of the ratio is provided with a safe range to avoid the control operation from deviating from the sensing range of the terminal due to the wrong operation. Schematically, based on fig. 7, the manner of avoiding the control operation from departing from the sensing range of the terminal is described by taking the third ratio as the maximum value of the ratio, as shown in fig. 10, and steps 209 to 210 are added after step 208, as follows:
in step 209, the variation of the operating parameter value of the second control operation is continuously monitored.
And step 210, when the operation parameter value of the second control operation belongs to a third parameter range, amplifying and displaying the local area where the slider is positioned in a third proportion, and displaying prompt information on the user interface.
Setting a third parameter range, namely a safety range, in the first corresponding relationship or the second corresponding relationship; when the terminal detects that the operation parameter value of the second control operation belongs to the third parameter range, the terminal still displays the local area where the slider is located in an amplifying mode according to the third proportion, and prompt information is displayed on the user interface and used for prompting the user that the second control operation is about to exceed the control response range.
Illustratively, as shown in Table 3, when the value of the second parameter for the second control operation falls within the parameter range (j)2,j3]When the terminal determines that the amplification ratio is the third ratio m2(ii) a The second parameter value of the second control operation is changed to a third parameter value when the third parameter value falls within the parameter range (j)3,j4]When the terminal determines that the amplification ratio is still the third ratio m2
TABLE 3
Parameter range Ratio of
[j1,j2] m1
(j2,j3] m2
(j3,j4] m2
Accordingly, as shown in fig. 11, the local area 42 where the slider of the sliding control is enlarged and displayed at the third scale is displayed on the user interface 41, when it is detected that the operation parameter value of the second control operation belongs to the third parameter range, the terminal still displays the local area 42 where the slider is located at the third scale, and displays a prompt message 43 on the user interface 41, wherein the message content is "zoom to maximum" to indicate that the local area 42 where the slider of the sliding control is located is enlarged to the maximum scale, and the second control operation is about to exceed the control response range.
In summary, in the control method of the sliding control provided in this embodiment, the operation range of the second sliding operation is correspondingly provided with a safety range, so as to prompt the user that the local area where the slider of the sliding control is located is enlarged to the maximum, and simultaneously, to remind the user that the second control operation is about to exceed the control response range, thereby avoiding the problem that the second control operation is separated from the sensing range of the terminal due to the incorrect operation of the user, so as to interrupt the parameter adjustment, and improving the user experience.
The terminal has a limited accurate sensing range of the operation parameter value for controlling the operation, so the terminal can also be provided with a parameter threshold value, and the terminal responds to the control operation within the indicated range of the parameter threshold value; and after the parameter threshold value is exceeded, the terminal does not respond to the control operation. Illustratively, based on fig. 4, step 211 to step 213 are added after step 205 to represent the above process, as shown in fig. 12, the steps are as follows:
in step 211, a change in the operating parameter value of the second control operation is monitored.
At step 212, it is determined whether the value of the operating parameter for the second control operation is greater than the parameter threshold.
The terminal determines whether the parameter value of the second control operation is greater than the parameter threshold, and when the operation parameter value of the second control operation is greater than or equal to the parameter threshold, the terminal performs step 213; when the operation parameter value of the second control operation is smaller than the parameter threshold value, the terminal returns to perform step 205.
In step 213, the magnified display of the local area where the slider is located is turned off.
It should be noted that, within the range indicated by the parameter threshold, the terminal can accurately detect the operation parameter value of the control operation, thereby implementing the control of the sliding control; and after exceeding the range indicated by the parameter threshold, the terminal basically cannot detect the operation parameter value of the control operation, or can detect that the error of the operation parameter value of the control operation is large. Therefore, when the operation parameter value of the second control operation is larger than the parameter threshold value, the terminal closes the enlarged display of the partial area where the slider is located.
In summary, according to the control method of the sliding control provided in this embodiment, by setting the parameter threshold, the operation parameter value of the second control operation is always within the range that can be accurately detected by the terminal, so that the degree of accurate response of the terminal to the second control operation is improved, the occurrence of a response error is avoided, and the user experience is improved.
Schematically, the control method of the slider control is described by taking the first control operation as a floating touch operation and the second control operation as a floating sliding operation as an example, as shown in fig. 13, the exemplary steps are as follows:
step 301, the terminal detects whether the slide control is selected.
Displaying a sliding control on a user interface, wherein the sliding control is correspondingly provided with a control area; when the terminal receives a selection operation on the overhead area above the control area, determining to select the sliding control, and executing step 302; when the terminal determines that the slide control is not selected, step 308 is executed.
Illustratively, the selection operation may be a suspension touch operation, and the terminal detects whether the suspension area above the control area triggers the suspension touch operation; when the terminal detects a suspension touch operation in the suspension area above the control area, the terminal performs step 302; when the terminal does not detect the floating touch operation in the floating area above the control area, the terminal performs step 308.
Step 302, the terminal triggers the accurate operation of the sliding control.
The terminal triggers the accurate operation of sliding control, and the local region that the slider of sliding control belonged to the terminal promptly enlarges and shows, for example, when the terminal detects unsettled sense touch operation in the top unsettled region of control area, the terminal determines corresponding display scale according to unsettled distance of unsettled sense touch operation to show the local region that the slider belonged to with this display scale.
After performing step 302, the terminal performs step 303 and step 304.
And 303, the terminal controls the sliding of the slider through the suspended sliding operation.
The terminal receives suspension sliding operation in a suspension area above the control area, and controls the sliding of the slider on the sliding rail in a local area where the slider is located after amplification so as to adjust parameters.
In step 304, the terminal detects whether the suspension distance of the suspension sliding operation is greater than a distance threshold.
And a distance threshold value is arranged in the terminal and used for judging whether the suspended sliding operation exceeds the terminal response range. The terminal detects whether the suspension distance of the suspension sliding operation is greater than or equal to a distance threshold value; when the suspension distance of the suspension sliding operation is greater than or equal to the distance threshold, the terminal executes step 308; when the flying distance of the flying sliding operation is less than the distance threshold, the terminal performs step 305.
And 305, the terminal adjusts the display scale according to the suspension distance of the suspension sliding operation.
And the corresponding relation exists between the suspension distance and the display proportion, and the corresponding relation comprises the corresponding relation between different suspension distance ranges and different display proportions. Generally, with the continuous increase of the suspension distance, the corresponding display scale increases discretely, for example, the value in the first distance range is smaller than the value in the second distance range, and the first scale corresponding to the first distance range is smaller than the second scale corresponding to the second distance range.
In the process of controlling the sliding of the slider, along with the continuous increase of the suspension distance corresponding to the suspension sliding operation, the distance range of the suspension distance is changed from the first distance range to the second distance range, the display proportion is changed from the first proportion to the second proportion, and at the moment, the terminal displays the local area where the slider is located in an enlarged manner according to the second proportion. And deducing that the terminal can also enlarge and display the local area where the slider is positioned in a third proportion, wherein the third proportion is larger than the second proportion.
On the contrary, the suspension distance corresponding to the suspension sliding operation can be continuously reduced, the distance range of the suspension distance can be changed from the second distance range to the first distance range, and the display proportion is changed from the second proportion to the first proportion.
After performing step 305, the terminal performs step 306 and step 307.
In step 306, the terminal detects whether the suspension distance is greater than the distance threshold after the suspension sliding operation is adjusted.
The terminal detects whether the suspension distance is larger than or equal to a distance threshold value after the suspension sliding operation is adjusted; when the adjusted suspension distance is greater than or equal to the distance threshold, the terminal executes step 308; when the adjusted levitation distance is less than the distance threshold, the terminal performs step 302.
And 307, the terminal controls the slider to slide through the suspension sliding operation.
The terminal receives a suspended sliding operation in a suspended area above the control area; and controlling the sliding of the slider on the sliding rail in the local area where the slider enlarged in the display scale is positioned after adjustment so as to adjust the parameters.
And 308, displaying the slide control in the original state on the terminal.
Schematically, as shown in fig. 14, the control method of the above-mentioned sliding control is explained based on the change of the user interface, the sliding control 52 in the original state is displayed on the user interface 51 of the terminal, and on the suspended area above the control area, when the suspended touch operation is within the suspended distance a, the precise operation is triggered. When the suspension sliding operation is within the suspension distance A, the display proportion of the local area 53 where the slider of the sliding control is located is the minimum, and is the same as the display proportion in the original state; the suspension distance of the suspension sliding operation is continuously increased, when the suspension sliding operation is located between the suspension distances A and B, the local area 54 where the slider of the sliding control is located is displayed according to a second proportion, and the second proportion is larger than the first proportion displayed in the original state; as shown in fig. 15, the suspension distance of the suspension sliding operation continues to increase, and when the suspension sliding operation is located between the suspension distances B to C, a local area 55 where the slider of the sliding control is located is displayed at a third ratio, where the third ratio is greater than the second ratio; the suspension distance of the suspension sliding operation continues to increase, and when the suspension sliding operation is located between the suspension distances C and D, namely within the safety range, the local area 55 where the slider of the sliding control is located is still displayed in the third proportion, and the prompt message 56 is displayed; the suspension distance of the suspension sliding operation continues to increase, and when the suspension distance of the suspension sliding operation exceeds the suspension distance D, the original state of the sliding control is restored. As shown in fig. 16, the display scale of the partial area where the slider is located is increased as the suspension distance of the suspension sliding operation is increased for the partial areas where the slider is located under the first ratio, the second ratio and the third ratio.
In summary, in the control method of the sliding control provided in this embodiment, a user interface including the sliding control is displayed on the terminal, where the sliding control includes a slide rail and a slider; the method comprises the steps that a suspension touch operation aiming at a sliding control is received, a local area where a slider is located is controlled to be displayed according to a first proportion, the suspension distance of the suspension sliding operation is continuously increased, the display proportion is controlled to be amplified from the first proportion to a second proportion and even to a third proportion, namely, the local area where the slider is located is amplified and displayed, the slider is controlled to slide in the amplified local area through the suspension sliding operation, the change of a parameter value corresponding to one unit of movement of the slider on a sliding rail is changed to be small relative to the change of the parameter value corresponding to one unit of movement of the slider on the sliding rail under the first proportion and even the third proportion, and the adjustment precision of the sliding control on the parameter is improved; the problem that high-precision parameter adjustment cannot be realized through a sliding control due to limitation of a display area of the intelligent terminal under the condition that the parameter range is large can be solved.
It should be further noted that, if the first control operation is a long press operation and the second control operation is a touch screen sliding operation, a sliding control is displayed on a user interface of the terminal, the terminal receives the long press operation on a slider of the sliding control, and when the touch duration of the long press operation exceeds a first sub-duration, the terminal adjusts the display proportion of the local area where the slider is located from a first proportion to a second proportion; the terminal receives touch screen sliding operation and controls a slider to slide in the local area amplified according to the second proportion according to the touch screen sliding operation;
When the touch screen sliding operation is converted into the long-press operation again, and the touch duration of the long-press operation exceeds the second sub-duration, the terminal adjusts the display proportion of the local area where the slider is located from the second proportion to a third proportion; the terminal receives touch screen sliding operation and controls a slider to slide in the local area amplified by the third proportion according to the touch screen sliding operation;
when the touch screen sliding operation is converted into the long-time pressing operation again, and the touch duration of the long-time pressing operation exceeds the third sub-duration, the terminal still displays the local area where the slider is located according to the third proportion, and displays a prompt message of 'maximum' to prompt the user that the display proportion is adjusted to the maximum value; the terminal receives touch screen sliding operation and controls a slider to slide in the local area amplified by the third proportion according to the touch screen sliding operation; the switching action between the touch screen sliding operation and the long pressing operation can be coherent or incoherent.
If the first control operation is a pressure touch operation and the second control operation is a pressure sliding operation, a sliding control is displayed on a user interface of the terminal, the terminal receives the pressure touch operation on a sliding mark of the sliding control, and when a touch pressure value of the pressure touch operation belongs to a first sub-pressure range, the terminal adjusts the display proportion of a local area where the sliding mark is located from a first proportion to a second proportion; the terminal receives the pressure sliding operation and controls the slider to slide in the local area amplified by the second proportion according to the pressure sliding operation;
The terminal monitors the change of the sliding pressure value corresponding to the pressure sliding operation, and when the sliding pressure value belongs to the second sub-pressure range, the terminal adjusts the display proportion of the local area where the sliding cursor is located from the second proportion to a third proportion; and controlling the slider to slide in the local area amplified by the third proportion according to the pressure sliding operation;
the terminal continuously monitors the change of the sliding pressure value corresponding to the pressure sliding operation, and when the sliding pressure value belongs to a third sub-pressure range, the terminal still displays the local area where the slider is located according to a third proportion; controlling the slider to slide in the local area amplified by the third proportion according to the pressure sliding operation, and simultaneously displaying a prompt message of 'getting to the maximum' to prompt a user that the display proportion is adjusted to the maximum;
the terminal continuously monitors the change of the sliding pressure value corresponding to the pressure sliding operation, and when the sliding pressure value is larger than a pressure threshold value, the terminal restores the original state of the local area where the sliding cursor is located, namely the display state when the display scale is not amplified, wherein the display scale corresponding to the original state is a first scale; the slider is controlled to slide in the partial area enlarged by the first ratio in accordance with the pressure sliding operation.
Referring to fig. 17, a block diagram of a control apparatus for a sliding control according to an exemplary embodiment of the present application is shown, where the apparatus is implemented as part or all of a terminal through software, hardware, or a combination of the two, and the apparatus includes:
the display module 401 is configured to display a user interface, where the user interface includes a sliding control, and the sliding control includes a sliding rail and a slider;
a receiving module 402, configured to receive a first control operation;
the control module 403 is configured to control, according to the first control operation, the display scale of the local area where the slider is located to be enlarged from a first scale to a second scale, where the second scale is greater than the first scale;
a receiving module 402, configured to receive a second control operation;
and a control module 403 for controlling the slider to slide in the local area where the magnified slider is located in response to the second control operation.
In some embodiments, a control module 403 for determining an operating parameter value for a first control operation; determining a second proportion according to the operation parameter value of the first control operation; and the display scale of the local area where the control slider is positioned is enlarged from the first scale to the second scale.
In some embodiments of the present invention, the,
the first control operation is a long-press operation, and the operation parameter value of the first control operation comprises the touch duration of the long-press operation;
Or the first control operation is a pressure touch operation, and the operation parameter value of the first control operation comprises a pressure value of the pressure touch operation;
or, the first control operation is a floating touch operation, and the operation parameter value of the first control operation includes a floating distance of the floating touch operation.
In some embodiments, the control module 403 is configured to determine a second ratio corresponding to an operating parameter value of the first control operation in the first correspondence; the first correspondence comprises a linear correspondence between different values of the operating parameter and different proportions;
or, determining a first parameter range to which an operating parameter value of the first control operation belongs; determining a second proportion corresponding to the first parameter range in the second corresponding relation; the second correspondence includes correspondence between different parameter ranges and different proportions.
In some embodiments, a control module 403 for monitoring a change in an operating parameter value of the second control operation; determining a third proportion according to the operation parameter value of the second control operation; and adjusting the display scale of the local area where the control slider is positioned from the second scale to the third scale.
In some embodiments of the present invention, the,
the second control operation is a pressure sliding operation, and the operation parameter value of the second control operation comprises a touch pressure value of the pressure sliding operation;
Or, the second control operation is a floating sliding operation, and the operation parameter value of the second control operation includes a floating distance of the floating sliding operation.
In some embodiments, the control module 403 is configured to determine a third ratio corresponding to the operating parameter value of the second control operation in the first correspondence; the first correspondence comprises linear correspondence between different operating parameter values and different proportions;
or when the operation parameter value of the second control operation belongs to a second parameter range, determining a third proportion corresponding to the second parameter range in the second corresponding relation; the second correspondence includes correspondence between different parameter ranges and different proportions.
In some embodiments, the control module 403 is further configured to continue to monitor changes in the operating parameter value of the second control operation; and when the operation parameter value of the second control operation belongs to a third parameter range, amplifying and displaying the local area where the slider is positioned in a third proportion, and displaying prompt information on the user interface, wherein the prompt information is used for prompting the user that the second control operation is about to exceed the control response range.
In some embodiments, the control module 403 is further configured to monitor a change in the operating parameter value of the second control operation; and when the operating parameter value of the second control operation is larger than the parameter threshold value, closing the amplification display of the local area where the slider is positioned.
In summary, the control apparatus for a slide control provided in this embodiment displays a user interface including the slide control, where the slide control includes a slide rail and a slide mark; the method comprises the steps that a first control operation aiming at a sliding control is received, the display proportion of a local area where a sliding mark is located is controlled to be amplified from a first proportion to a second proportion, wherein the second proportion is larger than the first proportion, namely, the local area where the sliding mark is located is amplified and displayed, the sliding mark is controlled to slide in the amplified local area through the second control operation, the change of a parameter value corresponding to one unit of the sliding mark moving on a sliding rail under the first proportion is changed, the change of the parameter value corresponding to one unit of the sliding mark moving on the sliding rail under the second proportion is reduced, and the adjustment precision of the sliding control on the parameter is improved; the problem that high-precision parameter adjustment cannot be realized through a sliding control due to limitation of a display area of the intelligent terminal under the condition that the parameter range is large can be solved.
Referring to fig. 18, a block diagram of a terminal 500 according to an exemplary embodiment of the present application is shown. The terminal 500 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 500 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like.
In general, the terminal 500 includes: a processor 501 and a memory 502.
The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 501 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 502 is used to store at least one instruction for execution by processor 501 to implement the method of controlling a slider control provided by method embodiments herein.
In some embodiments, the terminal 500 may further optionally include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502, and peripheral interface 503 may be connected by buses or signal lines. Each peripheral may be connected to the peripheral interface 503 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 504, display screen 505, audio circuitry 506, positioning components 507, and power supply 508.
The peripheral interface 503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 501 and the memory 502. In some embodiments, the processor 501, memory 502, and peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral interface 503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 504 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 504 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 504 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 504 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to capture touch signals on or over the surface of the display screen 505. The touch signal may be input to the processor 501 as a control signal for processing. At this point, the display screen 505 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 505 may be one, providing the front panel of the terminal 500; in other embodiments, the display screens 505 may be at least two, respectively disposed on different surfaces of the terminal 500 or in a folded design; in still other embodiments, the display 505 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 500. Even more, the display screen 505 can be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 505 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The audio circuitry 506 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 501 for processing or inputting the electric signals to the radio frequency circuit 504 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 500. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 506 may also include a headphone jack.
The positioning component 507 is used for positioning the current geographical position of the terminal 500 to implement navigation or LBS (Location Based Service). The Positioning component 507 may be a Positioning component based on a Global Positioning System (GPS) in the united states, a beidou System in china, a graves System in russia, or a galileo System in the european union.
The power supply 508 is used to power the various components in the terminal 500. The power source 508 may be alternating current, direct current, disposable or rechargeable. When the power source 508 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 18 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is intended only to illustrate the alternative embodiments of the present application, and should not be construed as limiting the present application, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (9)

1. A method for controlling a slide control, the method comprising:
displaying a user interface, wherein the user interface comprises a sliding control, and the sliding control comprises a sliding rail and a sliding mark;
receiving a first control operation, wherein the first control operation is a suspension touch operation;
determining an operation parameter value of the first control operation, wherein the operation parameter value of the first control operation comprises a suspension distance of the suspension touch operation, and the suspension distance is used for indicating a vertical distance between an object triggering the suspension touch operation and a terminal;
determining a second proportion according to the operation parameter value of the first control operation, wherein the second proportion is determined according to the suspension distance of the suspension touch operation;
controlling the display scale of the local area where the slider is located to be amplified from a first scale to a second scale, wherein the second scale is larger than the first scale;
receiving a second control operation, wherein the second control operation is a suspended sliding operation;
In response to the second control operation, controlling the slider to slide in the local area where the amplified slider is located, wherein the first control operation and the second control operation are a coherent action;
monitoring a change in an operating parameter value of the second control operation;
when the operation parameter value of the second control operation belongs to a third parameter range, amplifying and displaying the local area where the slider is located in a third scale, and displaying prompt information on the user interface, wherein the prompt information is used for prompting that the second control operation is about to exceed a control response range, and the third scale is the maximum value of the display scale;
and when the suspension distance of the suspension sliding operation exceeds a preset suspension distance, restoring to display the sliding control in the original state.
2. The method of claim 1, wherein determining the second ratio based on the operating parameter value of the first control operation comprises:
determining the second proportion corresponding to an operating parameter value of the first control operation in a first correspondence; the first correspondence comprises linear correspondences between different operating parameter values and different ratios;
Or the like, or a combination thereof,
determining a first parameter range to which an operating parameter value of the first control operation belongs; determining the second proportion corresponding to the first parameter range in a second corresponding relation; the second correspondence includes correspondence between different parameter ranges and different proportions.
3. The method according to any one of claims 1 or 2, wherein the controlling the slider after sliding within the enlarged partial region in which the slider is located in response to the second control operation comprises:
monitoring a change in an operating parameter value of the second control operation;
determining a third proportion according to the operation parameter value of the second control operation;
and controlling the display scale of the local area where the slider is positioned to be adjusted from the second scale to the third scale.
4. The method of claim 3,
the second control operation is a pressure sliding operation, and an operation parameter value of the second control operation comprises a touch pressure value of the pressure sliding operation;
or the like, or, alternatively,
the second control operation is a floating sliding operation, and the operation parameter value of the second control operation comprises a floating distance of the floating sliding operation.
5. The method of claim 3, wherein determining the third ratio based on the operating parameter values for the second control operation comprises:
determining the third ratio corresponding to the operating parameter value of the second control operation in the first correspondence; the first correspondence comprises a linear correspondence between different operating parameter values and different proportions;
or the like, or a combination thereof,
when the operation parameter value of the second control operation belongs to a second parameter range, determining the third proportion corresponding to the second parameter range in a second corresponding relationship; the second correspondence includes correspondence between different parameter ranges and different proportions.
6. The method according to any one of claims 1 or 2, wherein after controlling the slider to slide in the enlarged partial region where the slider is located in response to the second control operation, further comprising:
monitoring a change in an operating parameter value of the second control operation;
and when the operating parameter value of the second control operation is larger than the parameter threshold value, closing the amplification display of the local area where the slider is located.
7. An apparatus for controlling a slide control, the apparatus comprising:
The display module is used for displaying a user interface, the user interface comprises a sliding control, and the sliding control comprises a sliding rail and a sliding mark;
the receiving module is used for receiving a first control operation, wherein the first control operation is a suspension touch operation;
the control module is used for determining an operation parameter value of a first control operation, wherein the operation parameter value of the first control operation comprises a suspension distance of the suspension touch operation, and the suspension distance is used for indicating a vertical distance between an object triggering the suspension touch operation and a terminal; determining a second proportion according to an operation parameter value of the first control operation, wherein the second proportion is determined according to the suspension distance of the suspension touch operation; controlling the display scale of the local area where the slider is located to be amplified from a first scale to a second scale, wherein the second scale is larger than the first scale;
the receiving module is used for receiving a second control operation, and the second control operation is a suspended sliding operation;
the control module is used for responding to the second control operation and controlling the slider to slide in the amplified local area where the slider is located, and the first control operation and the second control operation are a coherent action;
For monitoring a change in an operating parameter value of the second control operation; when the operation parameter value of the second control operation belongs to a third parameter range, amplifying and displaying the local area where the slider is located in a third proportion, and displaying prompt information on the user interface, wherein the prompt information is used for prompting that the second control operation exceeds a control response range, and the third proportion is the maximum value of the display proportion; and when the suspension distance of the suspension sliding operation exceeds a preset suspension distance, restoring the module of the sliding control in the original state.
8. A terminal, characterized in that the terminal comprises:
a memory;
a processor coupled to the memory;
wherein the processor is configured to load and execute executable instructions to implement the control method of the slide control according to any one of claims 1 to 6.
9. A computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions; the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by a processor to implement the method of controlling a slider control of any of claims 1 to 6.
CN201911193430.9A 2019-11-28 2019-11-28 Control method, device and equipment of sliding control and storage medium Active CN110908571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911193430.9A CN110908571B (en) 2019-11-28 2019-11-28 Control method, device and equipment of sliding control and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911193430.9A CN110908571B (en) 2019-11-28 2019-11-28 Control method, device and equipment of sliding control and storage medium

Publications (2)

Publication Number Publication Date
CN110908571A CN110908571A (en) 2020-03-24
CN110908571B true CN110908571B (en) 2022-06-28

Family

ID=69820355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911193430.9A Active CN110908571B (en) 2019-11-28 2019-11-28 Control method, device and equipment of sliding control and storage medium

Country Status (1)

Country Link
CN (1) CN110908571B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111798559A (en) * 2020-06-03 2020-10-20 体知(上海)信息技术有限公司 Selection device and method of virtual image characteristics
CN111949181B (en) * 2020-08-28 2021-09-28 腾讯科技(深圳)有限公司 Display adjustment method and device, storage medium and electronic equipment
CN113961128B (en) * 2021-10-25 2023-08-11 网易(杭州)网络有限公司 Mobile control method and device for sliding bar with scales and electronic equipment
TW202321894A (en) 2021-11-19 2023-06-01 全台晶像股份有限公司 Hover touch device with sensory feedback

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257463A (en) * 2008-12-18 2011-11-23 日本电气株式会社 Slide bar display control apparatus and slide bar display control method
CN102541319A (en) * 2010-12-20 2012-07-04 联想(北京)有限公司 Electronic equipment and display processing method thereof
CN103176632A (en) * 2011-12-21 2013-06-26 宇龙计算机通信科技(深圳)有限公司 Terminal and locating method
CN104978125A (en) * 2014-04-04 2015-10-14 宏碁股份有限公司 Electronic device and user interface control method
CN105630241A (en) * 2015-12-29 2016-06-01 惠州Tcl移动通信有限公司 Scaling method and system for screen displayed content

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101600091B1 (en) * 2009-11-25 2016-03-04 엘지전자 주식회사 Method for displaying data in mobile terminal having touch screen and mobile termimnal thereof
CN110420457B (en) * 2018-09-30 2023-09-08 网易(杭州)网络有限公司 Suspension operation method, suspension operation device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257463A (en) * 2008-12-18 2011-11-23 日本电气株式会社 Slide bar display control apparatus and slide bar display control method
CN102541319A (en) * 2010-12-20 2012-07-04 联想(北京)有限公司 Electronic equipment and display processing method thereof
CN103176632A (en) * 2011-12-21 2013-06-26 宇龙计算机通信科技(深圳)有限公司 Terminal and locating method
CN104978125A (en) * 2014-04-04 2015-10-14 宏碁股份有限公司 Electronic device and user interface control method
CN105630241A (en) * 2015-12-29 2016-06-01 惠州Tcl移动通信有限公司 Scaling method and system for screen displayed content

Also Published As

Publication number Publication date
CN110908571A (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN110908571B (en) Control method, device and equipment of sliding control and storage medium
CN107479784B (en) Expression display method and device and computer readable storage medium
KR102535056B1 (en) An electronic apparautus and mehtod of recognizing a touch in the apparatus
KR102160767B1 (en) Mobile terminal and method for detecting a gesture to control functions
US10182769B2 (en) Information management method and electronic device
US9549264B2 (en) Portable terminal for controlling hearing aid and method therefor
US9965096B2 (en) Method and apparatus for processing input using touch screen
US10055055B2 (en) Method and device for controlling operation according to damage to touch area of electronic device
KR20160001964A (en) Operating Method For Microphones and Electronic Device supporting the same
US11829581B2 (en) Display control method and terminal
CN107613146B (en) Volume adjustment method and device and mobile terminal
CN108777731B (en) Key configuration method and device, mobile terminal and storage medium
CN107957843B (en) Control method and mobile terminal
KR20180014644A (en) Method and electronic device for recognizing touch
KR20180098080A (en) Interface providing method for multitasking and electronic device implementing the same
CN108804005B (en) Terminal control method and device and mobile terminal
CN108769299B (en) Screen control method and device and mobile terminal
JP2015121481A (en) Portable electronic apparatus, control method, and control program
CN110531915B (en) Screen operation method and terminal equipment
CN111124206B (en) Position adjusting method and electronic equipment
CN110930964B (en) Display screen brightness adjusting method and device, storage medium and terminal
KR20160026135A (en) Electronic device and method of sending a message using electronic device
CN109104521B (en) Method and device for correcting approaching state, mobile terminal and storage medium
CN103677624A (en) Method of processing touch input for mobile device
KR102553573B1 (en) Electronic device and method for detecting touch input of the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant