WO2021082770A1 - 界面显示方法、装置和电子设备 - Google Patents

界面显示方法、装置和电子设备 Download PDF

Info

Publication number
WO2021082770A1
WO2021082770A1 PCT/CN2020/115287 CN2020115287W WO2021082770A1 WO 2021082770 A1 WO2021082770 A1 WO 2021082770A1 CN 2020115287 W CN2020115287 W CN 2020115287W WO 2021082770 A1 WO2021082770 A1 WO 2021082770A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
display screen
target application
display
application
Prior art date
Application number
PCT/CN2020/115287
Other languages
English (en)
French (fr)
Inventor
马冬梅
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021082770A1 publication Critical patent/WO2021082770A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the embodiments of the present application relate to the field of communication technology, and specifically relate to an interface display method, device, and electronic equipment.
  • APP applications suitable for electronic devices are becoming more and more abundant.
  • users usually need to set up the applications. For example, the user can set the auto-rotation of the photo when viewing the photo in the photo album application; in the process of playing the game, the do-not-disturb mode of the game can be set; in the process of reading the e-book, the reading font can be enlarged.
  • the embodiment of the present application proposes an interface display method, device and electronic device to solve the technical problem of low convenience in setting due to cumbersome operations required by the user when setting the application in the related art.
  • an embodiment of the present application provides an interface display method for an electronic device with a foldable display screen.
  • the method includes: starting a target application;
  • the first interface of the target application is displayed on the first display screen, and the second interface is displayed on the second display screen of the foldable display screen.
  • the second interface is a setting interface corresponding to the target application.
  • an embodiment of the present application provides an interface display device, which is applied to an electronic device with a foldable display screen.
  • the device includes: an activation unit, configured to activate a target application; and a first display unit, configured to display When the screen is in the unfolded state, the first interface of the target application is displayed on the first display screen of the folding display screen, and the second interface is displayed on the second display screen of the folding display screen, and the second interface is the setting corresponding to the target application interface.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the computer program is executed by the processor, the implementation is as in the above-mentioned first aspect. Any one of the steps of the interface display method.
  • an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the method described in any of the above-mentioned first aspect is implemented. A step of.
  • the first interface of the target application is displayed on the first display screen of the folding display screen when the folding display screen is in the unfolded state, and the first interface of the target application is displayed on the second display screen of the folding display screen.
  • a second interface is displayed in, and the second interface is a setting interface corresponding to the target application. Therefore, when the user needs to set the application, he can directly set the application in the setting interface, without cumbersome operations (such as exiting the application, looking for the setting interface, setting in the setting interface and then opening Application interface, etc.) to improve the convenience of application settings.
  • FIG. 1 is one of the flowcharts of the interface display method provided by the embodiment of the present application.
  • FIG. 2 is the second flowchart of the interface display method provided by the embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of an interface display device provided by an embodiment of the present application.
  • Fig. 4 is a schematic diagram of the hardware structure of a mobile terminal suitable for implementing embodiments of the present application.
  • FIG. 1 shows one of the flowcharts of the interface display method provided by the embodiment of the present application.
  • the interface display method provided by the embodiments of the present application can be applied to electronic devices with foldable display screens.
  • the process 100 of the interface display method provided by the embodiment of the present application includes the following steps:
  • Step 101 Start the target application.
  • the above-mentioned electronic device with a foldable display screen may be installed with various client applications.
  • the installed client applications may include built-in applications and third-party applications. Specifically, it may include, but is not limited to, voice interaction applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
  • any application installed in the electronic device can be used as the target application, and the target application can be started.
  • Step 102 When the folding display screen is in the unfolded state, display the first interface of the target application on the first display screen of the folding display screen, and display the second interface on the second display screen of the folding display screen.
  • the setting interface corresponding to the target application.
  • the state of the folded display screen can be detected first.
  • the state of the foldable display screen may include an expanded state and a folded state, that is, an unexpanded state.
  • the angle of the folded display screen can be detected to determine whether it is in an unfolded state.
  • the included angle of the two display screens of the above-mentioned folding display screen is greater than a preset degree (for example, 30 degrees, 0 degrees, or 20 degrees, etc.), it can be determined that the above-mentioned folding display screen is in an unfolded state.
  • a preset degree for example, 30 degrees, 0 degrees, or 20 degrees, etc.
  • the included angle of the two display screens of the above-mentioned folding display screen is less than or equal to the above-mentioned preset degree, it can be determined that the above-mentioned folding display screen is in an unexpanded state.
  • the foldable display screen is folded outward, it can be considered that the two display screens are greater than 180 degrees, and thus the foldable display screen can be considered to be in an unfolded state.
  • the criterion for determining whether the foldable display screen is in the unfolded state can be preset according to needs, and is not limited here.
  • the first interface of the target application when the folding display screen is in the unfolded state, the first interface of the target application can be displayed on the first display screen of the folding display screen, and the second interface can be displayed on the second display screen of the folding display screen.
  • the first interface may be any interface of the target application, for example, may be the main interface, any sub-interface (such as a function interface), and so on.
  • the second interface may be a setting interface corresponding to the target application, and the setting interface may be used to set the target application.
  • it may be the main setting interface of the target application, the setting interface of a certain function in the target application, and so on. Therefore, after the application is started, not only the first interface of the target application is presented, but also the setting interface of the application may also be presented. When the user needs to set the application, he can directly set the application in the setting interface.
  • first display screen and the second display screen of the folding screen can be preset or randomly set.
  • the main screen of the foldable display can be set as the first display, and the secondary screen can be set as the second display; or the secondary screen of the foldable display can be set as the first display, and the main screen can be set as the second display. .
  • the foregoing first interface may be the main interface of the foregoing target application.
  • the electronic device may pre-record the corresponding relationship between the target application and its setting interface, which may be referred to as the first corresponding relationship herein.
  • the electronic device may display the first interface of the target application on the first display screen of the foldable display screen, and the first interface may be the main interface;
  • a second interface is displayed on the second display screen of the above-mentioned folding display screen, and the above-mentioned second interface is a setting interface corresponding to the above-mentioned target application.
  • the second interface may be the main setting interface corresponding to the target application.
  • the main setting interface can be used to set the overall function of the target application. For example, set the access permission of the target application, the message reminder method, etc.
  • the above-mentioned first interface may be a sub-interface of the above-mentioned target application, such as a certain functional interface, or a sub-interface presented when the target application is exited last time
  • the above-mentioned second interface may be
  • the setting interface corresponding to the interface content of the above-mentioned first interface may be called a sub-setting interface.
  • the electronic device may pre-record the correspondence between each sub-interface of the target application and the setting interface of each sub-interface, which may be referred to as the second correspondence herein.
  • the electronic device can display the sub-interface of the target application in the first display screen of the folding display screen; according to the second correspondence between the first interface and the setting interface, The second interface is displayed on the second display screen of the above-mentioned folding display screen.
  • the sub-interface may be an interface of a certain image in the album application.
  • the setting interface corresponding to the above sub-interface may be an interface for setting the image, for example, it may include options such as automatic rotation setting.
  • the main interface of the target application can be displayed on the first display screen of the folding display screen, and the corresponding target application can be displayed on the second display screen of the folding display screen.
  • the setting interface such as the main setting interface.
  • the main interface in the first display screen can be switched to a sub-interface corresponding to the option, such as a certain function interface.
  • the main setting interface displayed on the second display screen can be switched to a setting interface corresponding to the content in the aforementioned sub-interface, that is, a sub-setting interface.
  • the electronic device may also set the display state of the setting interface when the above-mentioned folding display screen is in the unfolded state, so that the user can continue to close the setting interface before closing the above-mentioned setting interface.
  • the above setting interface is displayed. Therefore, it is convenient to set at any time during the user's use of the target application.
  • the first interface of the target application is displayed on the first display screen of the folding display screen when the folding display screen is in the unfolded state, and the first interface of the target application is displayed on the first display screen of the folding display screen.
  • a second interface is displayed on the display screen, and the second interface is a setting interface corresponding to the target application. Therefore, when the user needs to set the application, he can directly set the application in the setting interface without cumbersome operations, such as exiting the application, looking for the setting interface, and opening the setting after setting in the setting interface The application interface, etc., improve the convenience of application settings.
  • the interface display method provided by the embodiment of the present application can be applied to an electronic device with a folding display screen.
  • the process 200 of the interface display method provided by the embodiment of the present application includes the following steps:
  • Step 201 Start the target application.
  • step 201 in this embodiment reference may be made to step 101 in the corresponding embodiment in FIG. 1, which will not be repeated here.
  • Step 202 Obtain a target identifier of the target application, where the target identifier is used to indicate whether the target application has a second interface.
  • the electronic device can obtain the target identifier of the target application.
  • the above-mentioned target identifier may be used to indicate whether the target application has a second interface, that is, a setting interface corresponding to the target application.
  • two different values of the target identifier may be used to represent them respectively.
  • the electronic device can detect whether the target application has a second interface, that is, a setting interface, through the value of the target identifier.
  • the case where the target application has a second interface and the case where the target application does not have a second interface can be respectively indicated by detecting whether there is a target identifier.
  • the target application has the second interface the target application has the target identifier.
  • the target application does not have the second interface the target application does not have the target identifier.
  • the electronic device can determine whether the target application has a second interface, that is, a setting interface, by searching whether the target identifier exists.
  • a setting interface startup instruction for each application with a setting interface, a setting interface startup instruction (for example, a startup instruction containing an Activity Action Intent constant for instructing to open the setting interface) can be added in advance.
  • Target ID the electronic device can detect whether the target identifier exists in the resource file of the target application. In response to the presence of the foregoing target identifier, it may be determined that there is a setting interface of the foregoing target application. In response to the absence of the foregoing target identifier, it may be determined that there is no setting interface of the foregoing target application.
  • development rules can be formulated in advance, so that when the built-in application has a setting interface during the development of the built-in application, the start instruction of the setting interface of the built-in application is added Target ID.
  • the user performs an identification operation on the setting interface of the above-mentioned third-party application
  • the user has set the third-party application and will manually set a certain
  • the interface identifier is a setting interface, etc.
  • the above-mentioned target identifier can be added to the setting interface start instruction of the above-mentioned built-in application.
  • the electronic device can also extract the setting interface start instruction of the target application, so as to facilitate the execution of the instruction when the setting interface needs to be displayed.
  • Step 203 When the target identifier indicates that the target application has a second interface, and the folding display screen is in an expanded state, display the first interface of the target application on the first display screen of the folding display screen, and display the first interface of the target application on the second display screen of the folding display screen.
  • the second interface is displayed on the display screen.
  • the electronic device can display the first interface of the target application on the first display screen of the folding display screen.
  • the second interface is displayed in the second display screen of the foldable display screen.
  • the above-mentioned second interface is a setting interface corresponding to the above-mentioned target application.
  • the first interface may be the main interface of the target application.
  • the electronic device may pre-record the corresponding relationship between the target application and its setting interface, that is, the first corresponding relationship.
  • the electronic device can display the first interface of the target application, that is, the main interface, on the first display screen of the folding display screen; according to the first corresponding relationship between the target application and the setting interface,
  • the second display screen of the aforementioned folding display screen displays a second interface, that is, a setting interface corresponding to the target application.
  • the second interface may be the main setting interface corresponding to the target application.
  • the main setting interface can be used to set the overall function of the target application. For example, set the access permission of the target application, the message reminder method, etc.
  • the first interface may be a sub-interface of the target application, such as a certain functional interface
  • the second interface may be a setting interface corresponding to the interface content of the first interface.
  • the electronic device may pre-record the correspondence between each sub-interface of the target application and the setting interface of each sub-interface, that is, the second correspondence.
  • the electronic device can display the first interface of the target application, that is, the sub-interface, on the first display screen of the foldable display screen; according to the second interface of the first interface and the setting interface Two corresponding relations, the second interface is displayed on the second display screen of the above-mentioned folding display screen.
  • the sub-interface may be an interface of a certain image in the album application.
  • the setting interface corresponding to the above sub-interface may be an interface for setting the image, for example, it may include options such as automatic rotation setting.
  • Step 204 When the target identifier indicates that the target application does not have a second interface, or when the folding display screen is in a folded state, display the main interface of the target application on the first display screen.
  • the target identifier when the target identifier indicates that the target application does not have a second interface, it means that the target application is not configured with a setting interface.
  • the above-mentioned folding display screen is in the folded state, it means that the user is not currently using the electronic device, and there is no need to set the application. Therefore, when the target identifier indicates that the target application does not have a second interface, or when the folding display screen is in a folded state, the electronic device may display the main interface of the target application on the first display screen.
  • the flow 200 of the interface display method in this embodiment involves obtaining the target identifier of the target application to determine whether the target application has a second interface, that is, Steps to set up the interface. Therefore, the solution described in this embodiment can flexibly display the interface according to the existence of the second interface.
  • this application provides an embodiment of an interface display device.
  • the device embodiment corresponds to the method embodiment shown in FIG. Used in various electronic devices.
  • the interface display device 300 of this embodiment includes: an activation unit 301, which is used to activate a target application; and a first display unit 302, which is used when the above-mentioned folding display screen is in an unfolded state.
  • the first display screen of the foldable display screen displays the first interface of the target application
  • the second display screen of the foldable display screen displays a second interface
  • the second interface is a setting interface corresponding to the target application.
  • the display unit 302 includes: a first display module, configured to display the first interface of the target application on the first display screen of the foldable display screen.
  • the interface is the main interface of the above-mentioned target application;
  • the second display module is configured to display a second interface in the second display screen of the above-mentioned folding display screen according to the first corresponding relationship between the above-mentioned target application and the setting interface, and the above-mentioned second interface is The setting interface corresponding to the above target application.
  • the above-mentioned display unit 302 includes: a third display module, configured to display the first interface of the above-mentioned target application on the first display screen of the above-mentioned folding display screen.
  • the interface is a sub-interface of the above-mentioned target application;
  • the fourth display module is configured to display a second interface in the second display screen of the above-mentioned folding display screen according to the second corresponding relationship between the first interface and the setting interface, and the above-mentioned second interface is The setting interface corresponding to the interface content of the above-mentioned first interface.
  • the above-mentioned apparatus further includes: an obtaining unit, configured to obtain a target identifier of the above-mentioned target application, the above-mentioned target identifier is used to indicate whether the above-mentioned target application has a second interface; In the case where the target identifier indicates that the target application has a second interface and the foldable display screen is in an expanded state, the first interface of the target application displayed on the first display screen of the foldable display screen is executed. The step of displaying the second interface in the second display screen of the folding display screen.
  • the above-mentioned device further includes: a second display unit, configured to: when the above-mentioned target identifier indicates that the above-mentioned target application does not have a second interface, or when the above-mentioned folding display screen is in In the folded state, the main interface of the target application is displayed on the first display screen.
  • a second display unit configured to: when the above-mentioned target identifier indicates that the above-mentioned target application does not have a second interface, or when the above-mentioned folding display screen is in In the folded state, the main interface of the target application is displayed on the first display screen.
  • the first interface of the target application is displayed on the first display screen of the folding display screen when the folding display screen is in the unfolded state.
  • a second interface is displayed on the display screen, and the second interface is a setting interface corresponding to the target application. Therefore, when the user needs to set the application, he can directly set the application in the setting interface without cumbersome operations, such as exiting the application, looking for the setting interface, and opening the setting after setting in the setting interface The application interface, etc., improve the convenience of application settings.
  • FIG. 4 is a schematic diagram of a hardware structure of a mobile terminal for implementing each embodiment of the present application.
  • the mobile terminal 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components.
  • a radio frequency unit 401 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components.
  • Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 4 does not constitute a limitation on the mobile terminal.
  • the mobile terminal may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • mobile terminals include, but are not limited to, mobile phones, tablet computers,
  • the processor 410 is configured to start a target application; when the foldable display screen is in an unfolded state, display the first interface of the target application on the first display screen of the foldable display screen, and display the first interface of the target application on the folded display screen.
  • a second interface is displayed on the second display screen of the screen, and the second interface is a setting interface corresponding to the target application.
  • the first interface of the target application is displayed on the first display screen of the folding display screen, and the first interface of the target application is displayed on the second display screen of the folding display screen.
  • a second interface is displayed in, and the second interface is a setting interface corresponding to the target application. Therefore, when the user needs to set the application, he can directly set the application in the setting interface without cumbersome operations, such as exiting the application, looking for the setting interface, and opening the setting after setting in the setting interface The application interface, etc., improve the convenience of application settings.
  • the radio frequency unit 401 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
  • the mobile terminal provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 403 may convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 404 is used to receive audio or video signals.
  • the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042.
  • the graphics processor 4041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 406.
  • the image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402.
  • the microphone 4042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
  • the mobile terminal 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 4061 and the display panel 4061 when the mobile terminal 400 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 406 is used to display information input by the user or information provided to the user.
  • the display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 407 can be used to receive input numeric or character information, and generate key signal inputs related to user settings and function control of the mobile terminal.
  • the user input unit 407 includes a touch panel 4071 and other input devices 4072.
  • the touch panel 4071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operating).
  • the touch panel 4071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed.
  • the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 407 may also include other input devices 4072.
  • other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 4071 can cover the display panel 4061.
  • the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of the touch event, and then the processor 410 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 4061.
  • the touch panel 4071 and the display panel 4061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated
  • the implementation of the input and output functions of the mobile terminal is not specifically limited here.
  • the interface unit 408 is an interface for connecting an external device with the mobile terminal 400.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 408 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the mobile terminal 400 or can be used to connect to the mobile terminal 400 and an external device. Transfer data between devices.
  • the memory 409 can be used to store software programs and various data.
  • the memory 409 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 410 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It runs or executes software programs and/or modules stored in the memory 409, and calls data stored in the memory 409. , Perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole.
  • the processor 410 may include one or more processing units; optionally, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
  • the mobile terminal 400 may also include a power source 411 (such as a battery) for supplying power to various components.
  • a power source 411 such as a battery
  • the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the mobile terminal 400 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present application further provides a mobile terminal, including a processor 410, a memory 409, a computer program stored in the memory 409 and running on the processor 410, and the computer program is executed by the processor 410
  • a mobile terminal including a processor 410, a memory 409, a computer program stored in the memory 409 and running on the processor 410, and the computer program is executed by the processor 410
  • the embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored.
  • the computer program is executed by a processor, each process of the above-mentioned interface display method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the technical solution of this application essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) )
  • a storage medium such as ROM/RAM, magnetic disk, optical disk
  • a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

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

Abstract

一种界面显示方法、装置和电子设备,该方法(100)包括:启动目标应用(101);在折叠显示屏处于展开状态的情况下,在折叠显示屏的第一显示屏中显示目标应用的第一界面,在折叠显示屏的第二显示屏中显示第二界面,第二界面为目标应用对应的设置界面(102)。

Description

界面显示方法、装置和电子设备
相关申请的交叉引用
本申请主张在2019年10月31日在中国提交的中国专利申请号No.201911050522.1的优先权,其全部内容通过引用包含于此。
技术领域
本申请实施例涉及通信技术领域,具体涉及界面显示方法、装置和电子设备。
背景技术
随着计算机技术的发展,适用于电子设备的应用(Application,APP)越来越丰富。用户在使用这些应用的过程中,通常需要对应用进行设置。例如,用户在使用相册应用查看照片的过程中,可以设置照片自动旋转;在玩游戏的过程中,可以设置游戏免打扰模式;在阅读电子书的过程中,可以调大读书字体等。
目前,当用户在使用某个应用的过程中,需要对该应用进行设置时,通常需要终止当前操作,去找该应用对应的设置项,进而进行设置。例如,当用户使用相册应用查看照片时,若需设置照片自动旋转,则需要首先退出相册应用,而后查找相册设置,之后在设置界面中进行照片自动旋转的设置,最后退出设置界面,重新打开相册应用的界面。因而,这种方式需要用户进行繁琐的操作,导致对应用的设置的便捷性较低。
发明内容
本申请实施例提出了界面显示方法、装置和电子设备,以解决相关技术中在对应用进行设置时,由于需要用户进行繁琐的操作,导致设置的便捷性较低的技术问题。
第一方面,本申请实施例提供了一种界面显示方法,用于具有可折叠显示屏的电子设备,该方法包括:启动目标应用;在折叠显示屏处于展开状态的情况下,在折叠显示屏的第一显示屏中显示目标应用的第一界面,在折叠显示屏的第二显示屏中显示第二界面,第二界面为目标应用对应的设置界面。
第二方面,本申请实施例提供了一种界面显示装置,应用于具有可折叠显示屏的电子设备,该装置包括:启动单元,用于启动目标应用;第一显示单元,用于在折叠显示屏处于展开状态的情况下,在折叠显示屏的第一显示屏中显示目标应用的第一界面,在折叠显示屏的第二显示屏中显示第二界面,第二界面为目标应用对应的设置界面。
第三方面,本申请实施例提供了一种电子设备,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现如上述第一方面中任一项的界面显示方法的步骤。
第四方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质上存储计算机程序,计算机程序被处理器执行时实现如上述第一方面中任一实施例所描述的方法的步骤。
在本申请实施例中,启动目标应用后,在折叠显示屏处于展开状态的情况下,在 折叠显示屏的第一显示屏中显示目标应用的第一界面,在折叠显示屏的第二显示屏中显示第二界面,第二界面为目标应用对应的设置界面。由此,当用户需要对该应用进行设置时,可直接在设置界面中对该应用进行设置,不需要进行繁琐的操作(如退出该应用,查找设置界面,在设置界面中进行设置后再打开应用的界面等),提高了对应用的设置的便捷性。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:
图1是本申请实施例提供的界面显示方法的流程图之一;
图2是本申请实施例提供的界面显示方法的流程图之二;
图3是本申请实施例提供的界面显示装置的结构示意图;
图4是适于用来实现本申请实施例的移动终端的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
请参考图1,其示出了本申请实施例提供的界面显示方法的流程图之一。本申请实施例提供的界面显示方法,可以应用于具有可折叠显示屏的电子设备。
本申请实施例提供的界面显示方法的流程100,包括以下步骤:
步骤101,启动目标应用。
在本实施例中,上述具有可折叠显示屏的电子设备可以安装有各种客户端应用。所安装的客户端应用可以包括内置应用和第三方应用。具体可以包括但不限于语音交互类应用、购物类应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。此处,可以将电子设备中所安装的任一应用作为目标应用,并启动该目标应用。
步骤102,在折叠显示屏处于展开状态的情况下,在折叠显示屏的第一显示屏中显示目标应用的第一界面,在折叠显示屏的第二显示屏中显示第二界面,第二界面为目标应用对应的设置界面。
在本实施例中,可以首先检测折叠显示屏的状态。折叠显示屏的状态可以包括展开状态和折叠状态,也即未展开状态。实践中,可以通过检测折叠显示屏的角度,确定其是否处于展开状态。
作为示例,在上述折叠显示屏的两个显示屏的夹角大于预设度数(例如30度、0度、或者20度等)的情况下,可以确定上述折叠显示屏处于展开状态。在上述折叠显示屏的两个显示屏的夹角小于或等于上述预设度数的情况下,可以确定上述折叠显示屏处于未展开状态。此处,当折叠显示屏向外折叠时,可以视为两个显示屏大于180度,因而可认为折叠显示屏处于展开状态。
需要说明的是,折叠显示屏是否处于展开状态的判定标准,可以根据需要预先设定,此处不作限定。
在本实施例中,在折叠显示屏处于展开状态的情况下,可以在折叠显示屏的第一 显示屏中显示目标应用的第一界面,在折叠显示屏的第二显示屏中显示第二界面。其中,第一界面可以是目标应用的任一界面,例如,可以是主界面、任一子界面(如功能界面)等。第二界面可以是目标应用对应的设置界面,该设置界面可以用于对目标应用的进行设置。例如,可以是目标应用的主设置界面、目标应用中的某个功能的设置界面等。从而,在启动应用后,不仅呈现有目标应用的第一界面,还可以呈现有该应用的设置界面。当用户需要对该应用进行设置时,可直接在设置界面中对该应用进行设置。
需要指出的是,折叠屏的第一显示屏、第二显示屏可以预先设定或者随机设定。此处不作限定。例如,可以将折叠显示屏的主屏设置为第一显示屏,将副屏设置为第二显示屏;也可以将折叠显示屏的副屏设置为第一显示屏,将主屏设置为第二显示屏。
在本实施例的一些可选地实现方式中,上述第一界面可以是上述目标应用的主界面。此外,电子设备可以预先记录该目标应用与其设置界面的对应关系,这里可称为第一对应关系。在折叠显示屏处于展开状态的情况下,电子设备可以在折叠显示屏的第一显示屏中显示目标应用的第一界面,该第一界面可以是主界面;根据上述目标应用与设置界面的第一对应关系,在上述折叠显示屏的第二显示屏中显示第二界面,上述第二界面为上述目标应用对应的设置界面。
需要说明的是,当第一界面为目标应用的主界面时,为便于用户进行设置,第二界面可以是目标应用对应的主设置界面。该主设置界面可以用于对目标应用的整体功能进行设置。例如,设置目标应用的访问权限、消息提醒方式等。
在本实施例的一些可选地实现方式中,上述第一界面可以为上述目标应用的子界面,如某一功能界面,或者上一次退出目标应用时所呈现的子界面,上述第二界面可以为上述第一界面的界面内容对应的设置界面,可称为子设置界面。此外,电子设备可以预先记录该目标应用的各子界面与各子界面的设置界面的对应关系,这里可称为第二对应关系。由此,在折叠显示屏处于展开状态的情况下,电子设备可以在上述折叠显示屏的第一显示屏中显示上述目标应用的子界面;根据第一界面与设置界面的第二对应关系,在上述折叠显示屏的第二显示屏中显示第二界面。
作为示例,当目标应用为相册应用时,子界面可以是相册应用中的某个图像的界面。上述子界面对应的设置界面可以是对该图像进行设置的界面,例如,可以包含自动旋转设置等选项。
在一种应用场景中,在折叠显示屏处于展开状态的情况下,可以在折叠显示屏的第一显示屏中显示目标应用的主界面,在折叠显示屏的第二显示屏中显示目标应用对应的设置界面,如主设置界面。在用户点击目标应用的主界面中的某个选项后,可以将第一显示屏中的主界面切换为该选项对应的子界面,如某一功能界面。此外,可以将第二显示屏中显示的主设置界面,切换为与上述子界面中的内容对应的设置界面,即子设置界面。
在本实施例的一些可选地实现方式中,在上述折叠显示屏处于展开状态的情况下,电子设备还可以对上述设置界面的显示状态进行设置,以使用户在关闭上述设置界面前,持续显示上述设置界面。从而,便于在用户使用目标应用的过程中随时进行设置。
本申请的上述实施例提供的方法,启动目标应用后,在折叠显示屏处于展开状态 的情况下,在折叠显示屏的第一显示屏中显示目标应用的第一界面,在折叠显示屏的第二显示屏中显示第二界面,第二界面为目标应用对应的设置界面。由此,当用户需要对该应用进行设置时,可直接在设置界面中对该应用进行设置,不需要进行繁琐的操作,如退出该应用,查找设置界面,在设置界面中进行设置后再打开应用的界面等,提高了对应用的设置的便捷性。
进一步参考图2,其示出了本申请实施例提供的界面显示方法的流程图之二,本申请实施例提供的界面显示方法,可以应用于具有折叠显示屏的电子设备。
本申请实施例提供的界面显示方法的流程200,包括以下步骤:
步骤201,启动目标应用。
本实施例中的步骤201可参见图1对应实施例中的步骤101,此处不再赘述。
步骤202,获取目标应用的目标标识,目标标识用于指示目标应用是否存在第二界面。
在本实施例中,电子设备可以获取目标应用的目标标识。其中,上述目标标识可以用于指示目标应用是否存在第二界面,即目标应用对应的设置界面。
在一种场景中,对于目标应用存在第二界面的情况和目标应用不存在第二界面的情况,可以分别用目标标识的两个不同的值进行表示。此时,电子设备可以通过目标标识的值,检测目标应用是否存在第二界面,即设置界面。
在一种场景中,对于目标应用存在第二界面的情况和目标应用不存在第二界面的情况,可以分别通过检测是否存在目标标识来表示。当目标应用存在第二界面时,目标应用具有目标标识。当目标应用不存在第二界面时,则目标应用不具有目标标识。此时,电子设备可以通过查找目标标识是否存在,来判断目标应用是否存在第二界面,即设置界面。
在本实施例的一些可选地实现方式中,对于每一个具有设置界面的应用,均可以预先对其设置界面启动指令(例如包含用于指示打开设置界面的Activity Action Intent常量的启动指令)添加目标标识。此时,电子设备可以检测目标应用的资源文件中是否存在目标标识。响应于存在上述目标标识,可以确定存在上述目标应用的设置界面。响应于不存在上述目标标识,可以确定不存在上述目标应用的设置界面。
需要说明的是,对不同类别的应用,添加标识的方式可以不同。
作为示例,对于安装于上述电子设备的内置应用,可以预先制定开发规则,使得开发者在对内置应用的开发过程中,当上述内置应用具有设置界面时,对上述内置应用的设置界面启动指令添加目标标识。
作为又一示例,对于安装于上述电子设备的第三方应用,在用户对上述第三方应用的设置界面的标识操作的情况下,例如用户对该第三方应用进行了设置,并将手动将某一界面标识为设置界面等,可以对上述内置应用的设置界面启动指令添加上述目标标识。
可以理解的是,针对第三方应用,通常开发者不同,且数量较多。此时,利用用户手动标识的方式添加目标标识,无需设定开发规则,使开发者对应用的开发更为灵活。
需要指出的是,在确定存在目标应用的设置界面的情况下,电子设备还可以提取该目标应用的设置界面启动指令,从而便于在需要显示该设置界面时,执行该指令。
步骤203,在目标标识指示目标应用存在第二界面,且折叠显示屏处于展开状态的情况下,在折叠显示屏的第一显示屏中显示目标应用的第一界面,在折叠显示屏的第二显示屏中显示第二界面。
在本实施例中,在目标标识指示目标应用存在第二界面,且折叠显示屏处于展开状态的情况下,电子设备可以在折叠显示屏的第一显示屏中显示目标应用的第一界面,在折叠显示屏的第二显示屏中显示第二界面。上述第二界面为上述目标应用对应的设置界面。
在一种场景下,上述第一界面可以是上述目标应用的主界面。电子设备可以预先记录该目标应用与其设置界面的对应关系,即第一对应关系。在折叠显示屏处于展开状态的情况下,电子设备可以在折叠显示屏的第一显示屏中显示目标应用的第一界面,即主界面;根据上述目标应用与设置界面的第一对应关系,在上述折叠显示屏的第二显示屏中显示第二界面,即目标应用对应的设置界面。需要说明的是,为便于用户进行设置,第二界面可以是目标应用对应的主设置界面。该主设置界面可以用于对目标应用的整体功能进行设置。例如,设置目标应用的访问权限、消息提醒方式等。
在另一种场景下,上述第一界面可以为上述目标应用的子界面,如某一功能界面,上述第二界面可以为上述第一界面的界面内容对应的设置界面。电子设备可以预先记录该目标应用的各子界面与各子界面的设置界面的对应关系,即第二对应关系。由此,在折叠显示屏处于展开状态的情况下,电子设备可以在上述折叠显示屏的第一显示屏中显示上述目标应用的第一界面,即子界面;根据第一界面与设置界面的第二对应关系,在上述折叠显示屏的第二显示屏中显示第二界面。作为示例,当目标应用为相册应用时,子界面可以是相册应用中的某个图像的界面。上述子界面对应的设置界面可以是对该图像进行设置的界面,例如,可以包含自动旋转设置等选项。
步骤204,在目标标识指示目标应用不存在第二界面的情况下,或者,在折叠显示屏处于折叠状态的情况下,在第一显示屏中显示目标应用的主界面。
在本实施例中,在上述目标标识指示上述目标应用不存在第二界面的情况下,意味着目标应用未配置设置界面。在上述折叠显示屏处于折叠状态的情况下,意味着用户当前未使用电子设备,不存在对应用进行设置的需要。因而,在目标标识指示目标应用不存在第二界面的情况下,或者,在折叠显示屏处于折叠状态的情况下,电子设备可以在上述第一显示屏中显示上述目标应用的主界面。
从图2中可以看出,与图1对应的实施例相比,本实施例中的界面显示方法的流程200涉及了通过获取目标应用的目标标识,来确定目标应用是否存在第二界面,即设置界面的步骤。由此,本实施例描述的方案,可以根据第二界面的存在情况,灵活地进行界面显示。
进一步参考图3,作为对上述图1所示方法的实现,本申请提供了一种界面显示装置的一个实施例,该装置实施例与图1所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。
如图3所示,本实施例所述的界面显示装置300包括:启动单元301,用于启动目标应用;第一显示单元302,用于在上述折叠显示屏处于展开状态的情况下,在上述折叠显示屏的第一显示屏中显示上述目标应用的第一界面,在上述折叠显示屏的第二显示屏中显示第二界面,上述第二界面为上述目标应用对应的设置界面。
在本实施例的一些可选地实现方式中,上述显示单元302,包括:第一显示模块,用于在上述折叠显示屏的第一显示屏中显示上述目标应用的第一界面,上述第一界面为上述目标应用的主界面;第二显示模块,用于根据上述目标应用与设置界面的第一对应关系,在上述折叠显示屏的第二显示屏中显示第二界面,上述第二界面为上述目标应用对应的设置界面。
在本实施例的一些可选地实现方式中,上述显示单元302,包括:第三显示模块,用于在上述折叠显示屏的第一显示屏中显示上述目标应用的第一界面,上述第一界面为上述目标应用的子界面;第四显示模块,用于根据第一界面与设置界面的第二对应关系,在上述折叠显示屏的第二显示屏中显示第二界面,上述第二界面为上述第一界面的界面内容对应的设置界面。
在本实施例的一些可选地实现方式中,上述装置还包括:获取单元,用于获取上述目标应用的目标标识,上述目标标识用于指示上述目标应用是否存在第二界面;执行单元,用于在上述目标标识指示上述目标应用存在第二界面,且上述折叠显示屏处于展开状态的情况下,执行上述在上述折叠显示屏的第一显示屏中显示上述目标应用的第一界面,在上述折叠显示屏的第二显示屏中显示第二界面的步骤。
在本实施例的一些可选地实现方式中,上述装置还包括:第二显示单元,用于在上述目标标识指示上述目标应用不存在第二界面的情况下,或者,在上述折叠显示屏处于折叠状态的情况下,在上述第一显示屏中显示上述目标应用的主界面。
本申请的上述实施例提供的装置,启动目标应用后,在折叠显示屏处于展开状态的情况下,在折叠显示屏的第一显示屏中显示目标应用的第一界面,在折叠显示屏的第二显示屏中显示第二界面,第二界面为目标应用对应的设置界面。由此,当用户需要对该应用进行设置时,可直接在设置界面中对该应用进行设置,不需要进行繁琐的操作,如退出该应用,查找设置界面,在设置界面中进行设置后再打开应用的界面等,提高了对应用的设置的便捷性。
进一步参照图4,为实现本申请各个实施例的一种移动终端的硬件结构示意图。
该移动终端400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图4中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
处理器410,用于启动目标应用;在所述折叠显示屏处于展开状态的情况下,在所述折叠显示屏的第一显示屏中显示所述目标应用的第一界面,在所述折叠显示屏的 第二显示屏中显示第二界面,所述第二界面为所述目标应用对应的设置界面。
在本申请实施例中,通过启动目标应用,在折叠显示屏处于展开状态的情况下,在折叠显示屏的第一显示屏中显示目标应用的第一界面,在折叠显示屏的第二显示屏中显示第二界面,第二界面为目标应用对应的设置界面。由此,当用户需要对该应用进行设置时,可直接在设置界面中对该应用进行设置,不需要进行繁琐的操作,如退出该应用,查找设置界面,在设置界面中进行设置后再打开应用的界面等,提高了对应用的设置的便捷性。
应理解的是,本申请实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信***与网络和其他设备通信。
移动终端通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与移动终端400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。
移动终端400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在移动终端400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。
用户输入单元407可用于接收输入的数字或字符信息,以及产生与移动终端的用 户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图4中,触控面板4071与显示面板4061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现移动终端的输入和输出功能,具体此处不做限定。
接口单元408为外部装置与移动终端400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端400内的一个或多个元件或者可以用于在移动终端400和外部装置之间传输数据。
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器410是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器410可包括一个或多个处理单元;可选地,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。
移动终端400还可以包括给各个部件供电的电源411(比如电池),可选地,电源411可以通过电源管理***与处理器410逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。
另外,移动终端400包括一些未示出的功能模块,在此不再赘述。
可选地,本申请实施例还提供一种移动终端,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的计算机程序,该计算机程序被处理器410执行时实现上述界面显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述界面显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (12)

  1. 一种界面显示方法,应用于具有可折叠显示屏的电子设备,所述方法包括:
    启动目标应用;
    在所述折叠显示屏处于展开状态的情况下,在所述折叠显示屏的第一显示屏中显示所述目标应用的第一界面,在所述折叠显示屏的第二显示屏中显示第二界面,所述第二界面为所述目标应用对应的设置界面。
  2. 根据权利要求1所述的方法,其中,所述在所述折叠显示屏的第一显示屏中显示所述目标应用的第一界面,在所述折叠显示屏的第二显示屏中显示第二界面,包括:
    在所述折叠显示屏的第一显示屏中显示所述目标应用的第一界面,所述第一界面为所述目标应用的主界面;
    根据所述目标应用与设置界面的第一对应关系,在所述折叠显示屏的第二显示屏中显示第二界面,所述第二界面为所述目标应用对应的设置界面。
  3. 根据权利要求1所述的方法,其中,所述在所述折叠显示屏的第一显示屏中显示所述目标应用的第一界面,在所述折叠显示屏的第二显示屏中显示第二界面,包括:
    在所述折叠显示屏的第一显示屏中显示所述目标应用的第一界面,所述第一界面为所述目标应用的子界面;
    根据第一界面与设置界面的第二对应关系,在所述折叠显示屏的第二显示屏中显示第二界面,所述第二界面为所述第一界面的界面内容对应的设置界面。
  4. 根据权利要求1所述的方法,其中,在启动目标应用之后,所述在所述折叠显示屏处于展开状态的情况下,在所述折叠显示屏的第一显示屏中显示所述目标应用的第一界面,在所述折叠显示屏的第二显示屏中显示第二界面之前,还包括:
    获取所述目标应用的目标标识,所述目标标识用于指示所述目标应用是否存在第二界面;
    在所述目标标识指示所述目标应用存在第二界面,且所述折叠显示屏处于展开状态的情况下,执行所述在所述折叠显示屏的第一显示屏中显示所述目标应用的第一界面,在所述折叠显示屏的第二显示屏中显示第二界面的步骤。
  5. 根据权利要求4所述的方法,其中,所述获取所述目标应用的目标标识之后,还包括:
    在所述目标标识指示所述目标应用不存在第二界面的情况下,或者,在所述折叠显示屏处于折叠状态的情况下,在所述第一显示屏中显示所述目标应用的主界面。
  6. 一种界面显示装置,应用于具有可折叠显示屏的电子设备,所述装置包括:
    启动单元,用于启动目标应用;
    第一显示单元,用于在所述折叠显示屏处于展开状态的情况下,在所述折叠显示屏的第一显示屏中显示所述目标应用的第一界面,在所述折叠显示屏的第二显示屏中显示第二界面,所述第二界面为所述目标应用对应的设置界面。
  7. 根据权利要求6所述的装置,其中,所述显示单元,包括:
    第一显示模块,用于在所述折叠显示屏的第一显示屏中显示所述目标应用的第一界面,所述第一界面为所述目标应用的主界面;
    第二显示模块,用于根据所述目标应用与设置界面的第一对应关系,在所述折叠 显示屏的第二显示屏中显示第二界面,所述第二界面为所述目标应用对应的设置界面。
  8. 根据权利要求6所述的装置,其中,所述显示单元,包括:
    第三显示模块,用于在所述折叠显示屏的第一显示屏中显示所述目标应用的第一界面,所述第一界面为所述目标应用的子界面;
    第四显示模块,用于根据第一界面与设置界面的第二对应关系,在所述折叠显示屏的第二显示屏中显示第二界面,所述第二界面为所述第一界面的界面内容对应的设置界面。
  9. 根据权利要求6所述的装置,其中,所述装置还包括:
    获取单元,用于获取所述目标应用的目标标识,所述目标标识用于指示所述目标应用是否存在第二界面;
    执行单元,用于在所述目标标识指示所述目标应用存在第二界面,且所述折叠显示屏处于展开状态的情况下,执行所述在所述折叠显示屏的第一显示屏中显示所述目标应用的第一界面,在所述折叠显示屏的第二显示屏中显示第二界面的步骤。
  10. 根据权利要求9所述的装置,其中,所述装置还包括:
    第二显示单元,用于在所述目标标识指示所述目标应用不存在第二界面的情况下,或者,在所述折叠显示屏处于折叠状态的情况下,在所述第一显示屏中显示所述目标应用的主界面。
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1-5中任一项所述的界面显示方法的步骤。
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1-5中任一项所述的界面显示方法的步骤。
PCT/CN2020/115287 2019-10-31 2020-09-15 界面显示方法、装置和电子设备 WO2021082770A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911050522.1 2019-10-31
CN201911050522.1A CN110825474B (zh) 2019-10-31 2019-10-31 界面显示方法、装置和电子设备

Publications (1)

Publication Number Publication Date
WO2021082770A1 true WO2021082770A1 (zh) 2021-05-06

Family

ID=69551771

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/115287 WO2021082770A1 (zh) 2019-10-31 2020-09-15 界面显示方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN110825474B (zh)
WO (1) WO2021082770A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428650A (zh) * 2022-01-26 2022-05-03 惠州Tcl移动通信有限公司 应用程序显示方法、装置、电子设备和可读存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825474B (zh) * 2019-10-31 2023-03-31 维沃移动通信有限公司 界面显示方法、装置和电子设备
CN111667791B (zh) * 2020-07-08 2021-08-13 Oppo广东移动通信有限公司 显示屏驱动电路、方法、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488389A (zh) * 2013-07-05 2014-01-01 贝壳网际(北京)安全技术有限公司 一种页面显示方法、装置和浏览器装置
CN103543915A (zh) * 2013-10-30 2014-01-29 深圳市中兴移动通信有限公司 一种移动终端及其分屏的方法
US20180095809A1 (en) * 2014-01-02 2018-04-05 Samsung Electronics Co., Ltd. Multi-window control method and electronic device supporting the same
CN110069228A (zh) * 2019-04-15 2019-07-30 珠海格力电器股份有限公司 一种折叠屏显示方法及装置
CN110825474A (zh) * 2019-10-31 2020-02-21 维沃移动通信有限公司 界面显示方法、装置和电子设备

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080024463A1 (en) * 2001-02-22 2008-01-31 Timothy Pryor Reconfigurable tactile control display applications
CN101937323B (zh) * 2009-06-29 2012-08-22 亚信联创科技(中国)有限公司 一种双屏控制的方法及装置
TWI528826B (zh) * 2012-08-08 2016-04-01 財團法人工業技術研究院 顯示面板、可攜式裝置與應用於其上的控制方法
RU2645265C2 (ru) * 2013-12-05 2018-02-19 Закрытое акционерное общество "Лаборатория Касперского" Система и способ блокировки элементов интерфейса приложения
KR101659032B1 (ko) * 2014-07-25 2016-09-23 엘지전자 주식회사 이동 단말기 및 그것의 제어방법
KR102565553B1 (ko) * 2016-11-09 2023-08-10 엘지전자 주식회사 이동단말기 및 그 제어방법
WO2018120533A1 (zh) * 2016-12-27 2018-07-05 华为技术有限公司 一种多屏显示的方法和设备
CN107770440B (zh) * 2017-10-19 2020-06-26 Oppo广东移动通信有限公司 拍摄界面显示方法、装置及终端
CN108319436A (zh) * 2018-01-18 2018-07-24 努比亚技术有限公司 双屏移动终端屏幕显示方法、移动终端及存储介质
CN109085969A (zh) * 2018-06-29 2018-12-25 努比亚技术有限公司 一种终端操作辅助方法、终端及计算机可读存储介质
CN108965608B (zh) * 2018-08-28 2021-01-08 维沃移动通信有限公司 一种闹钟设置方法、折叠终端及计算机可读存储介质
CN109240783B (zh) * 2018-08-28 2022-03-04 维沃移动通信有限公司 一种界面显示方法及终端设备
CN109542282B (zh) * 2018-10-30 2021-02-23 维沃移动通信有限公司 一种界面显示方法及终端设备
CN109597558A (zh) * 2018-11-30 2019-04-09 维沃移动通信有限公司 一种显示控制方法及终端设备
CN109656439A (zh) * 2018-12-17 2019-04-19 北京小米移动软件有限公司 快捷操作面板的显示方法、装置及存储介质
CN109683768B (zh) * 2018-12-29 2022-01-18 维沃移动通信有限公司 一种应用的操作方法及移动终端
CN109917956B (zh) * 2019-02-22 2021-08-03 华为技术有限公司 一种控制屏幕显示的方法和电子设备
CN109925711A (zh) * 2019-02-28 2019-06-25 Oppo广东移动通信有限公司 应用控制方法、装置、终端设备及计算机可读取存储介质
CN110058649A (zh) * 2019-03-28 2019-07-26 维沃移动通信有限公司 一种界面显示方法及终端设备
CN110119295B (zh) * 2019-04-16 2022-05-17 华为技术有限公司 一种显示控制方法及相关装置
CN110286972A (zh) * 2019-05-14 2019-09-27 华为技术有限公司 一种折叠屏显示应用的方法及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488389A (zh) * 2013-07-05 2014-01-01 贝壳网际(北京)安全技术有限公司 一种页面显示方法、装置和浏览器装置
CN103543915A (zh) * 2013-10-30 2014-01-29 深圳市中兴移动通信有限公司 一种移动终端及其分屏的方法
US20180095809A1 (en) * 2014-01-02 2018-04-05 Samsung Electronics Co., Ltd. Multi-window control method and electronic device supporting the same
CN110069228A (zh) * 2019-04-15 2019-07-30 珠海格力电器股份有限公司 一种折叠屏显示方法及装置
CN110825474A (zh) * 2019-10-31 2020-02-21 维沃移动通信有限公司 界面显示方法、装置和电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428650A (zh) * 2022-01-26 2022-05-03 惠州Tcl移动通信有限公司 应用程序显示方法、装置、电子设备和可读存储介质
CN114428650B (zh) * 2022-01-26 2023-11-14 惠州Tcl移动通信有限公司 应用程序显示方法、装置、电子设备和可读存储介质

Also Published As

Publication number Publication date
CN110825474B (zh) 2023-03-31
CN110825474A (zh) 2020-02-21

Similar Documents

Publication Publication Date Title
WO2021098678A1 (zh) 投屏控制方法及电子设备
WO2020156111A1 (zh) 界面显示方法及终端
US20220365641A1 (en) Method for displaying background application and mobile terminal
WO2019196707A1 (zh) 一种移动终端控制方法及移动终端
WO2021136159A1 (zh) 截屏方法及电子设备
WO2019223494A1 (zh) 截屏方法及移动终端
WO2021017763A1 (zh) 事件处理方法、终端设备及计算机可读存储介质
WO2020020126A1 (zh) 信息处理方法及终端
US11740769B2 (en) Screenshot method and terminal device
WO2021082770A1 (zh) 界面显示方法、装置和电子设备
WO2020259015A1 (zh) 投屏方法及移动终端
US11543935B2 (en) Information processing method and terminal device
CN108174103B (zh) 一种拍摄提示方法及移动终端
WO2019174459A1 (zh) 应用程序的处理方法及移动终端
WO2020151512A1 (zh) 图像存储方法及终端设备
WO2020156118A1 (zh) 管理方法及终端设备
WO2020182035A1 (zh) 图像处理方法及终端设备
US20230025276A1 (en) Information display method, electronic device, and storage medium
WO2019223569A1 (zh) 信息处理方法及移动终端
WO2021115172A1 (zh) 显示方法及电子设备
WO2020220893A1 (zh) 截图方法及移动终端
WO2019228296A1 (zh) 显示处理方法及终端设备
WO2020042815A1 (zh) 文本编辑方法及移动终端
WO2021057222A1 (zh) 显示方法及终端
WO2020199986A1 (zh) 视频通话方法及终端设备

Legal Events

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

Ref document number: 20881978

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20881978

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20881978

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20881978

Country of ref document: EP

Kind code of ref document: A1