CN108182019B - Suspension control display processing method and mobile terminal - Google Patents

Suspension control display processing method and mobile terminal Download PDF

Info

Publication number
CN108182019B
CN108182019B CN201810039829.0A CN201810039829A CN108182019B CN 108182019 B CN108182019 B CN 108182019B CN 201810039829 A CN201810039829 A CN 201810039829A CN 108182019 B CN108182019 B CN 108182019B
Authority
CN
China
Prior art keywords
display
adjusting
parameter
suspension control
parameters
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
CN201810039829.0A
Other languages
Chinese (zh)
Other versions
CN108182019A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810039829.0A priority Critical patent/CN108182019B/en
Publication of CN108182019A publication Critical patent/CN108182019A/en
Application granted granted Critical
Publication of CN108182019B publication Critical patent/CN108182019B/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/0481Interaction 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
    • 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 invention provides a floating control display processing method and a mobile terminal, and relates to the technical field of communication. The suspension control display processing method comprises the following steps: if the suspension control is displayed on the current interface, monitoring whether the current scene meets a preset condition for adjusting the display parameters of the suspension control; if the preset condition is met, adjusting the display parameters of the suspension control; wherein the display parameters include: one or more of a hiding duration, a display size, a display transparency, and a display position of the hover control. The scheme of the invention is used for solving the problem that the existing suspension control is relatively fixed in display and influences the use requirements of users in different scenes.

Description

Suspension control display processing method and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a floating control display processing method and a mobile terminal.
Background
With the rapid development of communication technology, the functions of the mobile terminal are more and more diversified, and great convenience is brought to the life of people. Especially, the setting of the suspension control improves the convenience of the user in operating the mobile terminal.
However, the display state of the existing suspension control, such as a shortcut panel, a suspension menu, or a suspension ball, is relatively fixed, and often blocks the content displayed by the mobile terminal, which affects the reading process of the user on the currently displayed content. Once the suspension control is closed, the use requirement of the user on the quick operation cannot be met.
Disclosure of Invention
The embodiment of the invention provides a suspension control display processing method and a mobile terminal, and aims to solve the problem that the existing suspension control display is relatively fixed, and the use requirements of a user in different scenes are influenced.
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 floating control display processing method, which is characterized by including:
if the suspension control is displayed on the current interface, monitoring whether the current scene meets a preset condition for adjusting the display parameters of the suspension control;
if the preset condition is met, adjusting the display parameters of the suspension control; wherein the content of the first and second substances,
the display parameters include: one or more of a hiding duration, a display size, a display transparency, and a display position of the hover control.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the processing module is used for monitoring whether the current scene meets the preset condition of the display parameter adjustment of the suspension control if the suspension control is displayed on the current interface;
the adjusting module is used for adjusting the display parameters of the suspension control if the preset conditions are met; wherein the content of the first and second substances,
the display parameters include: one or more of a hiding duration, a display size, a display transparency, and a display position of the hover control.
In a third aspect, an embodiment of the present invention further provides a mobile 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 floating control display processing method described above.
In a fourth aspect, 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 being executed by a processor, the computer program implements the steps of the floating control display processing method described above.
In this way, in the embodiment of the present invention, when the floating control is displayed on the current interface, whether the preset condition for adjusting the display parameter of the floating control is currently met is monitored, so that when the preset condition is met, the display parameter of the floating control, that is, one or more of the hidden duration, the display size, the display transparency, and the display position of the floating control, is adjusted, so that the display of the floating control meets the requirement of the current application scene of the user, the display flexibility of the floating control is increased, and the user experience 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 flowchart illustrating a floating control display processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a position of a floating control in a vertical screen state of the mobile terminal;
FIG. 3 is a schematic diagram of a position of a floating control in a horizontal screen state of the mobile terminal;
FIG. 4 is a second flowchart illustrating a floating control display processing method according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a second schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a third schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a floating control display processing method according to an embodiment of the present invention includes:
step 101, if a floating control is displayed on a current interface, monitoring whether a current scene meets a preset condition for adjusting display parameters of the floating control.
In this embodiment, the mobile terminal stores a preset condition for adjusting the display parameter of the corresponding floating control set by the user or the system, so that the corresponding adjustment is performed when the user needs to be known based on the preset condition. In this step, when the floating control is displayed on the current interface, whether the current scene meets the preset condition is monitored, so that the next step is executed.
Step 102, if the preset condition is met, adjusting the display parameters of the suspension control; wherein the display parameters include: one or more of a hiding duration, a display size, a display transparency, and a display position of the hover control.
In this step, after the monitoring result meeting the preset condition is obtained by the monitoring in step 101, one or more of the display parameters, i.e., the hiding duration, the display size, the display transparency and the display position, of the floating control are adaptively adjusted, so that the display of the floating control meets the use requirement in the current scene.
Thus, through step 101 and step 102, in the display processing method of the floating control according to the embodiment of the present invention, if the floating control is displayed on the current interface, whether the current scene meets the preset condition for adjusting the display parameter of the floating control is monitored, so that when the preset condition is met, one or more of the hidden duration, the display size, the display transparency, and the display position of the floating control are adjusted, so that the display of the floating control meets the requirement of the current application scene of the user, the display flexibility of the floating control is increased, and the user experience is improved.
The specific adjustable display parameters can be changed by a user on the basis of default settings of the system, for example, a display parameter adjustment list is provided for the user through a setting menu, and the user selects one or more of the display parameters as adjustable display parameters to carry out quick adjustment.
In one aspect, in this embodiment, the preset condition includes: inputting a specific mode of parameter setting operation for setting the display parameters by a user;
step 102, comprising:
acquiring operation parameters of the parameter setting operation;
and adjusting the display parameters according to the operation parameters.
Here, the preset condition of the mobile terminal defines a specific manner of an operation of adjusting the display parameter of the hovering control, and if and only if a user inputs a parameter setting operation of the specific manner, the corresponding adjustment of the display parameter is performed by the operation parameter of the parameter setting operation. The adjustment of the display parameters can be carried out based on the operation parameters of the parameter setting operation, the adjustment operation does not need to be carried out independently, the complex operation process is reduced, and the adjustment of the suspension control is more convenient and faster.
Specifically, the step of adjusting the display parameter according to the operation parameter includes:
determining a target display parameter value corresponding to a preset operation parameter based on a numerical value corresponding relation between the operation parameter and a display parameter;
and adjusting the value of the display parameter to the target display parameter value.
In this embodiment, a numerical correspondence between the operating parameter and the display parameter is preset, for example, the pressure value a1 corresponds to the transparency value b1, and based on the correspondence, the obtained operating parameter can determine a target display parameter value corresponding to the operating parameter, so as to adjust the numerical value of the display parameter to the target display parameter value.
For example, the preset condition is that the floating control is pressed for a long time, and it is assumed that the operation parameter is the long time, and the long time corresponds to the corresponding relationship among the hiding time, the display size and the display transparency in a positive proportion. After the long-press operation of the user on the suspended control is monitored, the target value of the hidden time length can be determined according to the time length of the long-press suspended control of the user and based on the direct proportional relation with the hidden time length, the hidden time length of the suspended control is adjusted, then the suspended control is subjected to countdown hiding according to the adjusted hidden time length, and the display of the suspended control is recovered after the time length is finished. Or, based on the proportional relation with the display size, determining a target value of the display size, adjusting the display size of the floating control, and then displaying the floating control according to the adjusted display size.
Or, based on the direct proportional relation with the display transparency, determining a target value of the display transparency, adjusting the display transparency of the floating control, and then displaying the floating control according to the adjusted display transparency. In order to enable a user to know the set display parameters to increase the visual feeling of the user, if the set hiding duration is in the pressing process, the time length is prompted on the suspension control through a progress bar (such as an annular red bar) or characters; if the display size is set, zooming and displaying the suspension control in real time based on the target value of the display size; if the display transparency is set, the floating control is displayed in real time based on the target value of the display transparency. Of course, the operation parameter of the long press operation is not limited to the press duration, but may also be the press pressure, which is not described herein again.
It should be appreciated that after a user uses some application program, such as a flag novel, or enters an interface, such as a payment interface, there may no longer be a need to use the hover control, and in order to avoid the hover control displaying an effect on the current interface usage, in this embodiment, step 102 includes:
acquiring an interface displayed when the parameter setting operation is input;
and adjusting the hiding time length of the suspension control to be the display time length of the interface.
Here, the interface displayed when the user inputs the parameter setting operation is adjusted, and the hiding duration of the floating control is adjusted to the display duration of the interface, that is, the floating control is hidden in the display process of the interface, and the floating control is not displayed until the interface is quitted from displaying.
Wherein the interface is preferably an interface of an application program. For example, the preset condition is a sliding operation of a preset gesture, and assuming that the user inputs the sliding operation of the preset gesture after starting the book flag novel, the mobile terminal stores the name feature of the book flag novel to perform running monitoring of the application program, hides the floating control within the display duration of the book flag novel, and resumes the display of the floating control after exiting the interface display of the book flag novel.
Of course, the interface displayed during the corresponding input parameter setting operation may be not limited to hiding the floating control, which may be required by the user, but may also be fixed at a preset position, or displayed with a preset transparency, which may be determined by different parameter setting operations.
In addition, in the embodiment of the present invention, the preset conditions include: presetting an application program to run in a foreground;
if the preset condition is met, adjusting the display parameters of the suspension control, including:
and adjusting the display parameters of the suspension control to be preset values.
Here, by setting the preset condition that the preset application program runs in the foreground, the display parameter of the suspension control can be directly adjusted to be a preset value when the foreground running of the preset application program is monitored, so that an active display setting mode is provided for a specific scene, and the display applicability of the suspension control is further improved.
For example, the preset application is a game application, and after it is monitored that a game application (e.g., a greedy snake) runs in a foreground, the display parameter of the floating control is directly adjusted to be a preset value, for example, the hidden duration of the floating control is the duration of the display of the game application, or the display transparency of the floating control is b 2. When the foreground application interface is monitored to be in a full-screen state, the display parameters of the floating control are adjusted to be corresponding preset values.
On the other hand, in the embodiment of the present invention, the preset conditions include: turning over the screen;
if the preset condition is met, adjusting the display parameters of the suspension control, including:
moving the floating control to a non-content display area of the screen according to the turned screen state; wherein the screen states include a landscape screen state and a portrait screen state.
Therefore, when the screen is monitored to be turned, the floating control is moved to the non-content display area of the screen corresponding to the current screen state according to the turned screen state, namely the horizontal screen state or the vertical screen state, so that the influence of the display of the floating control on the display of the screen content is avoided. If the screen is monitored to be turned to a vertical screen state, as shown in fig. 2, the floating control 201 is moved to the right side position of the screen; after the screen is monitored to be turned to the landscape state, as shown in fig. 3, the floating control 301 is moved to the left side position of the screen. Therefore, when the content is displayed in the current screen state, the display of the floating control cannot be covered on the displayed content, and the influence on the content display is reduced. Of course, when the floating control is moved to the non-content display area, the display size of the floating control can be adaptively adjusted based on the size of the non-content display area, and the display transparency can also be adjusted to ensure better content display.
In general, the default initial value of the display parameter of the hover control is a better setting to meet the general use requirement, so that after the application requirement of the special scene disappears, in the embodiment of the present invention, after step 102, as shown in fig. 4, further includes:
and 103, acquiring a parameter initialization operation for canceling the set display parameters.
The parameter initialization operation is an operation of canceling a set display parameter, and the user knows that the special setting of the display parameter of the suspension control is not needed by the user by acquiring the parameter initialization operation, so that the next step is executed. The specific manner of the parameter initialization operation may be defined by a user or a system, and may be physical key pressing, sliding of a specific track, voice of a specific word or phrase, and the like.
And 104, restoring the display parameters of the suspension control to initial values before setting according to the parameter initialization operation.
In this step, the display parameters of the floating control are restored to the initial values before setting according to the parameter initialization operation acquired in step 103, so that the display of the floating control can meet the application after exiting from a special scene.
In this way, after the obtained parameter initialization operation is performed to know that the application scene of the mobile terminal currently used by the user does not need to perform special display setting of the floating control, the display parameters of the floating control are actively restored to the initial values before adjustment to adapt to the current scene through step 103 and step 104.
In summary, in the display processing method of the floating control according to the embodiment of the present invention, when the floating control is displayed on the current interface, whether the current scene meets the preset condition for adjusting the display parameters of the floating control is monitored, so that when the preset condition is met, the display parameters of the floating control, that is, one or more of the hidden duration, the display size, the display transparency, and the display position, are adjusted, so that the display of the floating control meets the requirement of the current application scene of the user, the display flexibility of the floating control is increased, and the user experience is improved.
Fig. 5 is a block diagram of a mobile terminal of one embodiment of the present invention. The mobile terminal 500 shown in fig. 5 comprises a processing module 501 and an adjusting module 502.
The processing module 501 is configured to monitor whether a current scene meets a preset condition for adjusting display parameters of a floating control if the floating control is displayed on the current interface;
an adjusting module 502, configured to adjust a display parameter of the floating control if the preset condition is met; wherein the content of the first and second substances,
the display parameters include: one or more of a hiding duration, a display size, a display transparency, and a display position of the hover control.
On the basis of fig. 5, optionally, as shown in fig. 6, the preset condition includes: inputting a specific mode of parameter setting operation for setting the display parameters by a user;
the adjusting module 502 comprises:
the first obtaining submodule 5021 is used for obtaining the operation parameters of the parameter setting operation;
the first adjusting submodule 5022 is configured to adjust the display parameter according to the operation parameter.
Optionally, the first adjusting submodule 5022 comprises:
a determining unit 50221, configured to determine a target display parameter value corresponding to a preset operation parameter based on a numerical correspondence between the operation parameter and a display parameter;
an adjusting unit 50222, configured to adjust the value of the display parameter to the target display parameter value.
Optionally, the adjusting module 502 includes:
a second obtaining sub-module 5023, configured to obtain an interface displayed when the parameter setting operation is input;
the second adjusting submodule 5024 is configured to adjust the hiding duration of the floating control to the display duration of the interface.
Optionally, the preset condition includes: presetting an application program to run in a foreground;
the adjusting module 502 comprises:
and a third adjusting submodule 5025, configured to adjust the display parameter of the suspension control to a preset value.
Optionally, the preset condition includes: turning over the screen;
the adjusting module 502 comprises:
the fourth adjusting submodule 5026 is used for moving the floating control to a non-content display area of the screen according to the turned screen state; wherein the screen states include a landscape screen state and a portrait screen state.
On the basis of fig. 5, optionally, as shown in fig. 7, the mobile terminal 500 further includes:
an obtaining module 503, configured to obtain a parameter initialization operation for revoking the set display parameter;
an initialization module 504, configured to restore the display parameter of the floating control to an initial value before setting according to the parameter initialization operation.
The mobile terminal 500 can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 4, and is not described herein again to avoid repetition. According to the mobile terminal provided by the embodiment of the invention, when the suspension control is displayed on the current interface, whether the current scene meets the preset condition of the display parameter adjustment of the suspension control is monitored, so that when the preset condition is met, the display parameters of the suspension control, namely one or more of the hidden time, the display size, the display transparency and the display position, are adjusted, the display of the suspension control meets the requirement of the current application scene of a user, and the display flexibility of the suspension control is increased.
Fig. 8 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 8 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile 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 810 is configured to monitor whether a current scene meets a preset condition for adjusting display parameters of a floating control if the floating control is displayed on the current interface; if the preset condition is met, adjusting the display parameters of the suspension control; wherein the display parameters include: one or more of a hiding duration, a display size, a display transparency, and a display position of the hover control.
Therefore, when the floating control is displayed on the current interface, the mobile terminal monitors whether the preset condition of the display parameter adjustment of the floating control is met or not, so that when the preset condition is met, the display parameter of the floating control is adjusted, namely one or more of the hidden time, the display size, the display transparency and the display position are/is adjusted, the display of the floating control meets the requirement of the current application scene of a user, and the display flexibility of the floating control is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 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 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 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. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the mobile terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound 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 801 in case of a phone call mode.
The mobile terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the mobile terminal 800 moves 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 posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 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 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 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 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions 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 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 861 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 808 is an interface through which an external device is connected to the mobile terminal 800. 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 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 800 or may be used to transmit data between the mobile terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program 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 809 can include high speed random access memory, and can 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 810 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the mobile terminal. Processor 810 may include one or more processing units; preferably, the processor 810 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 processor 810.
The mobile terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may be logically coupled to the processor 810 via a power management system that may be used to manage charging, discharging, and power consumption.
In addition, the mobile terminal 800 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when being executed by the processor, the computer program implements each process of the foregoing floating control display processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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 foregoing floating control display processing method embodiment, 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 (11)

1. A suspension control display processing method is characterized by comprising the following steps:
if the suspension control is displayed on the current interface, monitoring whether the current scene meets a preset condition for adjusting the display parameters of the suspension control;
if the preset condition is met, adjusting the display parameters of the suspension control; wherein the content of the first and second substances,
the display parameters include: one or more of a hiding duration, a display size, a display transparency, and a display position of the hover control;
the preset conditions include: inputting a specific mode of parameter setting operation for setting the display parameters by a user;
if the preset condition is met, adjusting the display parameters of the suspension control, including:
acquiring operation parameters of the parameter setting operation;
adjusting the display parameters according to the operation parameters;
the step of adjusting the display parameters according to the operating parameters comprises:
determining a target display parameter value corresponding to a preset operation parameter based on a numerical value corresponding relation between the operation parameter and a display parameter;
adjusting the value of the display parameter to the target display parameter value;
the parameter setting operation comprises long-time pressing of the suspension control, and the corresponding relations between the long-time pressing and the hiding time, the display size and the display transparency are all in direct proportion.
2. The method according to claim 1, wherein the step of adjusting the display parameters of the floating control if the preset condition is met comprises:
acquiring an interface displayed when the parameter setting operation is input;
and adjusting the hiding time length of the suspension control to be the display time length of the interface.
3. The levitation control display processing method according to claim 1, wherein the preset condition includes: presetting an application program to run in a foreground;
if the preset condition is met, adjusting the display parameters of the suspension control, including:
and adjusting the display parameters of the suspension control to be preset values.
4. The levitation control display processing method according to claim 1, wherein the preset condition includes: turning over the screen;
if the preset condition is met, adjusting the display parameters of the suspension control, including:
moving the floating control to a non-content display area of the screen according to the turned screen state; wherein the screen states include a landscape screen state and a portrait screen state.
5. The method according to claim 1, wherein after the display parameter of the floating control is adjusted if the preset condition is satisfied, the method further comprises:
acquiring parameter initialization operation for canceling the set display parameters;
and restoring the display parameters of the suspension control to initial values before setting according to the parameter initialization operation.
6. A mobile terminal, comprising:
the processing module is used for monitoring whether the current scene meets the preset condition of the display parameter adjustment of the suspension control if the suspension control is displayed on the current interface;
the adjusting module is used for adjusting the display parameters of the suspension control if the preset conditions are met; wherein the content of the first and second substances,
the display parameters include: one or more of a hiding duration, a display size, a display transparency, and a display position of the hover control;
the preset conditions include: inputting a specific mode of parameter setting operation for setting the display parameters by a user;
the adjustment module includes:
the first obtaining submodule is used for obtaining the operation parameters of the parameter setting operation;
the first adjusting submodule is used for adjusting the display parameters according to the operation parameters;
the first adjustment submodule includes:
the device comprises a determining unit, a display unit and a display unit, wherein the determining unit is used for determining a target display parameter value corresponding to a preset operation parameter based on a numerical value corresponding relation between the operation parameter and the display parameter;
the adjusting unit is used for adjusting the value of the display parameter to the target display parameter value;
the parameter setting operation comprises long-time pressing of the suspension control, and the corresponding relations between the long-time pressing and the hiding time, the display size and the display transparency are all in direct proportion.
7. The mobile terminal of claim 6, wherein the adjusting module comprises:
the second acquisition submodule is used for acquiring an interface displayed when the parameter setting operation is input;
and the second adjusting submodule is used for adjusting the hiding time length of the suspension control to be the display time length of the interface.
8. The mobile terminal according to claim 6, wherein the preset condition comprises: presetting an application program to run in a foreground;
the adjustment module includes:
and the third adjusting submodule is used for adjusting the display parameter of the suspension control to be a preset numerical value.
9. The mobile terminal according to claim 6, wherein the preset condition comprises: turning over the screen;
the adjustment module includes:
the fourth adjusting submodule is used for moving the suspension control to a non-content display area of the screen according to the turned screen state; wherein the screen states include a landscape screen state and a portrait screen state.
10. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
the acquisition module is used for acquiring parameter initialization operation for canceling the set display parameters;
and the initialization module is used for restoring the display parameters of the suspension control to initial values before setting according to the parameter initialization operation.
11. A mobile terminal comprising 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 floating control display processing method according to any one of claims 1 to 5.
CN201810039829.0A 2018-01-16 2018-01-16 Suspension control display processing method and mobile terminal Active CN108182019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810039829.0A CN108182019B (en) 2018-01-16 2018-01-16 Suspension control display processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810039829.0A CN108182019B (en) 2018-01-16 2018-01-16 Suspension control display processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108182019A CN108182019A (en) 2018-06-19
CN108182019B true CN108182019B (en) 2020-03-17

Family

ID=62550537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810039829.0A Active CN108182019B (en) 2018-01-16 2018-01-16 Suspension control display processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108182019B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032702A (en) * 2018-07-27 2018-12-18 北京优酷科技有限公司 The display control method and device of control
CN109284041A (en) * 2018-09-18 2019-01-29 维沃移动通信有限公司 A kind of application interface switching method and mobile terminal
CN109656443A (en) * 2018-10-31 2019-04-19 百度在线网络技术(北京)有限公司 Page display method and device
CN109508128B (en) * 2018-11-09 2021-05-18 北京微播视界科技有限公司 Search control display method, device and equipment and computer readable storage medium
CN109656446A (en) * 2018-12-20 2019-04-19 上海掌门科技有限公司 Method and apparatus for handling information
CN112083838A (en) * 2019-06-12 2020-12-15 奇酷互联网络科技(深圳)有限公司 Information processing method and system of electronic equipment, electronic equipment and storage device
CN110278328B (en) * 2019-06-14 2021-03-19 上海摩软通讯技术有限公司 Function list display method, device, storage medium and program product
CN111488096B (en) * 2020-04-02 2022-04-15 上海连尚网络科技有限公司 Method and equipment for displaying interactive presentation information in reading application
CN111638836B (en) * 2020-04-30 2022-02-22 维沃移动通信有限公司 Information display method and electronic equipment
CN111338743B (en) * 2020-05-21 2020-09-18 北京小米移动软件有限公司 Interface processing method and device and storage medium
CN112000377A (en) * 2020-07-29 2020-11-27 深圳市智微智能软件开发有限公司 Method, system, equipment and storage medium for quickly modifying default screen parameters
CN114911547A (en) * 2021-02-09 2022-08-16 武汉斗鱼鱼乐网络科技有限公司 Pendant mutual exclusion display method and related device
CN112800376B (en) * 2021-04-15 2021-07-13 成都万创科技股份有限公司 Implementation method and device based on Http cyclic request
CN113110783B (en) * 2021-04-16 2022-05-20 北京字跳网络技术有限公司 Control display method and device, electronic equipment and storage medium
CN113721827B (en) * 2021-05-31 2022-08-26 荣耀终端有限公司 Floating keyboard display method, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909282A (en) * 2015-12-23 2017-06-30 阿里巴巴集团控股有限公司 Information processing method and device
CN107256121A (en) * 2017-06-29 2017-10-17 珠海市魅族科技有限公司 Control method and device, computer installation and the readable storage medium storing program for executing of control
CN107506113A (en) * 2017-08-31 2017-12-22 深圳市金立通信设备有限公司 A kind of control method of display interface, terminal and computer-readable medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714728B (en) * 2013-02-28 2018-10-12 联想(北京)有限公司 A kind of display methods and equipment
CN105094508A (en) * 2014-05-15 2015-11-25 青岛海信移动通信技术股份有限公司 Method and apparatus for performing window control on application program of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909282A (en) * 2015-12-23 2017-06-30 阿里巴巴集团控股有限公司 Information processing method and device
CN107256121A (en) * 2017-06-29 2017-10-17 珠海市魅族科技有限公司 Control method and device, computer installation and the readable storage medium storing program for executing of control
CN107506113A (en) * 2017-08-31 2017-12-22 深圳市金立通信设备有限公司 A kind of control method of display interface, terminal and computer-readable medium

Also Published As

Publication number Publication date
CN108182019A (en) 2018-06-19

Similar Documents

Publication Publication Date Title
CN108182019B (en) Suspension control display processing method and mobile terminal
EP4047940A1 (en) Screencast control method and electronic device
CN107817939B (en) Image processing method and mobile terminal
CN107734175B (en) Notification message prompting method and mobile terminal
CN108920059B (en) Message processing method and mobile terminal
CN109379484B (en) Information processing method and terminal
CN108279948B (en) Application program starting method and mobile terminal
CN110174993B (en) Display control method, terminal equipment and computer readable storage medium
CN111142991A (en) Application function page display method and electronic equipment
CN109710349B (en) Screen capturing method and mobile terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN108196753B (en) Interface switching method and mobile terminal
CN108958593B (en) Method for determining communication object and mobile terminal
CN107992342B (en) Application configuration changing method and mobile terminal
CN111147919A (en) Play adjustment method, electronic equipment and computer readable storage medium
CN109710130B (en) Display method and terminal
CN111443815A (en) Vibration reminding method and electronic equipment
CN109101151B (en) Information display processing method and terminal equipment
CN111078186A (en) Playing method and electronic equipment
CN109782970B (en) Display method and terminal
CN109542321B (en) Control method and device for screen display content
CN109597546B (en) Icon processing method and terminal equipment
CN109669656B (en) Information display method and terminal equipment
CN109002245B (en) Application interface operation method and mobile terminal

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