WO2023030506A1 - Content display method and apparatus, and terminal and storage medium - Google Patents

Content display method and apparatus, and terminal and storage medium Download PDF

Info

Publication number
WO2023030506A1
WO2023030506A1 PCT/CN2022/116875 CN2022116875W WO2023030506A1 WO 2023030506 A1 WO2023030506 A1 WO 2023030506A1 CN 2022116875 W CN2022116875 W CN 2022116875W WO 2023030506 A1 WO2023030506 A1 WO 2023030506A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen area
screen
target interface
content
terminal
Prior art date
Application number
PCT/CN2022/116875
Other languages
French (fr)
Chinese (zh)
Inventor
孔凡秀
黎瀚
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023030506A1 publication Critical patent/WO2023030506A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • 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 present application relates to the technical field of human-computer interaction, and in particular to a content display method, device, terminal and storage medium.
  • a terminal may use multiple display screens to display interface content. If the folding screen is used, when the display is in the folded state, it can be displayed in the "small screen” mode, and when the display screen is in the unfolded state, it can be displayed in the "big screen” mode.
  • the terminal display screen will be switched from “big screen” to "small screen”, and the running target application will stop displaying , and if the application interface of the target application program needs to be displayed again, the target application program needs to be restarted, and the operation is relatively cumbersome.
  • Embodiments of the present application provide a content display method, device, terminal, and storage medium. Described technical scheme is as follows:
  • an embodiment of the present application provides a content display method, the method is used in a folding screen terminal, the folding screen terminal is provided with a first screen area and a second screen area, the size of the first screen area is larger than the size of the second screen area;
  • the methods include:
  • the target interface content is displayed in the second screen area.
  • an embodiment of the present application provides a content display device, the device is used in a folding screen terminal, the folding screen terminal is provided with a first screen area and a second screen area, and the size of the first screen area is greater than the size of the second screen area;
  • the devices include:
  • a display module configured to display target interface content in the first screen area when the folding screen terminal is in an unfolded state
  • the display module is further configured to stop displaying the target interface content in the first screen area and display the target interface content in the second screen area when the folding screen terminal is switched from the unfolded state to the folded state. lock screen interface;
  • the display module is further configured to display the target interface content in the second screen area in response to an unlocking operation.
  • an embodiment of the present application provides a terminal, the terminal includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the above aspects The content display method described above.
  • a computer-readable storage medium stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the content display method as described in the above aspect.
  • an embodiment of the present application provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • a processor of a computer device reads the computer instructions from a computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the content display method provided by the above aspects.
  • FIG. 1 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application
  • Fig. 2 shows a structural block diagram of a terminal provided by another exemplary embodiment of the present application
  • Fig. 3 shows a schematic structural diagram of an outer folding screen terminal provided by an exemplary embodiment of the present application
  • Fig. 4 shows a schematic structural diagram of an inner folding screen terminal provided by an exemplary embodiment of the present application
  • FIG. 5 shows a flowchart of a content display method provided by an exemplary embodiment of the present application
  • FIG. 6 shows a schematic interface diagram of a content display process provided by an exemplary embodiment of the present application
  • FIG. 7 shows a flowchart of a content display method provided by another exemplary embodiment of the present application.
  • Fig. 8 shows a schematic interface diagram of a content display process provided by another exemplary embodiment of the present application.
  • FIG. 9 shows a flowchart of a content display method provided by another exemplary embodiment of the present application.
  • Fig. 10 shows a schematic interface diagram of a target interface content display process including a split-screen area provided by an exemplary embodiment of the present application
  • Fig. 11 shows a schematic interface diagram of a target interface content display process including a floating window provided by an exemplary embodiment of the present application
  • Fig. 12 shows a schematic interface diagram of a content display process provided by another exemplary embodiment of the present application.
  • Fig. 13 shows a structural block diagram of a content display device provided by an exemplary embodiment of the present application.
  • FIG. 1 and FIG. 2 it shows a structural block diagram of a terminal 100 provided by an exemplary embodiment of the present application.
  • the terminal 100 can be a smart phone, a tablet computer, an e-book, and so on.
  • the terminal 100 in this application may include one or more of the following components: a processor 110 , a memory 120 and a display screen 130 .
  • Processor 110 may include one or more processing cores.
  • the processor 110 uses various interfaces and lines to connect various parts of the entire terminal 100, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. 100's of various functions and processing data.
  • the processor 110 may adopt at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). implemented in the form of hardware.
  • the processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like.
  • the CPU mainly processes the operating system, user interface and application programs, etc.; the GPU is responsible for rendering and drawing the content that needs to be displayed on the touch screen 130 ; the modem is used for processing wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 110, but implemented by a single chip.
  • the memory 120 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory, ROM).
  • the memory 120 includes a non-transitory computer-readable storage medium.
  • the memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like for implementing the following method embodiments; the storage data area can store data created according to the use of the terminal 100 (such as audio data, phonebook) and the like.
  • the programs and data stored in the memory 120 are as shown in Figure 1, and the memory 120 is stored with a Linux kernel layer 220, a system runtime layer 240, an application framework layer 260 and an application layer 280 .
  • the Linux kernel layer 220 provides underlying drivers for various hardware of the terminal 100, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and so on.
  • the system runtime layer 240 provides main feature support for the Android system through some C/C++ libraries.
  • the SQLite library provides database support
  • the OpenGL/ES library provides 3D drawing support
  • the Webkit library provides browser kernel support.
  • An Android Runtime library (Android Runtime) is also provided in the system runtime layer 240, which mainly provides some core libraries and can allow developers to use the Java language to write Android applications.
  • the application framework layer 260 provides various application programming interfaces (Application Programming Interface, API) that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content provider, package management, call management, resource management, location management.
  • API Application Programming Interface
  • Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content provider, package management, call management, resource management, location management.
  • There is at least one application program running in the application layer 280 and these application programs can be contact programs, SMS programs, clock programs, camera applications, etc. Communication programs, photo beautification programs, etc.
  • the programs and data stored in the memory 120 are as shown in Figure 2, and the IOS system includes: a core operating system layer 320 (Core OS layer), a core service layer 340 (Core Services layer), a media layer 360 (Media layer), touchable layer 380 (Cocoa Touch Layer).
  • the core operating system layer 320 includes an operating system kernel, drivers, and underlying program frameworks. These underlying program frameworks provide functions closer to hardware for use by the program frameworks located in the core service layer 340 .
  • the core service layer 340 provides system services and/or program frameworks required by applications, such as foundation framework, account framework, advertisement framework, data storage framework, network connection framework, geographic location framework, exercise framework and so on.
  • the media layer 360 provides audio-visual interfaces for applications, such as interfaces related to graphics and images, interfaces related to audio technology, interfaces related to video technology, and wireless playback (AirPlay) interfaces of audio and video transmission technologies.
  • the touchable layer 380 provides various commonly used interface-related frameworks for application development, and the touchable layer 380 is responsible for the user's touch interaction operation on the terminal 100 . Such as local notification service, remote push service, advertising framework, game tool framework, message user interface interface (User Interface, UI) framework, user interface UIKit framework, map framework and so on.
  • frameworks related to most applications include but not limited to: the basic framework in the core service layer 340 and the UIKit framework in the touchable layer 380 .
  • the basic framework provides many basic object classes and data types, and provides the most basic system services for all applications, regardless of UI.
  • the class provided by the UIKit framework is a basic UI class library for creating a touch-based user interface. iOS applications can provide UI based on the UIKit framework, so it provides the infrastructure of the application for building user interfaces, drawing , Handle and user interaction events, respond to gestures, and more.
  • the display screen 130 is used to display the application interface of each application program; when the display screen 130 also has a touch function, it is also used to receive a user's touch operation on or near it using any suitable object such as a finger or a touch pen.
  • the display screen 130 includes a first screen area and a second screen area.
  • the terminal can be an inner folding screen terminal or an outer folding screen terminal.
  • the first screen area and the second screen area belong to the same screen, and the first screen area is The full screen area of the screen, and the second screen area is a partial screen area of the screen.
  • the display area is the second screen area 302 , which can be the first display area 303 or the second display area 304 .
  • the terminal When the terminal is an inner folding screen terminal, the first screen area and the second screen area are independent screens, and the first screen area supports inward folding; when the inner folding screen terminal is in the unfolded state, both the first screen area and the second screen area Exposed: When the inner folding screen terminal is in the folded state, the second screen area is exposed.
  • the first screen area 401 when the inner folding screen terminal is in the unfolded state, the first screen area 401 is in a flat state, and both the first screen area 401 and the second screen area 402 are in an exposed state, and the second screen area
  • the area 402 is located in the back area of the first screen area 401.
  • the first screen area 401 is in the folded state and not exposed, while the second screen area 402 is in the exposed state.
  • Users can switch the foldable screen between the unfolded state and the folded state according to their own needs. For example, when the user has no need to use the terminal, the terminal may be in a folded state, making the terminal more portable. For another example, when the user needs to watch a video, the terminal can be in the unfolded state.
  • the screen is made of a flexible material (with certain stretchability), or the bending area of the screen is made of a flexible material.
  • the screen corresponding to the first screen area is made of a flexible material (with certain stretchability), or the bending area is made of a flexible material.
  • Fig. 3 and Fig. 4 only the display screen 130 includes two screens for illustration.
  • the structure of the terminal is not limited in this embodiment.
  • At least one other component is further disposed in the terminal 100, and the at least one other component includes: a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, and the like.
  • at least one other component is disposed on the front, side or back of the terminal 100 , such as disposing the fingerprint sensor on the back cover or the side, and disposing the camera on one side of the display screen 130 .
  • At least one other component may be integrated inside or under the display screen 130 .
  • a bone conduction earpiece is placed inside the terminal 100; other components on the front panel of a traditional terminal are integrated into all or part of the display 130, such as removing the photosensitive element in the camera After being divided into a plurality of photosensitive pixels, each photosensitive pixel is integrated in the black area of each display pixel in the display screen 130 , so that the display screen 130 has an image acquisition function. Since at least one other component is integrated inside or under the display screen 130, the terminal 100 has a higher screen-to-body ratio.
  • a single side of the middle frame of the terminal 100 or two sides (such as the left and right sides), or four sides (such as the upper, lower, left, and right sides)
  • An edge touch sensor is arranged on two sides), and the edge touch sensor is used to detect at least one of the user's touch operation, click operation, press operation and slide operation on the middle frame.
  • the edge touch sensor may be any one of a touch sensor, a thermal sensor, a pressure sensor, and the like. The user can perform operations on the edge touch sensor to control the application programs in the terminal 100 .
  • the structure of the terminal 100 shown in the above drawings does not constitute a limitation on the terminal 100, and the terminal may include more or less components than those shown in the figure, or combine some components, or different component arrangements.
  • the terminal 100 also includes components such as a radio frequency circuit, an input unit, an audio circuit, a wireless fidelity (Wireless Fidelity, WiFi) module, a power supply, and a Bluetooth module, which will not be repeated here.
  • FIG. 5 shows a flowchart of a content display method according to an embodiment of the present application.
  • the method is applied to a folding screen terminal.
  • the folding screen terminal is provided with a first screen area and a second screen area, and the size of the first screen area is larger than the size of the second screen area.
  • the method includes:
  • Step 501 when the folding screen terminal is in the unfolded state, display the target interface content in the first screen area.
  • the unfolded state refers to the state where the first screen area is in a flat state.
  • the terminal can determine whether the terminal is in an unfolded state by detecting whether the first screen area is on the same plane.
  • the first screen area 301 includes a first display area 303 and a second display area 304.
  • the angle between the first display area 303 and the second display area 304 is 180°, it is determined that the folding screen terminal is in an unfolded state.
  • FIG. 4 when the first screen area 401 is located on the same plane, it is determined that the terminal is in the unfolded state.
  • target interface content is displayed through the first screen area.
  • the target interface content is the interface content displayed by the current terminal, which can be any function or any application corresponding display interface, for example, the application interface of the application program, the terminal main interface, the terminal status notification interface, and the system multitasking interface, etc. .
  • the target interface content is an application interface of an application program.
  • the application interface 602 of the application is displayed through the first screen area 601 .
  • Step 502 when the folding screen terminal is switched from the expanded state to the folded state, stop displaying the content of the target interface in the first screen area, and display the lock screen interface in the second screen area.
  • the folded state refers to a state in which the screen angle of the first screen area is smaller than the first angle.
  • the first angle may be a default angle of the terminal, or may be a user-defined angle.
  • the first angle is 90°.
  • FIG. 3 when the terminal is folded, the angle between the first display area 303 and the second display area 304 in the first screen area changes, and when the angle is less than 90°, it is determined that the terminal is collapsed.
  • the terminal switches from the unfolded state to the folded state, it indicates that the user may not continue to use the terminal or needs to use the second screen area with a smaller size to display interface content.
  • the target interface content After stopping displaying the target interface content in the first screen area, if the target interface content is directly displayed in the second screen area, if the user does not continue to use the terminal, the target interface content may continue to be displayed, and it is easy to cause false touches. Therefore, after the folding screen terminal is switched to the folded state, the lock screen interface is firstly displayed in the second screen area.
  • the folding screen terminal when the folding screen terminal is switched from the unfolded state to the folded state, its screen display content and content display area change with the screen angle of the first screen area.
  • the screen angle of the first screen area is smaller than the first angle, it is determined to be in the folded state. Therefore, when the screen angle is greater than the first angle, keep displaying the target interface content in the first screen area; and when the screen angle When changing to the first angle, stop displaying the target interface content in the first screen area, and display the lock screen interface in the second screen area, that is, when the screen angle changes to the first angle, the first screen area goes out, Instead, the second screen area lights up. And during the period when the screen angle is smaller than the first angle, the interface content is displayed in the second screen area.
  • the second angle can be preset, and the second angle is greater than the first angle.
  • the screen angle is greater than the second angle, keep displaying the target interface content in the first screen area; when the screen angle is smaller than the second angle, stop displaying the target interface content in the first screen area, and turn off the first screen area. screen area; when the included angle of the screen changes to the first angle, a second screen area is opened and a lock screen interface is displayed in the second screen area.
  • the second angle is 150°
  • the first angle is 90°.
  • the lock screen interface may be a terminal default lock screen interface, or may be a user-defined interface.
  • a lock screen interface 604 will be displayed in the second screen area 603 .
  • Step 503 in response to the unlocking operation, display the content of the target interface in the second screen area.
  • the terminal After the user performs the unlocking operation on the lock screen interface, the terminal will continue to display the target interface content originally displayed in the first screen area in the second screen area, realizing the relay display of the content, without requiring the user to reopen the target interface content.
  • the terminal after receiving the unlock operation, the terminal continues to display the application interface originally displayed in the first screen area in the second screen area; or when the content of the target interface is the system setting interface After receiving the unlocking operation, the terminal continues to display the system setting interface originally displayed in the first screen area in the second screen area.
  • the terminal after receiving the unlocking operation, the terminal continues to display the application interface 602 in the second screen area 603 .
  • the lock screen interface when the target interface content is displayed in the first screen area with a larger size of the folding screen terminal, if the terminal is folded, the lock screen interface will be displayed first, and after receiving the unlocking operation, continue to pass through the second screen area.
  • the second screen area displays the content of the target interface.
  • continuing to display the target interface content in the second screen area can realize the relay display of content between different screen areas in the folding screen terminal and improve the content display efficiency; on the other hand, since the user may suspend the use of the terminal after folding the terminal, if If the content of the target interface is directly displayed in the second screen area, false touches are likely to occur. Therefore, after the terminal is folded, the user first needs to perform an unlocking operation, so that the terminal can continue to display the content of the target interface to avoid false touches.
  • the target interface content is displayed in the second screen area, including:
  • the content of the target interface is displayed in the second screen area.
  • the target interface content includes at least two split-screen areas
  • Determine the target interface layout of the target interface content in the first screen area including:
  • display the content of the target interface in the second screen area including:
  • each split-screen area is displayed in the second screen area.
  • the content of the target interface includes a floating window
  • Determine the target interface layout of the target interface content in the first screen area including:
  • display the content of the target interface in the second screen area including:
  • a floating window with a second floating window size is displayed at the target display position in the second screen area.
  • the content of the target interface includes a main interface and an application interface
  • Display the target interface content in the first screen area including:
  • Display the target interface content in the second screen area including:
  • the target interface content is displayed in the second screen area based on the second configuration, wherein the target interface content displayed based on the second configuration adapts to the size of the second screen area.
  • the folding screen terminal when the folding screen terminal is switched from the unfolded state to the folded state, stop displaying the content of the target interface in the first screen area, and display the lock screen interface in the second screen area, including:
  • the target function includes audio Video call function.
  • the target function in response to the folding screen terminal switching from the expanded state to the folded state, and the target function is in the running state, stop displaying the target interface content in the first screen area, and display the target interface content in the second screen area.
  • the target interface content is displayed in the second screen area, including:
  • the content of the target interface is displayed in the second screen area.
  • the main interface is displayed in the second screen area.
  • the target interface content is displayed in the second screen area, including:
  • the target interface content is displayed in the second screen area, and the second duration is shorter than the first duration
  • the target interface content is displayed in the second screen area
  • the security level of the first unlocking operation is lower than that of the second unlocking operation, and the unlocking efficiency of the first unlocking operation is higher than that of the second unlocking operation.
  • the first unlocking operation is a sliding unlocking operation
  • the second unlocking operation is a biological feature unlocking operation or a key unlocking operation.
  • the main interface is displayed in the second screen area, including:
  • the main interface including the shortcut icon is displayed in the second screen area, and the shortcut icon is used to trigger the display of the content of the target interface.
  • the method further includes:
  • the folding screen terminal is an inner folding screen terminal, the first screen area and the second screen area are independent screens, and the first screen area supports inward folding; when the inner folding screen terminal is in the unfolded state, the first screen area and the second screen area Both screen areas are exposed, and when the inner folding screen terminal is in the folded state, the second screen area is exposed;
  • the folding screen terminal is an external folding screen terminal, the first screen area and the second screen area belong to the same screen, the first screen area is a complete screen area of the screen, and the second screen area is a partial screen area of the screen.
  • FIG. 7 shows a flowchart of a content display method according to another embodiment of the present application.
  • the method is applied to a folding screen terminal.
  • the folding screen terminal is provided with a first screen area and a second screen area, and the size of the first screen area is larger than the size of the second screen area.
  • the method includes:
  • Step 701 when the folding screen terminal is in the unfolded state, display the target interface content on the first screen area based on the first configuration, wherein the target interface content displayed based on the first configuration fits the size of the first screen area.
  • the target interface content is displayed in the first screen area.
  • the terminal displays the target interface content in the first screen area based on the first configuration.
  • the first configuration includes configuring the display manner of each display content in the target interface content so as to adapt to the size of the first screen area.
  • the display mode includes the configuration of display size and display layout.
  • the content of the target interface includes a main interface and an application interface.
  • the main interface may include application icons and other controls such as time controls, weather controls, etc. Therefore, the first configuration includes configurations of display sizes and layout positions of application icons and other controls.
  • the content of the target interface may be various desktop pages, that is, interfaces including different application icons. Schematically, as shown in FIG. 8 , an application icon 802 is included in the first screen area 801 .
  • the display size and layout position of each display content in the application interface can be configured.
  • the display size and layout position of the picture, text, and search bar may be configured.
  • the first configuration may be set for the display size and display layout of the target interface content according to the size of the first screen area.
  • Step 702 when the folding screen terminal switches from the expanded state to the folded state, stop displaying the content of the target interface in the first screen area, and display the lock screen interface in the second screen area.
  • Step 703 When an unlock operation is received within the first time period after switching to the folded state, display the target interface content in the second screen area based on the second configuration, wherein the target interface content displayed based on the second configuration is adapted to the second configuration. Second, the size of the screen area.
  • the target interface content is displayed in the second screen area based on the second configuration. Since the target interface content is switched to the second screen area for display, it is necessary to adjust the display configuration of the target interface content, that is, adjust the first configuration to the second configuration, so that the target interface content is compatible with the second screen area, and the corresponding , the second configuration includes configuring the display modes of each display content in the target interface content.
  • the display size of the target interface content displayed based on the second configuration is smaller than the display size of the target interface content displayed based on the first configuration.
  • the position of each content displayed in the target interface content relative to the screen area can remain unchanged, or can also be adjusted according to the size of the screen area, but it should be noted that the display content of the target interface content remains unchanged.
  • the second configuration also includes the configuration of the display size and layout position of the application icons and other controls; The display size of the content and the configuration of the layout position.
  • the application icons 802 continue to be displayed in the second screen area 803. During this process, the size of the application icons and the interval between the application icons are adjusted. Make it fit the size of the second screen area 803 and display it in the second screen area 803 .
  • the terminal after the terminal is switched to the folded state, if an unlock operation is received, the content of the target interface will continue to be displayed. However, if the unlock operation is received within a relatively long period of time after the terminal is switched to the folded state, it indicates that the user may not need to continue displaying the target interface content. Therefore, in a possible implementation manner, only within the first duration
  • the target interface content continues to be displayed based on the second screen area until the unlocking operation is performed. Schematically, the first duration may be 5 minutes.
  • the terminal displays the lock screen interface in the second screen area, it starts timing, and when it detects that an unlock operation is received within 5 minutes, it may continue to display the content of the target interface.
  • the situation of accidental touch is avoided through the lock screen interface, and when the terminal is switched to the folded state, when the unlock operation is received immediately or within a short period of time, it indicates that the user needs to use the second screen area to display the target as soon as possible.
  • Interface content at this time, if the unlocking operation is more complicated, it may affect the progress of the task. Therefore, in a possible implementation manner, the unlocking method can be simplified in a short time to facilitate the user to unlock.
  • the target interface content is displayed in the second screen area, and the second duration is shorter than the first duration. That is, within a second period of time after the terminal displays the lock screen interface, the user can unlock the terminal through the first unlocking operation, and the terminal displays the content of the target interface in the second screen area after receiving the first unlocking operation.
  • the terminal may be used by others, and the identity of the terminal user needs to be verified.
  • the target interface content is displayed in the second screen area.
  • the security level of the first unlocking operation is lower than that of the second unlocking operation, and the unlocking efficiency of the first unlocking operation is higher than that of the second unlocking operation.
  • a switching operation prompt may be displayed on the lock screen interface to remind the user that the terminal needs to be unlocked by the second unlocking operation.
  • the first unlocking operation may be a terminal default setting operation, or a user-defined simple operation
  • the second unlocking operation may be an operation set by the user for identity verification.
  • the first unlocking operation is a sliding unlocking operation
  • the second unlocking operation is a biological feature unlocking operation or a key unlocking operation.
  • the biometric unlocking operation may include at least one of fingerprint unlocking, face recognition unlocking, or voice unlocking
  • the key unlocking operation may be pattern unlocking or digital unlocking.
  • the second duration is 1 minute.
  • the target interface content is displayed in the second screen area.
  • the terminal will continue to display the lock screen interface, and if the biometric unlock operation is received, the target interface will be displayed content.
  • Step 704 in the case that the unlocking operation is received outside the first time period after switching to the folded state, display the main interface in the second screen area.
  • the main interface is displayed in the second screen area without Then display the content of the target interface. And after reaching the first duration, the running state of the task corresponding to the content of the target interface can be turned off, so as to avoid waste of power consumption.
  • a shortcut icon may be displayed on the main interface to trigger quick display of the content of the target interface.
  • a main interface containing a shortcut icon is displayed in the second screen area, and the shortcut icon is used to trigger the display of the content of the target interface.
  • the shortcut icon can be an icon of any form, which can be set by default by the terminal, or can be customized by the user.
  • different types of target interface content can correspond to different forms of shortcut icons, for example, it can be a thumbnail corresponding to the target interface content, and when the target interface content is an application interface, the shortcut icon can also be a shortcut application icon corresponding to the application program, It is different from the corresponding default application icon for this application.
  • different target interface contents may correspond to the same shortcut icon, which is not limited in this embodiment.
  • Step 705 Stop displaying the target interface content in the second screen area and display the target interface content in the first screen area when the folding screen terminal switches from the folded state to the unfolded state.
  • the terminal can switch from the folded state back to the unfolded state.
  • the terminal since the terminal switches from a smaller screen area to a larger screen area for display, it indicates that the user needs to continue using the terminal. Therefore, when When the terminal switches from the folded state to the unfolded state, it can stop displaying the currently displayed target interface content in the second screen area, and directly switch to the first screen area for display.
  • the target interface content may be displayed based on the first configuration, so that the target interface content is adapted to the size of the first screen area.
  • the first configuration is switched to the second configuration, so that the display target interface content is adapted to the second screen area, Avoid the failure to display the content of the target interface.
  • the terminal can be unlocked through different unlocking operations within different time periods after the terminal is switched to the folded state, and within the second time period, the unlocking can be completed through a simple first unlocking operation, thereby improving unlocking efficiency , which helps to improve the display efficiency of the target interface content.
  • unlocking can be performed through a relatively safe second unlocking operation, thereby improving the security of displaying the content of the target interface.
  • the current target interface content includes a split-screen area or a floating window
  • the target interface content including the split-screen area or floating window continues to be displayed in the second screen area, thereby Realize the relay display of the target interface content.
  • the second screen area it will be displayed according to the layout of the target interface content in the first screen area, which will be described in an exemplary embodiment below.
  • FIG. 9 shows a flowchart of a content display method according to another embodiment of the present application.
  • the method is applied to a folding screen terminal.
  • the folding screen terminal is provided with a first screen area and a second screen area, and the size of the first screen area is larger than the size of the second screen area.
  • the method includes:
  • Step 901 when the folding screen terminal is in the unfolded state, display the content of the target interface in the first screen area.
  • Step 902 Stop displaying the content of the target interface in the first screen area and display the lock screen interface in the second screen area when the folding screen terminal is switched from the unfolded state to the folded state.
  • step 901 and step 902 For the implementation manners of step 901 and step 902, reference may be made to the above-mentioned step 501 and step 502, which will not be repeated in this embodiment.
  • Step 903 in response to the unlocking operation, determine the target interface layout of the target interface content in the first screen area.
  • the content of the target interface may include a split-screen area or a floating window.
  • the interface layout of determines the layout method when displaying the target interface content in the second screen area.
  • the terminal determines the split-screen ratio of each split-screen area in the first screen area, and the relative positional relationship between each split-screen area.
  • the content of the target interface includes at least two split-screen areas, and each split-screen area is displayed independently, and the displayed content does not block each other.
  • Different interface contents can be displayed in each split-screen area, for example, application interfaces of different application programs, or application interfaces and main interfaces of application programs can be displayed separately. Since the user can adjust the display size and display position of each split-screen area, when determining the target interface layout including the target interface content, it is necessary to determine the split-screen ratio of each split-screen area in the first screen area, so that The terminal displays in the second screen area according to the split screen ratio in the first screen area.
  • the target interface content includes a first split screen area 1001 , a second split screen area 1002 and a third split screen area 1003 .
  • the split-screen ratio of the first split-screen area 1001 is 50%
  • the split-screen ratios of the second split-screen area 1002 and the third split-screen area 1003 are 25%.
  • the first split screen area 1001 is displayed on the left relative to the second split screen area 1002 and the third split screen area 1003
  • the second split screen area 1002 is displayed on the upper side relative to the third screen split area 1003 .
  • the terminal determines a first floating window size of the floating window in the first screen area, and a relative display position of the floating window in the first screen area.
  • the content of the target interface includes at least one floating window, and each floating window may partially block the displayed content of the main interface. Since the user can adjust the display position and display size of each floating window in the first screen area, it is also necessary to determine the first floating window size and its relative display position of the floating windows.
  • specific size parameters may be determined according to the shape of the floating window.
  • the floating window is circular, determine the radius of the floating window, and when the floating window is square, determine the dimensions corresponding to the lengths of each side of the floating window.
  • the content of the target interface includes a floating window 1101 , which is displayed at the upper right corner of the first screen area 1102 .
  • Step 904 based on the layout of the target interface, display the content of the target interface in the second screen area.
  • the terminal After determining the target interface layout of the target interface content in the first screen area, the terminal displays the target interface content in the second screen area according to the target interface layout.
  • displaying the target interface content in the second screen area based on the target interface layout may include the following steps:
  • Step 1 Based on the relative positional relationship, determine the target display position of each split-screen area in the second screen area.
  • the corresponding relationship between the relative display position in the first screen area and the relative display position in the second screen area is pre-stored in the terminal, so as to determine the position of each split-screen area on the second screen according to the corresponding relationship.
  • the relative positional relationship in the area, and the terminal determines the display position of the target according to the relative positional relationship.
  • the corresponding relationship between the relative position in the first screen area and the relative position in the second screen area can be set by default by the terminal, or can be customized by the user.
  • the same relative positional relationship in the first screen area may correspond to multiple relative positional relationships in the second screen area, and the terminal randomly selects it, which is not limited in this embodiment. Schematically, the corresponding relationship can be shown in Table 1:
  • the corresponding split screen area when the split screen area is displayed relative to the left and right, the corresponding split screen area can be displayed up and down in the second screen area; and when the split screen area is displayed relatively up and down, the corresponding split screen area is displayed up and down in the second screen area or display left and right.
  • the first split screen area 1001 is displayed on the left side relative to the second split screen area 1002 and the third split screen area 1003, then in the second screen area
  • the first split screen area 1001 is displayed on the upper side relative to the second split screen area 1002 and the third split screen area 1003 .
  • the second split screen area 1002 is displayed on the upper side compared with the third split screen area 1003, therefore, when the second split screen area 1002 and the third split screen area 1003 are displayed in the second screen area, the second split screen area 1002 may be displayed on the upper side of the third split screen area 1003 .
  • Step 2 Display each split-screen area in the second screen area based on the proportion of the split-screen and the target display position.
  • the terminal displays each split-screen area in the second screen area.
  • the split-screen ratio of each split-screen area remains unchanged, and the displayed content in each split-screen area may be part or all of the content displayed in the corresponding split-screen area of the first screen area.
  • the split-screen proportion of the split-screen area in the first screen area is 50%, and correspondingly, the split-screen proportion of the split-screen area in the second screen area is also 50%.
  • the split-screen ratio of the first split-screen area 1001 is 50%, it is displayed on the upper side of the screen, and the split-screen ratio is still 50%, while the split-screen ratio of the second split-screen area 1002 is 25%, and it is displayed on the upper half of the lower side of the screen, and the third split-screen area 1003 split-screen ratio is 25%, which is displayed on the lower half of the screen, and the split-screen ratio is 25%.
  • displaying the target interface content in the second screen area based on the target interface layout may include the following steps:
  • Step 1 Determine a second floating window size of the floating window in the second screen area based on the first floating window size and the screen ratio between the first screen area and the second screen area.
  • the size of the first floating window only fits the first screen area and cannot be adapted to the size of the second screen area.
  • the size and the screen ratio of the first screen area determine the window ratio of the floating window, and the terminal then determines the second floating window size of the floating window in the second screen area according to the window ratio and the screen ratio of the second screen area.
  • the window ratio of the floating window 1101 in the first screen area 1102 is 30%, and the window ratio of the second floating window size in the second screen area is also 30%.
  • Step 2 Determine the target display position of the floating window in the second screen area based on the relative display position.
  • the target display position in the second screen area can be determined. For example, when the relative display position of the floating window is the upper right corner, it is determined that the target display position is the upper right corner. When the relative display position of the floating window is the central area, determine that the target display position is the central area.
  • Step 3 displaying a floating window of the second floating window size at the target display position of the second screen area.
  • the floating window is displayed in the second screen area.
  • a floating window 1101 of the second floating window size is displayed at the upper right corner of the second screen area 1103 , and the window ratio of the second floating window size is 30%.
  • the layout of the target interface in the second screen area is determined at that time according to the layout of the split-screen area or floating window in the first screen area to avoid layout confusion. It helps to improve the convenience of operating on the content of the target interface.
  • the user may currently switch the terminal from the unfolded state to the folded state during the audio and video call task.
  • the unlock operation is performed and the corresponding target interface content is displayed, it may affect the Therefore, in a possible implementation manner, when it is determined that the audio and video call function is in the running state, there is no need to perform an unlocking operation.
  • Target functions include audio and video calling functions.
  • the terminal When the terminal is switched to the folded state, it is detected whether the target function is running. When the audio and video call function is not detected, it indicates that the user is currently performing other tasks. Therefore, the terminal can display the lock screen interface in the second screen area, When an unlock operation is subsequently received, the content of the target interface will be displayed.
  • the folding screen terminal when the folding screen terminal is switched from the unfolded state to the folded state and the target function is running, stop displaying the target interface content in the first screen area and display the target interface content in the second screen area.
  • the video call interface 1202 is displayed in the first screen area 1201 , and when the terminal is folded, the video call interface 1202 is directly displayed in the second screen area 1203 to avoid interruption of the call function.
  • FIG. 13 shows a structural block diagram of a display device for an application interface provided by an embodiment of the present application.
  • the device can be implemented as all or a part of the terminal through software, hardware or a combination of the two.
  • the device is used in a folding screen terminal, and the folding screen terminal is provided with a first screen area and a second screen area, and the size of the first screen area is larger than the size of the second screen area.
  • the unit includes:
  • the display module 1301 is configured to display target interface content in the first screen area when the folding screen terminal is in an unfolded state.
  • the display module 1301 is further configured to stop displaying the target interface content in the first screen area and display the lock in the second screen area when the folding screen terminal is switched from the unfolded state to the folded state. screen interface.
  • the display module 1301 is further configured to display the target interface content in the second screen area in response to an unlocking operation.
  • the display module 1301 is also used for:
  • the content of the target interface is displayed in the second screen area.
  • the target interface content includes at least two split-screen areas
  • the display module 1301 is also used for:
  • each of the split-screen regions is displayed in the second screen region.
  • the target interface content includes a floating window
  • the display module 1301 is also used for:
  • the floating window of the second floating window size is displayed at the target display position of the second screen area.
  • the content of the target interface includes a main interface and an application interface
  • the display module 1301 is also used for:
  • the target interface content displayed based on the first configuration is adapted to a size of the first screen area
  • the display module 1301 is also used for:
  • the target function When the folding screen terminal is switched from the unfolded state to the folded state, and the target function is in the running state, stop displaying the target interface content in the first screen area, and stop displaying the target interface content in the second screen area
  • the screen area displays the lock screen interface, and the target function includes an audio and video call function
  • the display module 1301 is further configured to stop in the first screen area in response to the folding screen terminal switching from the unfolded state to the folded state and the target function is not in the running state Displaying the target interface content, and displaying the target interface content in the second screen area.
  • the display module 1301 is also used for:
  • the display module 1301 is further configured to display a main interface in the second screen area when the unlocking operation is received within a first time period after switching to the folded state.
  • the security level of the first unlocking operation is lower than the security level of the second unlocking operation, and the unlocking efficiency of the first unlocking operation is higher than the unlocking efficiency of the second unlocking operation.
  • the first unlocking operation is a sliding unlocking operation
  • the second unlocking operation is a biological feature unlocking operation or a key unlocking operation.
  • the display module 1301 is also used for:
  • a main interface containing a shortcut icon is displayed in the second screen area, and the shortcut icon is used to trigger display of the target interface content.
  • the display module 1301 is further configured to stop displaying the target interface content in the second screen area when the folding screen terminal switches from the folded state to the unfolded state, and The first screen area displays the target interface content.
  • the folding screen terminal is an inner folding screen terminal, the first screen area and the second screen area are independent screens, and the first screen area supports inward folding; the inner folding screen terminal is in In the unfolded state, both the first screen area and the second screen area are exposed, and when the inner folding screen terminal is in the folded state, the second screen area is exposed;
  • the folding screen terminal is an outer folding screen terminal, the first screen area and the second screen area belong to the same screen, the first screen area is a complete screen area of the screen, and the second screen area is The partial screen area of said screen.
  • the lock screen interface when the target interface content is displayed in the first screen area with a larger size of the folding screen terminal, if the terminal is folded, the lock screen interface will be displayed first, and after receiving the unlocking operation, continue to pass through the second screen area.
  • the second screen area displays the content of the target interface.
  • continuing to display the target interface content in the second screen area can realize the relay display of content between different screen areas in the folding screen terminal and improve the content display efficiency; on the other hand, since the user may suspend the use of the terminal after folding the terminal, if If the content of the target interface is directly displayed in the second screen area, false touches are likely to occur. Therefore, after the terminal is folded, the user first needs to perform an unlocking operation, so that the terminal can continue to display the content of the target interface to avoid false touches.
  • the embodiment of the present application also provides a computer-readable medium, the computer-readable medium stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the content display method described in each of the above embodiments.
  • An embodiment of the present application provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the content display method provided by the above aspects.
  • the functions described in the embodiments of the present application may be implemented by hardware, software, firmware or any combination thereof.
  • the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
  • Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • a storage media may be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A content display method and apparatus, and a terminal and a storage medium, which relate to the technical field of human-machine interaction. The method is applied to a foldable screen terminal, and the foldable screen terminal is provided with a first screen region and a second screen region, with the size of the first screen region being greater than the size of the second screen region. The method comprises: when a foldable screen terminal is in an unfolded state, displaying target interface content in a first screen region (501); when the foldable screen terminal is switched from the unfolded state to a folded state, stopping displaying the target interface content in the first screen region, and displaying a lock screen interface in a second screen region (502); and in response to an unlocking operation, displaying the target interface content in the second screen region (503).

Description

内容显示方法、装置、终端及存储介质Content display method, device, terminal and storage medium
本申请要求于2021年09月03日提交的申请号为202111031667.4、发明名称为“内容显示方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111031667.4 and the title of the invention "content display method, device, terminal and storage medium" filed on September 03, 2021, the entire contents of which are incorporated in this application by reference .
技术领域technical field
本申请涉及人机交互技术领域,特别涉及一种内容显示方法、装置、终端及存储介质。The present application relates to the technical field of human-computer interaction, and in particular to a content display method, device, terminal and storage medium.
背景技术Background technique
目前随着技术的发展,终端可采用多个显示屏进行界面内容的显示。如采用折叠屏形式,当显示屏处于折叠状态时,可通过“小屏”方式进行显示,当显示屏处于展开状态时,可通过“大屏”方式进行显示。Currently, with the development of technology, a terminal may use multiple display screens to display interface content. If the folding screen is used, when the display is in the folded state, it can be displayed in the "small screen" mode, and when the display screen is in the unfolded state, it can be displayed in the "big screen" mode.
比如,当采用“大屏”形式显示正在运行的目标应用程序的应用界面时,若进行折叠操作,终端显示屏由“大屏”切换为“小屏”,正在运行的目标应用程序将停止显示,而若需重新显示目标应用程序的应用界面,则需重新启动目标应用程序,操作较为繁琐。For example, when the application interface of the running target application is displayed in the form of "big screen", if the folding operation is performed, the terminal display screen will be switched from "big screen" to "small screen", and the running target application will stop displaying , and if the application interface of the target application program needs to be displayed again, the target application program needs to be restarted, and the operation is relatively cumbersome.
发明内容Contents of the invention
本申请实施例提供了一种内容显示方法、装置、终端及存储介质。所述技术方案如下:Embodiments of the present application provide a content display method, device, terminal, and storage medium. Described technical scheme is as follows:
一方面,本申请实施例提供了一种内容显示方法,所述方法用于折叠屏终端,所述折叠屏终端设置有第一屏幕区域和第二屏幕区域,所述第一屏幕区域的尺寸大于所述第二屏幕区域的尺寸;On the one hand, an embodiment of the present application provides a content display method, the method is used in a folding screen terminal, the folding screen terminal is provided with a first screen area and a second screen area, the size of the first screen area is larger than the size of the second screen area;
所述方法包括:The methods include:
在所述折叠屏终端处于展开状态的情况下,在所述第一屏幕区域显示目标界面内容;When the folding screen terminal is in an unfolded state, displaying target interface content in the first screen area;
在所述折叠屏终端由展开状态切换为折叠状态的情况下,停止在所述第一屏幕区域中显示所述目标界面内容,以及在所述第二屏幕区域显示锁屏界面;When the folding screen terminal is switched from the expanded state to the folded state, stop displaying the target interface content in the first screen area, and display a lock screen interface in the second screen area;
响应于解锁操作,在所述第二屏幕区域显示所述目标界面内容。In response to an unlocking operation, the target interface content is displayed in the second screen area.
另一方面,本申请实施例提供了一种内容显示装置,所述装置用于折叠屏终端,所述折叠屏终端设置有第一屏幕区域和第二屏幕区域,所述第一屏幕区域的尺寸大于所述第二屏幕区域的尺寸;On the other hand, an embodiment of the present application provides a content display device, the device is used in a folding screen terminal, the folding screen terminal is provided with a first screen area and a second screen area, and the size of the first screen area is greater than the size of the second screen area;
所述装置包括:The devices include:
显示模块,用于在所述折叠屏终端处于展开状态的情况下,在所述第一屏幕区域显示目标界面内容;A display module, configured to display target interface content in the first screen area when the folding screen terminal is in an unfolded state;
所述显示模块,还用于在所述折叠屏终端由展开状态切换为折叠状态的情况下,停止在所述第一屏幕区域中显示所述目标界面内容,以及在所述第二屏幕区域显示锁屏界面;The display module is further configured to stop displaying the target interface content in the first screen area and display the target interface content in the second screen area when the folding screen terminal is switched from the unfolded state to the folded state. lock screen interface;
所述显示模块,还用于响应于解锁操作,在所述第二屏幕区域显示所述目标界面内容。The display module is further configured to display the target interface content in the second screen area in response to an unlocking operation.
另一方面,本申请实施例提供了一种终端,所述终端包括处理器和存储器;所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以实现如上述方面所述的内容显示方法。On the other hand, an embodiment of the present application provides a terminal, the terminal includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the above aspects The content display method described above.
另一方面,提供了一种计算机可读存储介质,所述存储介质存储有至少一条指令,所述至少一条指令用于被处理器执行以实现如上述方面所述的内容显示方法。In another aspect, a computer-readable storage medium is provided, the storage medium stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the content display method as described in the above aspect.
另一方面,本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的 处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述方面提供的内容显示方法。On the other hand, an embodiment of the present application provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from a computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the content display method provided by the above aspects.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1示出了本申请一个示例性实施例提供的终端的结构方框图;FIG. 1 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application;
图2示出了本申请另一个示例性实施例提供的终端的结构方框图;Fig. 2 shows a structural block diagram of a terminal provided by another exemplary embodiment of the present application;
图3示出了本申请一个示例性实施例提供的外折叠屏终端的结构示意图;Fig. 3 shows a schematic structural diagram of an outer folding screen terminal provided by an exemplary embodiment of the present application;
图4示出了本申请一个示例性实施例提供的内折叠屏终端的结构示意图;Fig. 4 shows a schematic structural diagram of an inner folding screen terminal provided by an exemplary embodiment of the present application;
图5示出了本申请一个示例性实施例提供的内容显示方法的流程图;FIG. 5 shows a flowchart of a content display method provided by an exemplary embodiment of the present application;
图6示出了本申请一个示例性实施例提供的内容显示过程的界面示意图;FIG. 6 shows a schematic interface diagram of a content display process provided by an exemplary embodiment of the present application;
图7示出了本申请另一个示例性实施例提供的内容显示方法的流程图;FIG. 7 shows a flowchart of a content display method provided by another exemplary embodiment of the present application;
图8示出了本申请另一个示例性实施例提供的内容显示过程的界面示意图;Fig. 8 shows a schematic interface diagram of a content display process provided by another exemplary embodiment of the present application;
图9示出了本申请另一个示例性实施例提供的内容显示方法的流程图;FIG. 9 shows a flowchart of a content display method provided by another exemplary embodiment of the present application;
图10示出了本申请一个示例性实施例提供的包含分屏区域的目标界面内容显示过程的界面示意图;Fig. 10 shows a schematic interface diagram of a target interface content display process including a split-screen area provided by an exemplary embodiment of the present application;
图11示出了本申请一个示例性实施例提供的包含浮窗的目标界面内容显示过程的界面示意图;Fig. 11 shows a schematic interface diagram of a target interface content display process including a floating window provided by an exemplary embodiment of the present application;
图12示出了本申请另一个示例性实施例提供的内容显示过程的界面示意图;Fig. 12 shows a schematic interface diagram of a content display process provided by another exemplary embodiment of the present application;
图13示出了本申请一个示例性实施例提供的内容显示装置的结构框图。Fig. 13 shows a structural block diagram of a content display device provided by an exemplary embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.
参考图1和图2所示,其示出了本申请一个示例性实施例提供的终端100的结构方框图。该终端100可以是智能手机、平板电脑和电子书等等。本申请中的终端100可以包括一个或多个如下部件:处理器110、存储器120和显示屏130。Referring to FIG. 1 and FIG. 2 , it shows a structural block diagram of a terminal 100 provided by an exemplary embodiment of the present application. The terminal 100 can be a smart phone, a tablet computer, an e-book, and so on. The terminal 100 in this application may include one or more of the following components: a processor 110 , a memory 120 and a display screen 130 .
处理器110可以包括一个或者多个处理核心。处理器110利用各种接口和线路连接整个终端100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行终端100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏130所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块芯片进行实现。 Processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire terminal 100, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. 100's of various functions and processing data. Optionally, the processor 110 may adopt at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). implemented in the form of hardware. The processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, user interface and application programs, etc.; the GPU is responsible for rendering and drawing the content that needs to be displayed on the touch screen 130 ; the modem is used for processing wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 110, but implemented by a single chip.
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选地,该存储器120包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端100的使用所创建的数据(比如音频数据、电话本)等。The memory 120 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory, ROM). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like for implementing the following method embodiments; the storage data area can store data created according to the use of the terminal 100 (such as audio data, phonebook) and the like.
以操作系统为安卓(Android)系统为例,存储器120中存储的程序和数据如图1所示,存储器120中存储有Linux内核层220、系统运行库层240、应用框架层260和应用层280。Linux内核层220为终端100的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。系统运行库层240通过一些C/C++库来为Android系统提供了主要的特性支持。如SQLite库提供了数据库的支持,OpenGL/ES库提供了3D绘图的支持,Webkit库提供了浏览器内核的支持等。在系统运行库层240中还提供有安卓运行时库(Android Runtime),它主要提供了一些核心库,能够允许开发者使用Java语言来编写Android应用。应用框架层260提供了构建应用程序时可能用到的各种应用程序接口(Application Programming Interface,API),开发者也可以通过使用这些API来构建自己的应用程序,比如活动管理、窗口管理、视图管理、通知管理、内容提供者、包管理、通话管理、资源管理、定位管理。应用层280中运行有至少一个应用程序,这些应用程序可以是操作系统自带的联系人程序、短信程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如即时通信程序、相片美化程序等。Taking the operating system as an Android system as an example, the programs and data stored in the memory 120 are as shown in Figure 1, and the memory 120 is stored with a Linux kernel layer 220, a system runtime layer 240, an application framework layer 260 and an application layer 280 . The Linux kernel layer 220 provides underlying drivers for various hardware of the terminal 100, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and so on. The system runtime layer 240 provides main feature support for the Android system through some C/C++ libraries. For example, the SQLite library provides database support, the OpenGL/ES library provides 3D drawing support, and the Webkit library provides browser kernel support. An Android Runtime library (Android Runtime) is also provided in the system runtime layer 240, which mainly provides some core libraries and can allow developers to use the Java language to write Android applications. The application framework layer 260 provides various application programming interfaces (Application Programming Interface, API) that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content provider, package management, call management, resource management, location management. There is at least one application program running in the application layer 280, and these application programs can be contact programs, SMS programs, clock programs, camera applications, etc. Communication programs, photo beautification programs, etc.
以操作系统为IOS系统为例,存储器120中存储的程序和数据如图2所示,IOS系统包括:核心操作系统层320(Core OS layer)、核心服务层340(Core Services layer)、媒体层360(Media layer)、可触摸层380(Cocoa Touch Layer)。核心操作系统层320包括了操作系统内核、驱动程序以及底层程序框架,这些底层程序框架提供更接近硬件的功能,以供位于核心服务层340的程序框架所使用。核心服务层340提供给应用程序所需要的系统服务和/或程序框架,比如基础(Foundation)框架、账户框架、广告框架、数据存储框架、网络连接框架、地理位置框架、运动框架等等。媒体层360为应用程序提供有关视听方面的接口,如图形图像相关的接口、音频技术相关的接口、视频技术相关的接口、音视频传输技术的无线播放(AirPlay)接口等。可触摸层380为应用程序开发提供了各种常用的界面相关的框架,可触摸层380负责用户在终端100上的触摸交互操作。比如本地通知服务、远程推送服务、广告框架、游戏工具框架、消息用户界面接口(User Interface,UI)框架、用户界面UIKit框架、地图框架等等。Taking the operating system as the IOS system as an example, the programs and data stored in the memory 120 are as shown in Figure 2, and the IOS system includes: a core operating system layer 320 (Core OS layer), a core service layer 340 (Core Services layer), a media layer 360 (Media layer), touchable layer 380 (Cocoa Touch Layer). The core operating system layer 320 includes an operating system kernel, drivers, and underlying program frameworks. These underlying program frameworks provide functions closer to hardware for use by the program frameworks located in the core service layer 340 . The core service layer 340 provides system services and/or program frameworks required by applications, such as foundation framework, account framework, advertisement framework, data storage framework, network connection framework, geographic location framework, exercise framework and so on. The media layer 360 provides audio-visual interfaces for applications, such as interfaces related to graphics and images, interfaces related to audio technology, interfaces related to video technology, and wireless playback (AirPlay) interfaces of audio and video transmission technologies. The touchable layer 380 provides various commonly used interface-related frameworks for application development, and the touchable layer 380 is responsible for the user's touch interaction operation on the terminal 100 . Such as local notification service, remote push service, advertising framework, game tool framework, message user interface interface (User Interface, UI) framework, user interface UIKit framework, map framework and so on.
在图2所示出的框架中,与大部分应用程序有关的框架包括但不限于:核心服务层340中的基础框架和可触摸层380中的UIKit框架。基础框架提供许多基本的对象类和数据类型,为所有应用程序提供最基本的系统服务,和UI无关。而UIKit框架提供的类是基础的UI类库,用于创建基于触摸的用户界面,iOS应用程序可以基于UIKit框架来提供UI,所以它提供了应用程序的基础架构,用于构建用户界面,绘图、处理和用户交互事件,响应手势等等。In the framework shown in FIG. 2 , frameworks related to most applications include but not limited to: the basic framework in the core service layer 340 and the UIKit framework in the touchable layer 380 . The basic framework provides many basic object classes and data types, and provides the most basic system services for all applications, regardless of UI. The class provided by the UIKit framework is a basic UI class library for creating a touch-based user interface. iOS applications can provide UI based on the UIKit framework, so it provides the infrastructure of the application for building user interfaces, drawing , Handle and user interaction events, respond to gestures, and more.
显示屏130用于显示各个应用程序的应用界面;当显示屏130还具有触控功能时,其还用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作。The display screen 130 is used to display the application interface of each application program; when the display screen 130 also has a touch function, it is also used to receive a user's touch operation on or near it using any suitable object such as a finger or a touch pen.
可选的,显示屏130包括第一屏幕区域和第二屏幕区域。且本申请实施例中,终端可为内折叠屏终端也可为外折叠屏终端,当终端为外折叠屏终端时,第一屏幕区域与第二屏幕区域属于同一屏幕,且第一屏幕区域为屏幕的完整屏幕区域,第二屏幕区域为屏幕的部分屏幕区域。示意性的,如图3所示,当外折叠终端在展开状态下时,第一屏幕区域301处于平面状态,且包含第一显示区域303与第二显示区域304;而当外折叠屏终端折叠后,显示区域为第二屏幕区域302,其可为第一显示区域303也可为第二显示区域304。Optionally, the display screen 130 includes a first screen area and a second screen area. And in the embodiment of the present application, the terminal can be an inner folding screen terminal or an outer folding screen terminal. When the terminal is an outer folding screen terminal, the first screen area and the second screen area belong to the same screen, and the first screen area is The full screen area of the screen, and the second screen area is a partial screen area of the screen. Schematically, as shown in FIG. 3, when the outer folding terminal is in the unfolded state, the first screen area 301 is in a flat state and includes the first display area 303 and the second display area 304; and when the outer folding screen terminal is folded Finally, the display area is the second screen area 302 , which can be the first display area 303 or the second display area 304 .
当终端为内折叠屏终端时,第一屏幕区域与第二屏幕区域为独立屏幕,第一屏幕区域支持向内折叠;内折叠屏终端处于展开状态时,第一屏幕区域和第二屏幕区域均外露,内折叠屏终端处于折叠状态时,第二屏幕区域外露。示意性的,如图4所示,当内折叠屏终端在展开状态下时,第一屏幕区域401处于平面状态,且第一屏幕区域401与第二屏幕区域402均处于外露状态,第二屏幕区域402位于第一屏幕区域401的背面区域,当内折叠屏终端在折叠状态下时,第一屏幕区域401处于折叠状态且不外露,而第二屏幕区域402处于外露状态。用户可以根据自己的使用需求使可折叠屏幕在展开状态与折叠状态之间进行切换。例如,当用户不存在终端的使用需求时,可以使终端处于折叠状态,使得终端更加便携。再例如,当 用户需要观看视频时,可以使终端处于展开状态。When the terminal is an inner folding screen terminal, the first screen area and the second screen area are independent screens, and the first screen area supports inward folding; when the inner folding screen terminal is in the unfolded state, both the first screen area and the second screen area Exposed: When the inner folding screen terminal is in the folded state, the second screen area is exposed. Schematically, as shown in Figure 4, when the inner folding screen terminal is in the unfolded state, the first screen area 401 is in a flat state, and both the first screen area 401 and the second screen area 402 are in an exposed state, and the second screen area The area 402 is located in the back area of the first screen area 401. When the inner folding screen terminal is in the folded state, the first screen area 401 is in the folded state and not exposed, while the second screen area 402 is in the exposed state. Users can switch the foldable screen between the unfolded state and the folded state according to their own needs. For example, when the user has no need to use the terminal, the terminal may be in a folded state, making the terminal more portable. For another example, when the user needs to watch a video, the terminal can be in the unfolded state.
为了实现显示屏折叠,在一种可能的实施方式中,当终端为外折叠屏终端时,屏幕采用柔性材料(具有一定的伸缩延展性)制成,或者,屏幕的弯折区域采用柔性材料制成;而当终端为内折叠屏终端时,第一屏幕区域对应的屏幕采用柔性材料(具有一定的伸缩延展性)制成,或者,弯折区域采用柔性材料制成。In order to realize the folding of the display screen, in a possible implementation manner, when the terminal is an external folding screen terminal, the screen is made of a flexible material (with certain stretchability), or the bending area of the screen is made of a flexible material. and when the terminal is an inner folding screen terminal, the screen corresponding to the first screen area is made of a flexible material (with certain stretchability), or the bending area is made of a flexible material.
图3和图4中,仅以显示屏130包含两个屏幕为例进行说明,在另一些可能的实现方式中,显示屏130可以包含n(n≥3)个屏幕,从而实现n-1折结构的终端,本实施例对此不加以限定。In Fig. 3 and Fig. 4, only the display screen 130 includes two screens for illustration. The structure of the terminal is not limited in this embodiment.
可选的,终端100中还设置有至少一种其他部件,该至少一种其他部件包括:摄像头、指纹传感器、接近光传感器、距离传感器等。在一些实施例中,至少一种其他部件设置在终端100的正面、侧边或背面,比如将指纹传感器设置在背盖或侧边、将摄像头设置在显示屏130的一侧。Optionally, at least one other component is further disposed in the terminal 100, and the at least one other component includes: a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, and the like. In some embodiments, at least one other component is disposed on the front, side or back of the terminal 100 , such as disposing the fingerprint sensor on the back cover or the side, and disposing the camera on one side of the display screen 130 .
在另一些实施例中,至少一种其他部件可以集成在显示屏130的内部或下层。在一些实施例中,将骨传导式的听筒设置在终端100的内部;将传统终端的前面板上的其他部件集成在显示屏130的全部区域或部分区域中,比如将摄像头中的感光元件拆分为多个感光像素后,将每个感光像素集成在显示屏130中每个显示像素中的黑色区域中,使得显示屏130具备图像采集功能。由于将至少一种其他部件集成在了显示屏130的内部或下层,因此终端100具有更高的屏占比。In other embodiments, at least one other component may be integrated inside or under the display screen 130 . In some embodiments, a bone conduction earpiece is placed inside the terminal 100; other components on the front panel of a traditional terminal are integrated into all or part of the display 130, such as removing the photosensitive element in the camera After being divided into a plurality of photosensitive pixels, each photosensitive pixel is integrated in the black area of each display pixel in the display screen 130 , so that the display screen 130 has an image acquisition function. Since at least one other component is integrated inside or under the display screen 130, the terminal 100 has a higher screen-to-body ratio.
在一些可选的实施例中,终端100的中框的单个侧边,或两个侧边(比如左、右两个侧边),或四个侧边(比如上、下、左、右四个侧边)上设置有边缘触控传感器,该边缘触控传感器用于检测用户在中框上的触摸操作、点击操作、按压操作和滑动操作等中的至少一种操作。该边缘触控传感器可以是触摸传感器、热力传感器、压力传感器等中的任意一种。用户可以在边缘触控传感器上施加操作,对终端100中的应用程序进行控制。In some optional embodiments, a single side of the middle frame of the terminal 100, or two sides (such as the left and right sides), or four sides (such as the upper, lower, left, and right sides) An edge touch sensor is arranged on two sides), and the edge touch sensor is used to detect at least one of the user's touch operation, click operation, press operation and slide operation on the middle frame. The edge touch sensor may be any one of a touch sensor, a thermal sensor, a pressure sensor, and the like. The user can perform operations on the edge touch sensor to control the application programs in the terminal 100 .
除此之外,本领域技术人员可以理解,上述附图所示出的终端100的结构并不构成对终端100的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端100中还包括射频电路、输入单元、音频电路、无线保真(Wireless Fidelity,WiFi)模块、电源、蓝牙模块等部件,在此不再赘述。In addition, those skilled in the art can understand that the structure of the terminal 100 shown in the above drawings does not constitute a limitation on the terminal 100, and the terminal may include more or less components than those shown in the figure, or combine some components, or different component arrangements. For example, the terminal 100 also includes components such as a radio frequency circuit, an input unit, an audio circuit, a wireless fidelity (Wireless Fidelity, WiFi) module, a power supply, and a Bluetooth module, which will not be repeated here.
请参考图5,其示出了本申请一个实施例示出的内容显示方法的流程图。该方法应用于折叠屏终端,折叠屏终端设置有第一屏幕区域和第二屏幕区域,第一屏幕区域的尺寸大于第二屏幕区域的尺寸。该方法包括:Please refer to FIG. 5 , which shows a flowchart of a content display method according to an embodiment of the present application. The method is applied to a folding screen terminal. The folding screen terminal is provided with a first screen area and a second screen area, and the size of the first screen area is larger than the size of the second screen area. The method includes:
步骤501,在折叠屏终端处于展开状态的情况下,在第一屏幕区域显示目标界面内容。Step 501, when the folding screen terminal is in the unfolded state, display the target interface content in the first screen area.
本申请实施例中,展开状态是指第一屏幕区域处于平面的状态,终端可通过检测第一屏幕区域是否位于同一平面,进而确定终端是否处于展开状态,如图3所示,第一屏幕区域301包含第一显示区域303与第二显示区域304,当第一显示区域303与第二显示区域304间夹角为180°时,确定折叠屏终端处于展开状态。相应的,如图4所示,当第一屏幕区域401位于同一平面时,确定终端处于展开状态。In this embodiment of the application, the unfolded state refers to the state where the first screen area is in a flat state. The terminal can determine whether the terminal is in an unfolded state by detecting whether the first screen area is on the same plane. As shown in Figure 3, the first screen area 301 includes a first display area 303 and a second display area 304. When the angle between the first display area 303 and the second display area 304 is 180°, it is determined that the folding screen terminal is in an unfolded state. Correspondingly, as shown in FIG. 4 , when the first screen area 401 is located on the same plane, it is determined that the terminal is in the unfolded state.
在一种可能的实施方式中,当折叠屏终端处于展开状态时,通过第一屏幕区域显示目标界面内容。其中,目标界面内容为当前终端显示的界面内容,其可为任一功能或任一应用对应的显示界面,比如,应用程序的应用界面、终端主界面、终端状态通知界面以及系统多任务界面等。In a possible implementation manner, when the folding screen terminal is in an unfolded state, target interface content is displayed through the first screen area. Wherein, the target interface content is the interface content displayed by the current terminal, which can be any function or any application corresponding display interface, for example, the application interface of the application program, the terminal main interface, the terminal status notification interface, and the system multitasking interface, etc. .
示意性的,如图6所示,目标界面内容为应用程序的应用界面。在终端处于展开状态下时,通过第一屏幕区域601显示应用程序的应用界面602。Schematically, as shown in FIG. 6 , the target interface content is an application interface of an application program. When the terminal is in the unfolded state, the application interface 602 of the application is displayed through the first screen area 601 .
步骤502,在折叠屏终端由展开状态切换为折叠状态的情况下,停止在第一屏幕区域中显示目标界面内容,以及在第二屏幕区域显示锁屏界面。 Step 502, when the folding screen terminal is switched from the expanded state to the folded state, stop displaying the content of the target interface in the first screen area, and display the lock screen interface in the second screen area.
本申请实施例中,折叠状态是指第一屏幕区域的屏幕夹角小于第一角度的状态。可选的,第一角度可为终端默认角度,也可为用户自定义角度。比如,第一角度为90°。示意性的,如图3所示,当折叠终端时,第一屏幕区域中的第一显示区域303与第二显示区域304之间的夹角发生变化,当夹角小于90°时,确定终端处于折叠状态。当终端由展开状态切换为折叠状态后,表明用户可能不再继续使用终端或需使用尺寸较小的第二屏幕区域进行界面内容的显示。而当停止在第一屏幕区域显示目标界面内容后,若直接在第二屏幕区域显示目标界面内容,用户若不再继续使用终端,则可能造成目标界面内容的持续显示,且容易造成误触。因此,在折叠屏终端切换为折叠状态后,首先在第二屏幕区域显示锁屏界面。In the embodiment of the present application, the folded state refers to a state in which the screen angle of the first screen area is smaller than the first angle. Optionally, the first angle may be a default angle of the terminal, or may be a user-defined angle. For example, the first angle is 90°. Schematically, as shown in FIG. 3, when the terminal is folded, the angle between the first display area 303 and the second display area 304 in the first screen area changes, and when the angle is less than 90°, it is determined that the terminal is collapsed. When the terminal switches from the unfolded state to the folded state, it indicates that the user may not continue to use the terminal or needs to use the second screen area with a smaller size to display interface content. After stopping displaying the target interface content in the first screen area, if the target interface content is directly displayed in the second screen area, if the user does not continue to use the terminal, the target interface content may continue to be displayed, and it is easy to cause false touches. Therefore, after the folding screen terminal is switched to the folded state, the lock screen interface is firstly displayed in the second screen area.
在一种可能的实施方式中,在折叠屏终端由展开状态切换至折叠状态的过程中,其屏幕显示内容以及内容显示区域随第一屏幕区域的屏幕夹角变化。当第一屏幕区域的屏幕夹角小于第一角度时,确定处于折叠状态,因此,在当屏幕夹角大于第一角度时,保持在第一屏幕区域中显示目标界面内容;而当屏幕夹角变化至第一角度时,则停止在第一屏幕区域中显示目标界面内容,并在第二屏幕区域中显示锁屏界面,即当屏幕夹角变化至第一角度时,第一屏幕区域熄灭,而第二屏幕区域亮起。且在屏幕夹角小于第一角度的期间,在第二屏幕区域中显示界面内容。In a possible implementation manner, when the folding screen terminal is switched from the unfolded state to the folded state, its screen display content and content display area change with the screen angle of the first screen area. When the screen angle of the first screen area is smaller than the first angle, it is determined to be in the folded state. Therefore, when the screen angle is greater than the first angle, keep displaying the target interface content in the first screen area; and when the screen angle When changing to the first angle, stop displaying the target interface content in the first screen area, and display the lock screen interface in the second screen area, that is, when the screen angle changes to the first angle, the first screen area goes out, Instead, the second screen area lights up. And during the period when the screen angle is smaller than the first angle, the interface content is displayed in the second screen area.
在另一种可能的实施方式中,当第一角度较小时,若当屏幕夹角变化至第一角度再停止在第一屏幕区域中显示目标界面内容,则可能影响观看部分目标界面内容。因此,可预设第二角度,且第二角度大于第一角度。当屏幕夹角在大于第二角度时,保持在第一屏幕区域中显示目标界面内容;当屏幕夹角小于第二角度后,则停止在第一屏幕区域中显示目标界面内容,并熄灭第一屏幕区域;当屏幕夹角变化至第一角度时,则开启第二屏幕区域,并在第二屏幕区域中显示锁屏界面。In another possible implementation manner, when the first angle is small, if the screen angle changes to the first angle and then stops displaying the target interface content in the first screen area, viewing part of the target interface content may be affected. Therefore, the second angle can be preset, and the second angle is greater than the first angle. When the screen angle is greater than the second angle, keep displaying the target interface content in the first screen area; when the screen angle is smaller than the second angle, stop displaying the target interface content in the first screen area, and turn off the first screen area. screen area; when the included angle of the screen changes to the first angle, a second screen area is opened and a lock screen interface is displayed in the second screen area.
示意性的,第二角度为150°,第一角度为90°,在终端由展开状态切换至折叠状态的过程中,当第一屏幕区域的屏幕夹角在150°-180°的范围内时,在第一屏幕区域中显示目标界面内容,而当屏幕夹角小于150°后,停止在第一屏幕区域中显示目标界面内容,当屏幕夹角变化至90°时,则开启第二屏幕区域,并在第二屏幕区域中显示锁屏界面。Schematically, the second angle is 150°, and the first angle is 90°. When the terminal is switched from the unfolded state to the folded state, when the screen angle of the first screen area is within the range of 150°-180° , display the target interface content in the first screen area, and stop displaying the target interface content in the first screen area when the screen angle is less than 150°, and open the second screen area when the screen angle changes to 90° , and display the lock screen in the second screen area.
可选的,锁屏界面可为终端默认锁屏界面,也可为用户自定义界面。Optionally, the lock screen interface may be a terminal default lock screen interface, or may be a user-defined interface.
示意性的,如图6所示,当终端切换为折叠状态后,将在第二屏幕区域603显示锁屏界面604。Schematically, as shown in FIG. 6 , when the terminal is switched to the folded state, a lock screen interface 604 will be displayed in the second screen area 603 .
步骤503,响应于解锁操作,在第二屏幕区域显示目标界面内容。 Step 503, in response to the unlocking operation, display the content of the target interface in the second screen area.
当用户在锁屏界面执行解锁操作后,终端将在第二屏幕区域继续显示原先在第一屏幕区域中所显示的目标界面内容,实现内容的接力显示,无需用户重新打开目标界面内容。After the user performs the unlocking operation on the lock screen interface, the terminal will continue to display the target interface content originally displayed in the first screen area in the second screen area, realizing the relay display of the content, without requiring the user to reopen the target interface content.
比如,当目标界面内容为应用程序的应用界面时,终端接收到解锁操作后,继续在第二屏幕区域显示原先在第一屏幕区域中显示的应用界面;或当目标界面内容为系统设置界面时,终端接收到解锁操作后,继续在第二屏幕区域显示原先在第一屏幕区域中显示的系统设置界面。For example, when the content of the target interface is the application interface of the application program, after receiving the unlock operation, the terminal continues to display the application interface originally displayed in the first screen area in the second screen area; or when the content of the target interface is the system setting interface After receiving the unlocking operation, the terminal continues to display the system setting interface originally displayed in the first screen area in the second screen area.
结合上述示例,如图6所示,终端接收到解锁操作后,在第二屏幕区域603中继续显示应用界面602。With reference to the above example, as shown in FIG. 6 , after receiving the unlocking operation, the terminal continues to display the application interface 602 in the second screen area 603 .
综上所述,本申请实施例中,在折叠屏终端尺寸较大的第一屏幕区域显示目标界面内容时,若终端被折叠,则首先显示锁屏界面,接收到解锁操作后,继续通过第二屏幕区域显示目标界面内容。一方面,第二屏幕区域继续显示目标界面内容可实现折叠屏终端中不同屏幕区域间内容的接力显示,提高内容显示效率;另一方面,由于用户在折叠终端后可能暂停使用终端,若在第二屏幕区域直接显示目标界面内容,则容易产生误触情况。因此,在终端被折叠后,用户首先需进行解锁操作,终端才可继续显示目标界面内容,避免产生误触。To sum up, in the embodiment of this application, when the target interface content is displayed in the first screen area with a larger size of the folding screen terminal, if the terminal is folded, the lock screen interface will be displayed first, and after receiving the unlocking operation, continue to pass through the second screen area. The second screen area displays the content of the target interface. On the one hand, continuing to display the target interface content in the second screen area can realize the relay display of content between different screen areas in the folding screen terminal and improve the content display efficiency; on the other hand, since the user may suspend the use of the terminal after folding the terminal, if If the content of the target interface is directly displayed in the second screen area, false touches are likely to occur. Therefore, after the terminal is folded, the user first needs to perform an unlocking operation, so that the terminal can continue to display the content of the target interface to avoid false touches.
可选的,在第二屏幕区域显示目标界面内容,包括:Optionally, the target interface content is displayed in the second screen area, including:
确定目标界面内容在第一屏幕区域内的目标界面布局;Determine the target interface layout of the target interface content in the first screen area;
基于目标界面布局,在第二屏幕区域显示目标界面内容。Based on the layout of the target interface, the content of the target interface is displayed in the second screen area.
可选的,目标界面内容包括至少两个分屏区域;Optionally, the target interface content includes at least two split-screen areas;
确定目标界面内容在第一屏幕区域内的目标界面布局,包括:Determine the target interface layout of the target interface content in the first screen area, including:
确定各个分屏区域在第一屏幕区域内的分屏占比,以及各个分屏区域之间的相对位置关系;Determine the split-screen ratio of each split-screen area in the first screen area, and the relative positional relationship between each split-screen area;
基于目标界面布局,在第二屏幕区域显示目标界面内容,包括:Based on the layout of the target interface, display the content of the target interface in the second screen area, including:
基于相对位置关系,确定各个分屏区域在第二屏幕区域内的目标显示位置;Based on the relative positional relationship, determine the target display position of each split-screen area in the second screen area;
基于分屏占比以及目标显示位置,在第二屏幕区域显示各个分屏区域。Based on the split-screen ratio and the target display position, each split-screen area is displayed in the second screen area.
可选的,目标界面内容包括浮窗;Optionally, the content of the target interface includes a floating window;
确定目标界面内容在第一屏幕区域内的目标界面布局,包括:Determine the target interface layout of the target interface content in the first screen area, including:
确定浮窗在第一屏幕区域内的第一浮窗尺寸,以及浮窗在第一屏幕区域内的相对显示位置;determining a first floating window size of the floating window in the first screen area, and a relative display position of the floating window in the first screen area;
基于目标界面布局,在第二屏幕区域显示目标界面内容,包括:Based on the layout of the target interface, display the content of the target interface in the second screen area, including:
基于第一浮窗尺寸以及第一屏幕区域与第二屏幕区域的屏幕比例,确定浮窗在第二屏幕区域内的第二浮窗尺寸;Determine a second floating window size of the floating window in the second screen area based on the first floating window size and the screen ratio between the first screen area and the second screen area;
基于相对显示位置确定浮窗在第二屏幕区域内的目标显示位置;determining a target display position of the floating window in the second screen area based on the relative display position;
在第二屏幕区域的目标显示位置处显示第二浮窗尺寸的浮窗。A floating window with a second floating window size is displayed at the target display position in the second screen area.
可选的,目标界面内容包括主界面和应用界面;Optionally, the content of the target interface includes a main interface and an application interface;
在第一屏幕区域显示目标界面内容,包括:Display the target interface content in the first screen area, including:
基于第一配置在第一屏幕区域显示目标界面内容,其中,基于第一配置显示的目标界面内容适配第一屏幕区域的尺寸;displaying the target interface content in the first screen area based on the first configuration, wherein the target interface content displayed based on the first configuration is adapted to the size of the first screen area;
在第二屏幕区域显示目标界面内容,包括:Display the target interface content in the second screen area, including:
基于第二配置在第二屏幕区域显示目标界面内容,其中,基于第二配置显示的目标界面内容适配第二屏幕区域的尺寸。The target interface content is displayed in the second screen area based on the second configuration, wherein the target interface content displayed based on the second configuration adapts to the size of the second screen area.
可选的,在折叠屏终端由展开状态切换为折叠状态的情况下,停止在第一屏幕区域中显示目标界面内容,并在第二屏幕区域显示锁屏界面,包括:Optionally, when the folding screen terminal is switched from the unfolded state to the folded state, stop displaying the content of the target interface in the first screen area, and display the lock screen interface in the second screen area, including:
在折叠屏终端由展开状态切换为折叠状态,且目标功能未处于运行状态的情况下,停止在第一屏幕区域中显示目标界面内容,以及在第二屏幕区域显示锁屏界面,目标功能包括音视频通话功能。When the folding screen terminal is switched from the expanded state to the folded state, and the target function is not in the running state, stop displaying the content of the target interface in the first screen area, and display the lock screen interface in the second screen area. The target function includes audio Video call function.
可选的,响应于折叠屏终端由展开状态切换为折叠状态,且目标功能处于运行状态,停止在第一屏幕区域中显示目标界面内容,并在第二屏幕区域显示目标界面内容。Optionally, in response to the folding screen terminal switching from the expanded state to the folded state, and the target function is in the running state, stop displaying the target interface content in the first screen area, and display the target interface content in the second screen area.
可选的,响应于解锁操作,在第二屏幕区域显示目标界面内容,包括:Optionally, in response to the unlocking operation, the target interface content is displayed in the second screen area, including:
在切换至折叠状态后的第一时长内接收到解锁操作的情况下,在第二屏幕区域显示目标界面内容。If an unlocking operation is received within the first period of time after switching to the folded state, the content of the target interface is displayed in the second screen area.
可选的,在切换至折叠状态后的第一时长外接收到解锁操作的情况下,在第二屏幕区域显示主界面。Optionally, in a case where an unlock operation is received outside the first time period after switching to the folded state, the main interface is displayed in the second screen area.
可选的,在切换至折叠状态后的第一时长内接收到解锁操作的情况下,在第二屏幕区域显示目标界面内容,包括:Optionally, if an unlock operation is received within the first period of time after switching to the folded state, the target interface content is displayed in the second screen area, including:
在第二时长内接收到第一解锁操作的情况下,在第二屏幕区域显示目标界面内容,第二时长小于第一时长;In the case that the first unlocking operation is received within the second duration, the target interface content is displayed in the second screen area, and the second duration is shorter than the first duration;
在第二时长内未接收到第一解锁操作,且在第一时长内接收到第二解锁操作的情况下,在第二屏幕区域显示目标界面内容;If the first unlocking operation is not received within the second duration and the second unlocking operation is received within the first duration, the target interface content is displayed in the second screen area;
其中,第一解锁操作的安全级别低于第二解锁操作的安全级别,且第一解锁操作的解锁效率高于第二解锁操作的解锁效率。Wherein, the security level of the first unlocking operation is lower than that of the second unlocking operation, and the unlocking efficiency of the first unlocking operation is higher than that of the second unlocking operation.
可选的,第一解锁操作为滑动解锁操作,第二解锁操作为生物特征解锁操作或密钥解锁操作。Optionally, the first unlocking operation is a sliding unlocking operation, and the second unlocking operation is a biological feature unlocking operation or a key unlocking operation.
可选的,在切换至折叠状态后的第一时长外接收到解锁操作的情况下,在第二屏幕区域显示主界面,包括:Optionally, when an unlock operation is received outside the first time after switching to the folded state, the main interface is displayed in the second screen area, including:
在切换至折叠状态后的第一时长外接收到解锁操作的情况下,在第二屏幕区域显示包含快捷图标的主界面,快捷图标用于触发显示目标界面内容。In the case that the unlocking operation is received outside the first time period after switching to the folded state, the main interface including the shortcut icon is displayed in the second screen area, and the shortcut icon is used to trigger the display of the content of the target interface.
可选的,响应于解锁操作,在第二屏幕区域显示目标界面内容之后,方法还包括:Optionally, in response to the unlocking operation, after the target interface content is displayed in the second screen area, the method further includes:
在折叠屏终端由折叠状态切换为展开状态的情况下,停止在第二屏幕区域中显示目标界面内容,以及在第一屏幕区域显示目标界面内容。When the folding screen terminal switches from the folded state to the unfolded state, stop displaying the target interface content in the second screen area, and display the target interface content in the first screen area.
可选的,折叠屏终端为内折叠屏终端,第一屏幕区域和第二屏幕区域为独立屏幕,第一屏幕区域支持向内折叠;内折叠屏终端处于展开状态时,第一屏幕区域和第二屏幕区域均外露,内折叠屏终端处于折叠状态时,第二屏幕区域外露;Optionally, the folding screen terminal is an inner folding screen terminal, the first screen area and the second screen area are independent screens, and the first screen area supports inward folding; when the inner folding screen terminal is in the unfolded state, the first screen area and the second screen area Both screen areas are exposed, and when the inner folding screen terminal is in the folded state, the second screen area is exposed;
或,or,
折叠屏终端为外折叠屏终端,第一屏幕区域和第二屏幕区域属于同一屏幕,第一屏幕区域为屏幕的完整屏幕区域,第二屏幕区域为屏幕的部分屏幕区域。The folding screen terminal is an external folding screen terminal, the first screen area and the second screen area belong to the same screen, the first screen area is a complete screen area of the screen, and the second screen area is a partial screen area of the screen.
当目标界面内容由在第一屏幕区域显示切换为第二屏幕区域显示时,可能需对显示界面尺寸等进行相应调整,使其与第二屏幕区域相适应。下面将以示例性实施例进行说明。When the content of the target interface is switched from being displayed in the first screen area to being displayed in the second screen area, it may be necessary to adjust the size of the display interface to adapt to the second screen area. The following will be described with an exemplary embodiment.
请参考图7,其示出了本申请另一个实施例示出的内容显示方法的流程图。该方法应用于折叠屏终端,折叠屏终端设置有第一屏幕区域和第二屏幕区域,第一屏幕区域的尺寸大于第二屏幕区域的尺寸。该方法包括:Please refer to FIG. 7 , which shows a flowchart of a content display method according to another embodiment of the present application. The method is applied to a folding screen terminal. The folding screen terminal is provided with a first screen area and a second screen area, and the size of the first screen area is larger than the size of the second screen area. The method includes:
步骤701,在折叠屏终端处于展开状态的情况下,基于第一配置在第一屏幕区域显示目标界面内容,其中,基于第一配置显示的目标界面内容适配第一屏幕区域的尺寸。 Step 701, when the folding screen terminal is in the unfolded state, display the target interface content on the first screen area based on the first configuration, wherein the target interface content displayed based on the first configuration fits the size of the first screen area.
当终端处于展开状态时,在第一屏幕区域中显示目标界面内容,本申请实施例中,终端基于第一配置在第一屏幕区域中显示目标界面内容。其中,第一配置包括对目标界面内容中各个显示内容的显示方式进行配置,使其适配第一屏幕区域的尺寸。比如,其中,显示方式包括对显示尺寸以及显示布局的配置。When the terminal is in the unfolded state, the target interface content is displayed in the first screen area. In the embodiment of the present application, the terminal displays the target interface content in the first screen area based on the first configuration. Wherein, the first configuration includes configuring the display manner of each display content in the target interface content so as to adapt to the size of the first screen area. For example, the display mode includes the configuration of display size and display layout.
可选的,目标界面内容包括主界面和应用界面。其中,主界面中可能包括应用图标以及其他控件如时间控件、天气控件等,因此,第一配置包括对应用图标以及其他控件的显示尺寸以及布局位置的配置。除此之外,目标界面内容可能为各个桌面页面,即为包含不同应用图标的界面。示意性的,如图8所示,在第一屏幕区域801中包含应用图标802。Optionally, the content of the target interface includes a main interface and an application interface. Wherein, the main interface may include application icons and other controls such as time controls, weather controls, etc. Therefore, the first configuration includes configurations of display sizes and layout positions of application icons and other controls. In addition, the content of the target interface may be various desktop pages, that is, interfaces including different application icons. Schematically, as shown in FIG. 8 , an application icon 802 is included in the first screen area 801 .
而当目标界面内容为应用界面时,可对应用界面中各个显示内容的显示尺寸以及布局位置进行配置。比如,当目标界面内容为浏览器搜索界面时,可对其中图片、文字以及搜索栏的显示尺寸以及布局位置进行配置。When the target interface content is an application interface, the display size and layout position of each display content in the application interface can be configured. For example, when the content of the target interface is a browser search interface, the display size and layout position of the picture, text, and search bar may be configured.
可选的,可根据第一屏幕区域尺寸对目标界面内容的显示尺寸以及显示布局设置第一配置。Optionally, the first configuration may be set for the display size and display layout of the target interface content according to the size of the first screen area.
步骤702,在折叠屏终端由展开状态切换为折叠状态的情况下,停止在第一屏幕区域中显示目标界面内容,以及在第二屏幕区域显示锁屏界面。 Step 702, when the folding screen terminal switches from the expanded state to the folded state, stop displaying the content of the target interface in the first screen area, and display the lock screen interface in the second screen area.
本步骤实施方式可参考上述步骤502,本实施例不再赘述。For the implementation manner of this step, reference may be made to the foregoing step 502, and details are not described in this embodiment.
步骤703,在切换至折叠状态后的第一时长内接收到解锁操作的情况下,基于第二配置在第二屏幕区域显示目标界面内容,其中,基于第二配置显示的目标界面内容适配第二屏幕区域的尺寸。Step 703: When an unlock operation is received within the first time period after switching to the folded state, display the target interface content in the second screen area based on the second configuration, wherein the target interface content displayed based on the second configuration is adapted to the second configuration. Second, the size of the screen area.
可选的,响应于解锁操作,基于第二配置在第二屏幕区域显示目标界面内容。由于目标界面内容切换至第二屏幕区域进行显示,因此,需对目标界面内容显示配置进行调整,即将第一配置调整为第二配置,使目标界面内容与第二屏幕区域相适配,相应的,第二配置包括 对目标界面内容中各个显示内容显示方式的配置。Optionally, in response to the unlocking operation, the target interface content is displayed in the second screen area based on the second configuration. Since the target interface content is switched to the second screen area for display, it is necessary to adjust the display configuration of the target interface content, that is, adjust the first configuration to the second configuration, so that the target interface content is compatible with the second screen area, and the corresponding , the second configuration includes configuring the display modes of each display content in the target interface content.
可选的,基于第二配置显示的目标界面内容的显示尺寸小于基于第一配置显示的目标界面内容的显示尺寸。而对于显示布局,目标界面内容中各个内容显示相对屏幕区域的位置可保持不变,或,也可根据屏幕区域的尺寸进行调整,但需要说明的是,目标界面内容显示内容保持不变。其中,当目标界面内容为主界面时,第二配置同样包括对应用图标以及其他控件的显示尺寸以及布局位置的配置;当目标界面内容为应用界面时,第二配置包括对应用界面中各个显示内容的显示尺寸以及布局位置的配置。Optionally, the display size of the target interface content displayed based on the second configuration is smaller than the display size of the target interface content displayed based on the first configuration. As for the display layout, the position of each content displayed in the target interface content relative to the screen area can remain unchanged, or can also be adjusted according to the size of the screen area, but it should be noted that the display content of the target interface content remains unchanged. Wherein, when the content of the target interface is the main interface, the second configuration also includes the configuration of the display size and layout position of the application icons and other controls; The display size of the content and the configuration of the layout position.
示意性的,如图8所示,当对终端解锁后,则在第二屏幕区域803中继续显示应用图标802,在此过程中,对应用图标的尺寸以及各应用图标间的间隔进行调整,使其适配第二屏幕区域803的尺寸,显示在第二屏幕区域803中。Schematically, as shown in FIG. 8 , after the terminal is unlocked, the application icons 802 continue to be displayed in the second screen area 803. During this process, the size of the application icons and the interval between the application icons are adjusted. Make it fit the size of the second screen area 803 and display it in the second screen area 803 .
本申请实施例中,当在终端切换为折叠状态后,若接收到解锁操作,则将继续显示目标界面内容。而若在终端切换为折叠状态之后的较长时间内,才接收到解锁操作,表明用于可能无需继续显示目标界面内容,因此,在一种可能的实施方式中,仅在第一时长内接收到解锁操作时,才继续基于第二屏幕区域显示目标界面内容。示意性的,第一时长可为5分钟,当终端在第二屏幕区域显示锁屏界面后,开始计时,当检测到在5分钟内接收到解锁操作时,可继续显示目标界面内容。In the embodiment of the present application, after the terminal is switched to the folded state, if an unlock operation is received, the content of the target interface will continue to be displayed. However, if the unlock operation is received within a relatively long period of time after the terminal is switched to the folded state, it indicates that the user may not need to continue displaying the target interface content. Therefore, in a possible implementation manner, only within the first duration The target interface content continues to be displayed based on the second screen area until the unlocking operation is performed. Schematically, the first duration may be 5 minutes. When the terminal displays the lock screen interface in the second screen area, it starts timing, and when it detects that an unlock operation is received within 5 minutes, it may continue to display the content of the target interface.
且本申请实施例中,通过锁屏界面避免误触的情况,而当在终端切换为折叠状态后,立刻或在短暂时间内接收到解锁操作时,表明用户需尽快使用第二屏幕区域显示目标界面内容,此时,若解锁操作较为复杂时,可能影响任务的进行。因此,在一种可能的实施方式中,在短暂时间内可对解锁方式进行简化,便于用户进行解锁。And in the embodiment of this application, the situation of accidental touch is avoided through the lock screen interface, and when the terminal is switched to the folded state, when the unlock operation is received immediately or within a short period of time, it indicates that the user needs to use the second screen area to display the target as soon as possible. Interface content, at this time, if the unlocking operation is more complicated, it may affect the progress of the task. Therefore, in a possible implementation manner, the unlocking method can be simplified in a short time to facilitate the user to unlock.
可选的,在第二时长内接收到第一解锁操作的情况下,在第二屏幕区域显示目标界面内容,第二时长小于第一时长。即在终端显示锁屏界面后的第二时长内,用户可通过第一解锁操作对终端进行解锁,终端接收到第一解锁操作后,在第二屏幕区域显示目标界面内容。Optionally, if the first unlocking operation is received within a second duration, the target interface content is displayed in the second screen area, and the second duration is shorter than the first duration. That is, within a second period of time after the terminal displays the lock screen interface, the user can unlock the terminal through the first unlocking operation, and the terminal displays the content of the target interface in the second screen area after receiving the first unlocking operation.
而在达到第二时长后,若未接收到第一解锁操作,可能存在终端由他人使用的情况,需对终端使用者的身份进行验证。可选的,响应于在第二时长内未接收到第一解锁操作,且在第一时长内接收到第二解锁操作的情况下,在第二屏幕区域显示目标界面内容。其中,第一解锁操作的安全级别低于第二解锁操作的安全级别,且第一解锁操作的解锁效率高于第二解锁操作的解锁效率。After the second time period is reached, if the first unlocking operation is not received, the terminal may be used by others, and the identity of the terminal user needs to be verified. Optionally, in response to the fact that the first unlocking operation is not received within the second duration and the second unlocking operation is received within the first duration, the target interface content is displayed in the second screen area. Wherein, the security level of the first unlocking operation is lower than that of the second unlocking operation, and the unlocking efficiency of the first unlocking operation is higher than that of the second unlocking operation.
即在第二时长内,用户可通过较为简单的操作对终端进行解锁,而当达到第二时长后,则需通过较为复杂的解锁操作对终端进行解锁,进行身份验证。且在达到第二时长后,若终端接收到第一解锁操作,则可在锁屏界面显示切换操作提示,用于提醒用户当前需使用第二解锁操作对终端进行解锁。That is, within the second period of time, the user can unlock the terminal through a relatively simple operation, and after the second period of time, the user needs to unlock the terminal through a relatively complicated unlocking operation for identity verification. And after the second time period is reached, if the terminal receives the first unlocking operation, a switching operation prompt may be displayed on the lock screen interface to remind the user that the terminal needs to be unlocked by the second unlocking operation.
可选的,第一解锁操作可为终端默认设置操作,也可为用户自定义的简单操作,而第二解锁操作可为用户设定的进行身份验证的操作。Optionally, the first unlocking operation may be a terminal default setting operation, or a user-defined simple operation, and the second unlocking operation may be an operation set by the user for identity verification.
可选的,第一解锁操作为滑动解锁操作,第二解锁操作为生物特征解锁操作或密钥解锁操作。其中,生物特征解锁操作可包括指纹解锁操作、人脸识别解锁操作或语音解锁操作中的至少一种;而密钥解锁操作可为图案解锁操作或数字解锁操作等。Optionally, the first unlocking operation is a sliding unlocking operation, and the second unlocking operation is a biological feature unlocking operation or a key unlocking operation. Wherein, the biometric unlocking operation may include at least one of fingerprint unlocking, face recognition unlocking, or voice unlocking; and the key unlocking operation may be pattern unlocking or digital unlocking.
示意性的,第二时长为1分钟,当在终端切换为折叠状态后的1分钟内,终端接收到对锁屏界面的滑动操作时,则在第二屏幕区域显示目标界面内容。而若在1分钟内未接收到滑动解锁操作,而在1分钟后5分钟内接收到滑动解锁操作时,终端继续显示锁屏界面,而若接收到生物特征解锁操作时,则将显示目标界面内容。Schematically, the second duration is 1 minute. When the terminal receives a sliding operation on the lock screen interface within 1 minute after the terminal switches to the folded state, the target interface content is displayed in the second screen area. And if the slide unlock operation is not received within 1 minute, and the slide unlock operation is received within 5 minutes after 1 minute, the terminal will continue to display the lock screen interface, and if the biometric unlock operation is received, the target interface will be displayed content.
步骤704,在切换至折叠状态后的第一时长外接收到解锁操作的情况下,在第二屏幕区域显示主界面。 Step 704, in the case that the unlocking operation is received outside the first time period after switching to the folded state, display the main interface in the second screen area.
由于可能存在用户在将终端折叠后较长时间进行解锁,而无需继续显示目标界面内容的情况,因此,当在第一时长之外接收到解锁操作后,在第二屏幕区域显示主界面,不再显示 目标界面内容。且在达到第一时长后,可关闭目标界面内容相应任务的运行状态,避免造成功耗的浪费。Since there may be situations where the user unlocks the terminal for a long time after folding the terminal without continuing to display the content of the target interface, when the unlock operation is received outside the first duration, the main interface is displayed in the second screen area without Then display the content of the target interface. And after reaching the first duration, the running state of the task corresponding to the content of the target interface can be turned off, so as to avoid waste of power consumption.
在一种可能的实施方式中,当在终端中显示主界面后,用户可能仍需打开目标界面内容,此时,可在主界面中显示快捷图标,进而触发快速显示目标界面内容。In a possible implementation manner, after the main interface is displayed on the terminal, the user may still need to open the content of the target interface. At this time, a shortcut icon may be displayed on the main interface to trigger quick display of the content of the target interface.
可选的,在切换至折叠状态后的第一时长外接收到解锁操作的情况下,在第二屏幕区域显示包含快捷图标的主界面,快捷图标用于触发显示目标界面内容。Optionally, when an unlock operation is received outside the first time period after switching to the folded state, a main interface containing a shortcut icon is displayed in the second screen area, and the shortcut icon is used to trigger the display of the content of the target interface.
其中,快捷图标可为任意形式的图标,其可由终端默认设置,也可由用户自定义设置。且不同类型的目标界面内容可对应不同形式的快捷图标,比如,可为目标界面内容对应的缩略图,且当目标界面内容为应用界面时,快捷图标还可为应用程序对应的快捷应用图标,其与该应用程序对应的默认应用图标不同。或者,不同目标界面内容可对应相同的快捷图标,本实施例对此不做限定。Wherein, the shortcut icon can be an icon of any form, which can be set by default by the terminal, or can be customized by the user. And different types of target interface content can correspond to different forms of shortcut icons, for example, it can be a thumbnail corresponding to the target interface content, and when the target interface content is an application interface, the shortcut icon can also be a shortcut application icon corresponding to the application program, It is different from the corresponding default application icon for this application. Alternatively, different target interface contents may correspond to the same shortcut icon, which is not limited in this embodiment.
步骤705,在折叠屏终端由折叠状态切换为展开状态的情况下,停止在第二屏幕区域中显示目标界面内容,以及在第一屏幕区域显示目标界面内容。Step 705: Stop displaying the target interface content in the second screen area and display the target interface content in the first screen area when the folding screen terminal switches from the folded state to the unfolded state.
在一种可能的应用场景下,终端可由折叠状态切换回展开状态,在该种场景下,由于终端由较小屏幕区域切换为较大屏幕区域进行显示,表明用户需继续使用终端,因此,当终端由折叠状态切换为展开状态时,可在第二屏幕区域中停止显示当前正在显示的目标界面内容,直接切换由第一屏幕区域进行显示。In a possible application scenario, the terminal can switch from the folded state back to the unfolded state. In this scenario, since the terminal switches from a smaller screen area to a larger screen area for display, it indicates that the user needs to continue using the terminal. Therefore, when When the terminal switches from the folded state to the unfolded state, it can stop displaying the currently displayed target interface content in the second screen area, and directly switch to the first screen area for display.
示意性的,如图8所示,当终端由折叠状态切换为展开状态后,停止在第二屏幕区域803中显示应用图标802,而继续在第一屏幕区域801中显示应用图标802。Schematically, as shown in FIG. 8 , when the terminal switches from the folded state to the unfolded state, it stops displaying the application icon 802 in the second screen area 803 and continues to display the application icon 802 in the first screen area 801 .
可选的,当切换由第一屏幕区域显示目标界面内容时,可基于第一配置显示目标界面内容,使目标界面内容与第一屏幕区域尺寸相适配。Optionally, when the first screen area is switched to display the target interface content, the target interface content may be displayed based on the first configuration, so that the target interface content is adapted to the size of the first screen area.
本实施例中,当终端由第一屏幕区域切换为第二屏幕区域进行目标界面内容的显示时,将第一配置切换为第二配置,使显示目标界面内容与第二屏幕区域相适配,避免目标界面内容的无法显示。In this embodiment, when the terminal is switched from the first screen area to the second screen area to display the target interface content, the first configuration is switched to the second configuration, so that the display target interface content is adapted to the second screen area, Avoid the failure to display the content of the target interface.
且本实施例中,在终端切换为折叠状态后的不同时长内可通过不同解锁操作对终端进行解锁,当在第二时长内,通过简单的第一解锁操作即可完成解锁,从而提高解锁效率,有助于提高目标界面内容的显示效率。而在达到第二时长未达到第一时长的时间内,可通过较为安全的第二解锁操作进行解锁,提高目标界面内容显示的安全性。And in this embodiment, the terminal can be unlocked through different unlocking operations within different time periods after the terminal is switched to the folded state, and within the second time period, the unlocking can be completed through a simple first unlocking operation, thereby improving unlocking efficiency , which helps to improve the display efficiency of the target interface content. However, when the second duration is reached but the first duration is not reached, unlocking can be performed through a relatively safe second unlocking operation, thereby improving the security of displaying the content of the target interface.
在一种可能的应用场景下,当前目标界面内容包括分屏区域或浮窗,当终端切换为折叠状态后,在第二屏幕区域中继续显示包含分屏区域或浮窗的目标界面内容,从而实现目标界面内容的接力显示。在第二屏幕区域显示时,将根据第一屏幕区域中目标界面内容的布局进行显示,下面将以示例性实施例进行说明。In a possible application scenario, the current target interface content includes a split-screen area or a floating window, and when the terminal switches to the folded state, the target interface content including the split-screen area or floating window continues to be displayed in the second screen area, thereby Realize the relay display of the target interface content. When displayed in the second screen area, it will be displayed according to the layout of the target interface content in the first screen area, which will be described in an exemplary embodiment below.
请参考图9,其示出了本申请另一个实施例示出的内容显示方法的流程图。该方法应用于折叠屏终端,折叠屏终端设置有第一屏幕区域和第二屏幕区域,第一屏幕区域的尺寸大于第二屏幕区域的尺寸。该方法包括:Please refer to FIG. 9 , which shows a flowchart of a content display method according to another embodiment of the present application. The method is applied to a folding screen terminal. The folding screen terminal is provided with a first screen area and a second screen area, and the size of the first screen area is larger than the size of the second screen area. The method includes:
步骤901,在折叠屏终端处于展开状态的情况下,在第一屏幕区域显示目标界面内容。Step 901, when the folding screen terminal is in the unfolded state, display the content of the target interface in the first screen area.
步骤902,在折叠屏终端由展开状态切换为折叠状态的情况下,停止在第一屏幕区域中显示目标界面内容,以及在第二屏幕区域显示锁屏界面。Step 902: Stop displaying the content of the target interface in the first screen area and display the lock screen interface in the second screen area when the folding screen terminal is switched from the unfolded state to the folded state.
步骤901与步骤902的实施方式可参考上述步骤501与步骤502,本实施例不再赘述。For the implementation manners of step 901 and step 902, reference may be made to the above-mentioned step 501 and step 502, which will not be repeated in this embodiment.
步骤903,响应于解锁操作,确定目标界面内容在第一屏幕区域内的目标界面布局。 Step 903, in response to the unlocking operation, determine the target interface layout of the target interface content in the first screen area.
在一种可能的实施方式中,目标界面内容可能包含分屏区域,或者浮窗,该种情况下,在第二屏幕区域中显示目标界面内容时,需根据目标界面内容在第一屏幕区域中的界面布局确定在第二屏幕区域中显示目标界面内容时的布局方式。In a possible implementation manner, the content of the target interface may include a split-screen area or a floating window. In this case, when displaying the content of the target interface in the second screen area, it needs to The interface layout of determines the layout method when displaying the target interface content in the second screen area.
当目标界面内容包含分屏区域时,首先确定第一屏幕区域中的目标界面布局。可选的, 终端确定各个分屏区域在第一屏幕区域内的分屏占比,以及各个分屏区域之间的相对位置关系。When the content of the target interface includes a split-screen area, first determine the layout of the target interface in the first screen area. Optionally, the terminal determines the split-screen ratio of each split-screen area in the first screen area, and the relative positional relationship between each split-screen area.
其中,目标界面内容包含至少两个分屏区域,且各个分屏区域独立显示,显示内容互不遮挡。在各个分屏区域中可显示不同界面内容,比如,不同应用程序的应用界面,或分别显示应用程序的应用界面,主界面等。由于用户可对各个分屏区域的显示尺寸以及显示位置进行调整,因此,确定包含目标界面内容的目标界面布局时,需确定各个分屏区域在第一屏幕区域中的分屏占比,从而使终端根据第一屏幕区域中的分屏占比在第二屏幕区域中显示。Wherein, the content of the target interface includes at least two split-screen areas, and each split-screen area is displayed independently, and the displayed content does not block each other. Different interface contents can be displayed in each split-screen area, for example, application interfaces of different application programs, or application interfaces and main interfaces of application programs can be displayed separately. Since the user can adjust the display size and display position of each split-screen area, when determining the target interface layout including the target interface content, it is necessary to determine the split-screen ratio of each split-screen area in the first screen area, so that The terminal displays in the second screen area according to the split screen ratio in the first screen area.
且为使在第二屏幕区域显示分屏区域时,其显示位置与在第一屏幕区域显示位置相对应,确定各个分屏区域的分屏占比时,同样需确定各个分屏区域间的相对位置关系。And in order to make the split-screen area displayed in the second screen area, its display position corresponds to the display position in the first screen area, when determining the split-screen ratio of each split-screen area, it is also necessary to determine the relative ratio between each split-screen area. Positional relationship.
示意性的,如图10所示,目标界面内容包含第一分屏区域1001、第二分屏区域1002以及第三分屏区域1003。其中,第一分屏区域1001的分屏占比为50%,第二分屏区域1002以及第三分屏区域1003的分屏占比为25%。而第一分屏区域1001相对于第二分屏区域1002以及第三分屏区域1003显示在左侧,第二分屏区域1002相对于第三分屏区域1003显示在上侧。Schematically, as shown in FIG. 10 , the target interface content includes a first split screen area 1001 , a second split screen area 1002 and a third split screen area 1003 . Wherein, the split-screen ratio of the first split-screen area 1001 is 50%, and the split-screen ratios of the second split-screen area 1002 and the third split-screen area 1003 are 25%. The first split screen area 1001 is displayed on the left relative to the second split screen area 1002 and the third split screen area 1003 , and the second split screen area 1002 is displayed on the upper side relative to the third screen split area 1003 .
在另一种可能的场景下,当目标界面内容包括浮窗时,同样需确定目标界面内容在第一屏幕区域中的目标界面布局。可选的,终端确定浮窗在第一屏幕区域内的第一浮窗尺寸,以及浮窗在第一屏幕区域内的相对显示位置。In another possible scenario, when the target interface content includes a floating window, it is also necessary to determine the target interface layout of the target interface content in the first screen area. Optionally, the terminal determines a first floating window size of the floating window in the first screen area, and a relative display position of the floating window in the first screen area.
其中,目标界面内容包含至少一个浮窗,各个浮窗对主界面显示内容可能存在部分遮挡情况。由于用户可对各个浮窗在第一屏幕区域中显示位置以及显示尺寸进行调整,因此,同样需确定浮窗的第一浮窗尺寸以及其相对显示位置。Wherein, the content of the target interface includes at least one floating window, and each floating window may partially block the displayed content of the main interface. Since the user can adjust the display position and display size of each floating window in the first screen area, it is also necessary to determine the first floating window size and its relative display position of the floating windows.
可选的,确定第一浮窗尺寸时,具体可根据浮窗形状确定具体的尺寸参数。当浮窗为圆形时,则确定浮窗半径,而当浮窗为方形时,确定浮窗各边长对应尺寸。Optionally, when determining the size of the first floating window, specific size parameters may be determined according to the shape of the floating window. When the floating window is circular, determine the radius of the floating window, and when the floating window is square, determine the dimensions corresponding to the lengths of each side of the floating window.
示意性的,如图11所示,目标界面内容中包含浮窗1101,其显示在第一屏幕区域1102的右上角位置。Schematically, as shown in FIG. 11 , the content of the target interface includes a floating window 1101 , which is displayed at the upper right corner of the first screen area 1102 .
步骤904,基于目标界面布局,在第二屏幕区域显示目标界面内容。 Step 904, based on the layout of the target interface, display the content of the target interface in the second screen area.
确定目标界面内容在第一屏幕区域的目标界面布局后,终端根据目标界面布局在第二屏幕区域显示目标界面内容。After determining the target interface layout of the target interface content in the first screen area, the terminal displays the target interface content in the second screen area according to the target interface layout.
可选的,当目标界面内容包含至少两个分屏区域时,基于目标界面布局在第二屏幕区域显示目标界面内容可包括如下步骤:Optionally, when the target interface content includes at least two split-screen areas, displaying the target interface content in the second screen area based on the target interface layout may include the following steps:
步骤一、基于相对位置关系,确定各个分屏区域在第二屏幕区域内的目标显示位置。Step 1. Based on the relative positional relationship, determine the target display position of each split-screen area in the second screen area.
在一种可能的实施方式中,终端中预先存储在第一屏幕区域中相对显示位置与第二屏幕区域中相对显示位置之间的对应关系,从而根据对应关系确定各个分屏区域在第二屏幕区域中的相对位置关系,终端再根据相对位置关系确定目标显示位置。可选的,其在第一屏幕区域中相对位置与在第二屏幕区域中相对位置之间的对应关系可由终端默认设置,也可由用户自定义设置。且在第一屏幕区域中同一相对位置关系可对应多种第二屏幕区域的相对位置关系,终端进行随机选择,本实施例对此不做限定。示意性的,其对应关系可如表1所示:In a possible implementation manner, the corresponding relationship between the relative display position in the first screen area and the relative display position in the second screen area is pre-stored in the terminal, so as to determine the position of each split-screen area on the second screen according to the corresponding relationship. The relative positional relationship in the area, and the terminal then determines the display position of the target according to the relative positional relationship. Optionally, the corresponding relationship between the relative position in the first screen area and the relative position in the second screen area can be set by default by the terminal, or can be customized by the user. In addition, the same relative positional relationship in the first screen area may correspond to multiple relative positional relationships in the second screen area, and the terminal randomly selects it, which is not limited in this embodiment. Schematically, the corresponding relationship can be shown in Table 1:
表1Table 1
第一屏幕区域first screen area 第二屏幕区域second screen area
左右显示left and right display 上下显示display up and down
上下显示display up and down 上下显示或左右显示Display up and down or left and right
如表1所示,当分屏区域相对左右显示时,则对应分屏区域可在第二屏幕区域中上下显示;而当分屏区域相对上下显示时,则对应分屏区域在第二屏幕区域上下显示或左右显示。As shown in Table 1, when the split screen area is displayed relative to the left and right, the corresponding split screen area can be displayed up and down in the second screen area; and when the split screen area is displayed relatively up and down, the corresponding split screen area is displayed up and down in the second screen area or display left and right.
示意性的,如图10所示,在第一屏幕区域显示时,第一分屏区域1001相对第二分屏区域1002以及第三分屏区域1003显示在左侧,则在第二屏幕区域中显示时,第一分屏区域1001相对第二分屏区域1002以及第三分屏区域1003显示在上侧。而第二分屏区域1002相较第三 分屏区域1003显示在上侧,因此,当第二分屏区域1002与第三分屏区域1003在第二屏幕区域中显示时,第二分屏区域1002可显示在第三分屏区域1003上侧。Schematically, as shown in FIG. 10, when the first screen area is displayed, the first split screen area 1001 is displayed on the left side relative to the second split screen area 1002 and the third split screen area 1003, then in the second screen area When displayed, the first split screen area 1001 is displayed on the upper side relative to the second split screen area 1002 and the third split screen area 1003 . The second split screen area 1002 is displayed on the upper side compared with the third split screen area 1003, therefore, when the second split screen area 1002 and the third split screen area 1003 are displayed in the second screen area, the second split screen area 1002 may be displayed on the upper side of the third split screen area 1003 .
步骤二、基于分屏占比以及目标显示位置,在第二屏幕区域显示各个分屏区域。Step 2: Display each split-screen area in the second screen area based on the proportion of the split-screen and the target display position.
可选的,确定分屏占比以及目标显示位置后,终端在第二屏幕区域中显示各个分屏区域。其中,各个分屏区域的分屏占比保持不变,而各分屏区域中显示内容可为在第一屏幕区域对应分屏区域中显示内容的部分内容或全部内容。比如,在第一屏幕区域中分屏区域的分屏占比为50%,相应的,在第二屏幕区域中该分屏区域的分屏占比同样为50%。Optionally, after determining the split-screen ratio and the target display position, the terminal displays each split-screen area in the second screen area. Wherein, the split-screen ratio of each split-screen area remains unchanged, and the displayed content in each split-screen area may be part or all of the content displayed in the corresponding split-screen area of the first screen area. For example, the split-screen proportion of the split-screen area in the first screen area is 50%, and correspondingly, the split-screen proportion of the split-screen area in the second screen area is also 50%.
结合上述示例,如图10所示,当在第二屏幕区域显示第一分屏区域1001、第二分屏区域1002以及第三分屏区域1003时,第一分屏区域1001的分屏占比为50%,其显示在屏幕上侧,分屏占比仍为50%,而第二分屏区域1002分屏占比为25%,其显示在屏幕下侧上半部分,第三分屏区域1003分屏占比为25%,其显示在屏幕下侧下半部分,分屏占比均为25%。With reference to the above example, as shown in FIG. 10 , when the first split-screen area 1001, the second split-screen area 1002, and the third split-screen area 1003 are displayed in the second screen area, the split-screen ratio of the first split-screen area 1001 is 50%, it is displayed on the upper side of the screen, and the split-screen ratio is still 50%, while the split-screen ratio of the second split-screen area 1002 is 25%, and it is displayed on the upper half of the lower side of the screen, and the third split-screen area 1003 split-screen ratio is 25%, which is displayed on the lower half of the screen, and the split-screen ratio is 25%.
可选的,当目标界面内容包含浮窗时,基于目标界面布局在第二屏幕区域显示目标界面内容可包括如下步骤:Optionally, when the target interface content includes a floating window, displaying the target interface content in the second screen area based on the target interface layout may include the following steps:
步骤一、基于第一浮窗尺寸以及第一屏幕区域与第二屏幕区域的屏幕比例,确定浮窗在第二屏幕区域内的第二浮窗尺寸。Step 1: Determine a second floating window size of the floating window in the second screen area based on the first floating window size and the screen ratio between the first screen area and the second screen area.
由于将切换尺寸较小的第二屏幕区域进行浮窗显示,而第一浮窗尺寸仅适配第一屏幕区域,无法与第二屏幕区域的尺寸相适配,因此,需根据第一浮窗尺寸以及第一屏幕区域的屏幕比例,确定浮窗的窗口占比,终端再根据窗口占比以及第二屏幕区域的屏幕比例,确定浮窗在第二屏幕区域内的第二浮窗尺寸。Since the floating window will be displayed in the second screen area with a smaller size, the size of the first floating window only fits the first screen area and cannot be adapted to the size of the second screen area. The size and the screen ratio of the first screen area determine the window ratio of the floating window, and the terminal then determines the second floating window size of the floating window in the second screen area according to the window ratio and the screen ratio of the second screen area.
示意性的,如图11所示,第一屏幕区域1102中的浮窗1101窗口占比为30%,则第二浮窗尺寸在第二屏幕区域内的窗口占比也为30%。Schematically, as shown in FIG. 11 , the window ratio of the floating window 1101 in the first screen area 1102 is 30%, and the window ratio of the second floating window size in the second screen area is also 30%.
步骤二、基于相对显示位置确定浮窗在第二屏幕区域内的目标显示位置。Step 2: Determine the target display position of the floating window in the second screen area based on the relative display position.
在一种可能的实施方式中,当确定浮窗对于第一屏幕区域的相对显示位置后,即可确定在第二屏幕区域中的目标显示位置。比如,当浮窗相对显示位置为右上角时,则确定目标显示位置为右上角。当浮窗相对显示位置为中央区域时,确定目标显示位置为中央区域。In a possible implementation manner, after the relative display position of the floating window with respect to the first screen area is determined, the target display position in the second screen area can be determined. For example, when the relative display position of the floating window is the upper right corner, it is determined that the target display position is the upper right corner. When the relative display position of the floating window is the central area, determine that the target display position is the central area.
步骤三、在第二屏幕区域的目标显示位置处显示第二浮窗尺寸的浮窗。Step 3, displaying a floating window of the second floating window size at the target display position of the second screen area.
可选的,确定显示位置以及显示尺寸后,在第二屏幕区域显示浮窗。Optionally, after the display position and display size are determined, the floating window is displayed in the second screen area.
示意性的,如图11所示,在第二屏幕区域1103的右上角位置显示第二浮窗尺寸的浮窗1101,且第二浮窗尺寸的窗口占比为30%。Schematically, as shown in FIG. 11 , a floating window 1101 of the second floating window size is displayed at the upper right corner of the second screen area 1103 , and the window ratio of the second floating window size is 30%.
本实施例中,当目标界面内容包含分屏区域或浮窗时,根据分屏区域或浮窗在第一屏幕区域中的布局当时确定在第二屏幕区域中的目标界面布局,避免布局混乱,有助于提高对目标界面内容操作的便捷性。In this embodiment, when the content of the target interface includes a split-screen area or a floating window, the layout of the target interface in the second screen area is determined at that time according to the layout of the split-screen area or floating window in the first screen area to avoid layout confusion. It helps to improve the convenience of operating on the content of the target interface.
在一种可能的场景下,用户当前可能在进行音视频通话任务的过程中将终端由展开状态切换为折叠状态,该种情形下,若进行解锁操作,再显示对应的目标界面内容,可能影响音视频通话任务的进行,因此,在一种可能的实施方式中,当确定音视频通话功能处于运行状态时,则无需进行解锁操作。In a possible scenario, the user may currently switch the terminal from the unfolded state to the folded state during the audio and video call task. In this case, if the unlock operation is performed and the corresponding target interface content is displayed, it may affect the Therefore, in a possible implementation manner, when it is determined that the audio and video call function is in the running state, there is no need to perform an unlocking operation.
可选的,在折叠屏终端由展开状态切换为折叠状态,且目标功能未处于运行状态的情况下,停止在第一屏幕区域中显示目标界面内容,以及在第二屏幕区域显示锁屏界面,目标功能包括音视频通话功能。Optionally, when the folding screen terminal is switched from the unfolded state to the folded state, and the target function is not in the running state, stop displaying the content of the target interface in the first screen area, and display the lock screen interface in the second screen area, Target functions include audio and video calling functions.
当终端切换为折叠状态时,对目标功能是否运行进行检测,当未检测到音视频通话功能时,则表明用户当前正在执行其他任务,因此,终端可在第二屏幕区域中显示锁屏界面,后续接收到解锁操作时,再显示目标界面内容。When the terminal is switched to the folded state, it is detected whether the target function is running. When the audio and video call function is not detected, it indicates that the user is currently performing other tasks. Therefore, the terminal can display the lock screen interface in the second screen area, When an unlock operation is subsequently received, the content of the target interface will be displayed.
可选的,在折叠屏终端由展开状态切换为折叠状态,且目标功能处于运行状态的情况下,停止在第一屏幕区域中显示目标界面内容,以及在第二屏幕区域显示目标界面内容。Optionally, when the folding screen terminal is switched from the unfolded state to the folded state and the target function is running, stop displaying the target interface content in the first screen area and display the target interface content in the second screen area.
当终端切换为折叠状态后,检测到当前正在进行音视频通话功能时,若显示锁屏界面,则将影响音视频通话,因此,本实施例中,若终端当前正在执行音视频通话功能时,切换为折叠状态,则停止在第一屏幕区域中显示目标界面内容,在第二屏幕区域中显示目标界面内容。After the terminal is switched to the folded state, when it is detected that the audio and video call function is currently in progress, if the lock screen interface is displayed, the audio and video call will be affected. Therefore, in this embodiment, if the terminal is currently performing the audio and video call function, Switching to the collapsed state stops displaying the target interface content in the first screen area, and displays the target interface content in the second screen area.
示意性的,如图12所示,第一屏幕区域1201中显示视频通话界面1202,当终端被折叠后,直接在第二屏幕区域1203中显示视频通话界面1202,避免造成通话功能的中断。Schematically, as shown in FIG. 12 , the video call interface 1202 is displayed in the first screen area 1201 , and when the terminal is folded, the video call interface 1202 is directly displayed in the second screen area 1203 to avoid interruption of the call function.
本实施例中,当终端由展开状态切换为折叠状态时,若音视频通话功能处于运行状态,则无需在第二屏幕区域中显示锁屏界面,可直接显示目标界面内容,避免对音视频通话功能的影响。In this embodiment, when the terminal is switched from the unfolded state to the folded state, if the audio and video call function is in the running state, there is no need to display the lock screen interface in the second screen area, and the content of the target interface can be directly displayed, avoiding audio and video calls. functional impact.
请参考图13,其示出了本申请一个实施例提供的应用界面的显示装置的结构框图。该装置可以通过软件、硬件或者两者的结合实现成为终端的全部或一部分。该装置用于折叠屏终端,所述折叠屏终端设置有第一屏幕区域和第二屏幕区域,所述第一屏幕区域的尺寸大于所述第二屏幕区域的尺寸。该装置包括:Please refer to FIG. 13 , which shows a structural block diagram of a display device for an application interface provided by an embodiment of the present application. The device can be implemented as all or a part of the terminal through software, hardware or a combination of the two. The device is used in a folding screen terminal, and the folding screen terminal is provided with a first screen area and a second screen area, and the size of the first screen area is larger than the size of the second screen area. The unit includes:
显示模块1301,用于在所述折叠屏终端处于展开状态的情况下,在所述第一屏幕区域显示目标界面内容。The display module 1301 is configured to display target interface content in the first screen area when the folding screen terminal is in an unfolded state.
显示模块1301,还用于在所述折叠屏终端由展开状态切换为折叠状态的情况下,停止在所述第一屏幕区域中显示所述目标界面内容,以及在所述第二屏幕区域显示锁屏界面。The display module 1301 is further configured to stop displaying the target interface content in the first screen area and display the lock in the second screen area when the folding screen terminal is switched from the unfolded state to the folded state. screen interface.
显示模块1301,还用于响应于解锁操作,在所述第二屏幕区域显示所述目标界面内容。The display module 1301 is further configured to display the target interface content in the second screen area in response to an unlocking operation.
可选的,所述显示模块1301,还用于:Optionally, the display module 1301 is also used for:
确定所述目标界面内容在所述第一屏幕区域内的目标界面布局;determining the target interface layout of the target interface content in the first screen area;
基于所述目标界面布局,在所述第二屏幕区域显示所述目标界面内容。Based on the layout of the target interface, the content of the target interface is displayed in the second screen area.
可选的,所述目标界面内容包括至少两个分屏区域;Optionally, the target interface content includes at least two split-screen areas;
所述显示模块1301,还用于:The display module 1301 is also used for:
确定各个所述分屏区域在所述第一屏幕区域内的分屏占比,以及各个所述分屏区域之间的相对位置关系;determining the split-screen ratio of each of the split-screen areas in the first screen area, and the relative positional relationship between each of the split-screen areas;
基于所述相对位置关系,确定各个所述分屏区域在所述第二屏幕区域内的目标显示位置;determining target display positions of each of the split-screen areas in the second screen area based on the relative positional relationship;
基于所述分屏占比以及所述目标显示位置,在所述第二屏幕区域显示各个所述分屏区域。Based on the split-screen ratio and the target display position, each of the split-screen regions is displayed in the second screen region.
可选的,所述目标界面内容包括浮窗;Optionally, the target interface content includes a floating window;
所述显示模块1301,还用于:The display module 1301 is also used for:
确定所述浮窗在所述第一屏幕区域内的第一浮窗尺寸,以及所述浮窗在所述第一屏幕区域内的相对显示位置;determining a first floating window size of the floating window in the first screen area, and a relative display position of the floating window in the first screen area;
基于第一浮窗尺寸以及所述第一屏幕区域与所述第二屏幕区域的屏幕比例,确定所述浮窗在所述第二屏幕区域内的第二浮窗尺寸;determining a second floating window size of the floating window in the second screen area based on the first floating window size and a screen ratio between the first screen area and the second screen area;
基于所述相对显示位置确定所述浮窗在所述第二屏幕区域内的目标显示位置;determining a target display position of the floating window in the second screen area based on the relative display position;
在所述第二屏幕区域的所述目标显示位置处显示所述第二浮窗尺寸的所述浮窗。The floating window of the second floating window size is displayed at the target display position of the second screen area.
可选的,所述目标界面内容包括主界面和应用界面;Optionally, the content of the target interface includes a main interface and an application interface;
可选的,所述显示模块1301,还用于:Optionally, the display module 1301 is also used for:
基于第一配置在所述第一屏幕区域显示所述目标界面内容,其中,基于所述第一配置显示的所述目标界面内容适配所述第一屏幕区域的尺寸;displaying the target interface content in the first screen area based on a first configuration, wherein the target interface content displayed based on the first configuration is adapted to a size of the first screen area;
基于第二配置在所述第二屏幕区域显示所述目标界面内容,其中,基于所述第二配置显示的所述目标界面内容适配所述第二屏幕区域的尺寸。Displaying the target interface content in the second screen area based on a second configuration, wherein the target interface content displayed based on the second configuration adapts to a size of the second screen area.
可选的,显示模块1301,还用于:Optionally, the display module 1301 is also used for:
在所述折叠屏终端由所述展开状态切换为所述折叠状态,且目标功能处于运行状态的情况下,停止在所述第一屏幕区域中显示所述目标界面内容,以及在所述第二屏幕区域显示所 述锁屏界面,所述目标功能包括音视频通话功能;When the folding screen terminal is switched from the unfolded state to the folded state, and the target function is in the running state, stop displaying the target interface content in the first screen area, and stop displaying the target interface content in the second screen area The screen area displays the lock screen interface, and the target function includes an audio and video call function;
可选的,显示模块1301,还用于响应于所述折叠屏终端由所述展开状态切换为所述折叠状态,且目标功能未处于运行状态的情况下,停止在所述第一屏幕区域中显示所述目标界面内容,以及在所述第二屏幕区域显示所述目标界面内容。Optionally, the display module 1301 is further configured to stop in the first screen area in response to the folding screen terminal switching from the unfolded state to the folded state and the target function is not in the running state Displaying the target interface content, and displaying the target interface content in the second screen area.
可选的,所述显示模块1301,还用于:Optionally, the display module 1301 is also used for:
在切换至所述折叠状态后的第一时长内接收到所述解锁操作的情况下,在所述第二屏幕区域显示所述目标界面内容;displaying the target interface content in the second screen area if the unlocking operation is received within a first period of time after switching to the folded state;
可选的,所述显示模块1301,还用于在切换至所述折叠状态后的第一时长外接收到所述解锁操作的情况下,在所述第二屏幕区域显示主界面。Optionally, the display module 1301 is further configured to display a main interface in the second screen area when the unlocking operation is received within a first time period after switching to the folded state.
可选的,所述=显示模块1301,还用于:Optionally, the =display module 1301 is also used for:
在第二时长内接收到第一解锁操作的情况下,在所述第二屏幕区域显示所述目标界面内容,所述第二时长小于所述第一时长;When the first unlocking operation is received within a second duration, displaying the target interface content in the second screen area, the second duration being shorter than the first duration;
在所述第二时长内未接收到所述第一解锁操作,且在所述第一时长内接收到第二解锁操作的情况下,在所述第二屏幕区域显示所述目标界面内容;If the first unlocking operation is not received within the second duration and a second unlocking operation is received within the first duration, displaying the target interface content in the second screen area;
其中,所述第一解锁操作的安全级别低于所述第二解锁操作的安全级别,且所述第一解锁操作的解锁效率高于所述第二解锁操作的解锁效率。Wherein, the security level of the first unlocking operation is lower than the security level of the second unlocking operation, and the unlocking efficiency of the first unlocking operation is higher than the unlocking efficiency of the second unlocking operation.
可选的,所述第一解锁操作为滑动解锁操作,所述第二解锁操作为生物特征解锁操作或密钥解锁操作。Optionally, the first unlocking operation is a sliding unlocking operation, and the second unlocking operation is a biological feature unlocking operation or a key unlocking operation.
可选的,所述显示模块1301,还用于:Optionally, the display module 1301 is also used for:
在切换至所述折叠状态后的第一时长外接收到所述解锁操作的情况下,在所述第二屏幕区域显示包含快捷图标的主界面,所述快捷图标用于触发显示所述目标界面内容。In the case that the unlocking operation is received outside the first time period after switching to the folded state, a main interface containing a shortcut icon is displayed in the second screen area, and the shortcut icon is used to trigger display of the target interface content.
可选的,显示模块1301,还用于在所述折叠屏终端由所述折叠状态切换为所述展开状态的情况下,停止在所述第二屏幕区域中显示所述目标界面内容,以及在所述第一屏幕区域显示所述目标界面内容。Optionally, the display module 1301 is further configured to stop displaying the target interface content in the second screen area when the folding screen terminal switches from the folded state to the unfolded state, and The first screen area displays the target interface content.
可选的,所述折叠屏终端为内折叠屏终端,所述第一屏幕区域和所述第二屏幕区域为独立屏幕,所述第一屏幕区域支持向内折叠;所述内折叠屏终端处于所述展开状态时,所述第一屏幕区域和所述第二屏幕区域均外露,所述内折叠屏终端处于所述折叠状态时,所述第二屏幕区域外露;Optionally, the folding screen terminal is an inner folding screen terminal, the first screen area and the second screen area are independent screens, and the first screen area supports inward folding; the inner folding screen terminal is in In the unfolded state, both the first screen area and the second screen area are exposed, and when the inner folding screen terminal is in the folded state, the second screen area is exposed;
或,or,
所述折叠屏终端为外折叠屏终端,所述第一屏幕区域和所述第二屏幕区域属于同一屏幕,所述第一屏幕区域为所述屏幕的完整屏幕区域,所述第二屏幕区域为所述屏幕的部分屏幕区域。The folding screen terminal is an outer folding screen terminal, the first screen area and the second screen area belong to the same screen, the first screen area is a complete screen area of the screen, and the second screen area is The partial screen area of said screen.
综上所述,本申请实施例中,在折叠屏终端尺寸较大的第一屏幕区域显示目标界面内容时,若终端被折叠,则首先显示锁屏界面,接收到解锁操作后,继续通过第二屏幕区域显示目标界面内容。一方面,第二屏幕区域继续显示目标界面内容可实现折叠屏终端中不同屏幕区域间内容的接力显示,提高内容显示效率;另一方面,由于用户在折叠终端后可能暂停使用终端,若在第二屏幕区域直接显示目标界面内容,则容易产生误触情况。因此,在终端被折叠后,用户首先需进行解锁操作,终端才可继续显示目标界面内容,避免产生误触。To sum up, in the embodiment of this application, when the target interface content is displayed in the first screen area with a larger size of the folding screen terminal, if the terminal is folded, the lock screen interface will be displayed first, and after receiving the unlocking operation, continue to pass through the second screen area. The second screen area displays the content of the target interface. On the one hand, continuing to display the target interface content in the second screen area can realize the relay display of content between different screen areas in the folding screen terminal and improve the content display efficiency; on the other hand, since the user may suspend the use of the terminal after folding the terminal, if If the content of the target interface is directly displayed in the second screen area, false touches are likely to occur. Therefore, after the terminal is folded, the user first needs to perform an unlocking operation, so that the terminal can continue to display the content of the target interface to avoid false touches.
本申请实施例还提供了一种计算机可读介质,该计算机可读介质存储有至少一条指令,所述至少一条指令由处理器加载并执行以实现如上各个实施例所述的内容显示方法。The embodiment of the present application also provides a computer-readable medium, the computer-readable medium stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the content display method described in each of the above embodiments.
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述方面提供的内容显示方法。An embodiment of the present application provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the content display method provided by the above aspects.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that, in the foregoing one or more examples, the functions described in the embodiments of the present application may be implemented by hardware, software, firmware or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only optional embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within range.

Claims (20)

  1. 一种内容显示方法,所述方法用于折叠屏终端,所述折叠屏终端设置有第一屏幕区域和第二屏幕区域,所述第一屏幕区域的尺寸大于所述第二屏幕区域的尺寸;A content display method, the method is used in a folding screen terminal, the folding screen terminal is provided with a first screen area and a second screen area, the size of the first screen area is larger than the size of the second screen area;
    所述方法包括:The methods include:
    在所述折叠屏终端处于展开状态的情况下,在所述第一屏幕区域显示目标界面内容;When the folding screen terminal is in an unfolded state, displaying target interface content in the first screen area;
    在所述折叠屏终端由展开状态切换为折叠状态的情况下,停止在所述第一屏幕区域中显示所述目标界面内容,以及在所述第二屏幕区域显示锁屏界面;When the folding screen terminal is switched from the expanded state to the folded state, stop displaying the target interface content in the first screen area, and display a lock screen interface in the second screen area;
    响应于解锁操作,在所述第二屏幕区域显示所述目标界面内容。In response to an unlocking operation, the target interface content is displayed in the second screen area.
  2. 根据权利要求1所述的方法,其中,所述在所述第二屏幕区域显示所述目标界面内容,包括:The method according to claim 1, wherein the displaying the target interface content in the second screen area comprises:
    确定所述目标界面内容在所述第一屏幕区域内的目标界面布局;determining the target interface layout of the target interface content in the first screen area;
    基于所述目标界面布局,在所述第二屏幕区域显示所述目标界面内容。Based on the layout of the target interface, the content of the target interface is displayed in the second screen area.
  3. 根据权利要求2所述的方法,其中,所述目标界面内容包括至少两个分屏区域;The method according to claim 2, wherein the target interface content includes at least two split-screen areas;
    所述确定所述目标界面内容在所述第一屏幕区域内的目标界面布局,包括:The determining the target interface layout of the target interface content in the first screen area includes:
    确定各个所述分屏区域在所述第一屏幕区域内的分屏占比,以及各个所述分屏区域之间的相对位置关系;determining the split-screen ratio of each of the split-screen areas in the first screen area, and the relative positional relationship between each of the split-screen areas;
    所述基于所述目标界面布局,在所述第二屏幕区域显示所述目标界面内容,包括:The displaying the target interface content in the second screen area based on the target interface layout includes:
    基于所述相对位置关系,确定各个所述分屏区域在所述第二屏幕区域内的目标显示位置;determining target display positions of each of the split-screen areas in the second screen area based on the relative positional relationship;
    基于所述分屏占比以及所述目标显示位置,在所述第二屏幕区域显示各个所述分屏区域。Based on the split-screen ratio and the target display position, each of the split-screen regions is displayed in the second screen region.
  4. 根据权利要求2所述的方法,其中,所述目标界面内容包括浮窗;The method according to claim 2, wherein the target interface content comprises a floating window;
    所述确定所述目标界面内容在所述第一屏幕区域内的目标界面布局,包括:The determining the target interface layout of the target interface content in the first screen area includes:
    确定所述浮窗在所述第一屏幕区域内的第一浮窗尺寸,以及所述浮窗在所述第一屏幕区域内的相对显示位置;determining a first floating window size of the floating window in the first screen area, and a relative display position of the floating window in the first screen area;
    所述基于所述目标界面布局,在所述第二屏幕区域显示所述目标界面内容,包括:The displaying the target interface content in the second screen area based on the target interface layout includes:
    基于第一浮窗尺寸以及所述第一屏幕区域与所述第二屏幕区域的屏幕比例,确定所述浮窗在所述第二屏幕区域内的第二浮窗尺寸;determining a second floating window size of the floating window in the second screen area based on the first floating window size and a screen ratio between the first screen area and the second screen area;
    基于所述相对显示位置确定所述浮窗在所述第二屏幕区域内的目标显示位置;determining a target display position of the floating window in the second screen area based on the relative display position;
    在所述第二屏幕区域的所述目标显示位置处显示所述第二浮窗尺寸的所述浮窗。The floating window of the second floating window size is displayed at the target display position of the second screen area.
  5. 根据权利要求1所述的方法,其中,所述目标界面内容包括主界面和应用界面;The method according to claim 1, wherein the target interface content includes a main interface and an application interface;
    所述在所述第一屏幕区域显示目标界面内容,包括:The displaying the target interface content in the first screen area includes:
    基于第一配置在所述第一屏幕区域显示所述目标界面内容,其中,基于所述第一配置显示的所述目标界面内容适配所述第一屏幕区域的尺寸;displaying the target interface content in the first screen area based on a first configuration, wherein the target interface content displayed based on the first configuration is adapted to a size of the first screen area;
    所述在所述第二屏幕区域显示所述目标界面内容,包括:The displaying the target interface content in the second screen area includes:
    基于第二配置在所述第二屏幕区域显示所述目标界面内容,其中,基于所述第二配置显示的所述目标界面内容适配所述第二屏幕区域的尺寸。Displaying the target interface content in the second screen area based on a second configuration, wherein the target interface content displayed based on the second configuration adapts to a size of the second screen area.
  6. 根据权利要求1至5任一所述的方法,其中,所述在所述折叠屏终端由展开状态切换为折叠状态的情况下,停止在所述第一屏幕区域中显示所述目标界面内容,并在所述第二屏幕区域显示锁屏界面,包括:The method according to any one of claims 1 to 5, wherein, when the folding screen terminal is switched from the unfolded state to the folded state, stopping displaying the target interface content in the first screen area, And display the lock screen interface in the second screen area, including:
    在所述折叠屏终端由所述展开状态切换为所述折叠状态,且目标功能未处于运行状态的 情况下,停止在所述第一屏幕区域中显示所述目标界面内容,以及在所述第二屏幕区域显示所述锁屏界面,所述目标功能包括音视频通话功能;When the folding screen terminal is switched from the unfolded state to the folded state, and the target function is not in the running state, stop displaying the target interface content in the first screen area, and The second screen area displays the lock screen interface, and the target function includes an audio and video call function;
    所述方法还包括:The method also includes:
    响应于所述折叠屏终端由所述展开状态切换为所述折叠状态,且目标功能处于运行状态,停止在所述第一屏幕区域中显示所述目标界面内容,并在所述第二屏幕区域显示所述目标界面内容。In response to the folding screen terminal switching from the unfolded state to the folded state, and the target function is in the running state, stop displaying the target interface content in the first screen area, and display the target interface content in the second screen area Display the content of the target interface.
  7. 根据权利要求1至5任一所述的方法,其中,所述响应于解锁操作,在所述第二屏幕区域显示所述目标界面内容,包括:The method according to any one of claims 1 to 5, wherein the displaying the target interface content in the second screen area in response to the unlocking operation comprises:
    在切换至所述折叠状态后的第一时长内接收到所述解锁操作的情况下,在所述第二屏幕区域显示所述目标界面内容;displaying the target interface content in the second screen area if the unlocking operation is received within a first period of time after switching to the folded state;
    所述方法还包括:The method also includes:
    在切换至所述折叠状态后的第一时长外接收到所述解锁操作的情况下,在所述第二屏幕区域显示主界面。If the unlocking operation is received within a first time period after switching to the folded state, a main interface is displayed in the second screen area.
  8. 根据权利要求7所述的方法,其中,所述在切换至所述折叠状态后的第一时长内接收到所述解锁操作的情况下,在所述第二屏幕区域显示所述目标界面内容,包括:The method according to claim 7, wherein, in the case that the unlocking operation is received within a first time period after switching to the folded state, the target interface content is displayed in the second screen area, include:
    在第二时长内接收到第一解锁操作的情况下,在所述第二屏幕区域显示所述目标界面内容,所述第二时长小于所述第一时长;When the first unlocking operation is received within a second duration, displaying the target interface content in the second screen area, the second duration being shorter than the first duration;
    在所述第二时长内未接收到所述第一解锁操作,且在所述第一时长内接收到第二解锁操作的情况下,在所述第二屏幕区域显示所述目标界面内容;If the first unlocking operation is not received within the second duration and a second unlocking operation is received within the first duration, displaying the target interface content in the second screen area;
    其中,所述第一解锁操作的安全级别低于所述第二解锁操作的安全级别,且所述第一解锁操作的解锁效率高于所述第二解锁操作的解锁效率。Wherein, the security level of the first unlocking operation is lower than the security level of the second unlocking operation, and the unlocking efficiency of the first unlocking operation is higher than the unlocking efficiency of the second unlocking operation.
  9. 根据权利要求8所述的方法,其中,所述第一解锁操作为滑动解锁操作,所述第二解锁操作为生物特征解锁操作或密钥解锁操作。The method according to claim 8, wherein the first unlocking operation is a sliding unlocking operation, and the second unlocking operation is a biological feature unlocking operation or a key unlocking operation.
  10. 根据权利要求7所述的方法,其中,所述在切换至所述折叠状态后的第一时长外接收到所述解锁操作的情况下,在所述第二屏幕区域显示主界面,包括:The method according to claim 7, wherein, in the case that the unlocking operation is received outside the first time period after switching to the folded state, displaying a main interface on the second screen area includes:
    在切换至所述折叠状态后的第一时长外接收到所述解锁操作的情况下,在所述第二屏幕区域显示包含快捷图标的主界面,所述快捷图标用于触发显示所述目标界面内容。In the case that the unlocking operation is received outside the first time period after switching to the folded state, a main interface containing a shortcut icon is displayed in the second screen area, and the shortcut icon is used to trigger display of the target interface content.
  11. 根据权利要求1至5任一所述的方法,其中,所述响应于解锁操作,在所述第二屏幕区域显示所述目标界面内容之后,所述方法还包括:The method according to any one of claims 1 to 5, wherein, in response to the unlocking operation, after the target interface content is displayed in the second screen area, the method further comprises:
    在所述折叠屏终端由所述折叠状态切换为所述展开状态的情况下,停止在所述第二屏幕区域中显示所述目标界面内容,以及在所述第一屏幕区域显示所述目标界面内容。When the folding screen terminal is switched from the folded state to the unfolded state, stop displaying the target interface content in the second screen area, and display the target interface in the first screen area content.
  12. 根据权利要求1至5任一所述的方法,其中,The method according to any one of claims 1 to 5, wherein,
    所述折叠屏终端为内折叠屏终端,所述第一屏幕区域和所述第二屏幕区域为独立屏幕,所述第一屏幕区域支持向内折叠;所述内折叠屏终端处于所述展开状态时,所述第一屏幕区域和所述第二屏幕区域均外露,所述内折叠屏终端处于所述折叠状态时,所述第二屏幕区域外露;The folding screen terminal is an inner folding screen terminal, the first screen area and the second screen area are independent screens, and the first screen area supports inward folding; the inner folding screen terminal is in the unfolded state , both the first screen area and the second screen area are exposed, and when the inner folding screen terminal is in the folded state, the second screen area is exposed;
    或,or,
    所述折叠屏终端为外折叠屏终端,所述第一屏幕区域和所述第二屏幕区域属于同一屏幕,所述第一屏幕区域为所述屏幕的完整屏幕区域,所述第二屏幕区域为所述屏幕的部分屏幕区域。The folding screen terminal is an outer folding screen terminal, the first screen area and the second screen area belong to the same screen, the first screen area is a complete screen area of the screen, and the second screen area is The partial screen area of said screen.
  13. 一种内容显示装置,所述装置用于折叠屏终端,所述折叠屏终端设置有第一屏幕区域和第二屏幕区域,所述第一屏幕区域的尺寸大于所述第二屏幕区域的尺寸;A content display device, the device is used in a folding screen terminal, the folding screen terminal is provided with a first screen area and a second screen area, the size of the first screen area is larger than the size of the second screen area;
    所述装置包括:The devices include:
    显示模块,用于在所述折叠屏终端处于展开状态的情况下,在所述第一屏幕区域显示目标界面内容;A display module, configured to display target interface content in the first screen area when the folding screen terminal is in an unfolded state;
    所述显示模块,还用于在所述折叠屏终端由展开状态切换为折叠状态的情况下,停止在所述第一屏幕区域中显示所述目标界面内容,以及在所述第二屏幕区域显示锁屏界面;The display module is further configured to stop displaying the target interface content in the first screen area and display the target interface content in the second screen area when the folding screen terminal is switched from the unfolded state to the folded state. lock screen interface;
    所述显示模块,还用于响应于解锁操作,在所述第二屏幕区域显示所述目标界面内容。The display module is further configured to display the target interface content in the second screen area in response to an unlocking operation.
  14. 根据权利要求13所述的装置,其中,所述显示模块,还用于:The device according to claim 13, wherein the display module is further used for:
    确定所述目标界面内容在所述第一屏幕区域内的目标界面布局;determining the target interface layout of the target interface content in the first screen area;
    基于所述目标界面布局,在所述第二屏幕区域显示所述目标界面内容。Based on the layout of the target interface, the content of the target interface is displayed in the second screen area.
  15. 根据权利要求14所述的装置,其中,所述目标界面内容包括至少两个分屏区域;The device according to claim 14, wherein the target interface content includes at least two split-screen areas;
    所述显示模块,还用于:The display module is also used for:
    确定各个所述分屏区域在所述第一屏幕区域内的分屏占比,以及各个所述分屏区域之间的相对位置关系;determining the split-screen ratio of each of the split-screen areas in the first screen area, and the relative positional relationship between each of the split-screen areas;
    基于所述相对位置关系,确定各个所述分屏区域在所述第二屏幕区域内的目标显示位置;determining target display positions of each of the split-screen areas in the second screen area based on the relative positional relationship;
    基于所述分屏占比以及所述目标显示位置,在所述第二屏幕区域显示各个所述分屏区域。Based on the split-screen ratio and the target display position, each of the split-screen regions is displayed in the second screen region.
  16. 根据权利要求14所述的装置,其中,所述目标界面内容包括浮窗;The device according to claim 14, wherein the target interface content comprises a floating window;
    所述显示模块,还用于:The display module is also used for:
    确定所述浮窗在所述第一屏幕区域内的第一浮窗尺寸,以及所述浮窗在所述第一屏幕区域内的相对显示位置;determining a first floating window size of the floating window in the first screen area, and a relative display position of the floating window in the first screen area;
    基于第一浮窗尺寸以及所述第一屏幕区域与所述第二屏幕区域的屏幕比例,确定所述浮窗在所述第二屏幕区域内的第二浮窗尺寸;determining a second floating window size of the floating window in the second screen area based on the first floating window size and a screen ratio between the first screen area and the second screen area;
    基于所述相对显示位置确定所述浮窗在所述第二屏幕区域内的目标显示位置;determining a target display position of the floating window in the second screen area based on the relative display position;
    在所述第二屏幕区域的所述目标显示位置处显示所述第二浮窗尺寸的所述浮窗。The floating window of the second floating window size is displayed at the target display position of the second screen area.
  17. 根据权利要求13所述的装置,其中,所述目标界面内容包括主界面和应用界面;The device according to claim 13, wherein the target interface content includes a main interface and an application interface;
    所述显示模块,还用于:The display module is also used for:
    基于第一配置在所述第一屏幕区域显示所述目标界面内容,其中,基于所述第一配置显示的所述目标界面内容适配所述第一屏幕区域的尺寸;displaying the target interface content in the first screen area based on a first configuration, wherein the target interface content displayed based on the first configuration is adapted to a size of the first screen area;
    基于第二配置在所述第二屏幕区域显示所述目标界面内容,其中,基于所述第二配置显示的所述目标界面内容适配所述第二屏幕区域的尺寸。Displaying the target interface content in the second screen area based on a second configuration, wherein the target interface content displayed based on the second configuration adapts to a size of the second screen area.
  18. 一种终端,所述终端包括处理器和存储器;所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以实现如权利要求1至12任一所述的内容显示方法。A terminal, the terminal includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to realize the content display according to any one of claims 1 to 12 method.
  19. 一种计算机可读存储介质,所述存储介质存储有至少一条指令,所述至少一条指令用于被处理器执行以实现如权利要求1至12任一所述的内容显示方法。A computer-readable storage medium, the storage medium stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the content display method according to any one of claims 1 to 12.
  20. 一种计算机程序产品,所述计算机程序产品包括计算机指令,所述计算机指令存储在计算机可读存储介质中,处理器从所述计算机可读存储介质读取并执行所述计算机指令,以实现如权利要求1至12任一所述的内容显示方法。A computer program product, the computer program product includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and a processor reads and executes the computer instructions from the computer-readable storage medium to implement the following: The content display method described in any one of claims 1 to 12.
PCT/CN2022/116875 2021-09-03 2022-09-02 Content display method and apparatus, and terminal and storage medium WO2023030506A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111031667.4A CN115756219A (en) 2021-09-03 2021-09-03 Content display method, device, terminal and storage medium
CN202111031667.4 2021-09-03

Publications (1)

Publication Number Publication Date
WO2023030506A1 true WO2023030506A1 (en) 2023-03-09

Family

ID=85332422

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/116875 WO2023030506A1 (en) 2021-09-03 2022-09-02 Content display method and apparatus, and terminal and storage medium

Country Status (2)

Country Link
CN (1) CN115756219A (en)
WO (1) WO2023030506A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117348827A (en) * 2023-09-19 2024-01-05 荣耀终端有限公司 Display method and electronic equipment during display mode switching

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109725683A (en) * 2018-12-27 2019-05-07 维沃移动通信有限公司 A kind of program display control method and Folding screen terminal
WO2020147677A1 (en) * 2019-01-15 2020-07-23 Oppo广东移动通信有限公司 Method and apparatus for displaying content, and terminal and storage medium
CN111949345A (en) * 2019-05-14 2020-11-17 华为技术有限公司 Application display method and electronic equipment
CN112579231A (en) * 2020-12-08 2021-03-30 惠州Tcl移动通信有限公司 Display method of folding screen and terminal
CN115202773A (en) * 2021-04-12 2022-10-18 Oppo广东移动通信有限公司 Application interface display method and device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109725683A (en) * 2018-12-27 2019-05-07 维沃移动通信有限公司 A kind of program display control method and Folding screen terminal
WO2020147677A1 (en) * 2019-01-15 2020-07-23 Oppo广东移动通信有限公司 Method and apparatus for displaying content, and terminal and storage medium
CN111949345A (en) * 2019-05-14 2020-11-17 华为技术有限公司 Application display method and electronic equipment
CN112579231A (en) * 2020-12-08 2021-03-30 惠州Tcl移动通信有限公司 Display method of folding screen and terminal
CN115202773A (en) * 2021-04-12 2022-10-18 Oppo广东移动通信有限公司 Application interface display method and device, terminal and storage medium

Also Published As

Publication number Publication date
CN115756219A (en) 2023-03-07

Similar Documents

Publication Publication Date Title
WO2020147666A1 (en) User interface display method and apparatus, terminal and storage medium
AU2018386167B2 (en) User interface display method and apparatus, device, and storage medium
CN107728901B (en) Interface display method and device and terminal
CN108958681B (en) Split screen display method, device, terminal and storage medium
WO2019174477A1 (en) User interface display method and device, and terminal
CN107844228B (en) Message display method and device and terminal
WO2019174546A1 (en) User interface display method and device, apparatus, and storage medium
CN107870716B (en) Method and device for calling background application program
CN107870724B (en) Display screen unfolding method and device and terminal
WO2020038168A1 (en) Content sharing method and device, terminal, and storage medium
WO2020088167A1 (en) Application activation method, device, terminal and storage medium
WO2020038169A1 (en) Icon display method and apparatus, terminal and storage medium
WO2022218111A1 (en) Method and apparatus for displaying application interface, and terminal and storage medium
WO2019174465A1 (en) User interface display method and apparatus, terminal, and storage medium
CN107563174B (en) Fingerprint identification method and device
WO2019047738A1 (en) Message display method, device, mobile terminal and storage medium
WO2019047147A1 (en) Icon moving method and device
WO2020147677A1 (en) Method and apparatus for displaying content, and terminal and storage medium
CN107871121B (en) Fingerprint identification method and device
CN107728810B (en) Terminal control method, device, terminal and storage medium
EP3640783B1 (en) Touch operation response method and device
WO2019233313A1 (en) Floating tab display method and device, terminal, and storage medium
WO2020151518A1 (en) Application activation method and device, terminal and storage medium
CN107526477B (en) Unlocking screen method, apparatus and terminal
US11086442B2 (en) Method for responding to touch operation, mobile terminal, and storage medium

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: 22863640

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE