CN109388324B - Display control method and terminal - Google Patents

Display control method and terminal Download PDF

Info

Publication number
CN109388324B
CN109388324B CN201811140862.9A CN201811140862A CN109388324B CN 109388324 B CN109388324 B CN 109388324B CN 201811140862 A CN201811140862 A CN 201811140862A CN 109388324 B CN109388324 B CN 109388324B
Authority
CN
China
Prior art keywords
screen
area
sliding
display
input
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
CN201811140862.9A
Other languages
Chinese (zh)
Other versions
CN109388324A (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 CN201811140862.9A priority Critical patent/CN109388324B/en
Publication of CN109388324A publication Critical patent/CN109388324A/en
Application granted granted Critical
Publication of CN109388324B publication Critical patent/CN109388324B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • 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/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1431Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using a single graphics controller
    • 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/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

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

Abstract

The invention provides a display control method and a terminal, wherein the display control method comprises the following steps: receiving a first sliding input of a user; updating display content of a target area of the first screen in response to the first sliding input; the display area of the first screen comprises a first area and a second area, the first area comprises a first range of interface contents in the first screen, and the second area comprises a second range of interface contents in the second screen; the target area is the second area, or the target area is the first area and the second area; the display range of the target area is associated with the slide parameter of the first slide input. According to the scheme of the invention, on the premise of not turning over the terminal, part of the display content of the other display screen can be switched to the currently used display screen for displaying, so that the requirement of switching the display content on the currently used display screen is met, the operation is simplified, and the time is saved.

Description

Display control method and terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a display control method and a terminal.
Background
With the rapid development of terminal technologies, smart terminals are silently changing the lifestyle of human beings. The display screen is used as a display output device of an intelligent terminal (especially a mobile terminal), and the size of the display screen is continuously increased from an initial small-size display screen to a large-size display screen to a current full-screen or double-sided screen, so that the watching experience of a user is improved. However, the size of the display screen is too large, which generally reduces the portability of the corresponding terminal, and the use of the dual-sided screen can reduce the size of a single display screen, thereby solving the portability problem caused by the size of the display screen being too large.
The terminal with the double-sided screen is usually provided with one display screen on the front side of the terminal, and the other display screen is arranged on the back side of the terminal, so that the two display screens can realize division display, namely, different pictures are displayed on the front side and the back side of the terminal, the display capability of the terminal is enhanced, and the display mode of the terminal is more diversified.
However, after the dual-side screen is introduced, when different contents are displayed on the two display screens, if a user wants to view the display content of one display screen while using the other display screen, the user usually needs to turn over the terminal to view the display content of the other display screen, which results in tedious operation and time waste.
Disclosure of Invention
The embodiment of the invention provides a display control method and a terminal, and aims to solve the problems that in an existing double-sided screen terminal, a method for viewing display contents of one display screen when the other display screen is used is complex in operation and time-consuming.
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 display control method, which is applied to a terminal, where the terminal includes a first screen and a second screen, and the method includes:
receiving a first sliding input of a user;
updating display content of a target area of the first screen in response to the first sliding input;
the display area of the first screen comprises a first area and a second area, the first area comprises a first range of interface contents in the first screen, and the second area comprises a second range of interface contents in the second screen;
the target area is the second area, or the target area is the first area and the second area; the display range of the target area is associated with the slide parameter of the first slide input.
In a second aspect, an embodiment of the present invention further provides a terminal, including a first screen and a second screen, where the terminal further includes:
the first receiving module is used for receiving a first sliding input of a user;
a first updating module for updating the display content of the target area of the first screen in response to the first sliding input;
the display area of the first screen comprises a first area and a second area, the first area comprises a first range of interface contents in the first screen, and the second area comprises a second range of interface contents in the second screen;
the target area is the second area, or the target area is the first area and the second area; the display range of the target area is associated with the slide parameter of the first slide input.
In a third aspect, an embodiment of the present invention further provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the computer program implements the steps of the display control method when executed by the processor.
In a fourth aspect, the 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 above-mentioned display control method.
In the embodiment of the invention, the first sliding input of a user is received, the display content of the target area of the first screen is updated in response to the first sliding input, and part of the display content of the other display screen can be switched to the currently used display screen for displaying on the premise of not turning over the terminal, so that the requirement of switching the display content on the currently used display screen is met, the operation is simplified, and the time is saved.
Drawings
FIG. 1 is a flow chart of a display control method according to an embodiment of the present invention;
fig. 2A is a schematic display diagram of a display screen 1 of a mobile phone according to an embodiment of the present invention;
fig. 2B is a schematic display diagram of a display screen 2 of a mobile phone according to an embodiment of the present invention;
fig. 3A is one of schematic diagrams of the display of the control display screen 1 according to the embodiment of the present invention;
FIG. 3B is a second schematic diagram of the display of the control display 1 according to the embodiment of the present invention;
FIG. 4A is a third schematic diagram of the display of the control display 1 according to the embodiment of the present invention;
FIG. 4B is a fourth schematic diagram of the display of the control display screen 1 according to the embodiment of the present invention;
FIG. 5 is a fifth schematic view of the display of the control display 1 according to the embodiment of the present invention;
FIG. 6 is a schematic illustration of the display of the lock display screen 1 according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 8 is a second schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described 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 to obtain other drawings based on these drawings without inventive labor.
Referring to fig. 1, an embodiment of the present invention provides a display control method, which is applied to a terminal, where the terminal includes a first screen and a second screen, and the method includes the following steps:
step 101: a first swipe input by a user is received.
Alternatively, the first slide input may be a slide operation. The first sliding input may be an input of a user on a preset area of the first screen. The preset area can be selected as a preset side area of the first screen.
In a specific implementation, before receiving the first sliding input of the user, the terminal may start the sliding switching mode by means of a user input operation, for example, a sliding operation in which a sliding distance of the user on the first screen exceeds a preset distance threshold or a preset pressing operation, so as to switch display contents of the display screen through the sliding input of the user in the sliding switching mode.
It should be noted that, in the embodiment of the present invention, the first screen may be a display screen disposed on the front side of the terminal, and the second screen is a display screen disposed on the back side of the terminal; alternatively, the first screen may be a display screen provided on the back side of the terminal, while the second screen is a display screen provided on the front side of the terminal.
Step 102: in response to the first slide input, display content of a target area of the first screen is updated.
The display area of the first screen comprises a first area and a second area, the first area comprises interface content in a first range in the first screen, and the second area comprises interface content in a second range in the second screen; the target area may be a second area, or the target area may be a first area and a second area; the display range of the target area may be associated with a slide parameter of the first slide input. The first range of interface content in the first screen may be understood as a portion of the interface content of the first screen, and the second range of interface content in the second screen may be understood as a portion of the interface content of the second screen.
It will be appreciated that the slide parameters of the first slide input may include a slide direction and a slide distance, i.e. the display range of the target area of the first screen may be associated with the slide direction and the slide distance of the first slide input. Through the updating process of step 102, part of the interface contents in the first screen and the second screen can be displayed on the first screen at the same time; the second screen may display content or may not display content any more, which is not limited in the embodiments of the present invention.
In the embodiment of the invention, the first sliding input of a user is received, the display content of the target area of the first screen is updated in response to the first sliding input, and part of the display content of the other display screen can be switched to the currently used display screen for displaying on the premise of not turning over the terminal, so that the requirement of switching the display content on the currently used display screen is met, the operation is simplified, and the time is saved.
In an embodiment of the present invention, the display height of the second area may be determined by the relative sliding distance of the first sliding input. Alternatively, the display height h ″ of the second area may be represented by the following formula one:
Figure BDA0001815778820000041
wherein H is the relative sliding distance of the first sliding input, HaIs the height of the first screen HbIs the height of the second screen, WaIs the width of the first screen, WbIs the width of the second screen.
It will be understood that when the first and second panels are the same width (i.e., W)aAnd WbSame), the display height H' of the second area may be only the relative sliding distance H of the first sliding input and the height H of the first screenaAnd height H of the second screenbIs related, i.e.
Figure BDA0001815778820000042
When the widths of the first screen and the second screen are different (i.e. W)aAnd WbNot the same), the display height h ″ of the second area may be scaled at a high ratio with the width of the first screen as a reference.
In the embodiment of the present invention, in order to bring different visual experiences for switching display screen contents to users, the display contents of the first screen may be updated in different manners, which is described below.
In a first mode
In another way, the target area of the first screen is a second area, and the corresponding step 102 may include:
in the input process of the first sliding input, acquiring the sliding direction and the sliding distance of the first sliding input;
determining a target updating direction according to the sliding direction;
determining the display height of the target according to the sliding distance;
and updating the display content of a second area with the target display height in the first screen into interface content of a second range in the second screen according to the target updating direction.
Therefore, on the premise of keeping the display content of the first area of the first screen unchanged, the display content of the second area of the first screen is updated by means of the first sliding input of the user, and the display effect that the display content of the first screen is gradually covered by the display content of the second screen is achieved.
It is understood that the target update direction may be the same as the sliding direction of the first sliding input, may be opposite to the sliding direction of the first sliding input, or may be a preset moving direction. The target display height can be calculated by adopting the formula I. The interface content of the second range in the second screen may be understood as interface content moved in a second area of the first screen when the display content of the second screen (from one end to the other end of the overall display content) is moved into the first screen in the target update direction.
For example, as shown in fig. 2A and 2B, it is assumed that a front surface of a terminal such as a mobile phone is provided with a display screen 1, a back surface of the mobile phone is provided with a display screen 2, a screen "a" is displayed on the display screen 1, and a screen "B" is displayed on the display screen 2. When a downward (as the arrow direction in fig. 3A) sliding operation of the user on the preset side edge region of the display screen 1 is received, the mobile phone may update the display content of the display region 12 of the display screen 1 in response to the downward sliding operation; wherein, the display area of the display screen 1 includes a display area 11 and a display area 12, the display area 11 may include (i.e., display) a first range of interface contents in the display screen 1, and the display area 12 may include (i.e., display) a second range of interface contents in the display screen 2; the display range of the display area 12 may be associated with the sliding direction and the sliding distance of the downward sliding operation, that is, a target update direction (for example, a downward direction) may be determined according to the sliding direction of the downward sliding operation, a target display height may be determined according to the sliding distance of the downward sliding operation, and the display content of the display area 12 of the target display height in the display screen 1 may be updated to the interface content of the second range in the display screen 2 according to the downward direction, so as to achieve the display effect of keeping the display content of the display area 11 unchanged and gradually covering the picture "a" displayed on the display screen 1 by using the picture "B" displayed on the display screen 2, as shown in fig. 3A.
If the user inputs a downward sliding operation and inputs an upward sliding operation (e.g., arrow direction in fig. 3B) on a preset side area of the display screen 1, the mobile phone may further update the display content of the display area 12 of the display screen 1 in response to the upward sliding operation, that is, determine a target update direction (e.g., upward direction) according to the sliding direction of the upward sliding operation, determine a target display height according to the relative sliding distance between the downward sliding operation and the upward sliding operation, and update the display content of the display area 12 with the target display height in the display screen 1 to the interface content of the second range in the display screen 2 according to the upward direction, so as to achieve the display effect of recovering the covered picture "a", as shown in fig. 3B.
Mode two
In a second mode, the target area of the first screen is a first area and a second area, and the corresponding step 102 may include:
in the input process of the first sliding input, acquiring the sliding direction and the sliding distance of the first sliding input;
determining a target moving direction according to the sliding direction;
determining the moving distance of the target according to the sliding distance;
and moving the interface content in the second range in the second screen into the first screen according to the target moving direction and the target moving distance, and moving the interface content in the second range in the first screen out of the first screen.
Therefore, the display effect of gradually pushing the display content of the first screen by utilizing the display content of the second screen can be achieved in the display control process.
It is understood that the target update direction may be the same as the sliding direction of the first sliding input, may be opposite to the sliding direction of the first sliding input, or may be a preset moving direction. The target display height can be calculated by adopting the formula I. The interface content of the second range in the second screen described above may be understood as interface content that moves in a second area of the first screen when the display content of the second screen (from one end to the other end of the entire display content) moves into the first screen in the target update direction.
For example, as shown in fig. 2A and 2B, it is assumed that a front surface of a terminal such as a mobile phone is provided with a display screen 1, a back surface of the mobile phone is provided with a display screen 2, a screen "a" is displayed on the display screen 1, and a screen "B" is displayed on the display screen 2. When a downward (in the direction of the arrow in fig. 4A) sliding operation of the user on the preset side edge region of the display screen 1 is received, the mobile phone can update the display contents of the display region 11 and the display region 12 of the display screen 1 in response to the downward sliding operation; wherein, the display area of the display screen 1 includes a display area 11 and a display area 12, the display area 11 may include (i.e., display) a first range of interface contents in the display screen 1, and the display area 12 may include (i.e., display) a second range of interface contents in the display screen 2; the display ranges of the display areas 11 and 12 may be associated with the sliding direction and the sliding distance of the downward sliding operation, that is, a target moving direction (for example, a downward direction) is determined according to the sliding direction of the downward sliding operation, a target moving distance is determined according to the sliding distance of the downward sliding operation, and according to the downward direction and the target moving distance, the interface content in the second range in the display screen 2 is moved into the display screen 1, and the interface content in the second range in the display screen 1 is moved out of the display screen 1, so as to achieve a display effect of gradually pushing the screen "a" displayed on the display screen 1 by using the screen "B" displayed on the display screen 2, that is, a display effect of interlocking the display screen 1 and the display screen 2, as shown in fig. 4A.
If the user inputs a downward sliding operation and inputs an upward sliding operation (e.g., arrow direction in fig. 4B) on a preset side region of the display screen 1, the mobile phone may further update the display contents of the display region 11 and the display region 12 of the display screen 1 in response to the upward sliding operation, that is, determine a target moving direction (e.g., upward direction) according to the sliding direction of the upward sliding operation, determine a target moving distance according to the relative sliding distance between the downward sliding operation and the upward sliding operation, move the interface contents of the second range in the display screen 2 into the display screen 1 according to the upward direction and the target moving distance, and move the interface contents of the second range in the display screen 1 out of the display screen 1, so as to achieve the display effect of gradually pushing the screen "B" displayed on the display screen 2 by using the screen "a" displayed on the display screen 1, i.e. the display effect of the display screen 1 and the display screen 2, which are interlocked, as shown in fig. 4B.
In this embodiment of the present invention, optionally, the interface content in the second range in the second screen may be display content corresponding to the input type of the first sliding input.
Therefore, in the display control process, the content concerned by the user can be switched and displayed as required, so that the user can conveniently know the display content of the second screen.
For example, if the input type of the first sliding input is distinguished according to different finger triggers, when the input type of the first sliding input is the index finger trigger input, the interface content in the second range in the second screen may be the picture content in the second screen; or, when the input type of the first sliding input is the thumb-triggered input, the interface content in the second range in the second screen may be the text content in the second screen; alternatively, when the input type of the first sliding input is middle finger trigger input, the interface content of the second range in the second screen may be sensitive information (or encrypted information, unencrypted information) in the second screen.
In an embodiment of the present invention, optionally, after step 102, the method may further include:
under the condition that the display height of the second area is larger than a preset first threshold value, updating the display content of the first screen to the interface content of the second screen; that is, full screen content of the second screen is displayed on the first screen;
updating the display content of the first screen to the interface content of the first screen under the condition that the display height of the second area is smaller than or equal to the preset first threshold; that is, full screen content of the first screen is displayed on the first screen.
The preset first threshold value can be preset according to actual requirements. For example, the preset first threshold may be preset to be half of the height of the first screen, i.e. H a2. Therefore, by means of setting the preset first threshold value, a user can conveniently select the content displayed by the currently used display screen.
Further, after updating the display content of the first screen to the interface content of the second screen, the method may further include:
receiving a third sliding input of the user;
in response to the third swipe input, updating the display content of the first screen back to the interface content of the first screen.
The third sliding input may be a sliding operation, and further may be a sliding operation of the user in a preset area. Before receiving the third sliding input of the user, the terminal may start the sliding switching mode by means of a user input operation, such as a sliding operation in which a sliding distance of the user on the first screen exceeds a preset distance threshold or a preset pressing operation, so as to switch back to the display content of the first screen through the sliding input of the user in the sliding switching mode.
For example, if the first sliding input is a sliding operation in which the sliding direction is downward (as shown by the arrow in fig. 3A), the third sliding input may be a sliding operation in which the sliding direction is upward (as shown by the arrow in fig. 5), so as to update the display content of the display screen 1 back to the interface content of the display screen 1 after the full-screen content of the display screen 2 is displayed on the display screen 1.
In the embodiment of the invention, a locking function can be added for facilitating a user to simultaneously check partial interface contents of the two display screens for a long time. Optionally, after step 102, the method may further include:
receiving a pressing input of a user at a slide end position of the first slide input;
and under the condition that the pressing duration of the pressing input is greater than a preset second threshold, responding to the pressing input, and locking the display of the target area.
It is understood that the preset second threshold may be preset according to actual requirements. Therefore, by means of the press input with the press duration being greater than the preset second threshold, the display of the target area can be locked, and therefore the requirement that a user can simultaneously view partial interface contents of the two display screens for a long time is met.
Further optionally, after step 102, the method may further include:
receiving a second sliding input of the user on the target sliding area;
locking display of the target area in response to the second slide input if the slide length of the second slide input is greater than a preset third threshold;
wherein the target sliding region is a region of a preset range including a boundary of the first region and the second region.
It is understood that the preset third threshold may be preset according to actual requirements. The second sliding input may be a sliding operation along a boundary between the first area and the second area, where the sliding length is greater than a preset third threshold, or a sliding operation along a preset direction, where the sliding length is greater than the preset third threshold, or only a sliding operation where the sliding length is greater than the preset third threshold.
Thus, by means of the second sliding input, the display of the target area can be locked, and therefore the requirement that a user simultaneously views partial interface contents of the two display screens for a long time is met.
Further, after the display of the lock target area, the terminal may display a lock icon on the first screen to remind the user that the first screen is currently in a locked state. For example, referring to fig. 6, the terminal may display a locked icon at a boundary between the first display area 11 and the second display area 12
Figure BDA0001815778820000091
Further, after the display of the lock target region, if the user wants to unlock, a preset operation, such as an operation of dragging the lock icon, may be input to re-enter the slide switching mode.
The above embodiment describes the display control method of the present invention, and a terminal corresponding to the display control method of the present invention will be described with reference to the embodiment and the drawings.
Referring to fig. 7, an embodiment of the present invention further provides a terminal, including a first screen and a second screen, where the terminal may further include:
a first receiving module 71, configured to receive a first sliding input of a user;
a first updating module 72 for updating the display content of the target area of the first screen in response to the first sliding input;
the display area of the first screen comprises a first area and a second area, the first area comprises a first range of interface contents in the first screen, and the second area comprises a second range of interface contents in the second screen;
the target area is the second area, or the target area is the first area and the second area; the display range of the target area is associated with the slide parameter of the first slide input.
The terminal of the embodiment of the invention can switch part of the display content of the other display screen to the currently used display screen for displaying on the premise of not turning over the terminal, thereby meeting the requirement of switching the display content on the currently used display screen, simplifying the operation and saving the time.
In this embodiment of the present invention, optionally, the target area is the second area;
the first update module 72 includes:
a first obtaining unit, configured to obtain a sliding direction and a sliding distance of the first sliding input in an input process of the first sliding input;
a first determining unit, configured to determine a target update direction according to the sliding direction;
the second determining unit is used for determining the target display height according to the sliding distance;
and the first updating unit is used for updating the display content of a second area with the target display height in the first screen into the interface content of a second range in the second screen according to the target updating direction.
Optionally, the target area is the first area and the second area;
the first update module 72 includes:
a second obtaining unit, configured to obtain a sliding direction and a sliding distance of the first sliding input in an input process of the first sliding input;
a third determining unit, configured to determine a target moving direction according to the sliding direction;
a fourth determining unit, configured to determine a target moving distance according to the sliding distance;
and the control unit is used for moving the interface content in the second range in the second screen into the first screen and moving the interface content in the second range in the first screen out of the first screen according to the target moving direction and the target moving distance.
Optionally, the interface content in the second range in the second screen is display content corresponding to the input type of the first sliding input.
Optionally, the display height h ″ of the second area is:
Figure BDA0001815778820000111
wherein H is the relative sliding distance of the first sliding input, HaIs the height of the first screen HbIs the height of the second screen, WaIs the width of the first screen, WbIs the width of the second screen.
Optionally, the terminal further includes:
the second updating module is used for updating the display content of the first screen into the interface content of the second screen under the condition that the display height of the second area is larger than a preset first threshold;
and the third updating module is used for updating the display content of the first screen to the interface content of the first screen under the condition that the display height of the second area is smaller than or equal to the preset first threshold.
Optionally, the terminal further includes:
a second receiving module, configured to receive a pressing input of a user at a sliding end position of the first sliding input;
and the first locking module is used for responding to the pressing input and locking the display of the target area under the condition that the pressing time length of the pressing input is greater than a preset second threshold value.
Optionally, the terminal further includes:
the third receiving module is used for receiving a second sliding input of the user on the target sliding area;
a second locking module, configured to lock display of the target area in response to the second sliding input when a sliding length of the second sliding input is greater than a preset third threshold;
wherein the target sliding region is a region of a preset range including a boundary of the first region and the second region.
An embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the display control method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
Specifically, fig. 8 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, where the 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 terminal configuration shown in fig. 8 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
In an embodiment of the present invention, the terminal 800 may further include a first screen and a second screen. The first screen may be a display screen provided on the front side of the terminal 800, while the second screen is a display screen provided on the back side of the terminal 800; alternatively, the first screen may be a display screen provided on the rear surface of the terminal 800, while the second screen is a display screen provided on the front surface of the terminal 800.
The radio frequency unit 801 is configured to receive a first sliding input of a user;
a processor 810 for updating display contents of a target area of the first screen in response to the first sliding input; the display area of the first screen comprises a first area and a second area, the first area comprises a first range of interface contents in the first screen, and the second area comprises a second range of interface contents in the second screen; the target area is the second area, or the target area is the first area and the second area; the display range of the target area is associated with the slide parameter of the first slide input.
The terminal 800 of the embodiment of the invention can switch at least part of the display content of the other display screen to the currently used display screen for displaying on the premise of not turning over the terminal, thereby meeting the requirement of switching the display content on the currently used display screen, simplifying the operation and saving the time.
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 terminal provides wireless broadband internet access to the user 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 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 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 terminal 800 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 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 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 on or near the touch panel 8071, 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 8061 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 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 terminal, which is not limited herein.
The interface unit 808 is an interface for connecting an external device to the 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 terminal 800 or may be used to transmit data between the 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 terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the 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 terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to provide management of charging, discharging, and power consumption via the power management system.
In addition, the terminal 800 may further include some functional modules that are not shown, and are not described herein again.
An 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 can implement each process of the display control 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 is, for example, 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 (16)

1. A display control method is applied to a terminal, the terminal comprises a first screen and a second screen, and the method is characterized by comprising the following steps:
receiving a first sliding input of a user;
updating display content of a target area of the first screen in response to the first sliding input;
the display area of the first screen comprises a first area and a second area, the first area comprises a first range of interface contents in the first screen, and the second area comprises a second range of interface contents in the second screen;
the target area is the second area, or the target area is the first area and the second area; the display range of the target area is associated with the sliding parameter of the first sliding input;
the interface content of the second range in the second screen is as follows: display content of a target type in the second screen corresponding to the input type of the first slide input.
2. The method of claim 1, wherein the target region is the second region;
the updating the display content of the target area of the first screen in response to the first sliding input includes:
in the input process of the first sliding input, acquiring the sliding direction and the sliding distance of the first sliding input;
determining a target updating direction according to the sliding direction;
determining the display height of the target according to the sliding distance;
and updating the display content of a second area with the target display height in the first screen into interface content of a second range in the second screen according to the target updating direction.
3. The method of claim 1, wherein the target region is the first region and the second region;
the updating the display content of the target area of the first screen in response to the first sliding input includes:
in the input process of the first sliding input, acquiring the sliding direction and the sliding distance of the first sliding input;
determining a target moving direction according to the sliding direction;
determining the moving distance of the target according to the sliding distance;
and moving the interface content in the second range in the second screen into the first screen according to the target moving direction and the target moving distance, and moving the interface content in the second range in the first screen out of the first screen.
4. The method of claim 1, wherein the display height h "of the second area is:
Figure FDA0002519397580000021
wherein H is the relative sliding distance of the first sliding input, HaIs the height of the first screen HbIs the height of the second screen, WaIs the width of the first screen, WbIs the width of the second screen.
5. The method of claim 1, wherein after updating the display content of the target area of the first screen in response to the first sliding input, the method further comprises:
under the condition that the display height of the second area is larger than a preset first threshold value, updating the display content of the first screen to the interface content of the second screen;
and updating the display content of the first screen to the interface content of the first screen under the condition that the display height of the second area is smaller than or equal to the preset first threshold.
6. The method of claim 1, wherein after updating the display content of the target area of the first screen in response to the first sliding input, the method further comprises:
receiving a pressing input of a user at a slide end position of the first slide input;
and under the condition that the pressing duration of the pressing input is greater than a preset second threshold, responding to the pressing input, and locking the display of the target area.
7. The method of claim 1, wherein after updating the display content of the target area of the first screen in response to the first sliding input, the method further comprises:
receiving a second sliding input of the user on the target sliding area;
locking display of the target area in response to the second slide input if the slide length of the second slide input is greater than a preset third threshold;
wherein the target sliding region is a region of a preset range including a boundary of the first region and the second region.
8. A terminal comprising a first screen and a second screen, the terminal further comprising:
the first receiving module is used for receiving a first sliding input of a user;
a first updating module for updating the display content of the target area of the first screen in response to the first sliding input;
the display area of the first screen comprises a first area and a second area, the first area comprises a first range of interface contents in the first screen, and the second area comprises a second range of interface contents in the second screen;
the target area is the second area, or the target area is the first area and the second area; the display range of the target area is associated with the sliding parameter of the first sliding input;
the interface content of the second range in the second screen is as follows: display content of a target type in the second screen corresponding to the input type of the first slide input.
9. The terminal of claim 8, wherein the target area is the second area; the first update module includes:
a first obtaining unit, configured to obtain a sliding direction and a sliding distance of the first sliding input in an input process of the first sliding input;
a first determining unit, configured to determine a target update direction according to the sliding direction;
the second determining unit is used for determining the target display height according to the sliding distance;
and the first updating unit is used for updating the display content of a second area with the target display height in the first screen into the interface content of a second range in the second screen according to the target updating direction.
10. The terminal of claim 8, wherein the target area is the first area and the second area; the first update module includes:
a second obtaining unit, configured to obtain a sliding direction and a sliding distance of the first sliding input in an input process of the first sliding input;
a third determining unit, configured to determine a target moving direction according to the sliding direction;
a fourth determining unit, configured to determine a target moving distance according to the sliding distance;
and the control unit is used for moving the interface content in the second range in the second screen into the first screen and moving the interface content in the second range in the first screen out of the first screen according to the target moving direction and the target moving distance.
11. The terminal according to claim 8, wherein the display height h "of the second area is:
Figure FDA0002519397580000041
wherein H is the relative sliding distance of the first sliding input, HaIs the height of the first screen HbIs the height of the second screen, WaIs the width of the first screen, WbIs the width of the second screen.
12. The terminal of claim 8, wherein the terminal further comprises:
the second updating module is used for updating the display content of the first screen into the interface content of the second screen under the condition that the display height of the second area is larger than a preset first threshold;
and the third updating module is used for updating the display content of the first screen to the interface content of the first screen under the condition that the display height of the second area is smaller than or equal to the preset first threshold.
13. The terminal of claim 8, wherein the terminal further comprises:
a second receiving module, configured to receive a pressing input of a user at a sliding end position of the first sliding input;
and the first locking module is used for responding to the pressing input and locking the display of the target area under the condition that the pressing time length of the pressing input is greater than a preset second threshold value.
14. The terminal of claim 8, wherein the terminal further comprises:
the third receiving module is used for receiving a second sliding input of the user on the target sliding area;
a second locking module, configured to lock display of the target area in response to the second sliding input when a sliding length of the second sliding input is greater than a preset third threshold;
wherein the target sliding region is a region of a preset range including a boundary of the first region and the second region.
15. A terminal comprising a memory, a processor, a computer program stored on the memory and executable on the processor, characterized in that the computer program, when executed by the processor, implements the steps of the display control method according to any one of claims 1 to 7.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the display control method according to any one of claims 1 to 7.
CN201811140862.9A 2018-09-28 2018-09-28 Display control method and terminal Active CN109388324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811140862.9A CN109388324B (en) 2018-09-28 2018-09-28 Display control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811140862.9A CN109388324B (en) 2018-09-28 2018-09-28 Display control method and terminal

Publications (2)

Publication Number Publication Date
CN109388324A CN109388324A (en) 2019-02-26
CN109388324B true CN109388324B (en) 2021-03-19

Family

ID=65418135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811140862.9A Active CN109388324B (en) 2018-09-28 2018-09-28 Display control method and terminal

Country Status (1)

Country Link
CN (1) CN109388324B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110488921A (en) * 2019-08-20 2019-11-22 Oppo广东移动通信有限公司 Electronic equipment and its control method
CN111258475B (en) * 2020-01-17 2022-04-08 北京无限光场科技有限公司 Information updating method and device and electronic equipment
CN112148186B (en) * 2020-09-17 2021-11-09 珠海格力电器股份有限公司 Commodity display method, device, equipment and storage medium
CN112612566A (en) * 2020-12-18 2021-04-06 北京达佳互联信息技术有限公司 Information display method and device and readable storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035704B (en) * 2013-03-07 2017-10-10 北京三星通信技术研究有限公司 The method and device of split screen operation
WO2016208885A1 (en) * 2015-06-24 2016-12-29 Samsung Electronics Co., Ltd. Apparatus and method for split screen display on mobile device
CN105242869A (en) * 2015-09-23 2016-01-13 宇龙计算机通信科技(深圳)有限公司 Dual-screen interaction method for user terminal and user terminal
CN106210307B (en) * 2016-07-08 2019-10-29 努比亚技术有限公司 Mobile terminal and screen switching
CN106155559A (en) * 2016-07-26 2016-11-23 深圳市金立通信设备有限公司 A kind of method of screen control and terminal
CN108037901B (en) * 2017-10-31 2020-12-18 江苏知链科技有限公司 Display content switching control method, terminal and computer readable storage medium
CN108153504A (en) * 2017-12-25 2018-06-12 努比亚技术有限公司 Double screen information interacting method, mobile terminal and computer readable storage medium
CN108491149B (en) * 2018-03-28 2020-11-03 维沃移动通信有限公司 Split screen display method and terminal
CN108932092A (en) * 2018-06-29 2018-12-04 维沃移动通信有限公司 A kind of display control method and terminal device

