CN107864297B - Group adding method, device, terminal and storage medium - Google Patents

Group adding method, device, terminal and storage medium Download PDF

Info

Publication number
CN107864297B
CN107864297B CN201711418894.6A CN201711418894A CN107864297B CN 107864297 B CN107864297 B CN 107864297B CN 201711418894 A CN201711418894 A CN 201711418894A CN 107864297 B CN107864297 B CN 107864297B
Authority
CN
China
Prior art keywords
contact
group
preset
information
contact person
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.)
Active
Application number
CN201711418894.6A
Other languages
Chinese (zh)
Other versions
CN107864297A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711418894.6A priority Critical patent/CN107864297B/en
Publication of CN107864297A publication Critical patent/CN107864297A/en
Priority to KR1020207018008A priority patent/KR102322542B1/en
Priority to AU2018393399A priority patent/AU2018393399B2/en
Priority to PCT/CN2018/123577 priority patent/WO2019129003A1/en
Priority to EP18894393.0A priority patent/EP3723352B1/en
Priority to JP2020533712A priority patent/JP7043604B2/en
Priority to US16/885,859 priority patent/US11272051B2/en
Application granted granted Critical
Publication of CN107864297B publication Critical patent/CN107864297B/en
Priority to US17/590,591 priority patent/US12069200B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices 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/2745Devices 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/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • H04M1/27457Management thereof, e.g. manual editing of data

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Library & Information Science (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a group adding method, a group adding device, a terminal and a storage medium, which belong to the field of notification reminding, and the method comprises the following steps: acquiring contact person information corresponding to contact persons, wherein the contact person information comprises name information and/or historical communication information; identifying whether the contact is an important contact according to the contact information; and if the contact is an important contact, displaying a group adding prompt, wherein the group adding prompt is used for prompting that the contact is added to a preset contact group, and the preset contact group is a group which is allowed to be notified in a disturbance-free mode under the default condition. Compared with the method that the user automatically judges the importance degree of the contact and manually adds the contact to the preset contact group, the coverage rate and the accuracy of the preset contact group generated in the implementation are higher, and the accuracy of subsequent notification reminding based on the group is further improved.

Description

Group adding method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the field of notification reminding, in particular to a group adding method, a group adding device, a group adding terminal and a group adding storage medium.
Background
In order to avoid that sudden incoming calls or short messages interfere with currently conducted important transactions, users usually set the terminal in a do-not-disturb mode when conducting important transactions.
In the related art, the terminal provides a do-not-disturb setting entry in system setting, and a user can quickly set the terminal to enter a do-not-disturb mode through the entry. When receiving an incoming call or a short message in the do-not-disturb mode, the terminal will not perform sound or vibration reminding on the incoming call or the short message.
Disclosure of Invention
The embodiment of the application provides a group adding method, a group adding device, a terminal and a storage medium. The technical scheme is as follows:
in a first aspect, a group addition method is provided, the method comprising:
acquiring contact person information corresponding to contact persons, wherein the contact person information comprises name information and/or historical communication information;
identifying whether the contact is an important contact according to the contact information;
and if the contact is the important contact, displaying a group adding prompt, wherein the group adding prompt is used for prompting that the contact is added to a preset contact group, and the preset contact group is a group which is allowed to be notified in a disturbance-free mode under the default condition.
In a second aspect, there is provided a group adding device, the device comprising:
the acquisition module is used for acquiring contact person information corresponding to contact persons, and the contact person information comprises name information and/or historical communication information;
the identification module is used for identifying whether the contact is an important contact or not according to the contact information;
and the display module is used for displaying a group adding prompt if the contact is the important contact, wherein the group adding prompt is used for prompting that the contact is added to a preset contact group, and the preset contact group is a group which is allowed to be notified in a disturbance-free mode under the default condition.
In a third aspect, a terminal is provided, which includes a processor and a memory, where the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the group adding method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, the instruction being loaded and executed by a processor to implement the group adding method according to the first aspect.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
the terminal identifies the important contact persons based on the contact person information by acquiring the contact person information of the contact persons, so that a group adding prompt is displayed, and a user can add the important contact persons to a preset contact person group according to the group adding prompt; in the subsequent process, the terminal allows the notification reminding of the contact persons in the preset contact person group in the disturbance-free mode based on the preset contact person group, so that the notification of important contact persons is avoided being omitted by the user; compared with the method that the user automatically judges the importance degree of the contact and manually adds the contact to the preset contact group, the coverage rate and the accuracy of the preset contact group generated in the implementation are higher, and the accuracy of subsequent notification reminding based on the group is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 and 2 are block diagrams illustrating a structure of a terminal according to an exemplary embodiment of the present application;
FIG. 3 illustrates a flow chart of a notification alert method provided by an exemplary embodiment of the present application;
FIG. 4 illustrates a flow chart of a notification alert method provided by another exemplary embodiment of the present application;
FIGS. 5 and 6 are interface diagrams of a contact information interface;
FIG. 7 is an interface diagram of a hang-up answer interface;
FIG. 8 illustrates a flow chart of a notification alert method provided by an exemplary embodiment of the present application;
FIG. 9 illustrates a flow chart of a notification alert method provided by another exemplary embodiment of the present application;
FIG. 10 is a schematic diagram of an interface for prompting for adjustment of a group of contacts;
FIG. 11 illustrates a flow chart of a group addition method provided by an exemplary embodiment of the present application;
FIG. 12 illustrates a flow chart of a group addition method provided by another exemplary embodiment of the present application;
fig. 13 to 15 are schematic diagrams of interfaces for displaying group addition information;
fig. 16 shows a block diagram of a group adding apparatus according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1 and 2, a block diagram of a terminal 100 according to an exemplary embodiment of the present application is shown. The terminal 100 may be a smart phone, a tablet computer, a notebook computer, etc. The terminal 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and a touch display screen 130. The memory 120 stores at least one instruction, which is loaded and executed by the processor 110 to implement the group adding method according to the following embodiments.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall terminal 100 using various interfaces and lines, and performs various functions of the terminal 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content to be displayed by the touch display screen 130; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a single chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like; the storage data area may store data (such as audio data, a phonebook) created according to the use of the terminal 100, and the like.
Taking an operating system as an Android (Android) system as an example, programs and data stored in the memory 120 are shown in fig. 1, and a Linux kernel layer 220, a system runtime layer 240, an application framework layer 260, and an application layer 280 are stored in the memory 120. The Linux kernel layer 220 provides underlying drivers for various hardware of the terminal 100, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, power management, and the like. The system runtime library layer 240 provides the main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support for a database, the OpenGL/ES library provides support for 3D drawing, the Webkit library provides support for a browser kernel, and the like. Also provided in the system Runtime layer 240 is an Android Runtime library 242(Android Runtime), which mainly provides some core libraries and can allow developers to write Android applications using the Java language. The application framework layer 260 provides various APIs that may be used in building applications, and developers may build their own applications by using these APIs, such as activity management, window management, view management, notification management, content provider, package management, session management, resource management, and location management. At least one application program runs in the application layer 280, and the application programs may be a contact program, a short message program, a clock program, a camera application, etc. of the operating system; or an application program developed by a third-party developer, such as an instant messaging program, a photo beautification program, and the like.
Taking an operating system as an IOS system as an example, programs and data stored in the memory 120 are shown in fig. 2, and the IOS system includes: a Core operating system Layer 320(Core OS Layer), a Core Services Layer 340(Core Services Layer), a Media Layer 360(Media Layer), and a touchable Layer 380(Cocoa Touch Layer). The kernel operating system layer 320 includes an operating system kernel, drivers, and underlying program frameworks that provide functionality closer to hardware for use by program frameworks located in the kernel services layer 340. The core services layer 340 provides system services and/or program frameworks, such as a Foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and so forth, that are needed by the application. The media layer 360 provides audiovisual interfaces for applications, such as graphics-related interfaces, audio-related interfaces, video-related interfaces, and audio/video transmission technology wireless broadcast (AirPlay) interfaces. The touchable layer 380 provides various common interface-related frameworks for application development, and the touchable layer 380 is responsible for user touch interaction operations on the terminal 100. Such as a local notification service, a remote push service, an advertising framework, a game tool framework, a messaging User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
In the framework shown in FIG. 2, the framework associated with most applications includes, but is not limited to: a base framework in the core services layer 340 and a UIKit framework in the touchable layer 380. The base framework provides many basic object classes and data types, provides the most basic system services for all applications, and is UI independent. While the class provided by the UIKit framework is a basic library of UI classes for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides an infrastructure for applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, and the like.
The touch display screen 130 is used for displaying user interfaces of respective applications and for receiving a touch operation of a user thereon or nearby using any suitable object such as a finger, a touch pen, or the like. The touch display 130 is generally provided at a front panel of the terminal 100. The touch display screen 130 may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen 130 can also be designed as a combination of a full-screen and a curved screen, and a combination of a special-shaped screen and a curved screen, which is not limited in this embodiment.
In addition, those skilled in the art will appreciate that the configuration of terminal 100 as illustrated in the above-described figures is not intended to be limiting of terminal 100, and that terminals may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components. For example, the terminal 100 further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a Wireless Fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
When receiving a new message, the terminal often immediately reminds the user of the new message in the modes of a notification bar, a popup window, a ring, vibration and the like. However, if the user is currently in the middle of a meeting, sleep, meeting, game, etc., it is likely that the user does not wish to be disturbed by external messages. For this reason, the terminal may be provided with a do-not-disturb mode, and if the user selects to enter the do-not-disturb mode, the terminal activates a do-not-disturb mechanism, that is, stops performing notification bar reminding, pop-up window reminding, ring reminding, vibration reminding and/or other reminding on the received message. When the disturbance-free mode is ended, the terminal recovers a normal reminding mode, and can also carry out supplementary reminding on messages received during the continuous period of the disturbance-free mode.
The do not disturb mode meets the user's need to be undisturbed by external messages at specific time instances, but introduces new problems. For example, if a user sets the terminal to the do-not-disturb mode when watching a movie, the terminal receives an important incoming call during the movie, and the ring of the important incoming call is prohibited by the do-not-disturb mode, the user may miss the important incoming call, and thus a large loss is faced.
In order to avoid the user from missing important notifications while ensuring the effect of avoiding disturbance, in the embodiment of the application, a global preset contact group is arranged in the terminal, and the user can add important contacts to the group. Under the disturbance-free mode, when receiving the notice of the important contact in the preset contact group, the terminal bypasses a disturbance-free mechanism to realize the notice reminding aiming at the important contact; meanwhile, for the notification of the contact persons outside the preset contact person group, the terminal still starts a disturbance-free mechanism, so that the interference on the user is avoided. The following description will be made by using exemplary embodiments.
Referring to fig. 3, a flowchart of a notification reminding method according to an exemplary embodiment of the present application is shown. The embodiment is exemplified by applying the method to the terminal provided in fig. 1 or fig. 2. The method comprises the following steps:
step 301, in the no-disturb mode, when receiving a notification, identifying a contact corresponding to the notification, where the notification is at least one of an incoming call notification, a short message notification, or an application notification.
In the related art, in the no-disturbance mode, when a terminal receives a notification, a no-disturbance mechanism is directly started to perform no-disturbance processing, and corresponding notification reminding is forbidden; in the embodiment of the application, in order to remind the notification of the important contact person in the do-not-disturb mode, when the notification is received in the do-not-disturb mode, the terminal does not directly start the do-not-disturb mechanism, but first identifies the contact person corresponding to the notification.
In a possible implementation manner, when receiving an incoming call notification or a short message notification, the terminal acquires a phone number corresponding to an incoming call party or a short message sending party, and further identifies a corresponding contact according to the phone number.
Optionally, the terminal detects whether the phone number is stored in the address book, if the phone number is not stored, the terminal determines that the notification comes from a strange contact person, and starts a do-not-disturb mechanism to perform do-not-disturb processing on the notification; if the phone number is stored, the terminal determines to notify the contact person from the address list, and further detects whether the contact person belongs to a preset contact group, if so, the following step 302 is executed, and if not, the following step 303 is executed.
Illustratively, when the terminal receives the incoming call notification, the contact person Zhang III corresponding to the address book terminal is identified according to the telephone number of the incoming call party.
In other possible embodiments, when receiving an application notification pushed by an application (such as a mail notification pushed by a mail application, an instant messaging message notification pushed by an instant messaging application, or an audio/video request, etc.), the terminal obtains a notifier identifier corresponding to the application notification, and determines to notify a corresponding contact according to the notifier identifier. The notifier identifier may be a mailbox address of the sender or an instant messaging account of the instant messaging message sender.
Optionally, when the address book of the terminal includes information such as a mailbox address and an instant messaging account corresponding to the contact, the terminal searches for the contact corresponding to the application notification in the address book according to the identifier of the notification party.
It should be noted that, in this embodiment, only the determination of the contact based on the address book is taken as an example for schematic illustration (system level), in other possible embodiments, the notification reminding method may also be applied to a specific application (application level), that is, the contact corresponding to the notification is determined based on a contact list in the application, and this embodiment does not limit this.
And step 302, if the contact belongs to a preset contact group, a preset mode is adopted for notification and reminding.
Optionally, the predetermined manner includes at least one of a screen display alert, an audible alert, and a vibratory alert.
The terminal is provided with a preset contact group, the preset contact group is a group which allows notification and reminding in a disturbance-free mode under the default condition, and optionally, contacts in the preset contact group are manually added by a user.
Optionally, the preset contact group is a group set by default in the terminal system, and is not created manually by the user, and the user can only add or remove contacts from the preset contact group. In addition, the preset contact group is a global group, and no matter what type of disturbance-free mode the terminal is in, the terminal allows the notification reminding of the contacts in the preset contact group, and the user does not need to manually set the contact in various disturbance-free modes.
In a possible implementation manner, the terminal sets a corresponding preset group identifier for each contact in a preset contact group, when detecting whether the contact belongs to the preset contact group, the terminal detects whether the contact corresponds to the preset group identifier, if so, the terminal determines that the contact belongs to the preset contact group, and then bypasses a disturbance-free mechanism to perform notification and reminding.
Optionally, the terminal sets a preset group identifier "VIP" for each contact in the preset contact group, and when it is detected that "three Zhang" of the contact corresponds to the "VIP" identifier, it is determined that "three Zhang" belongs to the preset contact group, and call reminding is performed on a call of "three Zhang".
And 303, if the contact does not belong to the preset contact group, not performing notification reminding.
And when the fact that the contact does not belong to the preset contact group is detected, the terminal determines that the current contact is not an important contact, and therefore the disturbance-free mechanism is started to carry out disturbance-free processing on the received notification.
Optionally, when the non-disturbing processing is performed, the terminal does not display the notification processing interface, and does not perform sound and vibration reminding.
In summary, in this embodiment, a preset contact group that allows notification and reminding in the do-nothing mode under a default condition is preset in the terminal, and when receiving a notification of a contact in the preset contact group in the do-nothing mode, the terminal can skip the do-nothing mechanism to notify and remind the notification, thereby avoiding missing notifications of important contacts; meanwhile, when the terminal is in the disturbance-free mode, the notification reminding of the contact persons in the preset contact person group is allowed by default, and the manual setting of a user is not needed, so that the operation process of setting the disturbance-free mode is simplified.
In order to facilitate the user to manage the contacts in the preset contact group, in a possible implementation manner, a corresponding control is provided in the contact information interface corresponding to each contact, and the user can add the contact to the preset contact group or remove the contact from the preset contact group through the control. Referring to fig. 4, a flowchart of a notification reminding method according to another exemplary embodiment of the present application is shown. The method comprises the following steps.
Step 401, when the target contact does not belong to the preset contact group, displaying an adding control in a contact information interface corresponding to the target contact.
Each contact in the address list corresponds to a respective contact information interface, the contact information interface comprises information such as contact names, remarks, telephone numbers, addresses and mailboxes, and a user can update the information contained in the contact information interface.
In a possible implementation manner, when an operation of viewing a contact information interface corresponding to a target contact is received, the terminal detects whether the target contact belongs to a preset contact group, where a manner of detecting whether the target contact belongs to the preset contact group is described in detail in step 302, and details are not described herein again in this embodiment.
When the target contact is detected not to belong to the preset contact group, in order to facilitate the user to add the target contact to the preset contact group, the terminal displays an adding control on the current contact information interface, and the adding control can be an adding button.
Illustratively, as shown in fig. 5, when the contact information interface 51 corresponding to "three by three" contacts is opened, the terminal detects whether "three by three" contacts belong to a VIP contact group (i.e., a preset contact group), and when "three by three" contacts do not belong to the VIP contact group, the terminal displays an add control 511 in the contact information interface 51
And 402, adding the target contact person to a preset contact person group when the click operation of the adding control is received.
When the target contact is an important contact, the user can add the target contact to the preset contact group through the adding control, and correspondingly, the terminal receives the clicking operation of the adding control and adds the target contact to the preset contact group.
In a possible implementation manner, when a click operation on the add control is received, the terminal sets a preset group identifier corresponding to a preset contact group for the target contact, for example, the terminal sets a "VIP" identifier for the target contact.
And after the terminal adds the target contact person to the preset contact person group, stopping displaying the adding control in the contact person information interface. Optionally, the terminal replaces the adding control in the contact information interface with a removing control, so that the user can move the target contact out of the preset contact group.
And step 403, when the target contact belongs to the preset contact group, displaying a second removal control in a contact information interface corresponding to the target contact.
Contrary to the step 401, when the target contact already belongs to the preset contact group, the terminal displays a removal control in the contact information interface, so that the user can move the target contact out of the preset contact group through the removal control.
Illustratively, as shown in fig. 6, when the contact information interface 51 corresponding to the contact "zhang san" is opened, the terminal detects that "zhang san" belongs to the VIP contact group, and displays a removal control 512 in the contact information interface 51.
And step 404, when a click operation on the second removal control is received, removing the target contact from the preset contact group.
Correspondingly, when the target contact is not an important contact, the user can move the target contact out of the preset contact group through the removal control, and correspondingly, the terminal receives the clicking operation of the removal control and removes the target contact from the preset contact group.
In a possible implementation manner, when a click operation on the removal control is received, the terminal deletes a preset group identifier corresponding to the target contact, for example, a "VIP" identifier of the target contact is deleted by the terminal.
And after the terminal moves the target contact out of the preset contact group, stopping displaying the removal control in the contact information interface. Optionally, the terminal replaces the removal control in the contact information interface with the addition control, so that the user can add the target contact to the preset contact group again.
In other possible embodiments, a preset contact group management interface is arranged in the terminal, and a user can perform unified management on contacts in the preset contact group in the interface. Optionally, a removal control is set in the interface, and through the removal control, a user can remove existing contacts in a preset contact group; the interface is further provided with an adding control, and a user can add a new contact to the preset contact group through the adding control.
Step 405, in the do-not-disturb mode, when receiving a notification, identifying a contact corresponding to the notification, where the notification is at least one of an incoming call notification, a short message notification, or an application notification.
The implementation of this step is similar to that of step 301, and this embodiment is not described herein again.
And 406, if the contact belongs to the preset contact group, displaying a notification processing interface corresponding to the notification, wherein the notification processing interface comprises the group identifier of the preset contact group.
And when the contact belongs to the preset contact group, the terminal displays a corresponding notification processing interface according to the notification type and prompts a user to process the notification. When the notification type is the incoming call, the terminal displays an incoming call hang-up answering interface; and when the notification type is the short message, the terminal displays a short message reading reply interface.
Optionally, in order to make the user know that the current notification is from the contacts in the preset contact group, the terminal displays the group identifier of the preset contact group in the notification processing interface.
Illustratively, as shown in fig. 7, when an incoming call of contact "three-opening" is received in the do-not-disturb mode, since "three-opening" belongs to the VIP contact group, the terminal bypasses the do-not-disturb mechanism to display the incoming call hang-up interface 52 and displays a group identification 521 in the incoming call hang-up interface 52.
Step 407, sound reminding and/or vibration reminding is performed on the notification.
In order to further improve the reminding effect, the terminal carries out sound reminding and/or vibration reminding on the notice while displaying the notice processing interface.
Because the terminal can provide the no-disturbance mode suitable for different scenes, and the perception degree of the user on sound and vibration is different in different no-disturbance modes, in order to enable the user to perceive the sound and the vibration, the terminal starts the corresponding prompt tone parameter and/or vibration parameter to carry out sound reminding and/or vibration reminding according to the mode type of the current no-disturbance mode.
In one possible embodiment, this step comprises the following steps.
Firstly, acquiring the mode type of the disturbance-free mode.
The terminal system provides a plurality of disturbance-free modes, and when the terminal enters the disturbance-free mode, the terminal is in a disturbance-free state. Optionally, the mode types of the do-not-disturb mode include: silent mode, conference mode, game mode and sleep mode.
And if the current contact belongs to the preset contact group, the terminal determines the mode type of the current disturbance-free mode.
And if the mode type belongs to the first mode type, performing sound reminding according to the first prompt sound parameter, and/or performing vibration reminding according to the first vibration parameter, wherein the first working mode comprises at least one of a sleep mode and a mute mode.
And thirdly, if the mode type belongs to a second mode type, carrying out sound reminding according to a second prompt sound parameter, and/or carrying out vibration reminding according to a second vibration parameter, wherein the second working mode comprises at least one of a game mode and a conference mode.
According to the perception capability of a user on sound and vibration in different disturbance-free modes, the terminal sets different prompt tone parameters and vibration parameters aiming at different types of disturbance-free modes in advance. After the mode type of the current disturbance-free mode is determined, the terminal further obtains a prompt tone parameter and a vibration parameter corresponding to the mode type, and therefore sound and vibration prompt is conducted based on the obtained parameters.
Since the user has a weak ability to perceive sound and vibration in a sleep state and the user generally sets the terminal to a sleep mode or a mute mode (i.e., a first mode type) while sleeping, the terminal sets the first alert tone parameter and the second vibration parameter for the first mode type.
When a user plays a game or a conference, the ability of sensing sound and vibration is strong, and when the user plays the game, the terminal is usually set to a game mode (i.e. a second mode type), and when the user plays the conference, the terminal is usually set to a conference mode (i.e. the second mode type), so that the terminal sets a second prompt sound parameter and a second vibration parameter for the second mode type. The volume of the prompt tone indicated by the first prompt tone parameter is greater than the volume of the prompt tone indicated by the second prompt tone parameter; the first vibration parameter indicates a vibration frequency that is greater than a vibration frequency indicated by the second vibration parameter.
Illustratively, the time correspondence relationship among the mode type of the no-disturbance mode, the alert sound parameter, and the vibration parameter is shown in table one.
Watch 1
Figure BDA0001522601670000111
Optionally, the prompt tone parameter further includes parameters such as a prompt tone, and the vibration parameter further includes parameters such as a vibration amplitude, which is not limited in this embodiment.
Correspondingly, when the terminal is in the first mode type, in order to improve the probability that the user notices the notification reminding, the terminal strongly reminds the notification according to the first prompt sound parameter and/or the first vibration parameter; and when the terminal is in the second mode type, the terminal performs ordinary reminding on the notification according to the second prompt sound parameter and/or the second vibration parameter.
It should be noted that, in the above embodiment, only two types of mode types (corresponding to two sets of alert sound parameters and vibration parameters) are taken as examples for description, in other possible implementations, the terminal may set different alert sound parameters and vibration parameters for various mode types, and this embodiment does not limit this.
And step 408, removing the contact from the preset contact group when a click operation on a first removal control in the notification processing interface is received.
In the above steps 403 to 404, when the contact person is moved out of the preset contact person group, an operation needs to be performed in the contact person information interface corresponding to the contact person. In order to improve the efficiency of removing the contact, in a possible implementation manner, a first removal control is further arranged in a notification processing interface displayed by the terminal, and a user can quickly remove the current contact from the preset contact group through the first removal control.
Illustratively, as shown in fig. 7, the terminal displays a removal control 522 in the incoming call hang-off interface 52, and when the user clicks the removal control 522, the contact "zhang san" is removed from the VIP contact group.
And step 409, if the contact does not belong to the preset contact group, not performing notification reminding.
The implementation of this step is similar to that of step 303, and this embodiment is not described herein again.
In the embodiment, the terminal displays the adding or removing control on the contact information interface, so that a user can quickly add or remove a contact to or from a preset contact group; therefore, the management efficiency of the preset contact group is improved; furthermore, the terminal displays the removal control on the notification processing interface, so that a user can conveniently and quickly move the current contact out of the preset contact group when receiving the notification prompt, and the management efficiency of the preset contact group is further improved.
In the embodiment, the terminal sets different prompt tone parameters and vibration parameters aiming at the no-disturbance modes of different mode types in advance according to the perception abilities of the user to sound and vibration under different no-disturbance modes, so that sound and/or vibration reminding is performed according to the parameters corresponding to the current no-disturbance mode, the perception abilities of the user to notice reminding under various no-disturbance modes are improved, and the probability of missing important contact notices by the user is further reduced.
In the above embodiment, only one preset contact group is set in the terminal, and the notification of each contact in the preset contact group is not limited by the do-not-disturb mechanism. However, in certain specific scenarios, a user may desire to only alert notifications for a portion of the contacts in the preset group of contacts.
In a possible implementation manner, a plurality of preset contact groups corresponding to different importance levels are set in the terminal, and the user can add the contacts to the corresponding preset contact groups according to the importance levels of the contacts. When receiving the notice in the non-disturbing mode, the terminal determines the importance level according to the preset contact group to which the contact belongs, and further determines whether to remind the notice according to the importance level. The following description will be made by using exemplary embodiments.
Referring to fig. 8, a flowchart of a notification reminding method according to an exemplary embodiment of the present application is shown. The method comprises the following steps.
Step 801, in the no-disturb mode, when receiving a notification, identifying a contact corresponding to the notification, where the notification is at least one of an incoming call notification, a short message notification, or an application notification.
In a possible implementation manner, when receiving an incoming call notification or a short message notification, the terminal acquires a phone number corresponding to an incoming call party or a short message sending party, and further identifies a corresponding contact according to the phone number.
Optionally, the terminal detects whether the phone number is stored in the address book, if the phone number is not stored, the terminal determines that the notification comes from a strange contact person, and starts a do-not-disturb mechanism to perform do-not-disturb processing on the notification; if the phone number is stored, the terminal determines to notify the contact person from the address list, further determines a preset contact group to which the contact person belongs, and executes the following step 802; and if the contact does not belong to any preset contact group, the terminal starts a disturbance-free mechanism to carry out disturbance-free processing on the notification.
In another possible implementation manner, when receiving an application notification pushed by an application (such as a mail notification pushed by a mail application, an instant messaging message notification or an audio/video request pushed by an instant messaging application, or the like), the terminal acquires a notifier identifier corresponding to the application notification, and determines to notify a corresponding contact according to the notifier identifier. The notifier identifier may be a mailbox address of the sender or an instant messaging account of the instant messaging message sender.
Optionally, when the address book of the terminal includes information such as a mailbox address and an instant messaging account corresponding to the contact, the terminal searches for the contact corresponding to the application notification in the address book according to the identifier of the notification party.
Step 802, determining the importance levels of the contacts according to preset contact groups to which the contacts belong, wherein the importance levels of the contacts in the same preset contact group are the same, and the importance levels corresponding to different preset contact groups are different.
At least two preset contact groups are preset in the terminal, the importance level of each preset contact group corresponds to, and correspondingly, a user manually adds the contact to the corresponding preset contact group according to the importance degree of the contact in the address list.
Illustratively, the correspondence between different preset contact groups and the importance levels is shown in table two.
Watch two
Figure BDA0001522601670000131
Figure BDA0001522601670000141
Illustratively, the terminal recognizes that the contact corresponding to the notification is 'zhang san', and determines that the importance degree corresponding to the contact 'zhang san' is first grade according to the corresponding relation shown in the table two.
In a possible implementation manner, the terminal sets different group identifiers for the contacts in different preset contact groups, and the terminal determines the preset contact group to which the contact belongs according to the group report corresponding to the contact.
For example, the terminal sets group identifications "VIP 1", "VIP 2" and "VIP 3" for the contacts in the first contact group, the second contact group and the third contact group, respectively. The terminal determines that the contact belongs to the first contact group according to the group identifier 'VIP 1' corresponding to the contact 'Zhang three'.
And step 803, determining whether to perform notification reminding according to the importance level.
In a possible implementation manner, under different types of disturbance-free working modes, importance levels of contacts allowed to be notified are different, and correspondingly, the terminal determines whether to perform notification reminding according to the mode type of the current disturbance-free working mode and the importance levels of the contacts.
The detailed implementation manner of the terminal performing the notification alert is referred to in step 302, and the detailed implementation manner of the terminal prohibiting performing the notification alert is referred to in step 303, which is not described herein again in this embodiment.
For example, in the silent mode and the game mode, the importance level of the contact person allowed to be notified is more than or equal to one level; in the conference mode, the importance level of the contact person allowed to be notified is more than or equal to two levels; in the sleep mode, the importance level of the contact person allowed to be notified is more than or equal to three levels. Combining the data in the table two, when receiving the incoming call notification of the contact person Zhang III in the game mode, the terminal reminds the incoming call; and when the incoming call notification of the contact person Zhang III is received in the conference mode or the sleep mode, the terminal does not carry out incoming call reminding.
In summary, in this embodiment, a plurality of preset contact groups corresponding to different importance levels are preset in the terminal, and when receiving the notification in the non-disturbing mode, the terminal determines the importance level of the current contact according to the preset contact group to which the current contact belongs, and further determines whether to perform notification reminding according to the importance level; by means of a hierarchical control mechanism, the terminal achieves fine-grained notification reminding management, the user is prevented from being disturbed by other contacts except important contacts while missing incoming messages of the important contacts, the accuracy of notification reminding is improved, and the notification reminding in a disturbance-free mode is more in line with the expectation of the user.
In a possible implementation manner, the terminal establishes corresponding relations between different importance levels and the target no-disturbance mode in advance, and correspondingly, the terminal determines whether to perform notification reminding according to the current no-disturbance mode and the target no-disturbance mode corresponding to the importance level of the current contact.
Referring to fig. 9, a flowchart of a notification reminding method according to another exemplary embodiment of the present application is shown. The method comprises the following steps.
Step 901, in the no-disturbance mode, when a notification is received, identifying a contact corresponding to the notification, where the notification is at least one of an incoming call notification, a short message notification, or an application notification.
And 902, determining the importance levels of the contacts according to preset contact groups to which the contacts belong, wherein the importance levels of the contacts in the same preset contact group are the same, and the importance levels corresponding to different preset contact groups are different.
The detailed implementation of the above steps 901 to 902 refer to the above steps 801 to 802, which is not described herein again.
And step 903, acquiring the disturbance-free mode of the terminal at present.
The terminal system provides a plurality of disturbance-free modes suitable for different scenes, and when the terminal enters the disturbance-free mode, the terminal is in a disturbance-free state. Optionally, the do-not-disturb mode comprises: silent mode, conference mode, game mode and sleep mode.
And if the current contact belongs to a certain preset contact group, the terminal further acquires the current disturbance-free mode.
And step 904, determining a target disturbance-free mode corresponding to the importance level.
For the contact with higher importance level, the user usually wants to be able to perform notification reminding in various non-disturbing modes; for the contact with lower importance level, the user wants to perform notification reminding in the partial do-not-disturb mode, and does not perform notification reminding in the specific do-not-disturb mode.
Therefore, the terminal presets the corresponding relation between different importance levels and the target disturbance-free mode, and the target disturbance-free mode is the disturbance-free mode allowing notification reminding. The number of the target disturbance-free modes corresponding to different importance levels is different, and the importance levels and the number of the target disturbance-free modes are in positive correlation, that is, the higher the importance level is, the more the types of the corresponding target disturbance-free modes are.
In one possible embodiment, the correspondence between the different importance levels and the target do not disturb mode is shown in table three.
Watch III
Figure BDA0001522601670000151
Figure BDA0001522601670000161
When the importance level is one level, the mute mode and the play mode are determined as the target do-not-disturb mode.
The importance degree of the contact with the first-level importance level is the lowest, so that the terminal can perform notification reminding only when receiving the incoming call or the short message of the contact in the mute mode or the game mode.
When the importance level is two-level, the mute mode, the game mode, and the conference mode are determined as the target do-not-disturb mode.
Compared with the contact with the first level of importance, the contact with the second level of importance has higher degree of importance, so that the terminal can inform and remind the incoming call or the short message of the contact in a conference mode besides informing and reminding in a mute mode and a game mode.
When the importance level is three levels, the mute mode, the game mode, the conference mode, and the sleep mode are determined as the target do not disturb mode.
For the contact with the highest importance level, the terminal determines all the non-disturbance modes to be the target non-disturbance modes, and ensures that the user can receive the incoming call and the short message of the contact in the mute mode, the game mode, the conference mode and the sleep mode.
In this embodiment, only three preset contact groups are set as an example for schematic illustration, in other possible implementations, the terminal may set two or more than three preset contact groups, and this embodiment does not limit this.
It should be noted that there is no strict precedence relationship between the steps 903 and 904, that is, the steps 903 and 904 may be executed simultaneously, and the execution timing of the two steps is not limited in this embodiment.
Through the above steps 903 and 904, after the target do-nothing mode and the current do-nothing mode of the terminal are obtained, the terminal further detects whether the (current) do-nothing mode belongs to the target do-nothing mode. If it belongs, the following steps 905 to 908 are performed, and if not, the following step 909 is performed.
And step 905, if the disturbance-free mode belongs to the target disturbance-free mode, performing notification reminding.
And if the disturbance-free mode of the terminal currently belongs to the target disturbance-free mode corresponding to the current contact, the terminal carries out notification reminding in a preset mode.
Optionally, the terminal displays a notification processing interface corresponding to the notification, and performs sound reminding and/or vibration reminding, where the notification processing interface includes a group identifier of a preset contact group to which the contact belongs.
In a possible implementation mode, the sound reminding and the vibration reminding modes corresponding to the contacts with different importance levels are different, when notification reminding is carried out, the terminal obtains corresponding prompt sound parameters and vibration parameters according to the importance levels of the current contacts, and then notification reminding is carried out according to the obtained parameters. Optionally, the step includes the following steps.
If the disturbance-free mode belongs to the target disturbance-free mode, obtaining a prompt tone parameter and/or a vibration parameter corresponding to the importance level.
In order to achieve a better reminding effect for important contacts, the important grade is in positive correlation with the volume of the prompt tone indicated by the prompt tone parameter, and the important grade is in positive correlation with the vibration frequency indicated by the vibration parameter. In brief, the higher the importance level of a contact is, the higher the volume of a warning sound and the higher the vibration frequency are when a notification alert is made.
Schematically, the correspondence among the importance level, the cue sound parameter, and the vibration parameter is shown in table four.
Watch four
Importance level Alert tone parameters Vibration parameter
First stage 30dB 2 times/second
Second stage 40dB 4 times/second
Three-stage 50dB 6 times/second
For example, when receiving an incoming call or a short message of "zhang san" of a contact, the terminal obtains the prompt tone parameter of 30dB and the vibration parameter of 2 times/second according to the data recorded in the second table and the fourth table.
And secondly, carrying out sound reminding according to the prompt sound parameters, and/or carrying out vibration reminding according to the vibration parameters.
Further, according to the obtained prompt sound parameters and the obtained vibration parameters, the terminal carries out sound prompt first-level vibration prompt.
In other possible embodiments, the user may also set respective corresponding alert tones and/or vibration modes for different importance levels, which is not limited in this embodiment.
Step 906, receiving an operation for notification when the notification reminder is performed.
And after the notification reminding is carried out, the terminal receives the operation of the user on the notification through the notification processing interface. Optionally, when the notification is an incoming call notification, the terminal receives an answering or hang-up operation through the notification processing interface; and when the notification is short message communication, the terminal receives a reply operation or a deletion operation through the short message processing interface.
Step 907, determining a target contact group of the contacts according to the operation type of the operation.
Because the importance degree of the contact person may change, in order to improve the accuracy of notification reminding, the terminal updates the target contact person group of the contact person according to the operation type of the received operation.
Optionally, the terminal defines an answer operation and a hang-up operation for the incoming call notification, and defines a reply operation and a delete operation for the short message notification. When the operation type is answering or replying operation, the terminal determines that the importance level corresponding to the target contact group is greater than or equal to the importance level corresponding to the preset contact group; and when the operation type is hang-up or deletion operation, the terminal determines that the importance level corresponding to the target contact group is less than or equal to the importance level corresponding to the preset contact group.
In order to improve the accuracy of the determined target contact group, in a possible implementation manner, the terminal counts the operation times of various operations, and re-determines the target contact group to which the contact belongs when the operation times reach a threshold value. For example, the threshold may be 10 times.
And counting the times of answering the incoming call, hanging up the incoming call, replying the short message and deleting the short message by the user aiming at each contact person. When the number of times of answering a call or replying a short message by a user reaches a threshold value, the terminal determines that the importance level of a target contact group is more than or equal to the importance level of a preset contact group to which a contact currently belongs; when the number of times of hanging up the incoming call or deleting the short message reaches a threshold value, the terminal determines that the importance level of the target contact group is less than or equal to the importance level of a preset contact group to which the contact currently belongs.
Step 908, if the preset contact group to which the contact belongs is different from the target contact group, displaying a group adjustment prompt in a contact information interface corresponding to the contact.
And when the target contact group determined by the terminal is inconsistent with the preset contact group to which the contact currently belongs, the terminal displays a corresponding group adjustment prompt to prompt a user to adjust the contact to the target contact group.
In a possible implementation manner, the terminal displays a group adjustment prompt in a contact information interface corresponding to the contact, so that a user can adjust a group where the contact is located in the contact information interface.
Illustratively, as shown in fig. 10, in the do-nothing mode, the number of times that the user answers the call of contact "zhang san" reaches 10 times, and when entering the contact information interface 51 corresponding to contact "zhang san", the terminal displays the group adjustment prompt 512, which prompts the user to promote contact "zhang san" from the VIP1 (corresponding to the first level of importance) to the VIP2 (corresponding to the second level of importance).
In other possible embodiments, the terminal may automatically adjust the contact according to the determined target group of contact groups, which is not limited in this embodiment.
In step 909, if the do-not-disturb mode does not belong to the target do-not-disturb mode, no notification alert is performed.
The detailed implementation of this step is referred to the above step 303, and this embodiment is not described herein again.
In the embodiment, the terminal acquires the corresponding prompt tone parameter and the corresponding vibration parameter according to the importance level corresponding to the current contact person, so that sound reminding and vibration reminding are performed according to the acquired parameters, the perception capability of the user on the important contact person notification is improved, and the probability that the user omits the important contact person notification is further reduced.
In the embodiment, after the notification reminding is performed, the terminal re-determines the target contact group of the contact according to the operation type of the user for executing the notification, and performs the group adjustment reminding when the target contact group is inconsistent with the current group of the contact, so that the user can conveniently adjust the importance level of the contact in real time, and the accuracy of the follow-up notification reminding is improved.
In the above embodiments, the importance degree of the contact in the address book is determined by the user, and the user manually adds the important contact to the preset contact group. By adopting the group adding mode, the coverage rate of the generated preset contact group is low (the manual addition of the user has omission), so that the accuracy rate of subsequent notification reminding based on the preset contact group is also low. In order to further improve the coverage rate of the preset contact group and further improve the accuracy rate of subsequent notification reminding, the application provides a group adding method.
Referring to fig. 11, a flowchart of a group adding method according to an exemplary embodiment of the present application is shown. The method comprises the following steps.
Step 1101, acquiring contact person information corresponding to the contact person, wherein the contact person information comprises name information and/or historical communication information.
For each contact in the address list, the terminal acquires contact information corresponding to each contact, wherein the contact information comprises name information of the contact and historical communication information of the contact.
Since the contact information may change over time, in one possible embodiment, the terminal obtains the contact information at predetermined intervals. For example, the terminal acquires the contact information every 10 days.
Optionally, the name information includes at least one of a remark of the contact and a name of the contact; the history communication information includes (history) call information and (history) short message transmission content.
For example, the name information acquired by the terminal includes a contact name "zhang san" and a remark "manager", and the acquired historical communication information includes call information and short message sending content in the last 10 days.
Step 1102, identifying whether the contact is an important contact according to the contact information.
And analyzing the acquired contact information by the terminal so as to judge whether the contact is an important contact.
Optionally, the terminal determines the social relationship between the user and each contact according to the name information of each contact, and then identifies the important contact, and/or the terminal analyzes the historical communication information of each contact, and then identifies the important contact from dimensions such as call frequency, call duration, call time interval, call answering and hang-up ratio, call back times, short message sending content and the like.
And 1103, if the contact is an important contact, displaying a group adding prompt, wherein the group adding prompt is used for prompting that the contact is added to a preset contact group, and the preset contact group is a group which is allowed to be notified in a non-disturbing mode under the default condition.
And for the identified important contact, the terminal displays a group adding prompt in a preset mode so as to add the important contact into a preset contact group according to the prompt.
In other possible implementations, for the identified important contact, the terminal automatically adds the identified important contact to a preset contact group, and marks or prompts the added contact, which is not limited in this embodiment.
After the user adds the contact to the preset contact group according to the group addition prompt, the terminal determines whether to remind the received notification in the disturbance-free mode, that is, based on the preset contact group, and for a detailed notification reminding process, reference is made to the notification reminding method provided in each embodiment, which is not described herein again.
In summary, in the embodiment, the terminal displays the group addition prompt by acquiring the contact information of the contact and identifying the important contact based on the contact information, so that the user can add the important contact to the preset contact group according to the group addition prompt; in the subsequent process, the terminal allows the notification reminding of the contact persons in the preset contact person group in the disturbance-free mode based on the preset contact person group, so that the notification of important contact persons is avoided being omitted by the user; compared with the method that the user automatically judges the importance degree of the contact and manually adds the contact to the preset contact group, the coverage rate and the accuracy of the preset contact group generated in the implementation are higher, and the accuracy of subsequent notification reminding based on the group is further improved.
In one possible implementation, in order to improve the accuracy of the group addition prompt, the terminal integrates the name information and the historical communication information to determine important contacts. Referring to fig. 12, a flowchart of a group adding method according to another exemplary embodiment of the present application is shown. The method comprises the following steps.
Step 1201, obtaining contact person information corresponding to the contact person, wherein the contact person information comprises name information and/or historical communication information.
The detailed implementation of this step is referred to the above step 1101, and this embodiment is not described herein again.
In this embodiment, the terminal acquires name information and historical communication information of each contact.
Step 1202, obtaining the remarks and/or the contact names contained in the name information.
In general, the name information set for the contact by the user can reflect the social relationship between the user and the contact, and the importance degrees corresponding to different social relationships are different, so that the terminal can determine the importance degree of the contact according to the name information of the contact.
Illustratively, the name information acquired by the terminal includes a contact name "zhang san" and a remark "manager".
And 1203, if the remark or the contact name belongs to the preset word stock, determining the contact as an important contact.
Further, the terminal detects whether the remark or the contact name belongs to a preset word bank, if so, the contact is determined to be an important contact, and if not, the contact is determined not to be an important contact.
In a possible implementation manner, the preset lexicon is generated based on name information of the added important contacts in the preset contact group. Optionally, the preset thesaurus includes name information of the added important contact and associated name information corresponding to the name information.
For example, in the preset contact group, the name information of the added important contact includes a manager and a chairman, and the terminal acquires vocabularies, such as a head, a leader and a representative, associated with the manager and the chairman, so as to generate a preset lexicon, where the preset lexicon includes: manager, chairman, boss, leader and representative.
In other possible embodiments, the terminal may further obtain the preset lexicon from the server in a configuration updating manner, which is not limited in this embodiment.
Illustratively, since the remark of the contact person "zhang san" belongs to the preset lexicon, the terminal determines the important contact person from zhang san.
Step 1204, obtaining call information included in the historical communication information, where the call information includes at least one of call frequency, call duration, call time interval, call answering times, call hangup times, and call back times.
Generally, the closer the social relationship between users, the more frequent the calls between users. Therefore, in one possible implementation, the terminal identifies important contacts based on call information in the historical communication information.
In an illustrative example, the terminal acquires the call information (5 days) corresponding to the contact "zhang san" as shown in table five.
Watch five
Figure BDA0001522601670000211
Figure BDA0001522601670000221
Optionally, the call information acquired by the terminal may further include information such as the number of calling parties and the call location, which is not limited in this embodiment.
And step 1205, if the call information meets the preset condition, determining whether the contact is an important contact.
Optionally, the preset condition includes at least one of the following conditions.
Firstly, the call frequency is larger than a first threshold value.
Generally, the higher the importance of a contact, the higher the frequency and number of calls made by the user, so that when the frequency of calls made with the contact is greater than a first threshold, the terminal determines that the contact is an important contact, for example, the first threshold is 1 time/day.
In a possible implementation manner, the terminal counts the call frequency of each contact person, calculates the average call frequency, and determines the first threshold value based on the average call frequency, wherein the first threshold value is greater than or equal to the average call frequency.
And combining the call information in the table five, the terminal calculates that the call frequency of the third contact is 7 ÷ 5 ═ 1.4 times/day > 1 time/day, so that the terminal determines the third contact as an important contact.
And II, the call duration is greater than a second threshold.
Besides judging the importance degree of the contact from the call frequency, the terminal can also judge the importance degree of the contact from the call duration. When the call duration with the contact is greater than a second threshold, the terminal determines that the contact is an important contact, for example, the second threshold is 5 minutes/time.
In a possible implementation manner, the terminal counts the call duration of each contact person, calculates the average value of the call duration, and determines the second threshold value based on the average value of the call duration, wherein the second threshold value is greater than or equal to the average value of the call duration.
And combining the call information in the fifth table, the terminal calculates that the call duration with the third contact is more than 5 minutes/time, so that the terminal determines the third contact as an important contact.
And thirdly, the number of calls in the preset time period is larger than a third threshold value.
In one possible implementation, the terminal analyzes the active period and the inactive period of the user according to the power consumption time distribution, and determines the inactive period as the predetermined period. For example, the predetermined period of time is: 0:00 to 07: 00.
And when the number of times of calls between the user and the contact person in a preset time period is detected to be larger than a third threshold value, the terminal determines that the contact person is an important contact person. For example, the third threshold is 1 time.
And combining the call information in the table five, the terminal calculates that the number of calls with the contact Zhang III in the time period of 0: 00-07: 00 is 5 & gt 1 (a third threshold value), so that the terminal determines the contact Zhang III as an important contact.
And fourthly, the ratio of the answering times to the hanging-up times is larger than a fourth threshold value.
In a possible implementation manner, the terminal counts the answering and hanging-up proportion ((the answering times + 1)/(the hanging-up times +1)) corresponding to each contact, calculates to obtain an average answering and hanging-up proportion, and determines the fourth threshold based on the average answering and hanging-up proportion, wherein the fourth threshold is greater than or equal to the average answering and hanging-up proportion.
And combining the call information in the table five, the terminal calculates that the answering hangup ratio corresponding to the contact person Zhang III is 5 > 2.5 (a fourth threshold), and therefore, the terminal determines the contact person Zhang III as an important contact person.
Fifthly, the callback times are larger than a fifth threshold value.
In a possible implementation manner, the terminal counts the callback times (immediately callback after not answering the call) corresponding to each contact and calculates to obtain an average callback time, and then determines the fifth threshold based on the average callback time, wherein the fifth threshold is greater than or equal to the average callback time.
And combining the call information in the table five, the terminal calculates that the callback times corresponding to the third contact is 1 > 0.8 (a fifth threshold), so that the terminal determines the third contact as an important contact.
The present embodiment is described by taking the above five possible embodiments as examples, but the present invention is not limited thereto.
Step 1206, obtaining the short message sending content contained in the historical communication information.
When a user sends a short message to an important contact, the content of the sent short message usually contains certain specific words, so that the terminal can analyze the content of the sent short message, and the important contact can be identified.
Illustratively, the content of the short message sent to zhang san is obtained by the terminal as follows: a manager is your good, does not know if you are available today in the afternoon?
Step 1207, if the short message sending content comprises a preset vocabulary, determining that the contact is an important contact, wherein the preset vocabulary comprises a worship vocabulary and a respected vocabulary.
Optionally, the terminal stores a vocalization vocabulary and a respectful vocabulary (for example, your, please, bai torr, etc.), and when it is detected that the content sent by the short message contains the vocalization vocabulary or the respectful vocabulary, the terminal determines that the contact is an important contact.
Optionally, the vocabularies and the respected vocabularies are obtained based on the content of sending the short message with the added important contacts.
And 1208, if the contact is an important contact, displaying a group adding prompt in a contact information interface corresponding to the contact.
When the contact is an important contact, the terminal displays a group adding prompt in a contact information interface corresponding to the contact, and prompts a user to add the contact to a preset contact group.
Illustratively, as shown in fig. 13, the terminal recognizes "zhang san" as an important contact, and thus displays a group addition prompt 513 in the contact information interface 51.
Step 1209, if the contact is an important contact, when the call of the contact is received or the contact is called, a group adding prompt is displayed in the call interface.
In the above step 1208, the user needs to display the contact information interface to know the identified important contacts. In order to further improve the group adding efficiency, in a possible implementation manner, when an incoming call of an important contact is received (in a non-disturbance-free mode) or when the important contact is actively called, the terminal displays a group adding prompt in a call interface to prompt a user to add the important contact to a preset contact group.
Illustratively, as shown in fig. 14, the terminal recognizes that "zhang san" is an important contact, and when zhang san is actively called, the terminal displays a group addition prompt 523 and displays a quick addition control 524 in the call interface 52, so that the user can conveniently and quickly add zhang san to the VIP contact group.
And 1210, if the contact is an important contact, displaying a group adding prompt at a position corresponding to the contact in the address book.
In another possible implementation manner, for the identified important contact (which is not added to the preset contact group), the terminal displays a group addition prompt at a position in the address book corresponding to the important contact, and when the user opens the address book, the group addition can be completed according to the group addition prompt.
Illustratively, as shown in fig. 15, the terminal determines that the contacts "chenqi" and "zhang san" are important contacts, so that when the address book 53 is displayed, the group addition prompt 531 is displayed at the entry corresponding to each of "chenqi" and "zhang san".
In other possible implementation manners, a preset contact group editing interface is arranged in the terminal, and when a user selects to add a new contact to the preset contact group in the interface, the determined important contact is displayed in the interface, so that the user can add the important contact quickly. For example, when a user triggers to add a contact to a preset contact group, a drop-down box is displayed in the interface, and the determined important contact is preferentially displayed in the drop-down box.
In the embodiment, the terminal identifies whether the contact is an important contact according to the name information (including the contact name and the remark name), and/or the historical call information, and/or the short message sending content, and performs group addition prompting on the important contact, so that the accuracy of group addition prompting is improved, and omission caused when a user identifies and manually adds the important contact is avoided.
Furthermore, for the identified important contact persons, the terminal displays a group adding prompt in a contact person information interface, a call interface or an address list, so that a user can add the important contact persons to a preset contact person group conveniently and quickly, and the group adding efficiency is improved.
Referring to fig. 16, a block diagram of a group adding apparatus according to an exemplary embodiment of the present application is shown. The group adding device comprises: an acquisition module 1610, a recognition module 1620, and a display module 1630.
An obtaining module 1610, configured to obtain contact information corresponding to a contact, where the contact information includes name information and/or historical communication information;
an identifying module 1620, configured to identify whether the contact is an important contact according to the contact information;
a display module 1630, configured to display a group addition prompt if the contact is the important contact, where the group addition prompt is used to prompt that the contact is added to a preset contact group, and the preset contact group is a group that allows notification and reminding in a do-not-disturb mode under a default condition.
Optionally, the contact information includes the name information;
the identifying module 1620 comprises:
the first acquisition unit is used for acquiring remarks and/or contact names contained in the name information;
and the first determining unit is used for determining the contact person as the important contact person if the remark or the contact person name belongs to a preset remark word bank.
Optionally, the contact information includes the historical communication information;
the identifying module 1620 comprises:
a second obtaining unit, configured to obtain call information included in the historical communication information, where the call information includes at least one of call frequency, call duration, call time interval, call answering times, call hangup times, and call back times;
and the second determining unit is used for determining whether the contact is the important contact if the call information meets the preset condition.
Optionally, the preset condition includes at least one of the following conditions:
the call frequency is greater than a first threshold; or the like, or, alternatively,
the call duration is greater than a second threshold; or the like, or, alternatively,
the number of calls in a predetermined time period is greater than a third threshold; or the like, or, alternatively,
the ratio of the answering times to the hang-up times is greater than a fourth threshold value; or the like, or, alternatively,
the callback times are larger than a fifth threshold value.
Optionally, the identifying module 1620 further includes:
a third obtaining unit, configured to obtain short message sending content included in the historical communication information;
and the third determining unit is used for determining the contact person as the important contact person if the short message sending content contains a preset vocabulary, wherein the preset vocabulary comprises a vocalization vocabulary and a respected vocabulary.
Optionally, the display module 1630 includes:
the first display unit is used for displaying the group adding prompt in a contact person information interface corresponding to the contact person;
or the like, or, alternatively,
the second display unit is used for displaying the group adding prompt in a call interface when the incoming call of the contact person is received or the contact person is called;
or the like, or, alternatively,
and the third display unit is used for displaying the group adding prompt at the position corresponding to the contact person in the address book.
In summary, in the embodiment, the terminal displays the group addition prompt by acquiring the contact information of the contact and identifying the important contact based on the contact information, so that the user can add the important contact to the preset contact group according to the group addition prompt; in the subsequent process, the terminal allows the notification reminding of the contact persons in the preset contact person group in the disturbance-free mode based on the preset contact person group, so that the notification of important contact persons is avoided being omitted by the user; compared with the method that the user automatically judges the importance degree of the contact and manually adds the contact to the preset contact group, the coverage rate and the accuracy of the preset contact group generated in the implementation are higher, and the accuracy of subsequent notification reminding based on the group is further improved.
In the embodiment, the terminal identifies whether the contact is an important contact according to the name information (including the contact name and the remark), and/or the historical call information, and/or the short message sending content, and performs the group adding prompt on the important contact, so that the accuracy of the group adding prompt is improved, and omission caused when a user identifies and manually adds the important contact is avoided.
Furthermore, for the identified important contact persons, the terminal displays a group adding prompt in a contact person information interface, a call interface or an address list, so that a user can add the important contact persons to a preset contact person group conveniently and quickly, and the group adding efficiency is improved.
The embodiment of the present application further provides a computer-readable medium, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the group adding method according to the above embodiments.
The embodiment of the present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the group adding method according to the above embodiments.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (12)

1. A method of group addition, the method comprising:
acquiring contact person information corresponding to contact persons in an address list, wherein the contact person information comprises name information; wherein the name information comprises at least one of a remark of a contact and a name of the contact;
identifying whether the contact is an important contact according to the contact information; the important contact persons comprise contact persons of which the remarks or the contact person names belong to a preset word bank, and the preset word bank is generated based on name information of the added important contact persons in a preset contact person group;
if the contact person is the important contact person, displaying an adding control corresponding to the contact person in a contact person information interface corresponding to the contact person, or displaying the adding control corresponding to the contact person in a call interface when the contact person is called or the contact person is called, or displaying the adding control at an entry corresponding to the contact person in an address book, wherein the adding control is used for adding the contact person to the preset contact person group, and the group for notification and reminding is allowed to be carried out in a disturbance-free mode under the default condition of the preset contact person group;
when the clicking operation of the adding control is received, the contact person is added to the preset contact person group;
in the do-not-disturb mode, when a notification is received, identifying a contact corresponding to the notification;
determining the importance levels of the contacts according to preset contact groups to which the contacts belong, wherein the importance levels of the contacts in the same preset contact group are the same, and the importance levels corresponding to different preset contact groups are different;
and determining whether to carry out notification reminding or not according to the importance level of the contact and the type of the disturbance-free mode.
2. The method of claim 1, wherein the name information is included in the contact information;
the identifying whether the contact is an important contact according to the contact information includes:
acquiring remarks and/or contact names contained in the name information;
and if the remark or the contact name belongs to the preset word bank, determining the contact as the important contact.
3. The method of claim 1, wherein the contact information includes the historical communication information;
the identifying whether the contact is an important contact according to the contact information includes:
acquiring call information contained in the historical communication information, wherein the call information comprises at least one of call frequency, call duration, call time interval, call answering times, hang-up times and call back times;
and if the call information meets a preset condition, determining whether the contact is the important contact.
4. The method of claim 3, wherein the preset condition comprises at least one of:
the call frequency is greater than a first threshold; or the like, or, alternatively,
the call duration is greater than a second threshold; or the like, or, alternatively,
the number of calls in a predetermined time period is greater than a third threshold; or the like, or, alternatively,
the ratio of the answering times to the hang-up times is greater than a fourth threshold value; or the like, or, alternatively,
the callback times are larger than a fifth threshold value.
5. The method of claim 3, wherein identifying whether the contact is an important contact according to the contact information further comprises:
acquiring short message sending content contained in the historical communication information;
and if the short message sending content contains preset words, determining that the contact is the important contact, wherein the preset words comprise vocals and respected words.
6. A group adding device, comprising:
the acquisition module is used for acquiring contact person information corresponding to contact persons in the address list, wherein the contact person information comprises name information; wherein the name information comprises at least one of a remark of a contact and a name of the contact;
the identification module is used for identifying whether the contact is an important contact or not according to the contact information; the important contact persons comprise contact persons of which the remarks or the contact person names belong to a preset word bank, and the preset word bank is generated based on name information of the added important contact persons in a preset contact person group;
the display module is used for displaying an adding control corresponding to the contact person in a contact person information interface corresponding to the contact person if the contact person is the important contact person, or displaying the adding control corresponding to the contact person in a call interface when the contact person is called or the contact person is called, or displaying the adding control at an entry corresponding to the contact person in an address book, wherein the adding control is used for adding the contact person to the preset contact person group, and the preset contact person group is a group which allows notification reminding in a disturbance-free mode under the default condition;
the display module is further used for adding the contact person to the preset contact person group when the click operation on the adding control is received;
the device is further configured to, in the do-not-disturb mode, identify, when a notification is received, a contact corresponding to the notification; determining the importance levels of the contacts according to preset contact groups to which the contacts belong, wherein the importance levels of the contacts in the same preset contact group are the same, and the importance levels corresponding to different preset contact groups are different; and determining whether to carry out notification reminding or not according to the importance level of the contact and the type of the disturbance-free mode.
7. The apparatus of claim 6, wherein the name information is included in the contact information;
the identification module comprises:
the first acquisition unit is used for acquiring remarks and/or contact names contained in the name information;
and the first determining unit is used for determining the contact person as the important contact person if the remark or the contact person name belongs to a preset word bank.
8. The apparatus of claim 6, wherein the historical communication information is included in the contact information;
the identification module comprises:
a second obtaining unit, configured to obtain call information included in the historical communication information, where the call information includes at least one of call frequency, call duration, call time interval, call answering times, call hangup times, and call back times;
and the second determining unit is used for determining whether the contact is the important contact if the call information meets the preset condition.
9. The apparatus of claim 8, wherein the preset condition comprises at least one of:
the call frequency is greater than a first threshold; or the like, or, alternatively,
the call duration is greater than a second threshold; or the like, or, alternatively,
the number of calls in a predetermined time period is greater than a third threshold; or the like, or, alternatively,
the ratio of the answering times to the hang-up times is greater than a fourth threshold value; or the like, or, alternatively,
the callback times are larger than a fifth threshold value.
10. The apparatus of claim 8, wherein the identification module further comprises:
a third obtaining unit, configured to obtain short message sending content included in the historical communication information;
and the third determining unit is used for determining the contact person as the important contact person if the short message sending content contains a preset vocabulary, wherein the preset vocabulary comprises a vocalization vocabulary and a respected vocabulary.
11. A terminal, characterized in that the terminal comprises a processor and a memory, in which at least one instruction is stored, which is loaded and executed by the processor to implement the group addition method according to any of claims 1 to 5.
12. A computer-readable storage medium having stored thereon at least one instruction which is loaded and executed by a processor to implement the group addition method as claimed in any one of claims 1 to 5.
CN201711418894.6A 2017-12-25 2017-12-25 Group adding method, device, terminal and storage medium Active CN107864297B (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
CN201711418894.6A CN107864297B (en) 2017-12-25 2017-12-25 Group adding method, device, terminal and storage medium
EP18894393.0A EP3723352B1 (en) 2017-12-25 2018-12-25 Notification prompt method and apparatus, terminal and storage medium
AU2018393399A AU2018393399B2 (en) 2017-12-25 2018-12-25 Notification prompt method, group addition method and apparatus, terminal and storage medium
PCT/CN2018/123577 WO2019129003A1 (en) 2017-12-25 2018-12-25 Notification prompt method, group addition method and apparatus, terminal and storage medium
KR1020207018008A KR102322542B1 (en) 2017-12-25 2018-12-25 Notification reminder method, terminal and storage medium
JP2020533712A JP7043604B2 (en) 2017-12-25 2018-12-25 Notification reminding method, group addition method, device, terminal, and storage medium
US16/885,859 US11272051B2 (en) 2017-12-25 2020-05-28 Method for notification reminder, terminal, and storage medium
US17/590,591 US12069200B2 (en) 2017-12-25 2022-02-01 Method for notification reminder, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711418894.6A CN107864297B (en) 2017-12-25 2017-12-25 Group adding method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107864297A CN107864297A (en) 2018-03-30
CN107864297B true CN107864297B (en) 2020-08-18

Family

ID=61707305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711418894.6A Active CN107864297B (en) 2017-12-25 2017-12-25 Group adding method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107864297B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3723352B1 (en) * 2017-12-25 2023-01-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Notification prompt method and apparatus, terminal and storage medium
CN109819096A (en) * 2018-11-26 2019-05-28 努比亚技术有限公司 Push display control method, terminal and the computer storage medium of notification message
CN111435949A (en) * 2019-01-14 2020-07-21 北京快如科技有限公司 Address book session information management method and device
CN110149443A (en) * 2019-04-11 2019-08-20 维沃软件技术有限公司 A kind of terminal equipment control method and terminal device
CN110193196B (en) * 2019-04-22 2020-09-08 网易(杭州)网络有限公司 Game object control method and device
CN112057847B (en) * 2019-04-26 2024-06-21 网易(杭州)网络有限公司 Game object control method and device
CN111163221B (en) * 2019-12-25 2021-05-07 惠州Tcl移动通信有限公司 Group address book updating method and device, storage medium and terminal equipment
CN113098762B (en) * 2021-04-02 2023-04-07 维沃移动通信有限公司 Information output method and information output device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951426A (en) * 2010-09-10 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Contact person grouping method and terminal
CN102957781B (en) * 2012-11-16 2016-05-04 广东欧珀移动通信有限公司 A kind of interruption-free control method of mobile terminal
CN103458120B (en) * 2013-08-27 2016-08-03 小米科技有限责任公司 Event-handling method, device and mobile terminal
US9930168B2 (en) * 2015-12-14 2018-03-27 International Business Machines Corporation System and method for context aware proper name spelling
CN107197096A (en) * 2017-05-26 2017-09-22 维沃移动通信有限公司 A kind of method of adjustment of incoming ring tone, device and mobile terminal
CN106998394A (en) * 2017-06-01 2017-08-01 深圳市伊特利网络科技有限公司 The method to set up and system of particular contact prompting
CN107241481A (en) * 2017-06-30 2017-10-10 广东欧珀移动通信有限公司 Book management method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN107864297A (en) 2018-03-30

Similar Documents

Publication Publication Date Title
CN107864297B (en) Group adding method, device, terminal and storage medium
CN108156303B (en) Reminder announced method, apparatus, terminal and storage medium
CN107491315B (en) Message prompting method, device and terminal
CN108055404B (en) Reminder announced method, apparatus, terminal and storage medium
US12069200B2 (en) Method for notification reminder, terminal, and storage medium
CN106469054B (en) Notification message control method and device and terminal
JP5826753B2 (en) User-selectable environment for mobile communication devices
US8571320B2 (en) Method and apparatus for pictorial identification of a communication event
CN103026740A (en) Method and apparatus for suggesting a message segment
CN106775969B (en) Selective operation method and device of application program
CN108804179B (en) Method, device, terminal and storage medium for displaying notification bar message
CN110945467B (en) Disturbance-free method and terminal
KR101552864B1 (en) Apparatus and method displaying event notification
CN110896376B (en) Message reminding method, message sending method, related device and equipment
CN106471775A (en) Message stores
CN109743246B (en) Message emergency reminding method and device and electronic equipment
CN104125324A (en) Call waiting interface display method and system
CN109391734A (en) Data transmission method for uplink, device, terminal and storage medium
KR100617756B1 (en) Method for displaying status information in wireless terminal
WO2020082266A1 (en) Method and device for displaying application icon
CN102164354A (en) Local voice mail for mobile device
CN107864279A (en) Indicating mode switching method, device, computer installation and computer-readable recording medium
CN108924921B (en) Time synchronization control method, device, storage medium, terminal and system
CN107426401B (en) Mute reminding method, device and terminal
KR100983683B1 (en) Mobile communication terminal and method enable of a function setting to circumstances

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant