CN117014548A - Control method and device of notification mode, storage medium and electronic equipment - Google Patents

Control method and device of notification mode, storage medium and electronic equipment Download PDF

Info

Publication number
CN117014548A
CN117014548A CN202210471202.9A CN202210471202A CN117014548A CN 117014548 A CN117014548 A CN 117014548A CN 202210471202 A CN202210471202 A CN 202210471202A CN 117014548 A CN117014548 A CN 117014548A
Authority
CN
China
Prior art keywords
mode
scene
notification mode
mute
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210471202.9A
Other languages
Chinese (zh)
Inventor
陈盼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210471202.9A priority Critical patent/CN117014548A/en
Publication of CN117014548A publication Critical patent/CN117014548A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a control method and device of a notification mode, a storage medium and electronic equipment, wherein the method provided by the embodiment of the application comprises the following steps: acquiring travel items of a current user of the electronic equipment; determining a current scene of a current user according to the travel item; and if the current scene is a mute scene, adjusting the notification mode of the electronic equipment to be a mute mode. Therefore, the notification mode of the electronic equipment is automatically adjusted according to the current scene of the current user, so that the user does not need to manually adjust the notification mode, and the convenience for adjusting the notification mode is improved.

Description

Control method and device of notification mode, storage medium and electronic equipment
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method and apparatus for controlling a notification mode, a storage medium, and an electronic device.
Background
By setting the notification mode of the electronic device, different modes can be provided to prompt the message received by the electronic device to the user, for example, when the notification mode is a ringing mode, the message received by the electronic device can be prompted to the user in a ringing mode, and for example, when the notification mode is a mute mode, the message received by the electronic device can be prompted to the user in a mute mode. However, in the related art, the user is required to manually adjust the notification mode, and the operation is complicated.
Disclosure of Invention
The embodiment of the application provides a notification mode control method, a notification mode control device, a storage medium and electronic equipment, which can improve the adjustment convenience of the notification mode.
In a first aspect, an embodiment of the present application provides a method for controlling a notification mode, which is applied to an electronic device, including:
acquiring travel items of a current user of the electronic equipment;
determining a current scene of a current user according to the travel item;
and if the current scene is a mute scene, adjusting the notification mode of the electronic equipment to be a mute mode.
In a second aspect, an embodiment of the present application further provides a control device for a notification mode, which is applied to an electronic device, including:
the item acquisition module is used for acquiring the travel item of the current user recorded in the electronic equipment;
the item analysis module is used for determining the current scene of the current user according to the travel item;
and the mode adjustment module is used for adjusting the notification mode of the electronic equipment to the mute mode if the current scene is the mute scene.
In a third aspect, embodiments of the present application further provide a computer-readable storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform a control method of a notification mode as provided by any of the embodiments of the present application.
In a fourth aspect, an embodiment of the present application further provides an electronic device, including a processor and a memory, where the memory has 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 calling the computer program.
According to the technical scheme provided by the embodiment of the application, the current scene of the current user of the electronic equipment is determined according to the travel item by acquiring the travel item of the current user of the electronic equipment, so that the notification mode of the electronic equipment is adjusted to be the mute mode when the current scene is the mute scene, and the notification mode of the electronic equipment is adaptively adjusted according to the current scene of the current user, so that the user does not need to manually adjust the notification mode, and the convenience of adjusting the notification mode is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart illustrating a method for controlling a notification mode according to an embodiment of the present application.
Fig. 2 is an application scenario schematic diagram of a control method of a notification mode according to an embodiment of the present application.
Fig. 3 is a schematic diagram of an operation interface in a control method of a notification mode according to an embodiment of the present application.
Fig. 4 is a flowchart illustrating a control method of a notification mode according to an embodiment of the present application when the control method is applied to a movie scene.
Fig. 5 is a schematic structural diagram of a notification mode control device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments of the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The embodiment of the application provides a control method of a notification mode, and an execution main body of the control method of the notification mode may be a control device of the notification mode provided by the embodiment of the application or an electronic device integrated with the control device of the notification mode, where the control device of the notification mode may be implemented in a hardware or software manner. The electronic device may be a mobile device such as a smart phone, a smart watch, a folding screen mobile phone, a tablet computer, or the like, or may be a device with an audio playing function such as a smart screen, a television, a smart robot, or the like.
Referring to fig. 1 and fig. 2, fig. 1 is a flowchart of a method for controlling a notification mode according to an embodiment of the present application, and fig. 2 is an application scenario diagram of the method for controlling a notification mode according to the embodiment of the present application.
The specific flow of the control method of the notification mode provided by the embodiment of the application can be as follows:
101. and acquiring the travel item of the current user of the electronic equipment.
The current user of the electronic device refers to a user having a right to use the electronic device, or refers to a user registering the electronic device through self-identity information, or refers to a user enabling the electronic device through authentication. In general, a user uses his or her electronic device, in other words, the user of the electronic device is regarded as the current user.
The electronic device records a current user's travel item, which may be a reminder item recorded by the user in the electronic device, such as a calendar event, an alarm clock event, etc. The travel items obtained by analyzing the user behavior data in the electronic device may also be travel items, for example, the travel items in the travel information may be obtained by analyzing the travel information of the user on a public place, where the travel information may include travel information of a public place such as a library, a park, a museum, a conference room, etc.; for another example, the travel items are obtained by analyzing ticket booking information of the user, wherein the ticket booking information can include traffic ticket information such as airplane tickets, ship tickets, train tickets and the like, performance ticket information such as movie tickets, drama tickets, concert tickets and the like, and event ticket information such as ticket vending parties, reading parties, exhibitions and the like. The various forms of travel items are not listed here.
As shown in fig. 2, the current user's travel items may include travel item 1, travel item 2.
The timing of acquiring the travel item may be the start time of the travel item or a certain period of time before the start time, which may be specifically set according to the actual requirement, and is not limited herein.
102. And determining the current scene of the current user according to the travel item.
The current scenario refers to an occasion corresponding to the execution of the travel items, each travel item corresponds to one current scenario, as shown in fig. 2, the travel item 1 corresponds to the current scenario 1, the travel item 2 corresponds to the current scenario 2. For example, if the travel item is a viewing item, the current scene is a viewing scene; for another example, if the travel item is a meeting item, the current scene is a meeting scene; for another example, if the travel item is a travel item, the current scene is a travel scene.
When the travel item of the current user is obtained, the current user is determined to be in the current scene corresponding to the travel item in the time period of executing the travel item, and it can be understood that when the travel item is different, the current scene of the current user in the execution time period of different travel items is different.
103. And if the current scene is a mute scene, adjusting the notification mode of the electronic equipment to be a mute mode.
The current scene corresponding to the different rows Cheng Shixiang is different, so that the current scene can be divided to determine whether the current scene belongs to a mute scene, if so, the notification mode of the electronic device is adjusted to be the mute mode, and if not, the notification mode of the electronic device is not adjusted.
When judging whether the current scene belongs to the mute scene or not, matching the current scene with the scenes contained in the mute scene, and if the current scene can be matched with the same or similar scenes from the scenes contained in the mute scene, considering the current scene as the mute scene. For example, the mute scene may include a viewing scene and a conference scene as in the above example, and if the current scene is a viewing scene or a conference scene, it may be determined that the current scene is a mute scene.
As is known, there are a variety of notification modes for electronic devices, including silent mode, vibration mode, ringing mode, and ringing mode. Naturally, flight modes, sleep modes, etc. may also be included. It should be noted that, the silent mode mentioned in the embodiment of the present application further covers the flight mode and the sleep mode on the basis thereof, and it can be understood that, with the increase of the types of notification modes, the silent mode mentioned in the embodiment of the present application also covers more types of modes, and the various modes that can be covered by the silent mode do not cause interference to the user, i.e. do not send out a prompt of sound or vibration.
For example, the notification mode may be divided into a silent mode and a non-silent mode, and the non-silent mode may include at least one of a vibration mode, a ringing mode, or other modes that may emit a sound or vibration type alert as described above. Before adjusting the notification mode of the electronic device, the existing notification mode may be further determined, when the existing notification mode belongs to the non-mute mode, the notification mode of the electronic device may be adjusted to the mute mode, when the existing notification mode belongs to the mute mode, the notification mode of the electronic device may not be adjusted, or the notification mode of the electronic device may be adjusted to other types of mute modes, which may be specifically determined according to the actual requirement.
In particular, the application is not limited by the order of execution of the steps described, as some of the steps may be performed in other orders or concurrently without conflict.
As can be seen from the above, in the control method for the notification mode provided by the embodiment of the present application, the current scene of the current user of the electronic device is determined according to the travel item by analyzing the travel item of the current user of the electronic device, so that the notification mode of the electronic device is adjusted to be the mute mode when the current scene is the mute scene. In addition, in the mute scene, by adjusting the notification mode to the mute mode, it is also possible to avoid disturbing other users in the same mute scene, thereby improving the scene immersion of the user in the mute scene.
The method described in the previous examples is described in further detail below by way of example.
In some embodiments, before adjusting the notification mode of the electronic device to the mute mode, the method further comprises:
providing an operation interface for adjusting a notification mode;
and responding to the confirmation operation received by the operation interface, and adjusting the notification mode of the electronic equipment to a mute mode.
When the current scene is a mute scene and the existing notification mode of the electronic equipment is a non-mute mode, an operation interface for adjusting the notification mode can be provided, an operable area is displayed on the operation interface, and a user can trigger the operation interface to perform adjustment of the notification mode of the electronic equipment into the mute mode according to the received confirmation operation by executing the operation in the operable area, or can trigger the operation interface to maintain the existing notification mode of the electronic equipment according to the received cancellation operation.
Referring to fig. 3, fig. 3 is a schematic diagram of an operation interface in the notification mode control method according to the embodiment of the present application, where the operation interface in the diagram displays reminding items, such as "detect you are in a mute scene, need to adjust the mobile phone to a mute mode, please confirm whether to adjust? Two operation keys, such as a cancel key and a confirm key, are displayed in an operable area of the operation interface, and when the cancel key is clicked by a user, the electronic device maintains an existing notification mode, and when the confirm key is clicked by the user, the notification mode of the electronic device is adjusted to a mute mode.
In this embodiment, by providing the operation interface for adjusting the notification mode, it is convenient for prompting the user to adjust the notification mode of the electronic device to the mute mode, and further, the operation interface is further provided with an operation key, so that the notification mode of the electronic device can be adjusted, which is convenient for the user to use, and avoids the need of switching the display interface additionally to switch to the interface capable of adjusting the notification mode. Therefore, the mode provided by the embodiment is simple, convenient and easy to operate, and is closer to the use habit of the user.
As one embodiment, an operation interface for adjusting a notification mode is provided, including:
determining a start time of a travel event;
an operation interface for adjusting the notification mode is provided before the start time.
In this embodiment, an operator interface may be provided between the start times of the travel events to facilitate user adjustment of the notification mode by performing operations on the operator interface.
As another embodiment, an operation interface for adjusting a notification mode is provided, including:
determining a start time of a travel event;
detecting whether a notification mode of the electronic device is a mute mode before a start time;
If not, providing an operation interface for adjusting the notification mode.
In this embodiment, it is described that before providing an operation interface for adjusting the notification mode, it is determined whether the existing notification mode of the electronic device is a mute mode, if not, the operation interface for adjusting the notification mode is provided, and if so, the operation interface is not provided.
When the existing notification mode is the silent mode, the detection is performed before the start time of the schedule event, and for each schedule event, the start time, the end time and the execution time period are corresponding to each schedule event, and by determining the start time of each schedule event, a trigger time can be set according to the start time to detect whether the notification mode of the electronic device is the silent mode, for example, the start time is 6 am, and if the trigger time is reached, the trigger time can be set to be any one of 5:50, 6:00 or 5:55, and the like, so as to detect whether the notification mode of the electronic device is the silent mode.
It is understood that the trigger time may be any time point before the start time, and the time point may include the start time, or may be any time period before the start time, so as to detect, multiple times during the time period, whether the notification mode of the electronic device is a mute mode. The triggering time may be set before the starting time, and the triggering time may be earlier than a preset duration of the starting time, where the preset duration may be set by the electronic device to default 0 minutes, 3 minutes, 5 minutes, 10 minutes, and the like, or may be set by user-definition, and is not limited herein.
In this embodiment, whether the notification mode of the electronic device is the mute mode is detected before the start time, and whether the notification mode of the electronic device has been adjusted to the mute mode by the user before the start time can be determined accordingly.
In some embodiments, 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 method further comprises:
detecting whether the operation interface receives a confirmation operation within a preset time length;
if yes, executing a confirmation operation received by the response operation interface, and adjusting the notification mode of the electronic equipment to a mute mode;
if not, acquiring the environmental audio information in the current scene;
and if the environment audio information contains the audio information corresponding to the mute scene, adjusting the notification mode of the electronic equipment to be a mute mode.
After providing the operation interface, the operation interface may be displayed for a preset time period, so that when the operation interface receives a confirmation operation within the preset time period, the electronic device may adjust the notification mode to the mute mode in response to the confirmation operation. It will be appreciated that when the operation interface receives a cancel operation within a preset time period, the electronic device may not adjust the notification mode in response to the cancel operation, and if after the preset time period, the operation interface may cancel the display.
As described above, when the user performs the confirmation operation or the cancel operation on the operation interface, the electronic apparatus cancels the display at the same time as responding to the confirmation operation or the cancel operation.
For example, if the confirmation operation is not received within the preset time period and the existing notification mode of the electronic device is the non-mute mode, it is indicated that the notification mode of the electronic device is not adjusted to the mute mode. In this case, the microphone of the electronic device may be controlled to be activated, so as to collect the environmental audio information in the current scene through the microphone, and further, by analyzing the environmental audio information, determine whether the environmental audio information includes the audio information corresponding to the mute scene, if so, it is indicated that the user is executing the trip item, and the notification mode of the electronic device may be adjusted to the mute mode. If not, it is indicated that the user does not execute the travel item, and the notification mode of the electronic device may not be adjusted.
For example, when the travel event is a movie event, the collected environmental audio information should include movie titles, which are audio information corresponding to mute scenes. For another example, if the trip item is a trip item, the collected environmental audio information should include boarding prompt tones of flights broadcasted by the waiting hall, where the boarding prompt tones are audio information corresponding to a mute scene. For another example, if the travel item is a conference item, the collected environmental audio information should include audio information related to a conference theme, where the audio information related to the conference theme is the audio information corresponding to a mute scene.
In this embodiment, when the operation interface does not receive the confirmation operation, the environmental audio information may be collected to determine whether the current user is executing the travel item by analyzing the environmental audio information, and when the current user is executing the travel item, the notification mode of the electronic device may be directly controlled to be adjusted to the mute mode. In addition, when it is determined that the user does not execute the travel item, the notification mode of the electronic device may not be adjusted, so that the user can timely learn about the important notification message.
In some embodiments, determining the current scene in which the current user is located according to the travel item includes:
acquiring scene information of the travel item;
determining a scene indicated by the scene information as a candidate scene;
acquiring the current position of the electronic equipment;
and if the current position is consistent with the scene position of the candidate scene, determining the candidate scene as the current scene.
In general, a scene indicated by a trip item is regarded as a current scene, but there are also cases where the current user does not execute the trip item, and therefore, in the present embodiment, a step of judging the current scene is also proposed to execute the control method of the notification mode as mentioned in the above embodiment when the current scene coincides with the scene indicated by the trip item.
For example, the scenario information may be obtained from the trip item, where the scenario information may be an execution location of the trip item, may be a subject of the trip item, or may be an item type of the trip item, and since there are various manners available, it is not listed here, depending on a specific content or form of the trip item, and in general, the execution location of the trip item is regarded as the scenario information.
The scene information of the travel item is obtained after the travel item is obtained, and the travel item is obtained after a new to-be-reminded item is added in the electronic equipment or the new travel item is obtained according to user behavior data.
In this embodiment, the scene indicated by the scene information of the travel item is referred to as a candidate scene in advance, and when the current position of the electronic device is acquired before the start time of the travel item and the current position matches the scene position of the candidate scene, it is explained that the user is executing the travel item, and the candidate scene can be identified as the current scene. Or, the current position of the electronic device may be obtained when the travel event starts, or the current position of the electronic device may be obtained within a period of time after the start time of the travel event, and then the current position may be compared with the scene position, so as to determine that the current user is in the current scene when the current position is consistent with the scene position.
In this embodiment, by comparing the scene position with the current position of the electronic device, it can be accurately determined whether the current user is executing the travel item, and then the accuracy of controlling the notification mode of the electronic device can be improved.
In some embodiments, the muting pattern comprises a plurality of sub-muting patterns; adjusting a notification mode of an electronic device to a mute mode, comprising:
determining a target sub-mute mode corresponding to the current scene according to the scene type of the current scene;
the notification mode of the electronic device is adjusted to a target sub-mute mode.
In this embodiment, the mute mode includes a plurality of sub-mute modes, and a corresponding target sub-mute mode may be set for the sub-mute mode according to scene types of different current scenes, where the sub-mute mode may be a mute mode well known to those skilled in the art, or may be a flight mode, or may be a sleep mode, or the like.
The corresponding relation between the scene type and various mute modes can be preset, for example, a riding scene is set to correspond to a flight mode, a conference scene is set to correspond to a mute mode, a film watching scene is set to correspond to a mute mode, and a meditation scene is set to correspond to a sleep mode. It will be appreciated that the correspondence between scene type and mute mode may depend on the usage habits of the user.
After determining the target sub-mute mode corresponding to the current scene according to the scene type, the notification mode of the electronic device may be adjusted to the target sub-mute mode. It may be appreciated that, if the existing notification mode is one of the mute modes, according to the scheme provided in the embodiment, the existing notification mode may be adjusted to the target sub-mute mode, for example, if the existing notification mode is the mute mode, and if the target sub-mute mode is the flight mode, the electronic device may be adjusted from the mute mode to the flight mode. Of course, if the existing notification mode is consistent with the target sub-mute mode, the notification mode of the electronic device may not be adjusted.
According to the embodiment, different sub-mute modes are matched for different current scenes, so that the notification mode of the electronic equipment can be adjusted to be the target sub-mute mode which is suitable for the current scene, the conventional mode setting mode is more attached, and convenience is brought to users.
In some embodiments, after adjusting the notification mode of the electronic device to the mute mode, the method further comprises:
if the notification message is received in the execution time period of the travel item, determining the importance level of the notification message;
When the importance level is greater than the preset level, controlling the electronic equipment to start at least one of a bright screen mode and a headset mode so as to prompt the notification message.
In this embodiment, in the case where the electronic device has been adjusted to the mute mode, the importance level of the notification message is determined every time the electronic device receives the notification message in the execution period of the travel event, so as to control the screen of the electronic device to light up or the indicator light to flash when the notification message is an important message, or to output the notification message to the headphones to play when it is detected that the electronic device is connected to the headphones, wherein when the headphone mode is enabled, the headphone volume of the electronic device can be adaptively adjusted so that the user can hear the alert tone of the notification message.
In an example, the manner of determining the importance level of the notification message may be to determine identity information of the sender of the notification message, for example, if a phone is received, then determine whether the caller of the phone belongs to a user with notes in a phone list of the current user, such as notes of family, colleagues, friends, etc. For another example, if a WeChat message is received, it may be determined whether a WeChat friend sent to the WeChat message has a star flag set.
In another example, the manner of determining the importance level of the notification message may be to determine the sending address of the notification message, and if the sending address is a home address, a company address, a public security office address, a hospital address, or the like, which is more important, the notification message may be determined to be more important.
In this embodiment, when the current user is in a mute scene, the current user can be reminded of the important notification message received by the electronic device in other modes (such as an earphone mode or a bright screen mode), so that, on one hand, the current user can be prevented from being disturbed by other users in the same mute scene, and on the other hand, the current user can be prevented from losing the important notification message because the current user cannot know the important notification message in time, so that great convenience is provided for life of the user.
In some embodiments, after adjusting the notification mode of the electronic device to the mute mode, further comprising:
determining an end time of the travel event;
after the end time, the notification mode before the electronic device goes to the mute mode is resumed.
In this embodiment, the end time of the travel item may be predetermined, so that after the end time, the original notification mode of the electronic device, that is, the notification mode before the adjustment to the mute mode, is restored.
It should be noted that, the ending time in this embodiment may include an ending time, and the notification mode of the electronic device may be restored within a period of time after the ending time, where the period of time may be 0 minutes, 3 minutes, 5 minutes, 10 minutes, and so on, and may be specific according to the actual situation.
Naturally, after the ending time, the environmental audio information can be collected again through the microphone to judge whether the environmental audio information contains the audio information corresponding to the mute scene, if so, the time for recovering the notification mode of the electronic equipment is delayed, and if not, the notification mode of the electronic equipment is directly recovered. The deferred time may be a default time, or may be a time preset by the user, which may be specifically determined according to the actual requirement, and is not limited herein.
In this embodiment, after the trip event is executed, the electronic device may be further restored to the notification mode before the mute mode, so that it is possible to avoid that the user forgets to manually restore the notification mode and cannot receive the notification message in time, and then, the notification mode may be adaptively restored according to the current scenario, so that it is possible to avoid the user to manually adjust the notification mode, and the use of the electronic device is convenient.
In summary, the method for controlling the notification mode provided by the embodiment of the application can judge whether the current scene where the current user is located is a mute scene or not before executing the travel event, and if the current scene is the mute scene, the notification mode of the electronic device can be obtained, so that when the existing notification mode is a non-mute mode, the notification mode of the electronic device is controlled to be adjusted to be the mute mode, thereby avoiding the user from manually adjusting the notification mode and improving the adjustment convenience. When the notification mode is adjusted, an operation interface for adjusting the notification mode can be provided, so that the current user can conveniently execute confirmation operation on the operation interface, and further the notification mode is directly controlled to be adjusted to be in a mute mode. In addition, when the operation interface does not receive the confirmation operation, the microphone can be started to collect the environmental audio information so as to judge whether the environmental audio information contains the audio information corresponding to the mute scene, if so, the current user is judged to be executing the travel item, the notification mode can be directly controlled to be adjusted to the mute mode, and the interference to other users in the same mute scene when the electronic equipment receives the notification message is avoided. And secondly, if an important notification message is received in the process of executing the travel item, the notification message can be prompted in a screen-lighting mode or an earphone mode, so that the current user is prevented from missing an important message prompt, and the user rights and interests are ensured. Moreover, the notification mode can be restored after the end time of the travel event, so that the method is suitable for the daily use habit of the user and brings convenience to the user.
The present application provides a method for controlling a notification mode provided by an embodiment of the present application in detail in an application scenario, in which a travel item is a viewing item, and a current scenario of the viewing item is a viewing scenario, where the viewing scenario is a mute scenario, please refer to fig. 4, and fig. 4 is a flow chart diagram of the notification mode provided by the embodiment of the present application when the control method is applied to the viewing scenario, specifically as follows:
if the current travel item is a viewing item, determining that the current user is in a viewing scene;
detecting whether a notification mode of the electronic device is a mute mode before a start time of a movie viewing item;
if not, providing an operation interface for adjusting the notification mode;
judging whether the operation interface receives a confirmation operation within a preset time length;
if yes, the notification mode of the electronic equipment is adjusted to be a mute mode;
if not, collecting the environmental audio information in the video watching scene;
judging whether the environment audio information contains target audio information of a target video program, wherein the target video program is the video program contained in the movie watching matters, and the target audio information can be a propaganda film used for propaganda of the target video program or a film head of the target video program;
If yes, executing the step of adjusting the notification mode of the electronic equipment to a mute mode;
after the step of adjusting the notification mode of the electronic device to the mute mode is performed, an end time of the travel item may also be determined to resume the notification mode before the electronic device was brought to the mute mode after the end time.
As can be seen from the above, when the method provided by the embodiment of the application is applied to a viewing scene, the prompt tone of the electronic device can be prevented from interfering with other users, which is beneficial to creating a good viewing atmosphere, thereby providing an immersive viewing experience for the users.
In an embodiment, a control device 200 for a notification mode is also provided. Referring to fig. 5, fig. 5 is a schematic structural diagram of a notification mode control device 200 according to an embodiment of the application. Wherein the control device 200 of the notification mode is applied to the electronic apparatus, the control device 200 of the notification mode includes:
a transaction acquisition module 201, configured to acquire a current user's travel transaction recorded in the electronic device;
the item analysis module 202 is configured to determine, according to the travel item, a current scenario in which the current user is located;
the mode adjustment module 203 is configured to adjust the notification mode of the electronic device to a mute mode if the current scene is a mute scene.
In some embodiments, the mode adjustment module 203 is further configured to, prior to adjusting the notification mode of the electronic device to the mute mode:
providing an operation interface for adjusting a notification mode;
and responding to the confirmation operation received by the operation interface, and adjusting the notification mode of the electronic equipment to a mute mode.
In some embodiments, the mode adjustment module 203 is further configured to:
determining a start time of a travel event;
an operation interface for adjusting the notification mode is provided before the start time.
In some embodiments, the control apparatus 200 of notification mode further includes 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:
detecting whether the operation interface receives a confirmation operation within a preset time length;
if yes, executing a confirmation operation received by the response operation interface, and adjusting the notification mode of the electronic equipment to a mute mode;
if not, controlling the microphone to be started through the microphone control module 204 so as to acquire the environmental audio information in the current scene;
if the environmental audio information includes audio information corresponding to a mute scene, the notification mode of the electronic device is adjusted to the mute mode by the mode adjustment module 203.
In some embodiments, the transaction analysis module 202 is further to:
acquiring scene information of the travel item;
determining a scene indicated by the scene information as a candidate scene;
acquiring the current position of the electronic equipment;
and if the current position is consistent with the scene position of the candidate scene, determining the candidate scene as the current scene.
In some embodiments, the mode adjustment module 203 is further configured to:
determining a target sub-mute mode corresponding to the current scene according to the scene type of the current scene;
the notification mode of the electronic device is adjusted to a target sub-mute mode.
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:
determining an end time of the travel event;
after the end time, the notification mode before the electronic device goes to the mute mode is resumed.
It should be noted that, the control device 200 for the notification mode provided in the embodiment of the present application belongs to the same concept as the control method for the notification mode in the above embodiment, and any method provided in the control method embodiment for the notification mode may be implemented by the control device 200 for the notification mode, and detailed implementation processes of the method are shown in the control method embodiment for the notification mode, which is not described herein.
As can be seen from the above, the control device 200 of the notification mode provided in the embodiment of the present application can determine whether the current scene where the current user is located is a mute scene before executing the travel event, and if the current scene is a mute scene, can obtain the notification mode of the electronic device, so as to control the notification mode of the electronic device to be adjusted to the mute mode when the existing notification mode is a non-mute mode, thereby avoiding the user from manually adjusting the notification mode and improving the adjustment convenience. When the notification mode is adjusted, an operation interface for adjusting the notification mode can be provided, so that the current user can conveniently execute confirmation operation on the operation interface, and further the notification mode is directly controlled to be adjusted to be in a mute mode. In addition, when the operation interface does not receive the confirmation operation, the microphone can be started to collect the environmental audio information so as to judge whether the environmental audio information contains the audio information corresponding to the mute scene, if so, the current user is judged to be executing the travel item, the notification mode can be directly controlled to be adjusted to the mute mode, and the interference to other users in the same mute scene when the electronic equipment receives the notification message is avoided. And secondly, if an important notification message is received in the process of executing the travel item, the notification message can be prompted in a screen-lighting mode or an earphone mode, so that the current user is prevented from missing an important message prompt, and the user rights and interests are ensured. Moreover, the notification mode can be restored after the end time of the travel event, so that the method is suitable for the daily use habit of the user and brings convenience to the user.
The embodiment of the application also provides electronic equipment which can be a terminal, such as a mobile device like a smart phone, a smart watch, a folding screen mobile phone, a tablet personal computer and the like, and also can be a device with an audio playing function like a smart screen, a television, a smart robot and the like. Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application, as shown in fig. 6. 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. It will be appreciated by those skilled in the art that the electronic device structure shown in the figures is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The processor 301 is a control center of the electronic device 300, connects various portions of the entire electronic device 300 using various interfaces and lines, and performs 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 invoking data stored in the memory 302, thereby performing overall monitoring of the electronic device 300.
In the embodiment 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 according to the following steps, and the processor 301 executes the application programs stored in the memory 302, so as to implement various functions:
acquiring travel items of a current user of the electronic equipment;
determining a current scene of a current user according to the travel item;
and if the current scene is a mute scene, adjusting the notification mode of the electronic equipment to be a mute mode.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Optionally, as shown in fig. 6, the electronic device 300 further includes: a touch display 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 to the touch display 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307, respectively. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 6 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The touch display 303 may be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display 303 may include a display panel and a touch panel. Wherein the display panel may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of the electronic device, which may be composed of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations on or near the user (such as operations on or near the touch panel by the user using any suitable object or accessory such as a finger, stylus, etc.), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 301, and can receive and execute commands sent from the processor 301. The touch panel may overlay the display panel, and upon detection of a touch operation thereon or thereabout, the touch panel is passed to the processor 301 to determine the type of touch event, and the processor 301 then provides a corresponding visual output on the display panel in accordance with the type of touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 303 to realize the input and output functions. In some embodiments, however, the touch panel and the display panel may be implemented as two separate components to implement the input and output functions. I.e. the touch-sensitive display 303 may also implement an input function as part of the input unit 306.
The radio frequency circuit 304 may be configured to receive and transmit radio frequency signals to and from a network device or other electronic device via wireless communication to and from the network device or other electronic device.
The audio circuit 305 may be used to provide an audio interface between a user and an electronic device through a speaker, microphone. The audio circuit 305 may transmit the received electrical signal after audio data conversion to a speaker, and convert the electrical signal into a sound signal for output by the speaker; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 305 and converted into audio data, which are processed by the audio data output processor 301 for transmission to, for example, another electronic device via the radio frequency circuit 304, or which are output to the memory 302 for further processing. The audio circuit 305 may also include an ear bud jack to provide communication of the peripheral headphones with the electronic device.
The input unit 306 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 307 is used to power the various components of the electronic device 300. Alternatively, the power supply 307 may be logically connected to the processor 301 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system. The power supply 307 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown in fig. 6, the electronic device 300 may further include a positioning module, a WIFI module, a bluetooth module, etc., which will not be described herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
As can be seen from the above, the electronic device provided in this embodiment can determine whether the current scene where the current user is located is a mute scene before executing the travel event, and if so, can acquire the notification mode of the electronic device, so as to control the notification mode of the electronic device to be adjusted to the mute mode when the existing notification mode is a non-mute mode, thereby avoiding the user from manually adjusting the notification mode and improving the adjustment convenience. When the notification mode is adjusted, an operation interface for adjusting the notification mode can be provided, so that the current user can conveniently execute confirmation operation on the operation interface, and further the notification mode is directly controlled to be adjusted to be in a mute mode. In addition, when the operation interface does not receive the confirmation operation, the microphone can be started to collect the environmental audio information so as to judge whether the environmental audio information contains the audio information corresponding to the mute scene, if so, the current user is judged to be executing the travel item, the notification mode can be directly controlled to be adjusted to the mute mode, and the interference to other users in the same mute scene when the electronic equipment receives the notification message is avoided. And secondly, if an important notification message is received in the process of executing the travel item, the notification message can be prompted in a screen-lighting mode or an earphone mode, so that the current user is prevented from missing an important message prompt, and the user rights and interests are ensured. Moreover, the notification mode can be restored after the end time of the travel event, so that the method is suitable for the daily use habit of the user and brings convenience to the user.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium in which a plurality of computer programs are stored, the computer programs being capable of being loaded by a processor to perform steps in any one of the notification mode control methods provided by the embodiment of the present application. For example, the computer program may perform the steps of:
acquiring travel items of a current user of the electronic equipment;
determining a current scene of a current user according to the travel item;
and if the current scene is a mute scene, adjusting the notification mode of the electronic equipment to be a mute mode.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like. The steps in the control method of any notification mode provided by the embodiment of the present application can be executed by the computer program stored in the storage medium, so that the beneficial effects that can be achieved by the control method of any notification mode provided by the embodiment of the present application can be achieved, which are detailed in the previous embodiments and are not described herein.
The above describes in detail a control method, device, medium and electronic equipment of a notification mode provided by the embodiment of the present application, and specific examples are applied to describe the principles and embodiments of the present application, where the description of the above embodiment is only used to help understand the method and core idea of the present application; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the ideas of the present application, the present description should not be construed as limiting the present application in summary.

Claims (10)

1. A control method of a notification mode, applied to an electronic device, characterized by comprising:
acquiring travel items of a current user of the electronic equipment;
determining a current scene of the current user according to the travel item;
and if the current scene is a mute scene, adjusting the notification mode of the electronic equipment to be a mute mode.
2. The method of claim 1, wherein prior to the adjusting the notification mode of the electronic device to the mute mode, the method further comprises:
providing an operation interface for adjusting a notification mode;
and responding to the confirmation operation received by the operation interface, and adjusting the notification mode of the electronic equipment to a mute mode.
3. The method of claim 2, wherein providing an operation interface for adjusting a notification mode comprises:
determining a start time of the travel event;
the operation interface for adjusting a notification mode is provided before the start time.
4. The method of claim 2, wherein before the adjusting the notification mode of the electronic device to the mute mode in response to the confirmation operation received by the operation interface, the method further comprises:
detecting whether the operation interface receives confirmation operation within a preset duration;
if yes, responding to the confirmation operation received by the operation interface, and adjusting the notification mode of the electronic equipment to a mute mode;
if not, acquiring the environmental audio information in the current scene;
and if the environment audio information contains the audio information corresponding to the mute scene, adjusting the notification mode of the electronic equipment to be a mute mode.
5. The method of claim 1, wherein the determining the current scene in which the current user is located based on the travel item comprises:
acquiring scene information of the travel item;
Determining a scene indicated by the scene information as a candidate scene;
acquiring the current position of the electronic equipment;
and if the current position is consistent with the scene position of the candidate scene, determining the candidate scene as the current scene.
6. The method of claim 1, wherein the mute mode comprises a plurality of sub-mute modes, the adjusting the notification mode of the electronic device to the mute mode comprising:
determining a target sub-mute mode corresponding to the current scene according to the scene type of the current scene;
and adjusting the notification mode of the electronic equipment to the target sub-mute mode.
7. The method of any of claims 1 to 6, wherein after the adjusting the notification mode of the electronic device to the mute mode, the method further comprises:
determining an end time of the travel event;
and restoring the notification mode before the electronic equipment reaches the mute mode after the ending time.
8. A control device of a notification mode, applied to an electronic device, characterized by comprising:
the item acquisition module is used for acquiring the travel item of the current user recorded in the electronic equipment;
The item analysis module is used for determining a current scene of the current user according to the travel item;
and the mode adjustment module is used for adjusting the notification mode of the electronic equipment to a mute mode if the current scene is a mute scene.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when run on a computer, causes the computer to execute the control method of the notification mode according to any one of claims 1 to 7.
10. An electronic device comprising a processor and a memory, the memory storing a computer program, characterized in that the processor is adapted to execute the control method of the notification mode according to any of claims 1 to 7 by invoking the computer program.
CN202210471202.9A 2022-04-28 2022-04-28 Control method and device of notification mode, storage medium and electronic equipment Pending CN117014548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210471202.9A CN117014548A (en) 2022-04-28 2022-04-28 Control method and device of notification mode, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210471202.9A CN117014548A (en) 2022-04-28 2022-04-28 Control method and device of notification mode, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117014548A true CN117014548A (en) 2023-11-07

