Do not disturb mode setting method and apparatus, device, and storage medium

By receiving configuration instructions and setting the Do Not Disturb mode for foldable screen devices based on the folding state of the inner screen and the running status of applications, the limitation of Do Not Disturb mode settings for foldable screen devices is solved, enabling diverse Do Not Disturb mode settings and improving the user experience.

CN115686651BActive Publication Date: 2026-07-14BEIJING XIAOMI MOBILE SOFTWARE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2022-10-28
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

In the existing technology, the Do Not Disturb mode settings for foldable screen devices have limitations and cannot meet their diverse usage needs.

Method used

This provides a method for setting a Do Not Disturb mode. By receiving configuration instructions, the method determines the application that needs to be set to Do Not Disturb mode based on the folded state of the inner screen or the application's running state, and sets its state to Do Not Disturb mode. This includes multiple methods such as based on the folded state of the inner screen, custom Do Not Disturb mode for the application, and global Do Not Disturb mode.

Benefits of technology

It enables diverse Do Not Disturb mode settings for foldable screen devices, meeting their needs in different usage scenarios and improving user experience and ease of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115686651B_ABST
    Figure CN115686651B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a do-not-disturb mode setting method, device, equipment and storage medium. The do-not-disturb mode setting method comprises: receiving a do-not-disturb mode related configuration instruction; determining a setting mode of the do-not-disturb mode; determining an application that needs to be configured into the do-not-disturb mode according to the setting mode; and setting the state of the determined application to a do-not-disturb mode state. This setting mode realizes the do-not-disturb mode setting for a folding screen device and can meet the needs of the folding screen device regarding the do-not-disturb mode setting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, device, and storage medium for setting a Do Not Disturb mode. Background Technology

[0002] With the development of computer technology, electronic devices are becoming increasingly diverse in form to meet various user needs. For example, foldable screen devices have emerged to satisfy users' work and entertainment needs. When unfolded, the large screen of a foldable screen device can be used for work, while when folded, the small screen can be used for entertainment. However, the do-not-disturb mode settings of related electronic devices have limitations when applied to foldable screen devices. Therefore, there is an urgent need for a do-not-disturb mode setting scheme specifically for foldable screen devices. Summary of the Invention

[0003] To overcome the problems existing in related technologies, this disclosure provides a method, apparatus, device and storage medium for setting a Do Not Disturb mode.

[0004] According to a first aspect of the present disclosure, a method for setting a Do Not Disturb mode is provided, the method comprising:

[0005] Receive configuration commands related to Do Not Disturb mode;

[0006] In response to the configuration command, determine the setting method for the Do Not Disturb mode;

[0007] Based on the settings described, determine the applications that need to be configured in the Do Not Disturb mode;

[0008] Set the identified application to Do Not Disturb mode.

[0009] In some embodiments, the screen of the foldable screen device includes a foldable inner screen and at least one outer screen; the configuration method includes any one of the following:

[0010] Set the corresponding application to Do Not Disturb mode according to the folding state of the inner screen;

[0011] Based on the application's custom Do Not Disturb mode;

[0012] Set all apps to Do Not Disturb mode.

[0013] In some embodiments, setting the corresponding application to Do Not Disturb mode based on the folding state of the inner screen includes any one of the following:

[0014] Set the application running on the inner screen to Do Not Disturb mode;

[0015] Set the application running on the outer screen to Do Not Disturb mode.

[0016] In some embodiments, the application-based custom do-not-disturb mode includes any of the following:

[0017] When the application is running on the inner screen, set the application to Do Not Disturb mode;

[0018] When the application is running on the external screen, set the application to Do Not Disturb mode;

[0019] When the foldable screen device is running, the application is set to Do Not Disturb mode.

[0020] In some embodiments, the configuration instructions include instructions for switching the folded state of the inner screen;

[0021] When the setting method includes setting the corresponding application to Do Not Disturb mode based on the folding state of the inner screen, the step of determining the application that needs to be configured to Do Not Disturb mode according to the setting method includes:

[0022] When the inner screen switches from a folded state to an unfolded state, the first application is determined to be the application that needs to be configured for the Do Not Disturb mode. The first application refers to an application whose setting method involves setting the application running on the inner screen to Do Not Disturb mode; or...

[0023] When the inner screen switches from an unfolded state to a folded state, the second application is determined to be the application that needs to be configured to the Do Not Disturb mode. The second application refers to the application whose setting method is to set the application running on the outer screen to Do Not Disturb mode.

[0024] In some embodiments, the configuration instructions include instructions for switching the folded state of the inner screen;

[0025] When the setting method includes setting all applications to Do Not Disturb mode, the step of determining the applications that need to be configured to Do Not Disturb mode according to the setting method includes:

[0026] When a command to switch the folded state of the inner screen is received, all applications are identified as those that need to be configured for the Do Not Disturb mode.

[0027] In some embodiments, the configuration instructions include instructions for switching applications running in the foreground;

[0028] The step of determining the applications that need to be configured into the Do Not Disturb mode based on the setting method includes:

[0029] Determine the screen to display the application running in the foreground;

[0030] Determine whether the Do Not Disturb mode of the application running in the foreground is Do Not Disturb mode when running on the determined screen or when running on the foldable screen device;

[0031] If so, then the application running in the foreground is determined to be an application that needs to be configured to Do Not Disturb mode.

[0032] In some embodiments, the setting method further includes:

[0033] Configure the Do Not Disturb mode settings in the default interface.

[0034] In some embodiments, the preset interface includes the system settings interface of the foldable screen device.

[0035] In some embodiments, the setting method includes:

[0036] The application and its corresponding Do Not Disturb mode are stored in the foldable screen device according to preset rules.

[0037] In some embodiments, the Do Not Disturb mode includes not displaying notification information to the user.

[0038] According to a second aspect of the embodiments of this disclosure, a device for setting a Do Not Disturb mode is provided.

[0039] The configuration instruction receiving module is configured to receive configuration instructions related to Do Not Disturb mode;

[0040] The setting method determination module is configured to determine the setting method of the Do Not Disturb mode;

[0041] The application determination module is configured to determine, based on the setting method, the applications that need to be configured into the Do Not Disturb mode;

[0042] The Do Not Disturb mode setting module is configured to set the state of a selected application to Do Not Disturb mode.

[0043] In some embodiments, the screen of the foldable screen device includes a foldable inner screen and at least one outer screen; the configuration method includes any one of the following:

[0044] Set the corresponding application to Do Not Disturb mode according to the folding state of the inner screen;

[0045] Based on the application's custom Do Not Disturb mode;

[0046] Set all apps to Do Not Disturb mode.

[0047] In some embodiments, setting the corresponding application to Do Not Disturb mode based on the folding state of the inner screen includes any one of the following:

[0048] Set the application running on the inner screen to Do Not Disturb mode;

[0049] Set the application running on the outer screen to Do Not Disturb mode.

[0050] In some embodiments, the application-based custom do-not-disturb mode includes any of the following:

[0051] When the application is running on the inner screen, set the application to Do Not Disturb mode;

[0052] When the application is running on the external screen, set the application to Do Not Disturb mode;

[0053] When the foldable screen device is running, the application is set to Do Not Disturb mode.

[0054] In some embodiments, the configuration instruction includes a switching instruction for the folded state of the inner screen; the setting method includes setting the corresponding application to Do Not Disturb mode according to the folded state of the inner screen, and the application determination module is configured to:

[0055] When the inner screen switches from a folded state to an unfolded state, the first application is determined to be the application that needs to be configured for the Do Not Disturb mode. The first application refers to an application whose setting method involves setting the application running on the inner screen to Do Not Disturb mode; or...

[0056] When the inner screen switches from an unfolded state to a folded state, the second application is determined to be the application that needs to be configured to the Do Not Disturb mode. The second application refers to the application whose setting method is to set the application running on the outer screen to Do Not Disturb mode.

[0057] In some embodiments, the configuration instruction includes a switching instruction for the folded state of the inner screen; the setting method includes setting all applications to Do Not Disturb mode, and the application determination module is configured to:

[0058] When a command to switch the folded state of the inner screen is received, all applications are identified as those that need to be configured for the Do Not Disturb mode.

[0059] In some embodiments, the configuration instructions include instructions for switching applications running in the foreground; the application determination module is configured to:

[0060] Determine the screen to display the application running in the foreground;

[0061] Determine whether the Do Not Disturb mode of the application running in the foreground is Do Not Disturb mode when running on the determined screen or when running on the foldable screen device;

[0062] If so, then the application running in the foreground is determined to be an application that needs to be configured into the Do Not Disturb mode.

[0063] In some embodiments, the setting device further includes:

[0064] The settings module is configured to set the Do Not Disturb mode settings in a preset interface.

[0065] In some embodiments, the preset interface includes the system settings interface of the foldable screen device.

[0066] In some embodiments, the setting method includes:

[0067] The application and its corresponding Do Not Disturb mode are stored in the foldable screen device according to preset rules.

[0068] In some embodiments, the Do Not Disturb mode includes not displaying notification information to the user.

[0069] According to a third aspect of the present disclosure, a foldable screen device is provided, comprising:

[0070] processor;

[0071] Memory used to store processor-executable instructions;

[0072] The processor is configured to perform a method for setting a Do Not Disturb mode as described in any one of the first aspects of the embodiments of this disclosure.

[0073] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of a foldable screen device, the foldable screen device is enabled to perform a method for setting a Do Not Disturb mode as described in any one of the first aspects of the present disclosure.

[0074] The method described above, as disclosed in this invention, has the following beneficial effects:

[0075] The Do Not Disturb mode setting method provided in this disclosure employs multiple different Do Not Disturb mode setting methods to set the Do Not Disturb mode for each application in a foldable screen device. During the operation of the foldable screen device, upon receiving a configuration command related to the Do Not Disturb mode, it indicates that it needs to determine whether to set the running application to the Do Not Disturb mode state based on the Do Not Disturb mode already set for each application. That is, in response to the configuration command, the Do Not Disturb mode setting method is determined, and based on the setting method, the application currently required to be configured to Do Not Disturb mode is identified, and the state of the identified application is set to the Do Not Disturb mode state. This setting method realizes the Do Not Disturb mode setting for foldable screen devices and can meet the Do Not Disturb mode setting requirements of foldable screen devices.

[0076] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0077] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0078] Figure 1 This is a flowchart illustrating a method for setting a Do Not Disturb mode according to an exemplary embodiment;

[0079] Figure 2 This is a flowchart illustrating a method for setting a Do Not Disturb mode for an application according to an exemplary embodiment;

[0080] Figure 3 This is a schematic diagram illustrating a preset interface according to an exemplary embodiment;

[0081] Figure 4 This is a schematic diagram illustrating a preset interface according to an exemplary embodiment;

[0082] Figure 5 This is a schematic diagram illustrating a custom settings interface according to an exemplary embodiment;

[0083] Figure 6 This is a schematic diagram illustrating the principle of a setting method according to an exemplary embodiment;

[0084] Figure 7 This is a flowchart illustrating a method for setting a Do Not Disturb mode according to an exemplary embodiment;

[0085] Figure 8 This is a device block diagram illustrating a Do Not Disturb mode setting device according to an exemplary embodiment;

[0086] Figure 9 This is a block diagram illustrating a foldable screen device according to an exemplary embodiment. Detailed Implementation

[0087] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.

[0088] The method for setting the Do Not Disturb mode provided in this embodiment is executed by a foldable screen device. The foldable screen device can be a terminal device with internet access or a terminal device without internet access. The foldable screen device can be an LCD TV, desktop computer, laptop computer, tablet computer, or mobile phone with a foldable screen.

[0089] Figure 1 This is a flowchart illustrating a method for setting a Do Not Disturb mode according to an exemplary embodiment, the method being performed by a foldable screen device. See also... Figure 1 The method includes the following steps:

[0090] Step S101: Receive configuration instructions related to Do Not Disturb mode.

[0091] In this embodiment of the disclosure, the Do Not Disturb mode includes not displaying notification information to the user. Notification information refers to information received by the application, such as chat messages received by a social application or push notifications from the application. This embodiment of the disclosure does not limit the content of the notification information. The configuration instructions related to the Do Not Disturb mode indicate the state of the running application according to the Do Not Disturb mode settings already configured for each application. The application state includes a Do Not Disturb mode state and a normal state. Applications in Do Not Disturb mode do not display notification information during runtime, while applications in the normal state display notification information normally during runtime.

[0092] Since a foldable screen device includes a foldable inner screen and at least one outer screen, when the inner screen is in an unfolded state, the foldable screen device displays information through the inner screen; when the inner screen is in a folded state, the foldable screen device displays information through the outer screen. In some embodiments, the configuration instruction is a switching instruction for the folded state of the inner screen, that is, a configuration instruction is generated when the inner screen switches from a folded state to an unfolded state; or, a configuration instruction is generated when the inner screen switches from an unfolded state to a folded state. Alternatively, the configuration instruction is a switching instruction for the foreground application, that is, a configuration instruction is generated when the foreground application switches, for example, when the foreground application switches from application 1 to application 2.

[0093] Step S102: In response to the configuration command, determine the setting method for Do Not Disturb mode.

[0094] In this embodiment of the disclosure, upon receiving a configuration instruction, it is indicated that it is necessary to determine whether to set the running application to Do Not Disturb mode based on the Do Not Disturb mode already set for each application. The foldable screen device responds to the configuration instruction, determines the setting method of Do Not Disturb mode, and subsequently determines the applications that need to be configured to Do Not Disturb mode based on the setting method.

[0095] The setting method for Do Not Disturb mode refers to how a user sets the application to Do Not Disturb mode. This setting method includes any one of the following:

[0096] The first method: Set the corresponding application to Do Not Disturb mode based on the folded state of the inner screen. That is, set Do Not Disturb mode for applications running on the outer screen, where running an application on the outer screen means the inner screen is in a folded state; or, set Do Not Disturb mode for applications running on the inner screen, where running an application on the inner screen means the inner screen is in an unfolded state.

[0097] The second method is to set a custom Do Not Disturb mode for each application. In other words, instead of setting a uniform Do Not Disturb mode for all applications, a separate Do Not Disturb mode is set for each application.

[0098] The third option is to set all apps to Do Not Disturb mode. This means setting all apps running on the foldable device to Do Not Disturb mode, regardless of whether the app is running on the inner or outer screen.

[0099] For detailed implementation methods of the above-mentioned settings, please refer to the following. Figure 2 The embodiments shown will not be described in detail here.

[0100] It should be noted that after setting the Do Not Disturb mode for an application using the above method, the Do Not Disturb settings are stored in the foldable screen device. In other words, the information about whether each application is set to Do Not Disturb mode is stored in the foldable screen device. When the foldable screen device needs to determine the application's status during application operation, it retrieves the stored settings.

[0101] Step S103: Determine the applications that need to be configured as Do Not Disturb mode according to the setting method.

[0102] Since the settings instructions already specify which application is set to Do Not Disturb mode, you can easily determine which application needs to be configured for Do Not Disturb mode simply by referring to the settings instructions. The application that needs to be configured for Do Not Disturb mode is any application that has been set to Do Not Disturb mode using any of the settings methods.

[0103] Step S104: Set the state of the determined application to Do Not Disturb mode.

[0104] In this embodiment of the disclosure, after determining the application that needs to be configured to Do Not Disturb mode, the state of the determined application is set to Do Not Disturb mode, and then during the operation of the determined application, no notification information of the determined application is displayed to the user.

[0105] The Do Not Disturb mode setting method provided in this disclosure employs multiple different Do Not Disturb mode setting methods to set the Do Not Disturb mode for each application in a foldable screen device. During the operation of the foldable screen device, upon receiving a configuration command related to the Do Not Disturb mode, it indicates that it needs to determine whether to set the running application to the Do Not Disturb mode state based on the Do Not Disturb mode already set for each application. That is, in response to the configuration command, the Do Not Disturb mode setting method is determined, and based on the setting method, the application currently required to be configured to Do Not Disturb mode is identified, and the state of the identified application is set to the Do Not Disturb mode state. This setting method realizes the Do Not Disturb mode setting for foldable screen devices and can meet the Do Not Disturb mode setting requirements of foldable screen devices.

[0106] In this embodiment of the disclosure, during the operation of the foldable screen device, before setting whether the application is in Do Not Disturb mode based on the Do Not Disturb mode setting method, the user needs to set the Do Not Disturb mode for the application. The following describes... Figure 2 The illustrated example demonstrates the process of setting a Do Not Disturb mode for an application.

[0107] Figure 2 This is a flowchart illustrating a method for setting a Do Not Disturb mode for an application according to an exemplary embodiment, the method being performed by a foldable screen device. See also... Figure 2 The method includes the following steps:

[0108] Step S201: Display the preset interface of the foldable screen device. The preset interface includes a first setting control, a second setting control, a third setting control, and a fourth setting control.

[0109] The preset interface is used to set a do-not-disturb mode for each application on the foldable screen device. Optionally, this preset interface is the system settings interface of the foldable screen device. The first setting control is used to uniformly set the do-not-disturb mode for all applications, the second setting control is used to uniformly set the do-not-disturb mode for applications running on the outer screen, the third setting control is used to uniformly set the do-not-disturb mode for applications running on the inner screen, and the fourth setting control is used to set an individual do-not-disturb mode for each application.

[0110] For example, see Figure 3 The diagram shows a preset interface. The first setting control is set to "Do Not Disturb Globally", the second setting control is set to "Do Not Disturb Only External Screen", the third setting control is set to "Do Not Disturb Only Internal Screen", and the fourth setting control is set to "Application-Specific Settings".

[0111] In this embodiment of the disclosure, the setting method for setting the Do Not Disturb mode on the preset interface is described below through steps S202-S205.

[0112] Step S202: In response to the selection operation of the first settings control, set all applications to Do Not Disturb mode.

[0113] In this embodiment of the disclosure, when the first setting control is selected, it indicates that the foldable screen device has global Do Not Disturb mode enabled, meaning all applications are set to Do Not Disturb mode, and no notifications from any of these applications will be displayed to the user during subsequent operation of the foldable screen device. For example, see... Figure 4 "Do Not Disturb Globally" was selected.

[0114] It should be noted that the embodiments disclosed herein are only illustrated by taking the setting of all applications to Do Not Disturb mode through the first setting control as shown in step S202. In another embodiment, other methods may be used to set all applications to Do Not Disturb mode. The embodiments disclosed herein do not limit the specific implementation of setting all applications to Do Not Disturb mode.

[0115] In step S203, in response to the selection operation of the second settings control, the application running on the external screen is set to Do Not Disturb mode.

[0116] In this embodiment of the disclosure, when the second setting control is selected, it indicates that the foldable screen device has enabled the external screen do not disturb mode. That is, when the internal screen is in a folded state, the corresponding application is set to do not disturb mode. Subsequently, when the foldable screen device is running and the application is displayed on the external screen, the application notification information is not prompted to the user. However, when the application is displayed on the internal screen, the application notification information is prompted to the user normally.

[0117] In step S204, in response to the selection operation of the third settings control, the application running on the inner screen is set to Do Not Disturb mode.

[0118] In this embodiment of the disclosure, when the third setting control is selected, it indicates that the foldable screen device has enabled the inner screen do not disturb mode. That is, when the inner screen is in the unfolded state, the corresponding application is set to do not disturb mode. Subsequently, when the foldable screen device is running and the application is displayed on the inner screen, the application notification information is not prompted to the user. However, when the application is displayed on the outer screen, the application notification information is prompted to the user normally.

[0119] It should be noted that, in this embodiment of the disclosure, the application corresponding to the folded state of the inner screen refers to: when the inner screen is in the folded state, the application is based on the outer screen display; when the inner screen is in the unfolded state, the application is based on the inner screen display.

[0120] Another point to note is that the embodiments disclosed herein only illustrate the example of setting the corresponding application to Do Not Disturb mode according to the folding state of the inner screen using the second setting control and the third setting control as shown in steps S203 and S204. In another embodiment, other methods can also be used to set the corresponding application to Do Not Disturb mode according to the folding state of the inner screen. The embodiments disclosed herein do not limit the specific implementation of setting the corresponding application to Do Not Disturb mode according to the folding state of the inner screen.

[0121] Step S205, in response to the selection operation of the third settings control, based on the application's custom Do Not Disturb mode.

[0122] In this embodiment of the disclosure, the application-based custom do-not-disturb mode refers to setting the do-not-disturb mode for each application separately. For example, for application 1 and application 2, application 1 can be set to global do-not-disturb, that is, the notification information of application 1 will not be displayed when the foldable screen device is running. Application 2 can be set to external screen do-not-disturb, that is, the notification information of application 2 will not be displayed when application 2 is displayed on the external screen, but the notification information of application 2 will be displayed normally when application 2 is displayed on the internal screen.

[0123] In some embodiments, an application-customized Do Not Disturb mode is included, including any of the following: setting the application to Do Not Disturb mode when the application is running on the inner screen; setting the application to Do Not Disturb mode when the application is running on the outer screen; and setting the application to Do Not Disturb mode when the foldable screen device is running.

[0124] In some embodiments, in response to a selection operation of a third settings control, a custom settings interface is displayed. This interface displays custom settings controls for multiple applications. Based on the custom settings control corresponding to each application, a Do Not Disturb mode is set for each application. Optionally, in response to a trigger operation of a custom settings control corresponding to any application, multiple Do Not Disturb mode options corresponding to that application are displayed. These options include a global Do Not Disturb option, an external screen Do Not Disturb option, and an internal screen Do Not Disturb option. In response to a selection operation of any Do Not Disturb mode option, the Do Not Disturb mode for that application is set. Specifically, when the global Do Not Disturb option is selected, the application is set to global Do Not Disturb mode, meaning that when the foldable screen device is running, the application is set to Do Not Disturb mode. When the external screen Do Not Disturb option is selected, the application is set to external screen Do Not Disturb mode, meaning that when the application is running on the external screen, the application is set to Do Not Disturb mode. When the internal screen Do Not Disturb option is selected, the application is set to internal screen Do Not Disturb mode, meaning that when the application is running on the internal screen, the application is set to Do Not Disturb mode.

[0125] For example, see Figure 5The custom settings interface shown contains Application 1, Application 2, Application 3 and Application 4. Taking Application 4 as an example, it displays three options: Global Do Not Disturb, External Do Not Disturb, and Internal Do Not Disturb.

[0126] In this embodiment of the disclosure, when using a custom Do Not Disturb mode based on an application, the Do Not Disturb mode settings for each application are similar, and different applications do not interfere with each other.

[0127] It should be noted that the embodiments disclosed herein are only illustrated by setting the Do Not Disturb mode of each application individually through a third setting control and a custom setting interface. In another embodiment, other methods can also be used to set the Do Not Disturb mode of each application individually, and the embodiments disclosed herein do not limit this.

[0128] In some embodiments, after setting the application's Do Not Disturb mode using any of the settings in steps S202-S205, the configuration information of the Do Not Disturb mode can be stored in the foldable screen device. That is, the application and its corresponding Do Not Disturb mode are stored in the foldable screen device according to preset rules. Here, the configuration information of the Do Not Disturb mode refers to the application and its corresponding Do Not Disturb mode. The preset rules refer to the method used when storing the application and its corresponding Do Not Disturb mode; for example, the preset rule is to store the application and its Do Not Disturb mode in a table in a one-to-one correspondence.

[0129] Optionally, different Do Not Disturb values ​​are used to represent the Do Not Disturb mode based on different setting methods, and the application identifier corresponding to the application is stored along with the Do Not Disturb mode value. For example, when the setting method is to set all applications to Do Not Disturb mode, the Do Not Disturb mode value is 00, and the application identifier of each application is stored along with 00; when the setting method is to set applications running on the inner screen to Do Not Disturb mode, the Do Not Disturb mode value is 01, and the application identifier of applications running on the inner screen is stored along with 01; when the setting method is to set a custom Do Not Disturb mode based on an application, specifically when the application is running on the outer screen, the Do Not Disturb mode value is 10, and the application identifier of that application is stored along with 10.

[0130] In some embodiments, the principle of the setting method of steps S202-S205 described above can be adopted. Figure 6The diagram illustrates that the Do Not Disturb mode is divided into three types: Global Do Not Disturb, Do Not Disturb based on the inner screen state, and Application-Specific Do Not Disturb. For Global Do Not Disturb, the settings described in step S202 above are used. In this mode, no notifications are displayed to the user. For Do Not Disturb based on the inner screen state, the settings described in steps S203 or S204 above are used. When the inner screen is unfolded, no notifications are displayed to the user when the content is shown on the inner screen. When the inner screen is folded, no notifications are displayed to the user when the content is shown on the outer screen. For Application-Specific Do Not Disturb, the settings described in step S205 above are used. Each application can be individually set to one of the following modes: Global Do Not Disturb, Do Not Disturb when displayed on the outer screen, or Do Not Disturb when displayed on the inner screen.

[0131] It should be noted that steps S202-S205 above represent four parallel solutions. When setting the Do Not Disturb mode for an application, the user can choose any of the settings from steps S202-S205 according to their actual needs. Alternatively, in some embodiments, the foldable screen device can simultaneously use at least two of the settings from steps S202-S205. In this case, each setting method has a corresponding priority, with the priorities from highest to lowest as follows: the setting method of step S202, the setting method of step S203, the setting method of step S204, and the setting method of step S205. The setting methods of step S203 and S204 have the same priority. Subsequently, when determining which applications need to be configured for Do Not Disturb mode based on the setting methods, the applications are selected according to the priority of the setting methods. For details on the specific setting methods, please refer to [link to details]. Figure 7 The implementation methods shown will not be described in detail here.

[0132] The method provided in this disclosure, taking into account the characteristics of foldable screen devices, offers multiple do-not-disturb modes, including global do-not-disturb, external screen do-not-disturb, internal screen do-not-disturb, and application-based custom do-not-disturb. Users can customize the application's do-not-disturb mode according to their actual needs, better meeting user requirements and improving the user experience of foldable screen devices. Furthermore, in related technologies, there are only two ways to set do-not-disturb modes: enabling and disabling them. Compared to these related technologies, this disclosure provides more diverse do-not-disturb modes by considering the unfolded and folded states of the internal screen of the foldable screen device, fully utilizing the characteristics of foldable screen devices.

[0133] Using the above Figure 2 After setting the Do Not Disturb mode for each application in the implementation shown, the above-described method can be used when the foldable screen device is running. Figure 2The Do Not Disturb mode is set up, and the following steps will be taken... Figure 7 The illustrated example demonstrates the process of setting up Do Not Disturb mode.

[0134] Figure 7 This is a flowchart illustrating a method for setting a Do Not Disturb mode according to an exemplary embodiment, the method being performed by a foldable screen device. See also... Figure 7 The method includes the following steps:

[0135] Step S701: Receive configuration instructions related to Do Not Disturb mode.

[0136] The implementation method of step S701 is the same as that of step S101 described above, and will not be repeated here.

[0137] Step S702: In response to the configuration command, obtain the configuration information for Do Not Disturb mode.

[0138] The configuration information for the Do Not Disturb mode indicates how to set it up. Specifically, the configuration information includes the correspondence between applications and Do Not Disturb modes. For details on how to set up Do Not Disturb mode, please refer to the above. Figure 2 The illustrated embodiments will not be described in detail here. The configuration information for Do Not Disturb mode is stored in the foldable screen device after the Do Not Disturb mode is set for the application. In this embodiment of the disclosure, the stored configuration information for Do Not Disturb mode is obtained in response to the configuration command.

[0139] This disclosed embodiment is based on a C / S architecture. The control logic for the Do Not Disturb mode is completed by the system_server process (system service process) of the framework layer. When the application does not disturb mode is actually implemented, the application process and the system_server process exchange data through Binder (a driver for inter-process communication).

[0140] In some embodiments, the listening in the system_server process is triggered by the SettingProvider (settings storage), that is, the Do Not Disturb mode set by the user for the application is obtained through the SettingProvider, and then the callback is executed, that is, the Do Not Disturb mode set by the user for the application is returned to the system_server process, and then the system_server process stores the configuration information of the Do Not Disturb mode in the foldable screen device.

[0141] Step S703: Based on the Do Not Disturb mode configuration information, determine the applications that need to be configured as Do Not Disturb mode.

[0142] In this embodiment of the disclosure, since the configuration information of the Do Not Disturb mode includes the Do Not Disturb mode and the corresponding application, the application that needs to be configured as Do Not Disturb mode can be determined directly based on the configuration information.

[0143] In some embodiments, the configuration instructions include instructions for switching the folded state of the inner screen, and the setting method includes setting the corresponding application to Do Not Disturb mode according to the folded state of the inner screen. In this case, when the inner screen switches from a folded state to an unfolded state, a first application is determined to be an application that needs to be configured to Do Not Disturb mode. This first application refers to an application whose setting method is to set an application running on the inner screen to Do Not Disturb mode. That is, when the configuration information indicates that the setting method is to set an application running on the inner screen to Do Not Disturb mode, when the inner screen switches from a folded state to an unfolded state, it indicates that the application needs to run on the inner screen, so the first application is determined to be an application that needs to be configured to Do Not Disturb mode. Alternatively, when the inner screen switches from an unfolded state to a folded state, a second application is determined to be an application that needs to be configured to Do Not Disturb mode. This second application refers to an application whose setting method is to set an application running on the outer screen to Do Not Disturb mode. That is, when the configuration information indicates that the setting method is to set an application running on the outer screen to Do Not Disturb mode, when the inner screen switches from an unfolded state to a folded-open state, it indicates that the application needs to run on the outer screen, so the second application is determined to be an application that needs to be configured to Do Not Disturb mode.

[0144] In some embodiments, the configuration instructions include instructions to switch the folded state of the inner screen; the setting method includes setting all applications to Do Not Disturb mode. In this case, when the instructions to switch the folded state of the inner screen are received, all applications are determined to be applications that need to be configured to Do Not Disturb mode. That is, when the configuration information indicates that the setting method is to set all applications to Do Not Disturb mode, all applications will be determined to be applications that need to be configured to Do Not Disturb mode regardless of how the folded state of the inner screen is switched.

[0145] In some embodiments, the configuration instructions include instructions for switching the foreground application, and the setting method is based on a custom do-not-disturb mode for the application. In this case, the screen displaying the foreground application is determined; it is determined whether the do-not-disturb mode of the foreground application is do-not-disturb mode when running on the determined screen or when running on a foldable screen device; if so, the foreground application is determined to be an application that needs to be configured to do-not-disturb mode. If the foreground application is displayed on the inner screen, it is determined whether the do-not-disturb mode of the foreground application is inner screen do-not-disturb or global do-not-disturb; if so, the foreground application is determined to be an application that needs to be configured to do-not-disturb mode; or, if the foreground application is displayed on the outer screen, it is determined whether the do-not-disturb mode of the foreground application is outer screen do-not-disturb or global do-not-disturb; if so, the foreground application is determined to be an application that needs to be configured to do-not-disturb mode.

[0146] Step S704: Set the state of the determined application to Do Not Disturb mode.

[0147] In this embodiment of the disclosure, after determining the application that needs to be configured to Do Not Disturb mode, the state of the determined application is set to Do Not Disturb mode, and then during the operation of the determined application, no notification information of the determined application is displayed to the user.

[0148] In some embodiments, upon receiving a notification from an application, the system determines whether the application's state meets the Do Not Disturb conditions. If the Do Not Disturb conditions are met, no notification is sent to the user; otherwise, the user is not notified normally. The Do Not Disturb conditions refer to the application being in Do Not Disturb mode.

[0149] The method provided in this disclosure employs various do-not-disturb mode settings to configure a do-not-disturb mode for each application in a foldable screen device. During the operation of the foldable screen device, upon receiving a configuration command related to the do-not-disturb mode, it determines whether to set the running application to do-not-disturb mode based on the do-not-disturb mode already configured for each application. Specifically, in response to the configuration command, it obtains the do-not-disturb mode configuration information, determines the application that needs to be configured to do-not-disturb mode based on the configuration information, and sets the determined application to the do-not-disturb mode state. This setting method achieves do-not-disturb mode settings for foldable screen devices, meeting the needs of foldable screen devices regarding do-not-disturb mode settings. Furthermore, it fully utilizes the value of foldable screen devices, improves user experience, and makes switching between entertainment and work on foldable screen devices simpler and faster.

[0150] Figure 8 This is a device block diagram illustrating a Do Not Disturb mode setting device according to an exemplary embodiment, see [link to diagram]. Figure 8 The device includes:

[0151] The configuration instruction receiving module 801 is configured to receive configuration instructions related to Do Not Disturb mode.

[0152] The setting method determination module 802 is configured to determine the setting method for Do Not Disturb mode;

[0153] Application determination module 803 is configured to determine the applications that need to be configured into Do Not Disturb mode based on the setting method;

[0154] The Do Not Disturb mode setting module 804 is configured to set the state of a determined application to Do Not Disturb mode.

[0155] The Do Not Disturb mode setting device provided in this disclosure employs various different Do Not Disturb mode setting methods to set the Do Not Disturb mode for each application in a foldable screen device. During the operation of the foldable screen device, upon receiving a configuration command related to the Do Not Disturb mode, it indicates that it needs to determine whether to set the running application to the Do Not Disturb mode state based on the Do Not Disturb mode already set for each application. That is, in response to the configuration command, it determines the Do Not Disturb mode setting method, identifies the application that currently needs to be configured to Do Not Disturb mode based on the setting method, and sets the state of the identified application to the Do Not Disturb mode state. This setting method realizes the Do Not Disturb mode setting for foldable screen devices and can meet the Do Not Disturb mode setting requirements of foldable screen devices.

[0156] In some embodiments, the screen of the foldable screen device includes a foldable inner screen and at least one outer screen; the configuration method includes any of the following:

[0157] Set the corresponding application to Do Not Disturb mode based on the folding state of the inner screen;

[0158] Based on the application's custom Do Not Disturb mode;

[0159] Set all apps to Do Not Disturb mode.

[0160] In some embodiments, the corresponding application is set to Do Not Disturb mode according to the folding state of the inner screen, including any of the following:

[0161] Set applications running on the inner screen to Do Not Disturb mode;

[0162] Set applications running on the outer screen to Do Not Disturb mode.

[0163] In some embodiments, a custom do-not-disturb mode based on the application includes any of the following:

[0164] Set the app to Do Not Disturb mode when it is running on the inner screen;

[0165] Set the application to Do Not Disturb mode when it is running on the external screen;

[0166] When the foldable screen device is running, set the app to Do Not Disturb mode.

[0167] In some embodiments, the configuration instructions include instructions for switching the folded state of the inner screen; the setting method includes setting the corresponding application to Do Not Disturb mode according to the folded state of the inner screen, and the application determination module 803 is configured as follows:

[0168] When the inner screen switches from a folded state to an unfolded state, the first application is identified as the one that needs to be configured for Do Not Disturb mode. The first application refers to the application whose settings are configured to set the application running on the inner screen to Do Not Disturb mode; or...

[0169] When the inner screen switches from an unfolded state to a folded state, the second application is identified as the application that needs to be configured to Do Not Disturb mode. The second application refers to the application whose setting method is to set the application running on the outer screen to Do Not Disturb mode.

[0170] In some embodiments, the configuration instructions include instructions for switching the folded state of the inner screen; the setting method includes setting all applications to Do Not Disturb mode, and the application determination module 803 is configured as follows:

[0171] When a command to switch the folded state of the inner screen is received, all applications are identified as those that need to be configured for Do Not Disturb mode.

[0172] In some embodiments, the configuration instructions include instructions for switching applications running in the foreground; the application determination module 803 is configured to:

[0173] Determine the screen to display the application running in the foreground;

[0174] Determine whether the Do Not Disturb mode of the foreground application is set to Do Not Disturb mode when running on the specified screen or when running on a foldable screen device;

[0175] If so, then determine that the application running in the foreground is the one that needs to be configured to Do Not Disturb mode.

[0176] In some embodiments, the setting device further includes:

[0177] The settings module is configured to allow setting the Do Not Disturb mode in the default interface.

[0178] In some embodiments, the preset interface includes the system settings interface of the foldable screen device.

[0179] In some embodiments, the setting method includes:

[0180] The application and its corresponding Do Not Disturb mode are stored in the foldable screen device according to preset rules.

[0181] In some embodiments, Do Not Disturb mode includes not displaying notification information to the user.

[0182] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0183] This disclosure also provides a foldable screen device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the Do Not Disturb mode setting method in the above embodiments.

[0184] Figure 9This is a block diagram illustrating a foldable screen device 900 according to an exemplary embodiment.

[0185] Reference Figure 9 The foldable screen device 900 may include one or more of the following components: a processing component 902, a memory 904, a power supply component 906, a multimedia component 908, an audio component 910, an input / output (I / O) interface 912, a sensor component 914, and a communication component 916.

[0186] Processing component 902 typically controls the overall operation of the foldable screen device 900, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 902 may include one or more modules to facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.

[0187] Memory 904 is configured to store various types of data to support the operation of the foldable screen device 900. Examples of this data include instructions for any application or method operating on the foldable screen device 900, contact data, phonebook data, messages, pictures, videos, etc. Memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0188] The power supply component 906 provides power to the various components of the foldable screen device 900. The power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the foldable screen device 900.

[0189] Multimedia component 908 includes a screen that provides an output interface between the foldable screen device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 908 includes a front-facing camera and / or a rear-facing camera. When the foldable screen device 900 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0190] Audio component 910 is configured to output and / or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when the foldable screen device 900 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or transmitted via communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.

[0191] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0192] Sensor assembly 914 includes one or more sensors for providing status assessments of various aspects of the foldable screen device 900. For example, sensor assembly 914 can detect the open / closed state of the foldable screen device 900, the relative positioning of components such as the display and keypad of the foldable screen device 900, changes in the position of the foldable screen device 900 or one of its components, the presence or absence of user contact with the foldable screen device 900, the orientation or acceleration / deceleration of the foldable screen device 900, and temperature changes of the foldable screen device 900. Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 914 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0193] Communication component 916 is configured to facilitate wired or wireless communication between the foldable screen device 900 and other devices. The foldable screen device 900 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 916 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0194] In an exemplary embodiment, the foldable screen device 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0195] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, which can be executed by the processor 920 of the foldable screen device 900 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0196] This disclosure also provides a non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by the processor of a foldable screen device, enables the foldable screen device to execute the Do Not Disturb mode setting method described in the above embodiments.

[0197] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.

[0198] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method for setting a Do Not Disturb mode, characterized in that, The method includes: The foldable screen device receives configuration instructions related to Do Not Disturb mode. The screen of the foldable screen device includes a foldable inner screen and at least one outer screen. The configuration instructions include instructions to switch the folding state of the inner screen or instructions to switch the application running in the foreground. In response to the configuration command, the setting method of the Do Not Disturb mode is determined. The setting method is stored in the foldable screen device and represents the method used by the user when setting the Do Not Disturb mode for each application. Based on the settings described, determine the applications that need to be configured in the Do Not Disturb mode; Set the identified application to Do Not Disturb mode; The setting method includes at least one of the following methods: Set the application running on the inner screen to Do Not Disturb mode; Set the application running on the outer screen to Do Not Disturb mode.

2. The method for setting the Do Not Disturb mode according to claim 1, characterized in that, The configuration method also includes any one of the following methods: Based on the application's custom Do Not Disturb mode; Set all apps to Do Not Disturb mode.

3. The method for setting the Do Not Disturb mode according to claim 2, characterized in that, The application-based custom do-not-disturb mode includes any one of the following: When the application is running on the inner screen, set the application to Do Not Disturb mode; When the application is running on the external screen, set the application to Do Not Disturb mode; When the foldable screen device is running, the application is set to Do Not Disturb mode.

4. The method for setting the Do Not Disturb mode according to claim 1, characterized in that, When the configuration instruction includes a switching instruction for the folded state of the inner screen, and the setting method includes at least one of setting the application running on the inner screen to Do Not Disturb mode and setting the application running on the outer screen to Do Not Disturb mode, the step of determining the application to be configured to Do Not Disturb mode according to the setting method includes: When the inner screen switches from a folded state to an unfolded state, the first application is determined to be the application that needs to be configured for the Do Not Disturb mode. The first application refers to an application whose setting method involves setting the application running on the inner screen to Do Not Disturb mode; or... When the inner screen switches from an unfolded state to a folded state, the second application is determined to be the application that needs to be configured to the Do Not Disturb mode. The second application refers to the application whose setting method is to set the application running on the outer screen to Do Not Disturb mode.

5. The method for setting the Do Not Disturb mode according to claim 2, characterized in that, If the configuration instruction includes a switching instruction for the folded state of the inner screen, and the setting method includes setting all applications to Do Not Disturb mode, then determining the applications that need to be configured to Do Not Disturb mode according to the setting method includes: When a command to switch the folded state of the inner screen is received, all applications are identified as those that need to be configured for the Do Not Disturb mode.

6. The method for setting the Do Not Disturb mode according to claim 3, characterized in that, When the configuration instruction includes a switching instruction for a foreground application, determining the application to be configured in the Do Not Disturb mode according to the setting method includes: Determine the screen to display the application running in the foreground; Determine whether the Do Not Disturb mode of the application running in the foreground is Do Not Disturb mode when running on the determined screen or when running on the foldable screen device; If so, then the application running in the foreground is determined to be an application that needs to be configured into the Do Not Disturb mode.

7. The method for setting the Do Not Disturb mode according to any one of claims 1-6, characterized in that, The Do Not Disturb mode includes not sending notification messages to the user.

8. A device for setting a Do Not Disturb mode, characterized in that, The device includes: The configuration instruction receiving module is configured to receive configuration instructions related to Do Not Disturb mode. The configuration instructions include instructions to switch the folding state of the inner screen of the foldable screen device or instructions to switch the application running in the foreground. The setting method determination module is configured to determine the setting method of the Do Not Disturb mode. The setting method is stored in the foldable screen device and represents the method used by the user when setting the Do Not Disturb mode for each application. The application determination module is configured to determine, based on the setting method, the applications that need to be configured into the Do Not Disturb mode; The Do Not Disturb mode setting module is configured to set the state of a selected application to Do Not Disturb mode. The screen of the foldable screen device includes a foldable inner screen and at least one outer screen. The setting method includes at least one of the following methods: Set the application running on the inner screen to Do Not Disturb mode; Set the application running on the outer screen to Do Not Disturb mode.

9. A foldable screen device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the method for setting the Do Not Disturb mode as described in any one of claims 1-7.

10. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the foldable screen device, the foldable screen device is able to perform the Do Not Disturb mode setting method as described in any one of claims 1-7.