[go: up one dir, main page]

CN103458120A - Event processing method and device and mobile terminal - Google Patents

Event processing method and device and mobile terminal Download PDF

Info

Publication number
CN103458120A
CN103458120A CN2013103784707A CN201310378470A CN103458120A CN 103458120 A CN103458120 A CN 103458120A CN 2013103784707 A CN2013103784707 A CN 2013103784707A CN 201310378470 A CN201310378470 A CN 201310378470A CN 103458120 A CN103458120 A CN 103458120A
Authority
CN
China
Prior art keywords
event
incoming call
short message
option
preset
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.)
Granted
Application number
CN2013103784707A
Other languages
Chinese (zh)
Other versions
CN103458120B (en
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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310378470.7A priority Critical patent/CN103458120B/en
Publication of CN103458120A publication Critical patent/CN103458120A/en
Application granted granted Critical
Publication of CN103458120B publication Critical patent/CN103458120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses an event processing method, an event processing device and a mobile terminal, and belongs to the technical field of terminals. The method comprises the following steps: displaying a setting interface of a do-not-disturb mode rule, wherein the do-not-disturb mode rule is used for stipulating processing modes of various different events; setting the do-not-disturb mode rule according to the selection of a user; and when a preset event is detected, processing the preset event according to the type of the preset event and the processing mode of various different events in the do-not-disturb mode rule. The invention sets the do-not-disturb mode rule according to the selection of the user, processes the preset event according to the type of the preset event and the processing mode of various different events in the do-not-disturb mode rule when the preset event is detected, and distinguishes the general event and the exceptional event included in the do-not-disturb mode rule, thereby solving the problem that the anti-disturb mode is too single and facilitating the management of the user on the mobile terminal.

Description

事件处理方法、装置和移动终端Event processing method, device and mobile terminal

技术领域technical field

本发明涉及终端技术领域,特别涉及一种事件处理方法、装置和移动终端。The present invention relates to the technical field of terminals, in particular to an event processing method, device and mobile terminal.

背景技术Background technique

随着终端技术的发展和普及,移动终端为人们的生活带来了很多便利,但与此同时,也带来了一些困扰。如在用户开会时接到来电,导致移动终端突然响铃,打扰了用户。With the development and popularization of terminal technology, mobile terminals have brought a lot of convenience to people's life, but at the same time, they have also brought some troubles. For example, when a user receives an incoming call during a meeting, the mobile terminal rings suddenly, disturbing the user.

为了防止移动终端铃声的打扰,提供了对铃声的设置,如将铃声设置为静音,使得在移动终端接收到来电或短信时,不发出铃声。In order to prevent the ringtone of the mobile terminal from being disturbed, the setting of the ringtone is provided, such as setting the ringtone to mute, so that when the mobile terminal receives an incoming call or a short message, the ringtone will not be issued.

在实现本发明的过程中,发明人发现至少存在以下问题:In the process of realizing the present invention, the inventor finds that there are at least the following problems:

使用静音方式以防止打扰,方式过于单一,无法将移动终端的重要消息和不重要的消息区分开,可能会导致用户错过重要的来电或短信,不利于用户对移动终端的管理。The mute mode is used to prevent interruptions. The mode is too single and cannot distinguish important messages from unimportant messages on the mobile terminal, which may cause the user to miss important incoming calls or text messages, which is not conducive to the user's management of the mobile terminal.

发明内容Contents of the invention

为了解决防止打扰的方式过于单一,无法将移动终端接收到的重要消息和不重要的消息区分开,不利于用户对移动终端消息的管理的问题,本发明实施例提供了一种事件处理方法、装置和移动终端。所述技术方案如下:In order to solve the problem that the way to prevent interruption is too single, the important message received by the mobile terminal cannot be distinguished from the unimportant message, and it is not conducive to the user's management of the mobile terminal message, the embodiment of the present invention provides an event processing method, devices and mobile terminals. Described technical scheme is as follows:

第一方面,提供了一种事件处理方法,所述方法包括:In a first aspect, an event processing method is provided, the method comprising:

显示勿扰模式规则的设置界面,所述勿扰模式规则用于规定对各种不同事件的处理方式;Display the setting interface of the Do Not Disturb mode rule, and the Do Not Disturb mode rule is used to specify the processing methods for various events;

根据用户的选择,对所述勿扰模式规则进行设置;Set the Do Not Disturb mode rule according to the user's selection;

当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,所述预设事件包括来电事件、短信事件、通知事件和媒体声音事件。When a preset event is detected, the preset event is processed according to the type of the preset event and the processing manner of various events in the do not disturb mode rule, and the preset event includes an incoming call event , SMS events, notification events, and media sound events.

较佳的,当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,采用如下方式:Preferably, when a preset event is detected, the preset event is processed according to the type of the preset event and the processing methods for various events in the do-not-disturb mode rule, in the following manner:

当检测到预设事件时,检测移动终端当前屏幕的状态;When a preset event is detected, detect the state of the current screen of the mobile terminal;

当所述屏幕状态为亮屏状态,且所述预设事件为来电事件时,显示用于通知正在来电的图标;或,When the screen state is a bright screen state and the preset event is an incoming call event, displaying an icon for notifying an incoming call; or,

当所述屏幕状态为黑屏状态,且所述预设事件为来电事件时,在不点亮屏幕的情况下,将所述来电事件保存为未接来电;或,When the screen state is a black screen state and the preset event is an incoming call event, save the incoming call event as a missed call without turning on the screen; or,

当所述屏幕状态为亮屏状态,且所述预设事件为短信事件或通知事件时,显示用于通知短信事件或通知事件的图标;或,When the screen state is a bright screen state, and the preset event is a text message event or a notification event, displaying an icon for notifying a text message event or a notification event; or,

当所述屏幕状态为黑屏状态,且所述预设事件为短信事件或通知事件时,不点亮屏幕;或,When the screen state is a black screen state and the preset event is a text message event or a notification event, the screen is not turned on; or,

当所述预设事件为媒体声音事件时,按照所述媒体声音所属应用的设置对所述预设事件进行处理。When the preset event is a media sound event, the preset event is processed according to the settings of the application to which the media sound belongs.

较佳的,根据用户的选择,对所述勿扰模式规则进行设置,采用如下方式:Preferably, according to the user's selection, the rules of the Do Not Disturb mode are set in the following manner:

当检测到用户对所述设置界面中的贵宾VIP来电选项的激活操作时,显示VIP名单的设置选项,获取用户对所述VIP名单中联系人的设置;和/或,When it is detected that the user activates the VIP VIP incoming call option in the setting interface, the setting option of the VIP list is displayed, and the setting of the contact person in the VIP list by the user is obtained; and/or,

当检测到用户对所述设置界面中的紧急事件选项的激活操作时,将对所述紧急事件的处理方式确定为以振铃模式进行提醒;和/或,When the user's activation operation on the emergency event option in the setting interface is detected, the processing mode of the emergency event is determined to be a reminder in a ringing mode; and/or,

当检测到用户对所述设置界面中勿扰模式开启时间段选项的激活操作时,显示时间段设置选项,获取用户设置的时间段,使得所述勿扰模式在所述时间段内处于开启状态。When it is detected that the user activates the time period option of the Do Not Disturb mode in the setting interface, the time period setting option is displayed, and the time period set by the user is obtained, so that the Do Not Disturb mode is in the open state within the time period .

较佳的,当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,采用如下方式:Preferably, when a preset event is detected, the preset event is processed according to the type of the preset event and the processing methods for various events in the do-not-disturb mode rule, in the following manner:

当所述预设事件为来电事件或短信事件,且所述VIP名单包括所述来电事件或短信事件的联系人时,以振铃模式进行提醒;和/或,When the preset event is an incoming call event or a short message event, and the VIP list includes contacts of the incoming call event or short message event, a ringing pattern is used to remind; and/or,

当接收到紧急来电时,以振铃模式进行提醒,所述紧急来电为在预设时间间隔内,同一联系人拨打的超过预设次数的来电。When an emergency call is received, a ringing pattern is used to remind, and the emergency call is an incoming call made by the same contact more than a preset number of times within a preset time interval.

较佳的,获取用户对所述VIP名单中联系人的设置,采用如下方式:Preferably, the following method is used to obtain the user's settings for the contacts in the VIP list:

获取用户输入的联系人,将所述用户输入的联系人确定为VIP名单中的联系人;或,Obtaining a contact entered by the user, and determining the contact entered by the user as a contact in the VIP list; or,

获取通讯录中的所有联系人,将所述所有联系人确定为VIP名单中的联系人;或,Obtain all contacts in the address book, and determine all contacts as contacts in the VIP list; or,

获取用户从所述通讯录中选择的联系人,将所述选择的联系人确定为VIP名单中的联系人。Acquiring contacts selected by the user from the address book, and determining the selected contacts as contacts in the VIP list.

较佳的,当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,采用如下方式:Preferably, when a preset event is detected, the preset event is processed according to the type of the preset event and the processing methods for various events in the do-not-disturb mode rule, in the following manner:

当所述预设事件为短信事件,且所述接收到的短信被举报时,则将接收到的短信拦截至所述短信拦截记录;或,When the preset event is a short message event and the received short message is reported, the received short message is intercepted to the short message interception record; or,

当所述预设事件为短信事件,且黑名单中包括所述短信事件的联系人,则将接收到的短信拦截至所述短信拦截记录;When the preset event is a short message event, and the contact person of the short message event is included in the blacklist, the received short message is intercepted to the short message interception record;

当所述预设事件为短信事件,且接收到的短信为垃圾短信时,将接收到的短信拦截至所述短信拦截记录;或,When the preset event is a short message event and the received short message is a spam short message, intercepting the received short message to the short message interception record; or,

当所述预设事件为短信事件,且接收到的短信包括预设关键字时,将接收到的短信拦截至所述短信拦截记录。When the preset event is a short message event and the received short message includes a preset keyword, intercept the received short message into the short message interception record.

较佳的,所述方法还包括:Preferably, the method also includes:

当检测到对所述短信拦截记录中指定短信的单击操作时,显示所述指定短信的详情页面;或,When a click operation on a specified short message in the short message interception record is detected, a detailed page of the specified short message is displayed; or,

当检测到对所述短信拦截记录中的指定短信的长按操作时,显示第一短信处理选项。When a long press operation on a specified short message in the short message interception record is detected, a first short message processing option is displayed.

较佳的,所述第一短信处理选项包括拨打电话选项、回复短信选项和删除该联系人的所有短信选项中的一项或多项。Preferably, the first text message processing option includes one or more of the option of making a call, replying to a text message, and deleting all text messages of the contact.

较佳的,当检测到对所述短信拦截记录中指定短信的单击操作时,显示所述指定短信的详情页面之后,所述方法还包括:Preferably, when a click operation on a specified short message in the short message interception record is detected, after displaying the details page of the specified short message, the method further includes:

当检测到对所述详情页面上解除屏蔽选项的激活操作时,将所述指定短信移动至收件箱;或,moving said designated text message to an inbox when an activation of the unblock option on said detail page is detected; or,

当检测到对所述详情页面上对所述指定短信的长按操作时,显示第二短信处理选项。When a long press operation on the specified short message on the detailed page is detected, a second short message processing option is displayed.

较佳的,当检测到对所述详情页面上解除屏蔽选项的激活操作时,将所述指定短信移动至收件箱之后,所述方法还包括:Preferably, when the activation operation of the unblocking option on the details page is detected, after moving the specified text message to the inbox, the method further includes:

当再次检测到来自所述指定短信的联系人的短信事件时,将所述联系人的短信保存至收件箱。When the short message event from the contact of the designated short message is detected again, the short message of the contact is saved to the inbox.

较佳的,所述第二短信处理选项包括删除选项和恢复选项中的一项或多项,所述删除选项用于删除短信,所述恢复选项用于将所述指定短信移动至所述收件箱。Preferably, the second message processing option includes one or more of a delete option and a restore option, the delete option is used to delete a message, and the restore option is used to move the specified message to the receiving box.

较佳的,当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理之前,所述方法还包括:Preferably, when a preset event is detected, according to the type of the preset event and the processing methods for various events in the do-not-disturb mode rule, before processing the preset event, the method Also includes:

获取用户输入的联系人,将所述用户输入的联系人确定为黑名单中的联系人;和/或,Obtaining a contact input by the user, and determining the contact input by the user as a contact in the blacklist; and/or,

获取用户从所述通讯录中选择的联系人,将所述选择的联系人确定为黑名单中的联系人;和/或,Obtain contacts selected by the user from the address book, and determine the selected contacts as contacts in the blacklist; and/or,

获取用户从通信记录中选择的联系人,将所述选择的联系人确定为黑名单中的联系人。A contact selected by the user from the communication records is acquired, and the selected contact is determined as a contact in the blacklist.

较佳的,当所述预设事件为短信事件,且黑名单中包括所述短信事件的联系人,则将接收到的短信拦截至所述短信拦截记录之前,所述方法还包括:Preferably, when the preset event is a short message event, and the blacklist includes contacts of the short message event, then intercepting the received short message before the short message interception record, the method also includes:

将所述黑名单中联系人所发送短信的处理方式设置为屏蔽并保存至所述短信拦截记录。Set the processing method of the short messages sent by the contacts in the blacklist as shielding and save them to the short message interception record.

较佳的,所述方法还包括:Preferably, the method also includes:

将所述黑名单中联系人所发送短信的处理方式设置为静音通知。Set the processing mode of the short messages sent by the contacts in the blacklist as silent notification.

较佳的,当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,采用如下方式:Preferably, when a preset event is detected, the preset event is processed according to the type of the preset event and the processing methods for various events in the do-not-disturb mode rule, in the following manner:

当所述预设事件为来电事件,且黑名单中包括所述来电事件的联系人,则将接收到的来电拦截至来电拦截记录;When the preset event is an incoming call event, and the contact person of the incoming call event is included in the blacklist, the received incoming call is intercepted to the incoming call interception record;

当所述预设事件为来电事件,且所述来电事件的号码为空号码时,将接收到的来电拦截至所述来电拦截记录;或,When the preset event is an incoming call event, and the number of the incoming call event is an empty number, intercept the received incoming call to the incoming call interception record; or,

当所述预设事件为来电事件,且拦截数据库包括所述来电事件的号码时,将接收到的来电拦截至所述来电拦截记录。When the preset event is an incoming call event, and the interception database includes the number of the incoming call event, the received incoming call is intercepted in the incoming call interception record.

较佳的,当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理之后,所述方法还包括:Preferably, when a preset event is detected, according to the type of the preset event and the processing methods for various events in the do not disturb mode rules, after the preset event is processed, the method Also includes:

当检测到对所述来电拦截记录中指定号码的单击操作时,显示所述指定号码的来电详情页面;或,When a click operation on a specified number in the call interception record is detected, displaying an incoming call details page of the specified number; or,

当检测到对所述指定号码的菜单显示指令时,显示所述指定号码的菜单,所述菜单包括第一来电处理选项;或,When a menu display instruction for the specified number is detected, display the menu of the specified number, the menu including the first incoming call processing option; or,

当检测到对所述指定号码的任一条来电拦截记录的单击操作时,显示第二来电处理选项。When a click operation on any call interception record of the specified number is detected, a second call handling option is displayed.

较佳的,所述第一来电处理选项包括拨打电话选项、发送短信选项、新建联系人选项、添加至现有联系人选项和删除该号码的所有拦截记录的选项中的一项或多项;所述第二来电处理选项包括拨打电话选项、发送短信选项和删除这一条来电拦截记录选项中的一项或多项。Preferably, the first incoming call processing option includes one or more options of making a call, sending a text message, creating a new contact, adding to an existing contact, and deleting all intercepted records of the number; The second incoming call processing option includes one or more of the options of making a call, sending a short message, and deleting the call interception record.

较佳的,当所述预设事件为来电事件,且黑名单中包括所述来电事件的联系人,则将接收到的来电拦截至来电拦截记录之前,所述方法还包括:Preferably, when the preset event is an incoming call event, and the contact of the incoming call event is included in the blacklist, the received incoming call is intercepted before the incoming call interception record, and the method further includes:

将所述黑名单中联系人来电事件的处理方式设置为屏蔽并保存至所述来电拦截记录。Set the processing method of the incoming call event of the contact in the blacklist as shielding and save it to the incoming call interception record.

较佳的,所述方法还包括:Preferably, the method also includes:

将所述黑名单中联系人来电事件的处理方式设置为静音通知。Set the processing method of the incoming call event of the contacts in the blacklist as silent notification.

第二方面,提供了一种事件处理装置,所述装置包括:In a second aspect, an event processing device is provided, and the device includes:

界面显示模块,用于显示勿扰模式规则的设置界面,所述勿扰模式规则用于规定对各种不同事件的处理方式;The interface display module is used to display the setting interface of the Do Not Disturb mode rule, and the Do Not Disturb mode rule is used to specify the processing methods for various events;

设置模块,用于根据用户的选择,对所述勿扰模式规则进行设置;A setting module, configured to set the Do Not Disturb mode rule according to the user's selection;

事件处理模块,用于当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,所述预设事件包括来电事件、短信事件、通知事件和媒体声音事件。An event processing module, configured to process the preset event according to the type of the preset event and the processing methods for various events in the Do Not Disturb mode rule when the preset event is detected, the Preset events include incoming call events, SMS events, notification events and media sound events.

较佳的,所述事件处理模块包括:Preferably, the event processing module includes:

屏幕状态检测单元,用于当检测到预设事件时,检测移动终端当前屏幕的状态;The screen state detection unit is used to detect the state of the current screen of the mobile terminal when a preset event is detected;

来电图标显示单元,用于当所述屏幕状态为亮屏状态,且所述预设事件为来电事件时,显示用于通知正在来电的图标;或,An incoming call icon display unit, configured to display an icon for notifying an incoming call when the screen state is a bright screen state and the preset event is an incoming call event; or,

未接来电单元,用于当所述屏幕状态为黑屏状态,且所述预设事件为来电事件时,在不点亮屏幕的情况下,将所述来电事件保存为未接来电;或,A missed call unit, configured to save the incoming call event as a missed call without turning on the screen when the screen state is a black screen state and the preset event is an incoming call event; or,

通知图标显示单元,用于当所述屏幕状态为亮屏状态,且所述预设事件为短信事件或通知事件时,显示用于通知短信事件或通知事件的图标;或,A notification icon display unit, configured to display an icon for notifying a text message event or a notification event when the screen state is a bright screen state and the preset event is a text message event or a notification event; or,

黑屏通知单元,用于当所述屏幕状态为黑屏状态,且所述预设事件为短信事件或通知事件时,不点亮屏幕;或,A black screen notification unit, configured to not light up the screen when the screen state is a black screen state and the preset event is a text message event or a notification event; or,

媒体声音处理单元,用于当所述预设事件为媒体声音事件时,按照所述媒体声音所属应用的设置对所述预设事件进行处理。The media sound processing unit is configured to process the preset event according to the settings of the application to which the media sound belongs when the preset event is a media sound event.

较佳的,所述设置模块包括:Preferably, the setting module includes:

贵宾设置单元,用于当检测到用户对所述设置界面中的贵宾VIP来电选项的激活操作时,显示VIP名单的设置选项,获取用户对所述VIP名单中联系人的设置;和/或,The VIP setting unit is used to display the setting options of the VIP list and obtain the settings of the contacts in the VIP list by the user when the activation operation of the VIP incoming call option in the setting interface by the user is detected; and/or,

紧急来电设置单元,用于当检测到用户对所述设置界面中的紧急事件选项的激活操作时,将对所述紧急事件的处理方式确定为以振铃模式进行提醒;和/或,An emergency call setting unit, configured to determine the processing mode of the emergency event as a ringing mode to remind when the user's activation operation on the emergency event option in the setting interface is detected; and/or,

时间段设置单元,用于当检测到用户对所述设置界面中勿扰模式开启时间段选项的激活操作时,显示时间段设置选项,获取用户设置的时间段,使得所述勿扰模式在所述时间段内处于开启状态。The time period setting unit is used to display the time period setting option and obtain the time period set by the user when the activation operation of the time period option of the Do Not Disturb mode in the setting interface is detected by the user, so that the Do Not Disturb mode is set in the time period. On during the above time period.

较佳的,所述事件处理模块包括:Preferably, the event processing module includes:

贵宾事件处理单元,用于当所述预设事件为来电事件或短信事件,且所述VIP名单包括所述来电事件或短信事件的联系人时,以振铃模式进行提醒;和/或,A VIP event processing unit, configured to remind in a ringing mode when the preset event is an incoming call event or a short message event, and the VIP list includes contacts of the incoming call event or short message event; and/or,

紧急来电处理单元,用于当接收到紧急来电时,以振铃模式进行提醒,所述紧急来电为在预设时间间隔内,同一联系人拨打的超过预设次数的来电。The emergency call processing unit is configured to remind in a ringing mode when an emergency call is received, and the emergency call is an incoming call made by the same contact more than a preset number of times within a preset time interval.

较佳的,所述贵宾设置单元用于获取用户输入的联系人,将所述用户输入的联系人确定为VIP名单中的联系人;或,Preferably, the VIP setting unit is used to acquire contacts input by the user, and determine the contacts input by the user as contacts in the VIP list; or,

所述贵宾设置单元用于获取通讯录中的所有联系人,将所述所有联系人确定为VIP名单中的联系人;或,The VIP setting unit is used to obtain all contacts in the address book, and determine all contacts as contacts in the VIP list; or,

所述贵宾设置单元用于获取用户从所述通讯录中选择的联系人,将所述选择的联系人确定为VIP名单中的联系人。The VIP setting unit is used to acquire contacts selected by the user from the address book, and determine the selected contacts as contacts in the VIP list.

较佳的,所述事件处理模块包括:Preferably, the event processing module includes:

举报处理单元,用于当所述预设事件为短信事件,且所述接收到的短信被举报时,则将接收到的短信拦截至所述短信拦截记录;或,A reporting processing unit configured to intercept the received short message to the short message interception record when the preset event is a short message event and the received short message is reported; or,

黑名单拦截单元,用于当所述预设事件为短信事件,且黑名单中包括所述短信事件的联系人,则将接收到的短信拦截至所述短信拦截记录;A blacklist interception unit, configured to intercept the received short message to the short message interception record when the preset event is a short message event and the blacklist includes contacts of the short message event;

垃圾短信拦截单元,用于当所述预设事件为短信事件,且接收到的短信为垃圾短信时,将接收到的短信拦截至所述短信拦截记录;或,A spam message intercepting unit, configured to intercept the received message into the message interception record when the preset event is a message event and the received message is a message spam; or,

关键字拦截单元,用于当所述预设事件为短信事件,且接收到的短信包括预设关键字时,将接收到的短信拦截至所述短信拦截记录。The keyword intercepting unit is configured to intercept the received short message into the short message interception record when the preset event is a short message event and the received short message includes a preset keyword.

较佳的,所述装置还包括:Preferably, the device also includes:

短信详情显示模块,用于当检测到对所述短信拦截记录中指定短信的单击操作时,显示所述指定短信的详情页面;或,The short message details display module is used to display the detailed page of the specified short message when a click operation on the specified short message in the short message interception record is detected; or,

第一短信选项显示模块,用于当检测到对所述短信拦截记录中的指定短信的长按操作时,显示第一短信处理选项。The first short message option display module is configured to display the first short message processing option when a long press operation on a specified short message in the short message interception record is detected.

较佳的,所述第一短信处理选项包括拨打电话选项、回复短信选项和删除该联系人的所有短信选项中的一项或多项。Preferably, the first text message processing option includes one or more of the option of making a call, replying to a text message, and deleting all text messages of the contact.

较佳的,所述装置还包括:Preferably, the device also includes:

短信解除屏蔽模块,用于当检测到对所述详情页面上解除屏蔽选项的激活操作时,将所述指定短信移动至收件箱;或,A short message unshielding module, configured to move the specified short message to an inbox when an activation operation on the unshielding option on the detail page is detected; or,

第二短信选项显示模块,用于当检测到对所述详情页面上对所述指定短信的长按操作时,显示第二短信处理选项。The second short message option display module is configured to display a second short message processing option when a long press operation on the specified short message on the detailed page is detected.

较佳的,所述装置还包括:Preferably, the device also includes:

再次短信处理模块,用于当再次检测到来自所述指定短信的联系人的短信事件时,将所述联系人的短信保存至收件箱。The re-short message processing module is used for saving the short message of the contact person to the inbox when the short message event from the contact person of the specified short message is detected again.

较佳的,所述第二短信处理选项包括删除选项和恢复选项中的一项或多项,所述删除选项用于删除短信,所述恢复选项用于将所述指定短信移动至所述收件箱。Preferably, the second message processing option includes one or more of a delete option and a restore option, the delete option is used to delete a message, and the restore option is used to move the specified message to the receiving box.

较佳的,所述装置还包括:Preferably, the device also includes:

第一联系人获取模块,用于获取用户输入的联系人,将所述用户输入的联系人确定为黑名单中的联系人;和/或,A first contact obtaining module, configured to obtain a contact input by the user, and determine the contact input by the user as a contact in the blacklist; and/or,

第二联系人获取模块,用于获取用户从所述通讯录中选择的联系人,将所述选择的联系人确定为黑名单中的联系人;和/或,The second contact obtaining module is configured to obtain a contact selected by the user from the address book, and determine the selected contact as a contact in the blacklist; and/or,

第三联系人获取模块,用于获取用户从通信记录中选择的联系人,将所述选择的联系人确定为黑名单中的联系人。The third contact obtaining module is configured to obtain a contact selected by the user from the communication records, and determine the selected contact as a contact in the blacklist.

较佳的,所述装置还包括:Preferably, the device also includes:

短信屏蔽设置模块,用于将所述黑名单中联系人所发送短信的处理方式设置为屏蔽并保存至所述短信拦截记录。The short message shielding setting module is used to set the processing method of the short messages sent by the contacts in the blacklist as shielding and save them to the short message interception record.

较佳的,所述装置还包括:Preferably, the device also includes:

短信静音设置模块,用于将所述黑名单中联系人所发送短信的处理方式设置为静音通知。The text message mute setting module is used to set the processing method of the text messages sent by the contacts in the blacklist as mute notification.

较佳的,所述事件处理模块包括:Preferably, the event processing module includes:

黑名单来电处理单元,用于当所述预设事件为来电事件,且黑名单中包括所述来电事件的联系人,则将接收到的来电拦截至来电拦截记录;A blacklist incoming call processing unit, configured to intercept the received incoming call to the incoming call interception record when the preset event is an incoming call event, and the blacklist includes the contacts of the incoming call event;

空号码来电处理单元,用于当所述预设事件为来电事件,且所述来电事件的号码为空号码时,将接收到的来电拦截至所述来电拦截记录;或,An empty number incoming call processing unit, configured to intercept the received incoming call to the incoming call interception record when the preset event is an incoming call event and the number of the incoming call event is an empty number; or,

拦截数据库来电单元,用于当所述预设事件为来电事件,且拦截数据库包括所述来电事件的号码时,将接收到的来电拦截至所述来电拦截记录。The intercepting database incoming call unit is configured to intercept the received incoming call to the incoming call intercepting record when the preset event is an incoming call event and the intercepting database includes the number of the incoming call event.

较佳的,所述装置还包括:Preferably, the device also includes:

来电详情显示模块,用于当检测到对所述来电拦截记录中指定号码的单击操作时,显示所述指定号码的来电详情页面;或,The caller details display module is used to display the caller details page of the specified number when a click operation on the specified number in the call interception record is detected; or,

第一来电选项显示模块,用于当检测到对所述指定号码的菜单显示指令时,显示所述指定号码的菜单,所述菜单包括第一来电处理选项;或,The first incoming call option display module is used to display the menu of the specified number when a menu display instruction for the specified number is detected, and the menu includes the first incoming call processing option; or,

第二来电选项显示模块,用于当检测到对所述指定号码的任一条来电拦截记录的单击操作时,显示第二来电处理选项。The second incoming call option display module is configured to display the second incoming call processing option when a click operation on any incoming call interception record of the specified number is detected.

较佳的,所述第一来电处理选项包括拨打电话选项、发送短信选项、新建联系人选项、添加至现有联系人选项和删除该号码的所有拦截记录的选项中的一项或多项;所述第二来电处理选项包括拨打电话选项、发送短信选项和删除这一条来电拦截记录选项中的一项或多项。Preferably, the first incoming call processing option includes one or more options of making a call, sending a text message, creating a new contact, adding to an existing contact, and deleting all intercepted records of the number; The second incoming call processing option includes one or more of the options of making a call, sending a short message, and deleting the call interception record.

较佳的,所述装置还包括:Preferably, the device also includes:

来电屏蔽设置模块,用于将所述黑名单中联系人来电事件的处理方式设置为屏蔽并保存至所述来电拦截记录。The incoming call screening setting module is used to set the processing method of the incoming call event of the contacts in the blacklist as shielding and save it to the incoming call blocking record.

较佳的,所述装置还包括:Preferably, the device also includes:

来电静音设置模块,用于将所述黑名单中联系人来电事件的处理方式设置为静音通知。The incoming call mute setting module is used to set the processing method of the contact incoming call event in the blacklist as a silent notification.

第三方面,提供了一种移动终端,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In a third aspect, a mobile terminal is provided, including a memory, and one or more programs, wherein one or more programs are stored in the memory, and are configured to be executed by one or more processors. More than one program contains instructions for:

显示勿扰模式规则的设置界面,所述勿扰模式规则用于规定对各种不同事件的处理方式;Display the setting interface of the Do Not Disturb mode rule, and the Do Not Disturb mode rule is used to specify the processing methods for various events;

根据用户的选择,对所述勿扰模式规则进行设置;Set the Do Not Disturb mode rule according to the user's selection;

当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,所述预设事件包括来电事件、短信事件、通知事件和媒体声音事件。When a preset event is detected, the preset event is processed according to the type of the preset event and the processing manner of various events in the do not disturb mode rule, and the preset event includes an incoming call event , SMS events, notification events, and media sound events.

本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the embodiments of the present invention are:

本发明实施例提供的方法、装置和移动终端,通过根据用户的选择,对该勿扰模式规则进行设置,并在检测到预设事件时,根据该预设事件的类型和该勿扰模式规则中对各种不同事件的处理方式,对该预设事件进行处理,将勿扰模式规则包括的一般事件和例外事件区分开来,解决了防打扰的方式过于单一的问题,便于用户对移动终端的管理。The method, device and mobile terminal provided by the embodiments of the present invention set the do-not-disturb mode rule according to the user's selection, and when a preset event is detected, according to the type of the preset event and the do-not-disturb mode rule The processing method of various events in the system, the preset event is processed, and the general events included in the Do Not Disturb mode rules are distinguished from the exception events, which solves the problem that the way of avoiding disturbance is too single, and is convenient for users to control the mobile terminal. management.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1A是本发明实施例提供的一种事件处理方法的流程图;FIG. 1A is a flowchart of an event processing method provided by an embodiment of the present invention;

图1B是本发明实施例提供的设置界面示意图;FIG. 1B is a schematic diagram of a setting interface provided by an embodiment of the present invention;

图1C为VIP名单的设置示意图;FIG. 1C is a schematic diagram of setting a VIP list;

图1D为勿扰模式自动开关的设置示意图;FIG. 1D is a schematic diagram of setting the automatic switch of the Do Not Disturb mode;

图1E是本发明实施例提供的设置界面示意图;FIG. 1E is a schematic diagram of a setting interface provided by an embodiment of the present invention;

图1F是本发明实施例提供的预设关键字设置界面示意图;FIG. 1F is a schematic diagram of a preset keyword setting interface provided by an embodiment of the present invention;

图1G是本发明实施例提供的短信拦截记录示意图;FIG. 1G is a schematic diagram of a short message interception record provided by an embodiment of the present invention;

图1H是本发明实施例提供的短信拦截记录示意图;FIG. 1H is a schematic diagram of a short message interception record provided by an embodiment of the present invention;

图1I是本发明实施例提供的短信详情页面示意图;Fig. 1I is a schematic diagram of a short message details page provided by an embodiment of the present invention;

图1J是本发明实施例提供的黑名单拦截后操作设置界面示意图;FIG. 1J is a schematic diagram of an operation setting interface after blacklist interception provided by an embodiment of the present invention;

图1K是本发明实施例提供的来电拦截记录示意图;FIG. 1K is a schematic diagram of an incoming call interception record provided by an embodiment of the present invention;

图1L是本发明实施例提供的来电详情页面的操作示意图;FIG. 1L is a schematic diagram of the operation of the incoming call details page provided by the embodiment of the present invention;

图1M是本发明实施例提供的非VIP来电和短信设置界面示意图;FIG. 1M is a schematic diagram of a non-VIP incoming call and SMS setting interface provided by an embodiment of the present invention;

图2是本发明实施例提供的一种事件处理方法的流程图;Fig. 2 is a flowchart of an event processing method provided by an embodiment of the present invention;

图3是本发明实施例提供的一种事件处理装置结构示意图;Fig. 3 is a schematic structural diagram of an event processing device provided by an embodiment of the present invention;

图4是本发明实施例提供的一种移动终端结构示意图。Fig. 4 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

针对本发明实施例中涉及到的相关内容,提供以下解释:For the relevant content involved in the embodiments of the present invention, the following explanations are provided:

移动终端为用户提供了振铃模式和静音模式,当移动终端在振铃模式下检测到来电或短信等事件时,发出铃声,以进行提醒;当移动终端在静音模式下检测到来电或短信等事件时,不发出铃声,以避免打扰用户。此外,移动终端还提供了震动模式,当移动终端在震动模式下检测到来电或短信等事件时,移动终端震动。震动模式可以与振铃模式或静音模式兼容,即移动终端可以同时处于振铃模式和震动模式,当移动终端在振铃模式和震动模式下检测到来电或短信等事件时,发出铃声且震动;移动终端还可以同时处于静音模式和震动模式,当移动终端在静音模式和震动模式下检测到来电或短信等事件时,震动但不发出铃声。The mobile terminal provides users with a ringing mode and a silent mode. When the mobile terminal detects events such as incoming calls or text messages in the ringing mode, it sends out a ringtone to remind; when the mobile terminal detects incoming calls or text messages in the silent mode, etc. event, do not sound the bell to avoid disturbing the user. In addition, the mobile terminal also provides a vibration mode. When the mobile terminal detects an event such as an incoming call or a short message in the vibration mode, the mobile terminal vibrates. The vibration mode can be compatible with the ring mode or the silent mode, that is, the mobile terminal can be in the ring mode and the vibration mode at the same time. When the mobile terminal detects an event such as an incoming call or a text message in the ring mode and the vibration mode, it will ring and vibrate; The mobile terminal can also be in the silent mode and the vibration mode at the same time. When the mobile terminal detects events such as incoming calls or text messages in the silent mode and the vibration mode, it will vibrate but not ring.

图1A是本发明实施例提供的一种事件处理方法的流程图。该发明实施例的执行主体为移动终端,参见图1A,所述方法包括:Fig. 1A is a flowchart of an event processing method provided by an embodiment of the present invention. The execution subject of this embodiment of the invention is a mobile terminal, referring to FIG. 1A, the method includes:

101:显示勿扰模式规则的设置界面,该勿扰模式规则用于规定对各种不同事件的处理方式;101: Display the setting interface of the Do Not Disturb mode rule, the Do Not Disturb mode rule is used to specify how to handle various events;

在本发明实施例中,移动终端提供了勿扰模式规则的设置界面,该设置界面可以为该移动终端的操作系统提供的设置界面,还可以为安装在该移动终端上的指定应用提供的设置界面,本发明实施例对此不做限定。In the embodiment of the present invention, the mobile terminal provides a setting interface for the Do Not Disturb mode rule. The setting interface may be a setting interface provided by the operating system of the mobile terminal, or a setting interface provided by a specified application installed on the mobile terminal. The interface is not limited in this embodiment of the present invention.

其中,在显示该设置界面时,可以显示该勿扰模式的指定规则,该指定规则是指在勿扰模式下对一般事件的处理方式,以便用户获知在勿扰模式下对检测到的事件的处理方式,还可以显示该勿扰模式规则的设置选项,以便用户根据该设置选项,对该勿扰模式规则进行设置。进一步地,在显示该设置界面时,可以显示勿扰模式激活选项,以便用户对勿扰模式进行激活,本发明实施例对该设置界面显示的设置选项不做限定。Wherein, when the setting interface is displayed, the specified rule of the Do Not Disturb mode can be displayed, and the specified rule refers to the processing method of general events in the Do Not Disturb mode, so that the user can know the detection of the event in the Do Not Disturb mode. The processing method may also display the setting options of the Do Not Disturb mode rule, so that the user can set the Do Not Disturb mode rule according to the setting options. Further, when the setting interface is displayed, an activation option of the Do Not Disturb mode may be displayed, so that the user can activate the Do Not Disturb mode, and the embodiment of the present invention does not limit the setting options displayed on the setting interface.

进一步地,该勿扰模式规则还包括对例外事件的处理方式,该例外事件可以为来自VIP(Very Important Person,贵宾)联系人的来电事件或者紧急来电事件等,该例外事件的具体类型可以由技术人员在开发时设定,或由用户在使用过程中设定,本发明实施例对此不做限定。Further, the do-not-disturb mode rule also includes a processing method for an exceptional event, which can be an incoming call event or an emergency incoming call event from a VIP (Very Important Person, VIP) contact, and the specific type of the exceptional event can be determined by The technicians set it during development, or the user sets it during use, which is not limited in this embodiment of the present invention.

需要说明的是,在本发明实施例中,可以认为预设事件包括一般事件和例外事件。其中,一般事件是指由一般的联系人所触发的预设事件,而例外事件是指由设置的VIP联系人或黑名单联系人等非一般的联系人所触发的预设事件,或者紧急来电事件等。一般事件和例外事件的区别在于,在开启勿扰模式时,即可按照该指定规则确定对一般事件的处理方式,而仍然可以对例外事件的处理方式进行设置或更改。It should be noted that, in this embodiment of the present invention, it may be considered that preset events include general events and exceptional events. Among them, general events refer to preset events triggered by general contacts, and exceptional events refer to preset events triggered by non-general contacts such as VIP contacts or blacklist contacts, or emergency calls events etc. The difference between general events and exceptional events is that when the Do Not Disturb mode is turned on, the processing method for general events can be determined according to the specified rule, and the processing method for exceptional events can still be set or changed.

在本发明实施例中,在该设置界面上显示该例外事件的处理方式,使得用户能够对该例外事件的处理方式进行单独的设置,从而将勿扰模式规则包括的一般事件和例外事件区分开来,以便对移动终端检测到的事件按照不同的处理方式进行处理,解决了防打扰的方式过于单一的问题,便于用户对移动终端的管理。In the embodiment of the present invention, the handling mode of the exception event is displayed on the setting interface, so that the user can set the handling mode of the exception event separately, thereby distinguishing the general event included in the Do Not Disturb mode rule from the exception event In order to process the events detected by the mobile terminal according to different processing methods, the problem that the anti-disturbance method is too single is solved, and it is convenient for the user to manage the mobile terminal.

102:根据用户的选择,对该勿扰模式规则进行设置;102: Set the Do Not Disturb mode rule according to the user's selection;

本发明实施例中,该设置界面包括该勿扰模式规则的设置选项,根据用户的选择,可以对该勿扰模式规则进行设置。In the embodiment of the present invention, the setting interface includes setting options for the Do Not Disturb mode rule, and the Do Not Disturb mode rule can be set according to the user's selection.

图1B是本发明实施例提供的设置界面示意图。在上方显示区域以文字的形式显示勿扰模式的指定规则为“开启勿扰模式时,来电和通知将被静音”,并显示开启勿扰模式选项、特殊来电设置选项和自动开关设置选项。当检测到对开启勿扰模式选项的单击操作时,激活勿扰模式。则在检测到来电或通知等事件时,可以按照勿扰模式的规则,对检测到的来电或通知事件以静音模式进行提醒,而不发出铃声,以防止检测到的事件打扰用户。FIG. 1B is a schematic diagram of a setting interface provided by an embodiment of the present invention. In the upper display area, the specified rule of the Do Not Disturb mode is displayed in text form as "When the Do Not Disturb Mode is turned on, incoming calls and notifications will be muted", and the options of turning on the Do Not Disturb Mode, special call setting options and automatic switch setting options are displayed. Activates Do Not Disturb when a click is detected on the Turn on Do Not Disturb option. Then, when events such as incoming calls or notifications are detected, the detected incoming calls or notification events can be reminded in silent mode according to the rules of the Do Not Disturb mode, without ringing, so as to prevent the detected events from disturbing the user.

103:当检测到预设事件时,根据该预设事件的类型和该勿扰模式规则中对各种不同事件的处理方式,对该预设事件进行处理,该预设事件包括来电事件、短信事件、通知事件和媒体声音事件。103: When a preset event is detected, process the preset event according to the type of the preset event and the processing method for various events in the Do Not Disturb mode rule, the preset event includes an incoming call event, a text message events, notification events, and media sound events.

其中,该来电事件是指接收到任一联系人拨打的电话;该短信事件是指接收到任一联系人发送的短信;该通知事件是指接收到任一应用发送的通知或移动终端系统广播的通知等。另外,该媒体声音可以为安装在移动终端上的任一应用的媒体声音,或者移动终端的按键音等,相应的,该媒体声音事件是指可以发出媒体声音的操作所触发的事件,如按键操作可以发出按键音,则可称之为媒体声音事件。Among them, the incoming call event refers to receiving a call from any contact; the short message event refers to receiving a short message sent by any contact; the notification event refers to receiving a notification sent by any application or a mobile terminal system broadcast notifications, etc. In addition, the media sound can be the media sound of any application installed on the mobile terminal, or the key tone of the mobile terminal. Correspondingly, the media sound event refers to an event triggered by an operation that can emit media sound, such as a key If the operation can emit a key tone, it can be called a media sound event.

本发明实施例中,通过对该设置界面中的勿扰模式规则进行设置,确定了对各种不同类型的事件的处理方式,则在检测到该预设事件时,可以根据该预设事件的类型,确定该预设事件的处理方式,进而按照该预设事件的处理方式,对该预设事件进行处理。In the embodiment of the present invention, by setting the Do Not Disturb mode rule in the setting interface, the processing methods for various types of events are determined, and when the preset event is detected, the preset event can be Type, determine the processing method of the preset event, and then process the preset event according to the processing method of the preset event.

本发明实施例提供的方法,通过根据用户的选择,对该勿扰模式规则进行设置,并在检测到预设事件时,根据该预设事件的类型和该勿扰模式规则中对各种不同事件的处理方式,对该预设事件进行处理,将勿扰模式规则包括的一般事件和例外事件区分开来,解决了防打扰的方式过于单一的问题,便于用户对移动终端的管理。In the method provided by the embodiment of the present invention, the Do Not Disturb mode rule is set according to the user's selection, and when a preset event is detected, according to the type of the preset event and the various types of rules in the Do Not Disturb mode rule The processing method of the event is to process the preset event, distinguish the general event included in the Do Not Disturb mode rule from the exceptional event, solve the problem that the anti-disturb mode is too single, and facilitate the user to manage the mobile terminal.

较佳的,在图1A所示实施例技术方案的基础上,步骤103“当检测到预设事件时,根据该预设事件的类型和该勿扰模式规则中对各种不同事件的处理方式,对该预设事件进行处理”包括下述步骤103a以及步骤103b、步骤103c、步骤103d、步骤103e、步骤103f中的一项或多项:Preferably, on the basis of the technical solution of the embodiment shown in Figure 1A, step 103 "When a preset event is detected, according to the type of the preset event and the processing method for various events in the do not disturb mode rule , processing the preset event" includes one or more of the following steps 103a, 103b, 103c, 103d, 103e, and 103f:

103a:当检测到预设事件时,检测移动终端当前屏幕的状态;103a: When a preset event is detected, detect the state of the current screen of the mobile terminal;

其中,该移动终端当前屏幕的状态包括亮屏状态和黑屏状态,在本发明实施例中,当移动终端当前屏幕的状态为亮屏状态时,可以认为移动终端处于正在使用状态,即该移动终端处于任一应用场景中,而当移动终端当前屏幕的状态为黑屏状态时,可以认为移动终端处于待机状态。当前屏幕的状态不同,表明该移动终端的使用状态不同,则对该预设事件的处理方式也不同。Wherein, the state of the current screen of the mobile terminal includes a bright screen state and a black screen state. In the embodiment of the present invention, when the state of the current screen of the mobile terminal is the bright screen state, it can be considered that the mobile terminal is in use, that is, the mobile terminal In any application scenario, when the current screen state of the mobile terminal is a black screen state, it can be considered that the mobile terminal is in a standby state. Different states of the current screen indicate different usage states of the mobile terminal, and different processing methods for the preset event are also different.

103b:当该屏幕状态为亮屏状态,且该预设事件为来电事件时,显示用于通知正在来电的图标;103b: When the screen state is a bright screen state and the preset event is an incoming call event, display an icon for notifying that a call is coming;

其中,该用于通知正在来电的图标可以为通话标识或该来电事件的联系人的头像等;在显示该用于通知正在来电的图标时,可以静止显示或闪烁显示;而当检测到用户对该图标的单击操作时,可以接通该来电,还可以显示该来电事件的联系人、接通选项和挂断选项,以供用户根据该联系人选择接通或者挂断,本发明实施例对该图标的具体显示方式和来电的接通方式不做限定。Wherein, the icon for notifying the incoming call can be a call ID or the avatar of the contact person of the incoming call event; when the icon for notifying the incoming call is displayed, it can be displayed statically or flashingly; When the icon is clicked, the incoming call can be connected, and the contact person, connection option and hang-up option of the incoming call event can also be displayed for the user to choose to connect or hang up according to the contact person. The specific display mode of the icon and the connection mode of the incoming call are not limited.

在本发明实施例中,在显示该用于通知正在来电的图标的同时,还可以震动模式进行提醒,具体可以由技术人员在该勿扰模式规则中设定,或由用户在使用过程中设定,本发明实施例对此不做限定。In the embodiment of the present invention, while displaying the icon for notifying an incoming call, it can also be reminded in vibration mode, which can be set by the technician in the rules of the Do Not Disturb mode, or set by the user during use. Definitely, this embodiment of the present invention does not limit it.

需要说明的是,显示该用于通知正在来电的图标并不会影响该移动终端当前的应用场景。具体地,当检测到该来电事件时,在当前应用场景的显示界面上,在来电显示区域显示该用于通知正在来电的图标,此时,用户仍然可以对当前的应用场景进行浏览或操作,若检测到接听该来电的事件时,暂停当前的应用场景,接通该来电,并在挂断该来电后返回至当前暂停的应用场景;若在当前的应用场景下,检测到该来电事件结束,即检测到该联系人挂断该来电时,则不再显示该图标。It should be noted that displaying the icon for notifying an incoming call will not affect the current application scenario of the mobile terminal. Specifically, when the incoming call event is detected, on the display interface of the current application scene, the icon for notifying the incoming call is displayed in the caller display area. At this time, the user can still browse or operate the current application scene, If the event of answering the incoming call is detected, suspend the current application scene, connect the incoming call, and return to the currently suspended application scene after hanging up the incoming call; if in the current application scene, the end of the incoming call event is detected , that is, when it is detected that the contact hangs up the incoming call, the icon will no longer be displayed.

其中,该来电显示区域可以为移动终端显示屏幕的右上角或左下角等区域,可以预先设定,还可以选择不妨碍当前的应用场景的区域,本发明实施例对此不做限定。Wherein, the caller ID area can be the upper right corner or the lower left corner of the display screen of the mobile terminal, which can be preset, or an area that does not interfere with the current application scene can be selected, which is not limited in the embodiment of the present invention.

103c:当该屏幕状态为黑屏状态,且该预设事件为来电事件时,在不点亮屏幕的情况下,将该来电事件保存为未接来电;103c: When the screen state is a black screen state and the preset event is an incoming call event, save the incoming call event as a missed call without turning on the screen;

具体地,当该屏幕状态为黑屏状态,且该预设事件为来电事件时,不点亮屏幕,并在检测到该来电的联系人挂断该来电时,将该来电事件保存为未接来电。Specifically, when the screen state is a black screen state and the preset event is an incoming call event, the screen is not turned on, and when the incoming call is detected to be hung up by the contact, the incoming call event is saved as a missed call .

在本发明实施例中,当该屏幕状态为黑屏状态,且该预设事件为来电事件时,在不点亮屏幕的情况下,将该来电事件保存为未接来电,既避免了打扰用户,还能够在用户点亮屏幕时,在未接来电记录中显示该来电事件,进行提醒。In the embodiment of the present invention, when the screen state is a black screen state and the preset event is an incoming call event, the incoming call event is saved as a missed call without turning on the screen, which avoids bothering the user, It is also possible to display the incoming call event in the missed call record when the user turns on the screen to remind.

此时,对于移动终端用户来说,在联系人来电期间,不会看到来电显示,而对于该来电的联系人来说,不受该勿扰模式的影响,该联系人仍可以听见铃声,只是无人应答而已。At this time, for the mobile terminal user, during the call of the contact, the caller ID will not be seen, but for the contact of the incoming call, the contact can still hear the ringtone without being affected by the Do Not Disturb mode. It's just that no one answered.

在本发明实施例中,可以将勿扰模式下来电事件的处理方式设置为静音通知,则当在该屏幕状态为亮屏状态时检测到该来电事件,即显示用于通知正在来电的图标,并以静音模式进行提醒;当在该屏幕状态为黑屏状态时检测到该来电事件,即在不点亮屏幕的情况下,将该来电事件保存为未接来电,以静音模式进行提醒。还可以将勿扰模式下来电事件的处理方式设置为屏蔽并保存至来电拦截记录,则当在该屏幕状态为亮屏状态时在检测到该来电事件,即将该来电屏蔽,并保存至来电拦截记录;当在该屏幕状态为黑屏状态时检测到该来电事件,即在不点亮屏幕的情况下,将该来电屏蔽,并保存至来电拦截记录。本发明实施例中以将勿扰模式下来电事件的处理方式设置为静音通知为例进行说明。In the embodiment of the present invention, the processing mode of the incoming call event in the Do Not Disturb mode can be set as silent notification, then when the incoming call event is detected when the screen is in the bright screen state, the icon for notifying the incoming call is displayed, And remind in silent mode; when the incoming call event is detected when the screen state is black, that is, save the incoming call event as a missed call without lighting the screen, and remind in silent mode. You can also set the processing method of the call event in the Do Not Disturb mode to shield and save it to the call interception record. Record; when the incoming call event is detected when the screen is in a black state, that is, the incoming call is blocked without turning on the screen, and saved to the incoming call interception record. In the embodiment of the present invention, the processing method of the call event in the Do Not Disturb mode is set as silent notification as an example for illustration.

103d:当该屏幕状态为亮屏状态,且该预设事件为短信事件或通知事件时,显示用于通知短信事件或通知事件的图标;103d: When the screen state is a bright screen state, and the preset event is a text message event or a notification event, display an icon for notifying a text message event or a notification event;

其中,该用于通知短信事件或通知事件的图标可以为短信标识或通知标识,或者为该短信事件或该通知事件的联系人的头像,还可以为通知栏中包含短信或通知个数的图标,本发明实施例对此不做限定。Wherein, the icon for notifying the SMS event or the notification event may be the SMS ID or the notification ID, or the avatar of the contact person of the SMS event or the notification event, or an icon containing the number of SMS or notifications in the notification bar , which is not limited in this embodiment of the present invention.

在本发明实施例中,当检测到对该用于通知短信事件或通知事件的图标的单击操作时,显示接收到的短信或通知,还可以显示接收时间和联系人等信息,本发明实施例对此不做限定。In the embodiment of the present invention, when a click operation on the icon for notifying a short message event or a notification event is detected, the received short message or notification can be displayed, and information such as receiving time and contact person can also be displayed. Examples are not limited to this.

需要说明的是,显示该用于通知短信事件或通知事件的图标并不会影响该移动终端当前的应用场景,用户仍然可以对当前的应用场景进行浏览或操作,具体地,当检测到该短信事件或通知事件时,在短信或通知显示区域显示该用于通知短信事件或通知事件的图标,此时,用户仍然可以对当前的应用场景进行浏览或操作,若检测到查看该短信或该通知的事件时,暂停当前的应用场景,显示接收到的短信或者通知,当退出该短信或通知时,可以返回至当前暂停的应用场景;若在当前的应用场景下,当该图标持续显示时间超过预设阈值时,可以不再显示该图标,本发明实施例对不再显示该图标的时机不做限定。It should be noted that displaying the icon for notifying a short message event or a notification event will not affect the current application scene of the mobile terminal, and the user can still browse or operate the current application scene. Specifically, when the short message is detected event or notification event, the icon used to notify the SMS event or notification event is displayed in the text message or notification display area. At this time, the user can still browse or operate the current application scene. When an event occurs, suspend the current application scene and display the received text message or notification. When exiting the text message or notification, you can return to the currently suspended application scene; if in the current application scene, when the icon continues to be displayed for more than When the threshold is preset, the icon may no longer be displayed, and the embodiment of the present invention does not limit the timing of no longer displaying the icon.

在本发明实施例中,该用于通知正在来电的图标和用于通知短信事件或通知事件的图标均可以为事件的联系人(名称或头像等),并以不同的显示颜色进行区分,或在不同的显示区域区别显示,本发明实施例对此不做限定。In this embodiment of the present invention, both the icon for notifying an incoming call and the icon for notifying a text message event or a notification event can be the contact person (name or avatar, etc.) of the event, and are distinguished by different display colors, or It is displayed differently in different display areas, which is not limited in this embodiment of the present invention.

103e:当该屏幕状态为黑屏状态,且该预设事件为短信事件或通知事件时,不点亮屏幕;103e: When the screen state is a black screen state, and the preset event is a text message event or a notification event, do not light up the screen;

在本发明实施例中,当该屏幕状态为黑屏状态,且该预设事件为短信事件或通知事件时,不点亮屏幕,而当检测到该移动终端的屏幕状态由黑屏状态切换为亮屏状态时,可以显示该用于通知短信事件或通知事件的图标,以进行提醒。In the embodiment of the present invention, when the screen state is a black screen state and the preset event is a text message event or a notification event, the screen is not turned on, and when it is detected that the screen state of the mobile terminal is switched from a black screen state to a bright screen When the state is displayed, the icon for notifying the SMS event or the notification event may be displayed for reminder.

在本发明实施例中,可以将勿扰模式下短信事件的处理方式设置为静音通知,则当在该屏幕状态为亮屏状态时检测到该短信事件,即显示用于通知短信事件的图标,并以静音模式进行提醒;当在该屏幕状态为黑屏状态时检测到该短信事件,即在不点亮屏幕的情况下,将该短信保存至收件箱,或将通知保存至通知栏,并以静音模式进行提醒。或,还可以将勿扰模式下短信事件的处理方式设置为屏蔽并保存至短信拦截记录,则当在该屏幕状态为亮屏状态时在检测到该短信事件,即将该短信屏蔽,并保存至短信拦截记录;当在该屏幕状态为黑屏状态时检测到该短信事件,即在不点亮屏幕的情况下,将该短信屏蔽,并保存至短信拦截记录。本发明实施例中以将勿扰模式下短信事件的处理方式设置为静音通知为例进行说明。In the embodiment of the present invention, the processing mode of the text message event under the Do Not Disturb mode can be set as silent notification, then when the screen state is the bright screen state, the text message event is detected, that is, the icon for notifying the text message event is displayed, And remind in silent mode; when the message event is detected when the screen is in a black state, that is, save the message to the inbox without turning on the screen, or save the notification to the notification bar, and Reminders in silent mode. Or, you can also set the processing method of SMS events in Do Not Disturb mode to block and save to the SMS interception record, then when the screen is in the bright state, when the SMS event is detected, the SMS will be blocked and saved to SMS interception record; when the SMS event is detected when the screen is in a black state, the SMS will be blocked without turning on the screen and saved to the SMS interception record. In the embodiment of the present invention, the processing mode of the short message event in the Do Not Disturb mode is set as silent notification as an example for illustration.

在本发明实施例中,通知事件和媒体声音事件等事件的处理方式的设置与短信事件的处理方式的设置类似,在此不再赘述。In the embodiment of the present invention, the setting of the processing mode of events such as notification event and media sound event is similar to the setting of the processing mode of short message event, and will not be repeated here.

103f:当该预设事件为媒体声音事件时,按照该媒体声音所属应用的设置对该预设事件进行处理。103f: When the preset event is a media sound event, process the preset event according to the setting of the application to which the media sound belongs.

在本发明实施例中,可以在安装的应用中对该应用的媒体声音进行设置,即设置为声音模式和静音模式,则检测到该媒体声音事件时,按照该安装的应用的设置对该媒体声音事件进行处理。如,在游戏应用中开启声音模式,则在开启勿扰模式的情况下开启该游戏应用时,按照声音模式对用户的操作进行响应。In the embodiment of the present invention, the media sound of the application can be set in the installed application, that is, set to sound mode and silent mode, and when the media sound event is detected, the media sound will be set according to the settings of the installed application. Sound events are handled. For example, if the sound mode is turned on in the game application, when the game application is started while the Do Not Disturb mode is turned on, the user's operation will be responded according to the sound mode.

较佳的,在图1A所示实施例技术方案的基础上,步骤102“根据用户的选择,对该勿扰模式规则进行设置”包括下述步骤102a、步骤102b、步骤102c中的一项或多项:Preferably, on the basis of the technical solution of the embodiment shown in FIG. 1A, step 102 of "setting the Do Not Disturb mode rule according to the user's selection" includes one of the following steps 102a, 102b, and 102c or Multiple:

102a:当检测到用户对该设置界面中的贵宾VIP来电选项的激活操作时,显示VIP名单的设置选项,获取用户对该VIP名单中联系人的设置;102a: When the user's activation operation of the VIP incoming call option in the setting interface is detected, display the setting options of the VIP list, and obtain the settings of the contacts in the VIP list by the user;

在本发明实施例中,可以在激活勿扰模式的情况下,对该勿扰模式规则中例外事件的处理方式进行设置,也即是,例外事件的处理方式属于该勿扰模式;还可以在未激活勿扰模式的情况下,直接对该例外事件的处理方式进行设置,也即是,例外事件的处理方式不属于该勿扰模式,而是独立于该勿扰模式之外。勿扰模式与例外事件之间的关系可以由技术人员在开发时设置,或由用户在使用过程中修改,本发明实施例对此不做限定。In the embodiment of the present invention, when the Do Not Disturb mode is activated, the processing mode of the exception event in the Do Not Disturb mode rule can be set, that is, the processing mode of the exception event belongs to the Do Not Disturb mode; When the Do Not Disturb mode is not activated, the processing method of the exception event is directly set, that is, the processing method of the exception event does not belong to the Do Not Disturb mode, but is independent of the Do Not Disturb mode. The relationship between the Do Not Disturb mode and the exception events can be set by a technician during development, or modified by a user during use, which is not limited in this embodiment of the present invention.

具体地,当检测到用户对该设置界面中的VIP来电选项的激活操作时,显示VIP名单的设置选项,使得用户通过该VIP名单的设置选项,对VIP名单中联系人进行设置,该移动终端获取用户对该VIP名单联系人的设置。Specifically, when the activation operation of the VIP incoming call option in the setting interface by the user is detected, the setting option of the VIP list is displayed, so that the user can set the contacts in the VIP list through the setting option of the VIP list, and the mobile terminal Get the user's settings for this VIP list contact.

其中,该VIP名单可以包括至少一个联系人的名称,或包括至少一个联系人的电话号码,本发明实施例对此不做限定。Wherein, the VIP list may include the name of at least one contact person, or include the phone number of at least one contact person, which is not limited in this embodiment of the present invention.

在本发明实施例中,可以在获取到用户对该VIP名单联系人的设置之后,在检测到对该VIP来电选项的关闭操作时,保存该VIP名单,以便在再次检测到对该VIP来电选项的激活操作时,可以直接获取该VIP名单联系人的设置。In the embodiment of the present invention, after obtaining the setting of the contact person on the VIP list by the user, when the closing operation of the VIP incoming call option is detected, the VIP list is saved, so that when the VIP incoming call option is detected again When the activation operation is performed, the settings of the contacts in the VIP list can be obtained directly.

图1C为VIP名单的设置示意图,在左图中,当检测到对VIP来电选项“VIP来电不受限”选项的激活操作时,显示“设置VIP名单”选项,当检测到对“设置VIP名单”选项的单击操作时,显示如右图所示的界面,获取用户对该VIP名单联系人的设置。Figure 1C is a schematic diagram of the setting of the VIP list. In the left figure, when the activation operation of the VIP incoming call option "VIP incoming call is not limited" is detected, the "Set VIP list" option is displayed. When the option is clicked, the interface shown on the right is displayed, and the user's settings for the contacts on the VIP list are obtained.

102b:当检测到用户对该设置界面中的紧急事件选项的激活操作时,将对该紧急事件的处理方式确定为以振铃模式进行提醒;102b: When it is detected that the user activates the emergency event option in the setting interface, determine the processing method of the emergency event as a reminder in ringing mode;

其中,该紧急事件选项用于对检测到的紧急事件进行设置,当检测到用户对该紧急事件选项的激活操作时,将该紧急事件的处理方式确定为以振铃模式进行提醒,而当未检测到用户对该紧急事件选项的激活操作时,将紧急事件的处理方式确定为与该勿扰模式中的一般事件的处理方式相同的处理方式。Wherein, the emergency event option is used to set the detected emergency event. When the activation operation of the emergency event option by the user is detected, the emergency event processing method is determined to be reminded in the ringing mode, and when the emergency event is not When the activation operation of the emergency event option by the user is detected, the processing manner of the emergency event is determined to be the same as that of the general event in the do-not-disturb mode.

参见图1B,在该设置界面中显示该紧急事件选项“紧急来电不受限”选项,当检测到用户对“紧急来电不受限”选项的激活操作时,将对紧急来电的处理方式确定为以振铃模式进行提醒。Referring to FIG. 1B, the emergency event option "unrestricted emergency calls" option is displayed in the setting interface. When the activation operation of the "unrestricted emergency calls" option by the user is detected, the processing method for emergency calls is determined as Alert with ringing pattern.

102c:当检测到用户对该设置界面中勿扰模式开启时间段选项的激活操作时,显示时间段设置选项,获取用户设置的时间段,使得该勿扰模式在该时间段内处于开启状态。102c: When the user's activation operation of the time period option of the Do Not Disturb mode in the setting interface is detected, display the time period setting option, and obtain the time period set by the user, so that the Do Not Disturb mode is turned on during the time period.

具体地,当检测到用户对该设置界面中勿扰模式开启时间段选项的激活操作时,显示时间段设置选项,使得用户可以根据该时间段设置选项,设置勿扰模式的时间段,该移动终端获取用户设置的时间段,在该时间段内开启勿扰模式,应用已设置的勿扰模式规则对事件进行处理,在该时间段之外关闭勿扰模式。Specifically, when it is detected that the user activates the time period option of the Do Not Disturb mode in the setting interface, the time period setting option is displayed, so that the user can set the time period of the Do Not Disturb mode according to the time period setting option. The terminal acquires the time period set by the user, turns on the Do Not Disturb mode within the time period, applies the set Do Not Disturb mode rules to process the event, and turns off the Do Not Disturb mode outside the time period.

图1D为勿扰模式自动开关的设置示意图。参见图1D中的左图,当检测到对勿扰模式开启时间段选项“自动开启和关闭”选项的激活操作时,显示“时间设定”选项,当检测到用户对“时间设定”选项的单击操作时,显示图1D右图中的界面,使得用户可以分别对勿扰模式的开启时间和关闭时间进行设置,当检测到用户对开启时间选项的单击操作时,可以对开启时间进行设置,当检测到用户对关闭时间选项的单击操作时,切换为对关闭时间进行设置。该移动终端获取用户设置的开启时间和关闭时间,并在到达该开启时间时,开启勿扰模式,在到达该关闭时间时,关闭勿扰模式。FIG. 1D is a schematic diagram of setting the automatic switch of the Do Not Disturb mode. Referring to the left figure in Figure 1D, when the activation operation of the option "automatically turn on and off" for the time period option of the Do Not Disturb mode is detected, the "time setting" option is displayed, and when it is detected that the user has activated the "time setting" option When the click operation is performed, the interface in the right figure of Figure 1D is displayed, so that the user can set the opening time and closing time of the Do Not Disturb mode respectively. When the user's single-click operation on the opening time option is detected, the opening time Make settings, when it is detected that the user clicks on the closing time option, switch to setting the closing time. The mobile terminal acquires the on time and off time set by the user, and when the on time is reached, the do not disturb mode is turned on, and when the off time is reached, the do not disturb mode is turned off.

在本发明实施例中,通过对勿扰模式开启时间段选项的设置,实现了勿扰模式的自动开启和自动关闭,增加了勿扰模式的灵活性,无需用户多次进行勿扰模式的开启和关闭,简化了操作。In the embodiment of the present invention, the automatic opening and closing of the Do Not Disturb mode is realized by setting the time period option of the Do Not Disturb mode, which increases the flexibility of the Do Not Disturb mode and does not require the user to open the Do Not Disturb mode multiple times on and off, simplifying operation.

较佳的,在图1A所示实施例技术方案的基础上,步骤103“当检测到预设事件时,根据该预设事件的类型和该勿扰模式规则中对各种不同事件的处理方式,对该预设事件进行处理”包括下述步骤103g和步骤103h中的一项或多项:Preferably, on the basis of the technical solution of the embodiment shown in Figure 1A, step 103 "When a preset event is detected, according to the type of the preset event and the processing method for various events in the do not disturb mode rule , processing the preset event" includes one or more of the following steps 103g and 103h:

103g:当该预设事件为来电事件或短信事件,且该VIP名单包括该来电事件或短信事件的联系人时,以振铃模式进行提醒;103g: when the preset event is an incoming call event or a short message event, and the VIP list includes the contact person of the incoming call event or short message event, remind in a ringing mode;

具体地,当检测到来电事件或短信事件,且该VIP来电选项处于激活状态时,获取该来电事件或短信事件的联系人,并通过遍历该VIP名单,判断该VIP名单中是否包括该来电事件或短信事件的联系人,当该VIP名单包括该来电事件或短信事件的联系人时,以振铃模式进行提醒。Specifically, when an incoming call event or a short message event is detected, and the VIP incoming call option is in an active state, the contacts of the incoming call event or short message event are obtained, and by traversing the VIP list, it is judged whether the incoming call event is included in the VIP list Or the contact person of the SMS event, when the VIP list includes the contact person of the incoming call event or the SMS event, it will be reminded with the ringing mode.

在本发明实施例中,通过获取VIP名单联系人的设置,在检测到该VIP名单中联系人的来电事件或短信事件时,将该来电事件或短信事件确定为例外事件,可以不受勿扰模式一般事件的处理方式的限制,而以振铃模式进行提醒。根据用户对来电事件或短信事件联系人的区分设置,将例外事件与一般事件区分开来,避免了用户错过VIP名单中联系人的电话或短信,便于用户对移动终端的管理。In the embodiment of the present invention, by obtaining the settings of the contacts in the VIP list, when an incoming call event or a short message event of a contact in the VIP list is detected, the incoming call event or short message event is determined as an exception event, and it is possible to avoid Do Not Disturb The general event processing mode is limited, and the ringing mode is used for reminders. According to the user's settings for distinguishing contacts in incoming call events or SMS events, exceptional events are distinguished from general events, which prevents users from missing calls or text messages from contacts in the VIP list, and facilitates user management of mobile terminals.

此外,还可以将VIP名单联系人的处理方式设置为检测到VIP联系人的来电事件时,以振铃模式进行提醒;检测到VIP联系人的短信事件时,以静音模式进行提醒,或检测到VIP联系人的短信事件时,以振铃模式进行提醒。本发明实施例以检测到VIP联系人的短信事件时,以振铃模式进行提醒为例进行说明。In addition, you can also set the processing method of contacts in the VIP list to remind in ringing mode when an incoming call event from a VIP contact is detected; to remind in silent mode when a text message event from a VIP contact is detected, or When the SMS event of the VIP contact is received, it will be reminded with the ringing mode. In the embodiment of the present invention, when a short message event of a VIP contact is detected, a ringing mode is used as an example for illustration.

103h:当接收到紧急来电时,以振铃模式进行提醒,该紧急来电为在预设时间间隔内,同一联系人拨打的超过预设次数的来电。103h: When an emergency call is received, it will be reminded in ringing mode. The emergency call is an incoming call that exceeds the preset number of calls from the same contact within a preset time interval.

具体地,当在勿扰模式下检测到该VIP名单不包括的联系人的来电事件时,以静音模式进行提醒,而检测到在预设时间间隔内,该联系人拨打的来电超过该预设次数时,确定本次接收到的来电为紧急来电,则以振铃模式进行提醒。Specifically, when an incoming call event of a contact not included in the VIP list is detected in the Do Not Disturb mode, a reminder is made in the silent mode, and it is detected that within a preset time interval, the incoming calls made by the contact exceed the preset time interval. When the number of times is determined, the incoming call received this time is determined to be an emergency call, and the ringing mode is used to remind.

其中,该预设时间间隔和该预设次数可以由技术人员在开发时设置,或由用户在使用过程中设置,本发明实施例对此不做限定。Wherein, the preset time interval and the preset number of times may be set by a technician during development, or set by a user during use, which is not limited in this embodiment of the present invention.

假设,该预设时间间隔为3分钟,该预设次数为5次,该VIP名单中不包括联系人A,则该移动终端在勿扰模式下检测到来自联系人A的来电事件时,不发出铃声,并从检测到的第一次来电事件开始统计时间,当在3分钟内检测到来自联系人A的5次来电事件时,确定该第5次来电为紧急来电,则以振铃模式进行提醒。Suppose, the preset time interval is 3 minutes, the preset number of times is 5, and the VIP list does not include contact A, then when the mobile terminal detects an incoming call event from contact A in the Do Not Disturb mode, it will not Make a ringtone and start counting the time from the first detected incoming call event. When 5 incoming call events from contact A are detected within 3 minutes, it is determined that the fifth incoming call is an emergency call, and the ringing mode is used Make a reminder.

较佳的,在图1A所示实施例技术方案的基础上,步骤102a“获取用户对该VIP名单中联系人的设置”包括下述步骤102a-1、102a-2或102a-3中的一项或多项:Preferably, on the basis of the technical solution of the embodiment shown in FIG. 1A, step 102a "obtaining the settings of the contacts in the VIP list by the user" includes one of the following steps 102a-1, 102a-2 or 102a-3 Item or items:

102a-1:获取用户输入的联系人,将该用户输入的联系人确定为VIP名单中的联系人;102a-1: Obtain the contact entered by the user, and determine the contact entered by the user as a contact in the VIP list;

其中,可以获取用户输入的联系人名称,或者获取用户输入的电话号码,用户输入的电话号码可以为通讯录包括的任一电话号码,还可以为通讯录中不包括的电话号码,本发明实施例中对此不做限定。Among them, the contact name input by the user can be obtained, or the phone number input by the user can be obtained. The phone number input by the user can be any phone number included in the address book, or a phone number not included in the address book. This is not limited in the example.

102a-2:获取通讯录中的所有联系人,将该所有联系人确定为VIP名单中的联系人;102a-2: Obtain all contacts in the address book, and determine all contacts as contacts in the VIP list;

102a-3:获取用户从该通讯录中选择的联系人,将该选择的联系人确定为VIP名单中的联系人。102a-3: Obtain a contact selected by the user from the address book, and determine the selected contact as a contact in the VIP list.

具体地,当检测到用户对该设置界面中的贵宾VIP来电选项的激活操作时,显示VIP名单的设置选项,此时,用户可以通过该VIP名单的设置选项,对该VIP名单进行设置。Specifically, when the activation operation of the VIP VIP call option in the setting interface by the user is detected, the setting options of the VIP list are displayed, and at this time, the user can set the VIP list through the setting options of the VIP list.

其中,在通讯录中可以根据用户的选择,将用户选择的联系人收藏,对收藏的联系人进行统一的发送短信等操作。用户从该通讯录中选择的联系人可以为用户从该通讯录中手动选择的一个或多个联系人,还可以为用户收藏的所有联系人。Wherein, in the address book, according to the user's selection, the contacts selected by the user can be collected as favorites, and operations such as sending short messages can be performed on the favorited contacts in a unified manner. The contacts selected by the user from the address book may be one or more contacts manually selected by the user from the address book, and may also be all contacts in the user's favorites.

参见图1C,当检测到对左图中的“设置VIP名单”选项的单击操作时,显示右图所示的界面,具体显示“自定义”选项、“通讯录中的所有人”选项和“收藏联系人”选项,当检测到用户对“自定义”选项的单击操作时,显示“添加VIP联系人”选项,获取用户输入的联系人或者获取用户从通讯录中选择的联系人,将该用户输入的联系人或该从通讯录中选择的联系人确定为VIP名单中的联系人,并显示该VIP名单的联系人。参见右图,在显示该VIP名单时,还可以显示删除选项,用于将该VIP名单中任一联系人移除VIP名单;当检测到用户对“通讯录中的所有人”选项的单击操作时,获取通讯录中的所有联系人,将该所有联系人确定为VIP名单中的联系人,且不再显示VIP名单和“添加VIP联系人”选项;当检测到用户对“收藏联系人”选项的单击操作时,将用户收藏的联系人确定为VIP名单中的联系人,且不再显示VIP名单和“添加VIP联系人”选项。Referring to Figure 1C, when a click operation on the "Setting VIP List" option in the left figure is detected, the interface shown in the right figure is displayed, specifically displaying the "custom" option, the "everyone in the address book" option and "Favorite Contacts" option, when the user clicks on the "Customize" option is detected, the "Add VIP Contacts" option is displayed to obtain the contacts entered by the user or the contacts selected by the user from the address book, The contact entered by the user or the contact selected from the address book is determined as a contact in the VIP list, and the contacts in the VIP list are displayed. See the figure on the right, when displaying the VIP list, you can also display the delete option, which is used to remove any contact in the VIP list from the VIP list; when the user clicks on the "Everyone in the address book" option is detected During operation, obtain all contacts in the address book, determine all contacts as contacts in the VIP list, and no longer display the VIP list and the "Add VIP Contact" option; When clicking the "Option", the contacts in the user's favorites will be determined as the contacts in the VIP list, and the VIP list and the "Add VIP Contact" option will no longer be displayed.

较佳的,在图1A所示实施例技术方案的基础上,步骤103“当检测到预设事件时,根据该预设事件的类型和该勿扰模式规则中对各种不同事件的处理方式,对该预设事件进行处理”包括下述步骤103i、103j、103k或103l中的一项或多项:Preferably, on the basis of the technical solution of the embodiment shown in Figure 1A, step 103 "When a preset event is detected, according to the type of the preset event and the processing method for various events in the do not disturb mode rule , processing the preset event" includes one or more of the following steps 103i, 103j, 103k or 103l:

103i:当该预设事件为短信事件,且该接收到的短信被举报时,则将接收到的短信拦截至该短信拦截记录;103i: when the preset event is a text message event and the received text message is reported, then intercept the received text message to the text message interception record;

具体地,当检测到短信事件,且接收到的短信的举报次数超过预设阈值或者预设时间间隔内的举报频率超过预设频率时,将接收到的短信拦截至该短信拦截记录。Specifically, when a short message event is detected, and the number of reports of received short messages exceeds a preset threshold or the reporting frequency within a preset time interval exceeds a preset frequency, the received short messages are intercepted to the short message interception record.

具体地,该移动终端可以在检测到短信事件时,根据该短信事件的联系人的电话号码,向举报数据库请求该电话号码的举报信息或者请求该短信的举报信息,当获取到该举报信息,并确定该电话号码或该短信的举报信息包括的举报次数超过预设阈值时,或者检测到该电话号码或该短信在预设时间间隔内的举报频率超过预设频率时,为该短信添加举报标识,将接收到的短信拦截至该短信拦截记录。其中,该举报标识可以为举报图标或举报次数等,本发明实施例对此不做限定。Specifically, when the mobile terminal detects a short message event, according to the phone number of the contact person of the short message event, request the report information of the phone number or the report information of the short message from the report database, when the report information is obtained, And when it is determined that the number of reports included in the report information of the phone number or the text message exceeds the preset threshold, or when it is detected that the report frequency of the phone number or the text message exceeds the preset frequency within a preset time interval, add a report to the text message mark, and intercept the received SMS to the SMS interception record. Wherein, the report indicator may be a report icon or a number of reports, etc., which is not limited in this embodiment of the present invention.

其中,该举报数据库可以位于云端服务器中,该云端服务器用于收集多个移动终端对短信的举报指令,并统计被举报的联系人或者被举报的短信的举报次数或举报频率,保存在该举报数据库中。当该云端服务器接收到移动终端发送的举报信息的查询请求时,根据该查询请求携带的电话号码,从该举报数据库中获取该电话号码的举报次数或举报频率等信息,并返回给该移动终端,该移动终端获取该举报信息,或者根据该查询请求携带的短信,从该举报数据库中获取该短信的举报次数或举报频率等信息,并返回给该移动终端,该移动终端获取该举报信息,并根据该举报信息进行提示。Wherein, the report database can be located in a cloud server, and the cloud server is used to collect the report instructions of multiple mobile terminals to the short messages, and count the number of reports or the report frequency of the reported contacts or the reported short messages, and store them in the report. in the database. When the cloud server receives the report information query request sent by the mobile terminal, according to the phone number carried in the query request, it obtains information such as the number of reports or report frequency of the phone number from the report database, and returns it to the mobile terminal , the mobile terminal obtains the report information, or according to the short message carried in the query request, obtains information such as the number of reports or report frequency of the short message from the report database, and returns it to the mobile terminal, and the mobile terminal obtains the report information, And prompt according to the reported information.

在本发明实施例提供的另一实施例中,该步骤103i可以由以下步骤代替:当检测到用户对任一短信的举报指令时,将该举报指令对应的短信拦截至该短信拦截记录。In another embodiment provided by the embodiment of the present invention, step 103i may be replaced by the following steps: when detecting the user's reporting instruction for any short message, intercepting the short message corresponding to the reporting instruction into the short message interception record.

具体地,该移动终端在检测到短信事件时,将接收到的短信保存至收件箱中,在收件箱中任一短信的显示界面上,可以显示举报选项,该举报选项用于触发举报指令,当检测到用户对任一短信的举报指令时,将该举报指令对应的短信拦截至该短信拦截记录。此时,该云端服务器检测该举报事件,并统计该短信的电话号码或该短信的举报次数或举报频率。Specifically, when the mobile terminal detects a short message event, it saves the received short message into the inbox, and on the display interface of any short message in the inbox, a report option can be displayed, and the report option is used to trigger the report Instructions, when detecting a user's report instruction for any short message, intercept the short message corresponding to the report instruction to the short message interception record. At this time, the cloud server detects the reporting event, and counts the phone number of the text message or the number of times or reporting frequency of the text message.

103j:当该预设事件为短信事件,且黑名单中包括该短信事件的联系人,则将接收到的短信拦截至该短信拦截记录;103j: when the preset event is a text message event, and the blacklist includes the contacts of the text message event, then intercept the received text message to the text message interception record;

在本发明实施例中,该移动终端可以设置黑名单,该黑名单用于对联系人进行过滤。In the embodiment of the present invention, the mobile terminal can set a blacklist, and the blacklist is used to filter contacts.

具体地,当该预设事件为短信事件时,获取该短信事件的联系人,并通过遍历该黑名单,判断该黑名单中是否包括该短信事件的联系人,当该黑名单中包括该短信事件的联系人时,将该接收到的短信拦截至该短信拦截记录。Specifically, when the preset event is a short message event, obtain the contact person of the short message event, and by traversing the blacklist, determine whether the blacklist includes the contact person of the short message event, when the blacklist includes the short message When the contact person of the event, the received short message is intercepted to the short message interception record.

103k:当该预设事件为短信事件,且接收到的短信为垃圾短信时,将接收到的短信拦截至该短信拦截记录;103k: when the preset event is a short message event and the received short message is a spam short message, intercept the received short message to the short message interception record;

具体地,当检测到短信事件,且接收到的短信携带垃圾短信标识时,将接收到的短信拦截至该短信拦截记录。Specifically, when a short message event is detected and the received short message carries a spam short message identifier, the received short message is intercepted into the short message interception record.

进一步地,当检测到短信事件,且确定通讯录中不包括该短信事件的联系人时,根据该接收到的短信,向垃圾短信数据库请求短信的信息,以判断该短信是否为垃圾短信。其中,该垃圾短信数据库可以位于云端服务器中,该云端服务器用于根据短信的联系人和短信内容等信息,判断短信是否为垃圾短信。当该云端服务器接收到移动终端发送的短信时,根据该垃圾短信数据库,判断该短信是否为垃圾短信,当确定该接收到的短信为垃圾短信时,为该短信添加垃圾短信标识,并返回给该移动终端,该移动终端将该接收到的短信拦截至该短信拦截记录。Further, when a short message event is detected and it is determined that the contact of the short message event is not included in the address book, according to the received short message, request information of the short message from the spam short message database to determine whether the short message is a spam short message. Wherein, the spam message database may be located in a cloud server, and the cloud server is used to judge whether the message is a spam message according to information such as the contact person of the message and the content of the message. When the cloud server receives the note sent by the mobile terminal, according to the spam database, it is judged whether the note is a spam message; The mobile terminal intercepts the received short message into the short message interception record.

在本发明实施例中,可以通过在选项中进行设置,以确定是否需要将垃圾短信拦截至该短信拦截记录。具体地,当检测到对拦截垃圾短信选项的激活操作时,确定将垃圾短信拦截至该短信拦截记录,则在检测到短信事件,且接收到的短信为垃圾短信时,将接收到的短信拦截至该短信拦截记录。In the embodiment of the present invention, it can be determined whether the spam message needs to be intercepted in the message interception record by setting in the option. Specifically, when detecting the activation operation of the option of intercepting spam text messages, it is determined to intercept spam text messages to the text message interception record, then when a text message event is detected and the received text message is a spam text message, the received text message is intercepted to the SMS interception record.

需要说明的是,本发明实施例提供了多种例外事件的处理方式,而在实际的使用过程中,可以设置该预设事件采用例外事件的处理方式还是该勿扰模式中的一般事件的处理方式。It should be noted that the embodiment of the present invention provides a variety of exception event processing methods, and in the actual use process, it can be set whether the preset event adopts the exception event processing method or the general event processing in the do not disturb mode Way.

图1E是本发明实施例提供的设置界面示意图,可以对例外事件的处理方式进行设置。参见图1E,显示“智能过滤垃圾短信”选项,当检测到对“智能过滤垃圾短信”选项的单击操作后接收到垃圾短信时,将接收到的垃圾短信拦截至该短信拦截记录,而当未检测到对“智能过滤垃圾短信”选项的单击操作的情况下接收到垃圾短信时,将接收到的垃圾短信按照一般的短信进行处理,即保存至收件箱中。FIG. 1E is a schematic diagram of a setting interface provided by an embodiment of the present invention, and the processing mode of exception events can be set. Referring to Figure 1E, the "intelligent filtering of spam messages" option is shown, and when a spam message is received after the click operation of the "intelligent filter spam message" option is detected, the received spam message will be intercepted to the message interception record, and when When a spam message is received without detecting the click operation of the "intelligent filter spam message" option, the received spam message will be processed as a general message, that is, it will be saved in the inbox.

103l:当该预设事件为短信事件,且接收到的短信包括预设关键字时,将接收到的短信拦截至该短信拦截记录。1031: When the preset event is a short message event and the received short message includes a preset keyword, intercept the received short message to the short message interception record.

其中,该预设关键字可以由用户在使用过程中进行添加、删除和修改等操作,本发明实施例对此不做限定。Wherein, the preset keywords can be added, deleted and modified by the user during use, which is not limited in this embodiment of the present invention.

参见图1E,当检测到对“设置短信过滤关键词”选项的单击操作时,显示如图1F中左图所示的该预设关键字的设置界面。图1F是本发明实施例提供的预设关键字设置界面示意图。参见左图,通过点击“添加关键字”选项,可以添加预设关键词,如“保险”和“买房”。当检测到对关键字“保险”的单击操作或长按操作时,显示“删除”选项,如右图所示,当检测到用户对“删除”选项的单击操作时,删除关键字“保险”。Referring to FIG. 1E , when a click operation is detected on the option “Set SMS filtering keywords”, a setting interface for the preset keyword as shown in the left diagram of FIG. 1F is displayed. FIG. 1F is a schematic diagram of a preset keyword setting interface provided by an embodiment of the present invention. See the picture on the left, by clicking the "Add Keyword" option, you can add preset keywords, such as "insurance" and "buying a house". When the click operation or long press operation on the keyword "insurance" is detected, the "Delete" option is displayed, as shown in the right figure, when the user click operation on the "Delete" option is detected, the keyword "Delete" will be deleted. Insurance".

在步骤103i中,可以将举报的任一短信拦截至该短信拦截记录,避免接收到被举报的欺诈短信;在步骤103j中,可以将黑名单中的任一联系人发送的短信拦截至该短信拦截记录,避免接收到黑名单中联系人的短信;在步骤103k中,可以将垃圾短信拦截至该短信拦截记录,避免接收到广告短信或恶意短信链接;在步骤103l中,可以将包括预设关键字的短信拦截至该短信拦截记录,避免接收到包括用户指定关键字的短信。上述四种拦截短信的方式,根据用户不同角度的需求,从不同的方面有效地避免了接收到骚扰短信或广告短信等用户不希望接收到的短信。In step 103i, any short message reported can be intercepted to the short message interception record, so as to avoid receiving the reported fraudulent short message; in step 103j, any short message sent by any contact in the blacklist can be intercepted to the short message Intercept record, avoid receiving the short message of the contact person in blacklist; In step 103k, spam text message can be intercepted to this short message interception record, avoids receiving advertisement short message or malicious text message link; In step 103l, can include preset Keyword text messages are intercepted to the text message interception record to avoid receiving text messages containing user-specified keywords. The above four methods of intercepting text messages effectively avoid receiving unwanted text messages such as harassing text messages or advertising text messages from different aspects according to the needs of users from different perspectives.

需要说明的是,上述拦截短信的过程可以在激活勿扰模式的情况下执行,还可以独立于勿扰模式之外,即可以在无论勿扰模式开启或是关闭时,均按照上述步骤对接收到的短信进行拦截。It should be noted that the above-mentioned process of intercepting text messages can be executed when the Do Not Disturb mode is activated, and it can also be independent of the Do Not Disturb mode, that is, whether the Do Not Disturb mode is turned on or off, the receiving Incoming text messages are intercepted.

进一步地,在对短信进行拦截之后,可以设置该移动终端显示拦截通知,也可以设置为不显示拦截通知,本发明实施例对此不做限定。参见图1E,当检测到对“拦截后显示通知”选项的激活操作时,则在将短信拦截后显示拦截通知。Further, after the short message is intercepted, the mobile terminal may be set to display the interception notification, or may be set not to display the interception notification, which is not limited in this embodiment of the present invention. Referring to FIG. 1E , when an activation operation of the "display notification after interception" option is detected, the interception notification is displayed after the short message is intercepted.

较佳的,在图1A所示实施例技术方案的基础上,所述方法还包括下述步骤104和步骤105中的一项或多项:Preferably, on the basis of the technical solution of the embodiment shown in Figure 1A, the method further includes one or more of the following steps 104 and 105:

104:当检测到对该短信拦截记录中指定短信的单击操作时,显示该指定短信的详情页面;104: When a click operation of a specified short message in the short message interception record is detected, a detailed page of the specified short message is displayed;

在本发明实施例中,该短信拦截记录包括一条或多条被拦截的短信,在该短信拦截记录中还可以显示每条被拦截的短信的联系人的电话号码或接收时间等信息,当检测到对指定短信的单击操作时,显示该指定短信的详情页面,该指定短信的详情页面可以显示该短信的完整内容、联系人的电话号码和拨打电话选项等。其中,该指定短信为该短信拦截记录中的任一条短信,该指定短信的详情页面为该指定短信的联系人发送的所有短信的详情页面。In the embodiment of the present invention, the short message interception record includes one or more intercepted short messages, and information such as the contact person's phone number or receiving time of each intercepted short message can also be displayed in the short message interception record. When the specified message is clicked, the details page of the specified message is displayed, and the details page of the specified message can display the complete content of the message, the phone number of the contact, and the option to make a call. Wherein, the designated short message is any short message in the short message interception record, and the details page of the designated short message is the detailed page of all short messages sent by the contacts of the designated short message.

图1G是本发明实施例提供的短信拦截记录示意图。如左图所示,该短信拦截记录包括四条被拦截的短信。其中,第一条短信显示有“举报成功”标识,表示该短信由用户举报;第三条短信显示有拦截次数“(5)”,表明该短信的联系人的短信已被拦截5次;第四条短信显示有短信联系人,该短信联系人为黑名单中包括的联系人。当检测到对第二条短信的单击操作时,显示该第二条短信的详情页面,在该短信的详情页面上,可以显示该短信的完整内容、联系人的电话号码、拨打电话选项和“不再屏蔽该号码的短信”选项,当检测到对拨打电话选项的单击操作时,给该短信的联系人拨打电话。FIG. 1G is a schematic diagram of a short message interception record provided by an embodiment of the present invention. As shown in the figure on the left, the SMS interception record includes four intercepted SMS messages. Among them, the first text message shows the sign of "successful reporting", indicating that the text message was reported by the user; the third text message shows the number of interceptions "(5)", indicating that the text message of the contact of the text message has been intercepted 5 times; The four text messages show that there are text message contacts, and the text message contacts are contacts included in the blacklist. When the click operation to the second text message is detected, the details page of the second text message is displayed. On the details page of the text message, the complete content of the text message, the phone number of the contact person, the option of making a call and the details of the text message can be displayed. "Don't block text messages from this number again" option, when a click on the call option is detected, calls the contact of the text message.

105:当检测到对该短信拦截记录中的指定短信的长按操作时,显示第一短信处理选项。105: When a long press operation of a specified short message in the short message interception record is detected, display the first short message processing option.

较佳的,该第一短信处理选项包括拨打电话选项、回复短信选项和删除该联系人的所有短信选项中的一项或多项。Preferably, the first text message processing option includes one or more of the options of making a phone call, replying to text messages, and deleting all text messages of the contact.

图1H是本发明实施例提供的短信拦截记录示意图。如左图所示,当检测到对第二条短信的长按操作时,显示该第一短信处理选项,显示示意图如右图所示,该第一短信处理选项包括拨打电话选项、回复短信选项和删除该联系人的所有短信选项,当检测到对拨打电话选项的单击操作时,向该短信的联系人拨打电话,当检测到对回复短信选项的单击操作时,进入向该短信的联系人发送短信的新建页面,当检测到对删除该联系人的所有短信选项的单击操作时,删除该短信的联系人发送的所有短信。FIG. 1H is a schematic diagram of a short message interception record provided by an embodiment of the present invention. As shown in the left figure, when a long press operation on the second message is detected, the first message processing option is displayed, and the display schematic diagram is shown in the right figure, and the first message processing option includes the call option and the reply message option And delete all text message options of this contact person, when detecting the click operation to the call option, make a call to the contact person of the text message, when detecting the click operation to the reply text message option, enter to the text message On the new page of SMS sent by a contact, when a click operation on the option to delete all SMS of this contact is detected, all SMS sent by the contact of this SMS will be deleted.

较佳的,在图1A所示实施例技术方案的基础上,步骤104“当检测到对该短信拦截记录中指定短信的单击操作时,显示该指定短信的详情页面”之后,所述方法还包括下述步骤104a和步骤104b中的一项或多项:Preferably, on the basis of the technical solution of the embodiment shown in Figure 1A, after step 104 "when a click operation of a specified message in the interception record of the message is detected, display the details page of the specified message", the method One or more of the following steps 104a and 104b are also included:

104a:当检测到对该详情页面上解除屏蔽选项的激活操作时,将该指定短信移动至收件箱;104a: When an activation operation of the unblocking option on the detail page is detected, move the specified text message to the inbox;

具体地,当检测到对该详情页面上解除屏蔽选项的激活操作时,将该指定短信移动至收件箱,并对该短信的联系人解除屏蔽,不再拦截该短信的联系人发送的短信。Specifically, when the activation operation of the unblocking option on the detail page is detected, the specified text message is moved to the inbox, and the contact person of the short message is unblocked, and the short message sent by the contact person of the short message is no longer intercepted .

相应的,在该步骤104a之后,所述方法还包括:当再次检测到来自该指定短信的联系人的短信事件时,将该联系人的短信保存至收件箱。Correspondingly, after the step 104a, the method further includes: when a short message event from the contact of the specified short message is detected again, saving the short message of the contact to an inbox.

如图1G中的右图所示,当检测到对“不再屏蔽该号码的短信”选项的单击操作时,对该短信的联系人解除屏蔽,将该短信移动至收件箱,且当再次接收到该短信联系人发送的短信时,将接收到的短信保存在收件箱中,而不拦截至该短信拦截记录。As shown in the right figure in Figure 1G, when it is detected that the click operation on the option "no longer block text messages of this number" is detected, the contact of the text message is unblocked, the text message is moved to the inbox, and when When the short message sent by the short message contact is received again, the received short message is saved in the inbox without being intercepted to the short message interception record.

104b:当检测到对该详情页面上对该指定短信的长按操作时,显示第二短信处理选项。104b: When a long press operation on the specified short message on the detail page is detected, display a second short message processing option.

较佳的,该第二短信处理选项包括删除选项和恢复选项中的一项或多项,该删除选项用于删除短信,该恢复选项用于将该指定短信移动至该收件箱。Preferably, the second message processing option includes one or more of a delete option and a restore option, the delete option is used to delete the message, and the restore option is used to move the specified message to the inbox.

需要说明的是,该解除屏蔽选项用于将该短信联系人发送的所有短信移动至该收件箱,且在再次接收到该短信的联系人发送的短信时,不再拦截短信,而该恢复选项用于将选中的该指定短信移动至该收件箱,仅是对该指定短信的操作,并不会将该短信的联系人发送的其他短信移动至该收件箱,且在再次接收到该短信联系人发送的短信时,仍然会将接收到的短信拦截至该短信拦截记录。It should be noted that the unblocking option is used to move all the text messages sent by the SMS contact to the inbox, and when the text message sent by the contact of the text message is received again, the text message will no longer be blocked, and the recovery The option is used to move the selected specified text message to the inbox, it is only an operation on the specified text message, and will not move other text messages sent by the contact of the text message to the inbox, and will be received again When the short message contact sends a short message, the received short message will still be intercepted to the short message interception record.

图1I是本发明实施例提供的短信详情页面示意图,当检测到对该短信的长按操作时,显示“删除”选项和“恢复到收件箱”选项,当检测到对“删除”选项的单击操作时,将该短信删除,当检测到对“恢复到收件箱”选项的单击操作时,将该短信移动至该收件箱。Figure 1I is a schematic diagram of the short message details page provided by the embodiment of the present invention. When a long press operation on the short message is detected, the "delete" option and the "restore to inbox" option are displayed. When the "delete" option is detected When the action is clicked, the text message is deleted, and when a click action on the "restore to inbox" option is detected, the text message is moved to the inbox.

较佳的,在图1A所示实施例技术方案的基础上,步骤103“当检测到预设事件时,根据该预设事件的类型和该勿扰模式规则中对各种不同事件的处理方式,对该预设事件进行处理”之前,所述方法还包括下述步骤103m、步骤103n、步骤103o中的一项或多项:Preferably, on the basis of the technical solution of the embodiment shown in Figure 1A, step 103 "When a preset event is detected, according to the type of the preset event and the processing method for various events in the do not disturb mode rule , before processing the preset event", the method further includes one or more of the following steps 103m, 103n, and 103o:

103m:获取用户输入的联系人,将该用户输入的联系人确定为黑名单中的联系人;103m: Obtain the contact input by the user, and determine the contact input by the user as a contact in the blacklist;

其中,可以获取用户输入的联系人名称,或者获取用户输入的电话号码,用户输入的电话号码可以为通讯录包括的任一电话号码,还可以为通讯录中不包括的电话号码,本发明实施例中对此不做限定。Among them, the contact name input by the user can be obtained, or the phone number input by the user can be obtained. The phone number input by the user can be any phone number included in the address book, or a phone number not included in the address book. This is not limited in the example.

103n:获取用户从该通讯录中选择的联系人,将该选择的联系人确定为黑名单中的联系人;103n: Obtain the contact selected by the user from the address book, and determine the selected contact as a contact in the blacklist;

其中,用户从该通讯录中选择的联系人可以为用户从该通讯录中手动选择的一个或多个联系人,还可以为用户收藏的所有联系人,本发明实施例对此不做限定。Wherein, the contacts selected by the user from the address book may be one or more contacts manually selected by the user from the address book, and may also be all contacts saved by the user, which is not limited in this embodiment of the present invention.

103o:获取用户从通信记录中选择的联系人,将该选择的联系人确定为黑名单中的联系人。103o: Obtain a contact selected by the user from the communication records, and determine the selected contact as a contact in the blacklist.

其中,该通信记录包括通话记录和短信记录,用户在查看该通信记录时,可以显示移动至黑名单选项,当检测到在任一条通信记录中对该移动至黑名单选项的单击操作时,将该通信记录对应的联系人确定为黑名单中的联系人。Wherein, the communication records include call records and SMS records. When the user checks the communication records, the option of moving to the blacklist can be displayed. The contacts corresponding to the communication records are determined as contacts in the blacklist.

优选地,获取用户从最近通信记录中选择的联系人,将该选择的联系人确定为黑名单中的联系人。Preferably, a contact selected by the user from recent communication records is obtained, and the selected contact is determined as a contact in the blacklist.

需要说明的是,参见图1E,当检测到对“设置黑名单”选项的单击操作时,显示该黑名单的设置界面,以获取用户对该黑名单的设置。该黑名单的设置界面与VIP名单的设置界面类似,在此不再提供显示示意图。在该黑名单的设置界面上可以显示“自定义”选项和“收藏联系人”选项,当检测到对“自定义”选项的单击操作时,显示“添加黑名单联系人”选项,获取用户输入的联系人或者获取用户从通讯录中选择的联系人;当检测到用户对“收藏联系人”选项的单击操作时,将用户收藏的联系人确定为黑名单中的联系人。It should be noted that, referring to FIG. 1E , when a click operation on the “Set Blacklist” option is detected, a setting interface of the blacklist is displayed, so as to obtain settings of the blacklist by the user. The setting interface of the blacklist is similar to the setting interface of the VIP list, and the display diagram is not provided here. On the setting interface of the blacklist, the "custom" option and the "favorite contact" option can be displayed. When a click operation on the "custom" option is detected, the "add blacklist contact" option will be displayed to obtain the user's The entered contacts or obtain the contacts selected by the user from the address book; when the user clicks on the "Favorite Contacts" option is detected, the contacts favorited by the user are determined as contacts in the blacklist.

在本发明实施例中,在通信记录中可以根据用户的选择,将用户选择的通信记录收藏,或将用户选择的通信记录的联系人收藏,对收藏的多条通信记录可以进行统一的移动、删除等操作,对收藏的联系人可以进行统一的发送短信等操作。相应的,用户从通信记录中选择的联系人可以为用户手动选择的一个或多个通信记录的联系人,还可以为用户收藏的所有通信记录的联系人,本发明实施例对此不做限定。In the embodiment of the present invention, in the communication records, according to the user's selection, the communication records selected by the user can be saved, or the contacts of the communication records selected by the user can be saved, and the multiple communication records in the collection can be uniformly moved, Operations such as deletion, and operations such as sending text messages to favorite contacts can be performed in a unified manner. Correspondingly, the contact selected by the user from the communication records may be the contact of one or more communication records manually selected by the user, and may also be the contact of all communication records saved by the user, which is not limited in the embodiment of the present invention .

较佳的,在图1A所示实施例技术方案的基础上,步骤103j“当该预设事件为短信事件,且黑名单中包括该短信事件的联系人,则将接收到的短信拦截至该短信拦截记录”之前,所述方法还包括:将该黑名单中联系人所发送短信的处理方式设置为屏蔽并保存至该短信拦截记录。Preferably, on the basis of the technical solution of the embodiment shown in Figure 1A, step 103j "when the preset event is a text message event, and the blacklist includes the contacts of the text message event, then intercept the received text message to the Short message interception record", the method also includes: setting the processing method of the short message sent by the contacts in the blacklist as shielding and saving it in the short message interception record.

本发明实施例中,可以对该黑名单中联系人所发送短信的处理方式进行设置,具体可以设置为屏蔽并保存至该短信拦截记录,则在接收到黑名单包括的联系人发送的短信时,执行步骤103j。In the embodiment of the present invention, the processing method of the short message sent by the contacts in the blacklist can be set, specifically, it can be set as shielding and saved to the short message interception record, then when the short message sent by the contact included in the blacklist is received , execute step 103j.

相应的,还可以将黑名单中联系人所发送短信的处理方式设置为静音通知,则在接收到黑名单包括的联系人发送的短信时,以静音模式进行提醒。Correspondingly, the processing method of the short messages sent by the contacts in the blacklist can also be set as silent notification, and when receiving the short messages sent by the contacts included in the blacklist, it will be reminded in silent mode.

参见图1E,当检测到对“黑名单拦截后操作”选项的单击操作时,显示黑名单拦截后操作的设置界面,如图1J所示,图1J是本发明实施例提供的黑名单拦截后操作设置界面示意图,在该设置界面可以对该黑名单中联系人所发送短信的处理方式进行设置。Referring to FIG. 1E, when a click operation on the “operation after blacklist interception” option is detected, the setting interface for operation after blacklist interception is displayed, as shown in FIG. 1J, which is a blacklist interception provided by an embodiment of the present invention. Schematic diagram of the post-operation setting interface, where you can set the processing method of the text messages sent by the contacts in the blacklist.

较佳的,在图1A所示实施例技术方案的基础上,步骤103“当检测到预设事件时,根据该预设事件的类型和该勿扰模式规则中对各种不同事件的处理方式,对该预设事件进行处理”包括下述步骤103p、103q、103r中的一项或多项:Preferably, on the basis of the technical solution of the embodiment shown in Figure 1A, step 103 "When a preset event is detected, according to the type of the preset event and the processing method for various events in the do not disturb mode rule , processing the preset event" includes one or more of the following steps 103p, 103q, 103r:

103p:当该预设事件为来电事件,且黑名单中包括该来电事件的联系人,则将接收到的来电拦截至来电拦截记录;103p: When the preset event is an incoming call event, and the blacklist includes the contacts of the incoming call event, then intercept the incoming call to the incoming call interception record;

具体地,当检测到来电事件时,获取该来电事件的联系人,并通过遍历该黑名单,判断该黑名单中是否包括该来电事件的联系人,当该黑名单中包括该来电事件的联系人时,将该接收到的来电拦截至该来电拦截记录。Specifically, when an incoming call event is detected, the contacts of the incoming call event are obtained, and by traversing the blacklist, it is judged whether the contact person of the incoming call event is included in the blacklist, and when the blacklist includes the contact of the incoming call event When the person is present, the received call is blocked to the call interception record.

103q:当该预设事件为来电事件,且该来电事件的号码为空号码时,将接收到的来电拦截至该来电拦截记录;103q: When the default event is an incoming call event, and the number of the incoming call event is an empty number, intercept the incoming call to the incoming call interception record;

其中,在接收到应用软件拨打的电话或将电话号码设置为显示空号码的联系人拨打的电话时,在该移动终端上会显示该来电事件的号码为空号码。Wherein, when receiving a call from the application software or a contact whose phone number is set to display an empty number, the mobile terminal will display that the number of the incoming call event is an empty number.

在本发明实施例中,当检测到对拦截空号码来电的激活操作时,将对空号码来电事件的处理方式确定为拦截至该来电拦截记录,则在检测到来电事件,且该来电事件的号码为空号码时,将接收到的来电拦截至该来电拦截记录。In the embodiment of the present invention, when an activation operation for intercepting an incoming call with an empty number is detected, the processing method for the incoming call with an empty number is determined to be intercepted to the incoming call interception record, then when the incoming call event is detected, and the incoming call event When the number is empty, the incoming call will be intercepted to the incoming call interception record.

参见图1E,当检测到对“拦截空号码来电”选项的激活操作时,确定空号码来电的处理方式为拦截至该来电拦截记录,则在检测到来电时间,且该来电事件的号码为空号码时,将接收到的来电拦截至该来电拦截记录。Referring to Figure 1E, when the activation operation of the "intercept incoming calls from empty numbers" option is detected, it is determined that the incoming calls from empty numbers are processed by intercepting the incoming call interception record, then when the incoming call is detected, and the number of the incoming call event is empty number, the received call will be blocked to the call blocking record.

103r:当该预设事件为来电事件,且拦截数据库包括该来电事件的号码时,将接收到的来电拦截至该来电拦截记录。103r: When the preset event is an incoming call event, and the interception database includes the number of the incoming call event, intercept the received incoming call to the incoming call interception record.

具体地,当检测到来电事件,且通讯录中不包括该来电事件的联系人时,根据该来电事件的号码,向拦截数据库请求查询是否包括该号码,当检测到该拦截数据库包括该来电事件的号码时,将接收到的来电拦截至该来电拦截记录。Specifically, when an incoming call event is detected and the contacts of the incoming call event are not included in the address book, according to the number of the incoming call event, a request is made to the interception database to check whether the number is included, and when it is detected that the interception database includes the incoming call event number, the incoming call will be blocked to the call blocking record.

其中,该拦截数据库可以位于云端服务器中,该云端服务器用于收集多个移动终端对接收到的来电的电话号码的标记,包括个人骚扰来电标记、诈骗来电标记、中介来电标记等。当该云端服务器接收到移动终端发送的标记查询请求时,根据该标记查询请求携带的电话号码,从该拦截数据库中获取该电话号码的标记,并返回给该移动终端。Wherein, the interception database may be located in a cloud server, and the cloud server is used to collect the phone number marks of incoming calls received by multiple mobile terminals, including personal harassment call marks, fraudulent call marks, intermediary call marks, and the like. When the cloud server receives the tag query request sent by the mobile terminal, it obtains the tag of the phone number from the interception database according to the phone number carried in the tag query request, and returns it to the mobile terminal.

进一步地,可以通过在选项中进行设置,以确定该移动终端是否需要在对来电进行拦截之后,显示拦截通知。参见图1E,当检测到对“拦截后显示通知”选项的激活操作时,则在将来电拦截后显示拦截通知。Further, it can be determined whether the mobile terminal needs to display an interception notification after intercepting the incoming call by setting in the option. Referring to FIG. 1E , when an activation operation of the "display notification after interception" option is detected, an interception notification is displayed after the incoming call is intercepted.

较佳的,在图1A所示实施例技术方案的基础上,步骤103“当检测到预设事件时,根据该预设事件的类型和该勿扰模式规则中对各种不同事件的处理方式,对该预设事件进行处理”之后,所述方法还包括下述步骤103s、103t、103u中的一项或多项:Preferably, on the basis of the technical solution of the embodiment shown in Figure 1A, step 103 "When a preset event is detected, according to the type of the preset event and the processing method for various events in the do not disturb mode rule , process the preset event", the method further includes one or more of the following steps 103s, 103t, 103u:

103s:当检测到对该来电拦截记录中指定号码的单击操作时,显示该指定号码的来电详情页面;103s: When a click operation on the specified number in the call interception record is detected, the call details page of the specified number is displayed;

在本发明实施例中,该来电拦截记录包括一条或多条被拦截的来电,在该来电拦截记录中还可以显示每条被拦截的来电的联系人的电话号码、接收时间以及拦截方式等信息。当检测到对指定号码的单击操作时,显示该指定号码的来电详情页面,在该指定号码的来电详情页面中,可以显示该指定号码具体的来电拦截记录,包括每次拦截来电的拦截时间和拦截方式等。In the embodiment of the present invention, the incoming call interception record includes one or more intercepted incoming calls, and information such as the phone number, receiving time, and interception method of the contact person of each intercepted incoming call can also be displayed in the incoming call interception record . When a click operation on a specified number is detected, the call details page of the specified number will be displayed. In the call details page of the specified number, the specific call interception records of the specified number can be displayed, including the interception time of each intercepted call and interception methods, etc.

此外,在该来电详情页面上还可以显示不再屏蔽选项和标记选项,当检测到解除屏蔽选项的单击操作时,触发对该来电号码的解除屏蔽指令,不再拦截该来电号码拨打的电话。当检测到对标记选项的单击操作时,获取用户输入的对该来电号码的标记等信息。In addition, the no-blocking option and the marking option can also be displayed on the incoming call details page. When the click operation of the unblocking option is detected, an unblocking command for the incoming call number is triggered, and calls made by the incoming call number are no longer blocked. . When the click operation of the marking option is detected, information such as the marking of the incoming call number entered by the user is obtained.

图1K是本发明实施例提供的来电拦截记录示意图。如左图所示,该来电拦截记录包括四条被拦截的来电。其中,第一条来电拦截记录和第三条来电拦截记录显示有“黑名单拦截”标识,表明该黑名单中包括该来电的联系人;第二条来电拦截记录显示有“诈骗”标记和“响一声拦截”标识,表明该来电的号码为标记有“诈骗”标记的号码;第四条来电拦截记录显示有“空号码拦截”标识,表明该来电的号码为空号码。当检测到对第一条来电拦截记录的单击操作时,显示该来电号码的来电详情页面,如右图所示,可以显示该来电的电话号码、来电拦截次数、拦截时间等,还可以显示“不再屏蔽”选项和“标记”选项。FIG. 1K is a schematic diagram of an incoming call interception record provided by an embodiment of the present invention. As shown in the figure on the left, the call blocking record includes four blocked calls. Among them, the first call interception record and the third call interception record show the mark of "blacklist interception", indicating that the contact person of the call is included in the blacklist; the second call interception record shows the mark of "fraud" and " One beep to block" mark, indicating that the number of the incoming call is a number marked with a "fraud" mark; the fourth call interception record shows the mark of "empty number interception", indicating that the number of the incoming call is an empty number. When a click operation on the first call interception record is detected, the caller details page of the caller number will be displayed, as shown in the figure on the right, which can display the caller’s phone number, number of intercepted calls, interception time, etc., and can also display "Do not block again" option and "Flag" option.

103t:当检测到对该指定号码的菜单显示指令时,显示该指定号码的菜单,该菜单包括第一来电处理选项;103t: When the menu display instruction for the specified number is detected, display the menu for the specified number, and the menu includes the first call processing option;

其中,该菜单显示指令可以由在该指定号码的来电详情页面上对主菜单键的单击操作触发,或由对该指定号码的来电详情页面上的空白区域的双击操作触发,本发明实施例对此不做限定。Wherein, the menu display instruction can be triggered by a single-click operation on the main menu button on the caller details page of the specified number, or by a double-click operation on a blank area on the caller details page of the specified number. There is no limit to this.

较佳的,该第一来电处理选项包括拨打电话选项、发送短信选项、新建联系人选项、添加至现有联系人选项和删除该号码的所有拦截记录的选项中的一项或多项。Preferably, the first incoming call processing option includes one or more options of making a call, sending a text message, creating a new contact, adding to an existing contact, and deleting all intercepted records of the number.

图1L是本发明实施例提供的来电详情页面的操作示意图。参见图1L的左图,当检测到对该来电详情页面的空白区域的长按操作时,确定检测到该菜单显示指令,显示该指定号码的菜单,该菜单包括拨打电话选项、发送短信选项和删除该号码的所有拦截记录选项。由于通讯录包括该来电联系人,则不再显示新建联系人选项和添加至现有联系人选项。当检测到对拨打电话选项的单击操作时,向该来电拦截记录的联系人拨打电话,当检测到对发送短信选项的单击操作时,进入向该来电拦截记录的联系人发送的短信的新建页面,当检测到对删除该号码的所有拦截记录选项的单击操作时,删除接收到的该来电拦截记录的联系人的所有来电记录。FIG. 1L is a schematic diagram of the operation of the incoming call details page provided by the embodiment of the present invention. Referring to the left figure of FIG. 1L, when a long press operation on the blank area of the incoming call details page is detected, it is determined that the menu display instruction is detected, and the menu of the specified number is displayed, and the menu includes options for making calls, sending text messages and Delete all blocking records options for this number. Since the address book includes the contact for the incoming call, the options of creating a new contact and adding to an existing contact are no longer displayed. When a click operation to the option of making a call is detected, a call is made to the contact of the incoming call interception record; Create a new page. When a click operation is detected on the option to delete all intercepted records of this number, all incoming call records received by the contacts of the incoming call intercepted record will be deleted.

103u:当检测到对该指定号码的任一条来电拦截记录的单击操作时,显示第二来电处理选项。103u: When a single-click operation of any incoming call interception record of the specified number is detected, a second incoming call processing option is displayed.

较佳的,该第二来电处理选项包括拨打电话选项、发送短信选项和删除这一条来电拦截记录选项中的一项或多项。Preferably, the second incoming call processing option includes one or more of the options of making a call, sending a short message, and deleting this incoming call interception record.

参见图1L的右图,当检测到对该指定号码的第二条来电拦截记录的单击操作时,显示拨打电话、发送短信和删除这一条来电拦截记录选项。当检测到对拨打电话选项的单击操作时,向该来电拦截记录的联系人拨打电话,当检测到对发送短信选项的单击操作时,进入向该来电拦截记录的联系人发送的短信的新建页面,当检测到对删除这一条来电拦截记录选项的单击操作时,删除第二条来电拦截记录。Referring to the right figure of FIG. 1L, when the click operation of the second call interception record of the specified number is detected, the options of making a call, sending a text message and deleting the call interception record are displayed. When a click operation to the option of making a call is detected, a call is made to the contact of the incoming call interception record; Create a new page, and delete the second intercepted call record when a click operation on the option to delete the intercepted call is detected.

需要说明的是,该第一来电处理选项用于对该指定号码进行处理,该第二来电处理选项用于对当前选择的来电拦截记录进行处理,而不对该来电拦截记录的号码进行处理。It should be noted that the first call processing option is used to process the designated number, and the second call processing option is used to process the currently selected call interception record instead of the number in the call interception record.

较佳的,在图1A所示实施例技术方案的基础上,步骤103p“当该预设事件为来电事件,且黑名单中包括该来电事件的联系人,则将接收到的来电拦截至来电拦截记录”之前,该方法还包括:将该黑名单中联系人来电事件的处理方式设置为屏蔽并保存至该来电拦截记录。Preferably, on the basis of the technical solution of the embodiment shown in Figure 1A, step 103p "When the preset event is an incoming call event, and the blacklist includes the contacts of the incoming call event, then intercept the received incoming call to the incoming call Before "intercepting record", the method also includes: setting the processing method of the contact event in the blacklist as shielding and saving it to the incoming call intercepting record.

本发明实施例中,可以对该黑名单中联系人来电事件的处理方式进行设置,具体可以设置为屏蔽并保存至该来电拦截记录,则在接收到黑名单包括的联系人拨打的电话时,执行步骤103p。In the embodiment of the present invention, it is possible to set the processing method of the contact event in the blacklist. Specifically, it can be set to be shielded and saved to the call interception record. When receiving a call from a contact included in the blacklist, Execute step 103p.

相应的,还可以将黑名单中联系人来电事件的处理方式设置为静音通知,则在接收到黑名单包括的联系人拨打的电话时,以静音模式进行提醒。Correspondingly, it is also possible to set the processing mode of the incoming call event of the contact in the blacklist as a silent notification, and when a call is received from a contact included in the blacklist, a reminder will be made in the silent mode.

图1J是本发明实施例提供的黑名单拦截后操作设置界面示意图,在该设置界面可以对该黑名单中联系人来电事件的的处理方式进行设置。FIG. 1J is a schematic diagram of an operation setting interface after blacklist interception provided by an embodiment of the present invention. In this setting interface, the processing mode of an incoming call event of a contact in the blacklist can be set.

此外,在本发明实施例中,还可以对在勿扰模式下对一般事件的处理方式进行设置。参见图1E,当检测到对“非VIP来电和短信处理方式”选项的单击操作时,显示对VIP名单不包括的联系人拨打的电话或发送的短信的设置选项,设置界面如图1M所示,在该设置界面可以对在勿扰模式下VIP名单不包括的联系人拨打的电话或发送的短信的处理方式进行设置。In addition, in the embodiment of the present invention, it is also possible to set the processing method for general events in the Do Not Disturb mode. Referring to Figure 1E, when a click operation is detected on the "Non-VIP Incoming Calls and SMS Handling Mode" option, it displays the setting options for calls or text messages sent by contacts not included in the VIP list, and the setting interface is shown in Figure 1M In this setting interface, you can set the processing method for calls made or text messages sent by contacts not included in the VIP list in the Do Not Disturb mode.

上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。All the above optional technical solutions can be combined in any way to form an optional embodiment of the present invention, which will not be repeated here.

图2是本发明实施例提供的一种事件处理方法的流程图。该发明实施例的执行主体为移动终端,参见图2,所述方法包括:Fig. 2 is a flowchart of an event processing method provided by an embodiment of the present invention. The execution subject of this embodiment of the invention is a mobile terminal, referring to Figure 2, the method includes:

201:显示勿扰模式规则的设置界面,该勿扰模式规则用于规定对各种不同事件的处理方式;201: Display the setting interface of the Do Not Disturb mode rule, and the Do Not Disturb mode rule is used to specify how to handle various events;

202:根据用户的选择,对该勿扰模式规则进行设置;202: Set the Do Not Disturb mode rule according to the user's selection;

参见图1B和图1E,在本发明实施例中,以激活“VIP来电不受限”选项、“紧急来电不受限”选项、“拦截空号码来电”选项、“智能过滤垃圾短信”选项为例进行说明。参见图1J,本发明实施例还以黑名单拦截后将接收到的来电和短信屏蔽并保存至拦截记录为例进行说明。Referring to Fig. 1B and Fig. 1E, in the embodiment of the present invention, to activate the "VIP incoming call unlimited" option, the "emergency incoming call unlimited" option, the "intercept empty number incoming call" option, and the "intelligent filtering spam message" option are Example to illustrate. Referring to FIG. 1J , the embodiment of the present invention is also illustrated by taking the received incoming calls and short messages blocked by the blacklist and saved in the interception record as an example.

本发明实施例的下述步骤中,将以移动终端检测到来电事件或短信事件为例进行说明,来电事件和短信事件之外的其他事件的处理方式与此类似,在此不再赘述。In the following steps of the embodiment of the present invention, the detection of an incoming call event or a short message event by a mobile terminal will be used as an example for illustration. The processing methods for other events other than the incoming call event and short message event are similar, and will not be repeated here.

203:当检测到来电事件时,分别判断该来电事件的联系人是否为VIP名单中的联系人,或黑名单中的联系人,或空号码或该拦截数据库中包括的号码,执行步骤204、步骤205、步骤206、步骤207或步骤208;203: When an incoming call event is detected, determine whether the contact person of the incoming call event is a contact person in the VIP list, or a contact person in the blacklist, or an empty number or a number included in the interception database, and perform steps 204, Step 205, step 206, step 207 or step 208;

需要说明的是,步骤203中对该短信事件进行判断时,没有绝对的时序关系,可以同时进行上述判断,还可以一前一后进行上述判断,本发明实施例对此不做限定。It should be noted that when judging the short message event in step 203, there is no absolute sequence relationship, and the above judgments can be performed simultaneously, or one after the other, which is not limited in this embodiment of the present invention.

204:当检测到该来电事件的联系人为VIP名单中的联系人时,以振铃模式进行提醒;204: When it is detected that the contact of the incoming call event is a contact in the VIP list, remind in ringing mode;

205:当检测到该来电事件的联系人为黑名单中的联系人时,将接收到的来电拦截至该来电拦截记录;205: When it is detected that the contact of the incoming call event is a contact in the blacklist, intercept the received incoming call to the incoming call interception record;

206:当检测到该来电事件的号码为空号码时,将接收到的来电拦截至该来电拦截记录;206: When it is detected that the number of the incoming call event is an empty number, intercept the received incoming call to the incoming call interception record;

207:当检测到该拦截数据库包括该来电事件的号码时,将接收到的来电拦截至该来电拦截记录;207: When it is detected that the interception database includes the number of the incoming call event, intercept the received incoming call to the incoming call interception record;

208:当检测到该来电事件的联系人不是VIP名单中的联系人,且不是黑名单中的联系人,该来电事件的号码不是空号码,且不是该拦截数据库中包括的号码时,获取移动终端当前屏幕的状态;208: When it is detected that the contact of the incoming call event is not a contact in the VIP list, and is not a contact in the blacklist, and the number of the incoming call event is not an empty number, and is not a number included in the interception database, obtain the mobile The status of the current screen of the terminal;

209:当该当前屏幕的状态为亮屏状态时,显示用于通知正在来电的图标,执行步骤211;209: When the state of the current screen is the bright screen state, display an icon for notifying that a call is coming, and execute step 211;

210:当该当前屏幕的状态为黑屏状态时,不点亮屏幕,执行步骤211;210: When the state of the current screen is a black screen state, the screen is not turned on, and step 211 is executed;

211:当再次检测到该来电联系人的来电事件,并根据预设时间间隔和预设次数确定接收到该来电事件的联系人的紧急来电时,以振铃模式进行提醒,结束;211: When the incoming call event of the incoming call contact is detected again, and when the emergency call of the contact receiving the incoming call event is determined according to the preset time interval and the preset number of times, the ringing mode is used to remind, and the end;

212:当检测到短信事件时,分别判断该短信事件的联系人是否为VIP名单中的联系人,或者为黑名单中的联系人,并判断该接收到的短信是否为垃圾短信,或者包括预设关键字的短信,执行步骤213、步骤214、步骤215、步骤216或步骤217;212: When a short message event is detected, judge whether the contact person of the short message event is a contact person in the VIP list or a contact person in the blacklist, and judge whether the received short message is a spam message, or includes a preset Set the short message of keyword, carry out step 213, step 214, step 215, step 216 or step 217;

需要说明的是,步骤212中对该短信事件进行判断时,没有绝对的时序关系,可以同时进行上述判断,还可以一前一后进行上述判断,本发明实施例对此不做限定。It should be noted that when judging the short message event in step 212, there is no absolute sequence relationship, and the above judgments can be performed simultaneously, or one after the other, which is not limited in this embodiment of the present invention.

213:当检测到该短信事件的联系人为VIP名单中的联系人时,以振铃模式进行提醒;213: When it is detected that the contact person of the SMS event is a contact person in the VIP list, remind in ringing mode;

本发明实施例中,以接收到VIP名单中的联系人的短信时振铃为例进行说明,实际上,还可以将接收到VIP名单中的联系人的短信时的处理方式设置为静音通知。参见图1E,当检测到对“VIP给我发短信时静音”选项的激活操作时,则在接收到VIP名单中的联系人的短信时,以静音模式进行提醒。In the embodiment of the present invention, the ringing is taken as an example when a short message from a contact in the VIP list is received. In fact, the processing method when a short message from a contact in the VIP list is received can also be set as silent notification. Referring to FIG. 1E , when the activation operation of the option "Mute when a VIP sends me a text message" is detected, when a text message from a contact in the VIP list is received, a reminder is made in a silent mode.

214:当检测到该短信事件的联系人为黑名单中的联系人时,将该接收到的短信拦截至该短信拦截记录;214: When it is detected that the contact of the short message event is a contact in the blacklist, intercept the received short message to the short message interception record;

215:当检测到接收到的短信为垃圾短信时,将接收到的短信拦截至该短信拦截记录;215: When it is detected that the received text message is a spam text message, intercept the received text message to the text message interception record;

216:当检测到接收到的短信包括该预设关键字时,将接收到的短信拦截至该短信拦截记录;216: When it is detected that the received short message includes the preset keyword, intercept the received short message to the short message interception record;

217:当检测到该短信事件的联系人不是VIP名单中的联系人,或黑名单中的联系人,且该短信不是垃圾短信,或包括预设关键字的短信时,获取移动终端当前屏幕的状态;217: When it is detected that the contact of the text message event is not a contact in the VIP list or a contact in the blacklist, and the text message is not a spam text message or a text message including preset keywords, obtain the current screen of the mobile terminal state;

218:当该当前屏幕的状态为亮屏状态时,显示用于通知短信事件的图标,执行步骤220;218: When the state of the current screen is the bright screen state, display an icon for notifying the SMS event, and execute step 220;

219:当该当前屏幕的状态为黑屏状态时,不点亮屏幕,执行步骤220;219: When the state of the current screen is a black screen state, the screen is not turned on, and step 220 is performed;

220:当检测到对该接收到的短信的举报指令时,将该接收到的短信移动至该短信拦截记录,结束。220: When a report instruction for the received short message is detected, move the received short message to the short message interception record, and end.

本发明实施例提供的方法,通过根据用户的选择,对该勿扰模式规则进行设置,并在检测到预设事件时,根据该预设事件的类型和该勿扰模式规则中对各种不同事件的处理方式,对该预设事件进行处理,将勿扰模式规则包括的一般事件和例外事件区分开来,解决了防打扰的方式过于单一的问题,便于用户对移动终端的管理。In the method provided by the embodiment of the present invention, the Do Not Disturb mode rule is set according to the user's selection, and when a preset event is detected, according to the type of the preset event and the various types of rules in the Do Not Disturb mode rule The processing method of the event is to process the preset event, distinguish the general event included in the Do Not Disturb mode rule from the exceptional event, solve the problem that the anti-disturb mode is too single, and facilitate the user to manage the mobile terminal.

图3是本发明实施例提供的一种事件处理装置结构示意图,参见图3,所述装置包括:界面显示模块301、设置模块302和事件处理模块303,Fig. 3 is a schematic structural diagram of an event processing device provided by an embodiment of the present invention. Referring to Fig. 3, the device includes: an interface display module 301, a setting module 302 and an event processing module 303,

其中,界面显示模块301用于显示勿扰模式规则的设置界面,该勿扰模式规则用于规定对各种不同事件的处理方式;设置模块302与界面显示模块301连接,用于根据用户的选择,对该勿扰模式规则进行设置;事件处理模块303与设置模块302连接,用于当检测到预设事件时,根据该预设事件的类型和该勿扰模式规则中对各种不同事件的处理方式,对该预设事件进行处理,该预设事件包括来电事件、短信事件、通知事件和媒体声音事件。Among them, the interface display module 301 is used to display the setting interface of the Do Not Disturb mode rule, and the Do Not Disturb mode rule is used to specify the processing methods for various events; the setting module 302 is connected to the interface display module 301, and is used to , set the Do Not Disturb mode rule; the event processing module 303 is connected with the setting module 302, and is used for when a preset event is detected, according to the type of the preset event and the rules for various events in the Do Not Disturb mode rule The processing method is to process the preset event, and the preset event includes an incoming call event, a short message event, a notification event, and a media sound event.

较佳的,该事件处理模块303包括:Preferably, the event processing module 303 includes:

屏幕状态检测单元,用于当检测到预设事件时,检测移动终端当前屏幕的状态;The screen state detection unit is used to detect the state of the current screen of the mobile terminal when a preset event is detected;

来电图标显示单元,用于当该屏幕状态为亮屏状态,且该预设事件为来电事件时,显示用于通知正在来电的图标;或,An incoming call icon display unit, configured to display an icon for notifying an incoming call when the screen state is a bright screen state and the preset event is an incoming call event; or,

未接来电单元,用于当该屏幕状态为黑屏状态,且该预设事件为来电事件时,在不点亮屏幕的情况下,将该来电事件保存为未接来电;或,A missed call unit, configured to save the incoming call event as a missed call without lighting the screen when the screen state is a black screen state and the preset event is an incoming call event; or,

通知图标显示单元,用于当该屏幕状态为亮屏状态,且该预设事件为短信事件或通知事件时,显示用于通知短信事件或通知事件的图标;或,A notification icon display unit, configured to display an icon for notifying a text message event or a notification event when the screen state is a bright screen state and the preset event is a text message event or a notification event; or,

黑屏通知单元,用于当该屏幕状态为黑屏状态,且该预设事件为短信事件或通知事件时,不点亮屏幕;或,A black screen notification unit, configured to not light up the screen when the screen state is a black screen state and the preset event is a text message event or a notification event; or,

媒体声音处理单元,用于当该预设事件为媒体声音事件时,按照该媒体声音所属应用的设置对该预设事件进行处理。The media sound processing unit is configured to process the preset event according to the settings of the application to which the media sound belongs when the preset event is a media sound event.

较佳的,该设置模块302包括:Preferably, the setting module 302 includes:

贵宾设置单元,用于当检测到用户对该设置界面中的贵宾VIP来电选项的激活操作时,显示VIP名单的设置选项,获取用户对该VIP名单中联系人的设置;和/或,The VIP setting unit is used to display the setting options of the VIP list and obtain the setting of the contacts in the VIP list by the user when the activation operation of the VIP incoming call option in the setting interface by the user is detected; and/or,

紧急来电设置单元,用于当检测到用户对该设置界面中的紧急事件选项的激活操作时,将对该紧急事件的处理方式确定为以振铃模式进行提醒;和/或,The emergency call setting unit is used to determine the processing mode of the emergency event as a ringing mode to remind when the user's activation operation of the emergency event option in the setting interface is detected; and/or,

时间段设置单元,用于当检测到用户对该设置界面中勿扰模式开启时间段选项的激活操作时,显示时间段设置选项,获取用户设置的时间段,使得该勿扰模式在该时间段内处于开启状态。The time period setting unit is used to display the time period setting option and obtain the time period set by the user when the activation operation of the time period option for the Do Not Disturb mode in the setting interface is detected by the user, so that the Do Not Disturb mode is activated during this time period inside is open.

较佳的,该事件处理模块303包括:Preferably, the event processing module 303 includes:

贵宾事件处理单元,用于当该预设事件为来电事件或短信事件,且该VIP名单包括该来电事件或短信事件的联系人时,以振铃模式进行提醒;和/或,A VIP event processing unit, configured to remind in a ringing mode when the preset event is an incoming call event or a short message event, and the VIP list includes contacts of the incoming call event or short message event; and/or,

紧急来电处理单元,用于当接收到紧急来电时,以振铃模式进行提醒,该紧急来电为在预设时间间隔内,同一联系人拨打的超过预设次数的来电。The emergency call processing unit is configured to remind in a ringing mode when an emergency call is received, and the emergency call is an incoming call made by the same contact more than a preset number of times within a preset time interval.

较佳的,该贵宾设置单元用于获取用户输入的联系人,将该用户输入的联系人确定为VIP名单中的联系人;或,Preferably, the VIP setting unit is used to obtain the contacts input by the user, and determine the contacts entered by the user as contacts in the VIP list; or,

该贵宾设置单元用于获取通讯录中的所有联系人,将该所有联系人确定为VIP名单中的联系人;或,The VIP setting unit is used to obtain all contacts in the address book, and determine all contacts as contacts in the VIP list; or,

该贵宾设置单元用于获取用户从该通讯录中选择的联系人,将该选择的联系人确定为VIP名单中的联系人。The VIP setting unit is used to obtain a contact selected by the user from the address book, and determine the selected contact as a contact in the VIP list.

较佳的,该事件处理模块303包括:Preferably, the event processing module 303 includes:

举报处理单元,用于当该预设事件为短信事件,且该接收到的短信被举报时,则将接收到的短信拦截至该短信拦截记录;或,A reporting processing unit, configured to intercept the received text message to the text message interception record when the preset event is a text message event and the received text message is reported; or,

黑名单拦截单元,用于当该预设事件为短信事件,且黑名单中包括该短信事件的联系人,则将接收到的短信拦截至该短信拦截记录;The blacklist interception unit is used for intercepting the received short message to the short message interception record when the preset event is a short message event and the blacklist includes the contacts of the short message event;

垃圾短信拦截单元,用于当该预设事件为短信事件,且接收到的短信为垃圾短信时,将接收到的短信拦截至该短信拦截记录;或,A spam message intercepting unit, configured to intercept the received message into the message interception record when the preset event is a message event and the received message is a message spam; or,

关键字拦截单元,用于当该预设事件为短信事件,且接收到的短信包括预设关键字时,将接收到的短信拦截至该短信拦截记录。The keyword intercepting unit is used to intercept the received short message to the short message interception record when the preset event is a short message event and the received short message includes a preset keyword.

较佳的,该装置还包括:Preferably, the device also includes:

短信详情显示模块,用于当检测到对该短信拦截记录中指定短信的单击操作时,显示该指定短信的详情页面;或,The short message details display module is used to display the detailed page of the specified short message when a click operation of the specified short message in the short message interception record is detected; or,

第一短信选项显示模块,用于当检测到对该短信拦截记录中的指定短信的长按操作时,显示第一短信处理选项。The first short message option display module is used to display the first short message processing option when a long press operation of a specified short message in the short message interception record is detected.

较佳的,该第一短信处理选项包括拨打电话选项、回复短信选项和删除该联系人的所有短信选项中的一项或多项。Preferably, the first text message processing option includes one or more of the options of making a phone call, replying to text messages, and deleting all text messages of the contact.

较佳的,该装置还包括:Preferably, the device also includes:

短信解除屏蔽模块,用于当检测到对该详情页面上解除屏蔽选项的激活操作时,将该指定短信移动至收件箱;或,The SMS unblocking module is used to move the specified SMS to the inbox when the activation operation of the unblocking option on the detail page is detected; or,

第二短信选项显示模块,用于当检测到对该详情页面上对该指定短信的长按操作时,显示第二短信处理选项。The second short message option display module is used to display the second short message processing option when a long press operation on the specified short message on the detail page is detected.

较佳的,该装置还包括:Preferably, the device also includes:

再次短信处理模块,用于当再次检测到来自该指定短信的联系人的短信事件时,将该联系人的短信保存至收件箱。The re-short message processing module is used for saving the short message of the contact person to the inbox when the short message event from the contact person of the specified short message is detected again.

较佳的,该第二短信处理选项包括删除选项和恢复选项中的一项或多项,该删除选项用于删除短信,该恢复选项用于将该指定短信移动至该收件箱。Preferably, the second message processing option includes one or more of a delete option and a restore option, the delete option is used to delete the message, and the restore option is used to move the specified message to the inbox.

较佳的,该装置还包括:Preferably, the device also includes:

第一联系人获取模块,用于获取用户输入的联系人,将该用户输入的联系人确定为黑名单中的联系人;和/或,The first contact acquisition module is configured to acquire a contact input by the user, and determine the contact input by the user as a contact in the blacklist; and/or,

第二联系人获取模块,用于获取用户从该通讯录中选择的联系人,将该选择的联系人确定为黑名单中的联系人;和/或,The second contact obtaining module is configured to obtain a contact selected by the user from the address book, and determine the selected contact as a contact in the blacklist; and/or,

第三联系人获取模块,用于获取用户从通信记录中选择的联系人,将该选择的联系人确定为黑名单中的联系人。The third contact obtaining module is configured to obtain a contact selected by the user from the communication records, and determine the selected contact as a contact in the blacklist.

较佳的,该装置还包括:Preferably, the device also includes:

短信屏蔽设置模块,用于将该黑名单中联系人所发送短信的处理方式设置为屏蔽并保存至该短信拦截记录。The short message shielding setting module is used to set the processing method of the short messages sent by the contacts in the blacklist as shielding and save them to the short message interception record.

较佳的,该装置还包括:Preferably, the device also includes:

短信静音设置模块,用于将该黑名单中联系人所发送短信的处理方式设置为静音通知。The text message mute setting module is used to set the processing mode of the text messages sent by the contacts in the blacklist as a mute notification.

较佳的,该事件处理模块303包括:Preferably, the event processing module 303 includes:

黑名单来电处理单元,用于当该预设事件为来电事件,且黑名单中包括该来电事件的联系人,则将接收到的来电拦截至来电拦截记录;The blacklist incoming call processing unit is used to intercept the incoming call to the incoming call interception record when the preset event is an incoming call event, and the blacklist includes the contacts of the incoming call event;

空号码来电处理单元,用于当该预设事件为来电事件,且该来电事件的号码为空号码时,将接收到的来电拦截至该来电拦截记录;或,An empty number incoming call processing unit, configured to intercept the received incoming call to the incoming call interception record when the preset event is an incoming call event and the number of the incoming call event is an empty number; or,

拦截数据库来电单元,用于当该预设事件为来电事件,且拦截数据库包括该来电事件的号码时,将接收到的来电拦截至该来电拦截记录。The intercepting database incoming call unit is used for intercepting the received incoming call to the incoming call intercepting record when the preset event is an incoming call event and the intercepting database includes the number of the incoming call event.

较佳的,该装置还包括:Preferably, the device also includes:

来电详情显示模块,用于当检测到对该来电拦截记录中指定号码的单击操作时,显示该指定号码的来电详情页面;或,The caller details display module is used to display the caller details page of the specified number when a click operation of the specified number in the call interception record is detected; or,

第一来电选项显示模块,用于当检测到对该指定号码的菜单显示指令时,显示该指定号码的菜单,该菜单包括第一来电处理选项;或,The first incoming call option display module is used to display the menu of the specified number when the menu display instruction for the specified number is detected, and the menu includes the first incoming call processing option; or,

第二来电选项显示模块,用于当检测到对该指定号码的任一条来电拦截记录的单击操作时,显示第二来电处理选项。The second incoming call option display module is configured to display the second incoming call processing option when a single-click operation of any incoming call interception record of the specified number is detected.

较佳的,该第一来电处理选项包括拨打电话选项、发送短信选项、新建联系人选项、添加至现有联系人选项和删除该号码的所有拦截记录的选项中的一项或多项;该第二来电处理选项包括拨打电话选项、发送短信选项和删除这一条来电拦截记录选项中的一项或多项。Preferably, the first incoming call processing option includes one or more options of making a call, sending a text message, creating a new contact, adding to an existing contact, and deleting all intercepted records of the number; The second incoming call processing option includes one or more of the options of making a call, sending a short message, and deleting the call interception record.

较佳的,该装置还包括:Preferably, the device also includes:

来电屏蔽设置模块,用于将该黑名单中联系人来电事件的处理方式设置为屏蔽并保存至该来电拦截记录。The incoming call screening setting module is used to set the processing method of the incoming call event of the contacts in the blacklist as shielding and save it to the incoming call blocking record.

较佳的,该装置还包括:Preferably, the device also includes:

来电静音设置模块,用于将该黑名单中联系人来电事件的处理方式设置为静音通知。The incoming call mute setting module is used to set the processing mode of the incoming call event of the contact in the blacklist as a silent notification.

需要说明的是:上述实施例提供的事件处理装置在处理事件时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将移动终端的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的事件处理装置与事件处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the event processing device provided in the above embodiment processes events, it only uses the division of the above-mentioned functional modules as an example. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. The internal structure of the mobile terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the event processing device and the event processing method embodiments provided in the above embodiments belong to the same idea, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.

图4是本发明实施例提供的一种移动终端结构示意图,参见图4,该移动终端可以用于实施上述实施例中提供的事件处理方法。具体来讲:FIG. 4 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention. Referring to FIG. 4 , the mobile terminal may be used to implement the event processing method provided in the foregoing embodiments. Specifically:

移动终端400可以包括射频电路110、包括有一个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、WiFi模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。本领域技术人员可以理解,图4中示出的移动终端结构并不构成对移动终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The mobile terminal 400 may include a radio frequency circuit 110, a memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a WiFi module 170, and include one or more processing Core processor 180, power supply 190 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 4 does not constitute a limitation on the mobile terminal, and may include more or less components than those shown in the figure, or combine some components, or arrange different components. in:

射频电路110可用于收发信息或通话过程中,信号的接收和发送。特别地,射频电路110将基站的下行信息接收后,交由一个或者一个以上处理器180处理;另外,将涉及上行的数据发送给基站。通常,作为通信单元的射频电路包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,射频电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global Systemof Mobile communication,全球移动通讯系统)、GPRS(General Packet RadioService,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(LongTerm Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据移动终端400的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180和输入单元130对存储器120的访问。The radio frequency circuit 110 can be used for sending and receiving information or receiving and sending signals during a call. In particular, after the radio frequency circuit 110 receives the downlink information from the base station, it is processed by one or more processors 180; in addition, the uplink data is sent to the base station. Generally, a radio frequency circuit as a communication unit includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier, low noise amplifier), duplexer, etc. In addition, the radio frequency circuit 110 can also communicate with the network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code Multiple access), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (LongTerm Evolution, long-term evolution), email, SMS (Short Messaging Service, short message service), etc. The memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running the software programs and modules stored in the memory 120 . The memory 120 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.), etc.; Data created using the mobile terminal 400 (such as audio data, phonebook, etc.) and the like. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 120 may further include a memory controller to provide access to the memory 120 by the processor 180 and the input unit 130 .

输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。较佳的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 130 can be used to receive input numbers or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit 130 may include a touch-sensitive surface 131 and other input devices 132 . The touch-sensitive surface 131, also referred to as a touch display screen or a touchpad, can collect user touch operations on or near it (for example, the user uses any suitable object or accessory such as a finger, a stylus, etc. on the touch-sensitive surface 131 or on operation near the touch-sensitive surface 131), and drive the corresponding connection device according to the preset program. Preferably, the touch-sensitive surface 131 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 131 , the input unit 130 may also include other input devices 132 . Specifically, other input devices 132 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元140可用于显示由用户输入的信息或提供给用户的信息以及移动终端400的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,较佳的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-EmittingDiode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图4中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。The display unit 140 can be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal 400, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 140 may include a display panel 141. Preferably, the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display, Liquid Crystal Display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation on or near it, the touch operation is sent to the processor 180 to determine the type of the touch event, and then the processor 180 determines the type of the touch event according to the type of the touch event. The type provides a corresponding visual output on the display panel 141 . Although in FIG. 4, the touch-sensitive surface 131 and the display panel 141 are used as two independent components to realize input and input functions, in some embodiments, the touch-sensitive surface 131 and the display panel 141 can be integrated to realize input. and output functions.

移动终端400还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在移动终端400移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于移动终端400还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile terminal 400 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 141 when the mobile terminal 400 moves to the ear. and/or backlighting. As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. that can also be configured on the mobile terminal 400, here No longer.

音频电路160、扬声器161,传声器162可提供用户与移动终端400之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一移动终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与移动终端400的通信。The audio circuit 160 , the speaker 161 and the microphone 162 can provide an audio interface between the user and the mobile terminal 400 . The audio circuit 160 can transmit the electrical signal converted from the received audio data to the loudspeaker 161, and the loudspeaker 161 converts it into an audio signal output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 180, and then sent to another mobile terminal through the RF circuit 110, or the audio data is output to the memory 120 for further processing. The audio circuit 160 may also include an earphone jack to provide communication between an external earphone and the mobile terminal 400 .

为了实现无线通信,该移动终端上可以配置有WiFi模块170。WiFi属于短距离无线传输技术,移动终端400通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图4示出了WiFi模块170,但是可以理解的是,其并不属于移动终端400的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。In order to realize wireless communication, the mobile terminal may be configured with a WiFi module 170 . WiFi is a short-distance wireless transmission technology. The mobile terminal 400 can help users send and receive e-mails, browse web pages, and access streaming media through the WiFi module 170. It provides users with wireless broadband Internet access. Although FIG. 4 shows the WiFi module 170, it can be understood that it is not an essential component of the mobile terminal 400, and can be completely omitted as required without changing the essence of the invention.

处理器180是移动终端400的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行移动终端400的各种功能和处理数据,从而对手机进行整体监控。较佳的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is the control center of the mobile terminal 400, and uses various interfaces and lines to connect various parts of the entire mobile phone, by running or executing software programs and/or modules stored in the memory 120, and calling data stored in the memory 120 , execute various functions and process data of the mobile terminal 400, so as to monitor the mobile phone as a whole. Preferably, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 180 .

移动终端400还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The mobile terminal 400 also includes a power supply 190 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 180 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system. . The power supply 190 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

尽管未示出,移动终端400还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,移动终端的显示单元是触摸屏显示器,移动终端还包括有存储器,所述存储器还包括一个或者一个以上的程序,且经配置以由一个或者一个以上处理器180执行所述一个或者一个以上程序包含用于执行图1A所示实施例所提供的事件处理方法和图2所示实施例所提供的事件处理方法。Although not shown, the mobile terminal 400 may also include a camera, a Bluetooth module, etc., which will not be repeated here. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, and the mobile terminal also includes a memory, and the memory also includes one or more programs, and is configured to be executed by one or more processors 180. One or more programs are included for executing the event processing method provided by the embodiment shown in FIG. 1A and the event processing method provided by the embodiment shown in FIG. 2 .

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (39)

1.一种事件处理方法,其特征在于,所述方法包括:1. An event processing method, characterized in that the method comprises: 显示勿扰模式规则的设置界面,所述勿扰模式规则用于规定对各种不同事件的处理方式;Display the setting interface of the Do Not Disturb mode rule, and the Do Not Disturb mode rule is used to specify the processing methods for various events; 根据用户的选择,对所述勿扰模式规则进行设置;Set the Do Not Disturb mode rule according to the user's selection; 当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,所述预设事件包括来电事件、短信事件、通知事件和媒体声音事件。When a preset event is detected, the preset event is processed according to the type of the preset event and the processing manner of various events in the do not disturb mode rule, and the preset event includes an incoming call event , SMS events, notification events, and media sound events. 2.根据权利要求1所述的方法,其特征在于,当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,采用如下方式:2. The method according to claim 1, wherein when a preset event is detected, according to the type of the preset event and the processing methods for various events in the Do Not Disturb mode rule, the The preset events mentioned above are processed in the following ways: 当检测到预设事件时,检测移动终端当前屏幕的状态;When a preset event is detected, detect the state of the current screen of the mobile terminal; 当所述屏幕状态为亮屏状态,且所述预设事件为来电事件时,显示用于通知正在来电的图标;或,When the screen state is a bright screen state and the preset event is an incoming call event, displaying an icon for notifying an incoming call; or, 当所述屏幕状态为黑屏状态,且所述预设事件为来电事件时,在不点亮屏幕的情况下,将所述来电事件保存为未接来电;或,When the screen state is a black screen state and the preset event is an incoming call event, save the incoming call event as a missed call without turning on the screen; or, 当所述屏幕状态为亮屏状态,且所述预设事件为短信事件或通知事件时,显示用于通知短信事件或通知事件的图标;或,When the screen state is a bright screen state, and the preset event is a text message event or a notification event, displaying an icon for notifying a text message event or a notification event; or, 当所述屏幕状态为黑屏状态,且所述预设事件为短信事件或通知事件时,不点亮屏幕;或,When the screen state is a black screen state and the preset event is a text message event or a notification event, the screen is not turned on; or, 当所述预设事件为媒体声音事件时,按照所述媒体声音所属应用的设置对所述预设事件进行处理。When the preset event is a media sound event, the preset event is processed according to the settings of the application to which the media sound belongs. 3.根据权利要求1所述的方法,其特征在于,根据用户的选择,对所述勿扰模式规则进行设置,采用如下方式:3. The method according to claim 1, characterized in that, according to the user's selection, the rules of the Do Not Disturb mode are set in the following manner: 当检测到用户对所述设置界面中的贵宾VIP来电选项的激活操作时,显示VIP名单的设置选项,获取用户对所述VIP名单中联系人的设置;和/或,When it is detected that the user activates the VIP VIP incoming call option in the setting interface, the setting option of the VIP list is displayed, and the setting of the contact person in the VIP list by the user is obtained; and/or, 当检测到用户对所述设置界面中的紧急事件选项的激活操作时,将对所述紧急事件的处理方式确定为以振铃模式进行提醒;和/或,When the user's activation operation on the emergency event option in the setting interface is detected, the processing mode of the emergency event is determined to be a reminder in a ringing mode; and/or, 当检测到用户对所述设置界面中勿扰模式开启时间段选项的激活操作时,显示时间段设置选项,获取用户设置的时间段,使得所述勿扰模式在所述时间段内处于开启状态。When it is detected that the user activates the time period option of the Do Not Disturb mode in the setting interface, the time period setting option is displayed, and the time period set by the user is obtained, so that the Do Not Disturb mode is in the open state within the time period . 4.根据权利要求3所述的方法,其特征在于,当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,采用如下方式:4. The method according to claim 3, wherein when a preset event is detected, according to the type of the preset event and the processing methods for various events in the Do Not Disturb mode rule, the The preset events mentioned above are processed in the following ways: 当所述预设事件为来电事件或短信事件,且所述VIP名单包括所述来电事件或短信事件的联系人时,以振铃模式进行提醒;和/或,When the preset event is an incoming call event or a short message event, and the VIP list includes contacts of the incoming call event or short message event, a ringing pattern is used to remind; and/or, 当接收到紧急来电时,以振铃模式进行提醒,所述紧急来电为在预设时间间隔内,同一联系人拨打的超过预设次数的来电。When an emergency call is received, a ringing pattern is used to remind, and the emergency call is an incoming call made by the same contact more than a preset number of times within a preset time interval. 5.根据权利要求3所述的方法,其特征在于,获取用户对所述VIP名单中联系人的设置,采用如下方式:5. The method according to claim 3, characterized in that, obtaining the user's setting of contacts in the VIP list is as follows: 获取用户输入的联系人,将所述用户输入的联系人确定为VIP名单中的联系人;或,Obtaining a contact entered by the user, and determining the contact entered by the user as a contact in the VIP list; or, 获取通讯录中的所有联系人,将所述所有联系人确定为VIP名单中的联系人;或,Obtain all contacts in the address book, and determine all contacts as contacts in the VIP list; or, 获取用户从所述通讯录中选择的联系人,将所述选择的联系人确定为VIP名单中的联系人。Acquiring contacts selected by the user from the address book, and determining the selected contacts as contacts in the VIP list. 6.根据权利要求1所述的方法,其特征在于,当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,采用如下方式:6. The method according to claim 1, wherein when a preset event is detected, according to the type of the preset event and the processing methods for various events in the do not disturb mode rules, the The preset events mentioned above are processed in the following ways: 当所述预设事件为短信事件,且所述接收到的短信被举报时,则将接收到的短信拦截至所述短信拦截记录;或,When the preset event is a short message event and the received short message is reported, the received short message is intercepted to the short message interception record; or, 当所述预设事件为短信事件,且黑名单中包括所述短信事件的联系人,则将接收到的短信拦截至所述短信拦截记录;When the preset event is a short message event, and the contact person of the short message event is included in the blacklist, the received short message is intercepted to the short message interception record; 当所述预设事件为短信事件,且接收到的短信为垃圾短信时,将接收到的短信拦截至所述短信拦截记录;或,When the preset event is a short message event and the received short message is a spam short message, intercepting the received short message to the short message interception record; or, 当所述预设事件为短信事件,且接收到的短信包括预设关键字时,将接收到的短信拦截至所述短信拦截记录。When the preset event is a short message event and the received short message includes a preset keyword, intercept the received short message into the short message interception record. 7.根据权利要求6所述的方法,其特征在于,所述方法还包括:7. The method according to claim 6, further comprising: 当检测到对所述短信拦截记录中指定短信的单击操作时,显示所述指定短信的详情页面;或,When a click operation on a specified short message in the short message interception record is detected, a detailed page of the specified short message is displayed; or, 当检测到对所述短信拦截记录中的指定短信的长按操作时,显示第一短信处理选项。When a long press operation on a specified short message in the short message interception record is detected, a first short message processing option is displayed. 8.根据权利要求7所述的方法,其特征在于,所述第一短信处理选项包括拨打电话选项、回复短信选项和删除该联系人的所有短信选项中的一项或多项。8. The method according to claim 7, wherein the first text message processing option includes one or more of a call option, a text message reply option, and a delete all text message options of the contact. 9.根据权利要求7所述的方法,其特征在于,当检测到对所述短信拦截记录中指定短信的单击操作时,显示所述指定短信的详情页面之后,所述方法还包括:9. The method according to claim 7, wherein, when a single-click operation of a specified note in the note interception record is detected, after displaying the details page of the specified note, the method further comprises: 当检测到对所述详情页面上解除屏蔽选项的激活操作时,将所述指定短信移动至收件箱;或,moving said designated text message to an inbox when an activation of the unblock option on said detail page is detected; or, 当检测到对所述详情页面上对所述指定短信的长按操作时,显示第二短信处理选项。When a long press operation on the specified short message on the detailed page is detected, a second short message processing option is displayed. 10.根据权利要求9所述的方法,其特征在于,当检测到对所述详情页面上解除屏蔽选项的激活操作时,将所述指定短信移动至收件箱之后,所述方法还包括:10. The method according to claim 9, wherein when an activation operation of the unblocking option on the details page is detected, after moving the specified text message to the inbox, the method further comprises: 当再次检测到来自所述指定短信的联系人的短信事件时,将所述联系人的短信保存至收件箱。When the short message event from the contact of the designated short message is detected again, the short message of the contact is saved to the inbox. 11.根据权利要求9所述的方法,其特征在于,所述第二短信处理选项包括删除选项和恢复选项中的一项或多项,所述删除选项用于删除短信,所述恢复选项用于将所述指定短信移动至所述收件箱。11. The method according to claim 9, wherein the second message processing option includes one or more of a delete option and a restore option, the delete option is used to delete a note, and the restore option uses to move the specified text message to the inbox. 12.根据权利要求6所述的方法,其特征在于,当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理之前,所述方法还包括:12. The method according to claim 6, wherein when a preset event is detected, according to the type of the preset event and the processing methods for various events in the do not disturb mode rules, the Before the preset event is processed, the method also includes: 获取用户输入的联系人,将所述用户输入的联系人确定为黑名单中的联系人;和/或,Obtaining a contact input by the user, and determining the contact input by the user as a contact in the blacklist; and/or, 获取用户从所述通讯录中选择的联系人,将所述选择的联系人确定为黑名单中的联系人;和/或,Obtain contacts selected by the user from the address book, and determine the selected contacts as contacts in the blacklist; and/or, 获取用户从通信记录中选择的联系人,将所述选择的联系人确定为黑名单中的联系人。A contact selected by the user from the communication records is acquired, and the selected contact is determined as a contact in the blacklist. 13.根据权利要求6所述的方法,其特征在于,当所述预设事件为短信事件,且黑名单中包括所述短信事件的联系人,则将接收到的短信拦截至所述短信拦截记录之前,所述方法还包括:13. The method according to claim 6, wherein when the preset event is a short message event, and the blacklist includes contacts of the short message event, the received short message is intercepted to the short message interception Before recording, the method also includes: 将所述黑名单中联系人所发送短信的处理方式设置为屏蔽并保存至所述短信拦截记录。Set the processing method of the short messages sent by the contacts in the blacklist as shielding and save them to the short message interception record. 14.根据权利要求6所述的方法,其特征在于,所述方法还包括:14. The method of claim 6, further comprising: 将所述黑名单中联系人所发送短信的处理方式设置为静音通知。Set the processing mode of the short messages sent by the contacts in the blacklist as silent notification. 15.根据权利要求1所述的方法,其特征在于,当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,采用如下方式:15. The method according to claim 1, wherein when a preset event is detected, according to the type of the preset event and the processing methods for various events in the do not disturb mode rule, the The preset events mentioned above are processed in the following ways: 当所述预设事件为来电事件,且黑名单中包括所述来电事件的联系人,则将接收到的来电拦截至来电拦截记录;When the preset event is an incoming call event, and the contact person of the incoming call event is included in the blacklist, the received incoming call is intercepted to the incoming call interception record; 当所述预设事件为来电事件,且所述来电事件的号码为空号码时,将接收到的来电拦截至所述来电拦截记录;或,When the preset event is an incoming call event, and the number of the incoming call event is an empty number, intercept the received incoming call to the incoming call interception record; or, 当所述预设事件为来电事件,且拦截数据库包括所述来电事件的号码时,将接收到的来电拦截至所述来电拦截记录。When the preset event is an incoming call event, and the interception database includes the number of the incoming call event, the received incoming call is intercepted in the incoming call interception record. 16.根据权利要求15所述的方法,其特征在于,当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理之后,所述方法还包括:16. The method according to claim 15, wherein when a preset event is detected, according to the type of the preset event and the processing methods for various events in the do not disturb mode rules, the After the preset event is processed, the method further includes: 当检测到对所述来电拦截记录中指定号码的单击操作时,显示所述指定号码的来电详情页面;或,When a click operation on a specified number in the call interception record is detected, displaying an incoming call details page of the specified number; or, 当检测到对所述指定号码的菜单显示指令时,显示所述指定号码的菜单,所述菜单包括第一来电处理选项;或,When a menu display instruction for the specified number is detected, display the menu of the specified number, the menu including the first incoming call processing option; or, 当检测到对所述指定号码的任一条来电拦截记录的单击操作时,显示第二来电处理选项。When a click operation on any call interception record of the specified number is detected, a second call handling option is displayed. 17.根据权利要求16所述的方法,其特征在于,所述第一来电处理选项包括拨打电话选项、发送短信选项、新建联系人选项、添加至现有联系人选项和删除该号码的所有拦截记录的选项中的一项或多项;所述第二来电处理选项包括拨打电话选项、发送短信选项和删除这一条来电拦截记录选项中的一项或多项。17. The method according to claim 16, characterized in that, the first incoming call processing options include dialing a call option, sending a text message option, creating a new contact option, adding to an existing contact option and deleting all blocked numbers of the number One or more of the recorded options; the second incoming call processing option includes one or more of the options of making a call, sending a short message and deleting this call interception record. 18.根据权利要求15所述的方法,其特征在于,当所述预设事件为来电事件,且黑名单中包括所述来电事件的联系人,则将接收到的来电拦截至来电拦截记录之前,所述方法还包括:18. The method according to claim 15, wherein when the preset event is an incoming call event, and the blacklist includes the contacts of the incoming call event, the received incoming call is intercepted before the incoming call interception record , the method also includes: 将所述黑名单中联系人来电事件的处理方式设置为屏蔽并保存至所述来电拦截记录。Set the processing method of the incoming call event of the contact in the blacklist as shielding and save it to the incoming call interception record. 19.根据权利要求15所述的方法,其特征在于,所述方法还包括:19. The method of claim 15, further comprising: 将所述黑名单中联系人来电事件的处理方式设置为静音通知。Set the processing method of the incoming call event of the contacts in the blacklist as silent notification. 20.一种事件处理装置,其特征在于,所述装置包括:20. An event processing device, characterized in that the device comprises: 界面显示模块,用于显示勿扰模式规则的设置界面,所述勿扰模式规则用于规定对各种不同事件的处理方式;The interface display module is used to display the setting interface of the Do Not Disturb mode rule, and the Do Not Disturb mode rule is used to specify the processing methods for various events; 设置模块,用于根据用户的选择,对所述勿扰模式规则进行设置;A setting module, configured to set the Do Not Disturb mode rule according to the user's selection; 事件处理模块,用于当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,所述预设事件包括来电事件、短信事件、通知事件和媒体声音事件。An event processing module, configured to process the preset event according to the type of the preset event and the processing methods for various events in the Do Not Disturb mode rule when the preset event is detected, the Preset events include incoming call events, SMS events, notification events and media sound events. 21.根据权利要求20所述的装置,其特征在于,所述事件处理模块包括:21. The device according to claim 20, wherein the event processing module comprises: 屏幕状态检测单元,用于当检测到预设事件时,检测移动终端当前屏幕的状态;The screen state detection unit is used to detect the state of the current screen of the mobile terminal when a preset event is detected; 来电图标显示单元,用于当所述屏幕状态为亮屏状态,且所述预设事件为来电事件时,显示用于通知正在来电的图标;或,An incoming call icon display unit, configured to display an icon for notifying an incoming call when the screen state is a bright screen state and the preset event is an incoming call event; or, 未接来电单元,用于当所述屏幕状态为黑屏状态,且所述预设事件为来电事件时,在不点亮屏幕的情况下,将所述来电事件保存为未接来电;或,A missed call unit, configured to save the incoming call event as a missed call without turning on the screen when the screen state is a black screen state and the preset event is an incoming call event; or, 通知图标显示单元,用于当所述屏幕状态为亮屏状态,且所述预设事件为短信事件或通知事件时,显示用于通知短信事件或通知事件的图标;或,A notification icon display unit, configured to display an icon for notifying a text message event or a notification event when the screen state is a bright screen state and the preset event is a text message event or a notification event; or, 黑屏通知单元,用于当所述屏幕状态为黑屏状态,且所述预设事件为短信事件或通知事件时,不点亮屏幕;或,A black screen notification unit, configured to not light up the screen when the screen state is a black screen state and the preset event is a text message event or a notification event; or, 媒体声音处理单元,用于当所述预设事件为媒体声音事件时,按照所述媒体声音所属应用的设置对所述预设事件进行处理。The media sound processing unit is configured to process the preset event according to the settings of the application to which the media sound belongs when the preset event is a media sound event. 22.根据权利要求20所述的装置,其特征在于,所述设置模块包括:22. The device according to claim 20, wherein the setting module comprises: 贵宾设置单元,用于当检测到用户对所述设置界面中的贵宾VIP来电选项的激活操作时,显示VIP名单的设置选项,获取用户对所述VIP名单中联系人的设置;和/或,The VIP setting unit is used to display the setting options of the VIP list and obtain the settings of the contacts in the VIP list by the user when the activation operation of the VIP incoming call option in the setting interface by the user is detected; and/or, 紧急来电设置单元,用于当检测到用户对所述设置界面中的紧急事件选项的激活操作时,将对所述紧急事件的处理方式确定为以振铃模式进行提醒;和/或,An emergency call setting unit, configured to determine the processing mode of the emergency event as a ringing mode to remind when the user's activation operation on the emergency event option in the setting interface is detected; and/or, 时间段设置单元,用于当检测到用户对所述设置界面中勿扰模式开启时间段选项的激活操作时,显示时间段设置选项,获取用户设置的时间段,使得所述勿扰模式在所述时间段内处于开启状态。The time period setting unit is used to display the time period setting option and obtain the time period set by the user when the activation operation of the time period option of the Do Not Disturb mode in the setting interface is detected by the user, so that the Do Not Disturb mode is set in the time period. On during the above time period. 23.根据权利要求22所述的装置,其特征在于,所述事件处理模块包括:23. The device according to claim 22, wherein the event processing module comprises: 贵宾事件处理单元,用于当所述预设事件为来电事件或短信事件,且所述VIP名单包括所述来电事件或短信事件的联系人时,以振铃模式进行提醒;和/或,A VIP event processing unit, configured to remind in a ringing mode when the preset event is an incoming call event or a short message event, and the VIP list includes contacts of the incoming call event or short message event; and/or, 紧急来电处理单元,用于当接收到紧急来电时,以振铃模式进行提醒,所述紧急来电为在预设时间间隔内,同一联系人拨打的超过预设次数的来电。The emergency call processing unit is configured to remind in a ringing mode when an emergency call is received, and the emergency call is an incoming call made by the same contact more than a preset number of times within a preset time interval. 24.根据权利要求22所述的装置,其特征在于,所述贵宾设置单元用于获取用户输入的联系人,将所述用户输入的联系人确定为VIP名单中的联系人;或,24. The device according to claim 22, wherein the VIP setting unit is configured to obtain a contact input by the user, and determine the contact input by the user as a contact in the VIP list; or, 所述贵宾设置单元用于获取通讯录中的所有联系人,将所述所有联系人确定为VIP名单中的联系人;或,The VIP setting unit is used to obtain all contacts in the address book, and determine all contacts as contacts in the VIP list; or, 所述贵宾设置单元用于获取用户从所述通讯录中选择的联系人,将所述选择的联系人确定为VIP名单中的联系人。The VIP setting unit is used to obtain contacts selected by the user from the address book, and determine the selected contacts as contacts in the VIP list. 25.根据权利要求20所述的装置,其特征在于,所述事件处理模块包括:25. The device according to claim 20, wherein the event processing module comprises: 举报处理单元,用于当所述预设事件为短信事件,且所述接收到的短信被举报时,则将接收到的短信拦截至所述短信拦截记录;或,A reporting processing unit configured to intercept the received short message to the short message interception record when the preset event is a short message event and the received short message is reported; or, 黑名单拦截单元,用于当所述预设事件为短信事件,且黑名单中包括所述短信事件的联系人,则将接收到的短信拦截至所述短信拦截记录;A blacklist interception unit, configured to intercept the received short message to the short message interception record when the preset event is a short message event and the blacklist includes contacts of the short message event; 垃圾短信拦截单元,用于当所述预设事件为短信事件,且接收到的短信为垃圾短信时,将接收到的短信拦截至所述短信拦截记录;或,A spam message intercepting unit, configured to intercept the received message into the message interception record when the preset event is a message event and the received message is a message spam; or, 关键字拦截单元,用于当所述预设事件为短信事件,且接收到的短信包括预设关键字时,将接收到的短信拦截至所述短信拦截记录。The keyword intercepting unit is configured to intercept the received short message into the short message interception record when the preset event is a short message event and the received short message includes a preset keyword. 26.根据权利要求25所述的装置,其特征在于,所述装置还包括:26. The device of claim 25, further comprising: 短信详情显示模块,用于当检测到对所述短信拦截记录中指定短信的单击操作时,显示所述指定短信的详情页面;或,The short message details display module is used to display the detailed page of the specified short message when a click operation on the specified short message in the short message interception record is detected; or, 第一短信选项显示模块,用于当检测到对所述短信拦截记录中的指定短信的长按操作时,显示第一短信处理选项。The first short message option display module is configured to display the first short message processing option when a long press operation on a specified short message in the short message interception record is detected. 27.根据权利要求26所述的装置,其特征在于,所述第一短信处理选项包括拨打电话选项、回复短信选项和删除该联系人的所有短信选项中的一项或多项。27. The device according to claim 26, wherein the first text message processing option includes one or more of a call option, a text message reply option, and a delete all text message options of the contact. 28.根据权利要求26所述的装置,其特征在于,所述装置还包括:28. The device of claim 26, further comprising: 短信解除屏蔽模块,用于当检测到对所述详情页面上解除屏蔽选项的激活操作时,将所述指定短信移动至收件箱;或,A short message unshielding module, configured to move the specified short message to an inbox when an activation operation on the unshielding option on the detail page is detected; or, 第二短信选项显示模块,用于当检测到对所述详情页面上对所述指定短信的长按操作时,显示第二短信处理选项。The second short message option display module is used to display the second short message processing option when a long press operation on the specified short message on the detailed page is detected. 29.根据权利要求28所述的装置,其特征在于,所述装置还包括:29. The device of claim 28, further comprising: 再次短信处理模块,用于当再次检测到来自所述指定短信的联系人的短信事件时,将所述联系人的短信保存至收件箱。The re-short message processing module is used for saving the short message of the contact person to the inbox when the short message event from the contact person of the specified short message is detected again. 30.根据权利要求28所述的装置,其特征在于,所述第二短信处理选项包括删除选项和恢复选项中的一项或多项,所述删除选项用于删除短信,所述恢复选项用于将所述指定短信移动至所述收件箱。30. The device according to claim 28, wherein the second text message processing option includes one or more of a deletion option and a recovery option, the deletion option is used to delete a text message, and the recovery option uses to move the specified text message to the inbox. 31.根据权利要求25所述的装置,其特征在于,所述装置还包括:31. The device of claim 25, further comprising: 第一联系人获取模块,用于获取用户输入的联系人,将所述用户输入的联系人确定为黑名单中的联系人;和/或,A first contact obtaining module, configured to obtain a contact input by the user, and determine the contact input by the user as a contact in the blacklist; and/or, 第二联系人获取模块,用于获取用户从所述通讯录中选择的联系人,将所述选择的联系人确定为黑名单中的联系人;和/或,The second contact obtaining module is configured to obtain a contact selected by the user from the address book, and determine the selected contact as a contact in the blacklist; and/or, 第三联系人获取模块,用于获取用户从通信记录中选择的联系人,将所述选择的联系人确定为黑名单中的联系人。The third contact obtaining module is configured to obtain a contact selected by the user from the communication records, and determine the selected contact as a contact in the blacklist. 32.根据权利要求25所述的装置,其特征在于,所述装置还包括:32. The device of claim 25, further comprising: 短信屏蔽设置模块,用于将所述黑名单中联系人所发送短信的处理方式设置为屏蔽并保存至所述短信拦截记录。The short message shielding setting module is used to set the processing method of the short messages sent by the contacts in the blacklist as shielding and save them to the short message interception record. 33.根据权利要求25所述的装置,其特征在于,所述装置还包括:33. The device of claim 25, further comprising: 短信静音设置模块,用于将所述黑名单中联系人所发送短信的处理方式设置为静音通知。The text message mute setting module is used to set the processing method of the text messages sent by the contacts in the blacklist as mute notification. 34.根据权利要求20所述的装置,其特征在于,所述事件处理模块包括:34. The device according to claim 20, wherein the event processing module comprises: 黑名单来电处理单元,用于当所述预设事件为来电事件,且黑名单中包括所述来电事件的联系人,则将接收到的来电拦截至来电拦截记录;A blacklist incoming call processing unit, configured to intercept the received incoming call to the incoming call interception record when the preset event is an incoming call event, and the blacklist includes the contacts of the incoming call event; 空号码来电处理单元,用于当所述预设事件为来电事件,且所述来电事件的号码为空号码时,将接收到的来电拦截至所述来电拦截记录;或,An empty number incoming call processing unit, configured to intercept the received incoming call to the incoming call interception record when the preset event is an incoming call event and the number of the incoming call event is an empty number; or, 拦截数据库来电单元,用于当所述预设事件为来电事件,且拦截数据库包括所述来电事件的号码时,将接收到的来电拦截至所述来电拦截记录。The intercepting database incoming call unit is configured to intercept the received incoming call to the incoming call intercepting record when the preset event is an incoming call event and the intercepting database includes the number of the incoming call event. 35.根据权利要求34所述的装置,其特征在于,所述装置还包括:35. The device of claim 34, further comprising: 来电详情显示模块,用于当检测到对所述来电拦截记录中指定号码的单击操作时,显示所述指定号码的来电详情页面;或,The caller details display module is used to display the caller details page of the specified number when a click operation on the specified number in the call interception record is detected; or, 第一来电选项显示模块,用于当检测到对所述指定号码的菜单显示指令时,显示所述指定号码的菜单,所述菜单包括第一来电处理选项;或,The first incoming call option display module is used to display the menu of the specified number when a menu display instruction for the specified number is detected, and the menu includes the first incoming call processing option; or, 第二来电选项显示模块,用于当检测到对所述指定号码的任一条来电拦截记录的单击操作时,显示第二来电处理选项。The second incoming call option display module is configured to display the second incoming call processing option when a click operation on any incoming call interception record of the specified number is detected. 36.根据权利要求35所述的装置,其特征在于,所述第一来电处理选项包括拨打电话选项、发送短信选项、新建联系人选项、添加至现有联系人选项和删除该号码的所有拦截记录的选项中的一项或多项;所述第二来电处理选项包括拨打电话选项、发送短信选项和删除这一条来电拦截记录选项中的一项或多项。36. The device according to claim 35, wherein the first incoming call processing options include dialing a call option, sending a text message option, creating a new contact option, adding to an existing contact option and deleting all blocked numbers of the number One or more of the recorded options; the second incoming call processing option includes one or more of the options of making a call, sending a short message and deleting this call interception record. 37.根据权利要求34所述的装置,其特征在于,所述装置还包括:37. The device of claim 34, further comprising: 来电屏蔽设置模块,用于将所述黑名单中联系人来电事件的处理方式设置为屏蔽并保存至所述来电拦截记录。The incoming call screening setting module is used to set the processing method of the incoming call event of the contacts in the blacklist as shielding and save it to the incoming call blocking record. 38.根据权利要求34所述的装置,其特征在于,所述装置还包括:38. The device of claim 34, further comprising: 来电静音设置模块,用于将所述黑名单中联系人来电事件的处理方式设置为静音通知。The incoming call mute setting module is used to set the processing method of the contact incoming call event in the blacklist as a silent notification. 39.一种移动终端,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:39. A mobile terminal, characterized in that it includes a memory and one or more programs, wherein one or more programs are stored in the memory, and are configured to be executed by one or more processors. More than one program contains instructions for: 显示勿扰模式规则的设置界面,所述勿扰模式规则用于规定对各种不同事件的处理方式;Display the setting interface of the Do Not Disturb mode rule, and the Do Not Disturb mode rule is used to specify the processing methods for various events; 根据用户的选择,对所述勿扰模式规则进行设置;Set the Do Not Disturb mode rule according to the user's selection; 当检测到预设事件时,根据所述预设事件的类型和所述勿扰模式规则中对各种不同事件的处理方式,对所述预设事件进行处理,所述预设事件包括来电事件、短信事件、通知事件和媒体声音事件。When a preset event is detected, the preset event is processed according to the type of the preset event and the processing manner of various events in the do not disturb mode rule, and the preset event includes an incoming call event , SMS events, notification events, and media sound events.
CN201310378470.7A 2013-08-27 2013-08-27 Event processing method, device and mobile terminal Active CN103458120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310378470.7A CN103458120B (en) 2013-08-27 2013-08-27 Event processing method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310378470.7A CN103458120B (en) 2013-08-27 2013-08-27 Event processing method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN103458120A true CN103458120A (en) 2013-12-18
CN103458120B CN103458120B (en) 2016-08-03

Family

ID=49740060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310378470.7A Active CN103458120B (en) 2013-08-27 2013-08-27 Event processing method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN103458120B (en)

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838577A (en) * 2014-03-08 2014-06-04 广东欧珀移动通信有限公司 A method and terminal for processing burst messages
CN104050039A (en) * 2014-07-03 2014-09-17 中科创达软件股份有限公司 Method and device for having control over multimedia playing
CN104301877A (en) * 2014-10-27 2015-01-21 小米科技有限责任公司 Short message prompting method and device
CN104506729A (en) * 2014-12-25 2015-04-08 广东欧珀移动通信有限公司 App do not disturb method and device
WO2015096428A1 (en) * 2013-12-24 2015-07-02 中兴通讯股份有限公司 Mobile terminal state switching method and apparatus
CN104954557A (en) * 2015-05-20 2015-09-30 努比亚技术有限公司 Reminding method and reminding device
CN104967742A (en) * 2015-06-17 2015-10-07 努比亚技术有限公司 A method and device for preventing phone calls from being missed in a silent mode
CN105045461A (en) * 2014-04-17 2015-11-11 黑莓有限公司 System and method for enabling customized notifications on an electronic device
CN105187628A (en) * 2015-07-24 2015-12-23 宁波萨瑞通讯有限公司 Incoming call no disturbing method and mobile terminal
CN105511584A (en) * 2014-09-24 2016-04-20 中兴通讯股份有限公司 Device and method for managing sensing unit in mobile terminal
CN105630853A (en) * 2014-12-01 2016-06-01 宏达国际电子股份有限公司 Intelligent notification filtering method and handheld communication device
CN106101400A (en) * 2016-06-02 2016-11-09 北京元心科技有限公司 Event reminding method and system and terminal equipment
CN106131804A (en) * 2016-06-21 2016-11-16 广东欧珀移动通信有限公司 A notification message processing method and device
CN106231081A (en) * 2016-07-22 2016-12-14 乐视控股(北京)有限公司 Method of not disturbing, device and the terminal of a kind of information
CN106255096A (en) * 2015-06-12 2016-12-21 联想(北京)有限公司 A kind of information processing method, information processor and electronic equipment
CN106603821A (en) * 2016-11-24 2017-04-26 维沃移动通信有限公司 Mute mode control method and mobile terminal
CN106713631A (en) * 2016-12-16 2017-05-24 捷开通讯(深圳)有限公司 Context mode setting method for mobile terminal
CN106776007A (en) * 2016-11-22 2017-05-31 珠海市魅族科技有限公司 Data clearing method and device
CN106790951A (en) * 2016-12-16 2017-05-31 北京奇虎科技有限公司 The method and apparatus of mobile terminal and call blocking
CN106776611A (en) * 2015-11-20 2017-05-31 中国移动通信集团天津有限公司 A kind of method and device of information displaying
CN107003715A (en) * 2014-12-12 2017-08-01 英特尔公司 Smart phone is configured based on user's sleep state
CN107172283A (en) * 2017-05-18 2017-09-15 田进 A kind of mobile terminal calling control method and device
CN107302634A (en) * 2017-07-06 2017-10-27 曹立峰 The system and method that mobile phone answers important incoming call at any time
CN107408002A (en) * 2015-03-01 2017-11-28 李才圭 Information providing method using mobile device
WO2017219589A1 (en) * 2016-06-19 2017-12-28 乐视控股(北京)有限公司 Method and system for processing program crash message
WO2018014446A1 (en) * 2016-07-19 2018-01-25 中兴通讯股份有限公司 Processing method and device for communication contact service of mobile terminal
CN107645307A (en) * 2017-03-27 2018-01-30 湖北文理学院 A kind of mobile phone circuit with reply of uttering long and high-pitched sounds
WO2018023636A1 (en) * 2016-08-04 2018-02-08 汤隆初 News push method, and news push system
WO2018023637A1 (en) * 2016-08-04 2018-02-08 汤隆初 Usage data collection method for information organization technique, and news push system
WO2018023638A1 (en) * 2016-08-04 2018-02-08 汤隆初 Information push method for centralized news management, and news push system
CN107800870A (en) * 2017-09-26 2018-03-13 深圳天珑无线科技有限公司 Terminal and its method for automatic mute, storage device
CN107846513A (en) * 2017-11-01 2018-03-27 上海掌门科技有限公司 The implementation method and equipment of do-not-disturb mode
CN107864297A (en) * 2017-12-25 2018-03-30 广东欧珀移动通信有限公司 Group's adding method, device, terminal and storage medium
CN108055404A (en) * 2017-12-25 2018-05-18 广东欧珀移动通信有限公司 Notification reminding method, device, terminal and storage medium
CN108366164A (en) * 2018-01-16 2018-08-03 深圳市金立通信设备有限公司 A kind of method, terminal and the computer readable storage medium of setting do-not-disturb mode
CN108391008A (en) * 2018-02-11 2018-08-10 维沃移动通信有限公司 A kind of message prompt method and mobile terminal
CN108579081A (en) * 2018-03-28 2018-09-28 努比亚技术有限公司 Event-handling method, equipment based on game and computer storage media
CN108628884A (en) * 2017-03-20 2018-10-09 华为软件技术有限公司 A kind of Complex event processing method, system and its apparatus
CN108965612A (en) * 2018-10-22 2018-12-07 珠海格力电器股份有限公司 Control method of disturbance-free mode and mobile phone
WO2019129003A1 (en) * 2017-12-25 2019-07-04 Oppo广东移动通信有限公司 Notification prompt method, group addition method and apparatus, terminal and storage medium
CN110166628A (en) * 2014-05-23 2019-08-23 三星电子株式会社 For providing the method and apparatus of notice
CN110244888A (en) * 2019-06-11 2019-09-17 惠州Tcl移动通信有限公司 A kind of setting method of behavior pattern, device, storage medium and terminal
CN110392166A (en) * 2019-08-20 2019-10-29 维沃移动通信有限公司 A kind of incoming call reminding method, device and server
WO2020042817A1 (en) * 2018-08-28 2020-03-05 Oppo广东移动通信有限公司 Message prompt giving method and apparatus, terminal and storage medium
CN110971746A (en) * 2018-09-29 2020-04-07 北京奇虎科技有限公司 Method and device for preventing short message from bombing, electronic equipment and computer-readable storage medium
US11445475B2 (en) 2014-05-23 2022-09-13 Samsung Electronics Co., Ltd. Method and apparatus for providing notification
CN115333685A (en) * 2022-10-10 2022-11-11 永鼎行远(南京)信息科技有限公司 Information intelligent allocation system based on big data
CN115484662A (en) * 2021-06-16 2022-12-16 联发科技股份有限公司 Power optimization method, user equipment and computer readable medium thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330481A (en) * 2001-08-03 2002-01-09 陆继汇 Incoming display control method and controller
CN101977259A (en) * 2010-10-20 2011-02-16 中兴通讯股份有限公司 Incoming call processing method and mobile terminal
WO2011047623A1 (en) * 2009-10-23 2011-04-28 中兴通讯股份有限公司 Method and mobile terminal for recycling short messages
CN102082876A (en) * 2011-02-28 2011-06-01 北京飞天诚信科技有限公司 Short message management method and device thereof
CN102088515A (en) * 2010-12-29 2011-06-08 上海华勤通讯技术有限公司 Method for notifying important number of mobile phone
CN102801865A (en) * 2012-08-21 2012-11-28 东莞宇龙通信科技有限公司 Incoming call notification system and method for mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330481A (en) * 2001-08-03 2002-01-09 陆继汇 Incoming display control method and controller
WO2011047623A1 (en) * 2009-10-23 2011-04-28 中兴通讯股份有限公司 Method and mobile terminal for recycling short messages
CN101977259A (en) * 2010-10-20 2011-02-16 中兴通讯股份有限公司 Incoming call processing method and mobile terminal
CN102088515A (en) * 2010-12-29 2011-06-08 上海华勤通讯技术有限公司 Method for notifying important number of mobile phone
CN102082876A (en) * 2011-02-28 2011-06-01 北京飞天诚信科技有限公司 Short message management method and device thereof
CN102801865A (en) * 2012-08-21 2012-11-28 东莞宇龙通信科技有限公司 Incoming call notification system and method for mobile terminal

Cited By (66)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015096428A1 (en) * 2013-12-24 2015-07-02 中兴通讯股份有限公司 Mobile terminal state switching method and apparatus
CN103838577A (en) * 2014-03-08 2014-06-04 广东欧珀移动通信有限公司 A method and terminal for processing burst messages
CN105045461A (en) * 2014-04-17 2015-11-11 黑莓有限公司 System and method for enabling customized notifications on an electronic device
US11231844B2 (en) 2014-04-17 2022-01-25 Blackberry Limited System and method for enabling customized notifications on an electronic device
US10162505B2 (en) 2014-04-17 2018-12-25 Blackberry Limited System and method for enabling customized notifications on an electronic device
CN110166628A (en) * 2014-05-23 2019-08-23 三星电子株式会社 For providing the method and apparatus of notice
US12035277B2 (en) 2014-05-23 2024-07-09 Samsung Electronics Co., Ltd. Method and apparatus for providing notification
US11445475B2 (en) 2014-05-23 2022-09-13 Samsung Electronics Co., Ltd. Method and apparatus for providing notification
CN110166627A (en) * 2014-05-23 2019-08-23 三星电子株式会社 For providing the method and apparatus of notice
US11057866B2 (en) 2014-05-23 2021-07-06 Samsung Electronics Co., Ltd. Method and apparatus for providing notification
CN104050039A (en) * 2014-07-03 2014-09-17 中科创达软件股份有限公司 Method and device for having control over multimedia playing
CN105511584A (en) * 2014-09-24 2016-04-20 中兴通讯股份有限公司 Device and method for managing sensing unit in mobile terminal
CN105511584B (en) * 2014-09-24 2020-06-12 中兴通讯股份有限公司 Device and method for managing sensing unit in mobile terminal
CN104301877A (en) * 2014-10-27 2015-01-21 小米科技有限责任公司 Short message prompting method and device
CN105630853A (en) * 2014-12-01 2016-06-01 宏达国际电子股份有限公司 Intelligent notification filtering method and handheld communication device
CN107003715A (en) * 2014-12-12 2017-08-01 英特尔公司 Smart phone is configured based on user's sleep state
CN104506729A (en) * 2014-12-25 2015-04-08 广东欧珀移动通信有限公司 App do not disturb method and device
CN107408002B (en) * 2015-03-01 2021-03-02 李才圭 Information providing method using mobile device
CN107408002A (en) * 2015-03-01 2017-11-28 李才圭 Information providing method using mobile device
CN104954557A (en) * 2015-05-20 2015-09-30 努比亚技术有限公司 Reminding method and reminding device
CN106255096A (en) * 2015-06-12 2016-12-21 联想(北京)有限公司 A kind of information processing method, information processor and electronic equipment
CN104967742A (en) * 2015-06-17 2015-10-07 努比亚技术有限公司 A method and device for preventing phone calls from being missed in a silent mode
CN105187628A (en) * 2015-07-24 2015-12-23 宁波萨瑞通讯有限公司 Incoming call no disturbing method and mobile terminal
CN106776611A (en) * 2015-11-20 2017-05-31 中国移动通信集团天津有限公司 A kind of method and device of information displaying
CN106101400A (en) * 2016-06-02 2016-11-09 北京元心科技有限公司 Event reminding method and system and terminal equipment
CN106101400B (en) * 2016-06-02 2019-11-15 北京元心科技有限公司 Event reminding method and system and terminal equipment
WO2017219589A1 (en) * 2016-06-19 2017-12-28 乐视控股(北京)有限公司 Method and system for processing program crash message
CN106131804A (en) * 2016-06-21 2016-11-16 广东欧珀移动通信有限公司 A notification message processing method and device
WO2018014446A1 (en) * 2016-07-19 2018-01-25 中兴通讯股份有限公司 Processing method and device for communication contact service of mobile terminal
CN106231081A (en) * 2016-07-22 2016-12-14 乐视控股(北京)有限公司 Method of not disturbing, device and the terminal of a kind of information
WO2018023637A1 (en) * 2016-08-04 2018-02-08 汤隆初 Usage data collection method for information organization technique, and news push system
WO2018023638A1 (en) * 2016-08-04 2018-02-08 汤隆初 Information push method for centralized news management, and news push system
WO2018023636A1 (en) * 2016-08-04 2018-02-08 汤隆初 News push method, and news push system
CN106776007A (en) * 2016-11-22 2017-05-31 珠海市魅族科技有限公司 Data clearing method and device
CN106603821A (en) * 2016-11-24 2017-04-26 维沃移动通信有限公司 Mute mode control method and mobile terminal
CN106713631A (en) * 2016-12-16 2017-05-24 捷开通讯(深圳)有限公司 Context mode setting method for mobile terminal
CN106790951A (en) * 2016-12-16 2017-05-31 北京奇虎科技有限公司 The method and apparatus of mobile terminal and call blocking
CN108628884B (en) * 2017-03-20 2022-03-25 华为技术有限公司 Complex event processing method, system and device
CN108628884A (en) * 2017-03-20 2018-10-09 华为软件技术有限公司 A kind of Complex event processing method, system and its apparatus
CN107645307A (en) * 2017-03-27 2018-01-30 湖北文理学院 A kind of mobile phone circuit with reply of uttering long and high-pitched sounds
CN107172283A (en) * 2017-05-18 2017-09-15 田进 A kind of mobile terminal calling control method and device
CN107172283B (en) * 2017-05-18 2018-06-26 河北东森电子科技有限公司 A kind of mobile terminal calling control method and device
CN107302634A (en) * 2017-07-06 2017-10-27 曹立峰 The system and method that mobile phone answers important incoming call at any time
CN107800870A (en) * 2017-09-26 2018-03-13 深圳天珑无线科技有限公司 Terminal and its method for automatic mute, storage device
CN107846513A (en) * 2017-11-01 2018-03-27 上海掌门科技有限公司 The implementation method and equipment of do-not-disturb mode
CN107864297A (en) * 2017-12-25 2018-03-30 广东欧珀移动通信有限公司 Group's adding method, device, terminal and storage medium
WO2019129003A1 (en) * 2017-12-25 2019-07-04 Oppo广东移动通信有限公司 Notification prompt method, group addition method and apparatus, terminal and storage medium
CN108055404A (en) * 2017-12-25 2018-05-18 广东欧珀移动通信有限公司 Notification reminding method, device, terminal and storage medium
US11272051B2 (en) 2017-12-25 2022-03-08 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for notification reminder, terminal, and storage medium
KR102322542B1 (en) * 2017-12-25 2021-11-05 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Notification reminder method, terminal and storage medium
JP2021508198A (en) * 2017-12-25 2021-02-25 オッポ広東移動通信有限公司Guangdong Oppo Mobile Telecommunications Corp., Ltd. Notification reminders, group addition methods, devices, devices, and storage media
CN108055404B (en) * 2017-12-25 2019-10-25 Oppo广东移动通信有限公司 Notification reminding method, device, terminal and storage medium
KR20200090220A (en) * 2017-12-25 2020-07-28 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Notification reminder method, terminal and storage medium
CN108366164A (en) * 2018-01-16 2018-08-03 深圳市金立通信设备有限公司 A kind of method, terminal and the computer readable storage medium of setting do-not-disturb mode
CN108391008B (en) * 2018-02-11 2020-11-17 维沃移动通信有限公司 Message reminding method and mobile terminal
CN108391008A (en) * 2018-02-11 2018-08-10 维沃移动通信有限公司 A kind of message prompt method and mobile terminal
CN108579081A (en) * 2018-03-28 2018-09-28 努比亚技术有限公司 Event-handling method, equipment based on game and computer storage media
CN108579081B (en) * 2018-03-28 2023-08-11 努比亚技术有限公司 Event processing method, device and computer storage medium based on game
WO2020042817A1 (en) * 2018-08-28 2020-03-05 Oppo广东移动通信有限公司 Message prompt giving method and apparatus, terminal and storage medium
CN110971746A (en) * 2018-09-29 2020-04-07 北京奇虎科技有限公司 Method and device for preventing short message from bombing, electronic equipment and computer-readable storage medium
CN108965612B (en) * 2018-10-22 2019-08-02 珠海格力电器股份有限公司 Control method of disturbance-free mode and mobile phone
CN108965612A (en) * 2018-10-22 2018-12-07 珠海格力电器股份有限公司 Control method of disturbance-free mode and mobile phone
CN110244888A (en) * 2019-06-11 2019-09-17 惠州Tcl移动通信有限公司 A kind of setting method of behavior pattern, device, storage medium and terminal
CN110392166A (en) * 2019-08-20 2019-10-29 维沃移动通信有限公司 A kind of incoming call reminding method, device and server
CN115484662A (en) * 2021-06-16 2022-12-16 联发科技股份有限公司 Power optimization method, user equipment and computer readable medium thereof
CN115333685A (en) * 2022-10-10 2022-11-11 永鼎行远(南京)信息科技有限公司 Information intelligent allocation system based on big data

Also Published As

Publication number Publication date
CN103458120B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN103458120B (en) Event processing method, device and mobile terminal
CN104427074B (en) A kind of methods, devices and systems for showing incoming information
US11023296B2 (en) Method for managing multiple operating systems in a terminal
CN106453511B (en) Data backup method and equipment
CN104348943B (en) A kind of method and apparatus of incoming call prompting
CN103500079A (en) Notification message display method and device and electronic equipment
CN103561400B (en) Method for initiating communication, device thereof and mobile terminal
CN104735671A (en) Malicious call recognition method and device
CN103442330A (en) Position notification method and device
CN109167879A (en) Based reminding method, mobile terminal and storage medium based on artificial intelligence
CN109521925A (en) Icon arrangement method, mobile terminal and computer readable storage medium
CN104717341A (en) Message prompting method and terminal
CN106506321A (en) One population message treatment method and terminal device
CN103368828B (en) A kind of message temporary storage and system
CN104378488A (en) Harassing call processing method and device
CN106027748A (en) Emergency calling method and device in screen locking state and mobile terminal
CN106953987A (en) Method and device for incoming call processing and mobile terminal
CN105101132B (en) A call forwarding setting prompt method and terminal
CN104348947A (en) Method and device of managing incoming call of mobile terminal
CN106341315A (en) Text message cleaning method, apparatus and mobile terminal
CN108494943A (en) Message sink sends processing method, terminal and computer readable storage medium
CN103488421A (en) Method and device for processing call record and mobile terminal
CN106332023A (en) Unread information display method and device, and mobile terminal
CN103677944B (en) A kind of method for making locking screen interface, device and terminal device
CN103533139B (en) Data management method and device of multi-card user and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant