WO2021017705A1 - 界面显示方法及终端设备 - Google Patents

界面显示方法及终端设备 Download PDF

Info

Publication number
WO2021017705A1
WO2021017705A1 PCT/CN2020/098224 CN2020098224W WO2021017705A1 WO 2021017705 A1 WO2021017705 A1 WO 2021017705A1 CN 2020098224 W CN2020098224 W CN 2020098224W WO 2021017705 A1 WO2021017705 A1 WO 2021017705A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
input
display
folding
area
Prior art date
Application number
PCT/CN2020/098224
Other languages
English (en)
French (fr)
Inventor
陈成磊
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021017705A1 publication Critical patent/WO2021017705A1/zh

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the embodiments of the present disclosure relate to the technical field of terminals, and in particular to an interface display method and terminal equipment.
  • the display screens of most terminal devices are foldable display screens. In this way, the user can reduce the size of the terminal device by folding the display screen when carrying the terminal device, and can increase the display area of the display screen by unfolding the folding display screen when using the terminal device.
  • the display content of the application program interface displayed on the traditional foldable display is fixed, that is, the display content of each application interface displayed on the traditional foldable display does not change with the change of the display area. , Resulting in a single display content.
  • the embodiments of the present disclosure provide an interface display method and terminal device to solve the problem of single display content in traditional foldable terminal devices.
  • an embodiment of the present disclosure provides a method of an interface display method, the method including:
  • the terminal device receives a user's first input, where the first input is the user's input for folding and/or unfolding the terminal device;
  • the terminal device determines X first display areas of the terminal device according to the N target folding areas, and displays Y first interfaces in the X first display areas;
  • the target folding area is: the folding area in the terminal device after the user performs the first input; a first interface is displayed in at least one first display area, and the interface content of the first interface corresponds to the first display area
  • the area size of is related; N, X, Y are positive integers.
  • the embodiments of the present disclosure also provide a terminal device, which includes:
  • a receiving module for receiving a user's first input, the first input folding and/or unfolding the input of the terminal device
  • a determining module configured to determine X first display areas of the terminal device according to the first input received by the receiving module and the N target folding areas;
  • the target folding area is: the folding area in the terminal device after the user performs the first input; a first interface is displayed in at least one first display area, and the interface content of the first interface corresponds to the first display area
  • the area size of is related; N, X, Y are positive integers.
  • the embodiments of the present disclosure provide a terminal device, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor When realizing the steps of the interface display method in the first aspect.
  • embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the interface display method in the first aspect are implemented.
  • the terminal device determines the terminal device according to the N target folding areas that exist in the terminal device after the user performs the first input.
  • X first display areas and in the X first display areas, Y first interfaces are displayed, one first interface is displayed in at least one first display area, and because the interface content of the first interface corresponds to the first interface
  • the area size of a display area is related. In this way, through the user's folding and/or unfolding operations on the terminal device, the terminal device can display application interface content of different levels in different first display areas.
  • FIG. 1 is a schematic side view of a terminal with a combined foldable screen provided by an embodiment of the disclosure
  • FIG. 2 is a schematic side view of a foldable area of a flexible folding screen terminal provided by an embodiment of the disclosure
  • FIG. 3 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of an interface display method provided by an embodiment of the disclosure.
  • FIG. 5 is one of the schematic diagrams of an interface displaying application information provided by an embodiment of the disclosure.
  • FIG. 6 is the second schematic diagram of an interface displaying application information provided by an embodiment of the disclosure.
  • FIG. 7 is the third schematic diagram of an interface displaying application information provided by an embodiment of the disclosure.
  • FIG. 8 is a schematic structural diagram of a terminal device provided by an embodiment of the disclosure.
  • FIG. 9 is a schematic diagram of the hardware structure of a terminal device provided by an embodiment of the disclosure.
  • words such as “first” and “second” are used to describe the same items or similar items with basically the same function or effect.
  • words such as “first” and “second” do not limit the number and execution order.
  • the first display area and the second display area are used to distinguish the division of the display area after folding according to different folding areas, rather than to describe the specific order of the display area.
  • the execution subject of the interface display method provided by the embodiments of the present disclosure may be the aforementioned terminal device (including mobile terminal devices and non-mobile terminal devices), or may be a functional module and/or function in the terminal device that can implement the interface display method
  • the entity can be specifically determined according to actual use requirements, and the embodiment of the present disclosure does not limit it.
  • a terminal device is taken as an example to illustrate the interface display method provided by the embodiment of the present disclosure.
  • the terminal device in the embodiment of the present disclosure is a foldable terminal device.
  • the foregoing terminal device may be a mobile terminal device or a non-mobile terminal device.
  • the above-mentioned mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc.
  • the non-mobile terminal device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc.
  • the embodiment of the present disclosure does not specifically limit it.
  • the above-mentioned foldable terminal device is a foldable terminal device capable of changing the size and quantity of the display screen by folding and/or unfolding according to user requirements.
  • the aforementioned foldable terminal device may be a foldable terminal device composed of multiple terminal devices in a hinged manner, or may be a foldable terminal device including a foldable display screen, which is not limited in the embodiment of the present disclosure.
  • the screen state of the foldable terminal device includes two types, namely the expanded state and the folded state.
  • the preset threshold for example, the angle between two adjacent display screens is greater than 150°
  • the screen state of the terminal device is the unfolded state; when the angle between any two adjacent display screens in the foldable terminal device is less than a preset threshold (for example, the angle between two adjacent display screens is less than 150°), It is considered that the screen state of the foldable terminal device is a folded state. That is, the terminal device can determine the screen state of the terminal device by judging the relationship between the angle between two adjacent display screens in the foldable terminal device and the preset threshold.
  • the folded state further includes the following two states, namely, a folded display state and a folded standby state.
  • the angle between any two adjacent display screens of the foldable terminal device is greater than or equal to the preset folding display angle (for example, the angle between two adjacent display screens is greater than 30°), then It is considered that the screen state of the foldable terminal device is the folded display state, at this time, the foldable terminal device is in the display state; in the folded state, the angle between any two adjacent display screens of the foldable terminal device is less than the preset When the folding standby angle (for example, the angle between two adjacent display screens is less than 30°), the screen state of the foldable terminal device is considered to be the folding standby state. At this time, the foldable display screen is in the standby state.
  • the preset folding display angle for example, the angle between two adjacent display screens is greater than 30°
  • the above-mentioned foldable display screen is a display screen whose size and number can be changed by folding and/or unfolding according to user requirements, that is, the above-mentioned foldable display screen includes N display screens, and N is a positive integer.
  • the aforementioned foldable display screen may be a flexible screen or a combined foldable screen composed of multiple display screens.
  • the above-mentioned flexible screen is a bendable and foldable screen.
  • the foldable area in the above-mentioned foldable display screen is a bendable and foldable area in the foldable display screen. It should be noted that when the foldable area in the foldable display screen is in a folded state, the foldable area is called a "folded area”.
  • the aforementioned combined screen includes at least two display screens, and the connection area between any two display screens belongs to the foldable area.
  • the combined foldable screen includes 4 foldable areas and 5 unfoldable areas.
  • the above four foldable areas are area A1, area B1, area C1, and area D1.
  • the folding areas are 11, 12, 13, and 14 and 15, where the area B1 is in a folded state, and the angle ⁇ of the two display areas 12 and 13 adjacent to B1 is 135°.
  • the area B1 is a folding area.
  • most or all areas of the above-mentioned flexible screen can be bent and foldable, that is, all or part of the flexible screen belongs to the foldable area.
  • the full screen of the flexible screen is bendable and foldable, that is, the full screen of the flexible screen is a foldable area.
  • the area B2 is a folding area.
  • the angle ⁇ between the two display areas 21 and 22 adjacent to B2 is 135°.
  • the terminal device in the embodiment of the present disclosure may be a terminal device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present disclosure.
  • the following takes the Android operating system as an example to introduce the software environment applied by the interface display method provided by the embodiments of the present disclosure.
  • FIG. 3 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure.
  • the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop software programs that implement the interface display method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG. 3, so that the interface The display method can be run based on the Android operating system as shown in FIG. 3. That is, the processor or the terminal device can implement the interface display method provided by the embodiments of the present disclosure by running the software program in the Android operating system.
  • FIG. 4 is a schematic diagram of an interface display process provided by an embodiment of the disclosure, including steps 401 and 402:
  • Step 401 The terminal device receives the user's first input.
  • the above-mentioned first input is an input for folding and/or unfolding the foldable terminal device.
  • the terminal device may determine whether the user folds the foldable terminal device by detecting the bending angle of each area in the foldable terminal device.
  • Step 402 In response to the first input, the terminal device determines X first display areas of the terminal device according to the N target folding areas, and displays Y first interfaces in the X first display areas.
  • N, X, Y are positive integers.
  • the terminal device may determine the target folding area included in the foldable terminal device according to the first input. That is, the aforementioned target folding area is the folding area in the foldable terminal device after the user performs the first input.
  • a first interface is displayed in at least one first display area, and the interface content of the first interface is related to the area size corresponding to the first display area.
  • the larger the area size of the first display area the more interface content of the first interface displayed in the first display area, and the smaller the area size of the first display area, the more information displayed in the first display area
  • the smaller the interface content of the first interface is, that is, the area size of the first display area is proportional to the interface content of the first interface.
  • the above-mentioned first input is an input of the user to fold and/or unfold the foldable display screen within a predetermined time period.
  • the corresponding target folding area is the folding area included in the foldable display screen after the user performs the first input.
  • the content displayed on the foldable display screen does not change.
  • step 401 specifically includes:
  • Step 401a When the terminal device displays the second interface, the terminal device receives the first input of the user.
  • At least one of the above Y first interfaces includes a second interface.
  • the terminal device displays the reading interface of e-book A in the "e-book" application (that is, the above-mentioned second interface, as shown in Fig. 5). 51), the reading interface 51 displays the chapter information of the 4 chapters of the e-book A.
  • Example 1 With reference to Figure 5, as shown in Figure 6(a), when the user folds the foldable area A1 (that is, the aforementioned target folding area) on the screen of the terminal device, the screen is divided into two The display area (that is, the above-mentioned first display area), that is, the display area 61 and the display area 62 in (b) of FIG. 6.
  • the display area 61 displays a music playback interface (ie 61a in Figure 6 (b))
  • the music playback interface 61a displays the song name and playback control controls
  • the display area 62 displays the reading interface of e-book A ( That is 62a) in (b) in Figure 6.
  • the display area 62 displays only the chapter information of the 3 chapters of the e-book A in the reading interface 62a.
  • Example 2 Combining Figure 5 and Figure 6, as shown in Figure 7 (a), the user expands the folding area A1, that is, restores the folding area A1, and performs the folding area C1 on the screen of the terminal device (that is, the aforementioned The target folding area) is folded, and the screen is still divided into two display areas (that is, the above-mentioned first display area), that is, the display area 71 and the display area 72 in (b) of FIG. 7. Among them, the display area 71 displays the music playing interface (ie 71a in Figure 7(b)).
  • the display area 71 is larger than the display area 61 in Figure 6, Therefore, in addition to displaying the song name and playback control controls, the music playback interface 71a also displays the name of the singer, the lyrics content, and the playback progress bar.
  • the display area 72 still displays the reading interface of the e-book A (i.e. in Figure 7 (b) 72a).
  • the display area 72 is smaller than the display area 62 in FIG. 6, therefore, only the e-book A is displayed in the reading interface 72a. Chapter information for 1 chapter.
  • step 401 when the first input is an input of a folding terminal device, the above step 401 specifically includes the following step 401b or step 401c:
  • Step 401c When the foldable terminal device is in a folded state and the foldable terminal device includes K second display areas, the terminal device receives the first input of folding the target display area.
  • the aforementioned target display area is at least one of at least two second display areas, and K is a positive integer.
  • the above-mentioned foldable terminal device includes K second display areas, which indicates that the foldable terminal device includes K-1 folding areas.
  • the aforementioned first input is the user's input for folding the foldable terminal device
  • the aforementioned target folding area is the user's A foldable area that is folded during input.
  • Example 1 Take the combined foldable screen shown in Figure 1 as an example. When all the displays on the screen are unfolded, if the user folds area A1 and area B1 on the screen, the target folding area is the above-mentioned area A1 and Area B1.
  • the aforementioned target folding area includes: user execution The foldable area in the foldable terminal device that was folded before the first input, and the foldable area that was folded when the user performed the first input.
  • Example 2 Take the combined foldable screen shown in Figure 1 as an example.
  • the target folding area is area A1, Area B1 and area C1.
  • the foregoing step 401 specifically includes the following step 401d:
  • Step 401d When the terminal device is in a folded state and there are M second folding areas in the terminal device, the terminal device receives a first input to expand the first folding area.
  • the first folding area is at least one of the M second folding areas; the target folding area is the folding area other than the first folding area in the M second folding areas, M is a positive integer, and M is greater than N .
  • Example 3 Take the combined foldable screen shown in FIG. 1 as an example.
  • the target folding area is the aforementioned area D1.
  • step 402 specifically includes the following step 402a:
  • Step 402a If the area size of any first display area is smaller than the predetermined threshold, the terminal device displays the target interface in the target display area.
  • the above-mentioned target display area includes: any one of the above-mentioned first display areas, or a display area formed by combining any one of the above-mentioned first display areas and adjacent display areas of any one of the above-mentioned first display areas.
  • the aforementioned target interface is one of the Y first interfaces.
  • the above-mentioned target interface may be the interface displayed before the target display area, that is, if the area size of any first display area is smaller than a predetermined threshold, the any first display area still displays the previously displayed interface For the interface, only adjust the interface content displayed on the interface according to the area size of the any first display area.
  • the terminal device determines the terminal according to the N target folding regions existing in the terminal device after the user performs the first input X first display areas of the device, and in the X first display areas, Y first interfaces are displayed, one first interface is displayed in at least one first display area, and because the interface content of the first interface is different from The area size corresponding to the first display area is related. In this way, through the user's folding and/or unfolding operations on the terminal device, the terminal device can display application interface content of different levels in different first display areas.
  • FIG. 8 is a schematic structural diagram of a terminal device provided by an embodiment of the present disclosure.
  • the terminal device 800 includes: a receiving module 801, a determining module 802, and a display module 803, where:
  • the receiving module 801 is configured to receive a user's first input, and the first input is an input for folding and/or unfolding the terminal device;
  • the determining module 802 is configured to determine X first display areas of the terminal device according to the first input received by the receiving module 801 and the N target folding areas.
  • the display module 803 is configured to display Y first interfaces in the X first display areas determined by the determining module 802.
  • the target folding area is: the folding area in the terminal device after the user performs the first input; a first interface is displayed in at least one first display area, and the interface content of the first interface corresponds to the first display area
  • the area size of is related; N, X, Y are positive integers.
  • the aforementioned receiving module 801 is specifically configured to receive the user's folding target when the first input is the input of the user folding the terminal device, the terminal device is in a folded state, and the terminal device contains K second display areas The first input of the display area; wherein the target display area is at least one of the at least two second display areas, and K is a positive integer.
  • the receiving module 801 is specifically configured to receive the unfolding when the first input is an input for unfolding the terminal device, the terminal device is in a folded state, and there are M second folding regions in the terminal device.
  • the aforementioned receiving module 801 is specifically configured to receive the first input of the user when the aforementioned terminal device displays the second interface.
  • the Y first interfaces include the second interface.
  • the aforementioned display module 803 is specifically configured to: if the area size of any one of the X first display areas is less than a predetermined threshold, display the target interface in the target display area; wherein, The target display area includes: any one of the first display areas described above, or a display area formed by combining any one of the first display areas and adjacent display areas of any one of the first display areas; the target interface is Y first display areas One of the interface.
  • the terminal device determines the terminal device according to the N target folding regions existing in the terminal device after the user performs the first input X first display areas of the terminal device, and in the X first display areas, Y first interfaces are displayed, one first interface is displayed in at least one first display area, and due to the interface content of the first interface It is related to the area size corresponding to the first display area. In this way, through the user's folding and/or unfolding operations on the display screen of the terminal device, the terminal device can display application interface content of different levels in different first display areas.
  • the terminal device provided in the embodiment of the present disclosure can implement each process implemented by the terminal device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • the terminal device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, power supply 111 and other components.
  • a radio frequency unit 101 for example, a radio frequency unit
  • a network module 102 for example, a radio frequency unit
  • an audio output unit 103 includes an audio signals from a terminal device
  • an input unit 104 includes a sensor 105, and a display unit 106
  • user input unit 107 includes a radio frequency unit 103, a microphone 106, and a display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, power supply 111 and other components.
  • the structure of the terminal device 100 shown in FIG. 9 does not constitute a limitation on the terminal device, and the terminal device 100 may include more or fewer components than shown in the figure, or combine certain components, or Different
  • the terminal device 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, and a pedometer, etc.
  • the user input unit 107 is configured to receive a user's first input; the processor 110 is configured to respond to the first input received by the user input unit 107 and determine the X first input of the display screen according to the N target folding areas. Display area, and display Y first interfaces in the X first display areas; wherein, the first input is an input for folding and/or unfolding the terminal device, and the target folding area is: the user performs the first input Then the folding area in the terminal device; a first interface is displayed in at least one first display area, and the interface content of the first interface is related to the area size of the corresponding first display area; N, X, and Y are positive integers.
  • the terminal device after the terminal device receives the first input of the user to fold and/or unfold the terminal device, according to the N target folding areas existing in the terminal device after the user performs the first input, Determine the X first display areas of the terminal device, and display Y first interfaces in the X first display areas, one first interface is displayed in at least one first display area, and due to the The interface content is related to the area size of the corresponding first display area. In this way, through the user's folding and/or unfolding operations on the terminal device, the terminal device can display application interface content of different levels in different first display areas.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; Uplink data is sent to the base station.
  • the radio frequency unit 101 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.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the terminal device 100 provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into audio signals and output them as sounds. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the terminal device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc.
  • LCD Liquid Crystal Display
  • OLED Organic Light-Emitting Diode
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the terminal device 100.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it is transmitted to the processor 110 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the terminal device 100, in some embodiments, the touch panel 1071 and the display panel 1061 may be combined.
  • the input and output functions of the terminal device 100 are realized by integration, which is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the terminal device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 100 or can be used to connect to the terminal device 100 and external Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the terminal device 100. It uses various interfaces and lines to connect the various parts of the entire terminal device 100, runs or executes software programs and/or modules stored in the memory 109, and calls and stores them in the memory 109. The data, execute various functions of the terminal device 100 and process data, so as to monitor the terminal device 100 as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the terminal device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a terminal device, including a processor, a memory, and a computer program stored in the memory and running on the processor 110.
  • the computer program implements the aforementioned interface when executed by the processor.
  • Each process of the method embodiment is shown, and the same technical effect can be achieved. In order to avoid repetition, it will not be repeated here.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored.
  • the computer program is executed by a processor, each process of the above-mentioned interface display method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present disclosure.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

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)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种界面显示方法及终端设备,该方法包括:接收用户的第一输入(401),该第一输入为折叠和/或展开可折叠终端设备的输入,响应于第一输入,根据N个目标折叠区域,确定显示屏的X个第一显示区域,并在X个第一显示区域中,显示Y个第一界面(402);其中,该目标折叠区域为:用户执行第一输入后该终端设备中的折叠区域;一个第一界面显示在至少一个第一显示区域中,该第一界面的界面内容与对应第一显示区域的区域尺寸相关;N、X、Y为正整数。

Description

界面显示方法及终端设备
相关申请的交叉引用
本申请主张在2019年07月29日在中国提交的中国专利申请号201910690847.X的优先权,其全部内容通过引用包含于此。
技术领域
本公开实施例涉及终端技术领域,尤其涉及一种界面显示方法及终端设备。
背景技术
随着终端设备技术的发展,大屏幕终端设备(例如,智能手机)受到越来越多用户的喜爱。为便于携带以及提升终端设备的可操作性,目前大部分的终端设备的显示屏为可折叠显示屏。这样,用户在携带终端设备时可以通过折叠显示屏来缩小终端设备体积,在使用终端设备时可以通过展开折叠显示屏来增加显示屏的显示面积。
然而,传统的可折叠显示屏显示的应用程序界面的显示内容是固定的,即传统的可折叠显示屏中显示每个应用程序界面的显示内容并不会随着显示屏的面积的改变而改变,从而导致显示内容单一。
发明内容
本公开实施例提供一种界面显示方法及终端设备,以解决传统可折叠终端设备中所存在的显示内容单一的问题。
为了解决上述技术问题,本公开是这样实现的:
第一方面,本公开实施例提供一种界面显示方法的方法,该方法包括:
终端设备接收用户的第一输入,该第一输入为用户折叠和/或展开该终端设备的输入;
响应于该第一输入,终端设备根据N个目标折叠区域,确定该终端设备的X个第一显示区域,并在该X个第一显示区域中,显示Y个第一界面;
其中,上述目标折叠区域为:用户执行该第一输入后该终端设备中的折叠区域;一个第一界面显示在至少一个第一显示区域中,上述第一界面的界面内容与对应第一显示区域的区域尺寸相关;N、X、Y为正整数。
第二方面,本公开实施例还提供了一种终端设备,该终端设备包括:
接收模块,用于接收用户的第一输入,该第一输入折叠和/或展开该终端设备的输入;
确定模块,用于根据接收模块接收的第一输入,根据N个目标折叠区域,确定该终端设备的X个第一显示区域;
显示模块,用于在确定模块确定的X个第一显示区域中,显示Y个第一界面;
其中,上述目标折叠区域为:用户执行该第一输入后该终端设备中的折叠区域;一个第一界面显示在至少一个第一显示区域中,上述第一界面的界面内容与对应第一显示区域的区域尺寸相关;N、X、Y为正整数。
第三方面,本公开实施例提供了一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面界面显示方法的步骤。
第四方面,本公开实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如第一方面界面显示方法的步骤。
在本公开实施例中,终端设备在接收到用户折叠和/或展开该终端设备的输入后,根据用户执行该第一输入后该终端设备中存在的N个目标折叠区域,确定该终端设备的X个第一显示区域,并在该X个第一显示区域中,显示Y个第一界面,一个第一界面显示在至少一个第一显示区域中,并且由于第一界面的界面内容与对应第一显示区域的区域尺寸相关,这样,通过用户对终 端设备的折叠和/或展开的操作,使得终端设备能够在不同的第一显示区域中显示应用不同层次的界面内容。
附图说明
图1为本公开实施例提供的一种组合可折叠屏的终端侧视示意图;
图2为本公开实施例提供的一种柔性折叠屏终端的可折叠区域侧视示意图;
图3为本公开实施例提供的一种可能的安卓操作系统的架构示意图;
图4为本公开实施例提供的一种界面显示方法的流程示意图;
图5为本公开实施例提供的一种界面显示应用信息的界面的示意图之一;
图6为本公开实施例提供的一种界面显示应用信息的界面的示意图之二;
图7为本公开实施例提供的一种界面显示应用信息的界面的示意图之三;
图8为本公开实施例提供的一种终端设备的结构示意图;
图9为本公开实施例提供的一种终端设备的硬件结构示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
需要说明的是,本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“多个”是指两个或多于两个。
需要说明的是,本公开实施例中,“示例性的”或者“例如”等词用于表 示作为例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
需要说明的是,为了便于清楚描述本公开实施例的技术方案,在本公开实施例中,采用了“第一”、“第二”等字样对功能或作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定。例如,第一显示区域和第二显示区域是用于区别不根据不同折叠区域折叠后的显示区域的划分,而不是用于描述的显示区域的特定顺序。
本公开实施例提供的界面显示方法的执行主体可以为上述的终端设备(包括移动终端设备和非移动终端设备),也可以为该终端设备中能够实现该界面显示方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本公开实施例不作限定。下面以终端设备为例,对本公开实施例提供的界面显示方法进行示例性的说明。
本公开实施例中的终端设备为可折叠终端设备。示例性的,上述的终端设备可以为移动终端设备,也可以为非移动终端设备。其中,上述移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等;本公开实施例不作具体限定。
示例性的,上述的可折叠终端设备为能够按照用户需求通过折叠和/或展开方式改变显示屏尺寸及数量的可折叠终端设备。具体的,上述的可折叠终端设备可以是由多个终端设备通过铰接的方式组成的可折叠终端设备,也可以是包含可折叠显示屏的可折叠终端设备,本公开实施例对此不作限定。
一般的,可折叠终端设备的屏幕状态包括两种,分别为展开状态和折叠状态。其中,当可折叠终端设备中所有相邻的两个显示屏之间的夹角大于或等于预设阈值(如,相邻的两个显示屏的夹角大于150°),则认为该可折叠终端设备的屏幕状态为展开状态;当可折叠终端设备中任意相邻的两个显示屏之间的夹角小于预设阈值(如,相邻的两个显示屏的夹角小于150°),则认为该可折叠终端设备的屏幕状态为折叠状态。即,终端设备可以通过判断可折叠终端设备中的相邻两个显示屏之间的夹角与预设阈值的关系,来确定终端设备的屏幕状态。
进一步的,当可折叠终端设备的屏幕状态为折叠状态的情况下,该折叠状态还包括以下两个状态,即折叠显示状态和折叠待机状态。
其中,折叠状态下可折叠终端设备的任意相邻的两个显示屏之间的夹角大于或等于预设折叠显示角度(如,相邻的两个显示屏的夹角大于30°),则认为该可折叠终端设备的屏幕状态为折叠显示状态,此时,该可折叠终端设备处于显示状态;折叠状态下可折叠终端设备的任意相邻的两个显示屏之间的夹角小于预设折叠待机角度(如,相邻的两个显示屏的夹角小于30°),则认为该可折叠终端设备的屏幕状态为折叠待机状态,此时,该可折叠显示屏处于待机状态。
示例性的,上述可折叠显示屏为能够按照用户需求通过折叠和/或展开方式改变显示屏尺寸及数量的显示屏,即上述的可折叠显示屏包括N个显示屏,N为正整数。示例性的,上述的可折叠显示屏可以为柔性屏幕或由多个显示屏组成的组合的可折叠屏幕。其中,上述的柔性屏幕为屏幕可弯折、可折叠的屏幕。
示例性的,上述可折叠显示屏中的可折叠区域为该可折叠显示屏中的可弯折、可折叠的区域。需要说明的是,当可折叠显示屏中的可折叠区域处于折叠状态时,则该可折叠区域称为“折叠区域”。
在一种示例中,针对上述组合可折叠屏幕来说,上述组合屏幕包括至少2个显示屏,任意两个显示屏之间的连接区域属于可折叠区域。
如图1所示,该组合可折叠屏包括4个可折叠区域以及5个不可折叠区域,上述的4个可折叠区域分别为区域A1、区域B1、区域C1以及区域D1,上述的5个不可折叠区域分别为11、区域12、区域13以及区域14以及区域15,其中,区域B1处于折叠状态,且与B1相邻的两个显示区域12与13的角度θ=135°。示例性的,当用户对可折叠区域B1进行折叠时,该区域B1为折叠区域。
在一种示例中,针对上述柔性屏幕来说,上述柔性屏幕中的大部分或全部区域均可弯曲、可折叠,即该柔性屏幕的全部或部分屏幕均属于可折叠区域。
如图2中的(a)所示,该柔性屏幕的全屏可弯曲、可折叠,即该柔性屏幕的全屏均为可折叠区域。如图2中的(b)所示,当用户对该柔性屏幕的区域B2进行折叠时,该区域B2为折叠区域。其中,与B2相邻的两个显示区域21与22的角度θ=135°。
本公开实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本公开实施例不作具体限定。
下面以安卓操作系统为例,介绍一下本公开实施例提供的界面显示方法所应用的软件环境。
如图3所示,为本公开实施例提供的一种可能的安卓操作系统的架构示意图。在图3中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于 为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本公开实施例中,开发人员可以基于上述如图3所示的安卓操作系统的系统架构,开发实现本公开实施例提供的界面显示方法的软件程序,从而使得该界面显示方法可以基于如图3所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本公开实施例提供的界面显示方法。
下面结合图4所示的一种界面显示方法流程图对本公开实施例的界面显示方法进行说明,图4为本公开实施例提供的一种界面显示流程示意图,包括步骤401和步骤402:
步骤401:终端设备接收用户的第一输入。
在本公开实施例中,上述第一输入为折叠和/或展开该可折叠终端设备的输入。
示例性的,终端设备可以通过检测该可折叠终端设备中各区域的弯折角度,来判定用户是否折叠该可折叠终端设备。
步骤402:响应于第一输入,终端设备根据N个目标折叠区域,确定该终端设备的X个第一显示区域,并在X个第一显示区域中,显示Y个第一界面。
其中,N、X、Y为正整数。
在本公开实施例中,终端设备可以根据第一输入来确定出该可折叠终端设备中包含的目标折叠区域。即上述目标折叠区域为用户执行第一输入后该可折叠终端设备中的折叠区域。
在本公开实施例中,一个第一界面显示在至少一个第一显示区域中,该第一界面的界面内容与对应该第一显示区域的区域尺寸相关。一般的,该第一显示区域的区域尺寸越大,该第一显示区域内显示的第一界面的界 面内容越多,该第一显示区域的区域尺寸越小,该第一显示区域内显示的第一界面的界面内容越少,即第一显示区域的区域尺寸与第一界面的界面内容成正比。
可选地,在本公开实施例中,上述第一输入为用户在预定时间段内折叠和/或展开该可折叠显示屏的输入。此时,对应的目标折叠区域为用户执行该第一输入后该可折叠显示屏中包含的折叠区域。在一种示例中,用户在执行第一输入的过程中,该可折叠显示屏中所显示的内容不变。
可选地,在本公开实施例中,上述的步骤401具体包括:
步骤401a:在终端设备显示第二界面的情况下,终端设备接收用户的第一输入。
示例性的,上述的Y个第一界面中的至少一个第一界面包括第二界面。
举例说明,以图1所示的组合可折叠屏幕为例,如图5所示,终端设备显示“电子书”应用中的电子书A的阅读界面(即上述的第二界面,如图5中的51),该阅读界面51中显示有电子书A的4个章节的章节信息。
示例1:结合图5,如图6中的(a)所示,当用户对该终端设备的屏幕中的可折叠区域A1(即上述的目标折叠区域)进行折叠,该屏幕被分为2个显示区域(即上述的第一显示区域),即图6中的(b)中的显示区域61以及显示区域62。其中,显示区域61中显示音乐播放界面(即图6中(b)中的61a),该音乐播放界面61a中显示有歌曲名称及播放控制控件,显示区域62中显示电子书A的阅读界面(即图6中(b)中的62a)。由于终端设备的屏幕被折叠后,显示该阅读界面62a的显示区域的区域尺寸变小,因此,显示区域62中显示阅读界面62a中仅显示电子书A的3个章节的章节信息。
示例2:结合图5、图6,如图7中的(a)所示,用户展开折叠区域A1,即还原折叠区域A1,并对该终端设备的屏幕中的可折叠区域C1(即上述的目标折叠区域)进行折叠,该屏幕仍然被分为2个显示区域(即上述的第一显示区域),即图7中的(b)中的显示区域71以及显示区域72。 其中,显示区域71中显示音乐播放界面(即图7中(b)中的71a),由于终端设备的屏幕被折叠后,显示区域71相较于图6中的显示区域61区域尺寸变大,因此,音乐播放界面71a中除了显示有歌曲名称及播放控制控件以外,还增加显示了歌手名字、歌词内容以及播放进度条等,显示区域72中依然显示电子书A的阅读界面(即图7中(b)中的72a),同时,由于终端设备的屏幕被折叠后,显示区域72相较于图6中的显示区域62区域尺寸变小,因此,该阅读界面72a中仅显示了电子书A的1个章节的章节信息。
可选地,在本公开实施例中,在第一输入为折叠终端设备的输入的情况下,上述步骤401具体包括如下步骤401b或步骤401c:
步骤401b:在可折叠终端设备处于展开状态的情况下,终端设备接收用户的第一输入,X=N+1。
步骤401c:在可折叠终端设备处于折叠状态、且可折叠终端设备包含K个第二显示区域的情况下,终端设备接收折叠目标显示区域的第一输入。
其中,上述目标显示区域为至少两个第二显示区域中的至少一个,K为正整数。上述可折叠终端设备包含K个第二显示区域,则表明该可折叠终端设备包含K-1个折叠区域。
示例性的,在接收用户第一输入之前,该可折叠终端设备处于展开状态的情况下,若上述的第一输入为用户折叠可折叠终端设备的输入,则上述的目标折叠区域为用户执行第一输入时折叠的可折叠区域。
例1:以图1所示的组合可折叠屏幕为例,在该屏幕中全部显示屏均展开时,若用户对该屏幕中的区域A1以及区域B1折叠,则目标折叠区域为上述区域A1以及区域B1。
示例性的,在接收用户第一输入之前,该可折叠终端设备处于折叠状态的情况下,若上述的第一输入为用户折叠可折叠终端设备的输入,则上述的目标折叠区域包括:用户执行第一输入之前该可折叠终端设备中被折叠的可折叠区域,以及用户执行第一输入时折叠的可折叠区域。
例2:以图1所示的组合可折叠屏幕为例,在该屏幕中区域C1被折叠的情况下,若用户对该屏幕中的区域A1以及区域B1折叠,则目标折叠区域为区域A1、区域B1以及区域C1。
可选地,在本公开实施例中,在第一输入为展开终端设备的输入的情况下,上述步骤401具体包括如下步骤401d:
步骤401d:在终端设备处于折叠状态、且终端设备中存在M个第二折叠区域的情况下,终端设备接收展开第一折叠区域的第一输入。
其中,上述第一折叠区域为M个第二折叠区域中的至少一个;上述目标折叠区域为M个第二折叠区域中除第一折叠区域以外的其他折叠区域,M为正整数,M大于N。
例3:以图1所示的组合可折叠屏幕为例,在该屏幕中区域C1以及区域D1被折叠的情况下,若用户展开区域C1,则目标折叠区域为上述区域D1。
可选地,在本公开实施例中,针对X个第一显示区域中的任一第一显示区域,上述步骤402具体包括如下步骤402a:
步骤402a:若任一第一显示区域的区域尺寸小于预定阈值,则终端设备在目标显示区域中,显示目标界面。
其中,上述目标显示区域包括:上述任一第一显示区域,或者,上述任一第一显示区域与上述任一第一显示区域的相邻显示区域组合成的显示区域。上述目标界面为Y个第一界面中的一个。
示例性的,上述的目标界面可以为该目标显示区域之前所显示的界面,即,若任一第一显示区域的区域尺寸小于预定阈值,则该任一第一显示区域仍显示之前所显示的界面,仅按照该任一第一显示区域的区域尺寸调整该界面所显示的界面内容。
本公开实施例提供的界面显示方法,终端设备在接收到用户折叠和/或展开该终端设备的输入后,根据用户执行该第一输入后该终端设备中存在的N个目标折叠区域,确定终端设备的X个第一显示区域,并在该X 个第一显示区域中,显示Y个第一界面,一个第一界面显示在至少一个第一显示区域中,并且由于第一界面的界面内容与对应第一显示区域的区域尺寸相关,这样,通过用户对终端设备的折叠和/或展开的操作,使得终端设备能够在不同的第一显示区域中显示应用不同层次的界面内容。
图8为实现本公开实施例提供的一种终端设备的结构示意图,如图8所示,终端设备800包括:接收模块801、确定模块802和显示模块803,其中:
接收模块801,用于接收用户的第一输入,该第一输入为折叠和/或展开终端设备的输入;
确定模块802,用于根据上述接收模块801接收的第一输入,根据N个目标折叠区域,确定该终端设备的X个第一显示区域。
显示模块803,用于在确定模块802确定的X个第一显示区域中,显示Y个第一界面。
其中,上述目标折叠区域为:用户执行上述第一输入后该终端设备中的折叠区域;一个第一界面显示在至少一个第一显示区域中,该第一界面的界面内容与对应第一显示区域的区域尺寸相关;N、X、Y为正整数。
可选地,上述接收模块801,具体用于:在第一输入为折叠终端设备的输入、且该终端设备处于展开状态的情况下,接收用户的第一输入,X=N+1。
可选地,上述接收模块801,具体用于:在第一输入为用户折叠终端设备的输入、终端设备处于折叠状态、且该终端设备包含K个第二显示区域的情况下,接收用户折叠目标显示区域的第一输入;其中,上述目标显示区域为至少两个第二显示区域中的至少一个,K为正整数。
可选地,上述接收模块801,具体用于:在第一输入为展开上述终端设备的输入、该终端设备处于折叠状态、且该终端设备中存在M个第二折叠区域的情况下,接收展开第一折叠区域的第一输入;其中,第一折叠区域为M个第二折叠区域中的至少一个;目标折叠区域为M个第二折叠区 域中除该第一折叠区域以外的其他折叠区域,M为正整数,M大于N。
可选地,上述接收模块801,具体用于:在上述终端设备显示第二界面的情况下,接收用户的第一输入。其中,上述Y个第一界面包括该第二界面。
可选地,上述显示模块803,具体用于:若该X个第一显示区域中的任一第一显示区域的的区域尺寸小于预定阈值,则在目标显示区域中,显示目标界面;其中,该目标显示区域包括:上述任一第一显示区域,或者,上述任一第一显示区域与上述任一第一显示区域的相邻显示区域组合成的显示区域;该目标界面为Y个第一界面中的一个。
本公开实施例提供的终端设备,该终端设备在接收到用户折叠和/或展开该终端设备的输入后,根据用户执行该第一输入后该终端设备中存在的N个目标折叠区域,确定该终端设备的X个第一显示区域,并在该X个第一显示区域中,显示Y个第一界面,一个第一界面显示在至少一个第一显示区域中,并且由于第一界面的界面内容与对应第一显示区域的区域尺寸相关,这样,通过用户对终端设备的显示屏的折叠和/或展开的操作,使得终端设备能够在不同的第一显示区域中显示应用不同层次的界面内容。
本公开实施例提供的终端设备能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。
图9为实现本公开各个实施例的一种终端设备的硬件结构示意图,该终端设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图9中示出的终端设备100的结构并不构成对终端设备的限定,终端设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备100包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。
其中,用户输入单元107,用于接收用户的第一输入;处理器110,用于响应于用户输入单元107接收的第一输入,根据N个目标折叠区域,确定该显示屏的X个第一显示区域,并在该X个第一显示区域中,显示Y个第一界面;其中,该第一输入为折叠和/或展开终端设备的输入,该目标折叠区域为:用户执行该第一输入后该终端设备中的折叠区域;一个第一界面显示在至少一个第一显示区域中,上述第一界面的界面内容与对应第一显示区域的区域尺寸相关;N、X、Y为正整数。
本公开实施例提供的终端设备,该终端设备在接收到用户折叠和/或展开该终端设备的第一输入后,根据用户执行该第一输入后该终端设备中存在的N个目标折叠区域,确定该终端设备的X个第一显示区域,并在该X个第一显示区域中,显示Y个第一界面,一个第一界面显示在至少一个第一显示区域中,并且由于第一界面的界面内容与对应第一显示区域的区域尺寸相关,这样,通过用户对终端设备的折叠和/或展开的操作,使得终端设备能够在不同的第一显示区域中显示应用不同层次的界面内容。
应理解的是,本公开实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。
终端设备100通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与终端设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。
终端设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在终端设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。
用户输入单元107可用于接收输入的数字或字符信息,以及产生与终端设备100的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、 触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图9中,触控面板1071与显示面板1061是作为两个独立的部件来实现终端设备100的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现终端设备100的输入和输出功能,具体此处不做限定。
接口单元108为外部装置与终端设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备100内的一个或多个元件或者可以用于在终端设备100和外部装置之间传输数据。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储 数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器110是终端设备100的控制中心,利用各种接口和线路连接整个终端设备100的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行终端设备100的各种功能和处理数据,从而对终端设备100进行整体监控。处理器110可包括一个或多个处理单元;可选地,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
终端设备100还可以包括给各个部件供电的电源111(比如电池),可选地,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,终端设备100包括一些未示出的功能模块,在此不再赘述。
可选地,本公开实施例还提供一种终端设备,包括处理器,存储器,存储在存储器上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器执行时实现上述界面显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述界面显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体 意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (14)

  1. 一种界面显示方法,应用于可折叠终端设备,所述方法包括:
    接收用户的第一输入,所述第一输入为折叠和/或展开所述终端设备的输入;
    响应于所述第一输入,根据N个目标折叠区域,确定所述终端设备的X个第一显示区域,并在所述X个第一显示区域中,显示Y个第一界面;
    其中,所述目标折叠区域为:用户执行所述第一输入后所述终端设备中的折叠区域;
    一个第一界面显示在至少一个第一显示区域中,所述第一界面的界面内容与对应第一显示区域的区域尺寸相关;
    N、X、Y为正整数。
  2. 根据权利要求1所述的方法,其中,在所述第一输入为折叠所述终端设备的输入的情况下,所述接收用户的第一输入,包括:
    在所述终端设备处于展开状态的情况下,接收用户的第一输入,X=N+1。
  3. 根据权利要求1所述的方法,其中,在所述第一输入为折叠所述终端设备的输入的情况下,所述接收用户的第一输入,包括:
    在所述终端设备处于折叠状态、且所述终端设备包含K个第二显示区域的情况下,接收折叠目标显示区域的第一输入;
    其中,所述目标显示区域为所述至少两个第二显示区域中的至少一个,K为正整数。
  4. 根据权利要求1所述的方法,其中,在所述第一输入为展开所述终端设备的输入的情况下,所述接收用户的第一输入,包括:
    在所述终端设备处于折叠状态、且所述终端设备中存在M个第二折叠区域的情况下,接收展开第一折叠区域的第一输入;
    其中,所述第一折叠区域为所述M个第二折叠区域中的至少一个;所述目标折叠区域为所述M个第二折叠区域中除所述第一折叠区域以外的 其他折叠区域,M为正整数,M大于N。
  5. 根据权利要求1所述的方法,其中,所述接收用户的第一输入,包括:
    在所述终端设备显示第二界面的情况下,接收用户的第一输入;
    其中,所述Y个第一界面包括所述第二界面。
  6. 根据权利要求1至5中任一项所述的方法,其中,所述在所述X个第一显示区域中,显示Y个第一界面,包括:
    若所述X个第一显示区域中的所述任一第一显示区域的区域尺寸小于预定阈值,则在目标显示区域中,显示目标界面;
    其中,所述目标显示区域包括:所述任一第一显示区域,或者,所述任一第一显示区域与所述任一第一显示区域的相邻显示区域组合成的显示区域;所述目标界面为所述Y个第一界面中的一个。
  7. 一种终端设备,包括可折叠终端设备,所述终端设备还包括:
    接收模块,用于接收用户的第一输入,所述第一输入为折叠和/或展开所述终端设备的输入;
    确定模块,用于根据所述接收模块接收的第一输入,根据N个目标折叠区域,确定所述终端设备的X个第一显示区域;
    显示模块,用于在所述确定模块确定的X个第一显示区域中,显示Y个第一界面;
    其中,所述目标折叠区域为:用户执行所述第一输入后所述终端设备中的折叠区域;
    一个第一界面显示在至少一个第一显示区域中,所述第一界面的界面内容与对应第一显示区域的区域尺寸相关;
    N、X、Y为正整数。
  8. 根据权利要求7所述的终端设备,其中,所述接收模块,具体用于:在所述第一输入为折叠所述终端设备的输入、且所述终端设备处于展开状态的情况下,接收用户的第一输入,X=N+1。
  9. 根据权利要求7所述的终端设备,其中,所述接收模块,具体用于:
    在所述第一输入为折叠所述终端设备的输入、所述终端设备处于折叠状态、且所述终端设备包含K个第二显示区域的情况下,接收用户折叠目标显示区域的第一输入;
    其中,所述目标显示区域为所述至少两个第二显示区域中的至少一个,K为正整数。
  10. 根据权利要求7所述的终端设备,其中,所述接收模块,具体用于:
    在所述第一输入为展开所述终端设备的输入、所述终端设备处于折叠状态、且所述终端设备中存在M个第二折叠区域的情况下,接收展开第一折叠区域的第一输入;
    其中,所述第一折叠区域为所述M个第二折叠区域中的至少一个;所述目标折叠区域为所述M个第二折叠区域中除所述第一折叠区域以外的其他折叠区域,M为正整数,M大于N。
  11. 根据权利要求7所述的终端设备,其中,所述接收模块,具体用于:
    在所述终端设备显示第二界面的情况下,接收用户的第一输入;
    其中,所述Y个第一界面包括所述第二界面。
  12. 根据权利要求7至11中任一项所述的终端设备,其中,所述显示模块,具体用于:
    若所述X个第一显示区域中的任一第一显示区域的区域尺寸小于预定阈值,则在目标显示区域中,显示目标界面;
    其中,所述目标显示区域包括:所述任一第一显示区域,或者,所述任一第一显示区域与所述任一第一显示区域的相邻显示区域组合成的显示区域;所述目标界面为所述Y个第一界面中的一个。
  13. 一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时 实现如权利要求中1至6中任一项所述的界面显示方法的步骤。
  14. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的界面显示方法的步骤。
PCT/CN2020/098224 2019-07-29 2020-06-24 界面显示方法及终端设备 WO2021017705A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910690847.X 2019-07-29
CN201910690847.XA CN110489038B (zh) 2019-07-29 2019-07-29 界面显示方法及终端设备

Publications (1)

Publication Number Publication Date
WO2021017705A1 true WO2021017705A1 (zh) 2021-02-04

Family

ID=68548587

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/098224 WO2021017705A1 (zh) 2019-07-29 2020-06-24 界面显示方法及终端设备

Country Status (2)

Country Link
CN (1) CN110489038B (zh)
WO (1) WO2021017705A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489038B (zh) * 2019-07-29 2021-03-12 维沃移动通信有限公司 界面显示方法及终端设备
CN111813293B (zh) * 2020-05-29 2021-12-10 维沃移动通信有限公司 应用程序的管理方法及电子设备
CN111857505B (zh) * 2020-07-16 2022-07-05 Oppo广东移动通信有限公司 一种显示方法、装置及存储介质
CN112698896B (zh) * 2020-12-25 2024-05-31 维沃移动通信有限公司 文本显示方法和电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196776A (zh) * 2017-12-26 2018-06-22 努比亚技术有限公司 一种终端分屏方法、终端及计算机可读存储介质
CN108196804A (zh) * 2017-12-28 2018-06-22 努比亚技术有限公司 基于柔性屏的分屏方法、终端和计算机存储介质
CN108196810A (zh) * 2017-12-21 2018-06-22 努比亚技术有限公司 一种分屏显示方法、终端及计算机可读存储介质
CN108319390A (zh) * 2018-01-25 2018-07-24 维沃移动通信有限公司 一种柔性屏的控制方法及移动终端
CN108664185A (zh) * 2018-04-28 2018-10-16 努比亚技术有限公司 画面显示方法、移动终端及计算机可读存储介质
CN108762630A (zh) * 2018-04-26 2018-11-06 努比亚技术有限公司 终端控制方法、柔性终端及计算机可读存储介质
CN110489038A (zh) * 2019-07-29 2019-11-22 维沃移动通信有限公司 界面显示方法及终端设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140095711A (ko) * 2013-01-25 2014-08-04 삼성전자주식회사 전자 장치 및 그 동작 방법
CN204406917U (zh) * 2015-01-16 2015-06-17 京东方科技集团股份有限公司 多用途会议终端
CN109766048B (zh) * 2018-12-29 2021-03-02 维沃移动通信有限公司 一种柔性显示屏的显示方法及移动终端
CN109814972B (zh) * 2019-01-28 2021-04-09 维沃移动通信有限公司 界面显示方法及终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196810A (zh) * 2017-12-21 2018-06-22 努比亚技术有限公司 一种分屏显示方法、终端及计算机可读存储介质
CN108196776A (zh) * 2017-12-26 2018-06-22 努比亚技术有限公司 一种终端分屏方法、终端及计算机可读存储介质
CN108196804A (zh) * 2017-12-28 2018-06-22 努比亚技术有限公司 基于柔性屏的分屏方法、终端和计算机存储介质
CN108319390A (zh) * 2018-01-25 2018-07-24 维沃移动通信有限公司 一种柔性屏的控制方法及移动终端
CN108762630A (zh) * 2018-04-26 2018-11-06 努比亚技术有限公司 终端控制方法、柔性终端及计算机可读存储介质
CN108664185A (zh) * 2018-04-28 2018-10-16 努比亚技术有限公司 画面显示方法、移动终端及计算机可读存储介质
CN110489038A (zh) * 2019-07-29 2019-11-22 维沃移动通信有限公司 界面显示方法及终端设备

Also Published As

Publication number Publication date
CN110489038A (zh) 2019-11-22
CN110489038B (zh) 2021-03-12

Similar Documents

Publication Publication Date Title
US11243653B2 (en) Method for display control and mobile terminal
EP3816780B1 (en) Display control method and terminal
WO2021017705A1 (zh) 界面显示方法及终端设备
US20220286504A1 (en) Application sharing method, electronic device and computer readable storage medium
WO2020192296A1 (zh) 界面显示方法及终端设备
WO2020186945A1 (zh) 界面显示方法及终端设备
US11604567B2 (en) Information processing method and terminal
US20220086798A1 (en) Notification message processing method and terminal
US20220004357A1 (en) Audio signal outputting method and terminal device
EP4071607B1 (en) Method for sharing application, electronic apparatus, and computer readable storage medium
CN109032486B (zh) 一种显示控制方法及终端设备
WO2020215932A1 (zh) 显示未读消息的方法及终端设备
WO2020151460A1 (zh) 对象处理方法及终端设备
WO2021121398A1 (zh) 一种视频录制方法及电子设备
WO2020238459A1 (zh) 显示方法和终端设备
CN109348019B (zh) 一种显示方法及装置
WO2020220893A1 (zh) 截图方法及移动终端
WO2019228296A1 (zh) 显示处理方法及终端设备
WO2021115172A1 (zh) 显示方法及电子设备
CN110784575B (zh) 一种电子设备和拍摄方法
US11947790B2 (en) Interface display method and terminal, and computer readable storage medium
WO2020215982A1 (zh) 桌面图标管理方法及终端设备
WO2020151490A1 (zh) 应用的控制方法及终端设备
WO2020211602A1 (zh) 应用控制方法及终端设备
WO2020168882A1 (zh) 界面显示方法及终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20848669

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20848669

Country of ref document: EP

Kind code of ref document: A1