WO2024114532A1 - Mode switching method and apparatus, electronic device, and computer-readable storage medium - Google Patents

Mode switching method and apparatus, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
WO2024114532A1
WO2024114532A1 PCT/CN2023/134039 CN2023134039W WO2024114532A1 WO 2024114532 A1 WO2024114532 A1 WO 2024114532A1 CN 2023134039 W CN2023134039 W CN 2023134039W WO 2024114532 A1 WO2024114532 A1 WO 2024114532A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
electronic device
operating mode
mode
operation mode
Prior art date
Application number
PCT/CN2023/134039
Other languages
French (fr)
Chinese (zh)
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 WO2024114532A1 publication Critical patent/WO2024114532A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets

Definitions

  • the present application belongs to the technical field of electronic devices, and specifically relates to a mode switching method, device, electronic device and computer-readable storage medium.
  • the user when a user needs to enter a certain operating mode of an electronic device, the user can start the electronic device and open a setting interface, and manually select the desired mode on the setting interface, so that the electronic device is triggered to enter the mode according to the operating mode selected by the user.
  • the purpose of the embodiments of the present application is to provide a mode switching method, device, electronic device and computer-readable storage medium, which can improve the efficiency of adjusting the operating mode of the electronic device.
  • an embodiment of the present application provides a mode switching method, which is applied to an electronic device with a foldable screen, and is characterized in that the method includes: obtaining a screen state of the foldable screen; determining a target operating mode corresponding to the screen state of the foldable screen; and adjusting the operating mode of the electronic device to the target operating mode.
  • an embodiment of the present application provides a mode switching device, which includes: an acquisition module, a determination module and an adjustment module; the acquisition module is used to acquire the screen state of the foldable screen; the determination module is used to determine the target operating mode corresponding to the screen state of the foldable screen; the adjustment module is used to adjust the operating mode of the electronic device to the target operating mode.
  • an embodiment of the present application provides an electronic device, the electronic device comprising a processor and a memory, the memory storing a program or instruction that can be run on the processor, the program or instruction When the instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
  • an embodiment of the present application provides a computer-readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
  • an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
  • an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
  • the electronic device can obtain the screen state of the foldable screen, determine the target operating mode corresponding to the screen state of the foldable screen, and adjust the operating mode of the electronic device to the target operating mode. In this way, the user can control the screen state of the foldable screen to make the electronic device quickly enter the corresponding operating mode, avoiding tedious operations and improving the adjustment efficiency of the operating mode of the electronic device.
  • FIG1 is a schematic diagram of a mode switching method according to an embodiment of the present application.
  • FIG2(A) is a second schematic diagram of a mode switching method provided in an embodiment of the present application.
  • FIG2(B) is a third schematic diagram of a mode switching method provided in an embodiment of the present application.
  • FIG2(C) is a fourth schematic diagram of a mode switching method provided in an embodiment of the present application.
  • FIG2(D) is a fifth schematic diagram of a mode switching method provided in an embodiment of the present application.
  • FIG3(A) is a sixth schematic diagram of a mode switching method provided in an embodiment of the present application.
  • FIG3(B) is a seventh schematic diagram of a mode switching method provided in an embodiment of the present application.
  • FIG4 is one of the example schematic diagrams of an interface of a mobile phone provided in an embodiment of the present application.
  • FIG5 is a second schematic diagram of an example of an interface of a mobile phone provided in an embodiment of the present application.
  • FIG6 is a second example schematic diagram of an interface of a mobile phone provided in an embodiment of the present application.
  • FIG7 is a schematic diagram of the structure of a mode switching device provided in an embodiment of the present application.
  • FIG8 is a schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present application.
  • FIG. 9 is a second schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
  • first, second, etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first”, “second”, etc. are generally of one type, and the number of objects is not limited.
  • the first object can be one or more.
  • “and/or” in the specification and claims represents at least one of the connected objects, and the character “/" generally indicates that the objects associated with each other are in an "or” relationship.
  • FIG1 shows a flow chart of a mode switching method provided by the present application.
  • the method can be applied to an electronic device with a folding screen.
  • the mode switching method provided by the present application can include the following steps 201 to 203.
  • Step 201 The electronic device obtains the screen status of the foldable screen.
  • the user when a user uses an electronic device with a foldable screen, the user can set the operating mode of the electronic device under different screen states. Under different operating modes, the system capability settings of the electronic device are also different.
  • the foldable screen of the electronic device may include two screens, namely a first screen and a second screen, and the foldable screen includes a first screen area and a second screen area, wherein the first screen corresponds to the first screen area, and the second screen corresponds to the second screen area.
  • the screen state may include any of the following states: a closed state, a folded state, and an unfolded state.
  • the closed state refers to that the angle between the first screen and the second screen is within a range greater than or equal to 0 degrees and less than a first preset angle
  • the folded state refers to that the angle between the first screen and the second screen is within a range greater than or equal to the first preset angle and less than 180 degrees
  • the unfolded state refers to that the angle between the first screen and the second screen is within a range greater than or equal to 180 degrees and less than 360 degrees.
  • the electronic device can determine an operating mode that matches the screen state of the foldable screen, and start and use the operating mode that matches the screen state of the foldable screen.
  • the screen state is used to indicate the screen posture of the current electronic device and the change in the screen size ratio, wherein the screen posture may include postures such as folding inward, folding outward, and flipping.
  • a screen state corresponds to an operating mode
  • an operating mode may correspond to a system setting function mode, an application usage function mode, a message notification mode, etc. of an electronic device.
  • the screen status of the electronic device may include: a closed state, i.e., the screen of the electronic device is in a completely folded state, i.e., the screen is completely closed; as shown in FIG. 2(B), the screen status of the electronic device may include an unfolded state; as shown in FIG. 2(C) and FIG. 2(D), the screen status of the electronic device may include a folded state, i.e., the screen of the electronic device is in an incompletely folded state.
  • the electronic device may determine and obtain the screen state of the foldable screen based on the relative position relationship between the first screen area and the second screen area.
  • obtaining the screen state of the foldable screen includes:
  • Step 201a1 The electronic device obtains a folding angle of the foldable screen.
  • the folding angle of the foldable screen may be an angle between the first screen area and the second screen area of the electronic device.
  • the electronic device may determine and obtain the screen state of the foldable screen based on the angle between the first screen area and the second screen area.
  • Step 201a2 The electronic device determines the screen state of the foldable screen according to the folding angle.
  • the electronic device can determine the screen state of the foldable screen according to the folding angle.
  • the folding angle refers to the degree of the screen angle between multiple screen areas divided by the folding line when the foldable screen is in a folded state.
  • a folding angle may correspond to a screen state.
  • the above-mentioned folding angles may include a first folding angle, a second folding angle, a third folding angle and a fourth folding angle.
  • the folding angles of the electronic device may include a first folding angle, a second folding angle, a third folding angle and a fourth folding angle;
  • the first folding angle may be an angle within a range greater than 0 degrees and less than 90 degrees; as shown in FIG. 3(A), the second folding angle may be an angle equal to 90 degrees;
  • the third folding angle may be an angle within a range greater than 90 degrees and less than 180 degrees; as shown in FIG. 3(B), the fourth folding angle may be an angle within a range greater than 180 degrees and less than 360 degrees.
  • the electronic device when the folding angle of the electronic device is a first folding angle, the electronic device may determine the screen state of the foldable screen according to the first folding angle;
  • the folding angle of the electronic device when the folding angle of the electronic device is the second folding angle, the electronic device can determine the screen state of the foldable screen according to the first folding angle;
  • the folding angle of the electronic device when the folding angle of the electronic device is the third folding angle, the electronic device can determine the screen state of the foldable screen according to the first folding angle;
  • the folding angle of the electronic device when the folding angle of the electronic device is the fourth folding angle, the electronic device can determine the screen state of the foldable screen according to the first folding angle.
  • the electronic device can determine the screen state of the foldable screen directly according to the folding angle, so that the electronic device obtains the screen state and determines the operating mode according to the screen state without the need for user settings. In this way, the efficiency of the electronic device when switching modes is improved.
  • step 201 can be specifically implemented by the following step 201b.
  • Step 201b When the electronic device is in the target control mode, the electronic device obtains the screen state of the foldable screen.
  • the electronic device may limit the acquisition of the screen state of the foldable screen, thereby entering the condition of the operating mode corresponding to the screen state, that is, when the electronic device is in the target control mode, the electronic device acquires the screen state of the foldable screen.
  • the target control mode can be set in advance by the user, so that when the electronic device is in the target control mode, the electronic device can obtain the screen state of the foldable screen and determine the operating mode corresponding to the screen state based on the screen state.
  • the electronic device may also limit the conditions for adjusting to an operating mode corresponding to the screen state according to the screen state, thereby avoiding switching of the operating mode caused by user misoperation (such as changing the screen state).
  • Step 202 The electronic device determines a target operating mode corresponding to the screen state of the foldable screen.
  • the electronic device after obtaining the screen state of the foldable screen, can match the corresponding operating mode for the screen state of the foldable screen and determine the operating mode as the target operating mode.
  • the operating mode refers to: the system operating mode of the electronic device; it can support users to set multiple custom modes according to the form, and support customizing personalized settings under a custom mode.
  • the system capabilities that can be set by the user include at least one of the following: message notification application whitelist, contact whitelist, application usage whitelist, lock screen wallpaper, screen off, control center, and other system capability settings.
  • the user can set the notification method, notification time, and notification type of the above system capabilities.
  • an application that can provide notification reminders Different, different contacts that can be notified, different applications available to users, different user interface design (UI) display styles, different notification prompt methods, different system settings, different applications running in the foreground, etc.
  • UI user interface design
  • the electronic device can use application A, application B and application C, the application allowed to make notifications is application A, the notification method is ringing, the interface is dynamic wallpaper, etc.
  • Step 203 The electronic device adjusts the operation mode of the electronic device to the target operation mode.
  • the operating mode of the electronic device can be adjusted to the target operating mode.
  • An embodiment of the present application provides a mode switching method, whereby an electronic device can obtain the screen state of a foldable screen, determine a target operating mode corresponding to the screen state of the foldable screen, and adjust the operating mode of the electronic device to the target operating mode.
  • a user can control the screen state of the foldable screen to enable the electronic device to quickly enter a corresponding operating mode, thereby avoiding tedious operations and improving the adjustment efficiency of the operating mode of the electronic device.
  • the above-mentioned mode switching method also includes the following step 301.
  • Step 301 The electronic device displays a target operating mode identifier corresponding to the target operating mode.
  • a target operating mode identifier corresponding to the target operating mode may be displayed to remind the user of the operating mode of the electronic device.
  • the electronic device may display the name, keyword, image, or symbol of the operating mode on the screen to remind the user which operating mode the electronic device is in.
  • the electronic device can also provide the user with information that the electronic device is currently in the target operating mode by flashing, vibrating or ringing.
  • the electronic device may display a target operating mode identifier before and/or after adjusting the operating mode of the electronic device to the target operating mode.
  • the electronic device displays a target operation mode identifier corresponding to the target operation mode, such as a love symbol.
  • the electronic device after the electronic device adjusts the operating mode of the electronic device to the target operating mode, the electronic device can display the target operating mode identifier corresponding to the target operating mode, thereby reminding the user of the current operating mode of the electronic device, thereby avoiding user misoperation, thereby improving the human-computer interaction performance.
  • the above-mentioned mode switching method further includes the following steps 401 to step Step 404.
  • Step 401 The electronic device displays a screen status setting interface.
  • the electronic device may further display a screen status setting interface, and display at least one mode setting control in the screen status setting interface; wherein one mode setting control corresponds to one screen form.
  • the electronic device may display multiple identifiers, one identifier may correspond to a mode setting control, and one mode setting control is used to enable the electronic device to operate according to the mode.
  • a mode setting control may be corresponded to a screen form, so that the electronic device enters the operating mode corresponding to the screen state according to the current screen state.
  • the user needs to start the working mode switching function. If the user does not start the working mode switching function, the user's working mode is the same in any screen state.
  • the electronic device displays three mode setting controls, namely, a closed state, an unfolded state, and a folded state, and the user can input any of the setting controls to set the working mode corresponding to each state.
  • Step 402 The electronic device receives a first input from a user.
  • the first input is used to select a target screen state.
  • the first input may be an input by the user of an identification of a target screen state in a screen state setting interface.
  • the first input may be a click input (such as a single click input, a double click input, or an input with a preset number of clicks, etc.), a long press input, or a sliding input, etc.
  • the specific setting may be based on actual usage requirements and is not limited in the embodiment of the present application.
  • Step 403 In response to a first input of a target screen state in the screen state setting interface, the electronic device displays an operation mode setting interface of a target operation mode corresponding to the target screen state.
  • the electronic device after receiving a first input from a user, displays an operation mode setting interface of a target operation mode corresponding to a target screen state in response to the first input.
  • Step 404 The electronic device determines the operation content of the electronic device in the target operation mode in response to the second input to the operation mode setting interface.
  • a user when the electronic device displays an operation mode setting interface of a target operation mode corresponding to a target screen state, a user may set system capabilities of the operation mode in the operation mode setting interface.
  • the user can set a message notification application whitelist in each mode.
  • the list of contacts allowed to be notified is: Zhang San, Li Si and Wang Wu, and the applications allowed to be notified are phone calls, text messages and settings.
  • the user can set the sound notification mode for each screen state, for example, the lid state corresponds to the silent mode, the fully expanded state corresponds to the ringing mode, and the hovering state corresponds to the vibration mode.
  • the user can set the message processing method for each screen form. For example, when the electronic device receives a message, the closed state corresponds to a customized quick reply to the message, the expanded state corresponds to directly deleting the text message, and the collapsed state corresponds to marking the message as read.
  • a user can determine the operating content of the electronic device in the target operating mode in the operating mode setting interface, that is, a user can customize an operating mode, thereby improving the human-computer interaction performance and enhancing the fun of mode switching of the electronic device.
  • the target operating mode is the first operating mode; after the above step 203, the mode switching method provided in the embodiment of the present application also includes the following steps 501 and 502.
  • Step 501 When the electronic device is in a first operating mode, the electronic device displays a first interface of a first function of a first application.
  • the electronic device when the electronic device is in a first operating mode and displays the interface of a first function of a first application, if input from a user to switch the operating mode of the electronic device is received, or a user request to switch the operating mode of the electronic device is received, the electronic device may adjust the first operating mode to another operating mode, such as a second operating mode.
  • Step 502 When the operation mode of the electronic device is adjusted from the first operation mode to the second operation mode, the electronic device displays a second interface of the second function of the first application.
  • the electronic device when the electronic device receives input from a user to switch the operating mode of the electronic device, that is, when the electronic device can adjust the first operating mode to the second operating mode, the electronic device can display the second interface of the second function of the first application.
  • the electronic device may display interfaces of different functions of the same application in different operating modes.
  • the electronic device when the user sets the electronic device to only run the first function of the first application in the first operating mode, the electronic device can only display the first interface of the first function of the first application in the first operating mode. If the user sets the electronic device to only run the second function of the first application in the second operating mode but not the first function, the electronic device displays the second interface of the second function in the second operating mode.
  • the electronic device runs a music application
  • the user sets the closed state as the first operating mode, the unfolded state as the second operating mode, and the folded state as the third operating mode in advance
  • the function of the music application in the first operating mode is set to single song loop
  • the function in the second operating mode is set to random play
  • the function in the third operating mode is set to song recognition.
  • running the music application if the electronic device is in the first operating mode, the single song loop function is started; if the operating mode of the electronic device needs to be adjusted from the first operating mode to the second operating mode, the random play function is started.
  • the electronic device can also display interfaces of different functions of the same application in different operating modes. Therefore, when a user requires different functions of the application, different functions can be used simply by changing the state of the foldable screen of the electronic device. This simplifies the user's operation and improves the efficiency of the electronic device in switching application functions.
  • the mode switching method provided in the embodiment of the present application further includes the following step 503.
  • Step 503 When the operation mode of the electronic device is adjusted from the second operation mode to the first operation mode, the electronic device displays a first interface of a first function of a first application.
  • the electronic device can display the first interface of the first function displayed in the first operating mode.
  • the electronic device when the operating mode of the electronic device is the first operating mode and the first interface of the first function of the first application is displayed, if there is a need to adjust the operating mode of the electronic device from the first operating mode to the second operating mode, the electronic device cancels display of the first interface of the first function of the first application, and displays the second interface of the second function of the first application; if there is a need to adjust the operating mode of the electronic device from the second operating mode back to the operating mode of the electronic device when the electronic device is adjusted to the currently operating second operating mode, that is, the first operating mode, the electronic device cancels display of the second interface of the second function of the first application, and displays the content displayed by the electronic device in the first operating mode, that is, the first interface of the first function of the first application.
  • the target operating mode is the first operating mode; after the above step 203, the mode switching method provided in the embodiment of the present application also includes the following steps 601 and 602.
  • Step 601 When the electronic device is in the first operating mode, the electronic device displays a third interface of a second application.
  • the electronic device when the electronic device is in a first operating mode and displays a third interface of a second application, if input from a user to switch the operating mode of the electronic device is received, or a user's request to switch the operating mode of the electronic device is received, the electronic device may adjust the first operating mode to another operating mode, such as the third operating mode.
  • Step 602 When the operation mode of the electronic device is adjusted from the first operation mode to the third operation mode, the electronic device displays a fourth interface of the third application.
  • the electronic device when the electronic device receives input from a user to switch the operating mode of the electronic device, that is, when the electronic device can adjust the first operating mode to the third operating mode, the electronic device can display the fourth interface of the third application.
  • the electronic device may display different interfaces of different applications in different operating modes.
  • the electronic device can display different interfaces of different applications in different operating modes, or the electronic device can display interfaces of different functions of different applications in different operating modes; or the electronic device can display interfaces of the same function of different applications in different operating modes.
  • the electronic device displays the third interface of the second application in the first operating mode. If the user's electronic device cannot run the second application in the third operating mode and needs to run the third application, the electronic device displays the fourth interface of the third application in the third operating mode.
  • the user sets the closed state as the first operating mode, the expanded state as the second operating mode, and the folded state as the third operating mode in advance, and sets the applications that can be run in the first operating mode to music applications, and the applications that can be run in the third operating mode to video applications, when the interface of the music application is displayed in the first operating mode, if it is necessary to adjust the operating mode of the electronic device from the first operating mode to the third operating mode, the interface of the video application is displayed.
  • the electronic device can also display different interfaces of different applications in different operating modes. Therefore, when the user needs to switch running applications, the electronic device can quickly switch the currently running application to other applications simply by changing the state of the foldable screen of the electronic device. This simplifies the user's operation and improves the efficiency of application switching of the electronic device.
  • the mode switching method provided in the embodiment of the present application also includes the following step 701.
  • Step 701 When the operation mode of the electronic device is adjusted from the third operation mode to the first operation mode, the electronic device displays a third interface of a second application.
  • the electronic device when the operating mode of the electronic device is adjusted from the first operating mode to the third operating mode and the fourth interface of the third application is displayed, if the user adjusts the third operating mode to the first operating mode, the electronic device can display the third interface of the second application allowed to be displayed in the first operating mode by default.
  • the electronic device controls the screen of the electronic device to turn off, and after the screen is turned on again, displays the interface running and displayed in the first operating mode according to the first operating mode.
  • the electronic device may turn off the The user is prompted to switch the operating mode of the electronic device by turning off the screen and lighting up the screen, and the operating display interface in the operating mode is displayed in the first operating mode.
  • the electronic device when the electronic device re-enters the last screen state, the electronic device defaults to staying on and displaying the last interface.
  • the electronic device when the electronic device adjusts its operating mode, the electronic device can display the interface of the application displayed by default in the current operating mode, or the electronic device can display the interface allowed to be displayed in the current operating mode. In this way, the user can repeatedly adjust the interface of the application to be displayed or the interface to be displayed as needed, thereby improving the flexibility of the interface displayed when the electronic device switches modes.
  • the mode switching method provided in the embodiment of the present application also includes the following steps 801 and 802.
  • Step 801 The electronic device determines a screen display area of the electronic device according to a placement posture of the screen of the electronic device.
  • the electronic device may also determine the screen display area of the electronic device according to the screen placement posture.
  • the electronic device can determine the screen display area of the electronic device according to the current placement posture of the screen of the electronic device.
  • Step 802 The electronic device displays the target running content in the screen display area.
  • the target operation content is the operation content of the electronic device corresponding to the screen placement posture in the target operation mode.
  • the electronic device may display the target running content in a corresponding screen display area according to different screen placement postures.
  • the electronic device can display information such as time or alarm in one of the entire screen areas.
  • the electronic device can determine the screen display area of the electronic device according to the screen placement posture, and display the target running content in the screen display area, so that the user only needs to change the screen placement posture to change the screen area that needs to be displayed, thereby improving the efficiency of the user in adjusting the screen display area.
  • the mode switching method provided in the embodiment of the present application also includes the following steps 901 and 902.
  • Step 901 The electronic device determines the screen display of the electronic device according to the folding angle of the foldable screen. Display area.
  • the electronic device can determine the screen display area of the electronic device based on the folding angle of the foldable screen, rather than fixing the display area of the electronic device, so that the screen display area of the electronic device can change with the folding angle of the foldable screen.
  • Step 902 The electronic device displays the mode content of the target operating mode in the screen display area.
  • the mode content of the target operating mode can be displayed in the screen display area as required.
  • the electronic device can display the interface and content required to be displayed in the lower half of the screen area of the inner screen.
  • the display area of the electronic device can change as the folding angle of the foldable screen changes. In this way, it is convenient to display the mode content of the target operating mode to the user, thereby making it easier for the user to view the mode content of the target operating mode, thereby improving the user experience.
  • the foldable screen includes an inner screen area and an outer screen area; the screen state of the foldable screen includes a closed state, an unfolded state and a folded state; the mode switching method provided in the embodiment of the present application also includes the following steps 1001 to 1003.
  • Step 1001 When the screen state of the foldable screen is closed and a notification message is received, prompt information of the notification message is displayed in the outer screen area of the foldable screen.
  • the electronic device when the screen state of the foldable screen of the electronic device is in a closed state, if the electronic device receives a notification message, the electronic device may display prompt information of the notification message in the outer screen area of the foldable screen, so that the user can see the notification message without changing the screen state of the electronic device.
  • Step 1002 The electronic device receives a fourth input.
  • the fourth input is used to adjust the screen state of the foldable screen to an unfolded state or a folded state.
  • Step 1003 In response to the fourth input of adjusting the screen state of the foldable screen to the unfolded state or the folded state, the electronic device displays a message reply interface for the notification message in the inner screen area of the foldable screen.
  • the operation mode of the electronic device is maintained as the operation mode corresponding to the closed state.
  • the user can adjust the screen state of the foldable screen, for example, adjust the foldable screen from the closed state to the unfolded state or the folded state, but the operating state of the electronic device is inconvenient and the corresponding operating mode in the closed state is still maintained. It runs in different modes, making it easier for users to reply to received messages, and improving the flexibility and convenience of users replying to messages in different screen states.
  • the mode switching method provided in the embodiment of the present application can be executed by a mode switching device.
  • the mode switching device executing the mode switching method is taken as an example to illustrate the mode switching device provided in the embodiment of the present application.
  • FIG7 shows a possible structural diagram of a mode switching device involved in an embodiment of the present application.
  • the mode switching device 40 may include: an acquisition module 41 , a determination module 42 and an adjustment module 43 .
  • the acquisition module 41 is used to acquire the screen state of the foldable screen.
  • the determination module 42 is used to determine the target operation mode corresponding to the screen state of the foldable screen.
  • the adjustment module 43 is used to adjust the operation mode of the electronic device to the target operation mode.
  • An embodiment of the present application provides a mode switching device, and the electronic device can obtain the screen state of a foldable screen, determine a target operating mode corresponding to the screen state of the foldable screen, and adjust the operating mode of the electronic device to the target operating mode.
  • the user can control the screen state of the foldable screen to enable the electronic device to quickly enter the corresponding operating mode, thereby avoiding tedious operations and improving the adjustment efficiency of the operating mode of the electronic device.
  • the acquisition module 41 is specifically used to acquire a folding angle of the foldable screen; and determine a screen state of the foldable screen according to the folding angle.
  • the acquisition module 41 is specifically configured to acquire the screen state of the foldable screen when the electronic device is in the target control mode.
  • the mode switching device 40 further includes: a display module; the display module is used to display a target operating mode identifier corresponding to the target operating mode.
  • the mode switching device 40 further includes: a display module; the display module is used to display a screen state setting interface; in response to a first input of a target screen state in the screen state setting interface, an operation mode setting interface of a target operation mode corresponding to the target screen state is displayed.
  • the determination module 42 is also used to determine the operation content of the electronic device in the target operation mode in response to a second input of the operation mode setting interface.
  • the target operation mode is the first operation mode
  • the mode switching device 40 further includes: a display module and a processing module; the display module is used to display the first interface of the first function of the first application when the electronic device is in the first operation mode after the adjustment module 43 adjusts the operation mode of the electronic device to the target operation mode.
  • the processing module is used to display the second interface of the second function of the first application when the operation mode of the electronic device is adjusted from the first operation mode to the second operation mode.
  • the display module is further used to display a first interface of a first function of a first application when the operating mode of the electronic device is adjusted from the second operating mode to the first operating mode.
  • the target operation mode is the first operation mode;
  • the mode switching device 40 further includes: a display module and a processing module.
  • the display module is used to display the third interface of the second application when the electronic device is in the first operation mode after the adjustment module 43 adjusts the operation mode of the electronic device to the target operation mode.
  • the processing module is used to display the fourth interface of the third application when the operation mode of the electronic device is adjusted from the first operation mode to the third operation mode.
  • the display module is further used to display the third interface of the second application when the operating mode of the electronic device is adjusted from the third operating mode to the first operating mode.
  • the mode switching device 40 further includes: a display module; a determination module 42, further configured to determine the screen display area of the electronic device according to the screen placement posture of the electronic device.
  • the display module is configured to display the target operation content in the screen display area; the target operation content is the operation content of the electronic device corresponding to the screen placement posture in the target operation mode.
  • the mode switching device 40 further includes: a display module; a determination module 42, further configured to determine the screen display area of the electronic device according to the folding angle of the foldable screen; and a display module configured to display the mode content of the target operation mode in the screen display area.
  • the foldable screen includes an inner screen area and an outer screen area; the screen state of the foldable screen includes a closed state, an unfolded state, and a folded state; the above-mentioned mode switching device 40 also includes: a display module and a processing module; the display module is used to display the prompt information of the notification message in the outer screen area of the foldable screen when the screen state of the foldable screen is a closed state and a notification message is received.
  • the processing module is used to display a message reply interface of the notification message in the inner screen area of the foldable screen in response to a fourth input of adjusting the screen state of the foldable screen to an unfolded state or a folded state; wherein the operation mode of the electronic device remains the operation mode corresponding to the closed state.
  • the mode switching device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip.
  • the electronic device can be a terminal or other devices other than a terminal.
  • the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc.
  • NAS Network Attached Storage
  • PC personal computer
  • TV television
  • teller machine a self-service machine
  • the mode switching device in the embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the mode switching device provided in the embodiment of the present application can implement each process implemented in the above-mentioned method embodiment, and will not be described again here to avoid repetition.
  • an embodiment of the present application also provides an electronic device 6000, including a processor 6001 and a memory 6002, and the memory 6002 stores a program or instruction that can be executed on the processor 6001.
  • the program or instruction is executed by the processor 6001
  • the various steps of the above-mentioned mode switching method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
  • the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
  • FIG. 9 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
  • components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
  • the electronic device 100 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 110 through a power management system, so that the power management system can manage charging, discharging, and power consumption.
  • a power source such as a battery
  • the electronic device structure shown in FIG9 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
  • the processor 110 is used to obtain the screen state of the foldable screen, determine the target operating mode corresponding to the screen state of the foldable screen, and adjust the operating mode of the electronic device to the target operating mode.
  • An embodiment of the present application provides an electronic device, which can obtain the screen state of a foldable screen, determine a target operating mode corresponding to the screen state of the foldable screen, and adjust the operating mode of the electronic device to the target operating mode.
  • a user can control the screen state of the foldable screen to enable the electronic device to quickly enter a corresponding operating mode, thereby avoiding tedious operations and improving the adjustment efficiency of the operating mode of the electronic device.
  • the processor 110 is specifically used to obtain a folding angle of the foldable screen; and determine a screen state of the foldable screen according to the folding angle.
  • the processor 110 is specifically configured to obtain a screen state of the foldable screen when the electronic device is in a target control mode.
  • the display unit 106 is used to display a target operating mode identifier corresponding to the target operating mode.
  • the display unit 106 is used to display a screen state setting interface; in response to a first input of a target screen state in the screen state setting interface, an operation mode setting interface of a target operation mode corresponding to the target screen state is displayed.
  • the processor 110 is also used to determine the operation content of the electronic device in the target operation mode in response to a second input of the operation mode setting interface.
  • the target operating mode is the first operating mode
  • the display unit 106 is used to display the first interface of the first function of the first application when the electronic device is in the first operating mode after the step of adjusting the operating mode of the electronic device to the target operating mode.
  • the processor 110 is used to display the second interface of the second function of the first application when the operating mode of the electronic device is adjusted from the first operating mode to the second operating mode.
  • the display unit 106 is further configured to display a first interface of a first function of a first application when the operation mode of the electronic device is adjusted from the second operation mode to the first operation mode.
  • the target operating mode is the first operating mode
  • the display unit 106 is used to display the third interface of the second application when the electronic device is in the first operating mode after the processor 110 adjusts the operating mode of the electronic device to the target operating mode.
  • the processor 110 is also used to display the fourth interface of the third application when the operating mode of the electronic device is adjusted from the first operating mode to the third operating mode.
  • the display unit 106 is further configured to display a third interface of the second application when the operating mode of the electronic device is adjusted from the third operating mode to the first operating mode.
  • the processor 110 is further configured to determine the screen display area of the electronic device according to the screen placement posture of the electronic device.
  • the display unit 106 is configured to display the target operation content in the screen display area; the target operation content is the operation content of the electronic device corresponding to the screen placement posture in the target operation mode.
  • the processor 110 is further configured to determine a screen display area of the electronic device according to the folding angle of the foldable screen.
  • the display unit 106 is further configured to display mode content of the target operation mode in the screen display area.
  • the foldable screen includes an inner screen area and an outer screen area; the screen state of the foldable screen includes a closed state, an unfolded state, and a folded state; the display unit 106 is further used to display a prompt message of the notification message in the outer screen area of the foldable screen when the screen state of the foldable screen is the closed state and a notification message is received.
  • the processor 110 is also used to display a message reply interface of the notification message in the inner screen area of the foldable screen in response to a fourth input for adjusting the screen state of the foldable screen to the unfolded state or the folded state; wherein the operation mode of the electronic device remains corresponding to the closed state Operation mode.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
  • the user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072.
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
  • the volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM).
  • the memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
  • the processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.
  • An embodiment of the present application also provides a computer-readable storage medium, on which a program or instruction is stored.
  • a program or instruction is stored.
  • the various processes of the above-mentioned mode switching method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiment.
  • the computer readable storage medium is, for example, a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
  • An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned mode switching method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
  • An embodiment of the present application provides a computer program product, which is stored in a storage medium.
  • the program product is executed by at least one processor to implement the various processes of the above-mentioned mode switching method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the technical solution of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
  • a storage medium such as ROM/RAM, a disk, or an optical disk
  • a terminal which can be a mobile phone, a computer, a server, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The present application relates to the technical field of electronic devices, and discloses a mode switching method and apparatus, an electronic device and a computer-readable storage medium. The method is applied to an electronic device having a foldable screen, and comprises: acquiring a screen state of the foldable screen (201); determining a target operation mode corresponding to the screen state of the foldable screen (202); and adjusting an operation mode of the electronic device to the target operation mode (203).

Description

模式切换方法、装置、电子设备和计算机可读存储介质Mode switching method, device, electronic device and computer readable storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2022年11月30日在中国提交的申请号为202211526887.9的中国专利的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202211526887.9 filed in China on November 30, 2022, the entire contents of which are incorporated herein by reference.
技术领域Technical Field
本申请属于电子设备技术领域,具体涉及一种模式切换方法、装置、电子设备和计算机可读存储介质。The present application belongs to the technical field of electronic devices, and specifically relates to a mode switching method, device, electronic device and computer-readable storage medium.
背景技术Background technique
目前,在用户需求进入至某种电子设备运行模式的情况下,用户可以启动电子设备,并打开设置界面,通过在设置界面上手动选择所需的模式,从而电子设备根据用户选择的运行模式,触发电子设备进入至该模式中。Currently, when a user needs to enter a certain operating mode of an electronic device, the user can start the electronic device and open a setting interface, and manually select the desired mode on the setting interface, so that the electronic device is triggered to enter the mode according to the operating mode selected by the user.
然而,若用户需求调整电子设备当前的运行模式的情况下,则用户仍需启动电子设备,打开设置界面,并手动选择其他的运行模式,从而使得电子设备调整运行模式,如此,导致用户调整运行模式时的操作繁琐且复杂,对电子设备的运行模式的调整效率较低。However, if the user needs to adjust the current operating mode of the electronic device, the user still needs to start the electronic device, open the settings interface, and manually select other operating modes, so that the electronic device can adjust the operating mode. This makes the operation of the user adjusting the operating mode cumbersome and complicated, and the adjustment efficiency of the operating mode of the electronic device is low.
发明内容Summary of the invention
本申请实施例的目的是提供一种模式切换方法、装置、电子设备和计算机可读存储介质,能够提高对电子设备的运行模式的调整效率。The purpose of the embodiments of the present application is to provide a mode switching method, device, electronic device and computer-readable storage medium, which can improve the efficiency of adjusting the operating mode of the electronic device.
第一方面,本申请实施例提供了一种模式切换方法,应用于具有可折叠屏幕的电子设备,其特征在于,方法包括:获取可折叠屏幕的屏幕状态;确定与可折叠屏幕的屏幕状态相对应的目标运行模式;将电子设备的运行模式调整为目标运行模式。In a first aspect, an embodiment of the present application provides a mode switching method, which is applied to an electronic device with a foldable screen, and is characterized in that the method includes: obtaining a screen state of the foldable screen; determining a target operating mode corresponding to the screen state of the foldable screen; and adjusting the operating mode of the electronic device to the target operating mode.
第二方面,本申请实施例提供了一种模式切换装置,该装置包括:获取模块、确定模块和调整模块;获取模块,用于获取可折叠屏幕的屏幕状态;确定模块,用于确定与可折叠屏幕的屏幕状态相对应的目标运行模式;调整模块,用于将电子设备的运行模式调整为目标运行模式。In the second aspect, an embodiment of the present application provides a mode switching device, which includes: an acquisition module, a determination module and an adjustment module; the acquisition module is used to acquire the screen state of the foldable screen; the determination module is used to determine the target operating mode corresponding to the screen state of the foldable screen; the adjustment module is used to adjust the operating mode of the electronic device to the target operating mode.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指 令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising a processor and a memory, the memory storing a program or instruction that can be run on the processor, the program or instruction When the instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
在本申请实施例中,电子设备可以获取可折叠屏幕的屏幕状态,确定与可折叠屏幕的屏幕状态相对应的目标运行模式,将电子设备的运行模式调整为目标运行模式,这样,用户可以通过控制可折叠屏幕的屏幕状态,使得电子设备快捷进入相应的运行模式,避免了繁琐操作,提高了电子设备的运行模式的调整效率。In an embodiment of the present application, the electronic device can obtain the screen state of the foldable screen, determine the target operating mode corresponding to the screen state of the foldable screen, and adjust the operating mode of the electronic device to the target operating mode. In this way, the user can control the screen state of the foldable screen to make the electronic device quickly enter the corresponding operating mode, avoiding tedious operations and improving the adjustment efficiency of the operating mode of the electronic device.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例提供的一种模式切换方法的示意图之一;FIG1 is a schematic diagram of a mode switching method according to an embodiment of the present application;
图2(A)是本申请实施例提供的一种模式切换方法的示意图之二;FIG2(A) is a second schematic diagram of a mode switching method provided in an embodiment of the present application;
图2(B)是本申请实施例提供的一种模式切换方法的示意图之三;FIG2(B) is a third schematic diagram of a mode switching method provided in an embodiment of the present application;
图2(C)是本申请实施例提供的一种模式切换方法的示意图之四;FIG2(C) is a fourth schematic diagram of a mode switching method provided in an embodiment of the present application;
图2(D)是本申请实施例提供的一种模式切换方法的示意图之五;FIG2(D) is a fifth schematic diagram of a mode switching method provided in an embodiment of the present application;
图3(A)是本申请实施例提供的一种模式切换方法的示意图之六;FIG3(A) is a sixth schematic diagram of a mode switching method provided in an embodiment of the present application;
图3(B)是本申请实施例提供的一种模式切换方法的示意图之七;FIG3(B) is a seventh schematic diagram of a mode switching method provided in an embodiment of the present application;
图4是本申请实施例提供的一种手机的界面的实例示意图之一;FIG4 is one of the example schematic diagrams of an interface of a mobile phone provided in an embodiment of the present application;
图5是本申请实施例提供的一种手机的界面的实例示意图之二;FIG5 is a second schematic diagram of an example of an interface of a mobile phone provided in an embodiment of the present application;
图6是本申请实施例提供的一种手机的界面的实例示意图之二;FIG6 is a second example schematic diagram of an interface of a mobile phone provided in an embodiment of the present application;
图7是本申请实施例提供的一种模式切换装置的结构示意图;FIG7 is a schematic diagram of the structure of a mode switching device provided in an embodiment of the present application;
图8是本申请实施例提供的一种电子设备的硬件结构示意图之一;FIG8 is a schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present application;
图9是本申请实施例提供的一种电子设备的硬件结构示意图之二。FIG. 9 is a second schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施 例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in this application are within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的模式切换进行详细地说明。The following describes in detail the mode switching provided by the embodiments of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
本申请实施例提供一种模式切换方法,图1示出了本申请实施例提供的一种模式切换方法的流程图,该方法可以应用于具有折叠屏的电子设备。如图1所示,本申请实施例提供的模式切换方法可以包括下述的步骤201至步骤203。The present application provides a mode switching method. FIG1 shows a flow chart of a mode switching method provided by the present application. The method can be applied to an electronic device with a folding screen. As shown in FIG1 , the mode switching method provided by the present application can include the following steps 201 to 203.
步骤201、电子设备获取可折叠屏幕的屏幕状态。Step 201: The electronic device obtains the screen status of the foldable screen.
本申请实施例中,在用户使用具有折叠屏的电子设备的情况下,用户可以设置不同屏幕状态下的电子设备的运行模式,不同的运行模式下,电子设备的***能力设置也不同。In an embodiment of the present application, when a user uses an electronic device with a foldable screen, the user can set the operating mode of the electronic device under different screen states. Under different operating modes, the system capability settings of the electronic device are also different.
可选地,本申请实施例中,电子设备的可折叠屏幕可以包括两个屏幕,即第一屏幕和第二屏幕,并且,可折叠屏幕包括第一屏幕区域和第二屏幕区域,其中,第一屏幕对应第一屏幕区域,第二屏幕对应第二屏幕区域。Optionally, in an embodiment of the present application, the foldable screen of the electronic device may include two screens, namely a first screen and a second screen, and the foldable screen includes a first screen area and a second screen area, wherein the first screen corresponds to the first screen area, and the second screen corresponds to the second screen area.
可选地,本申请实施例中,屏幕状态可以包括以下任意状态:闭合状态、折叠状态和展开状态。Optionally, in the embodiment of the present application, the screen state may include any of the following states: a closed state, a folded state, and an unfolded state.
可选地,本申请实施例中,闭合状态是指第一屏幕和第二屏幕之间的夹角位于大于或等于0度且小于第一预设角度范围内;折叠状态是指第一屏幕和第二屏幕之间的夹角位于大于或等于第一预设角度且小于180度范围内;展开状态是指第一屏幕和第二屏幕之间的夹角位于大于或等于180度且小于360度范围内。Optionally, in an embodiment of the present application, the closed state refers to that the angle between the first screen and the second screen is within a range greater than or equal to 0 degrees and less than a first preset angle; the folded state refers to that the angle between the first screen and the second screen is within a range greater than or equal to the first preset angle and less than 180 degrees; the unfolded state refers to that the angle between the first screen and the second screen is within a range greater than or equal to 180 degrees and less than 360 degrees.
可选地,本申请实施例中,电子设备在获取到可折叠屏幕的屏幕状态之后,可以确定与可折叠屏幕的屏幕状态相匹配的运行模式,并启动和使用与可折叠屏幕的屏幕状态相匹配的运行模式。Optionally, in an embodiment of the present application, after obtaining the screen state of the foldable screen, the electronic device can determine an operating mode that matches the screen state of the foldable screen, and start and use the operating mode that matches the screen state of the foldable screen.
需要说明的是,屏幕状态用于指示当前电子设备的屏幕姿态和屏幕的大小比例变化,其中,屏幕姿态可包括向内折叠、向外折叠、翻转等姿态。 It should be noted that the screen state is used to indicate the screen posture of the current electronic device and the change in the screen size ratio, wherein the screen posture may include postures such as folding inward, folding outward, and flipping.
可选地,本申请实施例中,一种屏幕状态对应一种运行模式,一种运行模式可以对应一种电子设备的***设置功能方式、应用使用功能方式和消息通知方式等。Optionally, in an embodiment of the present application, a screen state corresponds to an operating mode, and an operating mode may correspond to a system setting function mode, an application usage function mode, a message notification mode, etc. of an electronic device.
示例性地,如图2(A)所示,电子设备的屏幕状态可以包括:闭合状态,即电子设备的屏幕处于完全折叠状态,即屏幕完全闭合的状态,如图2(B)所示,电子设备的屏幕状态可以包括展开状态,如图2(C)和图2(D)所示,电子设备的屏幕状态可以包括折叠状态,即电子设备的屏幕处于不完全折叠状态。Exemplarily, as shown in FIG. 2(A), the screen status of the electronic device may include: a closed state, i.e., the screen of the electronic device is in a completely folded state, i.e., the screen is completely closed; as shown in FIG. 2(B), the screen status of the electronic device may include an unfolded state; as shown in FIG. 2(C) and FIG. 2(D), the screen status of the electronic device may include a folded state, i.e., the screen of the electronic device is in an incompletely folded state.
可选地,本申请实施例中,电子设备可以根据第一屏幕区域和第二屏幕区域的相对位置关系,判断并获取可折叠屏幕的屏幕状态。Optionally, in an embodiment of the present application, the electronic device may determine and obtain the screen state of the foldable screen based on the relative position relationship between the first screen area and the second screen area.
可选地,本申请实施例中,上述步骤201具体可以通过下述的步骤201a1和步骤201a2实现。,获取可折叠屏幕的屏幕状态,包括:Optionally, in the embodiment of the present application, the above step 201 can be specifically implemented by the following steps 201a1 and 201a2. , obtaining the screen state of the foldable screen includes:
步骤201a1、电子设备获取可折叠屏幕的折叠角度。Step 201a1: The electronic device obtains a folding angle of the foldable screen.
可选地,本申请实施例中,可折叠屏幕的折叠角度可以为电子设备的第一屏幕区域和第二屏幕区域之间的夹角的角度。Optionally, in the embodiment of the present application, the folding angle of the foldable screen may be an angle between the first screen area and the second screen area of the electronic device.
可选地,本申请实施例中,电子设备可以根据第一屏幕区域和第二屏幕区域之间的夹角的角度,从而使得电子设备判断并获取可折叠屏幕的屏幕状态。Optionally, in an embodiment of the present application, the electronic device may determine and obtain the screen state of the foldable screen based on the angle between the first screen area and the second screen area.
步骤201a2、电子设备根据折叠角度确定可折叠屏幕的屏幕状态。Step 201a2: The electronic device determines the screen state of the foldable screen according to the folding angle.
可选地,本申请实施例中,在电子设备根据第一屏幕区域和第二屏幕区域之间的夹角的角度,即获取到折叠角度之后,电子设备可以根据折叠角度确定可折叠屏幕的屏幕状态。Optionally, in an embodiment of the present application, after the electronic device obtains the folding angle based on the angle between the first screen area and the second screen area, the electronic device can determine the screen state of the foldable screen according to the folding angle.
可以理解,折叠角度为可折叠屏幕在处于折叠状态下,根据折叠线分成的多个屏幕区域之间的屏幕夹角的度数。It can be understood that the folding angle refers to the degree of the screen angle between multiple screen areas divided by the folding line when the foldable screen is in a folded state.
可选地,本申请实施例中,一种折叠角度可以对应一种屏幕状态。Optionally, in the embodiment of the present application, a folding angle may correspond to a screen state.
可选地,本申请实施例中,上述折叠角度可以包括第一折叠角度、第二折叠角度、第三折叠角度和第四折叠角度。Optionally, in an embodiment of the present application, the above-mentioned folding angles may include a first folding angle, a second folding angle, a third folding angle and a fourth folding angle.
示例性地,电子设备的折叠角度可以包括第一折叠角度、直第二折叠角度、第三折叠角度和第四折叠角度;第一折叠角度可以为大于0度且小于90度的范围内的角度;如图3(A)所示,第二折叠角度可以为等于90度的角度;第三折叠角度可以为大于90度且小于180度的范围内的角度;如图3(B)所示,第四折叠角度可以为大于180度且小于360的范围内的角度。Exemplarily, the folding angles of the electronic device may include a first folding angle, a second folding angle, a third folding angle and a fourth folding angle; the first folding angle may be an angle within a range greater than 0 degrees and less than 90 degrees; as shown in FIG. 3(A), the second folding angle may be an angle equal to 90 degrees; the third folding angle may be an angle within a range greater than 90 degrees and less than 180 degrees; as shown in FIG. 3(B), the fourth folding angle may be an angle within a range greater than 180 degrees and less than 360 degrees.
可选地,本申请实施例中,在电子设备的折叠角度为第一折叠角度的情况下,电子设备可以根据第一折叠角度,确定可折叠屏幕的屏幕状态;在电子设 备的折叠角度为第二折叠角度的情况下,电子设备可以根据第一折叠角度,确定可折叠屏幕的屏幕状态;在电子设备的折叠角度为第三折叠角度的情况下,电子设备可以根据第一折叠角度,确定可折叠屏幕的屏幕状态;在电子设备的折叠角度为第四折叠角度的情况下,电子设备可以根据第一折叠角度,确定可折叠屏幕的屏幕状态。Optionally, in the embodiment of the present application, when the folding angle of the electronic device is a first folding angle, the electronic device may determine the screen state of the foldable screen according to the first folding angle; When the folding angle of the electronic device is the second folding angle, the electronic device can determine the screen state of the foldable screen according to the first folding angle; when the folding angle of the electronic device is the third folding angle, the electronic device can determine the screen state of the foldable screen according to the first folding angle; when the folding angle of the electronic device is the fourth folding angle, the electronic device can determine the screen state of the foldable screen according to the first folding angle.
本申请实施例中,电子设备可以根据直接根据折叠角度确定可折叠屏幕的屏幕状态,从而使得电子设备获取到该屏幕状态,以根据屏幕状态,确定运行模式,而无需用户进行设置,如此,提升了电子设备进行模式切换时的效率。In an embodiment of the present application, the electronic device can determine the screen state of the foldable screen directly according to the folding angle, so that the electronic device obtains the screen state and determines the operating mode according to the screen state without the need for user settings. In this way, the efficiency of the electronic device when switching modes is improved.
可选地,本申请实施例中,上述步骤201具体可以通过下述的步骤201b实现。Optionally, in the embodiment of the present application, the above step 201 can be specifically implemented by the following step 201b.
步骤201b、在电子设备处于目标控制模式的情况下,电子设备获取可折叠屏幕的屏幕状态。Step 201b: When the electronic device is in the target control mode, the electronic device obtains the screen state of the foldable screen.
可选地,本申请实施例中,电子设备可以限定获取可折叠屏幕的屏幕状态,从而进入至于该屏幕状态对应的运行模式下的条件,即在电子设备处于目标控制模式的情况下,电子设备获取可折叠屏幕的屏幕状态。Optionally, in an embodiment of the present application, the electronic device may limit the acquisition of the screen state of the foldable screen, thereby entering the condition of the operating mode corresponding to the screen state, that is, when the electronic device is in the target control mode, the electronic device acquires the screen state of the foldable screen.
可选地,本申请实施例中,该目标控制模式可以为用户提前设置的,从而在电子设备处于该目标控制模式的情况下,电子设备才可以获取可折叠屏幕的屏幕状态,并根据屏幕状态,确定与该屏幕状态相对应的运行模式。Optionally, in an embodiment of the present application, the target control mode can be set in advance by the user, so that when the electronic device is in the target control mode, the electronic device can obtain the screen state of the foldable screen and determine the operating mode corresponding to the screen state based on the screen state.
本申请实施例中,电子设备还可以限定根据屏幕状态,调整至与屏幕状态对应的运行模式的条件,从而避免了用户的误操作(例如改变屏幕状态)而引起的运行模式的切换。In an embodiment of the present application, the electronic device may also limit the conditions for adjusting to an operating mode corresponding to the screen state according to the screen state, thereby avoiding switching of the operating mode caused by user misoperation (such as changing the screen state).
步骤202、电子设备确定与可折叠屏幕的屏幕状态相对应的目标运行模式。Step 202: The electronic device determines a target operating mode corresponding to the screen state of the foldable screen.
本申请实施例中,电子设备在获取了可折叠屏幕的屏幕状态之后,可以为可折叠屏幕的屏幕状态匹配对应的运行模式,并将该运行模式确定为目标运行模式。In an embodiment of the present application, after obtaining the screen state of the foldable screen, the electronic device can match the corresponding operating mode for the screen state of the foldable screen and determine the operating mode as the target operating mode.
需要说明的是,运行模式是指:电子设备的***运行模式;其可以支持用户根据形态设定多种自定义模式,并支持自定义一种自定义模式下的个性化设置。It should be noted that the operating mode refers to: the system operating mode of the electronic device; it can support users to set multiple custom modes according to the form, and support customizing personalized settings under a custom mode.
可选地,本申请实施例中,在一种运行模式下,用户可以设置的***能力包括以下至少一项:消息通知应用白名单、联系人白名单、应用使用白名单、锁屏壁纸、熄屏、控制中心等各种***能力设置。用户可以设置上述***能力的通知方式、通知时间和通知类型等。Optionally, in an embodiment of the present application, in one operating mode, the system capabilities that can be set by the user include at least one of the following: message notification application whitelist, contact whitelist, application usage whitelist, lock screen wallpaper, screen off, control center, and other system capability settings. The user can set the notification method, notification time, and notification type of the above system capabilities.
可以理解,在不同的运行模式下,可以是:能够进行通知提醒的应用程序 不同、能够进行通知提醒的联系人不同、用户可使用的应用程序不同、界面设计(User Interface Design,UI)展示样式不同、通知提示方式不同、***设置不同、前台运行的应用程序不同等。It is understood that in different operating modes, it can be: an application that can provide notification reminders Different, different contacts that can be notified, different applications available to users, different user interface design (UI) display styles, different notification prompt methods, different system settings, different applications running in the foreground, etc.
示例性地,电子设备可以目标运行模式下,可以使用的应用程序为应用A、应用B和应用C,允许进行通知的应用为应用A,通知方式为响铃、界面为动态壁纸等。Exemplarily, in the target operation mode, the electronic device can use application A, application B and application C, the application allowed to make notifications is application A, the notification method is ringing, the interface is dynamic wallpaper, etc.
步骤203、电子设备将电子设备的运行模式调整为目标运行模式。Step 203: The electronic device adjusts the operation mode of the electronic device to the target operation mode.
本申请实施例中,在电子设备确定了与可折叠屏幕的屏幕状态相对应的目标运行模式之后,可以将电子设备的运行模式调整为目标运行模式。In an embodiment of the present application, after the electronic device determines the target operating mode corresponding to the screen state of the foldable screen, the operating mode of the electronic device can be adjusted to the target operating mode.
本申请实施例提供一种模式切换方法,电子设备可以获取可折叠屏幕的屏幕状态,确定与可折叠屏幕的屏幕状态相对应的目标运行模式,将电子设备的运行模式调整为目标运行模式,这样,用户可以通过控制可折叠屏幕的屏幕状态,使得电子设备快捷进入相应的运行模式,避免了繁琐操作,提高了电子设备的运行模式的调整效率。An embodiment of the present application provides a mode switching method, whereby an electronic device can obtain the screen state of a foldable screen, determine a target operating mode corresponding to the screen state of the foldable screen, and adjust the operating mode of the electronic device to the target operating mode. In this way, a user can control the screen state of the foldable screen to enable the electronic device to quickly enter a corresponding operating mode, thereby avoiding tedious operations and improving the adjustment efficiency of the operating mode of the electronic device.
可选地,本申请实施例中,上述模式切换方法还包括下述的步骤301。Optionally, in the embodiment of the present application, the above-mentioned mode switching method also includes the following step 301.
步骤301、电子设备显示与目标运行模式相对应的目标运行模式标识。Step 301: The electronic device displays a target operating mode identifier corresponding to the target operating mode.
可选地,本申请实施例中,在电子设备将电子设备的运行模式调整为目标运行模式之后,可以显示与目标运行模式相对应的目标运行模式标识,从而提醒用户电子设备的运行模式为何种模式。Optionally, in an embodiment of the present application, after the electronic device adjusts the operating mode of the electronic device to the target operating mode, a target operating mode identifier corresponding to the target operating mode may be displayed to remind the user of the operating mode of the electronic device.
可选地,本申请实施例中,电子设备可以在屏幕上显示该运行模式的名称、关键字、图像、符号,从而提醒用户电子设备的运行模式为何种模式。Optionally, in an embodiment of the present application, the electronic device may display the name, keyword, image, or symbol of the operating mode on the screen to remind the user which operating mode the electronic device is in.
可选地,本申请实施例中,电子设备还可以以闪烁、振动或是响铃的方式,提供用户电子设备当前处于目标运行模式。Optionally, in the embodiment of the present application, the electronic device can also provide the user with information that the electronic device is currently in the target operating mode by flashing, vibrating or ringing.
可选地,本申请实施例中,电子设备可以在将电子设备的运行模式调整为目标运行模式之前和/或之后显示目标运行模式标识。Optionally, in an embodiment of the present application, the electronic device may display a target operating mode identifier before and/or after adjusting the operating mode of the electronic device to the target operating mode.
示例性地,如图4所示,电子设备在将电子设备的运行模式调整为目标运行模式之后,显示与目标运行模式相对应的目标运行模式标识,例如显示爱心符号。Exemplarily, as shown in FIG. 4 , after adjusting the operation mode of the electronic device to the target operation mode, the electronic device displays a target operation mode identifier corresponding to the target operation mode, such as a love symbol.
本申请实施例中,电子设备在将电子设备的运行模式调整为目标运行模式之后,可以显示与目标运行模式相对应的目标运行模式标识,从而可以提醒用户当前电子设备所处的运行模式,从而避免用户的误操作,从而,提升了人机交互性能。In an embodiment of the present application, after the electronic device adjusts the operating mode of the electronic device to the target operating mode, the electronic device can display the target operating mode identifier corresponding to the target operating mode, thereby reminding the user of the current operating mode of the electronic device, thereby avoiding user misoperation, thereby improving the human-computer interaction performance.
可选地,本申请实施例中,上述模式切换方法还包括下述的步骤401至步 骤404。Optionally, in the embodiment of the present application, the above-mentioned mode switching method further includes the following steps 401 to step Step 404.
步骤401、电子设备显示屏幕状态设置界面。Step 401: The electronic device displays a screen status setting interface.
可选地,本申请实施例中,电子设备还可以显示屏幕状态设置界面,并在该屏幕状态设置界面中显示至少一个模式设置控件;其中,一个模式设置控件对应一种屏幕形态。Optionally, in the embodiment of the present application, the electronic device may further display a screen status setting interface, and display at least one mode setting control in the screen status setting interface; wherein one mode setting control corresponds to one screen form.
可选地,本申请实施例中,电子设备可以显示多个标识,一个标识可以对应一个模式设置控件,一个模式设置控件用于使得电子设备根据该模式进行运行,同时,为了便于操作,可以将一个模式设置控件与一种屏幕形态对应,从而使得电子设备根据当前的屏幕状态进入至该屏幕状态对应的运行模式中。Optionally, in an embodiment of the present application, the electronic device may display multiple identifiers, one identifier may correspond to a mode setting control, and one mode setting control is used to enable the electronic device to operate according to the mode. At the same time, for ease of operation, a mode setting control may be corresponded to a screen form, so that the electronic device enters the operating mode corresponding to the screen state according to the current screen state.
需要说明的是,电子设备在根据当前的屏幕状态进入至该运行模式之前,用户需要启动工作模式切换功能,若用户未启动工作模式切换功能,则用户在任意屏幕形态下,其工作模式相同。It should be noted that before the electronic device enters the operating mode according to the current screen status, the user needs to start the working mode switching function. If the user does not start the working mode switching function, the user's working mode is the same in any screen state.
示例性地,如图5所示,电子设备显示三个模式设置控件,即闭合状态、展开状态和折叠状态,用户可以对任意一个设置控件进行输入,从而设置每个状态对应的工作模式。Exemplarily, as shown in FIG. 5 , the electronic device displays three mode setting controls, namely, a closed state, an unfolded state, and a folded state, and the user can input any of the setting controls to set the working mode corresponding to each state.
步骤402、电子设备接收用户的第一输入。Step 402: The electronic device receives a first input from a user.
可选地,本申请实施例中,上述第一输入用于选择目标屏幕状态的。Optionally, in an embodiment of the present application, the first input is used to select a target screen state.
可选地,本申请实施例中,上述第一输入可以为用户对屏幕状态设置界面中的目标屏幕状态的标识的输入。Optionally, in the embodiment of the present application, the first input may be an input by the user of an identification of a target screen state in a screen state setting interface.
可选地,本申请实施例中,上述第一输入可以为点击输入(例如单击输入、双击输入或预设点击次数的输入等)、长按输入或滑动输入等。具体的可以根据实际使用需求设置,本申请实施例中不做限制。Optionally, in the embodiment of the present application, the first input may be a click input (such as a single click input, a double click input, or an input with a preset number of clicks, etc.), a long press input, or a sliding input, etc. The specific setting may be based on actual usage requirements and is not limited in the embodiment of the present application.
步骤403、电子设备响应于对屏幕状态设置界面中的目标屏幕状态的第一输入,显示与目标屏幕状态相对应的目标运行模式的运行模式设置界面。Step 403: In response to a first input of a target screen state in the screen state setting interface, the electronic device displays an operation mode setting interface of a target operation mode corresponding to the target screen state.
可选地,本申请实施例中,电子设备在接收到用户的第一输入之后,响应于该第一输入,显示与目标屏幕状态相对应的目标运行模式的运行模式设置界面。Optionally, in an embodiment of the present application, after receiving a first input from a user, the electronic device displays an operation mode setting interface of a target operation mode corresponding to a target screen state in response to the first input.
步骤404、电子设备响应于对运行模式设置界面的第二输入,确定电子设备在目标运行模式下的运行内容。Step 404: The electronic device determines the operation content of the electronic device in the target operation mode in response to the second input to the operation mode setting interface.
可选地,本申请实施例中,在电子设备显示与目标屏幕状态相对应的目标运行模式的运行模式设置界面的情况下,用户可以在该运行模式设置界面中对该运行模式的***能力进行设置。Optionally, in an embodiment of the present application, when the electronic device displays an operation mode setting interface of a target operation mode corresponding to a target screen state, a user may set system capabilities of the operation mode in the operation mode setting interface.
示例性地,如图6所示,用户可以设置每种模式下的消息通知应用白名单、 联系人白名单、应用使用白名单、锁屏壁纸、熄屏、控制中心等各种***能力设置,例如:允许通知的联系人名单为:张三、李四和王五,允许通知的应用为电话、短信和设置等。For example, as shown in FIG6 , the user can set a message notification application whitelist in each mode. Contact whitelist, application whitelist, lock screen wallpaper, screen off, control center and other system capability settings. For example, the list of contacts allowed to be notified is: Zhang San, Li Si and Wang Wu, and the applications allowed to be notified are phone calls, text messages and settings.
又示例性地,用户可以设置每种屏幕形态下的音效通知方式,例如,盒盖状态对应静音模式、完全展开状态对应响铃模式、悬停状态对应震动模式。As another example, the user can set the sound notification mode for each screen state, for example, the lid state corresponds to the silent mode, the fully expanded state corresponds to the ringing mode, and the hovering state corresponds to the vibration mode.
再示例性地,用户可以设置每种屏幕形态下的消息处理方式,例如,在电子设备接收到消息的情况下,闭合状态对应自定完成消息快捷回复、展开状态对应直接删除该条短信消息、折叠状态对应标记消息已读。As another example, the user can set the message processing method for each screen form. For example, when the electronic device receives a message, the closed state corresponds to a customized quick reply to the message, the expanded state corresponds to directly deleting the text message, and the collapsed state corresponds to marking the message as read.
本申请实施例中,用户可以在运行模式设置界面确定电子设备在目标运行模式下的运行内容,即用户可以对一种运行模式进行自定义,如此,提升了人机交互性能,也增强了电子设备进行模式切换的趣味性。In an embodiment of the present application, a user can determine the operating content of the electronic device in the target operating mode in the operating mode setting interface, that is, a user can customize an operating mode, thereby improving the human-computer interaction performance and enhancing the fun of mode switching of the electronic device.
可选地,本申请实施例中,目标运行模式为第一运行模式;上述步骤203之后,本申请实施例提供的模式切换方法还包括下述的步骤501和步骤502。Optionally, in an embodiment of the present application, the target operating mode is the first operating mode; after the above step 203, the mode switching method provided in the embodiment of the present application also includes the following steps 501 and 502.
步骤501、电子设备在电子设备处于第一运行模式的情况下,显示第一应用的第一功能的第一界面。Step 501: When the electronic device is in a first operating mode, the electronic device displays a first interface of a first function of a first application.
可选地,本申请实施例中,在电子设备处于第一运行模式,且显示第一应用的第一功能的界面的情况下,若接收到用户切换电子设备的运行模式的输入的情况下,或者接收到用户切换电子设备的运行模式的需求的情况下,则电子设备可以将第一运行模式调整为其他运行模式,例如第二运行模式。Optionally, in an embodiment of the present application, when the electronic device is in a first operating mode and displays the interface of a first function of a first application, if input from a user to switch the operating mode of the electronic device is received, or a user request to switch the operating mode of the electronic device is received, the electronic device may adjust the first operating mode to another operating mode, such as a second operating mode.
步骤502、在将电子设备的运行模式由第一运行模式调整为第二运行模式的情况下,电子设备显示第一应用的第二功能的第二界面。Step 502: When the operation mode of the electronic device is adjusted from the first operation mode to the second operation mode, the electronic device displays a second interface of the second function of the first application.
可选地,本申请实施例中,在电子设备接收到用户切换电子设备的运行模式的输入的情况下,即将电子设备可以将第一运行模式调整为第二运行模式的情况下,电子设备可以将显示第一应用的第二功能的第二界面。Optionally, in an embodiment of the present application, when the electronic device receives input from a user to switch the operating mode of the electronic device, that is, when the electronic device can adjust the first operating mode to the second operating mode, the electronic device can display the second interface of the second function of the first application.
可选地,本申请实施例中,电子设备可以在不同运行模式下,显示同一个应用的不同功能的界面。Optionally, in an embodiment of the present application, the electronic device may display interfaces of different functions of the same application in different operating modes.
示例性地,在用户设置电子设备在第一运行模式下,只能运行第一应用的第一功能的情况下,电子设备在该第一运行模式下,只能显示第一应用的第一功能的第一界面,若用户设备电子设备在第二运行模式下,只能运行第一应用的第二功能,不能运行第一功能,则电子设备在第二运行模式下,显示第二功能的第二界面。Exemplarily, when the user sets the electronic device to only run the first function of the first application in the first operating mode, the electronic device can only display the first interface of the first function of the first application in the first operating mode. If the user sets the electronic device to only run the second function of the first application in the second operating mode but not the first function, the electronic device displays the second interface of the second function in the second operating mode.
示例性地,在电子设备运行音乐类应用的情况下,若用户提前设置闭合状态为第一运行模式,展开状态为第二运行模式,折叠状态为第三运行模式,并 将音乐类应用在第一运行模式下的功能设置为单曲循环,在第二运行模式下的功能设置为随机播放、在第三运行模式下的功能设置为听歌识曲,则在运行该音乐类应用的情况下,若电子设备处于第一运行模式,则启动单曲循环功能,若需求将电子设备的运行模式从第一运行模式调整为第二运行模式,则启动随机播放功能。For example, when the electronic device runs a music application, if the user sets the closed state as the first operating mode, the unfolded state as the second operating mode, and the folded state as the third operating mode in advance, The function of the music application in the first operating mode is set to single song loop, the function in the second operating mode is set to random play, and the function in the third operating mode is set to song recognition. When running the music application, if the electronic device is in the first operating mode, the single song loop function is started; if the operating mode of the electronic device needs to be adjusted from the first operating mode to the second operating mode, the random play function is started.
本申请实施例中,电子设备还可以在不同运行模式下,显示同一个应用的不同功能的界面,因此,在用户需求该应用的不同功能的情况下,可以仅仅通过改变电子设备的可折叠屏幕的状态,就可以使用不同的功能,如此,简化了用户的操作,提升了电子设备进行应用功能切换的效率。In an embodiment of the present application, the electronic device can also display interfaces of different functions of the same application in different operating modes. Therefore, when a user requires different functions of the application, different functions can be used simply by changing the state of the foldable screen of the electronic device. This simplifies the user's operation and improves the efficiency of the electronic device in switching application functions.
可选地,本申请实施例提供的模式切换方法还包括下述的步骤503。Optionally, the mode switching method provided in the embodiment of the present application further includes the following step 503.
步骤503、电子设备在将电子设备的运行模式由第二运行模式调整为第一运行模式的情况下,显示第一应用的第一功能的第一界面。Step 503: When the operation mode of the electronic device is adjusted from the second operation mode to the first operation mode, the electronic device displays a first interface of a first function of a first application.
可选地,本申请实施例中,若用户将电子设备的运行模式由第二运行模式重新调整为第一运行模式的情况下,电子设备可以显示在第一运行模式下显示的第一功能的第一界面。Optionally, in an embodiment of the present application, if the user readjusts the operating mode of the electronic device from the second operating mode to the first operating mode, the electronic device can display the first interface of the first function displayed in the first operating mode.
可选地,本申请实施例中,在电子设备的运行模式为第一运行模式,且显示第一应用的第一功能的第一界面的情况下,若需求将电子设备的运行模式由第一运行模式调整为第二运行模式,则电子设备取消显示第一应用的第一功能的第一界面,显示第一应用的第二功能的第二界面;若再需求将电子设备的运行模式由第二运行模式调整回电子设备在调整为当前运行的第二运行模式时,电子设备所处的运行模式,即第一运行模式,则电子设备取消显示第一应用的第二功能的第二界面,显示电子设备在第一运行模式时显示的内容,即第一应用的第一功能的第一界面。Optionally, in an embodiment of the present application, when the operating mode of the electronic device is the first operating mode and the first interface of the first function of the first application is displayed, if there is a need to adjust the operating mode of the electronic device from the first operating mode to the second operating mode, the electronic device cancels display of the first interface of the first function of the first application, and displays the second interface of the second function of the first application; if there is a need to adjust the operating mode of the electronic device from the second operating mode back to the operating mode of the electronic device when the electronic device is adjusted to the currently operating second operating mode, that is, the first operating mode, the electronic device cancels display of the second interface of the second function of the first application, and displays the content displayed by the electronic device in the first operating mode, that is, the first interface of the first function of the first application.
可选地,本申请实施例中,目标运行模式为第一运行模式;上述步骤203之后,本申请实施例提供的模式切换方法还包括下述的步骤601和步骤602。Optionally, in an embodiment of the present application, the target operating mode is the first operating mode; after the above step 203, the mode switching method provided in the embodiment of the present application also includes the following steps 601 and 602.
步骤601、在电子设备处于第一运行模式的情况下,电子设备显示第二应用的第三界面。Step 601: When the electronic device is in the first operating mode, the electronic device displays a third interface of a second application.
可选地,本申请实施例中,在电子设备处于第一运行模式,且显示第二应用的第三界面的情况下,若接收到用户切换电子设备的运行模式的输入的情况下,或者接收到用户切换电子设备的运行模式的需求的情况下,则电子设备可以将第一运行模式调整为其他运行模式,例如第三运行模式。Optionally, in an embodiment of the present application, when the electronic device is in a first operating mode and displays a third interface of a second application, if input from a user to switch the operating mode of the electronic device is received, or a user's request to switch the operating mode of the electronic device is received, the electronic device may adjust the first operating mode to another operating mode, such as the third operating mode.
步骤602、在将电子设备的运行模式由第一运行模式调整为第三运行模式的情况下,电子设备显示第三应用的第四界面。 Step 602: When the operation mode of the electronic device is adjusted from the first operation mode to the third operation mode, the electronic device displays a fourth interface of the third application.
可选地,本申请实施例中,在电子设备接收到用户切换电子设备的运行模式的输入的情况下,即将电子设备可以将第一运行模式调整为第三运行模式的情况下,电子设备可以将显示第三应用的第四界面。Optionally, in an embodiment of the present application, when the electronic device receives input from a user to switch the operating mode of the electronic device, that is, when the electronic device can adjust the first operating mode to the third operating mode, the electronic device can display the fourth interface of the third application.
可选地,本申请实施例中,电子设备可以在不同运行模式下,显示不同应用的不同的界面。Optionally, in an embodiment of the present application, the electronic device may display different interfaces of different applications in different operating modes.
可选地,本申请实施例中,电子设备可以在不同运行模式下,显示不同应用的不同界面,或者,电子设备可以在不同运行模式下,显示不同应用的不同功能的界面;或者,电子设备可以在不同运行模式下,显示不同应用的同一功能的界面。Optionally, in an embodiment of the present application, the electronic device can display different interfaces of different applications in different operating modes, or the electronic device can display interfaces of different functions of different applications in different operating modes; or the electronic device can display interfaces of the same function of different applications in different operating modes.
示例性地,在用户设置电子设备在第一运行模式下,运行第二应用的情况下,电子设备在该第一运行模式下,显示第二应用的第三界面,若用户设备电子设备在第三运行模式下,无法运行第二应用,并需求运行第三应用,则电子设备在第三运行模式下,显示第三应用的第四界面。Exemplarily, when the user sets the electronic device to run a second application in a first operating mode, the electronic device displays the third interface of the second application in the first operating mode. If the user's electronic device cannot run the second application in the third operating mode and needs to run the third application, the electronic device displays the fourth interface of the third application in the third operating mode.
示例性地,若用户提前设置闭合状态为第一运行模式,展开状态为第二运行模式,折叠状态为第三运行模式,并设置第一运行模式下可以运行的应用为音乐类应用,第三运行模式下可以运行的应用为视频类应用,在第一运行模式下,显示音乐类应用的界面的情况下,若需求将电子设备的运行模式从第一运行模式调整为第三运行模式,则显示视频类应用的界面。Exemplarily, if the user sets the closed state as the first operating mode, the expanded state as the second operating mode, and the folded state as the third operating mode in advance, and sets the applications that can be run in the first operating mode to music applications, and the applications that can be run in the third operating mode to video applications, when the interface of the music application is displayed in the first operating mode, if it is necessary to adjust the operating mode of the electronic device from the first operating mode to the third operating mode, the interface of the video application is displayed.
本申请实施例中,电子设备还可以在不同运行模式下,显示不同应用的不同界面,因此,在用户需求切换运行应用的情况下,可以仅仅通过改变电子设备的可折叠屏幕的状态,就可以使得电子设备快速将当前运行的应用切换至其他应用能,如此,简化了用户的操作,提升了电子设备进行应用切换的效率。In the embodiment of the present application, the electronic device can also display different interfaces of different applications in different operating modes. Therefore, when the user needs to switch running applications, the electronic device can quickly switch the currently running application to other applications simply by changing the state of the foldable screen of the electronic device. This simplifies the user's operation and improves the efficiency of application switching of the electronic device.
可选地,本申请实施例提供的模式切换方法还包括下述的步骤701。Optionally, the mode switching method provided in the embodiment of the present application also includes the following step 701.
步骤701、在将电子设备的运行模式由第三运行模式调整为第一运行模式的情况下,电子设备显示第二应用的第三界面。Step 701: When the operation mode of the electronic device is adjusted from the third operation mode to the first operation mode, the electronic device displays a third interface of a second application.
可选地,本申请实施例中,在将电子设备的运行模式由第一运行模式调整为第三运行模式、且显示第三应用的第四界面的情况下,若用户将第三运行模式调整为第一运行模式,则电子设备可以默认显示第一运行模式下允许显示的第二应用的第三界面。Optionally, in an embodiment of the present application, when the operating mode of the electronic device is adjusted from the first operating mode to the third operating mode and the fourth interface of the third application is displayed, if the user adjusts the third operating mode to the first operating mode, the electronic device can display the third interface of the second application allowed to be displayed in the first operating mode by default.
可选地,本申请实施例中,在电子设备的屏幕状态再次改变为上一次屏幕状态的情况下,电子设备控制电子设备的熄屏,并在重新亮屏后,按照第一运行模式显示该运行模式下运行显示的界面。Optionally, in an embodiment of the present application, when the screen state of the electronic device changes to the previous screen state again, the electronic device controls the screen of the electronic device to turn off, and after the screen is turned on again, displays the interface running and displayed in the first operating mode according to the first operating mode.
可选地,本申请实施例中,电子设备可以在屏幕状态进行切换之后,以熄 屏和亮屏的方式提示用户电子设备的运行模式的切换,并以第一运行模式显示该运行模式下运行显示的界面。Optionally, in the embodiment of the present application, the electronic device may turn off the The user is prompted to switch the operating mode of the electronic device by turning off the screen and lighting up the screen, and the operating display interface in the operating mode is displayed in the first operating mode.
可选地,本申请实施例中,在电子设备再次进入上一次的屏幕状态的情况下,电子设备默认停留展示上一次停留的界面。Optionally, in an embodiment of the present application, when the electronic device re-enters the last screen state, the electronic device defaults to staying on and displaying the last interface.
本申请实施例中,在电子设备调整运行模式的情况下,电子设备可以根据当前运行模式下默认显示的应用,将该应用的界面进行显示,或者,电子设别可以显示当前运行模式下允许显示的界面,如此,用户可以根据需求,反复调整所需显示的应用的界面,或是所需显示的界面,如此,提升了电子设备进行模式切换时的显示的界面的灵活性。In an embodiment of the present application, when the electronic device adjusts its operating mode, the electronic device can display the interface of the application displayed by default in the current operating mode, or the electronic device can display the interface allowed to be displayed in the current operating mode. In this way, the user can repeatedly adjust the interface of the application to be displayed or the interface to be displayed as needed, thereby improving the flexibility of the interface displayed when the electronic device switches modes.
可选地,本申请实施例提供的模式切换方法还包括下述的步骤801和步骤802。Optionally, the mode switching method provided in the embodiment of the present application also includes the following steps 801 and 802.
步骤801、电子设备根据电子设备的屏幕放置姿态,确定电子设备的屏幕显示区域。Step 801: The electronic device determines a screen display area of the electronic device according to a placement posture of the screen of the electronic device.
可选地,本申请实施例中,电子设备还可以根据屏幕放置姿态,确定电子设备的屏幕显示区域。Optionally, in the embodiment of the present application, the electronic device may also determine the screen display area of the electronic device according to the screen placement posture.
示例性地,若电子设备的屏幕状态为折叠状态,并且,其夹角面朝放置面,即以倒三角放置,其电子设备可以根据当前的电子设备的屏幕放置姿态,确定电子设备的屏幕显示区域。Exemplarily, if the screen of the electronic device is in a folded state, and its angle faces the placement surface, that is, it is placed in an inverted triangle, the electronic device can determine the screen display area of the electronic device according to the current placement posture of the screen of the electronic device.
步骤802、电子设备在屏幕显示区域显示目标运行内容。Step 802: The electronic device displays the target running content in the screen display area.
本申请实施例中,目标运行内容是电子设备在目标运行模式下与屏幕放置姿态相对应的运行内容。In the embodiment of the present application, the target operation content is the operation content of the electronic device corresponding to the screen placement posture in the target operation mode.
可选地,本申请实施例中,电子设备可以根据不同的屏幕放置姿态,在对应的屏幕显示区域中显示目标运行内容。Optionally, in an embodiment of the present application, the electronic device may display the target running content in a corresponding screen display area according to different screen placement postures.
示例性地,在电子设备的屏幕状态为折叠状态,并且以倒三角放置的情况下,其更适用于睡眠场景,则在该屏幕放置姿态下,电子设备可以在其中一整个屏幕区域中显示时间或闹铃等信息。For example, when the screen of the electronic device is in a folded state and placed in an inverted triangle, it is more suitable for sleeping scenes. In this screen placement posture, the electronic device can display information such as time or alarm in one of the entire screen areas.
本申请实施例中,电子设备可以根据屏幕放置姿态,确定电子设备的屏幕显示区域,并在该屏幕显示区域中,显示目标运行内容,从而使得用户仅需改变屏幕放置姿态,就可以改变需求显示的屏幕区域,提升了用户调整屏幕显示区域的效率。In an embodiment of the present application, the electronic device can determine the screen display area of the electronic device according to the screen placement posture, and display the target running content in the screen display area, so that the user only needs to change the screen placement posture to change the screen area that needs to be displayed, thereby improving the efficiency of the user in adjusting the screen display area.
可选地,本申请实施例提供的模式切换方法还包括下述的步骤901和步骤902。Optionally, the mode switching method provided in the embodiment of the present application also includes the following steps 901 and 902.
步骤901、电子设备根据可折叠屏幕的折叠角度,确定电子设备的屏幕显 示区域。Step 901: The electronic device determines the screen display of the electronic device according to the folding angle of the foldable screen. Display area.
可选地,本申请实施例中,电子设备可以根据可折叠屏幕的折叠角度,确定电子设备的屏幕显示区域,而并非固定电子设备的显示区域,从而使得电子设备的屏幕显示区域可以随可折叠屏幕的折叠角度变化而变化。Optionally, in an embodiment of the present application, the electronic device can determine the screen display area of the electronic device based on the folding angle of the foldable screen, rather than fixing the display area of the electronic device, so that the screen display area of the electronic device can change with the folding angle of the foldable screen.
步骤902、电子设备在屏幕显示区域显示目标运行模式的模式内容。Step 902: The electronic device displays the mode content of the target operating mode in the screen display area.
可选地,本申请实施例中,在电子设备确定屏幕显示区域之后,可以根据需求,在该屏幕显示区域显示目标运行模式的模式内容。Optionally, in an embodiment of the present application, after the electronic device determines the screen display area, the mode content of the target operating mode can be displayed in the screen display area as required.
示例性地,在可折叠屏幕的折叠角度为大于0度小于90度的情况下,电子设备可以在内屏的下半屏幕区域显示需求显示的界面和内容。Exemplarily, when the folding angle of the foldable screen is greater than 0 degrees and less than 90 degrees, the electronic device can display the interface and content required to be displayed in the lower half of the screen area of the inner screen.
本申请实施例中,电子设备的显示区域可以跟随可折叠屏幕的折叠角度变化而变化,如此,便于为用户展示目标运行模式的模式内容,从而更利于用户对目标运行模式的模式内容进行查看,如此,提升了用户的体验感。In an embodiment of the present application, the display area of the electronic device can change as the folding angle of the foldable screen changes. In this way, it is convenient to display the mode content of the target operating mode to the user, thereby making it easier for the user to view the mode content of the target operating mode, thereby improving the user experience.
可选地,本申请实施例中,可折叠屏幕包括内屏区域和外屏区域;该可折叠屏幕的屏幕状态包括闭合状态、展开状态和折叠状态;本申请实施例提供的模式切换方法还包括下述的步骤1001至步骤1003。Optionally, in an embodiment of the present application, the foldable screen includes an inner screen area and an outer screen area; the screen state of the foldable screen includes a closed state, an unfolded state and a folded state; the mode switching method provided in the embodiment of the present application also includes the following steps 1001 to 1003.
步骤1001、在可折叠屏幕的屏幕状态为闭合状态,且接收到通知消息的情况下,在可折叠屏幕的外屏区域显示通知消息的提示信息。Step 1001: When the screen state of the foldable screen is closed and a notification message is received, prompt information of the notification message is displayed in the outer screen area of the foldable screen.
可选地,本申请实施例中,在电子设备的可折叠屏幕的屏幕状态为闭合状态的情况下,若电子设备接收到通知消息,则电子设备可以在可折叠屏幕的外屏区域显示通知消息的提示信息,从而用户无需改变电子设备的屏幕状态也可以看到通知消息。Optionally, in an embodiment of the present application, when the screen state of the foldable screen of the electronic device is in a closed state, if the electronic device receives a notification message, the electronic device may display prompt information of the notification message in the outer screen area of the foldable screen, so that the user can see the notification message without changing the screen state of the electronic device.
步骤1002、电子设备接收第四输入。Step 1002: The electronic device receives a fourth input.
可选地,本申请实施例中是,上述第四输入用于将可折叠屏幕的屏幕状态调整为展开状态或折叠状态。Optionally, in an embodiment of the present application, the fourth input is used to adjust the screen state of the foldable screen to an unfolded state or a folded state.
步骤1003、电子设备响应于将可折叠屏幕的屏幕状态调整为展开状态或折叠状态的第四输入,在可折叠屏幕的内屏区域显示通知消息的消息回复界面。Step 1003: In response to the fourth input of adjusting the screen state of the foldable screen to the unfolded state or the folded state, the electronic device displays a message reply interface for the notification message in the inner screen area of the foldable screen.
本申请实施例中,电子设备的运行模式保持为与闭合状态相对应的运行模式。In the embodiment of the present application, the operation mode of the electronic device is maintained as the operation mode corresponding to the closed state.
可选地,本申请实施例中,若可折叠屏幕的屏幕状态为闭合状态、且接收到通知消息的情况下,由于电子设备处于当前屏幕状态下的屏幕可能较小,则用户无法较好的在当前的屏幕状态下,对该消息进行回复,从而用户可以将可折叠屏幕的屏幕状态进行调整,例如将可折叠屏幕从闭合状态调整为展开状态或折叠状态,但电子设备的运行状态不便,仍然保持闭合状态时对应的运行模 式运行,从而便于用户回复接收到的消息,提升了用户在不同屏幕状态下回复消息的灵活性和便捷性。Optionally, in an embodiment of the present application, if the screen state of the foldable screen is the closed state and a notification message is received, since the screen of the electronic device in the current screen state may be small, the user cannot reply to the message in the current screen state. Thus, the user can adjust the screen state of the foldable screen, for example, adjust the foldable screen from the closed state to the unfolded state or the folded state, but the operating state of the electronic device is inconvenient and the corresponding operating mode in the closed state is still maintained. It runs in different modes, making it easier for users to reply to received messages, and improving the flexibility and convenience of users replying to messages in different screen states.
本申请实施例提供的模式切换方法,执行主体可以为模式切换装置。本申请实施例中以模式切换装置执行模式切换方法为例,说明本申请实施例提供的模式切换装置。The mode switching method provided in the embodiment of the present application can be executed by a mode switching device. In the embodiment of the present application, the mode switching device executing the mode switching method is taken as an example to illustrate the mode switching device provided in the embodiment of the present application.
图7示出了本申请实施例中涉及的模式切换装置的一种可能的结构示意图。如图7所示,该模式切换装置40可以包括:获取模块41、确定模块42和调整模块43。FIG7 shows a possible structural diagram of a mode switching device involved in an embodiment of the present application. As shown in FIG7 , the mode switching device 40 may include: an acquisition module 41 , a determination module 42 and an adjustment module 43 .
其中,获取模块41,用于获取可折叠屏幕的屏幕状态。确定模块42,用于确定与可折叠屏幕的屏幕状态相对应的目标运行模式。调整模块43,用于将电子设备的运行模式调整为目标运行模式。The acquisition module 41 is used to acquire the screen state of the foldable screen. The determination module 42 is used to determine the target operation mode corresponding to the screen state of the foldable screen. The adjustment module 43 is used to adjust the operation mode of the electronic device to the target operation mode.
本申请实施例提供一种模式切换装置,电子设备可以获取可折叠屏幕的屏幕状态,确定与可折叠屏幕的屏幕状态相对应的目标运行模式,将电子设备的运行模式调整为目标运行模式,这样,用户可以通过控制可折叠屏幕的屏幕状态,使得电子设备快捷进入相应的运行模式,避免了繁琐操作,提高了电子设备的运行模式的调整效率。An embodiment of the present application provides a mode switching device, and the electronic device can obtain the screen state of a foldable screen, determine a target operating mode corresponding to the screen state of the foldable screen, and adjust the operating mode of the electronic device to the target operating mode. In this way, the user can control the screen state of the foldable screen to enable the electronic device to quickly enter the corresponding operating mode, thereby avoiding tedious operations and improving the adjustment efficiency of the operating mode of the electronic device.
在一种可能实现的方式中,获取模块41,具体用于获取可折叠屏幕的折叠角度;并根据折叠角度确定可折叠屏幕的屏幕状态。In a possible implementation, the acquisition module 41 is specifically used to acquire a folding angle of the foldable screen; and determine a screen state of the foldable screen according to the folding angle.
在一种可能实现的方式中,获取模块41,具体用于在电子设备处于目标控制模式的情况下,获取可折叠屏幕的屏幕状态。In a possible implementation, the acquisition module 41 is specifically configured to acquire the screen state of the foldable screen when the electronic device is in the target control mode.
在一种可能实现的方式中,上述模式切换装置40还包括:显示模块;该显示模块,用于显示与目标运行模式相对应的目标运行模式标识。In a possible implementation, the mode switching device 40 further includes: a display module; the display module is used to display a target operating mode identifier corresponding to the target operating mode.
在一种可能实现的方式中,上述模式切换装置40还包括:显示模块;该显示模块,用于显示屏幕状态设置界面;响应于对屏幕状态设置界面中的目标屏幕状态的第一输入,显示与目标屏幕状态相对应的目标运行模式的运行模式设置界面。确定模块42,还用于响应于对运行模式设置界面的第二输入,确定电子设备在目标运行模式下的运行内容。In a possible implementation, the mode switching device 40 further includes: a display module; the display module is used to display a screen state setting interface; in response to a first input of a target screen state in the screen state setting interface, an operation mode setting interface of a target operation mode corresponding to the target screen state is displayed. The determination module 42 is also used to determine the operation content of the electronic device in the target operation mode in response to a second input of the operation mode setting interface.
在一种可能实现的方式中,目标运行模式为第一运行模式;上述模式切换装置40还包括:显示模块和处理模块;显示模块,用于在调整模块43将电子设备的运行模式调整为目标运行模式的步骤之后,在电子设备处于第一运行模式的情况下,显示第一应用的第一功能的第一界面。处理模块,用于在将电子设备的运行模式由第一运行模式调整为第二运行模式的情况下,显示第一应用的第二功能的第二界面。 In a possible implementation, the target operation mode is the first operation mode; the mode switching device 40 further includes: a display module and a processing module; the display module is used to display the first interface of the first function of the first application when the electronic device is in the first operation mode after the adjustment module 43 adjusts the operation mode of the electronic device to the target operation mode. The processing module is used to display the second interface of the second function of the first application when the operation mode of the electronic device is adjusted from the first operation mode to the second operation mode.
在一种可能实现的方式中,显示模块,还用于在将电子设备的运行模式由第二运行模式调整为第一运行模式的情况下,显示第一应用的第一功能的第一界面。In one possible implementation, the display module is further used to display a first interface of a first function of a first application when the operating mode of the electronic device is adjusted from the second operating mode to the first operating mode.
在一种可能实现的方式中,目标运行模式为第一运行模式;上述模式切换装置40还包括:显示模块和处理模块。显示模块,用于在调整模块43将电子设备的运行模式调整为目标运行模式的步骤之后,在电子设备处于第一运行模式的情况下,显示第二应用的第三界面。处理模块,用于在将电子设备的运行模式由第一运行模式调整为第三运行模式的情况下,显示第三应用的第四界面。In a possible implementation, the target operation mode is the first operation mode; the mode switching device 40 further includes: a display module and a processing module. The display module is used to display the third interface of the second application when the electronic device is in the first operation mode after the adjustment module 43 adjusts the operation mode of the electronic device to the target operation mode. The processing module is used to display the fourth interface of the third application when the operation mode of the electronic device is adjusted from the first operation mode to the third operation mode.
在一种可能实现的方式中,显示模块,还用于在将电子设备的运行模式由第三运行模式调整为第一运行模式的情况下,显示第二应用的第三界面。In one possible implementation, the display module is further used to display the third interface of the second application when the operating mode of the electronic device is adjusted from the third operating mode to the first operating mode.
在一种可能实现的方式中,上述模式切换装置40还包括:显示模块;确定模块42,还用于根据电子设备的屏幕放置姿态,确定电子设备的屏幕显示区域。显示模块,用于在屏幕显示区域显示目标运行内容;目标运行内容是电子设备在目标运行模式下与屏幕放置姿态相对应的运行内容。In a possible implementation, the mode switching device 40 further includes: a display module; a determination module 42, further configured to determine the screen display area of the electronic device according to the screen placement posture of the electronic device. The display module is configured to display the target operation content in the screen display area; the target operation content is the operation content of the electronic device corresponding to the screen placement posture in the target operation mode.
在一种可能实现的方式中,上述模式切换装置40还包括:显示模块;确定模块42,还用于根据可折叠屏幕的折叠角度,确定电子设备的屏幕显示区域。显示模块,用于在屏幕显示区域显示目标运行模式的模式内容。In a possible implementation, the mode switching device 40 further includes: a display module; a determination module 42, further configured to determine the screen display area of the electronic device according to the folding angle of the foldable screen; and a display module configured to display the mode content of the target operation mode in the screen display area.
在一种可能实现的方式中,可折叠屏幕包括内屏区域和外屏区域;该可折叠屏幕的屏幕状态包括闭合状态、展开状态和折叠状态;上述模式切换装置40还包括:显示模块和处理模块;该显示模块,用于在可折叠屏幕的屏幕状态为闭合状态,且接收到通知消息的情况下,在可折叠屏幕的外屏区域显示通知消息的提示信息。处理模块,用于响应于将可折叠屏幕的屏幕状态调整为展开状态或折叠状态的第四输入,在可折叠屏幕的内屏区域显示通知消息的消息回复界面;其中,电子设备的运行模式保持为与闭合状态相对应的运行模式。In a possible implementation, the foldable screen includes an inner screen area and an outer screen area; the screen state of the foldable screen includes a closed state, an unfolded state, and a folded state; the above-mentioned mode switching device 40 also includes: a display module and a processing module; the display module is used to display the prompt information of the notification message in the outer screen area of the foldable screen when the screen state of the foldable screen is a closed state and a notification message is received. The processing module is used to display a message reply interface of the notification message in the inner screen area of the foldable screen in response to a fourth input of adjusting the screen state of the foldable screen to an unfolded state or a folded state; wherein the operation mode of the electronic device remains the operation mode corresponding to the closed state.
本申请实施例中的模式切换装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体 限定。The mode switching device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiment of the present application does not make specific limited.
本申请实施例中的模式切换装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为iOS操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。The mode switching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的模式切换装置能够实现上述的方法实施例实现的各个过程,为避免重复,这里不再赘述。The mode switching device provided in the embodiment of the present application can implement each process implemented in the above-mentioned method embodiment, and will not be described again here to avoid repetition.
可选地,如图8所示,本申请实施例还提供一种电子设备6000,包括处理器6001和存储器6002,存储器6002上存储有可在所述处理器6001上运行的程序或指令,该程序或指令被处理器6001执行时实现上述模式切换方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 8, an embodiment of the present application also provides an electronic device 6000, including a processor 6001 and a memory 6002, and the memory 6002 stores a program or instruction that can be executed on the processor 6001. When the program or instruction is executed by the processor 6001, the various steps of the above-mentioned mode switching method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
图9为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 9 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器110逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 110 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The electronic device structure shown in FIG9 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
其中,处理器110,用于获取可折叠屏幕的屏幕状态,确定与可折叠屏幕的屏幕状态相对应的目标运行模式,并将电子设备的运行模式调整为目标运行模式。Among them, the processor 110 is used to obtain the screen state of the foldable screen, determine the target operating mode corresponding to the screen state of the foldable screen, and adjust the operating mode of the electronic device to the target operating mode.
本申请实施例提供一种电子设备,电子设备可以获取可折叠屏幕的屏幕状态,确定与可折叠屏幕的屏幕状态相对应的目标运行模式,将电子设备的运行模式调整为目标运行模式,这样,用户可以通过控制可折叠屏幕的屏幕状态,使得电子设备快捷进入相应的运行模式,避免了繁琐操作,提高了电子设备的运行模式的调整效率。An embodiment of the present application provides an electronic device, which can obtain the screen state of a foldable screen, determine a target operating mode corresponding to the screen state of the foldable screen, and adjust the operating mode of the electronic device to the target operating mode. In this way, a user can control the screen state of the foldable screen to enable the electronic device to quickly enter a corresponding operating mode, thereby avoiding tedious operations and improving the adjustment efficiency of the operating mode of the electronic device.
可选地,处理器110,具体用于获取可折叠屏幕的折叠角度;并根据折叠角度确定可折叠屏幕的屏幕状态。Optionally, the processor 110 is specifically used to obtain a folding angle of the foldable screen; and determine a screen state of the foldable screen according to the folding angle.
可选地,处理器110,具体用于在电子设备处于目标控制模式的情况下,获取可折叠屏幕的屏幕状态。 Optionally, the processor 110 is specifically configured to obtain a screen state of the foldable screen when the electronic device is in a target control mode.
可选地,显示单元106,用于显示与目标运行模式相对应的目标运行模式标识。Optionally, the display unit 106 is used to display a target operating mode identifier corresponding to the target operating mode.
可选地,显示单元106,用于显示屏幕状态设置界面;响应于对屏幕状态设置界面中的目标屏幕状态的第一输入,显示与目标屏幕状态相对应的目标运行模式的运行模式设置界面。处理器110,还用于响应于对运行模式设置界面的第二输入,确定电子设备在目标运行模式下的运行内容。Optionally, the display unit 106 is used to display a screen state setting interface; in response to a first input of a target screen state in the screen state setting interface, an operation mode setting interface of a target operation mode corresponding to the target screen state is displayed. The processor 110 is also used to determine the operation content of the electronic device in the target operation mode in response to a second input of the operation mode setting interface.
可选地,目标运行模式为第一运行模式;显示单元106,用于在将电子设备的运行模式调整为目标运行模式的步骤之后,在电子设备处于第一运行模式的情况下,显示第一应用的第一功能的第一界面。处理器110,用于在将电子设备的运行模式由第一运行模式调整为第二运行模式的情况下,显示第一应用的第二功能的第二界面。Optionally, the target operating mode is the first operating mode; the display unit 106 is used to display the first interface of the first function of the first application when the electronic device is in the first operating mode after the step of adjusting the operating mode of the electronic device to the target operating mode. The processor 110 is used to display the second interface of the second function of the first application when the operating mode of the electronic device is adjusted from the first operating mode to the second operating mode.
可选地,显示单元106,还用于在将电子设备的运行模式由第二运行模式调整为第一运行模式的情况下,显示第一应用的第一功能的第一界面。Optionally, the display unit 106 is further configured to display a first interface of a first function of a first application when the operation mode of the electronic device is adjusted from the second operation mode to the first operation mode.
可选地,目标运行模式为第一运行模式;显示单元106,用于在处理器110将电子设备的运行模式调整为目标运行模式的步骤之后,在电子设备处于第一运行模式的情况下,显示第二应用的第三界面。处理器110,还用于在将电子设备的运行模式由第一运行模式调整为第三运行模式的情况下,显示第三应用的第四界面。Optionally, the target operating mode is the first operating mode; the display unit 106 is used to display the third interface of the second application when the electronic device is in the first operating mode after the processor 110 adjusts the operating mode of the electronic device to the target operating mode. The processor 110 is also used to display the fourth interface of the third application when the operating mode of the electronic device is adjusted from the first operating mode to the third operating mode.
可选地,显示单元106,还用于在将电子设备的运行模式由第三运行模式调整为第一运行模式的情况下,显示第二应用的第三界面。Optionally, the display unit 106 is further configured to display a third interface of the second application when the operating mode of the electronic device is adjusted from the third operating mode to the first operating mode.
可选地,处理器110,还用于根据电子设备的屏幕放置姿态,确定电子设备的屏幕显示区域。显示单元106,用于在屏幕显示区域显示目标运行内容;目标运行内容是电子设备在目标运行模式下与屏幕放置姿态相对应的运行内容。Optionally, the processor 110 is further configured to determine the screen display area of the electronic device according to the screen placement posture of the electronic device. The display unit 106 is configured to display the target operation content in the screen display area; the target operation content is the operation content of the electronic device corresponding to the screen placement posture in the target operation mode.
可选地,处理器110,还用于根据可折叠屏幕的折叠角度,确定电子设备的屏幕显示区域。显示单元106,还用于在屏幕显示区域显示目标运行模式的模式内容。Optionally, the processor 110 is further configured to determine a screen display area of the electronic device according to the folding angle of the foldable screen. The display unit 106 is further configured to display mode content of the target operation mode in the screen display area.
可选地,可折叠屏幕包括内屏区域和外屏区域;该可折叠屏幕的屏幕状态包括闭合状态、展开状态和折叠状态;显示单元106,还用于在可折叠屏幕的屏幕状态为闭合状态,且接收到通知消息的情况下,在可折叠屏幕的外屏区域显示通知消息的提示信息。处理器110,还用于响应于将可折叠屏幕的屏幕状态调整为展开状态或折叠状态的第四输入,在可折叠屏幕的内屏区域显示通知消息的消息回复界面;其中,电子设备的运行模式保持为与闭合状态相对应的 运行模式。Optionally, the foldable screen includes an inner screen area and an outer screen area; the screen state of the foldable screen includes a closed state, an unfolded state, and a folded state; the display unit 106 is further used to display a prompt message of the notification message in the outer screen area of the foldable screen when the screen state of the foldable screen is the closed state and a notification message is received. The processor 110 is also used to display a message reply interface of the notification message in the inner screen area of the foldable screen in response to a fourth input for adjusting the screen state of the foldable screen to the unfolded state or the folded state; wherein the operation mode of the electronic device remains corresponding to the closed state Operation mode.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作***、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
处理器110可包括一个或多个处理单元;可选的,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作***、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述模式切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。 An embodiment of the present application also provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned mode switching method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。The processor is the processor in the electronic device described in the above embodiment. The computer readable storage medium is, for example, a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述模式切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned mode switching method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述模式切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned mode switching method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims (20)

  1. 一种模式切换方法,应用于具有可折叠屏幕的电子设备,所述方法包括:A mode switching method is applied to an electronic device with a foldable screen, the method comprising:
    获取所述可折叠屏幕的屏幕状态;Obtaining the screen state of the foldable screen;
    确定与所述可折叠屏幕的屏幕状态相对应的目标运行模式;determining a target operating mode corresponding to a screen state of the foldable screen;
    将所述电子设备的运行模式调整为所述目标运行模式。The operation mode of the electronic device is adjusted to the target operation mode.
  2. 根据权利要求1所述的方法,其中,所述获取所述可折叠屏幕的屏幕状态,包括:The method according to claim 1, wherein obtaining the screen state of the foldable screen comprises:
    获取所述可折叠屏幕的折叠角度;Obtaining a folding angle of the foldable screen;
    根据所述折叠角度确定所述可折叠屏幕的屏幕状态。A screen state of the foldable screen is determined according to the folding angle.
  3. 根据权利要求1所述的方法,其中,所述获取所述可折叠屏幕的屏幕状态,包括:The method according to claim 1, wherein obtaining the screen state of the foldable screen comprises:
    在所述电子设备处于目标控制模式的情况下,获取所述可折叠屏幕的屏幕状态。When the electronic device is in a target control mode, a screen state of the foldable screen is acquired.
  4. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    显示与所述目标运行模式相对应的目标运行模式标识。A target operating mode identifier corresponding to the target operating mode is displayed.
  5. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    显示屏幕状态设置界面;Display screen status setting interface;
    响应于对所述屏幕状态设置界面中的目标屏幕状态的第一输入,显示与所述目标屏幕状态相对应的目标运行模式的运行模式设置界面;In response to a first input of a target screen state in the screen state setting interface, displaying an operation mode setting interface of a target operation mode corresponding to the target screen state;
    响应于对所述运行模式设置界面的第二输入,确定所述电子设备在所述目标运行模式下的运行内容。In response to a second input to the operation mode setting interface, operation content of the electronic device in the target operation mode is determined.
  6. 根据权利要求1所述的方法,其中,所述目标运行模式为第一运行模式;The method according to claim 1, wherein the target operating mode is a first operating mode;
    所述将所述电子设备的运行模式调整为所述目标运行模式之后,所述方法还包括:After adjusting the operation mode of the electronic device to the target operation mode, the method further includes:
    在所述电子设备处于所述第一运行模式的情况下,显示第一应用的第一功能的第一界面;When the electronic device is in the first operating mode, displaying a first interface of a first function of a first application;
    在将所述电子设备的运行模式由所述第一运行模式调整为第二运行模式的情况下,显示所述第一应用的第二功能的第二界面。When the operation mode of the electronic device is adjusted from the first operation mode to the second operation mode, a second interface of the second function of the first application is displayed.
  7. 根据权利要求6所述的方法,其中,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    在将所述电子设备的运行模式由所述第二运行模式调整为所述第一运行 模式的情况下,显示所述第一应用的第一功能的第一界面。When the operation mode of the electronic device is adjusted from the second operation mode to the first operation mode mode, displaying the first interface of the first function of the first application.
  8. 根据权利要求1所述的方法,其中,所述目标运行模式为第一运行模式;The method according to claim 1, wherein the target operating mode is a first operating mode;
    所述将所述电子设备的运行模式调整为所述目标运行模式之后,所述方法还包括:After adjusting the operation mode of the electronic device to the target operation mode, the method further includes:
    在所述电子设备处于所述第一运行模式的情况下,显示第二应用的第三界面;When the electronic device is in the first operating mode, displaying a third interface of a second application;
    在将所述电子设备的运行模式由所述第一运行模式调整为第三运行模式的情况下,显示第三应用的第四界面。When the operation mode of the electronic device is adjusted from the first operation mode to the third operation mode, a fourth interface of a third application is displayed.
  9. 根据权利要求8所述的方法,其中,所述方法还包括:The method according to claim 8, wherein the method further comprises:
    在将所述电子设备的运行模式由所述第三运行模式调整为所述第一运行模式的情况下,显示所述第二应用的第三界面。When the operating mode of the electronic device is adjusted from the third operating mode to the first operating mode, the third interface of the second application is displayed.
  10. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    根据所述电子设备的屏幕放置姿态,确定所述电子设备的屏幕显示区域;Determining a screen display area of the electronic device according to a placement posture of the screen of the electronic device;
    在所述屏幕显示区域显示目标运行内容;所述目标运行内容是所述电子设备在所述目标运行模式下与所述屏幕放置姿态相对应的运行内容。The target operation content is displayed in the screen display area; the target operation content is the operation content of the electronic device corresponding to the screen placement posture in the target operation mode.
  11. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    根据所述可折叠屏幕的折叠角度,确定所述电子设备的屏幕显示区域;Determining a screen display area of the electronic device according to a folding angle of the foldable screen;
    在所述屏幕显示区域显示所述目标运行模式的模式内容。The mode content of the target operating mode is displayed in the screen display area.
  12. 根据权利要求1所述的方法,其中,所述可折叠屏幕包括内屏区域和外屏区域;所述可折叠屏幕的屏幕状态包括闭合状态、展开状态和折叠状态;The method according to claim 1, wherein the foldable screen comprises an inner screen area and an outer screen area; the screen state of the foldable screen comprises a closed state, an unfolded state, and a folded state;
    所述方法还包括:The method further comprises:
    在所述可折叠屏幕的屏幕状态为闭合状态,且接收到通知消息的情况下,在所述可折叠屏幕的外屏区域显示所述通知消息的提示信息;When the screen state of the foldable screen is a closed state and a notification message is received, displaying prompt information of the notification message in an outer screen area of the foldable screen;
    响应于将所述可折叠屏幕的屏幕状态调整为展开状态或折叠状态的第四输入,在所述可折叠屏幕的内屏区域显示所述通知消息的消息回复界面;In response to a fourth input of adjusting the screen state of the foldable screen to an unfolded state or a folded state, displaying a message reply interface of the notification message in an inner screen area of the foldable screen;
    其中,所述电子设备的运行模式保持为与所述闭合状态相对应的运行模式。Wherein, the operation mode of the electronic device is maintained as the operation mode corresponding to the closed state.
  13. 一种模式切换装置,所述装置包括:获取模块、确定模块和调整模块;A mode switching device, the device comprising: an acquisition module, a determination module and an adjustment module;
    所述获取模块,用于获取所述可折叠屏幕的屏幕状态;The acquisition module is used to acquire the screen state of the foldable screen;
    所述确定模块,用于确定与所述可折叠屏幕的屏幕状态相对应的目标运行模式; The determination module is used to determine a target operation mode corresponding to the screen state of the foldable screen;
    所述调整模块,用于将所述电子设备的运行模式调整为所述目标运行模式。The adjustment module is used to adjust the operation mode of the electronic device to the target operation mode.
  14. 根据权利要求13所述的装置,其中,The device according to claim 13, wherein
    所述获取模块,具体用于获取所述可折叠屏幕的折叠角度;并根据所述折叠角度确定所述可折叠屏幕的屏幕状态。The acquisition module is specifically used to acquire the folding angle of the foldable screen; and determine the screen state of the foldable screen according to the folding angle.
  15. 根据权利要求13所述的装置,其中,The device according to claim 13, wherein
    所述获取模块,具体用于在所述电子设备处于目标控制模式的情况下,获取所述可折叠屏幕的屏幕状态。The acquisition module is specifically used to acquire the screen state of the foldable screen when the electronic device is in the target control mode.
  16. 根据权利要求13所述的装置,其中,所述装置还包括:显示模块;The device according to claim 13, wherein the device further comprises: a display module;
    所述显示模块,用于显示与所述目标运行模式相对应的目标运行模式标识。The display module is used to display the target operating mode identifier corresponding to the target operating mode.
  17. 根据权利要求13所述的装置,其中,所述装置还包括:显示模块;The device according to claim 13, wherein the device further comprises: a display module;
    所述显示模块,用于显示屏幕状态设置界面;响应于对所述屏幕状态设置界面中的目标屏幕状态的第一输入,显示与所述目标屏幕状态相对应的目标运行模式的运行模式设置界面;The display module is configured to display a screen state setting interface; in response to a first input of a target screen state in the screen state setting interface, display an operation mode setting interface of a target operation mode corresponding to the target screen state;
    所述确定模块,还用于响应于对所述运行模式设置界面的第二输入,确定所述电子设备在所述目标运行模式下的运行内容。The determination module is further configured to determine the operation content of the electronic device in the target operation mode in response to a second input to the operation mode setting interface.
  18. 根据权利要求13所述的装置,其中,所述目标运行模式为第一运行模式;所述装置还包括:显示模块和处理模块;The device according to claim 13, wherein the target operation mode is a first operation mode; the device further comprises: a display module and a processing module;
    所述显示模块,用于在所述调整模块将所述电子设备的运行模式调整为所述目标运行模式之后,在所述电子设备处于第一运行模式的情况下,显示第一应用的第一功能的第一界面;The display module is configured to display a first interface of a first function of a first application when the electronic device is in the first operating mode after the adjustment module adjusts the operating mode of the electronic device to the target operating mode;
    所述处理模块,用于在将所述电子设备的运行模式由所述第一运行模式调整为第二运行模式的情况下,显示所述第一应用的第二功能的第二界面。The processing module is used to display a second interface of a second function of the first application when the operating mode of the electronic device is adjusted from the first operating mode to the second operating mode.
  19. 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至12中任一项所述的模式切换方法的步骤。An electronic device comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the mode switching method as described in any one of claims 1 to 12 are implemented.
  20. 一种计算机可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至12中任一项所述的模式切换方法的步骤。 A computer-readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the mode switching method according to any one of claims 1 to 12 are implemented.
PCT/CN2023/134039 2022-11-30 2023-11-24 Mode switching method and apparatus, electronic device, and computer-readable storage medium WO2024114532A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211526887.9A CN115866114A (en) 2022-11-30 2022-11-30 Mode switching method and device, electronic equipment and computer readable storage medium
CN202211526887.9 2022-11-30

Publications (1)

Publication Number Publication Date
WO2024114532A1 true WO2024114532A1 (en) 2024-06-06

Family

ID=85668714

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/134039 WO2024114532A1 (en) 2022-11-30 2023-11-24 Mode switching method and apparatus, electronic device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN115866114A (en)
WO (1) WO2024114532A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115866114A (en) * 2022-11-30 2023-03-28 维沃移动通信有限公司 Mode switching method and device, electronic equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015133658A1 (en) * 2014-03-03 2015-09-11 Lg Electronics Inc. Mobile device and method of controlling the same
CN108363455A (en) * 2018-01-31 2018-08-03 努比亚技术有限公司 Working mode switching method, mobile terminal and computer readable storage medium
CN111522523A (en) * 2020-04-30 2020-08-11 北京小米移动软件有限公司 Display processing method and device and computer storage medium
CN115022460A (en) * 2022-04-24 2022-09-06 西安中诺通讯有限公司 Method, device and equipment for processing application program of folding screen terminal and storage medium
CN115238255A (en) * 2021-04-22 2022-10-25 华为技术有限公司 Unlocking method and electronic equipment
CN115866114A (en) * 2022-11-30 2023-03-28 维沃移动通信有限公司 Mode switching method and device, electronic equipment and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015133658A1 (en) * 2014-03-03 2015-09-11 Lg Electronics Inc. Mobile device and method of controlling the same
CN108363455A (en) * 2018-01-31 2018-08-03 努比亚技术有限公司 Working mode switching method, mobile terminal and computer readable storage medium
CN111522523A (en) * 2020-04-30 2020-08-11 北京小米移动软件有限公司 Display processing method and device and computer storage medium
CN115238255A (en) * 2021-04-22 2022-10-25 华为技术有限公司 Unlocking method and electronic equipment
CN115022460A (en) * 2022-04-24 2022-09-06 西安中诺通讯有限公司 Method, device and equipment for processing application program of folding screen terminal and storage medium
CN115866114A (en) * 2022-11-30 2023-03-28 维沃移动通信有限公司 Mode switching method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN115866114A (en) 2023-03-28

Similar Documents

Publication Publication Date Title
EP3367379B1 (en) Method, device and system for voice communication
CN109683761B (en) Content collection method, device and storage medium
CN109542328B (en) User interface display method, device, terminal and storage medium
WO2024114532A1 (en) Mode switching method and apparatus, electronic device, and computer-readable storage medium
KR20120069209A (en) Mobile terminal and method for controlling application thereof
CN111381737B (en) Dock display method and device and storage medium
CN111522523A (en) Display processing method and device and computer storage medium
WO2022048491A1 (en) Application running method and apparatus and electronic device
WO2023185817A1 (en) Multi-device cooperation method and apparatus, and electronic device and medium
WO2023046068A1 (en) File processing method and apparatus
CN109922098A (en) A kind of content share method, device and the device for content share
CN110851057A (en) Method and device for configuring configuration options of BIOS
CN110221739A (en) A kind of data processing method, device and electronic equipment
WO2024104069A1 (en) Virtual remote controller display method and apparatus, electronic device and readable storage medium
WO2024114516A1 (en) Information display method and apparatus, and electronic device and storage medium
WO2024114571A1 (en) Information display method and apparatus, electronic device, and storage medium
WO2024078552A1 (en) Background application management method and apparatus, electronic device and medium
WO2024078514A1 (en) Screen-mirroring method and apparatus, and electronic device and storage medium
US11016660B2 (en) Method and apparatus for responding to gesture operation and storage medium
WO2017211021A1 (en) Application trigger method and device
WO2023155874A1 (en) Application icon management method and apparatus, and electronic device
WO2023284762A1 (en) Application notification display method and apparatus, and electronic device
WO2022161243A1 (en) Information display method and apparatus, and electronic device
CN111026476A (en) Lock screen display control method, terminal and computer readable storage medium
CN111092971A (en) Display method and device for displaying