CN107943551B - Screen display method and mobile terminal - Google Patents

Screen display method and mobile terminal Download PDF

Info

Publication number
CN107943551B
CN107943551B CN201711122868.9A CN201711122868A CN107943551B CN 107943551 B CN107943551 B CN 107943551B CN 201711122868 A CN201711122868 A CN 201711122868A CN 107943551 B CN107943551 B CN 107943551B
Authority
CN
China
Prior art keywords
display
display control
target
special
screen
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
CN201711122868.9A
Other languages
Chinese (zh)
Other versions
CN107943551A (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 CN201711122868.9A priority Critical patent/CN107943551B/en
Publication of CN107943551A publication Critical patent/CN107943551A/en
Application granted granted Critical
Publication of CN107943551B publication Critical patent/CN107943551B/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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a screen display method and a mobile terminal, wherein the screen display method comprises the following steps: acquiring a target display interface to be output currently; determining a target display control corresponding to a target display interface on a special-shaped display screen; generating a suspension display control according to the target display control, wherein the control function of the suspension display control is the same as that of the target display control; and displaying a target display interface on the special-shaped display screen, and displaying a suspension display control at a preset position of a display area of the special-shaped display screen. The invention can display the display control positioned in the non-display area of the screen at the preset position in the form of the suspension display control, and improves the operation experience of a user while ensuring the picture display.

Description

Screen display method and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a screen display method and a mobile terminal.
Background
With the rapid development of mobile terminals, the screen of the mobile terminal is changed more and more. Generally, when a game is operated, target operation buttons and a small screen display area of a game interface are displayed by depending on the edge of the screen, so that more viewing and display space can be reserved for a user. However, a special-shaped screen appears in the existing mobile terminal, and the special-shaped screen can be formed in a non-display area in the middle of the upper portion of the display screen, so that buttons of a user cannot be clicked, and a part of the area is not displayed, and further the use experience is reduced.
The current mainstream method is to make the corner of the display screen not display the content by means of window interception; therefore, the display effect of the mobile terminal can be ensured, but the display area of the screen is wasted by processing, and the meaning of setting the screen is finally lost; or the control buttons leaving the display area have no way to view and display, resulting in a poor user experience.
Disclosure of Invention
The embodiment of the invention provides a screen display method and a mobile terminal, and aims to solve the problems that in the prior art, a display interface suitable for a non-special-shaped screen cannot be adapted on a special-shaped display screen, so that a display picture is reduced or the visual experience and operation of a user are influenced.
In order to solve the above problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a screen display method, including:
acquiring a target display interface to be output currently;
determining a target display control corresponding to a target display interface on a special-shaped display screen, wherein the target display control is a display control located in a non-display area on the special-shaped display screen;
generating a suspension display control according to the target display control, wherein the control function of the suspension display control is the same as that of the target display control;
and displaying a target display interface on the special-shaped display screen, and displaying a suspension display control at a preset position of a display area of the special-shaped display screen.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the acquisition module is used for acquiring a target display interface to be output currently;
the system comprises a determining module, a display module and a display module, wherein the determining module is used for determining a target display control corresponding to a target display interface on a special-shaped display screen, and the target display control is a display control positioned in a non-display area on the special-shaped display screen;
the generating module is used for generating a suspension display control according to the target display control, wherein the control function of the suspension display control is the same as that of the target display control;
and the display module is used for displaying a target display interface on the special-shaped display screen and displaying the suspension display control at the preset position of the display area of the special-shaped display screen.
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 in the memory and being executable on the processor, where the computer program, when executed by the processor, implements the steps of the screen display method described above.
In a fourth aspect, an embodiment of the present invention further 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 screen display method described above.
According to the technical scheme, a target display control corresponding to a target display interface on a special-shaped display screen is determined by obtaining the target display interface to be output currently; the suspension display control with the same control function is generated according to the target display control, the target display interface is displayed on the special-shaped display screen, the suspension display control is displayed at the preset position of the display area of the special-shaped display screen, the display control located in the non-display area of the screen can be displayed at the preset position in a suspension display control mode, and the operation experience of a user is improved while the picture display is ensured.
Drawings
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.
FIG. 1 is a diagram illustrating a first screen display method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a second screen display method according to an embodiment of the present invention;
FIG. 3 is a diagram of a mobile terminal according to an embodiment of the invention;
fig. 4 is a schematic diagram of a hardware structure of a mobile terminal according to an 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.
An embodiment of the present invention provides a screen display method, as shown in fig. 1, including:
step 101, obtaining a target display interface to be output currently.
The mobile terminal firstly needs to acquire a target display interface to be output, wherein the target display interface to be output is matched with a non-special-shaped display screen, namely the target display interface to be output is quadrilateral and has the same shape as the non-special-shaped display screen, and the non-special-shaped display screen is the display screen in the existing normal state.
And 102, determining a target display control corresponding to the target display interface on the special-shaped display screen, wherein the target display control is a display control located in a non-display area on the special-shaped display screen.
After the target display interface to be output is obtained, the target display control corresponding to the target display interface on the special-shaped display screen is determined according to the target display interface to be output and the special-shaped display screen.
Wherein the special-shaped display screen is: a part of non-display area is formed on the basis of the existing normal display screen, the position of the non-display area can be positioned in the middle above the display screen, and the non-display area can also be positioned in other positions along with the development of the special-shaped display screen.
In the embodiment of the present invention, when determining a target display control corresponding to a target display interface on a special-shaped display screen, the method includes:
acquiring position information of each display control of a target display interface on a special-shaped display screen; judging whether the position information of the display control corresponding to the special-shaped display screen is coincident with the position information of the non-display area; and if so, determining a target display control according to the overlapping area of the display control and the non-display area.
Aiming at the target display interface, a mapping relation between each display control of the target display interface and the special-shaped display screen is established, and the position information of each display control corresponding to the special-shaped display screen is obtained according to the mapping relation between the display control and the special-shaped display screen. After the position information of each display control corresponding to the special-shaped display screen is obtained, the position information of the display control corresponding to the special-shaped display screen is compared with the non-display area on the special-shaped display screen, whether the position information of the display control corresponding to the special-shaped display screen is overlapped with the position information of the non-display area or not is judged, if the position information is overlapped, the overlapping area needs to be determined, and the target display control is determined in each display control according to the corresponding overlapping area.
The step of determining the target display control according to the overlapping area of the display control and the non-display area comprises the following steps: comparing the overlapping area of the display control and the non-display area with a preset area threshold; and determining the corresponding display control with the coincidence area larger than the preset area threshold value as a target display control.
After the overlapping area of the display control and the non-display area is determined, the determined overlapping area is compared with a preset area threshold value, the relation between the overlapping area and the preset area threshold value is judged, and when the overlapping area is smaller than the preset area threshold value, the display control corresponding to the current time is determined not to be the target display control. At this time, most of the area corresponding to the display control is not shielded, and the use experience of the user is not influenced, so that the current corresponding display control can be determined not to be the target display control.
And when the overlapping area is larger than a preset area threshold value, determining that the current corresponding display control is the target display control. It should be noted that the overlapping area is larger than the preset area threshold, which includes two cases: firstly, the display control is completely overlapped with a non-display area; and secondly, the display control is partially overlapped with the non-display area, but the overlapped area is larger than the preset area threshold.
The following describes the determination process of the target display control in a specific embodiment:
the system extracts a layer of the target display interface, and obtains corresponding display controls S1, S2, and S3 … Sn for the target display interface, for example, the display controls may be operation buttons corresponding to the game interface, where the operation buttons are all displayed in the uppermost display control. For the judgment process, the system needs to calculate and compare whether there is a part overlapping with the non-display region Sh of the special-shaped display screen in each display control S1, S2, S3 … Sn. The specific calculation process is as follows: comparing whether the display areas corresponding to the display controls S1, S2 and S3 … Sn contain the display positions contained in the non-display area Sh or not; if not, determining that the display control does not belong to the target display control. If so, further determination is needed.
If the display region corresponding to the display control contains the display position contained in the non-display region Sh, it is necessary to continuously determine whether the entire display region corresponding to the display control contains the display position of the non-display region Sh, which may be further understood as whether the entire display region corresponding to the display control coincides with the non-display region Sh, and if the entire display region corresponding to the display control contains the display position of the non-display region Sh, that is, the entire display region corresponding to the display control coincides with the non-display region Sh, it is determined that the display control is the target display control.
If the part of the display area corresponding to the display control contains the display position contained in the non-display area Sh, the overlapping area of the display control and the non-display area needs to be determined, and when the overlapping area is larger than a preset area threshold value, the display control is determined to be the target display control. The above process may determine the target display control Sa, Sb … Sz among the display controls S1, S2, S3 … Sn. After the target display control is determined, the following process is executed according to the target display control.
And 103, generating a suspension display control according to the target display control, wherein the control function of the suspension display control is the same as that of the target display control.
After the target display control is determined, a floating display control with the same display content as the target display control needs to be generated according to the target display control. The control function of the generated floating display control is the same as that of the target display control. The suspension display area corresponding to the suspension display control can be displayed on the target display interface in a suspension window mode, and the suspension display area is fused with the target display interface.
The specific process is as follows: the system creates corresponding floating display controls La, Lb, … Lz according to the target display controls Sa, Sb … Sz; and respectively putting the contents of the corresponding target display controls Sa, Sb and … Sz into the suspension display areas corresponding to the suspension display controls, and simultaneously keeping the sizes of the suspension display controls consistent with the sizes of the target display controls. Wherein a floating display control corresponds to at least one operating button.
It should be noted that, for the case that most of the area corresponding to the display control is not occluded and does not affect the user experience, the occluded part may also be placed in the floating display control for display.
And 104, displaying a target display interface on the special-shaped display screen, and displaying a suspension display control at a preset position of a display area of the special-shaped display screen.
After creating the floating display control, a target display interface may be displayed on the odd-shaped display screen. And when the target display interface is displayed on the special-shaped display screen, displaying the suspension display control at the preset position of the display area of the special-shaped display screen.
In the embodiment of the invention, when the target display interface is displayed on the special-shaped display screen and the floating display control is displayed at the preset position of the display area of the special-shaped display screen, the corresponding display content of the target display control in the target display interface needs to be cleared.
Because the display content in the target display control is copied into the floating display control, the corresponding display content in the target display control is repeated with the display content in the floating display control at this time. Therefore, the corresponding display content of the target display control in the target display interface can be deleted.
In the embodiment of the present invention, when the floating display control is moved to the preset position for displaying, different modes of moving to the preset position may correspond to different implementation results. For example, the floating display control is moved to a position where the target object does not exist at the edge of the screen, and the position where the floating display control is located does not shield other target objects. If the corresponding position is determined to be the preset position after the floating display control is shifted to the left or the right by the preset distance, the shifted floating display control may block the target object in the target display interface in this way. Therefore, the embodiment of the present invention displays the target display interface on the special-shaped display screen, and after displaying the floating display control at the preset position of the display area of the special-shaped display screen, further includes:
detecting whether the floating display control blocks a target object in a target display interface; if the target object is shielded, automatically moving the suspension display control to the target position of the target object which is not shielded; or outputting the shielding prompt information, receiving the sliding operation of the user on the floating display control, and moving the floating display control to the target position of the non-shielding target object according to the sliding operation.
The method comprises the steps that a target display interface is displayed on the special-shaped screen, after a suspension display control is displayed at a preset position of a display area of the special-shaped screen, whether the suspension display control blocks a target object in the target display interface needs to be detected, and if the suspension display control does not block the target object, the suspension display control does not need to be moved. If the floating display control blocks the target object in the target display interface; at this time, the floating display control needs to be moved. The corresponding moving mode may be automatic moving, that is, automatically moving the floating display control to the target position of the target object that is not occluded. The mobile terminal can be manually moved by a user, the special-shaped display screen of the mobile terminal outputs shielding prompt information at the moment, long-time pressing operation of the user on the suspension display control is received, and when the long-time pressing operation meets the preset duration and/or the preset pressure, the suspension display control is controlled to enter a movable state. And then, according to the sliding operation of the user on the floating display control, the floating display control is moved to a target position which does not shield the target object and is convenient for the user to operate.
In the embodiment of the present invention, after displaying a target display interface on the special-shaped display screen and displaying the floating display control at a preset position in a display area of the special-shaped display screen, the method further includes: storing the corresponding relation between the target display interface, the target display control, the suspension display control and the preset position; and when the target display interface is detected to be output again, directly outputting and displaying the target display interface of which the suspension display control is located at the preset position.
After the target display interface is displayed, the corresponding relation among the target display interface, the target display control, the suspension display control and the preset position is stored, when the current target display interface is output next time, the target display interface with the suspension display control located at the preset position is directly output and displayed according to the stored corresponding relation, the corresponding judgment and adjustment process is not needed to be carried out every time, the operation of a user is simplified, and the operation experience of the user is improved.
An embodiment of the present invention further provides an implementation method, as shown in fig. 2, including:
step 201, obtaining a target display interface to be output.
Step 202, determining a target display control which is overlapped with a non-display area of the special-shaped display screen in the target display interface.
And 203, generating a floating display control with the same control function according to the target display control.
And 204, when the target display interface is displayed, setting the suspension display control at a preset position of a display area of the special-shaped display screen.
And step 205, detecting whether the floating display control blocks the target object.
And step 206, when the floating display control blocks the target object, moving the floating display control to a target position where the target object cannot be blocked.
And step 207, establishing a corresponding relation among the target display interface, the target display control, the suspension display control and the target position.
And step 208, when the target display interface is detected to be output again, directly outputting the target display interface for displaying the floating display control at the target position.
According to the embodiment of the invention, a target display control corresponding to a target display interface on a special-shaped display screen is determined by acquiring the target display interface to be output currently; the suspension display control with the same control function is generated according to the target display control, the target display interface is displayed on the special-shaped display screen, the suspension display control is displayed at the preset position of the display area of the special-shaped display screen, the display control located in the non-display area of the screen can be displayed at the preset position in a suspension display control mode, and the operation experience of a user is improved while the picture display is ensured.
An embodiment of the present invention further provides a mobile terminal, as shown in fig. 3, including:
the acquisition module 10 is used for acquiring a target display interface to be output currently;
the determining module 20 is configured to determine a target display control corresponding to the target display interface on the special-shaped display screen, where the target display control is a display control located in a non-display area on the special-shaped display screen;
the generating module 30 is configured to generate a floating display control according to the target display control, where a control function of the floating display control is the same as a control function of the target display control;
and the display module 40 is configured to display a target display interface on the special-shaped display screen, and display a floating display control at a preset position of a display area of the special-shaped display screen.
Wherein, the determining module 20 includes:
the obtaining sub-module 21 is configured to obtain position information of each display control of the target display interface on the special-shaped display screen;
the judgment sub-module 22 is used for judging whether the position information of the display control corresponding to the special-shaped display screen is superposed with the position information of the non-display area;
and the determining submodule 23 is configured to determine, if the display control overlaps with the non-display area, a target display control according to an overlapping area of the display control and the non-display area.
Wherein, the determination submodule 23 includes:
a comparing unit 231, configured to compare a coincidence area of the display control and the non-display area with a preset area threshold;
the determining unit 232 is configured to determine that the corresponding display control with the overlapping area larger than the preset area threshold is the target display control.
Wherein the generating module 30 is further configured to:
and generating the floating display control with the same display content as the target display control.
Wherein the display module 40 is further configured to:
and clearing the corresponding display content of the target display control in the target display interface.
Wherein, mobile terminal still includes:
the detection module 50 is configured to detect whether the floating display control blocks a target object in the target display interface after the display module 40 displays the target display interface on the special-shaped display screen and displays the floating display control at a preset position in a display area of the special-shaped display screen;
the processing module 60 is configured to, if the target object is occluded, automatically move the floating display control to a target position where the target object is not occluded; or outputting the shielding prompt information, receiving the sliding operation of the user on the floating display control, and moving the floating display control to the target position of the non-shielding target object according to the sliding operation.
Wherein, mobile terminal still includes:
the storage module 70 is configured to store the corresponding relationship between the target display interface, the target display control, the floating display control and the preset position after the display module 40 displays the target display interface on the special-shaped display screen and displays the floating display control at the preset position in the display area of the special-shaped display screen;
and the output module 80 is configured to directly output and display the target display interface of which the floating display control is located at the preset position when it is detected that the target display interface is output again.
The mobile terminal according to the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 and fig. 2, and is not described herein again to avoid repetition.
In this way, a target display control corresponding to the target display interface on the special-shaped display screen is determined by acquiring the target display interface to be output currently; the suspension display control with the same control function is generated according to the target display control, the target display interface is displayed on the special-shaped display screen, the suspension display control is displayed at the preset position of the display area of the special-shaped display screen, the display control located in the non-display area of the screen can be displayed at the preset position in a suspension display control mode, and the operation experience of a user is improved while the picture display is ensured.
Fig. 4 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile 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 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.
Wherein the processor 410 is configured to: acquiring a target display interface to be output currently; determining a target display control corresponding to a target display interface on a special-shaped display screen, wherein the target display control is a display control located in a non-display area on the special-shaped display screen; generating a suspension display control according to the target display control, wherein the control function of the suspension display control is the same as that of the target display control; and displaying a target display interface on the special-shaped display screen, and displaying a suspension display control at a preset position of a display area of the special-shaped display screen.
Optionally, when determining a target display control corresponding to the target display interface on the special-shaped display screen, the processor 410 is further configured to perform the following steps: acquiring position information of each display control of a target display interface on a special-shaped display screen; judging whether the position information of the display control corresponding to the special-shaped display screen is coincident with the position information of the non-display area; and if so, determining a target display control according to the overlapping area of the display control and the non-display area.
Optionally, when the target display control is determined according to the overlapping area of the display control and the non-display area, the processor 410 is further configured to perform the following steps: comparing the overlapping area of the display control and the non-display area with a preset area threshold; and determining the corresponding display control with the coincidence area larger than the preset area threshold value as a target display control.
Optionally, when the floating display control is generated according to the target display control, the processor 410 is further configured to execute the following steps: and generating the floating display control with the same display content as the target display control.
Optionally, when the target display interface is displayed on the special-shaped display screen and the floating display control is displayed at the preset position of the display area of the special-shaped display screen, the processor 410 is further configured to execute the following steps: and clearing the corresponding display content of the target display control in the target display interface.
Optionally, after the target display interface is displayed on the special-shaped display screen and the floating display control is displayed at the preset position of the display area of the special-shaped display screen, the processor 410 is further configured to execute the following steps: detecting whether the floating display control blocks a target object in a target display interface; if the target object is shielded, automatically moving the suspension display control to the target position of the target object which is not shielded; or outputting the shielding prompt information, receiving the sliding operation of the user on the floating display control, and moving the floating display control to the target position of the non-shielding target object according to the sliding operation.
Optionally, after the target display interface is displayed on the special-shaped display screen and the floating display control is displayed at the preset position of the display area of the special-shaped display screen, the processor 410 is further configured to execute the following steps: storing the corresponding relation between the target display interface, the target display control, the suspension display control and the preset position; and when the target display interface is detected to be output again, directly outputting and displaying the target display interface of which the suspension display control is located at the preset position.
In this way, a target display control corresponding to the target display interface on the special-shaped display screen is determined by acquiring the target display interface to be output currently; the suspension display control with the same control function is generated according to the target display control, the target display interface is displayed on the special-shaped display screen, the suspension display control is displayed at the preset position of the display area of the special-shaped display screen, the display control located in the non-display area of the screen can be displayed at the preset position in a suspension display control mode, and the operation experience of a user is improved while the picture display is ensured.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 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 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 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 unit 401 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 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (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 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing 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 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 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 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 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 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 407 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 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, 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 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. 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 408 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 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 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 409 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 410 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 operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 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 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 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 mobile terminal 400 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 410, a memory 409, and a computer program stored in the memory 409 and capable of running on the processor 410, and when the computer program is executed by the processor 410, the computer program implements each process of the above-mentioned screen display 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 screen display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the 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 screen display method, comprising:
acquiring a target display interface to be output currently;
determining a target display control corresponding to the target display interface on a special-shaped display screen, wherein the target display control is a display control located in a non-display area on the special-shaped display screen;
generating a suspension display control according to the target display control, wherein the control function of the suspension display control is the same as that of the target display control;
displaying the target display interface on the special-shaped display screen, and displaying the suspension display control at a preset position of a display area of the special-shaped display screen;
the step of determining the target display control corresponding to the target display interface on the special-shaped display screen comprises the following steps:
acquiring position information of each display control of the target display interface corresponding to the special-shaped display screen;
judging whether the position information of the display control corresponding to the special-shaped display screen is coincident with the position information of the non-display area;
if the display control is overlapped with the non-display area, determining the target display control according to the overlapping area of the display control and the non-display area;
determining the target display control according to the overlapping area of the display control and the non-display area, wherein the step comprises the following steps:
comparing the overlapping area of the display control and the non-display area with a preset area threshold;
and determining the corresponding display control with the coincidence area larger than a preset area threshold value as the target display control.
2. The screen display method of claim 1, wherein the step of generating a floating display control from the target display control comprises:
and generating the floating display control with the same display content as the target display control.
3. The screen display method according to claim 1, wherein the target display interface is displayed on the special-shaped display screen, and when the floating display control is displayed at a preset position of a display area of the special-shaped display screen, the method further comprises:
and clearing the corresponding display content of the target display control in the target display interface.
4. The screen display method of claim 1, wherein after the target display interface is displayed on the special-shaped display screen and the floating display control is displayed at a preset position of a display area of the special-shaped display screen, the method further comprises:
detecting whether the floating display control blocks a target object in the target display interface;
if the target object is blocked, automatically moving the suspension display control to a target position where the target object is not blocked; or outputting shielding prompt information, receiving sliding operation of a user on the floating display control, and moving the floating display control to a target position where the target object is not shielded according to the sliding operation.
5. The screen display method of claim 1, wherein the target display interface is displayed on the special-shaped display screen, and after the floating display control is displayed at a preset position of a display area of the special-shaped display screen, the method further comprises:
storing the corresponding relation among the target display interface, the target display control, the suspension display control and the preset position;
and when the target display interface is detected to be output again, directly outputting and displaying the target display interface of which the suspension display control is located at the preset position.
6. A mobile terminal, comprising:
the acquisition module is used for acquiring a target display interface to be output currently;
the determining module is used for determining a target display control corresponding to the target display interface on a special-shaped display screen, wherein the target display control is a display control located in a non-display area on the special-shaped display screen;
the generating module is used for generating a suspension display control according to the target display control, wherein the control function of the suspension display control is the same as that of the target display control;
the display module is used for displaying the target display interface on the special-shaped display screen and displaying the suspension display control at a preset position of a display area of the special-shaped display screen;
the determining module comprises:
the acquisition sub-module is used for acquiring the position information of each display control of the target display interface corresponding to the special-shaped display screen;
the judging sub-module is used for judging whether the position information of the display control corresponding to the special-shaped display screen is superposed with the position information of the non-display area;
the determining submodule is used for determining the target display control according to the overlapping area of the display control and the non-display area if the display control and the non-display area are overlapped;
the determination sub-module includes:
the comparison unit is used for comparing the overlapping area of the display control and the non-display area with a preset area threshold;
and the determining unit is used for determining that the display control corresponding to the superposition area larger than the preset area threshold is the target display control.
7. The mobile terminal of claim 6, wherein the generating module is further configured to:
and generating the floating display control with the same display content as the target display control.
8. The mobile terminal of claim 6, wherein the display module is further configured to:
and clearing the corresponding display content of the target display control in the target display interface.
9. The mobile terminal of claim 6, further comprising:
the detection module is used for detecting whether the suspension display control blocks a target object in the target display interface or not after the display module displays the target display interface on the special-shaped display screen and displays the suspension display control at a preset position of a display area of the special-shaped display screen;
the processing module is used for automatically moving the suspension display control to a target position where the target object is not shielded if the suspension display control is shielded; or outputting shielding prompt information, receiving sliding operation of a user on the floating display control, and moving the floating display control to a target position where the target object is not shielded according to the sliding operation.
10. The mobile terminal of claim 6, further comprising:
the storage module is used for storing the corresponding relation among the target display interface, the target display control, the suspension display control and the preset position after the display module displays the target display interface on the special-shaped display screen and displays the suspension display control at the preset position of the display area of the special-shaped display screen;
and the output module is used for directly outputting and displaying the target display interface of which the suspension display control is located at the preset position when the target display interface is detected to be output again.
11. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the screen display method according to any one of claims 1 to 5.
CN201711122868.9A 2017-11-14 2017-11-14 Screen display method and mobile terminal Active CN107943551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711122868.9A CN107943551B (en) 2017-11-14 2017-11-14 Screen display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711122868.9A CN107943551B (en) 2017-11-14 2017-11-14 Screen display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107943551A CN107943551A (en) 2018-04-20
CN107943551B true CN107943551B (en) 2020-02-21

Family

ID=61931988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711122868.9A Active CN107943551B (en) 2017-11-14 2017-11-14 Screen display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107943551B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616661B (en) * 2018-04-25 2020-09-29 Oppo广东移动通信有限公司 Information display method, electronic device and computer readable storage medium
CN108984246A (en) * 2018-06-20 2018-12-11 北京优酷科技有限公司 Rendering method, device and the storage medium of toolbar
CN110647368A (en) * 2018-06-26 2020-01-03 联想移动通信科技有限公司 Method and device for controlling application program to execute operation and electronic equipment
CN116775177A (en) 2018-06-27 2023-09-19 中兴通讯股份有限公司 Display control adjustment method, device, terminal and computer readable storage medium
CN109032481A (en) * 2018-06-29 2018-12-18 维沃移动通信有限公司 A kind of display control method and mobile terminal
CN109032445B (en) * 2018-07-16 2020-11-03 维沃移动通信有限公司 Screen display control method and terminal equipment
CN109189517B (en) * 2018-07-26 2021-08-27 维沃移动通信有限公司 Display switching method and mobile terminal
CN109144385A (en) * 2018-07-27 2019-01-04 北京小米移动软件有限公司 The moving method and device of suspension ball
CN109919845A (en) 2019-03-08 2019-06-21 武汉华星光电技术有限公司 With aperture display image treatment method in screen
CN110750186A (en) * 2019-09-02 2020-02-04 华为终端有限公司 Method and device for adjusting shielded or mistakenly-touched control
CN111338528B (en) * 2020-02-25 2021-05-07 维沃移动通信有限公司 Operation response method and electronic equipment
CN112163174B (en) * 2020-09-29 2024-01-09 广州博冠信息科技有限公司 Message display method and device, storage medium and computer equipment
CN112363787B (en) * 2020-10-30 2024-07-19 维沃软件技术有限公司 Image processing method and device and electronic equipment
CN113138818A (en) * 2021-03-12 2021-07-20 维沃移动通信有限公司 Interface display method and device and electronic equipment
CN116627562B (en) * 2023-05-15 2024-07-19 重庆赛力斯凤凰智创科技有限公司 Method and device for switching floating window, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017315A (en) * 2007-02-13 2007-08-15 上海水晶石信息技术有限公司 Multiscreen playing automatically integrating pretreatment method suitable for irregular screen
CN104793851A (en) * 2015-04-28 2015-07-22 北京乐动卓越科技有限公司 Method for controlling floating action button of terminal screen
CN105302408A (en) * 2014-06-24 2016-02-03 腾讯科技(深圳)有限公司 Method and apparatus for adjusting position of hover button and terminal
CN106990889A (en) * 2017-03-02 2017-07-28 努比亚技术有限公司 A kind of prompt operation implementation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017315A (en) * 2007-02-13 2007-08-15 上海水晶石信息技术有限公司 Multiscreen playing automatically integrating pretreatment method suitable for irregular screen
CN105302408A (en) * 2014-06-24 2016-02-03 腾讯科技(深圳)有限公司 Method and apparatus for adjusting position of hover button and terminal
CN104793851A (en) * 2015-04-28 2015-07-22 北京乐动卓越科技有限公司 Method for controlling floating action button of terminal screen
CN106990889A (en) * 2017-03-02 2017-07-28 努比亚技术有限公司 A kind of prompt operation implementation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"在"刘海屏"的iPhone X上截图,图片会有缺口吗?";文轩;《https://www.ithome.com/html/iphone/325803.htm》;20170914;第1-5页 *

Also Published As

Publication number Publication date
CN107943551A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN107943551B (en) Screen display method and mobile terminal
CN108182043B (en) Information display method and mobile terminal
CN108536365B (en) Image sharing method and terminal
CN108491129B (en) Application program management method and terminal
CN108153422B (en) Display object control method and mobile terminal
CN108628565B (en) Mobile terminal operation method and mobile terminal
CN108628515B (en) Multimedia content operation method and mobile terminal
CN110209313B (en) Icon moving method and terminal equipment
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN110830363B (en) Information sharing method and electronic equipment
CN109710349B (en) Screen capturing method and mobile terminal
CN107734175A (en) The reminding method and mobile terminal of a kind of notification message
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN109407948B (en) Interface display method and mobile terminal
CN108174109B (en) Photographing method and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN108958593B (en) Method for determining communication object and mobile terminal
CN109257505B (en) Screen control method and mobile terminal
CN108108113B (en) Webpage switching method and device
CN108196753B (en) Interface switching method and mobile terminal
CN110138967B (en) Terminal operation control method and terminal
CN110609648A (en) Application program control method and terminal
CN109144393B (en) Image display method and mobile terminal
CN108174110B (en) Photographing method and flexible screen terminal
CN108132749B (en) Image editing 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