Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The information display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart of an information display method provided in an embodiment of the present application. As shown in fig. 1, the information display method is applied to an electronic device including a flexible screen, and includes the steps of:
step 101, receiving a first input to a flexible screen under the condition that a first interface of a target application is displayed, wherein the first input is used for folding the flexible screen.
In an embodiment of the present invention, the electronic Device may be any Device including a flexible screen, for example, a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), and the like. The target application includes applications supporting image-text browsing and text editing, such as a browser, a Portable Document Format (PDF) reader, a text editor, an instant chat application, and the like. The first interface is a display interface of the target application on the flexible screen, for example, if the target application is a browser, the first interface displays a certain webpage of the browser; assuming that the target application is a PDF reader, the first interface displays a certain PDF page in the PDF reader, and the like. The first input is a folding input to the flexible screen for folding the flexible screen. Specifically, the first input may be a folding of any edge or multiple edges of the flexible screen, or may be a folding of any corner or multiple corners of the flexible screen, which is not specifically limited in this application.
It should be noted that, in order to ensure that a sufficient first area can be left to display the first interface after the first input is performed on the flexible screen, the maximum distance from the folding position of the first input to the edge of the flexible screen may be determined according to the width or height of the flexible screen. For example, if the first input is to fold the bottom edge of the flexible screen, the maximum distance from the fold location of the first input to the edge of the bottom edge of the flexible screen may be one fifth of the height of the flexible screen. And if the maximum distance from the first input folding position to the edge of the bottom edge of the flexible screen exceeds one fifth of the height of the flexible screen, the first interface displayed on the flexible screen cannot be adjusted. If the first input is to turn over the left side of the flexible screen, the maximum distance from the turning-over position of the first input to the left edge of the flexible screen can be one fifth of the width of the flexible screen, and if the maximum distance from the turning-over position of the first input to the left edge of the flexible screen exceeds one fifth of the width of the flexible screen, the first interface displayed on the flexible screen cannot be adjusted. Therefore, when the user folds the flexible screen for other purposes, the folding operation and the target folding operation can be distinguished, and the display information is prevented from being adjusted wrongly.
Step 102, responding to the first input, displaying a first interface in the first area, and displaying N thumbnails corresponding to N pieces of target information of the target application in the second area, wherein N is an integer greater than 1.
The first area and the second area are two non-overlapped display areas on the flexible screen. Specifically, the first region and the second region may be two regions determined based on a folding position (i.e., a fold) of the first input, and the sizes of the first region and the second region may be adjusted according to a difference in each folding position; or two preset and fixed display areas. The N thumbnails may be thumbnails corresponding to all target information of the target application, or thumbnails corresponding to part of target information of the target application, which is not specifically limited in the present application.
In this step, the electronic device may display the first interface in the first area and display N thumbnails corresponding to N pieces of target information of the target application in the second area, as shown in fig. 2, when the first interface of the target application is displayed and a folding input of the flexible screen by the user is received. In fig. 2, the first input is to fold the right side of the flexible screen, and after the right side of the flexible screen is folded, N thumbnails corresponding to N pieces of target information of the target application are displayed in the second area (i.e., the area where the flexible screen is folded). Of course, as another embodiment, the first input may be to fold other edges of the flexible screen or to fold corners of the flexible screen to realize the display of the thumbnail.
Of course, when the target content of the target application is greater than N, the user may also slide up and down the N pieces of target information displayed in the second area, so as to display new N pieces of target information of the target application in the second area, so that the user can select and view all pieces of target information of the target application conveniently. And 103, receiving selection operation of a target thumbnail in the N thumbnails.
The selection operation may be any operation on the N thumbnails, for example, a slide operation, a click operation, or the like. The selection operation is used to determine a target thumbnail from the N thumbnails. As an embodiment, the selection operation may be a click operation, and the user may complete the selection operation on the target thumbnail by clicking any one of the N thumbnails. In another embodiment, a selection box of the target thumbnail is also displayed in the second area, and the user may adjust the position of the selection box through a sliding operation to determine the target thumbnail.
And 104, responding to the selection operation, and displaying the target information corresponding to the target thumbnail in the first area.
After receiving a selection operation of a user on a target thumbnail, the electronic device may display target content of the target thumbnail in a first area (i.e., an area where the flexible screen is not folded), so that the user may view the adjusted target information through the first area.
In this embodiment, after receiving a first input to the flexible screen by a user, the electronic device may display a plurality of thumbnails of the target application in the second area of the flexible screen, so that the user may select a target thumbnail from the plurality of thumbnails to adjust the target information of the target application. Therefore, all information which can be displayed on the first interface in the target application can be previewed by executing folding input on the flexible screen, and the target information which is currently displayed in the first interface can be adjusted by selecting the thumbnail in the second area, so that the user operation is simplified, and the convenience of the user operation is improved.
Further, the N thumbnails include target thumbnails and thumbnails corresponding to target information which is not displayed in the first area.
The N thumbnails displayed in the second area comprise target thumbnails corresponding to target information displayed in the first area and thumbnails corresponding to target information not displayed in the first area. With continued reference to fig. 2, the object information displayed in the first area coincides with the information in the object thumbnail 201 in the second area, the object information before the object information displayed in the first area coincides with the information corresponding to the thumbnail above the object thumbnail 201, and the object information after the object information displayed in the first area coincides with the information corresponding to the thumbnail below the object thumbnail 201. Therefore, the user can preview the display information of the target application through the N thumbnails in the second area, the user can conveniently and quickly locate the interested target information, and when the user needs to adjust the target information displayed in the first area, the user can confirm the new target thumbnail again by clicking or sliding the N thumbnails, so that the adjustment of the target information displayed in the first area is realized.
Further, referring to fig. 3, fig. 3 is a second flowchart of the information display method according to the embodiment of the present application. As shown in fig. 3, the method further comprises:
step 301, receiving a second input to the flexible screen under the condition that the first interface of the target application is displayed, wherein the second input is used for folding the flexible screen.
Wherein the second input is a folding input to the flexible screen for folding the flexible screen. Specifically, the second input may be a folding of any edge or multiple edges of the flexible screen, or may be a folding of any corner or multiple corners of the flexible screen, which is not specifically limited in this application. The second input may be the same as the first input or may be different from the first input. When the second input is the same as the first input, when a user inputs the first input or the second input, the electronic device may display a first interface in the first area, and display N thumbnails corresponding to N pieces of target information of the target application in the second area, and at the same time, the electronic device may control the target information displayed in the first area to automatically page or scroll, and at this time, in the process of automatically paging or scrolling the target information displayed in the first area, the thumbnails displayed in the second area change synchronously.
Step 302, in response to the second input, adjusting the target information displayed in the first area.
In this step, the electronic device may adjust the target information displayed in the first area when the first interface of the target application is displayed and a user's folding input to the flexible screen is received. Specifically, the target information of the first area may be controlled to be automatically turned over or automatically scrolled. Referring to fig. 4 and 5, fig. 4 is a schematic view of a display effect of the flexible screen before the second input is received, and fig. 5 is a schematic view of the display effect of the flexible screen after the second input is received. The target application is a browser, when a first interface of the browser is displayed through a flexible screen, a second input that a user folds the bottom edge of the flexible screen is received, at this time, the electronic device can control target information in the first interface to scroll upwards, display information '3333333333' originally displayed at the bottom of the first area is scrolled upwards to the top of the first area, and certainly, the target application can also scroll upwards to any position. Of course, as another embodiment, the second input may be to fold other edges of the flexible screen or to fold corners of the flexible screen to adjust the target information displayed in the first area.
In this embodiment, the page turning or scrolling may be performed on the target information of the target application based on the second input of the user to the flexible screen, so that it is ensured that the displayed information of the target application can be page turned or scrolled in a direction expected by the user, the user operation is further simplified, and the convenience of the user operation is improved.
In this embodiment, when receiving a second input to the flexible screen by the user, the electronic device may automatically adjust the target information displayed in the first area, so that the adjustment of the display information of the target application may be implemented by performing the folding input to the flexible screen without the user inputting a gesture operation on the flexible screen, thereby simplifying the user operation and improving the convenience of the user operation.
Further, the second input is a folding input to the flexible screen, and before the step 302 of adjusting the target information displayed in the first area, the method further includes the following steps:
acquiring a second input parameter, wherein the input parameter comprises at least one of an input position, a turnover angle and a turnover direction;
and determining the scrolling direction and/or scrolling speed for adjusting the target information displayed in the first area according to the input parameters.
The input parameters include one or more of an input position, a folding angle, and a folding direction, and the present application is not limited specifically. The input position refers to a position where the flexible screen is folded, such as any edge or any corner of the flexible screen. The folding angle is an angle for folding an input position of the flexible screen, for example, when the flexible screen is in a tiled state, the folding angle is defined as 0 °, and when the folding position is folded to an angle perpendicular to the tiled state, the folding angle is 90 °. The fold-over direction may be referenced by the user, including a direction closer to the user and a direction further away from the user.
Specifically, a scroll direction for adjusting the target information displayed in the first area may be determined according to the input position. As a first embodiment, if the input position is a first position, the target information displayed in the first area is controlled to scroll upward, and if the input position is a second position, the target information displayed in the first area is controlled to scroll downward, wherein the first position and the second position are opposite sides of the flexible screen, for example, the upper side and the lower side of the flexible screen, or the left side and the right side of the flexible screen. Of course, if the first input is a folding input to the flexible screen corner, the first position may be a lower right corner of the screen, and the second position may be a lower left corner of the screen, as long as the first position and the second position are different. As a second embodiment, if the input position is a first position, the target information displayed in the first area is controlled to scroll to the left, and if the input position is a second position, the target information displayed in the first area is controlled to scroll to the right, wherein the first position and the second position are opposite sides of the flexible screen, for example, the upper side and the lower side of the flexible screen, or the left side and the right side of the flexible screen. As a third implementation manner, if the input position is a first position, the target information displayed in the first area is controlled to scroll in an upper left direction, and if the input position is a second position, the target information displayed in the first area is controlled to scroll in a lower right direction, where the first position and the second position are two opposite corners of the flexible screen, for example, an upper left corner and a lower right corner of the flexible screen, or a lower left corner and an upper right corner of the flexible screen. As a fourth implementation manner, if the input position is a first position, the target information displayed in the first area is controlled to scroll in the upper right direction, and if the input position is a second position, the target information displayed in the first area is controlled to scroll in the lower left direction, where the first position and the second position are two opposite corners of the flexible screen, for example, the upper left corner and the lower right corner of the flexible screen, or the lower left corner and the upper right corner of the flexible screen.
Specifically, the scrolling direction for adjusting the target information displayed in the first area may also be determined according to the flipping direction. As a first implementation manner, when the folding direction is a first folding direction, the target information displayed in the first area may be controlled to roll upwards, and when the folding direction is a second folding direction, the target information displayed in the first area may be controlled to roll downwards, where the first folding direction and the second folding direction are two opposite folding directions, such as a direction close to the user and a direction away from the user. As a second embodiment, when the folding direction is a first folding direction, the target information displayed in the first area may be controlled to roll to the left, and when the folding direction is a second folding direction, the target information displayed in the first area may be controlled to roll to the right, where the first folding direction and the second folding direction are opposite folding directions. As a third embodiment, when the folding direction is a first folding direction, the target information displayed in the first area may be controlled to roll in an upper left direction, and when the folding direction is a second folding direction, the target information displayed in the first area may be controlled to roll in a lower right direction, where the first folding direction and the second folding direction are opposite folding directions. As a fourth embodiment, when the folding direction is a first folding direction, the target information displayed in the first area may be controlled to roll in a left-down direction, and when the folding direction is a second folding direction, the target information displayed in the first area may be controlled to roll in a right-up direction, where the first folding direction and the second folding direction are opposite folding directions.
Specifically, the scrolling speed for adjusting the target information displayed in the first area may be determined according to the folding angle. As a first embodiment, when the input position is any side or any corner of the flexible screen, the scrolling speed is positively correlated with the folding angle, that is, the larger the folding angle is, the higher the scrolling speed in the scrolling direction is.
As a second implementation manner, when the input position is any two opposite sides or any two opposite angles of the flexible screen, the scrolling speed is positively correlated with the absolute value of the difference of the folding angles between any two opposite sides or any two opposite angles, that is, the scrolling speed is higher when the absolute value of the difference of the folding angles is larger, wherein the scrolling direction is determined by the input position with the larger folding angle. As a third embodiment, when the input position is any side or any corner of the flexible screen, the scrolling speed is inversely related to the folding angle, that is, the larger the folding angle is, the smaller the scrolling speed in the scrolling direction is. As a fourth embodiment, when the input position is any two opposite sides or any two opposite angles of the flexible screen, the rolling speed is inversely related to the absolute value of the difference of the folding angles between any two opposite sides or any two opposite angles, that is, the larger the absolute value of the difference of the folding angles is, the smaller the rolling speed is, wherein the rolling direction is determined by the input position with the larger folding angle. It should be noted that the folding angle needs to be within a preset folding angle range, as shown in fig. 6, the preset folding angle range may be an included angle range of 0 ° to 90 ° with a plane of the flexible screen in a tiled state. And if the folding angles of the two opposite sides or two opposite corners are equal, the rolling speed of the target information displayed in the first area is 0.
In this embodiment, the scrolling direction and/or the scrolling speed of the target information displayed in the first area may be controlled based on the second input parameter, so that the target information is guaranteed to be scrolled in the direction and at the speed expected by the user, the user operation is further simplified, and the convenience of the user operation is improved.
Further, after the step 104 displays the target information corresponding to the target thumbnail in the first area, the method further includes the following steps:
and if the flexible screen is in a tiled state, canceling to display the N thumbnails in the second area, and displaying target information corresponding to the target thumbnails in the target area, wherein the target area comprises a first area and a second area.
In an embodiment, when the flexible screen is in the folded state, the user may select a target thumbnail from the N thumbnails displayed in the second area, and adjust the target information displayed in the first area. After the adjustment is completed, the user can restore the state of the flexible screen to the tiled state, after the flexible screen is restored to the tiled state, the electronic device can cancel the thumbnail displayed in the second area, and the target information corresponding to the target thumbnail is displayed through the whole screen of the flexible screen, so that the display area of the target information can be increased under the condition that the user does not need to operate to turn pages or roll, and the user can conveniently check the target information.
It should be noted that, in the information display method provided in the embodiment of the present application, the execution main body may be an information display device, or a control module for the information display method in the information display device. In the embodiment of the present application, an information display device executing an information display method is taken as an example, and the information display device provided in the embodiment of the present application is described.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an information display device according to an embodiment of the present application. As shown in fig. 7, the information display apparatus 700 includes:
a first receiving module 701, configured to receive a first input to a flexible screen in a case where a first interface of a target application is displayed, where the first input is used to fold the flexible screen;
a first display module 702, configured to, in response to a first input, display a first interface in a first area, and display N thumbnails corresponding to N pieces of target information of a target application in a second area, where N is an integer greater than 1;
a second receiving module 703, configured to receive a selection operation on a target thumbnail in the N thumbnails;
and a second display module 704, configured to display, in response to the selection operation, the target information corresponding to the target thumbnail in the first area.
Further, the N thumbnails include target thumbnails and thumbnails corresponding to target information which is not displayed in the first area.
Further, the information display device 700 further includes:
the third receiving module is used for receiving a second input to the flexible screen under the condition that the first interface of the target application is displayed, and the second input is used for folding the flexible screen;
and the adjusting module is used for responding to the second input and adjusting the target information displayed in the first area.
Further, the second input is a folding input to the flexible screen, and the information display device 700 further includes:
the acquisition module is used for acquiring input parameters of second input, and the input parameters comprise at least one of an input position, a turnover angle and a turnover direction;
and the determining module is used for determining the scrolling direction and/or the scrolling speed for adjusting the target information displayed in the first area according to the input parameters.
Further, the information display device 700 further includes:
and the processing module is used for canceling the display of the N thumbnails in the second area and displaying target information corresponding to the target thumbnails in the target area if the flexible screen is in a tiled state, wherein the target area comprises a first area and a second area. The information display device 700 may display a plurality of thumbnails of the target application in the second area of the flexible screen when receiving a first input of the user to the flexible screen, so that the user may select a target thumbnail from the plurality of thumbnails to achieve adjustment of the target information of the target application. Therefore, the display information of the target application can be adjusted by executing the folding input on the flexible screen without inputting gesture operation on the flexible screen by a user, so that the user operation is simplified, and the convenience of the user operation is improved. The information display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The information display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The information display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 6, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the above-mentioned embodiment of the information display method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 907 is configured to receive a first input to the flexible screen while displaying a first interface of the target application, where the first input is used to fold the flexible screen;
a display unit 906, configured to display a first interface in a first area in response to a first input, and display N thumbnails corresponding to N pieces of target information of a target application in a second area, where N is an integer greater than 1;
a user input unit 907 further configured to receive a selection operation of a target thumbnail among the N thumbnails;
a display unit 906 further configured to display object information corresponding to the object thumbnail in the first area in response to the selection operation.
Further, the N thumbnails include target thumbnails and thumbnails corresponding to target information which is not displayed in the first area.
Further, the user input unit 907 is further configured to receive a second input to the flexible screen in a case where the first interface of the target application is displayed, where the second input is used to fold the flexible screen;
and a processor 910, configured to adjust the target information displayed in the first area in response to a second input.
Further, the processor 910 is further configured to obtain a second input parameter, where the second input parameter includes at least one of an input position, a folding angle, and a folding direction;
and determining the scrolling direction and/or scrolling speed for adjusting the target information displayed in the first area according to the input parameters.
Further, the display unit 906 is further configured to cancel displaying the N thumbnails in the second area and display target information corresponding to the target thumbnails in a target area if the flexible screen is in a tiled state, where the target area includes the first area and the second area.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics Processing Unit 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel 9071 and other input devices 9072. A touch panel 9071 also referred to as a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 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. Memory 909 can be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 910 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application 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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.