Notification mode control method and apparatus, storage medium, and electronic device

By acquiring the schedule and context of electronic devices, the notification mode is automatically adjusted to silent mode, solving the problem of tedious manual adjustment for users, improving convenience and user experience, and ensuring immersive silent scenarios and important message reminders.

CN117014548BActive Publication Date: 2026-02-27GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210471202.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-28
Publication Date
2026-02-27
Estimated Expiration
2042-04-28

AI Technical Summary

Technical Problem

In the existing technology, the notification mode of electronic devices needs to be manually adjusted by the user, which is cumbersome and inconvenient.

Method used

By acquiring the current user schedule of the electronic device, the current scenario is determined based on the schedule, and the notification mode is automatically adjusted to silent mode in silent scenarios. An operation interface is provided to confirm the adjustment, or the ambient audio information is collected by the microphone to determine whether to adjust the mode.

Benefits of technology

No need for users to manually adjust notification modes, improving convenience, avoiding interference with other users in silent scenarios, ensuring that important notifications are not missed, and enhancing user experience and immersion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117014548B_ABST
    Figure CN117014548B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a notification mode control method and device, a storage medium and an electronic device. The method provided by the embodiments of the present application comprises: obtaining a schedule event of a current user of an electronic device; determining a current scene in which the current user is located according to the schedule event; and adjusting a notification mode of the electronic device to a mute mode if the current scene is a mute scene. In this way, the notification mode of the electronic device is automatically adjusted according to the current scene in which the current user is located, so that the user does not need to manually adjust the notification mode, and the convenience of adjusting the notification mode is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronic devices, in particular to a notification mode control method and device, a storage medium and an electronic device. BACKGROUND

[0002] By setting a notification mode of an electronic device, different ways can be provided to prompt a user of a message received by the electronic device, for example, when the notification mode is a ringing mode, the message received by the electronic device is prompted to the user in the form of a ring, and for example, when the notification mode is a silent mode, the message received by the electronic device is prompted to the user in the form of silence. However, in the related art, the user needs to manually adjust the notification mode, which is cumbersome to operate. SUMMARY

[0003] The embodiments of the present application provide a notification mode control method and device, a storage medium and an electronic device, which can improve the convenience of adjusting the notification mode.

[0004] In a first aspect, the embodiments of the present application provide a notification mode control method applied to an electronic device, comprising:

[0005] obtaining a schedule item of a current user of the electronic device;

[0006] determining a current scene in which the current user is located according to the schedule item;

[0007] if the current scene is a silent scene, adjusting a notification mode of the electronic device to a silent mode.

[0008] In a second aspect, the embodiments of the present application further provide a notification mode control device applied to an electronic device, comprising:

[0009] an item obtaining module configured to obtain a schedule item of a current user recorded in the electronic device;

[0010] an item analysis module configured to determine a current scene in which the current user is located according to the schedule item;

[0011] a mode adjusting module configured to, if the current scene is a silent scene, adjust a notification mode of the electronic device to a silent mode.

[0012] In a third aspect, the embodiments of the present application further provide a computer readable storage medium having a computer program stored thereon, when the computer program runs on a computer, the computer executes the notification mode control method provided by any of the embodiments of the present application.

[0013] In a fourth aspect, the embodiments of the present application further provide an electronic device, comprising a processor and a memory, the memory storing a computer program, and the processor is configured to execute the control method of the notification mode according to any of the embodiments of the present application by invoking the computer program.

[0014] The embodiments of the present application provide the technical scheme that the current user's schedule of the electronic device is acquired, and the current scene where the current user is located is determined according to the schedule, so that the notification mode of the electronic device is adjusted to the mute mode when the current scene is the mute scene. In this way, the notification mode of the electronic device is adaptively adjusted according to the current scene where the current user is located, so that the user does not need to manually adjust the notification mode, thereby improving the convenience of the notification mode adjustment. BRIEF DESCRIPTION OF DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0016] Figure 1 The flowchart of the control method of the notification mode provided by the embodiments of the present application.

[0017] Figure 2 The application scenario diagram of the control method of the notification mode provided by the embodiments of the present application.

[0018] Figure 3 The schematic diagram of the operation interface in the control method of the notification mode provided by the embodiments of the present application.

[0019] Figure 4 The flowchart of the control method of the notification mode provided by the embodiments of the present application when applied to the viewing scene.

[0020] Figure 5 The structural diagram of the control device of the notification mode provided by the embodiments of the present application.

[0021] Figure 6 The structural diagram of the electronic device provided by the embodiments of the present application. DETAILED DESCRIPTION

[0022] The technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the present application.

[0023] Reference to“an embodiment” herein means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase“in one embodiment” in various places in the specification are not necessarily referring to the same embodiment, nor are they necessarily mutually exclusive of one another. It is expressly understood that any of the embodiments described herein can be combined with any of the other embodiments.

[0024] The notification mode control method provided in the embodiments of the application can be implemented by the notification mode control device provided in the embodiments of the application or an electronic device integrated with the notification mode control device, and the notification mode control device can be implemented in the form of hardware or software. The electronic device can be a mobile device such as a smart phone, a smart watch, a foldable screen phone, a tablet computer, and the like, or a device with an audio playing function such as a smart screen, a television, a smart robot, and the like.

[0025] Please refer to Figure 1 and Figure 2 , Figure 1 the flowchart of the notification mode control method provided in the embodiments of the application, Figure 2 the application scenario diagram of the notification mode control method provided in the embodiments of the application.

[0026] The specific flow of the notification mode control method provided in the embodiments of the application can be as follows:

[0027] 101、Obtain a schedule item of a current user of an electronic device.

[0028] The current user of the electronic device refers to a user who has a use right for the electronic device, or a user who registers the electronic device by using his own identity information, or a user who enables the electronic device by identity authentication. Generally, the user uses his own electronic device, in other words, the user of the electronic device is regarded as the current user.

[0029] The electronic device records the user's current schedule. These schedules can be reminders recorded by the user on the device, such as calendar events or alarm clock events. Alternatively, they can be obtained by analyzing user behavior data from the electronic device. For example, analyzing a user's reservation information for public places, such as libraries, parks, museums, and conference rooms, can yield schedules. Another example is analyzing a user's ticketing information, which can include transportation tickets (airplane, ship, train, etc.), performance tickets (movie, theater, concert, etc.), and event tickets (book signings, book clubs, exhibitions, etc.). Since schedules can take many forms, they will not be listed here.

[0030] like Figure 2 As shown, the current user's schedule can include schedule 1, schedule 2, ..., schedule n. The number of schedules can be reduced or increased.

[0031] The timing for obtaining travel information can be the start time of the travel information or a certain period of time before that start time, depending on the actual needs. There is no limitation here.

[0032] 102. Determine the current scenario of the user based on the itinerary details.

[0033] The current scenario refers to the context in which the itinerary item is executed. Each itinerary item corresponds to a current scenario, such as... Figure 2 A trip item 1 corresponds to current scenario 1, a trip item 2 corresponds to current scenario 2, and so on, with trip item n corresponding to current scenario n. For example, if the trip item is a movie-watching event, then the current scenario is a movie-watching scenario; if the trip item is a meeting event, then the current scenario is a meeting scenario; and if the trip item is a travel event, then the current scenario is a travel scenario.

[0034] Once the current user's schedule is obtained, the current user is determined to be in the current scenario corresponding to the schedule during the execution time period. Understandably, when the schedules are different, the current scenario in which the current user is in the execution time period of different schedules will be different.

[0035] 103. If the current scene is a silent scene, adjust the notification mode of the electronic device to silent mode.

[0036] The current scene corresponding to different travel events is different, and therefore can be divided to determine whether the current scene belongs to a mute scene, and if so, the notification mode of the electronic device is adjusted to a mute mode, and if not, the notification mode of the electronic device is not adjusted.

[0037] In determining whether the current scene belongs to a mute scene, the current scene can be matched with scenes included in the mute scene, and if the same or similar scene can be matched from the scenes included in the mute scene, the current scene is considered as a mute scene. For example, the mute scene can include the viewing scene and the meeting scene in the above examples, and if the current scene is the viewing scene or the meeting scene, it can be determined that the current scene is a mute scene.

[0038] It is known that there are various notification modes of the electronic device, including mute mode, vibration mode, ring mode, and ring mode. Of course, it can also include flight mode, sleep mode, etc. It should be noted that the mute mode mentioned in the embodiments of the present application also covers the flight mode and the sleep mode, and it can be understood that as the number of notification modes increases, the mute mode mentioned in the embodiments of the present application will cover more types of modes, and the various modes covered by the mute mode will not cause interference to the user, i.e. will not issue sound or vibration prompts.

[0039] Exemplarily, the notification mode can be divided into mute mode and non-mute mode, and the non-mute mode can include at least one of the vibration mode, the ring mode, and the ring mode as above, or other modes that will issue sound or vibration prompts. Before adjusting the notification mode of the electronic device, the existing notification mode can also be determined, and when the existing notification mode belongs to the non-mute mode, the notification mode of the electronic device is adjusted to the mute mode, and when the existing notification mode belongs to the mute mode, the notification mode of the electronic device can not be adjusted, or the notification mode of the electronic device can be adjusted to other types of mute mode, which can be determined according to actual needs.

[0040] In specific implementation, the present application is not limited by the execution order of the various steps, and certain steps can also be performed in other order or simultaneously without conflict.

[0041] It can be learned from the above that the control method of the notification mode provided in the embodiments of the present application adjusts the notification mode of the electronic device to the mute mode when the current scenario is the mute scenario by analyzing the schedule of the current user of the electronic device and then determining the current scenario in which the current user is located. In this way, the notification mode is adjusted by the electronic device according to the current scenario, so that the user does not need to manually adjust the notification mode, the convenience of adjusting the notification mode is improved, and then the user experience is improved. In addition, in the mute scenario, the notification mode is adjusted to the mute mode, so that the other users in the same mute scenario are not disturbed, and the scenario immersion of the user in the mute scenario is improved.

[0042] According to the method described in the foregoing embodiments, the following will be further described in detail by way of examples.

[0043] In some embodiments, before the notification mode of the electronic device is adjusted to the mute mode, the method further includes:

[0044] providing an operation interface for adjusting the notification mode;

[0045] adjusting the notification mode of the electronic device to the mute mode in response to the confirmation operation received by the operation interface.