Family

ID=88560579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210471202.9A Pending CN117014548A (en) 2022-04-28 2022-04-28 Control method and device of notification mode, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117014548A (en)

Similar Documents

Publication Publication Date Title
CN107005612B (en) Digital assistant alarm system
CN107509153B (en) Detection method and device of sound playing device, storage medium and terminal
CN107580113B (en) Reminding method, device, storage medium and terminal
WO2018045536A1 (en) Sound signal processing method, terminal, and headphones
CN105554522B (en) Method, server and the terminal of audio are played in group
KR20160143429A (en) Mobile terminal and method for controlling the same
KR20140074549A (en) Method and apparatus for providing context aware service using speech recognition
KR20140018032A (en) Method and apparatus for alarm service using context aware in portable terminal
CN107371102B (en) Audio playing volume control method and device, storage medium and mobile terminal
WO2020006711A1 (en) Message playing method and terminal
CN108322614B (en) Event reminding method and device, storage medium and electronic equipment
CN107026933A (en) A kind of information management method, device and intelligent terminal for opening application more
KR20180076830A (en) Audio device and method for controlling the same
CN108494970A (en) Processing method, device, storage medium and the terminal of terminal's status information
CN107888480A (en) Prompting message processing method, device, storage medium and mobile terminal
CN106599101B (en) System and method for automatically playing audio and video files
CN111461649B (en) Event reminding method and electronic equipment
US9430988B1 (en) Mobile device with low-emission mode
CN117014548A (en) Control method and device of notification mode, storage medium and electronic equipment
CN106210325B (en) Method, device and terminal for setting incoming call ringtone of social application
CN113395203B (en) Information processing method, device, server, user terminal and storage medium
CN112435441B (en) Sleep detection method and wearable electronic device
CN112449052B (en) Method and device for adjusting electric quantity prompt, terminal and storage medium
CN108924921B (en) Time synchronization control method, device, storage medium, terminal and system
CN113170014B (en) Alarm clock playing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination