CN108055397A - Method for realizing disturbance-free function, electronic equipment and computer-readable storage medium - Google Patents
Method for realizing disturbance-free function, electronic equipment and computer-readable storage medium Download PDFInfo
- Publication number
- CN108055397A CN108055397A CN201711277388.XA CN201711277388A CN108055397A CN 108055397 A CN108055397 A CN 108055397A CN 201711277388 A CN201711277388 A CN 201711277388A CN 108055397 A CN108055397 A CN 108055397A
- Authority
- CN
- China
- Prior art keywords
- information
- key
- initiator
- telephone number
- value pair
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 239000003999 initiator Substances 0.000 claims abstract description 56
- 238000012544 monitoring process Methods 0.000 claims abstract description 10
- 230000004044 response Effects 0.000 claims description 14
- 239000000284 extract Substances 0.000 claims description 13
- 238000000605 extraction Methods 0.000 claims description 11
- 230000001960 triggered effect Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 8
- 230000005611 electricity Effects 0.000 claims 2
- 238000004364 calculation method Methods 0.000 claims 1
- 238000004891 communication Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 29
- 238000010586 diagram Methods 0.000 description 8
- 230000009471 action Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
- H04M1/27467—Methods of retrieving data
- H04M1/2748—Methods of retrieving data by matching character strings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
本申请实施例公开了一种实现免打扰功能的方法,涉及通信领域,包括:当接收到短信或监听到来电时,获取该短信或来电的发起方的电话号码;从该电话号码中提取该发起方的最小身份信息,并在预设的免打扰信息记录文件中查找是否存在与该发起方的最小身份信息相匹配的号码信息,该发起方的最小身份信息为该电话号码中可标识该发起方身份的号码段;若存在该号码信息,则不输出信息通知,该信息通知用于通知接收到短信或监听到来电。本申请实施例还公开了一种电子设备及计算机可读存储介质,实现了免打扰功能,可以提高免打扰号码的查找速度,避免漏判。
The embodiment of the present application discloses a method for realizing a do not disturb function, which relates to the field of communications, including: when receiving a text message or monitoring an incoming call, obtaining the phone number of the initiator of the text message or the incoming call; extracting the minimum identity information of the initiator from the phone number, and searching in a preset do not disturb information record file whether there is number information matching the minimum identity information of the initiator, the minimum identity information of the initiator being a number segment in the phone number that can identify the identity of the initiator; if the number information exists, no information notification is output, and the information notification is used to notify the receipt of a text message or monitoring an incoming call. The embodiment of the present application also discloses an electronic device and a computer-readable storage medium, which realize the do not disturb function, can improve the search speed of the do not disturb number, and avoid missed judgment.
Description
技术领域technical field
本申请涉及通信领域,尤其涉及一种实现免打扰功能的方法、电子设备及计算机可读存储介质。The present application relates to the communication field, and in particular to a method for realizing a do-not-disturb function, an electronic device, and a computer-readable storage medium.
背景技术Background technique
随着技术的发展,人们被纷繁的信息围绕,大量的信息通过电子设备进入人们的生活,为了使人们免受垃圾信息的叨扰,电子设备需要具备免打扰功能。With the development of technology, people are surrounded by numerous information, and a large amount of information enters people's lives through electronic devices. In order to prevent people from being disturbed by junk information, electronic devices need to have a do-not-disturb function.
目前,实现免打扰功能的方法一般为,当电子设备收到短信或监听到来电时,若短信或来电的发起者的电话号码被设置为免打扰时,则不输出信息通知。这种免打扰实现方式,普遍存在判断短信或来电发起者的电话号码是否被设置为免打扰耗时长且容易出现漏判的问题。At present, the method for implementing the do-not-disturb function is generally as follows: when the electronic device receives a text message or monitors an incoming call, if the phone number of the originator of the text message or the incoming call is set as do-not-disturb, no information notification is output. This do-not-disturb implementation method generally has the problem that it takes a long time to determine whether the phone number of the sender of the text message or the call is set as do-not-disturb and is prone to missed judgments.
发明内容Contents of the invention
本申请提供一种实现免打扰功能的方法、电子设备及计算机可读存储介质,实现了免打扰功能,可以解决免打扰号码查找耗时长且容易漏判的问题。The present application provides a method for realizing a do-not-disturb function, an electronic device, and a computer-readable storage medium, which realize the do-not-disturb function and can solve the problem that it takes a long time to search for a do-not-disturb number and is easily missed.
本申请实施例第一方面提供了一种实现免打扰功能的方法,包括:The first aspect of the embodiment of the present application provides a method for implementing the do-not-disturb function, including:
当接收到短信或监听到来电时,获取所述短信或来电的发起方的电话号码;When receiving a text message or monitoring an incoming call, obtain the phone number of the originator of the text message or incoming call;
从所述电话号码中提取所述发起方的最小身份信息,并在预设的免打扰信息记录文件中查找是否存在与所述发起方的最小身份信息相匹配的号码信息,所述发起方的最小身份信息为所述电话号码中可标识所述发起方身份的号码段;Extract the minimum identity information of the initiator from the phone number, and search whether there is number information matching the minimum identity information of the initiator in the preset do-not-disturb information record file, the initiator's The minimum identity information is a number segment in the phone number that can identify the identity of the initiator;
若存在所述号码信息,则不输出信息通知,所述信息通知用于通知接收到短信或监听到来电。If the number information exists, no information notification is output, and the information notification is used to notify that a short message is received or an incoming call is monitored.
本申请第二方面提供了一种电子设备,包括:The second aspect of the present application provides an electronic device, including:
获取模块,用于当接收到短信或监听到来电时,获取所述短信或来电的发起方的电话号码;An acquisition module, configured to acquire the phone number of the originator of the text message or incoming call when receiving a text message or monitoring an incoming call;
提取模块,用于从所述获取模块获取的电话号码中提取所述发起方的最小身份信息;An extraction module, configured to extract the minimum identity information of the initiator from the phone number acquired by the acquisition module;
查找模块,用于在预设的免打扰信息记录文件中查找是否存在与所述发起方的最小身份信息相匹配的号码信息;A search module, configured to search in the preset do-not-disturb information record file whether there is number information matching the minimum identity information of the initiator;
处理模块,用于若存在所述号码信息,则控制不输出信息通知,所述信息通知用于通知接收到短信或监听到来电。A processing module, configured to control not to output an information notification if the number information exists, and the information notification is used to notify that a short message is received or an incoming call is monitored.
本申请第三方面提供了一种电子设备,包括:存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时,实现上述本申请实施例第一方面提供的实现免打扰功能的方法。The third aspect of the present application provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein when the processor executes the computer program, the The method for realizing the do-not-disturb function provided by the first aspect of the above-mentioned embodiments of the present application.
本申请第四方面提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现上述本申请实施例第一方面提供的实现免打扰功能的方法。A fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for implementing the do-not-disturb function provided in the first aspect of the above-mentioned embodiments of the present application is implemented.
上述本申请实施例提供的实现免打扰功能的实现方法、电子设备或计算机存储介质,通过利用包含电话号码中可标识发起方身份的号码段的最小身份信息,在预设的免打扰信息记录文件中查找是否存在与最小身份信息相匹配的号码信息,一方面减少了查找时需要对比的号码信息的位数,因此可提高免打扰号码的查找速度,另一方面,通过标识发起方身份的号码段可以在保证查找准确性的同时,避免漏判。The implementation method for realizing the do-not-disturb function provided by the above-mentioned embodiments of the present application, the electronic device or the computer storage medium, by using the minimum identity information including the number segment in the phone number that can identify the identity of the originator, in the preset do-not-disturb information recording file Find whether there is a number information that matches the minimum identity information. On the one hand, it reduces the number of digits of the number information that needs to be compared during the search, so it can improve the search speed of the DND number. On the other hand, by identifying the number of the originator The segment can avoid missed judgment while ensuring the accuracy of the search.
附图说明Description of drawings
图1为本申请一实施例提供的实现免打扰功能的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for implementing a do-not-disturb function provided by an embodiment of the present application;
图2为本申请另一实施例提供的实现免打扰功能的方法的流程示意图;FIG. 2 is a schematic flowchart of a method for implementing a do-not-disturb function provided by another embodiment of the present application;
图3为本申请另一实施例提供的实现免打扰功能的方法中设置提示框界面的示意图;FIG. 3 is a schematic diagram of an interface for setting a prompt box in a method for implementing a do-not-disturb function provided by another embodiment of the present application;
图4是本申请一实施例提供的电子设备的结构示意图;Fig. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图5为本申请另一实施例提供的电子设备的结构示意图;FIG. 5 is a schematic structural diagram of an electronic device provided by another embodiment of the present application;
图6为本申请一实施例提供的电子设备的硬件结构图。FIG. 6 is a hardware structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使得本申请的目的、特征、优点能够更加的明显和易懂,下面将结合本申请实施例提供的附图,对本申请实施例提供的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而非全部实施例。基于本申请提供的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, features, and advantages of the present application more obvious and understandable, the technical solutions provided by the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings provided by the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments provided in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.
请参阅图1,图1为本申请一实施例提供的实现免打扰功能的方法的流程示意图,该方法可应用于电子设备中,电子设备包括:具有短信和电话接收功能的智能手机、平板电脑、智能手表等可在移动中使用的电子数据处理设备。如图1所示,该方法主要包括以下步骤:Please refer to Fig. 1, Fig. 1 is a schematic flow diagram of a method for implementing the do-not-disturb function provided by an embodiment of the present application, the method can be applied to electronic devices, and the electronic devices include: smart phones and tablet computers with short message and call receiving functions , smart watches and other electronic data processing devices that can be used on the move. As shown in Figure 1, the method mainly includes the following steps:
101、当接收到短信或监听到来电时,获取该短信或来电的发起方的电话号码;101. When receiving a text message or monitoring an incoming call, obtain the phone number of the originator of the text message or incoming call;
具体的,电子设备中预设有广播接收器,通过广播接收器对短信接收事件和来电事件的相关广播进行监听时,当监听到短信接收事件的广播或来电事件的广播时,响应于监听到的广播中的事件,获取接收的短信或来电的发起者的电话号码。Specifically, a broadcast receiver is preset in the electronic device, and when the broadcast receiver monitors the related broadcasts of the SMS receiving event and the incoming call event, when the broadcast of the SMS receiving event or the incoming call event is monitored, in response to the monitored Get the phone number of the originator of the received text message or incoming call.
102、从该电话号码中提取该发起方的最小身份信息,并在预设的免打扰信息记录文件中查找是否存在与该最小身份信息相匹配的号码信息;102. Extract the minimum identity information of the originator from the phone number, and search whether there is number information matching the minimum identity information in the preset do-not-disturb information record file;
通常电话号码是由多个字符和数字组成,为便于区分不同的电话号码,一般会将电话号码划分为多个号码段,每个号码段包含多个数字,或,字符与多个数字的组合,不同的号码段用于标识不同的含义,有的号码段用于标识电话号码的供应商的网络,有的号码段用于标识电话号码的归属地,还有的号码段用于标识电话号码的拥有者等等。Usually a phone number is composed of multiple characters and numbers. In order to distinguish different phone numbers, the phone number is generally divided into multiple number segments, each number segment contains multiple numbers, or a combination of characters and multiple numbers , Different number segments are used to identify different meanings, some number segments are used to identify the network of the provider of the phone number, some number segments are used to identify the attribution of the phone number, and some number segments are used to identify the phone number owner etc.
于本实施例中,最小身份信息,或者,也可以理解为用于匹配免打扰号码的最小匹配值,即为该电话号码中可以用于标识接收的短信或来电的发起方的身份的一个或多个号码段。In this embodiment, the minimum identity information, or, can also be understood as the minimum matching value used to match the Do Not Disturb number, that is, one or Multiple number segments.
需要说明的是,预设的免打扰信息记录文件独立于短信会话或来电会话,在短信记录中删除该短信或在通话记录中删除该来电,均不会改变预设的免打扰信息记录文件中记录的号码信息,故将被设置了免打扰的电话号码发送的短消息从消息记录中删除,或者将被设置了免打扰的电话号码的通话记录删除,均不会导致对该电话号码的免打扰设置的失效。It should be noted that the preset do-not-disturb information record file is independent of the SMS session or the incoming call session. Deleting the text message from the SMS record or deleting the incoming call from the call record will not change the preset do-not-disturb information record file. Therefore, deleting a short message sent by a phone number with a do-not-disturb setting from the message record, or deleting a call record of a phone number with a do-not-disturb setting will not result in a do-not-disturb for the phone number. Disabling settings disabled.
可选的,该免打扰信息记录文件可以为系统数据库,也可以是非系统数据库的数据库文件或其他类型的文件,例如,可以是表格、链表、堆栈等具有储存功能的文件。可以理解的,由于系统数据库中存储的数据较为繁杂,与多个应用程序之间存在调用关系。当该免打扰信息记录文件是非系统数据库的数据库文件或其他类型的文件时,由于无需修改系统数据库的信息,因此也就不会涉及与其他应用程序的兼容性问题。Optionally, the do-not-disturb information record file may be a system database, or a database file of a non-system database, or other types of files, for example, a table, a linked list, a stack, and other files with storage functions. Understandably, since the data stored in the system database is complicated, there is a calling relationship with multiple application programs. When the do-not-disturb information record file is a database file of a non-system database or other types of files, since there is no need to modify the information of the system database, compatibility issues with other application programs will not be involved.
103、若存在该号码信息,则不输出信息通知。103. If the number information exists, no information notification is output.
具体的,该信息通知用于通知接收到短信或监听到来电,该通知信息可以是,例如,电子设备的振动、鸣叫、闪光等动作,或者输出预设的文字信息。Specifically, the information notification is used to notify that a text message is received or an incoming call is monitored, and the notification information may be, for example, actions such as vibration, tweeting, and flashing of the electronic device, or output of preset text information.
可选的,如果判断接收到被设置为免打扰的号码发送的短信,除不发送信息通知外,还在短信记录中对该短信进行标示,提示用户该短信为被设置为免打扰的号码发送的短信,例如,在该短信的内容中加入“垃圾短信”的字样。Optionally, if it is determined that a text message sent by a number set as Do Not Disturb is received, in addition to not sending an information notification, the text message is also marked in the text message record, prompting the user that the text message is sent from a number set as Do Not Disturb For example, adding the words "spam text message" in the content of the text message.
可选的,如果判断接收到被设置为免打扰的号码发送的短信,除不发送信息通知外,还不将该信息存入短息记录中,并向该号码发送消息,提示该信息的发送者已被设置为免打扰,并提示该发送者不要再次向该电子设备发送消息,例如,可以向该发送者发送内容为“你已被设置为免打扰,勿扰”的短信。Optionally, if it is determined that a text message sent by a number set as Do Not Disturb is received, the message will not be stored in the short message record except that the message notification will not be sent, and a message will be sent to the number to remind the message to be sent The sender has been set as Do Not Disturb, and the sender is prompted not to send messages to the electronic device again, for example, a text message with the content "You have been set as Do Not Disturb, Do Not Disturb" can be sent to the sender.
可选的,如果判断接收到被设置为免打扰的号码发起的来电,除不发送信息通知外,还可自动挂断来电。进一步的,还可向该号码发送消息,提示该来电的发起者已被设置为免打扰,并提示该发送者不要再次向该电子设备发起来电。Optionally, if it is determined that an incoming call from a number set as Do Not Disturb is received, in addition to not sending a message notification, the incoming call can also be automatically hung up. Further, a message may also be sent to the number, prompting that the originator of the incoming call has been set as Do Not Disturb, and reminding the sender not to initiate an incoming call to the electronic device again.
本申请实施例中,通过利用包含电话号码中可标识发起方身份的号码段的最小身份信息,在预设的免打扰信息记录文件中查找是否存在与最小身份信息相匹配的号码信息,一方面减少了查找时需要对比的号码信息的位数,因此可提高免打扰号码的查找速度,另一方面,通过标识发起方身份的号码段可以在保证查找准确性的同时,避免漏判。In the embodiment of the present application, by using the minimum identity information including the number segment that can identify the identity of the originator in the phone number, it is searched in the preset Do Not Disturb information record file whether there is number information that matches the minimum identity information, on the one hand It reduces the number of digits of the number information that needs to be compared when searching, so it can improve the search speed of the Do Not Disturb number. On the other hand, the number segment that identifies the identity of the initiator can ensure the accuracy of the search and avoid missed judgments.
请参阅图2,图2为本申请另一实施例提供的实现免打扰功能的方法的流程示意图,该方法可应用于电子设备,电子设备包括:具有短信和电话接收功能的,且具有免打扰功能的智能手机、平板电脑、智能手表等可在移动中使用的电子数据处理设备。Please refer to Fig. 2, Fig. 2 is a schematic flowchart of a method for realizing the do-not-disturb function provided by another embodiment of the present application. Smartphones, tablets, smart watches and other electronic data processing devices that can be used on the move.
201、响应于触发的设置指令,提取该设置指令指向的待设置电话号码中的最小身份信息;201. In response to the triggered setting instruction, extract the minimum identity information in the phone number to be set pointed to by the setting instruction;
具体的,设置指令可基于用户在预设的免打扰设置界面中的操作触发。可以理解的,待设置电话号码由多个字符和数字组成,根据功能对多个字符和数字进行分组,可以得到多个号码段,每个号码段与一组数字,或者,与一组字符与多个数字的组合对应。当该设置指令被触发时,提取用户输入或选定的待设置电话号码中的最小身份信息。该最小身份信息为该待设置电话号码中可标识该待设置电话号码的拥有者身份的一个或多个号码段。Specifically, the setting instruction can be triggered based on the user's operation in the preset do-not-disturb setting interface. It can be understood that the phone number to be set is composed of multiple characters and numbers. By grouping multiple characters and numbers according to functions, multiple number segments can be obtained. Each number segment is associated with a group of numbers, or a group of characters and Combinations of multiple numbers correspond. When the setting instruction is triggered, the minimum identity information in the phone number to be set input or selected by the user is extracted. The minimum identity information is one or more number segments in the phone number to be set that can identify the identity of the owner of the phone number to be set.
可选的,于其他一实施例中,待设置电话号码可以但不限于包括:国别号码段、网络识别号码段、地区编码号码段和用户号码段。其中国别号码段用于识别不同的国家,如:+86或086代表中国。网络识别号码段用于识别电话号码所属网络,如:移动网络、通信网络等等。地区编码号码段用于识别电话号码的归属地,如:北京、天津、上海等等。用户号码段用于识别用户。不同网络、不同归属地的用户可以拥有相同的用户号码段。Optionally, in another embodiment, the phone number to be set may include, but is not limited to: a country code segment, a network identification number segment, an area code number segment, and a user number segment. Among them, the country code segment is used to identify different countries, such as: +86 or 086 represents China. The network identification number segment is used to identify the network to which the phone number belongs, such as a mobile network, a communication network, and so on. The area code segment is used to identify the attribution of the telephone number, such as: Beijing, Tianjin, Shanghai and so on. The user number segment is used to identify users. Users on different networks and different places of origin can have the same user number segment.
提取待设置电话号码中的最小身份信息,具体可以提取该电话号码中的国别号码段、网络识别号码段、地区编码号码段和用户号码段中的任意一个或多个号码段的任意组合,作为该最小身份信息。Extract the minimum identity information in the phone number to be set. Specifically, you can extract the country number segment, network identification number segment, area code number segment and any combination of any one or more number segments in the phone number, as this minimum identity information.
为便于说明,以国内11位电话号码作为待设置电话号码为例进行说明,并非对电话号码的具体形式做出限制,该电话号码的1-3位为网络识别号码段,第4-7位为地区编码号码段,第8-11位为用户号码段。在实际应用中,可提取电话号码的第4-7位作为该电话号码的最小身份信息,也可以提取电话号码的第8-11位作为该电话号码的最小身份信息,也可以提取电话号码的第4-11位作为,也可以提取电话号码的第1-11位作为该电话号码的最小身份信息。For the convenience of explanation, the domestic 11-digit phone number is used as an example to illustrate the phone number to be set. It does not limit the specific form of the phone number. The 1-3 digits of the phone number are the network identification number segment, and the 4-7 digits It is the area code number segment, and the 8th-11th digits are the user number segment. In practical applications, the 4th to 7th digits of the phone number can be extracted as the minimum identity information of the phone number, and the 8th to 11th digits of the phone number can also be extracted as the minimum identity information of the phone number. The 4th to 11th digits are used as the minimum identity information of the telephone number, and the 1st to 11th digits of the telephone number can also be extracted.
202、在预设的免打扰信息记录文件中为该待设置电话号码设置对应的第二键值对,该第二键值对以该待设置电话号码中的最小身份信息为键,以该待设置电话号码为值;202. Set a corresponding second key-value pair for the phone number to be set in the preset do-not-disturb information record file, the second key-value pair uses the minimum identity information in the phone number to be set as the key, and the phone number to be set set phone number as value;
于本实施例中,预设的免打扰信息记录文件独立于短信会话或来电会话,在短信记录中删除该短信或在通话记录中删除该来电,均不会改变预设的免打扰信息记录文件中记录的号码信息,故将被设置了免打扰的电话号码发送的短消息从消息记录中删除,或者将被设置了免打扰的电话号码的通话记录删除,均不会导致对该电话号码的免打扰设置的失效。In this embodiment, the preset do-not-disturb information record file is independent of the text message session or the incoming call session, and deleting the text message in the text message record or deleting the incoming call in the call record will not change the preset do-not-disturb information record file Therefore, deleting the short message sent by the phone number set to do not disturb from the message record, or deleting the call record of the phone number set to do not disturb will not cause the phone number to be blocked. Disabled do not disturb settings.
具体的,该免打扰信息记录文件可以为系统数据库,也可以是非系统数据库的数据库文件或其他类型的文件,例如,可以是表格、链表、堆栈等具有储存功能的文件。可以理解的,由于系统数据库中存储的数据较为繁杂,与多个应用程序之间存在调用关系。当该免打扰信息记录文件是非系统数据库的数据库文件或其他类型的文件时,由于无需修改系统数据库的信息,因此也就不会涉及与其他应用程序的兼容性问题。Specifically, the do-not-disturb information recording file may be a system database, or a database file of a non-system database, or other types of files, for example, a table, a linked list, a stack, and other files with storage functions. Understandably, since the data stored in the system database is complicated, there is a calling relationship with multiple application programs. When the do-not-disturb information record file is a database file of a non-system database or other types of files, since there is no need to modify the information of the system database, compatibility issues with other application programs will not be involved.
免打扰号码以键值对的方式存储在免打扰信息记录文件中,该键值对以免打扰号码中的最小身份信息为键(key),以免打扰号码的完整信息为值(value)。可以理解的,在一个键值对中,同一个键可以同时对应一个值,也可以同时对应多个值。The Do Not Disturb number is stored in the Do Not Disturb information record file in the form of a key-value pair, the minimum identity information in the key-value pair is the key (key), and the complete information of the Do Not Disturb number is the value (value). Understandably, in a key-value pair, the same key can correspond to one value or multiple values at the same time.
举例来说,假设该键值对的形式为:{String(minN1),Set(S1)},其中minN1是key,也即待设置电话号码中的最小身份信息,S1是value,即待设置电话号码的全部号码信息。假设待设置电话号码S1为13505409870,其中最小身份信息minN1为05409870,则该电话号码的键值对为{String(05409870),Set(13505409870)}。For example, assume that the key-value pair is in the form: {String(minN1), Set(S1)}, where minN1 is the key, that is, the minimum identity information in the phone number to be set, and S1 is value, that is, the phone number to be set All number information of the number. Suppose the phone number S1 to be set is 13505409870, and the minimum identity information minN1 is 05409870, then the key-value pair of the phone number is {String(05409870), Set(13505409870)}.
可选的,于其他一实施例中,在为该待设置电话号码设置对应的第二键值对之前,还可先检查免打扰信息记录文件中是否已经存在对应的键值对。具体的,在响应于触发的设置指令,提取该设置指令指向的待设置电话号码中的最小身份信息之后,在该免打扰信息记录文件中查找是否存在以该待设置电话号码中的最小身份信息为键的该第三键值对。若存在该第三键值对,则将该待设置电话号码作为值增加到该第三键值对中。若不存在该第三键值对,则再执行步骤202:在该免打扰信息记录文件中为该待设置电话号码设置对应的第二键值对。如此,可避免出现重复的键值对,降低免打扰信息记录文件内容结构的复杂度,进一步提高查找的速度及效率。Optionally, in another embodiment, before setting the corresponding second key-value pair for the phone number to be set, it may be checked whether the corresponding key-value pair already exists in the do-not-disturb information record file. Specifically, after extracting the minimum identity information in the phone number to be set pointed to by the setting command in response to the triggered setting instruction, it is searched in the do-not-disturb information record file whether there is the minimum identity information in the phone number to be set This third key-value pair for the key. If the third key-value pair exists, then add the phone number to be set as a value to the third key-value pair. If the third key-value pair does not exist, step 202 is performed again: setting a corresponding second key-value pair for the phone number to be set in the do-not-disturb information record file. In this way, repeated key-value pairs can be avoided, the complexity of the content structure of the do-not-disturb information record file can be reduced, and the search speed and efficiency can be further improved.
仍以{String(minN1),Set(S1)}为例,假设待设置电话号码S1为+8613505409870,其中最小身份信息minN1为13505409870,则首先利用13505409870查找免打扰信息记录文件中是否存在以13505409870为key的键值对,如果存在{String(13505409870),Set(13505409870)},则将+8613505409870增加到该键值对中,其结果为{String(13505409870),Set(13505409870,+8613505409870)}。如不存在,则为+8613505409870创建对应的键值对{String(13505409870),Set(+8613505409870)}。Still taking {String(minN1), Set(S1)} as an example, assuming that the phone number S1 to be set is +8613505409870, and the minimum identity information minN1 is 13505409870, then firstly use 13505409870 to find whether there is a DND information record file with 13505409870 as The key-value pair of key, if {String(13505409870), Set(13505409870)} exists, then add +8613505409870 to the key-value pair, and the result is {String(13505409870), Set(13505409870, +8613505409870)}. If it does not exist, create a corresponding key-value pair {String(13505409870), Set(+8613505409870)} for +8613505409870.
可以理解的,上述键值对的具体形式在实际应用中可不限于此,本实施例不对其做具体限定。It can be understood that the specific form of the above key-value pair may not be limited to this in practical application, and this embodiment does not specifically limit it.
需要说明的是,步骤201和步骤202可以在步骤203之前执行,也可以在步骤203之后的任意时间点执行,也就是说,用户可以随时进行免打扰号码的设置操作。It should be noted that step 201 and step 202 may be performed before step 203, or may be performed at any point in time after step 203, that is to say, the user may perform the operation of setting the DND number at any time.
203、当接收到短信或监听到来电时,获取该短信或来电的发起方的电话号码,并从该电话号码中提取该发起方的最小身份信息,该发起方的最小身份信息为该电话号码中可标识该发起方身份的号码段;203. When receiving a text message or monitoring an incoming call, obtain the phone number of the originator of the text message or incoming call, and extract the minimum identity information of the originator from the phone number, and the minimum identity information of the originator is the phone number The number segment that can identify the originator's identity;
具体的,电子设备中预设有广播接收器,通过广播接收器对短信接收事件和来电事件的相关广播进行监听时,当监听到短信接收事件的广播或来电事件的广播时,响应于监听到的广播中的事件,获取接收的短信或来电的发起者的电话号码,并从该电话号码中提取该发起方的最小身份信息。具体提取方法可参考步骤201中提取设置指令指向的待设置电话号码中的最小身份信息的相关内容,此处不再赘述。Specifically, a broadcast receiver is preset in the electronic device, and when the broadcast receiver monitors the related broadcasts of the SMS receiving event and the incoming call event, when the broadcast of the SMS receiving event or the incoming call event is monitored, in response to the monitored Events in the broadcast, obtain the phone number of the originator of the received text message or incoming call, and extract the minimum identity information of the originator from the phone number. For the specific extraction method, please refer to the relevant content of extracting the minimum identity information in the phone number to be set pointed to by the setting instruction in step 201, which will not be repeated here.
204、在该免打扰信息记录文件中查找是否存在以该发起方的最小身份信息为键的第一键值对;204. Check in the do-not-disturb information record file whether there is a first key-value pair keyed with the minimum identity information of the initiator;
在免打扰信息记录文件中查找是否存在以接收到的短信或监听到的来电的发起方的最小身份信息为键的第一键值对。若存在,则说明该发起方的电话号码可能是免打扰号码,于是执行步骤205。若不存在,则说明该发起方的电话号码不是免打扰号码,于是执行步骤207。像这样,通过利用最小身份信息,只需要匹配电话号码中的部分数字即可将非免打扰号码快速确定,从而可提高非免打扰号码查找的速度。In the do-not-disturb information record file, it is searched whether there is a first key-value pair whose key is the minimum identity information of the initiator of the received short message or the monitored incoming call. If it exists, it means that the phone number of the initiator may be a DND number, and then step 205 is executed. If it does not exist, it means that the phone number of the originator is not a Do Not Disturb number, and then step 207 is executed. Like this, by using the minimum identity information, only need to match part of the numbers in the phone number to quickly determine the non-Do Not Disturb number, so that the speed of searching for the non-Do Not Disturb number can be improved.
205、判断该第一键值对中是否存在与该电话号码一致的值;205. Determine whether there is a value consistent with the phone number in the first key-value pair;
若免打扰信息记录文件中存在以接收到的短信或监听到的来电的发起方的最小身份信息为键的第一键值对,则说明该发起方的电话号码可能是免打扰号码,于是判断该第一键值对中是否存在与该电话号码一致的值,以便进一步确认该发起方的电话号码是否为免打扰号码,从而保证判断结果的准确性。若该第一键值对中存在与该电话号码一致的值,则执行步骤206。若该第一键值对中不存在与该电话号码一致的值,则执行步骤207。If there is a first key-value pair with the minimum identity information of the originator of the received text message or monitored incoming call as the key in the do-not-disturb information record file, it means that the originator’s phone number may be a do-not-disturb number, so judge Whether there is a value consistent with the telephone number in the first key-value pair, so as to further confirm whether the initiator's telephone number is a do-not-disturb number, thereby ensuring the accuracy of the judgment result. If there is a value consistent with the phone number in the first key-value pair, step 206 is executed. If there is no value consistent with the phone number in the first key-value pair, step 207 is executed.
206、确认存在与该发起方的最小身份信息相匹配的号码信息,并不输出信息通知;206. Confirm that there is number information matching the minimum identity information of the initiator, and not output an information notification;
具体的,若该第一键值对中存在与该发起方的电话号码一致的值,则确认存在与该发起方的最小身份信息相匹配的号码信息,并不输出信息通知,该信息通知用于通知接收到短信或监听到来电,例如,可以是电子设备的振动、鸣叫、闪光等动作,或者预设的文字信息。Specifically, if there is a value in the first key-value pair that is consistent with the phone number of the initiator, it is confirmed that there is a number information that matches the minimum identity information of the initiator, and no information notification is output. The information notification uses For notification of receiving a short message or monitoring an incoming call, for example, it may be an action such as vibration, tweeting, flashing of an electronic device, or a preset text message.
207、确认不存在与该发起方的最小身份信息相匹配的号码信息,并输出通知信息。207. Confirm that there is no number information matching the minimum identity information of the initiator, and output notification information.
具体的,若该免打扰信息记录文件中不存在以该发起方的最小身份信息为键的第一键值对,或者,若该第一键值对中不存在与该发起方的电话号码一致的值,则确认不存在与该发起方的最小身份信息相匹配的号码信息,并输出通知信息。Specifically, if there is no first key-value pair keyed with the initiator’s minimum identity information in the do-not-disturb information record file, or if there is no first key-value pair consistent with the initiator’s phone number value, it is confirmed that there is no number information matching the minimum identity information of the initiator, and a notification message is output.
在一实际应用中,如果用户选择某个会话设置免打扰,则获取会话联系人电话号码N1,并按照最小身份信息规则(或,最小匹配值规则),截取N1中的最小匹配值minN1,然后以minN1作为key,建立{String(minN1),Set(S1)}键值对,并将N1加入到S1中,从而完成免打扰号码的设置。In a practical application, if the user selects a certain session to set Do Not Disturb, then obtain the session contact phone number N1, and intercept the minimum matching value minN1 in N1 according to the minimum identity information rule (or, the minimum matching value rule), and then Use minN1 as the key to create a {String(minN1), Set(S1)} key-value pair, and add N1 to S1 to complete the setting of the DND number.
然后,当接收到新短信后,获取该短信的联系人号码N2,并按照最小匹配值规则,截取N2中的最小匹配值minN2。然后查找minN2为key的键值对{String(minN2),Set(S2)},若不存在,则确认N2不是免打扰号码,输出信息通知。若存在,则通过号码匹配规则,判断N2是否保存在S2中,若找到,则确认N2是免打扰号码,不输出信息通知,若未找到,则确认N2不是免打扰号码,输出信息通知。Then, when a new short message is received, the contact number N2 of the short message is obtained, and the minimum matching value minN2 in N2 is intercepted according to the minimum matching value rule. Then search for the key-value pair {String(minN2), Set(S2)} with minN2 as the key. If it does not exist, confirm that N2 is not a DND number and output a notification. If it exists, then judge whether N2 is stored in S2 through the number matching rule, if found, then confirm that N2 is a Do Not Disturb number, and do not output an information notification; if not found, then confirm that N2 is not a Do Not Disturb number, and output an information notification.
可选的,于其他一实施例中,若确认不存在与该发起方的最小身份信息相匹配的号码信息,则在输出通知信息前,还可以在预设的联系人列表中查找是否存在与发起方的电话号码相匹配的联系人信息。若该联系人列表中存在与该发起方的电话号码相匹配的联系人信息,则输出该通知信息。若该联系人列表中不存在与该发起方的电话号码相匹配的联系人信息,则输出该通知信息和提示信息,该提示信息用于提示该发送方为陌生人,以帮助用户选择是否需要接听电话或查看短信。Optionally, in another embodiment, if it is confirmed that there is no number information that matches the minimum identity information of the initiator, before outputting the notification information, it may also be checked in the preset contact list whether there is The originator's phone number matches the contact information. If there is contact information matching the phone number of the initiator in the contact list, the notification information is output. If there is no contact information matching the phone number of the sender in the contact list, then output the notification information and prompt information, the prompt information is used to prompt that the sender is a stranger, to help the user choose whether to Answer a call or check a text message.
可选的,若该联系人列表中不存在与该电话号码相匹配的联系人信息,则在输出该通知信息和提示信息之后可提示用户是否需要对当前的电话号码进行免打扰设置。具体的,输出设置提示信息,该设置提示信息用于提示是否为该发送方设置免打扰信息。响应于基于该设置提示信息触发的设置指令,执行步骤201和步骤202,以完成在该免打扰信息记录文件中为该发送方设置对应的键值对。Optionally, if there is no contact information matching the phone number in the contact list, the user may be prompted whether to perform do-not-disturb settings for the current phone number after outputting the notification information and prompt information. Specifically, setting prompt information is output, and the setting prompt information is used to prompt whether to set do-not-disturb information for the sender. In response to the setting instruction triggered based on the setting prompt information, step 201 and step 202 are executed to complete setting the corresponding key-value pair for the sender in the do-not-disturb information record file.
需要说明的是,以键值对的方式将待设置的电话号码储存在免打扰信息记录文件中,并通过键值对在该免打扰信息记录文件中查找是否存在于信息或来电的发起者的电话号码一致的值,第一方面,由于最小身份信息是电话号码中的国别号码段、网络识别号码段、地区编码号码段和用户号码段中的任意一个或多个号码段的任意组合,故最小身份信息的位数少于完整的电话号码的位数,从而减少了在该免打扰信息记录文件中查找是否存在于信息或来电的发起者的电话号码一致的值时,需要消耗的时间。第二方面,由于在免打扰信息记录文件中,一个键可以对应多个值,即一个最小身份信息可以记录多个待设置的电话号码,故需要对比的最小身份信息的数量减少了,从而进一步减少了在该免打扰信息记录文件中查找是否存在于信息或来电的发起者的电话号码一致的值时,需要消耗的时间。第三方面,若在对比该最小身份信息后,未查找到该目标最小身份信息,则可直接认为该免打扰信息记录文件中不存在该发起者的电话号码,进一步减少了在该免打扰信息记录文件中查找是否存在于信息或来电的发起者的电话号码一致的值时,需要消耗的时间。第四方面,若在对比该最小身份信息后,查找到该目标最小身份信息,则仅将目标电话号码与该发起者的电话号码进行比对,该目标电话号码为记录与该目标最小身份信息记录的电话号码,减少了需要对比的电话号码的数量,进一步减少了在该免打扰信息记录文件中查找是否存在于信息或来电的发起者的电话号码一致的值时,需要消耗的时间。It should be noted that the phone number to be set is stored in the do-not-disturb information record file in the form of a key-value pair, and the key-value pair is used to find whether it exists in the originator of the message or an incoming call. The value of the phone number is consistent. In the first aspect, since the minimum identity information is any combination of any one or more number segments in the country number segment, network identification number segment, area code number segment and user number segment in the phone number, Therefore, the number of digits of the minimum identity information is less than the number of digits of a complete phone number, thereby reducing the time to be consumed when searching whether there is a value consistent with the phone number of the originator of the message or the call in the do-not-disturb information record file . In the second aspect, because in the do-not-disturb information record file, a key can correspond to multiple values, that is, a minimum identity information can record a plurality of phone numbers to be set, so the quantity of the minimum identity information that needs to be compared is reduced, thereby further The time consumed when searching whether there is a value consistent with the phone number of the originator of the message or the incoming call in the do-not-disturb information record file is reduced. In the third aspect, if after comparing the minimum identity information, if the minimum identity information of the target is not found, it can be directly considered that there is no phone number of the initiator in the do-not-disturb information record file, further reducing the number of calls in the do-not-disturb information record file. The amount of time it takes to check in the log file whether there is a value that matches the phone number of the originator of the message or call. In the fourth aspect, if the minimum identity information of the target is found after comparing the minimum identity information, only the target phone number is compared with the phone number of the initiator, and the target phone number is recorded with the minimum identity information of the target The recorded phone number reduces the number of phone numbers that need to be compared, and further reduces the time consumed when searching whether there is a value consistent with the phone number of the originator of the message or the incoming call in the do-not-disturb information record file.
为了更清楚的说明本实施例提供的实现免打扰功能的实现方法,下面以手机实现免打扰功能的方法为例进行说明。当手机接收到短信或监听到来电时,获取该短信或来电的发起者的电话号码,假设该电话号码为4445556666。In order to more clearly illustrate the method for realizing the do-not-disturb function provided in this embodiment, the method for realizing the do-not-disturb function for a mobile phone is used as an example to describe below. When the mobile phone receives a text message or monitors an incoming call, obtain the phone number of the originator of the text message or incoming call, assuming that the phone number is 4445556666.
同样以区编码号码段和用户编码号码段作为最小身份信息,从该电话号码中抽取5556666作为键,并在免打扰身份信息记录文件中查找是否存在以5556666为键的第一键值对,若存在,则在该第一键值对中查找是否存在4445556666的值,若存在,则认为电话号码4445556666被设置为免打扰,手机不输出信息通知。Also take the area code number section and the user code number section as the minimum identity information, extract 5556666 as a key from this phone number, and find whether there is a first key-value pair with 5556666 as a key in the do-not-disturb identity information record file, if If it exists, check whether there is a value of 4445556666 in the first key-value pair. If it exists, it is considered that the phone number 4445556666 is set as Do Not Disturb, and the mobile phone does not output information notifications.
若免打扰信息文件中不存在以5556666为键的第一键值对,或在以5556666为键的第一键值对中不存在4445556666的值,则在手机的联系人列表中查找是否存在电话号码4445556666。If the first key-value pair with 5556666 as the key does not exist in the do not disturb information file, or the value of 4445556666 does not exist in the first key-value pair with 5556666 as the key, then check whether there is a phone in the contact list of the mobile phone Number 4445556666.
若存在,则输出信息通知,手机输出提示音,产生振动并在显示屏上显示来电的电话号码和该电话号码在联系人列表中对应的联系人姓名。If it exists, then output information notification, the mobile phone outputs a prompt tone, generates vibration and displays the phone number of the incoming call and the corresponding contact name of the phone number in the contact list on the display screen.
若不存在,则输出信息通知和提示通知,手机输出提示音,产生振动并在显示屏上显示来电的电话号码,并在显示屏上显示如图3所示的设置提示框,该提示框提示用户该电话号码为陌生号码,并提示用户选择是否将该陌生号码设置为免打扰。当监听到图3中的确定键的点击事件时,为该电话号码4445556666在免打扰信息记录文件中创建以5556666作为键,以4445556666为值的键值对。If it does not exist, then output information notification and prompt notification, the mobile phone outputs a prompt tone, generates vibration and displays the phone number of the incoming call on the display screen, and displays a setting prompt box as shown in Figure 3 on the display screen, the prompt box prompts The user's phone number is an unfamiliar number, and the user is prompted to choose whether to set the unfamiliar number as Do Not Disturb. When the click event of the OK key in FIG. 3 is monitored, a key-value pair with 5556666 as the key and 4445556666 as the value is created in the do-not-disturb information record file for the phone number 4445556666.
在本实施例中,通过利用包含电话号码中可标识发起方身份的号码段的最小身份信息,在预设的免打扰信息记录文件中查找是否存在与最小身份信息相匹配的号码信息,一方面减少了查找时需要对比的号码信息的位数,因此可提高免打扰号码的查找速度,另一方面,通过标识发起方身份的号码段可以在保证查找准确性的同时,避免漏判。此外,进一步的,在免打扰信息记录文件中未查找到信息或来电的发起者的电话号码后,通过在预设的联系人列表中查找该发起者的电话号码,并在联系人列表中未查找到该发起者的电话号码时,输出提示信息,以提示该发送方为陌生人,从而实现了陌生号码的提醒功能。并进一步的,在发起者为陌生人时,提示是否为该发送方设置免打扰信息,并响应于基于该设置提示信息触发的设置指令将该陌生号码设置为免打扰,实现了对陌生号码的免打扰的快速设置。In this embodiment, by using the minimum identity information that includes the number segment that can identify the identity of the originator in the phone number, it is searched in the preset Do Not Disturb information record file whether there is number information that matches the minimum identity information, on the one hand It reduces the number of digits of the number information that needs to be compared when searching, so it can improve the search speed of the Do Not Disturb number. On the other hand, the number segment that identifies the identity of the initiator can ensure the accuracy of the search and avoid missed judgments. In addition, further, after the phone number of the originator of the message or incoming call is not found in the do-not-disturb information record file, the phone number of the originator is searched in the preset contact list, and the phone number of the originator is not found in the contact list. When the sender's phone number is found, a prompt message is output to remind the sender that the sender is a stranger, thereby realizing the reminder function of an unfamiliar number. And further, when the initiator is a stranger, prompt whether to set do-not-disturb information for the sender, and set the strange number as do-not-disturb in response to the setting instruction triggered based on the setting prompt information, so as to realize the protection of the strange number Quick settings for Do Not Disturb.
请参阅图4,图4为本申请一实施例提供的电子设备的结构示意图,为了便于说明,仅示出了与本申请实施例相关的部分。图4示例的电子设备可以是前述图1所示实施例提供的实现免打扰功能的方法的执行主体。图4示例的电子设备,主要包括:获取模块301、提取模块302、查找模块303以及处理模块304。Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. For ease of description, only parts related to the embodiment of the present application are shown. The electronic device illustrated in FIG. 4 may be the execution subject of the method for implementing the do-not-disturb function provided in the embodiment shown in FIG. 1 . The electronic device shown in FIG. 4 mainly includes: an acquisition module 301 , an extraction module 302 , a search module 303 and a processing module 304 .
获取模块301,用于当接收到短信或监听到来电时,获取该短信或来电的发起方的电话号码。The obtaining module 301 is configured to obtain the phone number of the originator of the short message or incoming call when receiving a short message or monitoring an incoming call.
提取模块302,用于获取模块301获取的电话号码中提取该发起方的最小身份信息。The extracting module 302 is configured to extract the minimum identity information of the initiator from the phone number acquired by the acquiring module 301.
查找模块303,用于在预设的免打扰信息记录文件中查找是否存在与该发起方的最小身份信息相匹配的号码信息。The searching module 303 is configured to search whether there is number information matching the minimum identity information of the initiator in the preset do-not-disturb information record file.
处理模块304,用于若存在该号码信息,则控制不输出信息通知,该信息通知用于通知接收到短信或监听到来电。The processing module 304 is configured to control not to output an information notification if the number information exists, and the information notification is used to notify that a short message is received or an incoming call is monitored.
具体的,当接收到短信或监听到来电时,获取模块301获取该短信或来电的发起方的电话号码,并通过提取模块302从该电话号码中提取发起方的最小身份信息。然后,查找模块303在预设的免打扰信息记录文件中查找是否存在于该最小身份信息匹配的号码信息,若不存在则通过处理模块304控制不输出信息通知。Specifically, when receiving a short message or monitoring an incoming call, the obtaining module 301 obtains the phone number of the originator of the text message or incoming call, and extracts the minimum identity information of the originator from the phone number through the extraction module 302 . Then, the search module 303 searches in the preset do-not-disturb information record file whether there is the number information matching the minimum identity information, and if it does not exist, the processing module 304 controls not to output the information notification.
本实施例未尽之细节,请参阅前述图1所示实施例的描述,此处不再赘述。For details not covered in this embodiment, please refer to the description of the embodiment shown in FIG. 1 above, and details are not repeated here.
本申请实施例中,通过利用包含电话号码中可标识发起方身份的号码段的最小身份信息,在预设的免打扰信息记录文件中查找是否存在与最小身份信息相匹配的号码信息,一方面减少了查找时需要对比的号码信息的位数,因此可提高免打扰号码的查找速度,另一方面,通过标识发起方身份的号码段可以在保证查找准确性的同时,避免漏判。In the embodiment of the present application, by using the minimum identity information including the number segment that can identify the identity of the originator in the phone number, it is searched in the preset Do Not Disturb information record file whether there is number information that matches the minimum identity information, on the one hand It reduces the number of digits of the number information that needs to be compared when searching, so it can improve the search speed of the Do Not Disturb number. On the other hand, the number segment that identifies the identity of the initiator can ensure the accuracy of the search and avoid missed judgments.
请参阅图5,图5为本申请另一实施例提供的电子设备的结构示意图,为了便于说明,仅示出了与本申请实施例相关的部分。图5示例的电子设备可以是前述图1和图2所示实施例提供的实现免打扰功能的方法的执行主体。图5示例的电子设备,与图4所示实施例中的电子设备的不同之处主要在于:Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of an electronic device provided by another embodiment of the present application. For ease of description, only parts related to the embodiment of the present application are shown. The electronic device illustrated in FIG. 5 may be the execution subject of the method for implementing the do-not-disturb function provided by the embodiments shown in FIGS. 1 and 2 . The electronic equipment illustrated in Figure 5 differs from the electronic equipment in the embodiment shown in Figure 4 mainly in that:
进一步地,查找模块303,具体用于在该免打扰信息记录文件中查找是否存在以该发起方的最小身份信息为键的第一键值对,若存在该第一键值对,则判断该第一键值对中是否存在与该电话号码一致的值,以及若该第一键值对中存在与该电话号码一致的值,则确认存在与该发起方的最小身份信息相匹配的号码信息。Further, the search module 303 is specifically configured to search in the do-not-disturb information record file whether there is a first key-value pair with the minimum identity information of the originator as a key, and if there is the first key-value pair, determine the Whether there is a value consistent with the phone number in the first key-value pair, and if there is a value consistent with the phone number in the first key-value pair, confirm that there is number information matching the minimum identity information of the initiator .
进一步的,提取模块302,还用于响应于触发的设置指令,提取该设置指令指向的待设置电话号码中的最小身份信息;Further, the extracting module 302 is also configured to extract the minimum identity information in the phone number to be set pointed to by the setting command in response to the triggered setting command;
该电子设备还包括:This electronic device also includes:
设置模块401,用于在该免打扰信息记录文件中为该待设置电话号码设置对应的第二键值对,该第二键值对以该待设置电话号码中的最小身份信息为键,以该待设置电话号码为值;A setting module 401, configured to set a corresponding second key-value pair for the phone number to be set in the do-not-disturb information record file, the second key-value pair uses the minimum identity information in the phone number to be set as the key, and uses The phone number to be set is the value;
查找模块303,还用于在该免打扰信息记录文件中查找是否存在以该待设置电话号码中的最小身份信息为键的第三键值对;The search module 303 is also used to search in the do-not-disturb information record file whether there is a third key-value pair whose key is the minimum identity information in the phone number to be set;
设置模块401,还用于存在该第三键值对时,则将该待设置电话号码作为值增加到该第三键值对中,以及若不存在该第三键值对,则在该免打扰信息记录文件中为该待设置电话号码设置对应的第二键值对。The setting module 401 is also used to add the phone number to be set as a value to the third key-value pair when the third key-value pair exists, and if there is no third key-value pair, The corresponding second key-value pair is set in the disturbing information record file for the phone number to be set.
进一步的,提取模块302,具体用于提取电话号码中的国别号码段、网络识别号码段、地区编码号码段和用户号码段中的任意一个号码段或多个号码段的任意组合号码段,作为该发起方的最小身份信息。Further, the extracting module 302 is specifically used to extract any number segment or any combination of multiple number segments in the telephone number in the country number segment, network identification number segment, area code number segment and user number segment, As the initiator's minimum identity information.
进一步的,查找模块303,还用于若不存在与该发起方的最小身份信息相匹配的号码信,则在预设的联系人列表中查找是否存在与该电话号码相匹配的联系人信息;Further, the search module 303 is also used to search whether there is contact information matching the phone number in the preset contact list if there is no number letter matching the minimum identity information of the initiator;
该电子设备还包括:This electronic device also includes:
输出模块402,用于若该联系人列表中存在与该电话号码相匹配的联系人信息,则输出通知信息,以及若该联系人列表中不存在与该电话号码相匹配的联系人信息时,则输出该通知信息和提示信息,该提示信息用于提示该发送方为陌生人;An output module 402, configured to output notification information if there is contact information matching the phone number in the contact list, and if there is no contact information matching the phone number in the contact list, Then output the notification information and prompt information, the prompt information is used to prompt that the sender is a stranger;
输出模块402,还用于输出设置提示信息,该设置提示信息用于提示是否为该发送方设置免打扰信息;The output module 402 is also used to output setting prompt information, and the setting prompt information is used to prompt whether to set do-not-disturb information for the sender;
提取模块302,还用于响应于基于该设置提示信息触发的设置指令,提取该设置指令指向的待设置电话号码中的最小身份信息。The extracting module 302 is further configured to extract the minimum identity information in the phone number to be set pointed to by the setting instruction in response to the setting instruction triggered based on the setting prompt information.
本实施例未尽之细节,请参阅前述图1至图4所示实施例的描述,此处不再赘述。For the details not covered in this embodiment, please refer to the description of the embodiment shown in FIG. 1 to FIG.
本申请实施例中,通过利用包含电话号码中可标识发起方身份的号码段的最小身份信息,在预设的免打扰信息记录文件中查找是否存在与最小身份信息相匹配的号码信息,一方面减少了查找时需要对比的号码信息的位数,因此可提高免打扰号码的查找速度,另一方面,通过标识发起方身份的号码段可以在保证查找准确性的同时,避免漏判。此外,进一步的,在免打扰信息记录文件中未查找到信息或来电的发起者的电话号码后,通过在预设的联系人列表中查找该发起者的电话号码,并在联系人列表中未查找到该发起者的电话号码时,输出提示信息,以提示该发送方为陌生人,从而实现了陌生号码的提醒功能。并进一步的,在发起者为陌生人时,提示是否为该发送方设置免打扰信息,并响应于基于该设置提示信息触发的设置指令将该陌生号码设置为免打扰,实现了对陌生号码的免打扰的快速设置。In the embodiment of the present application, by using the minimum identity information including the number segment that can identify the identity of the originator in the phone number, it is searched in the preset Do Not Disturb information record file whether there is number information that matches the minimum identity information, on the one hand It reduces the number of digits of the number information that needs to be compared when searching, so it can improve the search speed of the Do Not Disturb number. On the other hand, the number segment that identifies the identity of the initiator can ensure the accuracy of the search and avoid missed judgments. In addition, further, after the phone number of the originator of the message or incoming call is not found in the do-not-disturb information record file, the phone number of the originator is searched in the preset contact list, and the phone number of the originator is not found in the contact list. When the sender's phone number is found, a prompt message is output to remind the sender that the sender is a stranger, thereby realizing the reminder function of an unfamiliar number. And further, when the initiator is a stranger, prompt whether to set do-not-disturb information for the sender, and set the strange number as do-not-disturb in response to the setting instruction triggered based on the setting prompt information, so as to realize the protection of the strange number Quick settings for Do Not Disturb.
请参阅图6,图6为本申请实施例提供的电子设备的硬件结构图。Please refer to FIG. 6 . FIG. 6 is a hardware structural diagram of an electronic device provided by an embodiment of the present application.
本实施例中所描述的电子设备,包括:The electronic equipment described in this embodiment includes:
存储器501、处理器502及存储在存储器501上并可在处理器上运行的计算机程序,处理器执行所述计算机程序时,实现前述图1和图2所示实施例中描述的实现免打扰功能的方法。Memory 501, processor 502, and a computer program stored in the memory 501 and operable on the processor. When the processor executes the computer program, it realizes the do-not-disturb function described in the embodiment shown in FIGS. 1 and 2 Methods.
进一步地,该电子设备还包括:Further, the electronic equipment also includes:
至少一个输入设备503;至少一个输出设备504。at least one input device 503; at least one output device 504.
上述存储器501、处理器502输入设备503和输出设备504通过总线505连接。The aforementioned memory 501 , processor 502 , input device 503 and output device 504 are connected through a bus 505 .
其中,输入设备503具体可为触控面板、物理按键或者鼠标等等。输出设备504具体可为显示屏。Wherein, the input device 503 may specifically be a touch panel, a physical button, or a mouse. The output device 504 may specifically be a display screen.
存储器501可以是高速随机存取记忆体(RAM,Random Access Memory)存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。存储器501用于存储一组可执行程序代码,处理器502与存储器501耦合。The memory 501 may be a high-speed random access memory (RAM, Random Access Memory) memory, or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 501 is used to store a set of executable program codes, and the processor 502 is coupled to the memory 501 .
进一步地,本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质可以是设置于上述各实施例中的电子设备中,该计算机可读存储介质可以是前述图6所示实施例中的存储器。该计算机可读存储介质上存储有计算机程序,该程序被处理器执行时实现前述图1和图2所示实施例中描述的实现免打扰功能的方法。进一步地,该计算机可存储介质还可以是U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Further, the embodiment of the present application also provides a computer-readable storage medium, which can be set in the electronic device in each of the above-mentioned embodiments, and the computer-readable storage medium can be the memory in the example embodiment. The computer-readable storage medium stores a computer program, and when the program is executed by the processor, the method for implementing the do-not-disturb function described in the embodiment shown in FIG. 1 and FIG. 2 is implemented. Further, the computer storage medium can also be a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc., which can store medium for program code.
在本申请所提供的多个实施例中,应该理解到,所揭露的电子设备和方法,可以通过其它的方式实现。例如,以上所描述的实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信链接可以是通过一些接口,模块的间接耦合或通信链接,可以是电性,机械或其它的形式。In the multiple embodiments provided in this application, it should be understood that the disclosed electronic device and method can be implemented in other ways. For example, the above-described embodiments are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication link shown or discussed may be through some interfaces, and the indirect coupling or communication link between modules may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or may be distributed to multiple network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.
需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本申请所必须的。It should be noted that, for the sake of simplicity of description, the aforementioned method embodiments are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Depending on the application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
以上为对本申请所提供的实现免打扰功能的方法、电子设备及计算机可读存储介质的描述,对于本领域的一般技术人员,依据本申请实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本申请的限制。The above is a description of the method for realizing the do-not-disturb function, the electronic device and the computer-readable storage medium provided by this application. There will be changes. In summary, the contents of this specification should not be construed as limiting the application.
Claims (14)
- A kind of 1. method for realizing do-not-disturb functionality, which is characterized in that the described method includes:When receiving short message or listening to incoming call, the telephone number of the initiator of the short message or incoming call is obtained;The minimum identity information of the initiator is extracted from the telephone number, and in default interruption-free information record file In search whether there is the number information to match with the minimum identity information of the initiator, the minimum identity of the initiator Information is that the number segment of initiator's identity can be identified in the telephone number;If there are the number informations, output information notice, described information notice do not receive short message or monitoring for notice To incoming call.
- 2. the method as described in claim 1, which is characterized in that key-value pair is stored in the interruption-free information record file, The key-value pair using in default interruption-free number can identity user identity number segment as key, with the complete of the interruption-free number Whole information is value, the minimum identity for searching whether to have with the initiator in default interruption-free information record file The number information of information match, specifically includes:Search whether to exist the using the minimum identity information of the initiator as key in the interruption-free information record file One key-value pair;If there are first key-value pairs, judge in first key-value pair with the presence or absence of consistent with the telephone number Value;If there is the value consistent with the telephone number in first key-value pair, confirm in the presence of the minimum with the initiator The number information that identity information matches.
- 3. method as claimed in claim 2, which is characterized in that the method further includes:Setting in response to triggering instructs, and extracts the minimum identity letter in the telephone number to be placed that instruction is set to be directed toward Breath;It is that telephone number to be set sets corresponding second key-value pair in the interruption-free information record file, described the Two key-value pairs are using the minimum identity information in telephone number to be set as key, using telephone number to be set as value.
- 4. method as claimed in claim 3, which is characterized in that the setting in response to triggering instructs, and extracts the setting Instruct be directed toward telephone number to be placed in minimum identity information and it is described be institute in the interruption-free information record file Between stating corresponding second key-value pair of telephone number setting to be placed, including:It searches whether to exist in the interruption-free information record file and be believed with the minimum identity in telephone number to be set Cease the 3rd key-value pair for key;If there are the 3rd key-value pairs, increase to telephone number to be set as value in the 3rd key-value pair;If there is no the 3rd key-value pairs, it is electricity to be set in the interruption-free information record file to perform described Talk about the step of number sets corresponding second key-value pair.
- 5. the method as described in claim 1 or 3, which is characterized in that described that the initiator is extracted from the telephone number Minimum identity information or, it is described extraction it is described set instruction be directed toward telephone number to be placed in minimum identity information, bag It includes:In country origin number segment, Network Recognition number section, area code number segment and Subscriber Number section in extraction telephone number Any combination number segment of any one number segment or multiple number segments, the minimum identity information as the initiator.
- 6. the method as described in claim 3 or 4, which is characterized in that described to be looked into default interruption-free information record file It looks for after the number information to match with the presence or absence of the minimum identity information with the initiator, further includes:If there is no the number information that the minimum identity information with the initiator matches, in default contacts list Search whether there is the associated person information to match with the telephone number;If there is the associated person information to match with the telephone number in the contacts list, the notice letter is exported Breath;If the notice letter is exported there is no the associated person information to match with the telephone number in the contacts list Breath and prompt message, the prompt message are stranger for prompting described sender.
- 7. method as claimed in claim 6, which is characterized in that if being not present and the phone in the contacts list The associated person information that number matches, then export the notification information and prompt message further includes afterwards:Output sets prompt message, and whether the setting prompt message is that described sender sets interruption-free information for prompting;In response to the setting instruction triggered based on the setting prompt message, the execution extraction is described to set treating for instruction direction The step of minimum identity information in telephone number is set, until it is the hair in the interruption-free information record file to complete The side of sending sets corresponding key-value pair.
- 8. a kind of electronic equipment, which is characterized in that including:Acquisition module, for when receiving short message or listening to incoming call, obtaining the phone of the initiator of the short message or incoming call Number;Extraction module, for extracting the minimum identity information of the initiator from the telephone number that the acquisition module obtains;Searching module, for searching whether the minimum body for having with the initiator in default interruption-free information record file The number information of part information match;Processing module, if for there are the number information, controlling not output information notice, described information notifies to notify It receives short message or listens to incoming call.
- 9. electronic equipment as claimed in claim 8, which is characterized in thatThe searching module, specifically for searching whether to exist in the interruption-free information record file with the initiator's Minimum identity information is the first key-value pair of key, if there are first key-value pair, judge in first key-value pair whether If in the presence of in the value consistent with the telephone number and first key-value pair exist the value consistent with the telephone number, Then confirm the number information to match in the presence of the minimum identity information with the initiator.
- 10. electronic equipment as claimed in claim 8, which is characterized in thatThe extraction module is additionally operable to the setting instruction in response to triggering, extracts the phone to be placed that instruction is set to be directed toward Minimum identity information in number;The electronic equipment further includes:Setup module, for being that telephone number to be set sets corresponding second in the interruption-free information record file Key-value pair, second key-value pair is using the minimum identity information in telephone number to be set as key, with electricity to be set Number is talked about as value;The searching module is additionally operable to search whether to exist in the interruption-free information record file with phone to be set Minimum identity information in number is the 3rd key-value pair of key;The setup module is additionally operable to there are during three key-value pair, then using telephone number to be set as value increase If into the 3rd key-value pair and there is no the 3rd key-value pair, it is in the interruption-free information record file Telephone number to be set sets corresponding second key-value pair.
- 11. electronic equipment as claimed in claim 10, which is characterized in thatThe extraction module, specifically for extracting the country origin number segment in telephone number, Network Recognition number section, area code number Code section and any one number segment or any combination number segment of multiple number segments in Subscriber Number section, as the initiator Minimum identity information.
- 12. electronic equipment as claimed in claim 11, which is characterized in thatThe searching module, if being additionally operable to there is no the number letter that the minimum identity information with the initiator matches, Search whether there is the associated person information to match with the telephone number in default contacts list;The electronic equipment further includes:Output module, if for there is the associated person information to match with the telephone number in the contacts list, it is defeated If the associated person information to match with the telephone number is not present in information of putting up a notice and the contacts list, The notification information and prompt message are exported, the prompt message is stranger for prompting described sender;The output module is additionally operable to output and sets prompt message, and whether the setting prompt message is the hair for prompting The side of sending sets interruption-free information;The extraction module is additionally operable to instruct in response to the setting triggered based on the setting prompt message, extracts the setting Instruct the minimum identity information in the telephone number to be placed being directed toward.
- 13. a kind of electronic equipment, including:Memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, which is characterized in that when the processor performs the computer program, realize any one of claim 1 to 7 Each step in the method for the realization do-not-disturb functionality.
- 14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program When being executed by processor, each step in the method for the realization do-not-disturb functionality described in any one of claim 1 to 7 is realized Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711277388.XA CN108055397A (en) | 2017-12-06 | 2017-12-06 | Method for realizing disturbance-free function, electronic equipment and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711277388.XA CN108055397A (en) | 2017-12-06 | 2017-12-06 | Method for realizing disturbance-free function, electronic equipment and computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108055397A true CN108055397A (en) | 2018-05-18 |
Family
ID=62122365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711277388.XA Pending CN108055397A (en) | 2017-12-06 | 2017-12-06 | Method for realizing disturbance-free function, electronic equipment and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108055397A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040043762A1 (en) * | 2002-09-04 | 2004-03-04 | Jae-Min Kim | System and method for processing information and data in mobile telephone |
CN101227511A (en) * | 2008-01-30 | 2008-07-23 | 中兴通讯股份有限公司 | Terminal and method for recognizing and controlling nuisance call |
CN101262675A (en) * | 2008-04-24 | 2008-09-10 | 中兴通讯股份有限公司 | Method for mobile phone to prevent from spam |
CN102694900A (en) * | 2012-06-18 | 2012-09-26 | 奇智软件(北京)有限公司 | Phone call intercepting method and device |
CN103152738A (en) * | 2011-12-07 | 2013-06-12 | 腾讯科技(深圳)有限公司 | Method and device of intelligent intercept |
CN103345469A (en) * | 2013-05-24 | 2013-10-09 | 联动优势科技有限公司 | Storing and inquiring method and device of number sets |
CN104270521A (en) * | 2014-09-26 | 2015-01-07 | 北京奇虎科技有限公司 | Method and mobile terminal for processing incoming call number |
CN106777178A (en) * | 2016-12-22 | 2017-05-31 | 上海大汉三通无线通信有限公司 | The storage method and querying method of a kind of phone number |
-
2017
- 2017-12-06 CN CN201711277388.XA patent/CN108055397A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040043762A1 (en) * | 2002-09-04 | 2004-03-04 | Jae-Min Kim | System and method for processing information and data in mobile telephone |
CN101227511A (en) * | 2008-01-30 | 2008-07-23 | 中兴通讯股份有限公司 | Terminal and method for recognizing and controlling nuisance call |
CN101262675A (en) * | 2008-04-24 | 2008-09-10 | 中兴通讯股份有限公司 | Method for mobile phone to prevent from spam |
CN103152738A (en) * | 2011-12-07 | 2013-06-12 | 腾讯科技(深圳)有限公司 | Method and device of intelligent intercept |
CN102694900A (en) * | 2012-06-18 | 2012-09-26 | 奇智软件(北京)有限公司 | Phone call intercepting method and device |
CN103345469A (en) * | 2013-05-24 | 2013-10-09 | 联动优势科技有限公司 | Storing and inquiring method and device of number sets |
CN104270521A (en) * | 2014-09-26 | 2015-01-07 | 北京奇虎科技有限公司 | Method and mobile terminal for processing incoming call number |
CN106777178A (en) * | 2016-12-22 | 2017-05-31 | 上海大汉三通无线通信有限公司 | The storage method and querying method of a kind of phone number |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108055404A (en) * | 2017-12-25 | 2018-05-18 | 广东欧珀移动通信有限公司 | Notification reminding method, device, terminal and storage medium |
CN108055404B (en) * | 2017-12-25 | 2019-10-25 | Oppo广东移动通信有限公司 | 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 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9813548B2 (en) | Call method of mobile terminal, mobile terminal control method, and related device | |
CN104253899B (en) | The control method and device of communicating terminal | |
CN103491256B (en) | Communication processing method and terminal device | |
US20140378104A1 (en) | Method and device for processing short messages | |
CN103179283A (en) | Method and system for implementing shortcut key operation on mobile telephone status bar short message notice | |
CN107613091A (en) | A kind of method and terminal for establishing communication | |
CN103906012A (en) | Information sending method and device | |
WO2015154452A1 (en) | Method and terminal for remotely querying information about contact person | |
CN102868819B (en) | A kind of process the method and device of communication service under common account | |
US10318136B2 (en) | Operation processing method and device | |
CN106792600A (en) | A kind of information processing method, mobile terminal, netscape messaging server Netscape | |
CN104717376B (en) | Caller ID display control method and system, relevant device | |
CN108055397A (en) | Method for realizing disturbance-free function, electronic equipment and computer-readable storage medium | |
CN104811560A (en) | Message reminding method and message reminding device | |
CN105554233B (en) | outgoing call reminding method and terminal | |
CN106559766A (en) | Reservation type calling, answering method and device and server based on mobile phone terminal | |
CN106953971A (en) | Method for processing call access during navigation and mobile terminal | |
US20230371088A1 (en) | Communication establishment method and apparatus and storage medium | |
CN103249016A (en) | Method and device for displaying short message and mobile terminal | |
CN107241515B (en) | Incoming call rejection processing method and terminal | |
CN102932545A (en) | Method and device for statistical display of communication records | |
CN108463985A (en) | A call processing method, terminal and system | |
CN106791158A (en) | Note transmission method, device and mobile terminal | |
CN106791208A (en) | Method and terminal of a kind of pushed information to call request interface display | |
CN101771753A (en) | Device and method for stopping harassment short messages and harassment phone calls in wireless broadband client system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180518 |