WO2017166753A1 - 一种手机声音模式自动切换的方法、装置和电子设备 - Google Patents
一种手机声音模式自动切换的方法、装置和电子设备 Download PDFInfo
- Publication number
- WO2017166753A1 WO2017166753A1 PCT/CN2016/100251 CN2016100251W WO2017166753A1 WO 2017166753 A1 WO2017166753 A1 WO 2017166753A1 CN 2016100251 W CN2016100251 W CN 2016100251W WO 2017166753 A1 WO2017166753 A1 WO 2017166753A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sound mode
- event
- mode
- current
- entire entire
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
Definitions
- the present application relates to the field of electronic technologies, and in particular, to a method, an apparatus, and an electronic device for automatically switching a voice mode of a mobile phone.
- Mobile phones are an indispensable tool in modern life, and they are many inseparable partners. However, in some occasions, such as conferences and concerts, the user may forget to switch the mobile phone to the silent mode; in other occasions, such as after work, the user may forget to switch the voice mode of the mobile phone from the silent mode to the default mode.
- the technical problem to be solved by the present application is how to realize automatic switching of the sound mode of the mobile phone.
- the embodiment of the present application provides a method for automatically switching a voice mode of a mobile phone, including: acquiring an event reminder, wherein the event is set to correspond to a first sound mode and includes a start time; and extracting a first corresponding to the event Sound mode and start time; when the event starts, judge Whether the current sound mode is the same as the first sound mode; when it is determined that the current sound mode is different from the first sound mode, the current sound mode is switched to the first sound mode.
- the event is set to further include an end time; the method further comprises: extracting an end time of the event; when the event ends, determining whether the current sound mode is the same as the first sound mode; when determining the current sound When the mode is the same as the first sound mode, the current sound mode is switched to the default sound mode.
- the current sound mode is not switched.
- the event comprises: a conference, a movie, a concert; and the first sound mode is a silent mode.
- the event comprises: sports, commuting, shopping; the first sound mode is an outdoor mode.
- the embodiment of the present application further provides an apparatus for automatically switching a sound mode of a mobile phone, comprising: an event reminding acquisition module, configured to acquire an event reminder, wherein the event is set to correspond to a first sound mode and includes a start time; and an extraction module, a sound mode determining module, configured to: when the event starts, determining whether the current sound mode is the same as the first sound mode; the sound mode switching module is configured to be When the event starts, and when the sound mode determination module determines that the current sound mode is different from the first sound mode, the current sound mode is switched to the first sound mode.
- the event is set to include an end time; the extracting module is further configured to: extract an end time of the event; the sound mode determining module is further configured to: when the event ends, determine a current sound mode and Whether the first sound mode is the same; the sound mode switching module is further configured to switch the current sound mode to the default sound mode when the event ends, and when the sound mode determining module determines that the current sound mode is the same as the first sound mode .
- the sound mode switching module is further configured to: when the event ends, and when the sound mode determining module determines that the current sound mode is different from the first sound mode, does not switch the current sound mode.
- the event comprises: a meeting, a movie, a concert; the first sound mode is mute mode.
- the event comprises: sports, commuting, shopping; the first sound mode is an outdoor mode.
- the method and device for automatically switching the sound mode of the mobile phone in the embodiment of the present application automatically set the corresponding sound mode for the event and automatically trigger the switching of the sound mode by using the event reminder, thereby realizing the automatic switching of the sound mode and improving the user experience.
- An embodiment of the present application further provides an electronic device including at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor The instructions are executed by the at least one processor to enable the at least one processor to acquire an event reminder, wherein the event is set to correspond to a first sound mode and includes a start time; extracting a corresponding one of the events a sound mode and a start time; when the event starts, determining whether the current sound mode is the same as the first sound mode; and when determining that the current sound mode is different from the first sound mode, switching the current sound mode to the first sound mode.
- the event is set to further include an end time; extracting an end time of the event; and when the event ends, determining whether the current sound mode is the same as the first sound mode; When it is judged that the current sound mode is the same as the first sound mode, the current sound mode is switched to the default sound mode.
- the current sound mode is not switched.
- the event includes: a conference, a movie, a concert; and the first sound mode is a silent mode.
- the event includes: sports, commuting, shopping; the first sound mode is an outdoor mode.
- the embodiment of the present application further provides a non-volatile computer storage medium, the storage medium storing the computer-executable instructions of the computer-executable instructions, when executed by the electronic device, enabling the electronic device to acquire an event reminder, wherein
- the event is set to correspond to the first sound mode and includes a start time; extracting a first sound mode and a start time corresponding to the event; At the beginning of the event, it is determined whether the current sound mode is the same as the first sound mode; when it is determined that the current sound mode is different from the first sound mode, the current sound mode is switched to the first sound mode.
- the event is set to further include an end time; extracting an end time of the event; and when the event ends, determining whether the current sound mode is the same as the first sound mode; When it is judged that the current sound mode is the same as the first sound mode, the current sound mode is switched to the default sound mode.
- the storage medium preferably does not switch the current sound mode when the event ends, and when it is determined that the current sound mode is different from the first sound mode.
- the event includes: a conference, a movie, a concert; and the first sound mode is a silent mode.
- the event includes: sports, commuting, shopping; the first sound mode is an outdoor mode.
- the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
- the computer is caused to perform the method of any of the above.
- FIG. 1 is a flowchart of a method for automatically switching a voice mode of a mobile phone according to an embodiment of the present application
- FIG. 2 is a structural block diagram of an apparatus for automatically switching a voice mode of a mobile phone according to an embodiment of the present application
- FIG. 3 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present application.
- connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
- connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
- an embodiment of the present application provides a method for automatically switching a voice mode of a mobile phone.
- the event is set to correspond to the first sound mode and includes a start time.
- the event is a conference, corresponding to the silent mode, and the start time is 9:30 AM.
- the event reminder can be set in the calendar application.
- the embodiment of the present application only needs to add parameters such as a sound mode and a start time to the event reminder in the calendar.
- a notification bar plug-in can be added, through which the parameters such as the sound mode and the start time of the event are obtained.
- the current sound mode is not switched, that is, the current sound mode is maintained.
- the sound mode is automatically triggered by using the event reminder to set the corresponding sound mode in advance, thereby automatically switching the sound mode and improving the user experience.
- the event is set to further include an end time, and includes the following steps;
- the current sound mode is switched to the default sound mode, and specifically, the default mode may be the normal mode.
- the sound mode is switched to the silent mode, and after the conference ends, the mode is automatically switched to the default mode, thereby avoiding the user forgetting to switch the sound mode and causing missed calls or messages.
- the current sound mode is not switched.
- the current sound mode is switched to the first sound mode, so when the event ends, the current sound mode should be maintained in the first sound mode, and if the current sound mode is different from the first sound mode , the user has changed the sound mode by himself, so there is no need to switch the sound mode.
- the events include, but are not limited to, a conference, a movie, a concert; and the corresponding first sound mode is a silent mode.
- the events include, but are not limited to, sports, commuting, shopping;
- the corresponding first sound mode is an outdoor mode, in the outdoor mode, the sound is larger than the normal mode, and the vibration is turned on.
- the embodiment of the present application further provides an apparatus for automatically switching a voice mode of a mobile phone, including:
- the event reminder obtaining module 1 is configured to acquire an event reminder, wherein the event is set to correspond to the first sound mode and includes a start time.
- the extraction module 2 is configured to extract a first sound mode and a start time corresponding to the event.
- the sound mode determining module 3 is configured to determine whether the current sound mode is the same as the first sound mode when the event starts.
- the sound mode switching module 4 is configured to switch the current sound mode to the first sound mode when the event starts, and when the sound mode determining module determines that the current sound mode is different from the first sound mode.
- the apparatus for automatically switching the sound mode of the embodiment of the present application automatically switches the sound mode by setting a corresponding sound mode for the event in advance and using the event reminder, thereby realizing automatic switching of the sound mode and improving the user experience.
- the event is set to also include an end time, whereby:
- the extraction module is further configured to extract an end time of the event
- the sound mode determining module is further configured to: when the event ends, determine whether the current sound mode is the same as the first sound mode;
- the sound mode switching module is further configured to: when the event ends, and when the sound mode determining module determines that the current sound mode is the same as the first sound mode, switching the current sound mode to a default Sound mode.
- the sound mode switching module is further configured to: when the event ends, and when the sound mode determining module determines that the current sound mode is different from the first sound mode, does not switch the current sound mode.
- the event includes, but is not limited to, a conference, a movie, a concert; and the corresponding first sound mode is a silent mode.
- the event includes, but is not limited to, sports, commuting, shopping; the corresponding first sound mode is an outdoor mode.
- the present application also provides an electronic device including at least one processor 810; and a memory 800 communicably coupled to the at least one processor 810; wherein the memory 800 is stored with the At least one processor 810 executing instructions that are executed by the at least one processor 810 to enable the at least one processor 810 to acquire an event reminder, wherein the event is set to correspond to the first sound mode and includes a start time; extracting a first sound mode and a start time corresponding to the event; determining, when the event starts, whether the current sound mode is the same as the first sound mode; and when determining that the current sound mode is different from the first sound mode, switching The current sound mode is the first sound mode.
- the event is set to further include an end time; extracting an end time of the event; and when the event ends, determining whether the current sound mode is the same as the first sound mode; When it is determined that the current sound mode is the same as the first sound mode, the current sound mode is switched to the default sound mode.
- the current sound mode is not switched.
- the event includes: a conference, a movie, a concert; and the first sound mode is a silent mode.
- the event includes: sports, commuting, shopping; the first sound mode is an outdoor mode.
- the embodiment of the present application further provides a non-volatile computer storage medium, the storage medium storing the computer-executable instructions of the computer-executable instructions, when executed by the electronic device, enabling the electronic device to acquire an event reminder, wherein
- the event is set to correspond to the first sound mode and includes a start time; extracting a first sound mode and a start time corresponding to the event; when the event starts, determining whether the current sound mode is the same as the first sound mode; When it is determined that the current sound mode is different from the first sound mode, the current sound mode is switched to the first sound mode.
- the event is set to further include an end time; extracting an end time of the event; and when the event ends, determining a current sound mode and the first sound Whether the modes are the same; when it is judged that the current sound mode is the same as the first sound mode, the current sound mode is switched to the default sound mode.
- the nonvolatile computer storage medium of the embodiment preferably does not switch the current sound mode when the event ends and when it is determined that the current sound mode is different from the first sound mode.
- the event includes: a conference, a movie, a concert; and the first sound mode is a silent mode.
- the event includes: sports, commuting, shopping; the first sound mode is an outdoor mode.
- the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
- the computer is caused to perform the method described in the above embodiments.
- embodiments of the present application can be provided as a method, system, or computer program product.
- the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
- the present application may employ computer-usable storage media (including but not included in one or more computer-usable program code(s). It is limited to the form of a computer program product implemented on a disk storage, a CD-ROM, an optical storage, or the like.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
本申请公开了一种手机声音模式自动切换的方法、装置和电子设备,其中该方法包括:获取事件提醒,其中,所述事件设置为对应第一声音模式且包括开始时间;提取所述事件对应的第一声音模式和开始时间;当所述事件开始时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式不同时,切换当前声音模式为第一声音模式。由此实现了声音模式的自动切换,提高了用户体验。
Description
交叉引用
本申请为在2016年04月01日提交中国专利局、申请号为201610204234.7、发明名称为“一种手机声音模式自动切换的方法和装置”的中国专利申请的继续申请,本申请要求在2016年04月01日提交中国专利局、申请号为201610204234.7、发明名称为“一种手机声音模式自动切换的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及电子技术领域,具体涉及一种手机声音模式自动切换的方法、装置和电子设备。
手机是现代生活中不可或缺的重要工具,是很多人形影不离的伙伴。然而在一些场合,比如会议,音乐会,用户可能忘记把手机切换成静音模式;而在另一些场合,比如下班后,用户又可能忘记把手机的声音模式从静音模式切换成默认模式。
发明内容
因此,本申请要解决的技术问题在于如何实现手机声音模式的自动切换。
为此,本申请实施例提供了一种手机声音模式自动切换的方法,包括:获取事件提醒,其中,所述事件设置为对应第一声音模式且包括开始时间;提取所述事件对应的第一声音模式和开始时间;当所述事件开始时,判断
当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式不同时,切换当前声音模式为第一声音模式。
优选地,所述事件设置为还包括结束时间;所述方法还包括:提取所述事件的结束时间;当所述事件结束时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式相同时,切换当前声音模式为默认声音模式。
优选地,当所述事件结束时,且当判断当前声音模式与第一声音模式不同时,不切换当前声音模式。
优选地,所述事件包括:会议,电影,音乐会;第一声音模式是静音模式。
优选地,所述事件包括:运动,通勤,逛街;第一声音模式是户外模式。
本申请实施例还提供了一种手机声音模式自动切换的装置,包括:事件提醒获取模块,用于获取事件提醒,其中,所述事件设置为对应第一声音模式且包括开始时间;提取模块,用于提取所述事件对应的第一声音模式和开始时间;声音模式判断模块,用于当所述事件开始时,判断当前声音模式与第一声音模式是否相同;声音模式切换模块,用于当所述事件开始时,且当所述声音模式判断模块判断当前声音模式与第一声音模式不同时,切换当前声音模式为第一声音模式。
优选地,所述事件设置为包括结束时间;所述提取模块还用于,提取所述事件的结束时间;所述声音模式判断模块还用于,当所述事件结束时,判断当前声音模式与第一声音模式是否相同;声音模式切换模块还用于,当所述事件结束时,且当所述声音模式判断模块判断当前声音模式与第一声音模式相同时,切换当前声音模式为默认声音模式。
优选地,所述声音模式切换模块还用于:当所述事件结束时,且当所述声音模式判断模块判断当前声音模式与第一声音模式不同时,不切换当前声音模式。
优选地,所述事件包括:会议,电影,音乐会;第一声音模式是静音
模式。
优选地,所述事件包括:运动,通勤,逛街;第一声音模式是户外模式。
本申请实施例手机声音模式自动切换方法和装置,通过预先为事件设置对应的声音模式,并利用事件提醒来自动触发声音模式的切换,由此实现了声音模式的自动切换,提高了用户体验。
本申请实施例还提供了一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够获取事件提醒,其中,所述事件设置为对应第一声音模式且包括开始时间;提取所述事件对应的第一声音模式和开始时间;当所述事件开始时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式不同时,切换当前声音模式为第一声音模式。
本申请实施例所述的电子设备,优选地,所述事件设置为还包括结束时间;提取所述事件的结束时间;当所述事件结束时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式相同时,切换当前声音模式为默认声音模式。
本申请实施例所述的电子设备,优选地,当所述事件结束时,且当判断当前声音模式与第一声音模式不同时,不切换当前声音模式。
本申请实施例所述的电子设备,优选地,所述事件包括:会议,电影,音乐会;第一声音模式是静音模式。
本申请实施例所述的电子设备,优选地,所述事件包括:运动,通勤,逛街;第一声音模式是户外模式。
本申请实施例还提供了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够获取事件提醒,其中,所述事件设置为对应第一声音模式且包括开始时间;提取所述事件对应的第一声音模式和开始时间;当所
述事件开始时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式不同时,切换当前声音模式为第一声音模式。
本申请实施例所述的存储介质,优选地,所述事件设置为还包括结束时间;提取所述事件的结束时间;当所述事件结束时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式相同时,切换当前声音模式为默认声音模式。
本申请实施例所述的存储介质,优选地,当所述事件结束时,且当判断当前声音模式与第一声音模式不同时,不切换当前声音模式。
本申请实施例所述的存储介质,优选地,所述事件包括:会议,电影,音乐会;第一声音模式是静音模式。
本申请实施例所述的存储介质,优选地,所述事件包括:运动,通勤,逛街;第一声音模式是户外模式。
本申请实施例还提出了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一所述的方法。
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例的手机声音模式自动切换的方法的流程图;
图2为本申请实施例的手机声音模式自动切换的装置的结构框图;
图3为本申请实施例中电子设备的硬件结构示意图。
下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在本申请的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。
此外,下面所描述的本申请不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
下面结合附图和具体实施例对本申请的技术方案进行详细描述。
实施例1
如图1所示,本申请实施例提供了一种手机声音模式自动切换的方法,
包括:
S1.获取事件提醒。
具体地,该事件设置为对应第一声音模式且包括开始时间。
例如,事件为会议,对应静音模式,开始时间为9:30AM。
具体地,该事件提醒可以在日历应用中设置,相对现有技术中的日历应用,本申请实施例仅需要在日历中为事件提醒增加声音模式和开始时间等参数。
S2.提取该事件对应的第一声音模式和开始时间。
具体地,由于事件提醒通常会被推送到通知栏,因此可以增加一通知栏插件,通过该插件获取该事件的声音模式和开始时间等参数。
S3.当该事件开始时,判断当前声音模式与第一声音模式是否相同。
S4.当判断当前声音模式与第一声音模式不同时,切换当前声音模式为第一声音模式。
当判断当前声音模式与第一声音模式相同时,不切换当前声音模式,即维持当前声音模式。
本申请实施例的机声音模式自动切换的方法,通过预先为事件设置对应的声音模式,并利用事件提醒来自动触发声音模式的切换,由此实现了声音模式的自动切换,提高了用户体验。
作为一个优选的实施例,该事件设置为还包括结束时间,并包括以下步骤;
提取该事件的结束时间;
当该事件结束时,判断当前声音模式与第一声音模式是否相同;
当判断当前声音模式与第一声音模式相同时,切换当前声音模式为默认声音模式,具体地,默认模式可以是正常模式。
由此实现了在事件结束后,自动恢复为默认的声音模式。举例来说,事件为会议时,声音模式切换为静音模式,而在会议结束后,自动切换为默认模式,从而避免了用户忘记切换声音模式而导致漏接电话或消息。
优选地,当该事件结束时,且当判断当前声音模式与第一声音模式不
同时,不切换当前声音模式。如前所述,当该事件开始时,当前声音模式切换为第一声音模式,因此当该事件结束时,当前声音模式理应维持在第一声音模式,而如果当前声音模式与第一声音模式不同,则说明用户自行更改了声音模式,因而不需要再对声音模式进行切换。
优选地,事件包括但不限于是:会议,电影,音乐会;相应的第一声音模式是静音模式。
优选地,事件包括但不限于是:运动,通勤,逛街;相应的第一声音模式是户外模式,在户外模式下,声音比正常模式大,而且震动开启。
实施例2
如图2所示,本申请实施例还提供了一种手机声音模式自动切换的装置,包括:
事件提醒获取模块1,用于获取事件提醒,其中,该事件设置为对应第一声音模式且包括开始时间。
提取模块2,用于提取该事件对应的第一声音模式和开始时间。
声音模式判断模块3,用于当该事件开始时,判断当前声音模式与第一声音模式是否相同。
声音模式切换模块4,用于当该事件开始时,且当该声音模式判断模块判断当前声音模式与第一声音模式不同时,切换当前声音模式为第一声音模式。
本申请实施例的机声音模式自动切换的装置,通过预先为事件设置对应的声音模式,并利用事件提醒来自动触发声音模式的切换,由此实现了声音模式的自动切换,提高了用户体验。
作为一个优选的实施例,该事件设置为还包括结束时间,由此:
该提取模块还用于,提取该事件的结束时间;
该声音模式判断模块还用于,当该事件结束时,判断当前声音模式与第一声音模式是否相同;
该声音模式切换模块还用于,当该事件结束时,且当该声音模式判断模块判断当前声音模式与第一声音模式相同时,切换当前声音模式为默认
声音模式。
优选地,声音模式切换模块还用于:当该事件结束时,且当该声音模式判断模块判断当前声音模式与第一声音模式不同时,不切换当前声音模式。
优选地,该事件包括但不限于是:会议,电影,音乐会;相应的第一声音模式是静音模式。
优选地,该事件包括但不限于是:运动,通勤,逛街;相应的第一声音模式是户外模式。
实施例3
如图所示,本申请还提供了一种电子设备,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够获取事件提醒,其中,所述事件设置为对应第一声音模式且包括开始时间;提取所述事件对应的第一声音模式和开始时间;当所述事件开始时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式不同时,切换当前声音模式为第一声音模式。
本实施例所述的电子设备,优选地,所述事件设置为还包括结束时间;提取所述事件的结束时间;当所述事件结束时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式相同时,切换当前声音模式为默认声音模式。
本实施例所述的电子设备,优选地,当所述事件结束时,且当判断当前声音模式与第一声音模式不同时,不切换当前声音模式。
本实施例所述的电子设备,优选地,所述事件包括:会议,电影,音乐会;第一声音模式是静音模式。
本实施例所述的电子设备,优选地,所述事件包括:运动,通勤,逛街;第一声音模式是户外模式。
实施例4
本申请实施例还提供了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够获取事件提醒,其中,所述事件设置为对应第一声音模式且包括开始时间;提取所述事件对应的第一声音模式和开始时间;当所述事件开始时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式不同时,切换当前声音模式为第一声音模式。
本实施例的所述非易失性计算机存储介质,优选地,所述事件设置为还包括结束时间;提取所述事件的结束时间;当所述事件结束时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式相同时,切换当前声音模式为默认声音模式。
本实施例的所述非易失性计算机存储介质,优选地,当所述事件结束时,且当判断当前声音模式与第一声音模式不同时,不切换当前声音模式。
本实施例的所述非易失性计算机存储介质,优选地,所述事件包括:会议,电影,音乐会;第一声音模式是静音模式。
本实施例的所述非易失性计算机存储介质,优选地,所述事件包括:运动,通勤,逛街;第一声音模式是户外模式。
实施例5
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述实施例所述的方法。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不
限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本申请创造的保护范围之中。
Claims (21)
- 一种手机声音模式自动切换的方法,其特征在于,包括:获取事件提醒,其中,所述事件设置为对应第一声音模式且包括开始时间;提取所述事件对应的第一声音模式和开始时间;当所述事件开始时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式不同时,切换当前声音模式为第一声音模式。
- 根据权利要求1所述的方法,其特征在于:所述事件设置为还包括结束时间;提取所述事件的结束时间;当所述事件结束时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式相同时,切换当前声音模式为默认声音模式。
- 根据权利要求2所述的方法,其特征在于:当所述事件结束时,且当判断当前声音模式与第一声音模式不同时,不切换当前声音模式。
- 根据权利要求1-3中任一项所述的方法,其特征在于,所述事件包括:会议,电影,音乐会;第一声音模式是静音模式。
- 根据权利要求1-3中任一项所述的方法,其特征在于,所述事件包括:运动,通勤,逛街;第一声音模式是户外模式。
- 一种手机声音模式自动切换的装置,其特征在于,包括:事件提醒获取模块,用于获取事件提醒,其中,所述事件设置为对应第一声音模式且包括开始时间;提取模块,用于提取所述事件对应的第一声音模式和开始时间;声音模式判断模块,用于当所述事件开始时,判断当前声音模式与第一声音模式是否相同;声音模式切换模块,用于当所述事件开始时,且当所述声音模式判断 模块判断当前声音模式与第一声音模式不同时,切换当前声音模式为第一声音模式。
- 根据权利要求6所述的装置,其特征在于:所述事件设置为包括结束时间;所述提取模块还用于,提取所述事件的结束时间;所述声音模式判断模块还用于,当所述事件结束时,判断当前声音模式与第一声音模式是否相同;声音模式切换模块还用于,当所述事件结束时,且当所述声音模式判断模块判断当前声音模式与第一声音模式相同时,切换当前声音模式为默认声音模式。
- 根据权利要求7所述的装置,其特征在于,所述声音模式切换模块还用于:当所述事件结束时,且当所述声音模式判断模块判断当前声音模式与第一声音模式不同时,不切换当前声音模式。
- 根据权利要求6-8中任一项所述的装置,其特征在于,所述事件包括:会议,电影,音乐会;第一声音模式是静音模式。
- 根据权利要求6-8中任一项所述的装置,其特征在于,所述事件包括:运动,通勤,逛街;第一声音模式是户外模式。
- 一种电子设备,其特征在于包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够获取事件提醒,其中,所述事件设置为对应第一声音模式且包括开始时间;提取所述事件对应的第一声音模式和开始时间;当所述事件开始时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式不同时,切换当前声音模式为第一声音模式。
- 根据权利要求11所述的电子设备,其特征在于,所述事件设置为 还包括结束时间;提取所述事件的结束时间;当所述事件结束时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式相同时,切换当前声音模式为默认声音模式。
- 根据权利要求12所述的电子设备,其特征在于:当所述事件结束时,且当判断当前声音模式与第一声音模式不同时,不切换当前声音模式。
- 根据权利要求11-13中任一项所述的电子设备,其特征在于,所述事件包括:会议,电影,音乐会;第一声音模式是静音模式。
- 根据权利要求11-13中任一项所述的电子设备,其特征在于,所述事件包括:运动,通勤,逛街;第一声音模式是户外模式。
- 一种非易失性计算机存储介质,其特征在于:所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够:获取事件提醒,其中,所述事件设置为对应第一声音模式且包括开始时间;提取所述事件对应的第一声音模式和开始时间;当所述事件开始时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式不同时,切换当前声音模式为第一声音模式。
- 根据权利要求16所述的存储介质,其特征在于:所述事件设置为还包括结束时间;提取所述事件的结束时间;当所述事件结束时,判断当前声音模式与第一声音模式是否相同;当判断当前声音模式与第一声音模式相同时,切换当前声音模式为默认声音模式。
- 根据权利要求17所述的存储介质,其特征在于:当所述事件结束时,且当判断当前声音模式与第一声音模式不同时,不切换当前声音模式。
- 根据权利要求16-18中任一项所述的存储介质,其特征在于,所述事件包括:会议,电影,音乐会;第一声音模式是静音模式。
- 根据权利要求16-18中任一项所述的方法,其特征在于,所述事件包括:运动,通勤,逛街;第一声音模式是户外模式。
- 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610204234.7A CN105847569A (zh) | 2016-04-01 | 2016-04-01 | 一种手机声音模式自动切换的方法和装置 |
| CN201610204234.7 | 2016-04-01 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017166753A1 true WO2017166753A1 (zh) | 2017-10-05 |
Family
ID=56597658
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/100251 Ceased WO2017166753A1 (zh) | 2016-04-01 | 2016-09-27 | 一种手机声音模式自动切换的方法、装置和电子设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105847569A (zh) |
| WO (1) | WO2017166753A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113676596A (zh) * | 2021-08-20 | 2021-11-19 | 北京字节跳动网络技术有限公司 | 电子设备控制方法、装置、存储介质和电子设备 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105847569A (zh) * | 2016-04-01 | 2016-08-10 | 乐视控股(北京)有限公司 | 一种手机声音模式自动切换的方法和装置 |
| CN111741164B (zh) * | 2020-06-17 | 2021-03-23 | Oppo(重庆)智能科技有限公司 | 一种声音模式切换方法、装置及计算机可读存储介质 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2396779A (en) * | 2002-12-23 | 2004-06-30 | Samsung Electronics Co Ltd | User defined operating modes |
| CN103024153A (zh) * | 2012-11-28 | 2013-04-03 | 深圳市中兴移动通信有限公司 | 一种调整环境模式的方法及终端 |
| CN103347132A (zh) * | 2013-07-11 | 2013-10-09 | 北京奇虎科技有限公司 | 一种移动终端模式切换方法及装置 |
| CN104580696A (zh) * | 2014-12-09 | 2015-04-29 | 东莞宇龙通信科技有限公司 | 情景模式的切换方法及系统 |
| CN105120111A (zh) * | 2015-09-24 | 2015-12-02 | 联想(北京)有限公司 | 一种应用模式切换方法及装置 |
| CN105847569A (zh) * | 2016-04-01 | 2016-08-10 | 乐视控股(北京)有限公司 | 一种手机声音模式自动切换的方法和装置 |
-
2016
- 2016-04-01 CN CN201610204234.7A patent/CN105847569A/zh active Pending
- 2016-09-27 WO PCT/CN2016/100251 patent/WO2017166753A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2396779A (en) * | 2002-12-23 | 2004-06-30 | Samsung Electronics Co Ltd | User defined operating modes |
| CN103024153A (zh) * | 2012-11-28 | 2013-04-03 | 深圳市中兴移动通信有限公司 | 一种调整环境模式的方法及终端 |
| CN103347132A (zh) * | 2013-07-11 | 2013-10-09 | 北京奇虎科技有限公司 | 一种移动终端模式切换方法及装置 |
| CN104580696A (zh) * | 2014-12-09 | 2015-04-29 | 东莞宇龙通信科技有限公司 | 情景模式的切换方法及系统 |
| CN105120111A (zh) * | 2015-09-24 | 2015-12-02 | 联想(北京)有限公司 | 一种应用模式切换方法及装置 |
| CN105847569A (zh) * | 2016-04-01 | 2016-08-10 | 乐视控股(北京)有限公司 | 一种手机声音模式自动切换的方法和装置 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113676596A (zh) * | 2021-08-20 | 2021-11-19 | 北京字节跳动网络技术有限公司 | 电子设备控制方法、装置、存储介质和电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105847569A (zh) | 2016-08-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103561152B (zh) | 一种推送消息处理方法和移动终端 | |
| WO2017096809A1 (zh) | 一种来电提示方法和系统 | |
| CN107454254B (zh) | 双屏终端通知信息处理方法及双屏终端 | |
| WO2017166613A1 (zh) | 一种控制终端使用时间的方法、装置和电子设备 | |
| RU2626089C2 (ru) | Способ и устройство для загрузки приложения темы | |
| CN106547216B (zh) | 设置智能场景触发条件的方法及装置 | |
| WO2017161836A1 (zh) | 一种利用闹钟进行音量提示的方法、装置、手机和电子设备 | |
| US20170126423A1 (en) | Method, apparatus and system for setting operating mode of device | |
| WO2017113666A1 (zh) | 应用界面切换方法及装置 | |
| CN107222391A (zh) | 群组提醒方法、装置及设备 | |
| WO2016074403A1 (zh) | 提醒信息处理方法及装置 | |
| WO2017166753A1 (zh) | 一种手机声音模式自动切换的方法、装置和电子设备 | |
| WO2017173798A1 (zh) | 一种移动终端的系统安装方法、装置和电子设备 | |
| CN112689975B (zh) | 一种消息提醒方法、消息提醒装置及移动终端 | |
| WO2017133260A1 (zh) | 一种手机来电处理方法、装置和电子设备 | |
| CN106231093A (zh) | 闹钟提醒方法及装置 | |
| CN103259909B (zh) | 情景模式回切的方法和装置 | |
| WO2016054903A1 (zh) | 终端音频控制方法、装置、终端及计算机存储介质 | |
| WO2015184895A1 (zh) | 一种来电提醒的方法和装置 | |
| WO2017166755A1 (zh) | 富文本监听方法、装置和电子设备 | |
| WO2013155769A1 (zh) | 情景模式自适应调整的方法及终端 | |
| CN104980590B (zh) | 通过mic判断嘈杂环境来控制终端提醒方式的方法及装置 | |
| CN105516488A (zh) | 信息提醒方法、信息提醒装置和终端 | |
| CN106921797A (zh) | 信息提醒方法及装置 | |
| WO2017166665A1 (zh) | 基于移动终端日历事件模式切换方法、装置和电子设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16896523 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16896523 Country of ref document: EP Kind code of ref document: A1 |