CN110456959B - Terminal control method and terminal - Google Patents
Terminal control method and terminal Download PDFInfo
- Publication number
- CN110456959B CN110456959B CN201910703293.2A CN201910703293A CN110456959B CN 110456959 B CN110456959 B CN 110456959B CN 201910703293 A CN201910703293 A CN 201910703293A CN 110456959 B CN110456959 B CN 110456959B
- Authority
- CN
- China
- Prior art keywords
- target
- screen module
- adjusting
- change value
- item
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a terminal control method and a terminal, wherein the terminal comprises a first screen module and a second screen module which can move relatively; the control method comprises the following steps: receiving motion input of a first screen module relative to a second screen module under the condition of displaying a display interface of a target application program; and responding to the motion input, determining a target parameter corresponding to the motion input, and adjusting a target adjusting item on the display interface according to the target parameter. The method and the device can be beneficial to a user to simply, conveniently and quickly realize the adjustment of the output item, avoid shielding the terminal screen in the adjustment process and improve the use interest.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a terminal control method and a terminal.
Background
With the development of electronic communication technology, terminal designs are also gradually diversified, for example, a foldable screen terminal, a terminal with a stretched screen, and other terminals with multiple screens capable of moving relative to each other are provided, which greatly changes user experience.
At present, on a terminal, when a user needs to adjust an output item on a multimedia output interface, the user performs an adjustment of a music output progress by using a screen touch manner, for example, in a music play interface, the user drags a music progress bar, and for example, in a music list interface, the user performs a play item selection by sliding a music list. However, the output item adjustment of the multimedia output interface is realized by adopting a screen touch manner, the adjustment manner is single, and the screen of the terminal is easily shielded.
Disclosure of Invention
The invention provides a terminal control method and a terminal, and aims to solve the problems that in the prior art, a screen touch mode is adopted to adjust output items of a multimedia output interface, the adjusting mode is single, and a terminal screen is easy to shield.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a terminal control method, which is applied to a terminal, where the terminal includes a first screen module and a second screen module that can move relative to each other; the control method comprises the following steps:
receiving motion input of a first screen module relative to a second screen module under the condition of displaying a display interface of a target application program;
and responding to the motion input, determining a target parameter corresponding to the motion input, and adjusting a target adjusting item on the display interface according to the target parameter.
In a second aspect, an embodiment of the present invention provides a terminal, where the terminal includes a first screen module and a second screen module that can move relative to each other; the terminal includes:
the receiving module is used for receiving the motion input of the first screen module relative to the second screen module under the condition of displaying the display interface of the target application program;
and the adjusting module is used for responding to the motion input, determining a target parameter corresponding to the motion input and adjusting a target adjusting item on the display interface according to the target parameter.
In a third aspect, an embodiment of the present invention provides a terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the control method of the terminal.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the control method for the terminal.
In the embodiment of the invention, the motion input of the first screen module relative to the second screen module is received under the condition of displaying the display interface of the target application program, and the target adjusting item on the display interface is adjusted based on the target parameter corresponding to the motion input, so that a user can conveniently and quickly adjust the output item, the terminal screen is prevented from being shielded in the adjusting process, and the use interest is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flowchart illustrating a control method for a terminal according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The embodiment of the invention provides a terminal control method, which is applied to a terminal, wherein the terminal comprises a first screen module and a second screen module which can move relatively. For example, the terminal may be a folding screen terminal in which the first screen module and the second screen module can be folded or unfolded relatively; or, the terminal may be a terminal in which the first screen module and the second screen module are relatively movable, for example, the terminal includes a terminal housing, an opening is formed at one side of the terminal housing, one of the first screen module and the second screen module is disposed on the terminal housing, and the other of the first screen module and the second screen module is accommodated in the terminal housing and can be moved out of or into the terminal housing through the opening.
Referring to fig. 1, which is a flowchart illustrating a control method of a terminal according to an embodiment of the present invention, the control method of the terminal according to the embodiment of the present invention may include the following steps:
In the embodiment of the present invention, the target application may be a multimedia application such as an electronic book application, a music application, or a video application, and an adjustable output item is displayed on a display interface of the target application, and the output item may be output content with adjustable content progress, or the output item may be an information list including at least one information item. In this step, if the user needs to adjust the output item, the motion input operation of the first screen module relative to the second screen module can be executed, so that the terminal receives the motion input of the first screen module relative to the second screen module, and the subsequent adjustment of the output item based on the motion input is facilitated, the user can conveniently and quickly adjust the output item, the screen of the terminal is prevented from being shielded in the adjustment process, and the use interest is improved.
For example, if the first screen module and the second screen module can move relatively, the movement input of the first screen module relative to the second screen module is received in step 101; if the first screen module and the second screen module can be folded relatively, the folding input of the first screen module relative to the second screen module is received in step 101.
And 102, responding to the motion input, determining a target parameter corresponding to the motion input, and adjusting a target adjusting item on the display interface according to the target parameter.
In this step, based on the motion input received in step 101, the terminal determines a target parameter corresponding to the motion input, and adjusts the target adjustment item on the display interface according to the target parameter, so that the terminal can execute a preset operation corresponding to the target adjustment item, and the user operation requirement is met, thereby facilitating the user to simply, conveniently and quickly adjust the output item, avoiding shielding the terminal screen in the adjustment process, and improving the use interest. For example, if the output item is output content with adjustable content progress, the target adjustment item may be the output progress of the output content; alternatively, if the output item is an information list including at least one information item, the target adjustment item may be the information list. In the embodiment of the present invention, the target adjustment item on the display interface may be determined by detecting the display interface when the display interface of the target application program is displayed in step 101, or may be determined by detecting the display interface before the target adjustment item on the display interface is adjusted according to the target parameter in step 102; alternatively, before the target adjustment item on the display interface is adjusted according to the target parameter in step 102, the user input is received to determine the target adjustment item on the display interface selected by the user.
In the embodiment of the invention, the motion input of the first screen module relative to the second screen module is received under the condition of displaying the display interface of the target application program, and the target adjusting item on the display interface is adjusted based on the target parameter corresponding to the motion input, so that a user can conveniently and quickly adjust the output item, the terminal screen is prevented from being shielded in the adjusting process, and the use interest is improved.
Optionally, in some embodiments of the present invention, step 102, in response to the motion input, determining a target parameter corresponding to the motion input, and adjusting a target adjustment item on the display interface according to the target parameter, may include the following steps: responding to the motion input, and determining a target position change value corresponding to the motion input and a maximum position change value of the first screen module relative to the second screen module; and adjusting the target adjusting item according to the target position change value and the maximum position change value. In the embodiment of the present invention, the target parameter may include a target position variation value of the first screen module relative to the second screen module, and the maximum position variation value is a maximum value of the position variation value of the first screen module relative to the second screen module, where the maximum position variation value may be stored on the terminal by being recorded in advance; when the terminal receives and responds to the motion input for controlling the motion input of the first screen module relative to the second screen module, the target position change value of the first screen module relative to the second screen module can be detected through a sensor preset on the terminal, so that the target position change value of the first screen module relative to the second screen module can be obtained by acquiring the detection result of the sensor, wherein the sensor comprises but is not limited to an acceleration sensor, a distance sensor, an angle sensor and the like, namely the target position change value of the first screen module relative to the second screen module can be detected through the acceleration sensor, the distance sensor or the angle sensor; and then, adjusting the target adjusting item based on the target position change value and the maximum position change value, and further adjusting the output item simply, conveniently and quickly.
In some optional embodiments of the present invention, the target location change value may include, for a type of the terminal: the target moving distance of the first screen module relative to the second screen module and the target folding angle of the first screen module relative to the second screen module.
For example, if the terminal is a foldable screen terminal, that is, if the first screen module and the second screen module are foldable relatively, the target position variation value of the first screen module relative to the second screen module may include: the first screen module is folded relative to the second screen module at a target folding angle, i.e., the folding angle between the first screen module and the second screen module. For another example, if the terminal is a terminal in which the first screen module and the second screen module can move relatively, that is, if the first screen module and the second screen module can move relatively, the target position change value of the first screen module relative to the second screen module may include: the target moving distance of the first screen module relative to the second screen module is the relative distance between the first screen module and the second screen module. Here, in order to accurately detect the target movement distance of the first screen module relative to the second screen module, the corresponding predetermined positions on the first screen module and the second screen module may be used as detection points of the relative distance, and the distance between the detection points may be used as the target movement distance, so that the target movement distance may be accurately detected.
Optionally, in some embodiments of the present invention, the output item may be output content with adjustable content progress, that is, the display interface displays the output content with adjustable content progress, and the target adjustment item is a content progress of the output content, for example: if the target application program can be a music application program, the display interface is a music playing interface, the output content can be audio content, and the target adjusting item is the content progress of the audio content; if the target application program can be an electronic book application program, the display interface is an electronic book reading interface, the output content can be electronic book content, and the target adjusting item is the content progress of the electronic book content; and if the target application program is a video application program, the display interface is a video playing interface, the output content can be video content, and the target adjustment item is the content progress of the video content. In the embodiment of the present invention, adjusting the target adjustment item according to the target position change value and the maximum position change value may include the following steps: determining the total output progress of the output content on the display interface; determining a progress change value of the output content according to the maximum position change value, the total output progress and the target position change value; and determining a target output progress value of the output content according to the first output progress value and the progress change value of the output content, and adjusting the content progress to the target output progress value. In the embodiment of the invention, the terminal can firstly determine the total output progress of the output content, determine the progress change value of the adjustment of the output content according to the maximum position change value, the total output progress and the target position change value, then determine the target output progress value obtained after the progress change value of the output content is adjusted by the first output progress value according to the target content progress adjustment direction, namely the target output progress value is the output progress value after the progress change value of the output content is adjusted by the first output progress value along the target content progress adjustment direction, adjust the content progress to the target output progress value after the target output progress value is determined, namely adjust the content progress to the target output progress value according to the target content progress adjustment direction by the first output progress value, thus being beneficial to the user to conveniently and quickly realize the output progress adjustment of the output content, avoid sheltering from the terminal screen among the accommodation process to promote and use the interest. After the content progress is adjusted to the target output progress value, the terminal can execute a preset operation corresponding to the target output progress value, namely, output the content corresponding to the target output progress value. The first output progress value of the output content may be a preset output progress value, such as an initial output progress value, or may also be a current output progress value.
Here, for each output content, the total output progress thereof is fixed, and for the terminal, the maximum position change value of the movement of the first screen module with respect to the second screen module is fixed, and thus, the total output progress of the output content can be acquired, and then the progress change value is determined according to the total output progress of the output content, the maximum position change value, and the target position change value; in particular, the following formula may be followed: and determining the progress change value, namely (total output progress/maximum position change value) and the target position change value.
For example, the first screen module and the second screen module may be folded relatively, the folding angle range of the first screen module is 0 to 180 degrees, the maximum position change value (i.e., the maximum folding angle) is 180 degrees, the target application program is a music application program, the display interface is a music playing interface, the output content is audio content, the first output progress value of the output content may be an initial output progress value (assumed to be 0 th minute), and assuming that the total duration (i.e., the total output progress) of the audio content is 4 minutes, if the target folding angle of the first screen module relative to the second screen module is 45 degrees, the progress change value is 1 minute, and the target output progress value is 1 st minute; if the target folding angle of the first screen module relative to the second screen module is 90 degrees, the progress change value is 2 minutes, and the target output progress value is 2 minutes; if the target folding angle of the first screen module relative to the second screen module is 135 degrees, the progress change value is 3 minutes, and the target output progress value is 3 minutes; others may be so.
For example, the first screen module and the second screen module can be folded relatively, the folding angle range is 0-180 degrees, and the maximum position change value (i.e. the maximum folding angle) is 180 degrees; the target application program is an e-book application program, the display interface is an e-book reading interface, the output content is e-book content, and the first output progress value of the output content may be an initial output progress value (assumed to be page 0). Assuming that the total page number (i.e., the total output progress) of the content of the electronic book is 180 pages, the target folding angle of the first screen module relative to the second screen module is 1 degree, the corresponding progress change value is 1 page, and the target output progress value is the 1 st page; if the target folding angle of the first screen module relative to the second screen module is 45 degrees, the corresponding progress variation value is 45 pages, and the target output progress value is 45 th page; others may be so.
For example, the first screen module and the second screen module can be folded relatively, the folding angle range is 0-180 degrees, and the maximum position change value (i.e. the maximum folding angle) is 180 degrees; the target application program is a video application program, the display interface is a video playing interface, the output content is video content, the first output progress value of the output content can be an initial output progress value (assumed to be 0 th minute), and if the total duration (namely the total output progress) of the video content is 180 minutes, if the target folding angle of the first screen module relative to the second screen module is 1 degree, the progress change value is 1 minute, and the target output progress value is 1 st minute; if the target folding angle of the first screen module relative to the second screen module is 90 degrees, the progress change value is 90 minutes, and the target output progress value is 90 minutes; if the target folding angle of the first screen module relative to the second screen module is 135 degrees, the progress change value is 135 minutes, and the target output progress value is 135 minutes; others may be so.
Optionally, in some embodiments of the present invention, the output item may be an information list including at least one information item, that is, the display interface displays the information list including at least one information item, and the target adjustment item is the information list, for example, if the target application may be a music application, the display interface is a music list interface, and the information list may be a music list; if the target application program can be an electronic book application program, the display interface is an electronic book reading interface, and the information list can be an electronic book catalog or a chapter catalog; the target application program can be a video application program, the display interface is a video playing interface, and the information list can be a video list. In this embodiment of the present invention, adjusting the target adjustment item according to the target position change value and the maximum position change value may include: determining the total number of information items of an information list on a display interface; determining an information item adjusting parameter according to the maximum position change value, the total number of the information items and the target position change value; and adjusting the position of the information item in the information list according to the first information item and the information item adjusting parameter in the information list. In the embodiment of the invention, the terminal can firstly determine the total number of the information items in the information list, determine the adjustment parameter of the information item according to the maximum position change value, the total number of the information items and the change value of the target position, then determine the position of the target information item in the information list, which is obtained by moving the adjustment parameter of the information item by the first information item along the target selection direction, and adjust the position of the information item in the information list to the position of the target information item after determining the position of the target information item, wherein the position of the information item is the position of the selected information item in the information item list, so that the position adjustment of the information item in the information list is conveniently and quickly realized by a user, the screen of the terminal is prevented from being blocked in the adjustment process, and the use interest is improved. After the position of the information item in the information list is adjusted, the terminal can execute a preset operation corresponding to the position of the information item, namely, output the content corresponding to the information item at the position of the information item. The first information item may be a preset information item in the information list, such as a first information item, a last information item, and the like; alternatively, the first information item may also be a current information item in the information list. In some optional embodiments of the present invention, the information item adjustment parameter may include: at least one of the number of intervals of the information item and the moving distance.
Here, for each information list, the total number of information items is fixed, and for the terminal, the maximum position change value of the movement of the first screen module relative to the second screen module is fixed, so that the total number of information items in the information list can be acquired, and then the information item adjustment parameter is determined according to the total number of information items, the maximum position change value and the target position change value; specifically, the information item adjustment parameter may be an information item movement number, which may be according to the following formula: and determining the information item adjusting parameter (total number of information items/maximum position change value) and the target position change value.
For example, the first screen module and the second screen module may be folded relatively, the folding angle range is 0 to 180 degrees, the maximum position variation value (i.e., the maximum folding angle) is 180 degrees, the target application program is a music application program, the display interface is a music list interface, the information list is a music list, assuming that the total number of songs (i.e., the total number of information items) in the music list is 180, the first information item may be a preset information item in the information list, and is 0 th, the target folding angle of the first screen module relative to the second screen module is 1 degree, the corresponding information item adjustment parameter is 1, and the target information item position is the song item position of the 1 st song in the music list; if the target folding angle of the first screen module relative to the second screen module is 45 degrees, the corresponding information item adjusting parameter is 45 pages, and the target information item is the song item position of the 45 th song in the music list; others may be so. Assuming that the total number of songs (i.e., the total number of information items) in the music list is 360, the first information item may be the 0 th song in the information list, if the target folding angle of the first screen module relative to the second screen module is 1 degree, the corresponding information item adjustment parameter is 2 songs, and the target information item is the song item position of the 2 nd song in the music list; if the target folding angle of the first screen module relative to the second screen module is 2 degrees, the corresponding information item adjusting parameter is 4, and the target information item is the song item position of the 4 th song in the music list; others may be so.
For an application scenario in which the target application is an e-book application, the display interface is an e-book reading interface, and the information list is an e-book directory or a chapter directory, the example of the music list may be referred to; similarly, for an application scenario in which the target application is a video application, the display interface is a video playing interface, and the information list is a video list, the above example of the music list may be referred to.
In addition, in some optional embodiments of the present invention, the target parameter may further include: the movement direction of the first screen module relative to the second screen module, for example, if the first screen module and the second screen module can be folded relatively, the movement direction can be the folding direction of the first screen module relative to the second screen module; if the first screen module and the second screen module can move relatively, the moving direction can be the moving direction of the first screen module relative to the second screen module. Here, the moving direction of the first screen module with respect to the second screen module may be detected by the acceleration sensor. In this embodiment of the present invention, the terminal may determine the target adjustment direction according to the movement direction, that is, in step 102, the terminal may adjust the target adjustment item according to the movement direction, the target position change value, and the maximum position change value on the display interface. For example, if the display interface displays output content with adjustable content progress; the terminal determines a target output progress value of the output content according to the first output progress value and the progress change value of the output content, and adjusts the content progress to be before the target output progress value, and may determine a target content progress adjustment direction of the output content according to the movement direction, where the target content progress adjustment direction includes forward adjustment and backward adjustment; if the display interface displays an information list comprising at least one information item, the terminal determines a target selection direction in the information list according to a first information item and an information item adjusting parameter in the information list before adjusting the position of the information item in the information list and according to a movement direction, wherein the target selection direction may comprise a direction of selecting the information item before the first information item and a direction of selecting the information item after the first information item.
Optionally, in some embodiments of the present invention, in order to obtain a motion input more accurately and avoid a user from performing a misoperation, in step 101, when a display interface of a target application program is displayed, after receiving a motion input of a first screen module relative to a second screen module, the control method of the terminal may further include the following steps: timing after the motion input is finished; and if the timing value obtained by timing reaches a preset threshold value, executing the steps of responding to the motion input, determining a target parameter corresponding to the motion input, and determining a target adjusting item corresponding to the target parameter.
According to the terminal control method provided by the embodiment of the invention, under the condition that the display interface of the target application program is displayed, the motion input of the first screen module relative to the second screen module is received, and the target adjusting item on the display interface is adjusted based on the target parameter corresponding to the motion input, so that a user can conveniently and quickly adjust the output item, the screen of the terminal is prevented from being shielded in the adjusting process, and the use interestingness is improved.
Based on the method, the embodiment of the invention provides a terminal for realizing the method.
Please refer to fig. 2, which illustrates a schematic structural diagram of a terminal according to an embodiment of the present invention. The embodiment of the invention provides a terminal 200, wherein the terminal 200 comprises a first screen module and a second screen module which can move relatively; the terminal 200 may include: a receiving module 210, a determining module 220, and an executing module 230.
The receiving module 210 is configured to receive motion input of the first screen module relative to the second screen module when a display interface of the target application is displayed;
and the adjusting module 220 is used for responding to the motion input, determining a target parameter corresponding to the motion input, and adjusting a target adjusting item on the display interface according to the target parameter.
Optionally, in some embodiments of the present invention, the adjusting module 220 may include: a determination submodule and an adjustment submodule.
The determining submodule is used for responding to the motion input, determining a target position change value corresponding to the motion input and a maximum position change value of the first screen module relative to the second screen module;
and the adjusting submodule is used for adjusting the target adjusting item according to the target position change value and the maximum position change value.
In some optional embodiments of the present invention, if the first screen module and the second screen module are movable relatively, the target position variation value may include: the target moving distance of the first screen module relative to the second screen module; if the first screen module and the second screen module can be folded relatively, the target position variation value may include: the first screen module is relative to the second screen module in the target folding angle.
Optionally, in some embodiments of the present invention, the output item may be output content with adjustable content progress, that is, the display interface displays the output content with adjustable content progress, and the target adjustment item is the content progress of the output content;
the regulator sub-module may include: the device comprises a first determining unit, a second determining unit and a first adjusting unit.
The first determining unit is used for determining the total output progress of the output content on the display interface;
a second determining unit for determining a progress change value of the output content according to the maximum position change value, the total output progress, and the target position change value;
and the first adjusting unit is used for determining a target output progress value of the output content according to the first output progress value and the progress change value of the output content and adjusting the progress of the content to the target output progress value.
Optionally, in some embodiments of the present invention, the output item may be an information list including at least one information item, that is, the display interface displays the information list including at least one information item, and the target adjustment item is the information list;
the regulator sub-module may include: a third determining unit, a fourth determining unit and a second adjusting unit.
A fourth determination unit, configured to determine a total number of information items of the information list on the display interface;
a fifth determining unit, configured to determine an information item adjustment parameter according to the maximum position variation value, the total number of information items, and the target position variation value;
and the sixth determining unit is used for adjusting the position of the information item in the information list according to the first information item and the information item adjusting parameter in the information list.
In some optional embodiments of the present invention, the information item adjustment parameter may include: at least one of the number of intervals of the information item and the moving distance.
Optionally, in some embodiments of the present invention, in order to obtain the motion input more accurately and avoid a user misoperation, the terminal 200 may further include: and a processing module.
The processing module is used for timing after the motion input is finished;
and if the timing value obtained by timing reaches a preset threshold value, executing the steps of responding to the motion input, determining a target parameter corresponding to the motion input, and determining a target adjusting item corresponding to the target parameter.
The terminal provided by the embodiment of the present invention can implement each process implemented by the terminal in the method embodiment of fig. 1, and is not described herein again to avoid repetition.
According to the terminal provided by the embodiment of the invention, the motion input of the first screen module relative to the second screen module is received through the receiving module under the condition that the display interface of the target application program is displayed, the target adjusting item on the display interface is adjusted by the adjusting module based on the target parameter corresponding to the motion input, the adjustment of the output item is conveniently and quickly realized by a user, the shielding of the terminal screen in the adjusting process is avoided, and the use interest is improved.
Fig. 3 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention.
The terminal 300 includes but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the terminal structure shown in fig. 3 is not intended to be limiting and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 310 is configured to receive a motion input of the first screen module relative to the second screen module when a display interface of the target application is displayed; and responding to the motion input, determining a target parameter corresponding to the motion input, and adjusting a target adjusting item on the display interface according to the target parameter. The embodiment of the invention is beneficial to a user to simply, conveniently and quickly realize the adjustment of the output item, avoids shielding the terminal screen in the adjustment process and improves the use interest.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 302, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the terminal 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The terminal 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or a backlight when the terminal 300 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although the touch panel 3071 and the display panel 3061 are shown as two separate components in fig. 3 to implement the input and output functions of the terminal, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the terminal, which is not limited herein.
The interface unit 308 is an interface through which an external device is connected to the terminal 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 300 or may be used to transmit data between the terminal 300 and an external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 309 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 310 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the terminal. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The terminal 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal 300 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal, including a processor 310, a memory 309, and a computer program stored in the memory 309 and capable of running on the processor 310, where the computer program is executed by the processor 310 to implement each process of the above terminal control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the control method embodiment of the terminal, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (8)
1. A control method of a terminal is applied to the terminal and is characterized in that the terminal comprises a first screen module and a second screen module which can move relatively; the control method comprises the following steps:
under the condition of displaying a display interface of a target application program, receiving motion input of the first screen module relative to the second screen module;
responding to the motion input, determining a target parameter corresponding to the motion input, and adjusting a target adjusting item on the display interface according to the target parameter;
the responding to the motion input, determining a target parameter corresponding to the motion input, and adjusting a target adjusting item on the display interface according to the target parameter, including:
responding to the motion input, and determining a target position change value corresponding to the motion input and a maximum position change value of the first screen module relative to the second screen module;
adjusting the target adjustment item according to the target position change value and the maximum position change value;
if the first screen module and the second screen module can move relatively, the target position change value comprises: the target moving distance of the first screen module relative to the second screen module;
the display interface displays an information list comprising at least one information item, and the target adjusting item is the information list;
the adjusting the target adjustment item according to the target position change value and the maximum position change value includes:
determining the total number of information items of the information list on the display interface;
determining an information item adjusting parameter according to the maximum position change value, the total number of the information items and the target position change value;
and adjusting the position of the information item in the information list according to the first information item in the information list and the information item adjusting parameter.
2. The terminal control method according to claim 1, wherein the display interface displays output content with adjustable content progress, and the target adjustment item is the content progress of the output content;
the adjusting the target adjustment item according to the target position change value and the maximum position change value includes:
determining a total output progress of the output content on the display interface;
determining a progress change value of the output content according to the maximum position change value, the total output progress and the target position change value;
and determining a target output progress value of the output content according to the first output progress value and the progress change value of the output content, and adjusting the content progress to the target output progress value.
3. The method of claim 1, wherein the information item adjustment parameter comprises: at least one of the number of intervals of the information item and the moving distance.
4. A terminal is characterized in that the terminal comprises a first screen module and a second screen module which can move relatively; the terminal includes:
the receiving module is used for receiving the motion input of the first screen module relative to the second screen module under the condition of displaying a display interface of a target application program;
the adjusting module is used for responding to the motion input, determining a target parameter corresponding to the motion input and adjusting a target adjusting item on the display interface according to the target parameter;
the adjustment module includes:
the determining submodule is used for responding to the motion input, determining a target position change value corresponding to the motion input and a maximum position change value of the first screen module relative to the second screen module;
the adjusting submodule is used for adjusting the target adjusting item according to the target position change value and the maximum position change value;
if the first screen module and the second screen module can move relatively, the target position change value comprises: the target moving distance of the first screen module relative to the second screen module;
the display interface displays an information list comprising at least one information item, and the target adjusting item is the information list;
the regulator sub-module includes:
the third determining unit is used for determining the total number of the information items of the information list on the display interface;
a fourth determining unit, configured to determine an information item adjustment parameter according to the maximum position change value, the total number of information items, and the target position change value;
and the second adjusting unit is used for adjusting the position of the information item in the information list according to the first information item in the information list and the information item adjusting parameter.
5. The terminal of claim 4, wherein the display interface displays output content with adjustable content progress, and the target adjustment item is the content progress of the output content;
the regulator sub-module includes:
the first determination unit is used for determining the total output progress of the output content on the display interface;
a second determining unit, configured to determine a progress change value of the output content according to the maximum position change value, the total output progress, and the target position change value;
and the first adjusting unit is used for determining a target output progress value of the output content according to the first output progress value and the progress change value of the output content and adjusting the progress of the content to the target output progress value.
6. The terminal of claim 4, wherein the information item adjustment parameter comprises: at least one of the number of intervals of the information item and the moving distance.
7. A terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the control method of the terminal according to any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the steps of the control method of a terminal according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910703293.2A CN110456959B (en) | 2019-07-31 | 2019-07-31 | Terminal control method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910703293.2A CN110456959B (en) | 2019-07-31 | 2019-07-31 | Terminal control method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110456959A CN110456959A (en) | 2019-11-15 |
CN110456959B true CN110456959B (en) | 2021-04-23 |
Family
ID=68484362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910703293.2A Active CN110456959B (en) | 2019-07-31 | 2019-07-31 | Terminal control method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110456959B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111338489B (en) * | 2020-02-21 | 2024-03-22 | 维沃移动通信有限公司 | Parameter adjustment method and electronic equipment |
CN111459383B (en) * | 2020-03-31 | 2021-07-27 | 维沃移动通信有限公司 | Key response method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445334A (en) * | 2016-09-06 | 2017-02-22 | 广东欧珀移动通信有限公司 | Adjustment method and adjustment system for display interface |
CN107770442A (en) * | 2017-10-24 | 2018-03-06 | 广东欧珀移动通信有限公司 | The method, apparatus and terminal of shooting image |
CN108965608A (en) * | 2018-08-28 | 2018-12-07 | 维沃移动通信有限公司 | A kind of alarm clock setting method folds terminal and computer readable storage medium |
CN109274823A (en) * | 2018-09-26 | 2019-01-25 | 维沃移动通信有限公司 | A kind of multimedia file broadcasting control method and terminal device |
CN109525704A (en) * | 2018-09-21 | 2019-03-26 | 维沃移动通信有限公司 | A kind of control method and mobile terminal |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10504488B2 (en) * | 2014-10-15 | 2019-12-10 | Lg Electroncs Inc. | Portable device and control method therefor |
KR20160080851A (en) * | 2014-12-29 | 2016-07-08 | 엘지전자 주식회사 | Display apparatus and controlling method thereof |
CN106791450B (en) * | 2017-02-28 | 2019-03-05 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN108037883A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Control method, mobile terminal and the computer-readable recording medium of mobile terminal |
CN108287653A (en) * | 2017-12-28 | 2018-07-17 | 努比亚技术有限公司 | Flexible screen terminal control method, flexible screen terminal and computer readable storage medium |
CN108196783A (en) * | 2018-01-31 | 2018-06-22 | 努比亚技术有限公司 | Acquisition parameters adjusting method, mobile terminal and computer readable storage medium |
CN110072014B (en) * | 2019-05-20 | 2021-04-09 | 维沃移动通信有限公司 | Screen folding state determining method and mobile terminal |
-
2019
- 2019-07-31 CN CN201910703293.2A patent/CN110456959B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445334A (en) * | 2016-09-06 | 2017-02-22 | 广东欧珀移动通信有限公司 | Adjustment method and adjustment system for display interface |
CN107770442A (en) * | 2017-10-24 | 2018-03-06 | 广东欧珀移动通信有限公司 | The method, apparatus and terminal of shooting image |
CN108965608A (en) * | 2018-08-28 | 2018-12-07 | 维沃移动通信有限公司 | A kind of alarm clock setting method folds terminal and computer readable storage medium |
CN109525704A (en) * | 2018-09-21 | 2019-03-26 | 维沃移动通信有限公司 | A kind of control method and mobile terminal |
CN109274823A (en) * | 2018-09-26 | 2019-01-25 | 维沃移动通信有限公司 | A kind of multimedia file broadcasting control method and terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN110456959A (en) | 2019-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108536365B (en) | Image sharing method and terminal | |
CN109343759B (en) | Screen-turning display control method and terminal | |
CN108073343B (en) | display interface adjusting method and mobile terminal | |
CN109407932B (en) | Icon moving method and mobile terminal | |
CN110209313B (en) | Icon moving method and terminal equipment | |
CN110174993B (en) | Display control method, terminal equipment and computer readable storage medium | |
CN108334272B (en) | Control method and mobile terminal | |
CA3092598C (en) | Display method and mobile terminal | |
CN109710349B (en) | Screen capturing method and mobile terminal | |
CN108900695B (en) | Display processing method, terminal equipment and computer readable storage medium | |
CN108196815B (en) | Method for adjusting call sound and mobile terminal | |
CN111459456A (en) | Audio control method and electronic equipment | |
CN107741814B (en) | Display control method and mobile terminal | |
CN108958593B (en) | Method for determining communication object and mobile terminal | |
CN109683802B (en) | Icon moving method and terminal | |
CN108108113B (en) | Webpage switching method and device | |
CN109144393B (en) | Image display method and mobile terminal | |
CN110825295B (en) | Application program control method and electronic equipment | |
CN108898555B (en) | Image processing method and terminal equipment | |
CN109407949B (en) | Display control method and terminal | |
CN108196753B (en) | Interface switching method and mobile terminal | |
CN109710130B (en) | Display method and terminal | |
CN111443815A (en) | Vibration reminding method and electronic equipment | |
CN108984099B (en) | Man-machine interaction method and terminal | |
CN111142679A (en) | Display processing method and electronic equipment |
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 |