[0046] When the current scenario is the mute scenario and the existing notification mode of the electronic device is the non-mute mode, an operation interface for adjusting the notification mode can be provided, and the operation interface displays an operable area. The user can trigger the operation interface to adjust the notification mode of the electronic device to the mute mode according to the received confirmation operation or keep the existing notification mode of the electronic device according to the received cancellation operation by performing an operation in the operable area.

[0047] Please refer to Figure 3 , Figure 3 The schematic diagram of the operation interface in the control method of the notification mode provided in the embodiments of the present application is shown in the figure. The operation interface displays a reminder, such as "It is detected that you are in a mute scenario. The phone needs to be adjusted to the mute mode. Do you confirm to adjust?". Two operation buttons, such as a "cancel" button and a "confirm" button, are displayed in the operable area of the operation interface. When the user clicks the "cancel" button, the electronic device keeps the existing notification mode. When the user clicks the "confirm" button, the notification mode of the electronic device is adjusted to the mute mode.

[0048] In the embodiment, the operation interface for adjusting the notification mode is provided, so as to prompt the user to adjust the notification mode of the electronic device to the mute mode. In addition, the operation interface has the operation button, so as to adjust the notification mode of the electronic device, facilitate the user to use, and avoid the user to switch the display interface to the interface capable of adjusting the notification mode. Therefore, the method provided in the embodiment is simple, convenient and easy to operate, and is closer to the user's use habit.

[0049] As an embodiment, the operation interface for adjusting the notification mode is provided, and the operation interface comprises:

[0050] determining the start time of the schedule event;

[0051] providing the operation interface for adjusting the notification mode before the start time.

[0052] In the embodiment, the operation interface can be provided between the start time of the schedule event, so as to facilitate the user to adjust the notification mode by performing the operation on the operation interface.

[0053] As another embodiment, the operation interface for adjusting the notification mode is provided, and the operation interface comprises:

[0054] determining the start time of the schedule event;

[0055] detecting whether the notification mode of the electronic device is the mute mode before the start time;

[0056] if not, providing the operation interface for adjusting the notification mode.

[0057] In the embodiment, it is illustrated that before the operation interface for adjusting the notification mode is provided, it is firstly judged whether the existing notification mode of the electronic device is the mute mode. If not, the operation interface for adjusting the notification mode is provided. If yes, the operation interface is not provided.

[0058] In the embodiment, when it is detected whether the existing notification mode is the mute mode, the detection is performed before the start time of the schedule event. For each schedule event, the start time, the end time and the execution time period are corresponding. By determining the start time of each schedule event, a trigger time can be set according to the start time, so as to detect whether the notification mode of the electronic device is the mute mode. For example, if the start time is 6:00 am, the trigger time can be set as 5:50, 6:00 or 5:55, so as to detect whether the notification mode of the electronic device is the mute mode when the trigger time is reached.

[0059] It can be understood that the trigger time can be any time point before the start time, and the time point can include the start time, or can also be any time period before the start time, so as to detect whether the notification mode of the electronic device is the silent mode multiple times in the time period. Wherein, the trigger time is set before the start time, and the trigger time can be earlier than the start time by a preset time length, wherein the preset time length can be set by the electronic device as default 0 minutes, 3 minutes, 5 minutes, 10 minutes, etc., or can be customized by the user, which is not limited here.

[0060] In the embodiment, detecting whether the notification mode of the electronic device is the silent mode before the start time can determine whether the user has adjusted the notification mode of the electronic device to the silent mode before the start time, which can avoid repeatedly reminding the user to adjust the silent mode, and save the system resources consumed by the system of the electronic device when providing the operation interface.

[0061] In some embodiments, before adjusting the notification mode of the electronic device to the silent mode in response to the confirmation operation received by the operation interface, the method further comprises:

[0062] detecting whether the operation interface receives the confirmation operation within a preset time length;

[0063] If yes, the operation of adjusting the notification mode of the electronic device to the silent mode in response to the confirmation operation received by the operation interface is performed;

[0064] If no, the environmental audio information in the current scene is collected;

[0065] If the environmental audio information includes audio information corresponding to the silent scene, the notification mode of the electronic device is adjusted to the silent mode.

[0066] When the operation interface is provided, the operation interface can be displayed within a preset time length, so that when the operation interface receives the confirmation operation within the preset time length, the electronic device can adjust the notification mode to the silent mode in response to the confirmation operation. It can be understood that when the operation interface receives the cancel operation within the preset time length, the electronic device can not adjust the notification mode in response to the cancel operation, and if the operation interface is not displayed after the preset time length, the operation interface will be cancelled.

[0067] As described above, when the user performs the confirmation operation or the cancel operation on the operation interface, the electronic device responds to the confirmation operation or the cancel operation at the same time, and the operation interface is also cancelled.

[0068] Exemplarily, if the confirmation operation is not received within the preset time length, and the existing notification mode of the electronic device is the non-mute mode, it indicates that the notification mode of the electronic device is not adjusted to the mute mode. In this case, the microphone of the electronic device can be controlled to be enabled to collect environmental audio information in the current scene through the microphone, and then the environmental audio information is analyzed to determine whether the environmental audio information contains audio information corresponding to the mute scene. If yes, it indicates that the user is performing the travel matter, and the notification mode of the electronic device can be adjusted to the mute mode. If no, it indicates that the user is not performing the travel matter, and the notification mode of the electronic device can not be adjusted.

[0069] Here, for example, the travel matter is a viewing matter, and the collected environmental audio information should contain a movie theme song, wherein the movie theme song is audio information corresponding to the mute scene. For another example, the travel matter is a travel matter, and the collected environmental audio information should contain a boarding prompt sound of a flight broadcast in a waiting hall, wherein the boarding prompt sound is audio information corresponding to the mute scene. For another example, the travel matter is a conference matter, and the collected environmental audio information should contain audio information related to the conference theme, wherein the audio information related to the conference theme is audio information corresponding to the mute scene.

[0070] In the embodiment, when the operation interface does not receive the confirmation operation, the environmental audio information can also be collected to analyze whether the current user is performing the travel matter, and when the current user is performing the travel matter, the notification mode of the electronic device can be directly controlled to be adjusted to the mute mode. This way can avoid the situation that the user forgets to adjust the notification mode to the mute mode, thereby avoiding interference to other users in the same scene. In addition, when it is determined that the user is not performing the travel matter, the notification mode of the electronic device can not be adjusted, thereby enabling the user to timely learn important notification messages.

[0071] In some embodiments, the current scene in which the current user is located is determined according to the travel matter, including:

[0072] Obtaining scene information of the travel matter;

[0073] Determining the scene indicated by the scene information as a candidate scene;

[0074] Obtaining a current position of the electronic device;

[0075] If the current position is consistent with a scene position of the candidate scene, the candidate scene is determined as the current scene.

[0076] Generally, the scenario of the travel event is regarded as the current scenario, but there are also cases where the current user does not perform the travel event, therefore, in this embodiment, a step of judging the current scenario is also proposed, so that when the current scenario is consistent with the scenario indicated by the travel event, the control method of the notification mode mentioned in the above embodiment is executed.

[0077] Exemplarily, the scenario information can be obtained from the travel event, which can be the execution place of the travel event, the theme of the travel event, or the type of the travel event, since there are various ways, which are not listed here, and can be determined according to the specific content or form of the travel event. Generally, the execution place of the travel event is regarded as the scenario information.

[0078] Among them, the scenario information of the travel event is obtained after the travel event is obtained, and the travel event is obtained after a new to-be-reminded event is added in the electronic device or a new travel event is obtained according to the user behavior data.

[0079] In this embodiment, the scenario indicated by the scenario information of the travel event is called the candidate scenario, and when the current position of the electronic device can be obtained before the start time of the travel event, if the current position is consistent with the scene position of the candidate scenario, it means that the user is executing the travel event, and the candidate scenario can be confirmed as the current scenario. Alternatively, the current position of the electronic device can also be obtained at the start time of the travel event, or the current position of the electronic device can also be obtained within a period of time after the start time of the travel event, and then the current position is compared with the scene position, so that when the current position is consistent with the scene position, it is determined that the current user is in the current scenario.

[0080] In this embodiment, by comparing the scene position with the current position of the electronic device, whether the current user is executing the travel event can be accurately judged, and then the accuracy of controlling the notification mode of the electronic device can be improved.

[0081] In some embodiments, the mute mode includes a plurality of sub-mute modes; adjusting the notification mode of the electronic device to the mute mode includes:

[0082] According to the scene type of the current scenario, a target sub-mute mode corresponding to the current scenario is determined;

[0083] The notification mode of the electronic device is adjusted to the target sub-mute mode.

[0084] In this embodiment, the mute mode includes a plurality of sub-mute modes, and the corresponding target sub-mute mode can be set according to the scene type of different current scenarios, wherein the sub-mute mode can be the mute mode familiar to those skilled in the art, or the flight mode, or the sleep mode, etc.

[0085] The correspondence between the scene type and the various silent modes can be pre-set, for example, the correspondence between the flight scene and the flight mode, the correspondence between the meeting scene and the silent mode, the correspondence between the movie watching scene and the silent mode, and the correspondence between the meditation scene and the sleep mode. It can be understood that the correspondence between the scene type and the silent mode can be determined according to the use habits of the user.

[0086] After the target sub-silent mode corresponding to the current scene is determined according to the scene type, the notification mode of the electronic device can be adjusted to the target sub-silent mode. It can be understood that if the existing notification mode is one of the silent modes, according to the scheme provided in the embodiment, the existing notification mode can be adjusted to the target sub-silent mode, for example, if the existing notification mode is the silent mode, and if the target sub-silent mode is the flight mode, the electronic device can be adjusted from the silent mode to the flight mode. Of course, if the existing notification mode is consistent with the target sub-silent mode, the notification mode of the electronic device can not be adjusted.

[0087] In the embodiment, by matching different sub-silent modes for different current scenes, the notification mode of the electronic device can be adjusted to the target sub-silent mode suitable for the current scene, which is more consistent with the conventional mode setting method and provides convenience for the user.

[0088] In some embodiments, after the notification mode of the electronic device is adjusted to the silent mode, the method further comprises:

[0089] If the notification message is received within the execution time period of the travel item, the importance level of the notification message is determined.

[0090] When the importance level is greater than the preset level, the electronic device is controlled to enable at least one of the screen-on mode and the earphone mode to prompt the notification message.

[0091] In the embodiment, when the electronic device has been adjusted to the silent mode, whenever the electronic device receives a notification message within the execution time period of the travel item, the importance level of the notification message is determined, so that when the notification message is an important message, the screen of the electronic device is controlled to light up, or the indicator light is controlled to flash, or when the electronic device is detected to be connected with an earphone, the notification message is output to the earphone for playing, wherein when the earphone mode is enabled, the earphone volume of the electronic device can be adaptively adjusted, so that the user can hear the prompt sound of the notification message.

[0092] In an example, the manner of judging the importance level of the notification message can be judging the identity information of the sender of the notification message. For example, if a phone call is received, it is determined whether the caller belongs to a user with a note in the phone list of the current user, such as a family member, a colleague, a friend, etc. For another example, if a WeChat message is received, it is determined whether the WeChat friend who sends the WeChat message is marked with a star.

[0093] In another example, the manner of judging the importance level of the notification message can be judging the sending address of the notification message. If the sending address is a home address, a company address, a public security bureau address, a hospital address, or the like, it is determined that the notification message is important.

[0094] In the embodiment, when the current user is in the mute scene, the important notification message received by the electronic device can remind the current user through other manners (such as the earphone mode or the bright screen mode), which can avoid disturbing other users in the same mute scene and can avoid the current user missing important notification messages, thereby providing great convenience for the user's life.

[0095] In some embodiments, after adjusting the notification mode of the electronic device to the mute mode, the method further includes:

[0096] determining an end time of the schedule event;

[0097] resuming the notification mode of the electronic device to the notification mode before the mute mode after the end time.

[0098] In the embodiment, the end time of the schedule event can be determined in advance, and the original notification mode of the electronic device, i.e., the notification mode before the adjustment to the mute mode, is resumed after the end time.

[0099] It should be noted that the end time in the embodiment can include the end time, and the notification mode of the electronic device can be resumed in a time period after the end time. The time period can be 0 minutes, 3 minutes, 5 minutes, 10 minutes, etc., and can be determined according to actual conditions.

[0100] Of course, after the end time, the ambient audio information can be collected through the microphone again to determine whether the ambient audio information includes the audio information corresponding to the mute scene. If yes, the time of resuming the notification mode of the electronic device is delayed, and if no, the notification mode of the electronic device is directly resumed. The delayed time can be a default time or a time set by the user, and can be determined according to actual needs, which is not limited here.

[0101] In this embodiment, after the travel event is performed, the electronic device can be restored to the notification mode before the silent mode, so that the user can avoid forgetting to manually restore the notification mode and cannot receive the notification message in time. In addition, the notification mode can be adaptively restored according to the current scene, so that the user can avoid manually adjusting the notification mode, and the user can use the electronic device conveniently.

[0102] In summary, the control method of the notification mode provided in the embodiments of the present application can determine whether the current scene in which the user is located is a silent scene before the travel event is performed. If the current scene is a silent scene, the notification mode of the electronic device is obtained. If the existing notification mode is a non-silent mode, the notification mode of the electronic device is adjusted to a silent mode, so that the user can avoid manually adjusting the notification mode, and the adjustment convenience is improved. When the notification mode is adjusted, an operation interface for adjusting the notification mode can be provided, so that the current user can perform a confirmation operation on the operation interface, and then directly control the notification mode to be adjusted to a silent mode. In addition, when the operation interface does not receive the confirmation operation, the microphone can be enabled to collect environmental audio information, so as to determine whether the environmental audio information contains audio information corresponding to the silent scene. If yes, it is determined that the current user is performing a travel event, and the notification mode can be directly adjusted to a silent mode, so that the electronic device can avoid disturbing other users in the same silent scene when receiving a notification message. In addition, if an important notification message is received during the travel event, the notification message can be prompted in a screen-on mode or an earphone mode, so that the current user can avoid missing important message prompts, and the user rights are protected. Furthermore, the notification mode can be restored after the end time of the travel event, so as to adapt to the daily use habits of the user and bring convenience to the user.

[0103] An application scenario is provided to describe the control method of the notification mode provided in the embodiments of the present application. In the application scenario, the travel event is a viewing event, and the current scene of the viewing event is a viewing scene. Please refer to Figure 4 , Figure 4 The flowchart of the control method of the notification mode provided in the embodiments of the present application applied to the viewing scene is shown in FIG. 2. The specific content is as follows:

[0104] If the current travel event is a viewing event, it is determined that the current user is in a viewing scene.

[0105] Before the start time of the viewing event, it is detected whether the notification mode of the electronic device is a silent mode.

[0106] If not, an operation interface for adjusting the notification mode is provided.

[0107] It is determined whether the operation interface receives a confirmation operation within a preset time length.

[0108] If yes, adjusting a notification mode of the electronic device to a mute mode;

[0109] If no, collecting environmental audio information in the viewing scene;

[0110] determining whether the environmental audio information contains target audio information of a target video program, wherein the target video program is a video program contained in the viewing matter, and the target audio information can be a promotional video for promoting the target video program or a theme song of the target video program;

[0111] If yes, performing the step of adjusting the notification mode of the electronic device to the mute mode;

[0112] After performing the step of adjusting the notification mode of the electronic device to the mute mode, an end time of the travel matter can also be determined to restore the electronic device to the notification mode before the mute mode after the end time.

[0113] As can be seen from the above, the method provided by the embodiments of the present application can avoid the prompt sound of the electronic device from interfering with other users when applied to a viewing scene, which is conducive to creating a good viewing atmosphere and thus providing an immersive viewing experience for the user.

[0114] In an embodiment, a notification mode control apparatus 200 is also provided. Please refer to Figure 5 , Figure 5 a structural schematic diagram of the notification mode control apparatus 200 provided by the embodiments of the present application. The notification mode control apparatus 200 is applied to an electronic device, and the notification mode control apparatus 200 comprises:

[0115] a matter obtaining module 201 configured to obtain a travel matter of a current user recorded in the electronic device;

[0116] a matter analysis module 202 configured to determine a current scene in which the current user is located according to the travel matter;

[0117] a mode adjusting module 203 configured to adjust a notification mode of the electronic device to a mute mode if the current scene is a mute scene.

[0118] In some embodiments, before adjusting the notification mode of the electronic device to the mute mode, the mode adjusting module 203 is further configured to:

[0119] provide an operation interface for adjusting the notification mode;

[0120] adjust the notification mode of the electronic device to the mute mode in response to a confirmation operation received by the operation interface.

[0121] In some embodiments, the mode adjusting module 203 is further configured to:

[0122] determining a start time of the schedule event;

[0123] providing an operation interface for adjusting the notification mode before the start time.

[0124] In some embodiments, the control device 200 of the notification mode further comprises a microphone control module 204, and before adjusting the notification mode of the electronic device to the mute mode in response to the confirmation operation received by the operation interface, the mode adjustment module 203 is further configured to:

[0125] detecting whether the operation interface receives the confirmation operation within a preset time length;

[0126] if yes, performing the operation of adjusting the notification mode of the electronic device to the mute mode in response to the confirmation operation received by the operation interface;

[0127] if no, controlling the microphone to be enabled to collect environmental audio information in the current scene by the microphone control module 204;

[0128] if the environmental audio information contains audio information corresponding to a mute scene, adjusting the notification mode of the electronic device to the mute mode by the mode adjustment module 203.

[0129] In some embodiments, the event analysis module 202 is further configured to:

[0130] obtaining scene information of the schedule event;

[0131] determining a scene indicated by the scene information as a candidate scene;

[0132] obtaining a current location of the electronic device;

[0133] if the current location is consistent with a scene location of the candidate scene, determining the candidate scene as the current scene.

[0134] In some embodiments, the mode adjustment module 203 is further configured to:

[0135] determining a target sub-mute mode corresponding to the current scene according to a scene type of the current scene;

[0136] adjusting the notification mode of the electronic device to the target sub-mute mode.

[0137] In some embodiments, after adjusting the notification mode of the electronic device to the mute mode, the mode adjustment module 203 is further configured to:

[0138] determining an end time of the schedule event;

[0139] after the end time, restoring the notification mode of the electronic device to the notification mode before the mute mode.

[0140] It should be noted that the notification mode control device 200 provided by the embodiments of the present application and the notification mode control method in the above embodiments belong to the same concept. The notification mode control device 200 can implement any method provided in the notification mode control method embodiments. For details, refer to the notification mode control method embodiments, which will not be repeated here.

[0141] As can be seen from the above, the notification mode control device 200 provided by the embodiments of the present application can determine whether the current scenario in which the user is located is a silent scenario before performing a travel matter. If it is a silent scenario, the notification mode of the electronic device can be obtained. When the existing notification mode is a non-silent mode, the notification mode of the electronic device is controlled to be adjusted to a silent mode, thereby avoiding manual adjustment of the notification mode by the user and improving the adjustment convenience. When adjusting the notification mode, an operation interface for adjusting the notification mode can be provided to facilitate the current user to perform a confirmation operation on the operation interface, thereby directly controlling the notification mode to be adjusted to a silent mode. In addition, when the operation interface does not receive a confirmation operation, a microphone can be enabled to collect environmental audio information to determine whether the environmental audio information contains audio information corresponding to a silent scenario. If yes, it is determined that the current user is performing a travel matter, and the notification mode can be directly controlled to be adjusted to a silent mode, thereby avoiding interference to other users in the same silent scenario when the electronic device receives a notification message. Secondly, if an important notification message is received during the performance of the travel matter, the notification message can be prompted in a screen-on mode or an earphone mode, thereby avoiding missing of important message prompts by the current user and protecting the rights and interests of the user. Furthermore, the notification mode can be restored after the end time of the travel matter, thereby adapting to the daily use habits of the user and bringing convenience to the user.

[0142] The embodiments of the present application also provide an electronic device. The electronic device can be a terminal, which can be a mobile device such as a smart phone, a smart watch, a foldable screen phone, a tablet computer, and the like, or a device with an audio playing function such as a smart screen, a television, a smart robot, and the like. As shown in Figure 6 Figure 6 The electronic device provided by the embodiments of the present application is a structure schematic diagram. The electronic device 300 includes a processor 301 having one or more processing cores, a memory 302 having one or more computer readable storage media, and a computer program stored on the memory 302 and executable on the processor. The processor 301 is electrically connected to the memory 302. Those skilled in the art can understand that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and can include more or fewer components than the figure, or combine certain components, or different component arrangements.

[0143] ​The processor 301 is the control center of the electronic device 300, connects all parts of the electronic device 300 through various interfaces and lines, executes various functions of the electronic device 300 and processes data by running or loading software programs and / or modules stored in the memory 302 and calling data stored in the memory 302, thereby monitoring the whole electronic device 300.

[0144] In the embodiments of the present application, the processor 301 in the electronic device 300 loads the instructions corresponding to the processes of one or more application programs into the memory 302, and runs the application programs stored in the memory 302 by the processor 301, thereby realizing various functions according to the following steps:

[0145] Obtaining a schedule of a current user of the electronic device;

[0146] Determining a current scenario in which the current user is located according to the schedule;

[0147] If the current scenario is a mute scenario, adjusting a notification mode of the electronic device to a mute mode.

[0148] The specific implementation of each operation can refer to the foregoing embodiments, which will not be described here.

[0149] Optionally, as shown in Figure 6 The electronic device 300 further includes a touch display screen 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306 and a power supply 307. The processor 301 is electrically connected with the touch display screen 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306 and the power supply 307 respectively. Those skilled in the art can understand that the electronic device structure shown in Figure 6 The electronic device structure shown in the above embodiments does not constitute a limitation on the electronic device, and can include more or fewer components than the diagram, or combine certain components, or different component arrangements.

[0150] The touch display screen 303 can be used to display a graphical user interface and receive operation instructions generated by user acting on the graphical user interface. The touch display screen 303 can include a display panel and a touch panel. The display panel can be used to display information input by the user or provided to the user and various graphical user interfaces of the electronic device, which can be composed of graphics, text, icons, video and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel can be used to collect touch operations (such as user operations on or near the touch panel using a finger, a stylus or any suitable object or accessory) of the user thereon or therearound, and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel can include two parts of a touch detection device and a touch controller. The touch detection device detects the touch position of the user and detects the signals generated by the touch operation, and transmits the signals to the touch controller; the touch controller receives the touch information from the touch detection device, and converts it into touch coordinates, and then sends it to the processor 301, and can also receive commands from the processor 301 and execute them. The touch panel can cover the display panel, and when the touch panel detects a touch operation thereon or therearound, it transmits to the processor 301 to determine the type of the touch event, and then the processor 301 provides corresponding visual output on the display panel according to the type of the touch event. In the embodiments of the present application, the touch panel and the display panel can be integrated into the touch display screen 303 to realize the input and output functions. However, in some embodiments, the touch panel and the display panel can realize the input and output functions as two independent components. That is, the touch display screen 303 can also realize the input function as part of the input unit 306.

[0151] The radio frequency circuit 304 can be used to transceive radio frequency signals to establish wireless communication with network devices or other electronic devices, and transceive signals between network devices or other electronic devices.

[0152] The audio circuit 305 can be used to provide an audio interface between the user and the electronic device through the speaker and the microphone. The audio circuit 305 can convert the received audio data into an electrical signal and transmit it to the speaker, which converts it into a sound signal output. On the other hand, the microphone collects sound signals and converts them into electrical signals, which are received by the audio circuit 305 and converted into audio data. After being processed by the processor 301, the audio data is transmitted to another electronic device through the radio frequency circuit 304, or output to the memory 302 for further processing. The audio circuit 305 can also include an earphone jack to provide communication between an external earphone and the electronic device.

[0153] The input unit 306 can be configured to receive inputted digital, character information or user feature information (e.g. fingerprint, iris, face information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0154] The power supply 307 is configured to supply power to various components of the electronic device 300. Optionally, the power supply 307 can be logically connected to the processor 301 through a power management system, so as to realize functions such as management of charging, discharging and power consumption management through the power management system. The power supply 307 can also include one or more than one direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, etc.

[0155] Although Figure 6 The electronic device 300 can also include a positioning module, a WIFI module, a Bluetooth module, etc. which are not shown in the embodiment, and will not be described herein.

[0156] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.

[0157] As can be seen from the above, the electronic device provided in the embodiment can, before performing a travel matter, determine whether a current scenario in which a user is currently located is a silent scenario, and if so, acquire a notification mode of the electronic device, so as to control the notification mode of the electronic device to be adjusted to a silent mode when the existing notification mode is a non-silent mode, thereby avoiding manual adjustment of the notification mode by the user and improving the adjustment convenience. In the adjustment of the notification mode, an operation interface for adjusting the notification mode can also be provided to facilitate the current user to perform a confirmation operation on the operation interface, and then directly control the notification mode to be adjusted to the silent mode. In addition, when the operation interface does not receive the confirmation operation, a microphone can also be enabled to collect environmental audio information, so as to determine whether the environmental audio information contains audio information corresponding to the silent scenario, and if so, determine that the current user is performing the travel matter, and directly control the notification mode to be adjusted to the silent mode, thereby avoiding interference to other users in the same silent scenario when the electronic device receives a notification message. Secondly, if an important notification message is received during the performance of the travel matter, the notification message can also be prompted in a screen-on mode or an earphone mode, thereby avoiding missing of important message prompts by the current user and protecting the rights and interests of the user. Furthermore, the notification mode can also be restored after the end time of the travel matter, thereby adapting to the daily use habits of the user and bringing convenience to the user.

[0158] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by related hardware controlled by the instructions, which can be stored in a computer readable storage medium and loaded and executed by a processor.

[0159] To this end, an embodiment of the present application provides a computer readable storage medium, which stores a plurality of computer programs capable of being loaded by a processor to execute steps in any of the notification mode control methods provided by the embodiments of the present application. For example, the computer program can execute the following steps:

[0160] obtaining a schedule of a current user of the electronic device;

[0161] determining a current scenario in which the current user is located according to the schedule;

[0162] if the current scenario is a mute scenario, adjusting a notification mode of the electronic device to a mute mode.

[0163] The specific implementation of each operation can refer to the foregoing embodiments, which will not be described here.

[0164] The storage medium can include a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk. Since the computer program stored in the storage medium can execute the steps in any of the notification mode control methods provided by the embodiments of the present application, the beneficial effects of any of the notification mode control methods provided by the embodiments of the present application can be achieved, which will be described in detail in the foregoing embodiments, and will not be described here.

[0165] The above describes in detail a notification mode control method, device, medium and electronic device provided by the embodiments of the present application. The principle and implementation manner of the present application are described by applying specific examples in this paper. The above embodiment is only used to help understand the method and core idea of the present application. Meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and application range can be changed. In conclusion, the content of the specification should not be understood as a limitation of the present application.

Claims

1. A control method of a notification mode applied to an electronic device, the method comprising: include: Obtain the current user's schedule for the electronic device; The current scenario of the current user is determined based on the aforementioned itinerary details; If the current scenario is a silent scenario, an operation interface for adjusting the notification mode is provided, and it is detected whether the operation interface receives a confirmation operation within a preset time. If yes, in response to the confirmation operation received by the operation interface, the notification mode of the electronic device is adjusted to silent mode. If no, the environmental audio information in the current scenario is collected. If the environmental audio information contains audio information corresponding to the silent scenario, the notification mode of the electronic device is adjusted to silent mode. If a notification message is received during the execution time of the scheduled event, the importance level of the notification message is determined based on the sending address of the notification message; wherein, if the sending address is a home address, company address, police station address, or hospital address, the importance level of the notification message is determined to be greater than a preset level; When the importance level is greater than the preset level, the electronic device is controlled to enable at least one of the screen-on mode and headphone mode to display the notification message; Determine the end time of the trip; after the end time, collect environmental audio information again to determine whether the environmental audio information contains audio information corresponding to the silent scene. If so, postpone the time to restore the notification mode of the electronic device; otherwise, directly restore the notification mode of the electronic device.

2. The method of claim 1, wherein, The user interface provided for adjusting the notification mode includes: Determine the start time of the aforementioned itinerary items; The user interface for adjusting the notification mode is provided before the start time.

3. The method of claim 1, wherein, Determining the current scenario of the current user based on the itinerary includes: Obtain the scenario information for the aforementioned itinerary items; The scene indicated by the scene information is identified as a candidate scene; Obtain the current location of the electronic device; If the current location matches the scene location of the candidate scene, then the candidate scene is determined as the current scene.

4. The method of claim 1, wherein, The silent mode includes multiple sub-silent modes, and adjusting the notification mode of the electronic device to silent mode includes: Based on the scene type of the current scene, determine the target sub-silent mode corresponding to the current scene; Adjust the notification mode of the electronic device to the target sub-silent mode.

5. The method according to any one of claims 1 to 4, characterized in that, After adjusting the notification mode of the electronic device to silent mode, the method further includes: Determine the end time of the aforementioned itinerary items; After the said end time, restore the electronic device to the notification mode prior to the silent mode.

6. A control device with a notification mode, applied to an electronic device, characterized in that, include: The event acquisition module is used to acquire the current user's itinerary events recorded in the electronic device; The event analysis module is used to determine the current scenario of the current user based on the event details. The mode adjustment module is used to provide an operation interface for adjusting the notification mode if the current scene is a silent scene, and to detect whether the operation interface receives a confirmation operation within a preset time. If yes, in response to the confirmation operation received by the operation interface, the notification mode of the electronic device is adjusted to silent mode. If no, the ambient audio information in the current scene is collected. If the ambient audio information contains audio information corresponding to the silent scene, the notification mode of the electronic device is adjusted to silent mode. The control device is further configured to: if a notification message is received during the execution time period of the trip, determine the importance level of the notification message based on the sending address of the notification message; when the importance level is greater than a preset level, control the electronic device to enable at least one of screen-on mode and headphone mode to prompt the notification message; wherein, if the sending address is a home address, company address, police station address, or hospital address, the importance level of the notification message is determined to be greater than the preset level. The control device is further configured to: determine the end time of the trip; after the end time, collect environmental audio information again to determine whether the environmental audio information contains audio information corresponding to a silent scene; if so, postpone the time for restoring the notification mode of the electronic device; if not, directly restore the notification mode of the electronic device.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is run on the computer, it causes the computer to perform the control method of the notification mode as described in any one of claims 1 to 5.

8. An electronic device comprising a processor and a memory, the memory storing a computer program, characterized in that, The processor invokes the computer program to execute the control method for the notification mode as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Switching method and system for contextual model

    CN104580696A

  • Event reminding method and device

    CN104754121A

  • Mobile phone mode adjusting method and mobile phone mode adjusting device

    CN106254633A

  • Method and device for setting working mode of mobile terminal

    CN106303077A

  • Method for automatically converting the mode ofportable terminal according to a schedule and positioninformation

    KR1020060033227A