Also Published As

Publication number Publication date
CN109388324A (en) 2019-02-26

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN108536365B (en) Image sharing method and terminal
CN108668083B (en) Photographing method and terminal
CN108471498B (en) Shooting preview method and terminal
CN109714485B (en) Display method and mobile terminal
CN109388324B (en) Display control method and terminal
CN109032445B (en) Screen display control method and terminal equipment
CN107728923B (en) Operation processing method and mobile terminal
CN107992342B (en) Application configuration changing method and mobile terminal
CN111339515A (en) Application program starting method and electronic equipment
CN108062194B (en) Display method and device and mobile terminal
CN109407949B (en) Display control method and terminal
CN108196753B (en) Interface switching method and mobile terminal
CN108446156B (en) Application program control method and terminal
CN111026301A (en) Display method and electronic equipment
CN109710130B (en) Display method and terminal
CN109542321B (en) Control method and device for screen display content
CN108804628B (en) Picture display method and terminal
CN108196781B (en) Interface display method and mobile terminal
CN108132749B (en) Image editing method and mobile terminal
CN110413363B (en) Screenshot method and terminal equipment
CN109782970B (en) Display method and terminal
CN109669656B (en) Information display method and terminal equipment
CN109597546B (en) Icon processing method and terminal equipment
CN109491741B (en) Method and terminal for switching background skin

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