CN107295144B - Method and device for deleting contact number - Google Patents

Method and device for deleting contact number Download PDF

Info

Publication number
CN107295144B
CN107295144B CN201710568990.2A CN201710568990A CN107295144B CN 107295144 B CN107295144 B CN 107295144B CN 201710568990 A CN201710568990 A CN 201710568990A CN 107295144 B CN107295144 B CN 107295144B
Authority
CN
China
Prior art keywords
communication number
target contact
original communication
failure time
time information
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
CN201710568990.2A
Other languages
Chinese (zh)
Other versions
CN107295144A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710568990.2A priority Critical patent/CN107295144B/en
Publication of CN107295144A publication Critical patent/CN107295144A/en
Application granted granted Critical
Publication of CN107295144B publication Critical patent/CN107295144B/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/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
    • 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

Abstract

The disclosure relates to a method and a device for deleting a contact number, and belongs to the technical field of mobile terminals. The method comprises the following steps: when the operation of adding a new communication number to the target contact is detected, displaying a prompt popup, wherein the prompt popup comprises prompt information and a first operation control; after a trigger signal corresponding to the first operation control is acquired, displaying a failure time setting interface; acquiring failure time information set in a failure time setting interface, wherein the failure time information is used for indicating the failure time of an original communication number of a target contact person; and when the expiration time is reached, deleting the original communication number of the target contact. According to the embodiment of the disclosure, by expanding the function of deleting the original communication number of the target contact regularly in the mobile terminal, the operation required for deleting the original communication number of the target contact is simplified, and the situation of mistaken deletion can be avoided.

Description

Method and device for deleting contact number
Technical Field
The present disclosure relates to the field of mobile terminal technologies, and in particular, to a method and an apparatus for deleting a contact number.
Background
The mobile phone number is a unique identifier of a Subscriber Identity Module (SIM) card built in the mobile terminal.
At present, if a contact corresponding to a user changes a mobile phone number after a period of time, the contact notifies the user before changing the mobile phone number, for example, sending a short message to a user terminal: the old number 130XXXXXXX stops on day 1 of 3 months and the new number 180 XXXXXXX. At this time, the user needs to store the new mobile phone number of the contact in the terminal, and delete the old mobile phone number of the contact after the old mobile phone number of the contact expires.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for deleting a contact number. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for deleting a contact number, the method including:
when the operation of adding a new communication number to a target contact is detected, displaying a prompt popup, wherein the prompt popup comprises prompt information and a first operation control, the prompt information is used for prompting whether to determine to delete the original communication number of the target contact, and the first operation control is used for triggering to delete the original communication number of the target contact regularly;
after a trigger signal corresponding to the first operation control is acquired, displaying a failure time setting interface;
acquiring failure time information set in the failure time setting interface, wherein the failure time information is used for indicating the failure time of the original communication number of the target contact person;
and deleting the original communication number of the target contact when the expiration time is reached.
Optionally, the prompt popup window further includes a second operation control, where the second operation control is used to trigger immediate deletion of the original communication number of the target contact;
the method further comprises the following steps:
and after the trigger signal corresponding to the second operation control is acquired, deleting the original communication number of the target contact person.
Optionally, the expiration time setting interface includes recommendation information of the expiration time information.
Optionally, the method further comprises:
detecting whether a communication message sent by a new communication number or an original communication number of the target contact person includes a preset keyword, wherein the preset keyword is used for indicating that the original communication number of the target contact person is invalid;
and if the communication message comprises the preset keyword, determining recommendation information of the failure time information according to the time information in the communication message.
Optionally, the method further comprises:
if the number of the original communication numbers of the target contact person is multiple, after a trigger signal corresponding to the first operation control is obtained, displaying a number selection interface, wherein the number selection interface comprises options corresponding to the original communication numbers;
and determining the selected original communication number as the original communication number needing to be deleted.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for deleting a contact number, the apparatus including:
the first display module is configured to display a prompt popup when an operation of adding a new communication number to a target contact is detected, wherein the prompt popup comprises prompt information and a first operation control, the prompt information is used for prompting whether to determine to delete an original communication number of the target contact, and the first operation control is used for triggering to delete the original communication number of the target contact regularly;
the second display module is configured to display a failure time setting interface after the trigger signal corresponding to the first operation control is acquired;
the information acquisition module is configured to acquire expiration time information set in the expiration time setting interface, wherein the expiration time information is used for indicating the expiration time of the original communication number of the target contact;
a first deletion module configured to delete the original communication number of the target contact when the expiration time is reached.
Optionally, the prompt popup window further includes a second operation control, where the second operation control is used to trigger immediate deletion of the original communication number of the target contact;
the device further comprises:
and the second deleting module is configured to delete the original communication number of the target contact after the trigger signal corresponding to the second operation control is acquired.
Optionally, the expiration time setting interface includes recommendation information of the expiration time information.
Optionally, the apparatus further comprises:
the keyword detection module is configured to detect whether a communication message sent by a new communication number or an original communication number of the target contact person includes a preset keyword, wherein the preset keyword is used for indicating that the original communication number of the target contact person is invalid;
an information determination module configured to determine recommendation information of the expiration time information according to time information included in the communication message when the preset keyword is included in the communication message.
Optionally, the apparatus further comprises:
a third display module, configured to, when the number of original communication numbers of the target contact is multiple, after a trigger signal corresponding to the first operation control is acquired, display a number selection interface, where the number selection interface includes options corresponding to the respective original communication numbers;
a number determination module configured to determine the selected original communication number as an original communication number that needs to be deleted.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for deleting a contact number, the apparatus including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
when the operation of adding a new communication number to a target contact is detected, displaying a prompt popup, wherein the prompt popup comprises prompt information and a first operation control, the prompt information is used for prompting whether to determine to delete the original communication number of the target contact, and the first operation control is used for triggering to delete the original communication number of the target contact regularly;
after a trigger signal corresponding to the first operation control is acquired, displaying a failure time setting interface;
acquiring failure time information set in the failure time setting interface, wherein the failure time information is used for indicating the failure time of the original communication number of the target contact person;
and deleting the original communication number of the target contact when the expiration time is reached.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having at least one instruction stored therein, the instruction being loaded and executed by a processor to implement the method for deleting a contact number according to the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
by means of the method, the number of the contact person is prevented from being manually deleted by the user, operation efficiency is improved, and the situation of mistaken deletion can be avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a method of deleting a contact number in accordance with an exemplary embodiment;
FIG. 2 is a schematic view of an interface according to the embodiment of FIG. 1;
FIG. 3 is a flow diagram illustrating a method of deleting a contact number in accordance with another exemplary embodiment;
FIG. 4 is an interface diagram of a number selection interface according to the embodiment shown in FIG. 3;
FIG. 5 is a block diagram illustrating an apparatus for deleting a contact number in accordance with an example embodiment;
FIG. 6 is a block diagram illustrating an apparatus for deleting a contact number in accordance with another exemplary embodiment;
fig. 7 is a block diagram illustrating an apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the related art, if a user knows that the number of a contact is changed after a period of time, the user usually deletes the old number of the contact after the number of the contact is changed, and since the user needs to manually delete the old number of the contact, on one hand, the operation is complex and inefficient, and on the other hand, the situation of mistaken deletion may be caused, that is, the new number of the contact is deleted. Based on the method, the embodiment of the disclosure provides a method for deleting a contact number and a device based on the method. In the embodiment of the disclosure, the mobile terminal is provided with an operation control for deleting the original communication number of the target contact regularly, the user triggers the operation control, the mobile terminal displays a failure time setting interface and acquires the failure time of the original communication number of the target contact, and deletes the original communication number of the target contact when the set failure time is reached.
The method provided by the embodiment of the disclosure can be applied to the mobile terminal. In general, the mobile terminal involved in the embodiments of the present disclosure is a mobile phone. However, the mobile terminal may also be other electronic devices such as a tablet, a wearable device, etc. with telephony functionality and/or with access to a cellular mobile communication network provided by an operator, in other possible scenarios. For convenience of description, in the following method embodiments, only the execution subject of each step is illustrated as a mobile terminal, but the method is not limited thereto.
Fig. 1 is a flow diagram illustrating a method of deleting a contact number in accordance with an example embodiment. The method comprises the following steps.
In step 101, when an operation of adding a new communication number to a target contact is detected, a prompt popup is displayed.
The new communication number is a communication number that is not stored by the mobile terminal. In the embodiment of the present disclosure, the related communication number refers to an identification number that is allocated by an operator to a user and identifies the user identity and the mobile terminal identity. In the usual case, the communication number refers to a mobile phone number, i.e., a cell phone number. Optionally, the communication number is a number in an instant messaging (instant messaging) application.
Illustratively, adding a new communication number to the target contact is as follows: the mobile terminal displays a data interface of the target contact person, a user clicks an interface element in the data interface of the target contact person to trigger the mobile terminal to display a data editing interface of the target contact person, and the user inputs a new communication number of the target contact person in an input field for inputting the communication number of the contact person. The data interface of the target contact person is used for displaying the personal data information of the target contact person. The profile information for a contact includes, but is not limited to, an avatar, a nickname, gender, group, region, home address, communication number, and date of birth, among others. Interface elements include text, numbers, pictures, rectangular boxes, and the like. The data editing interface of the target contact person is used for editing the personal data information of the target contact person.
The prompt popup window comprises prompt information and a first operation control, the prompt information is used for prompting whether the original communication number of the target contact person is determined to be deleted, and the first operation control is used for triggering the original communication number of the target contact person to be deleted regularly. The original communication number of the target contact person is deleted periodically, which means that time information is preset, and when the time indicated by the time information for deleting the original communication number of the target contact person is reached, the original communication number of the target contact person is deleted.
The prompt popup can be displayed on an upper layer of a data interface of the contact, an upper layer of a data editing interface of the contact, an upper layer of a desktop of the mobile terminal, and the like, which are not limited in the embodiment of the disclosure. In one example, when an operation of adding a new communication number for a target contact person is detected, the mobile terminal displays a prompt popup on an upper layer of a material editing interface of the target contact person. In another example, after the mobile terminal acquires the trigger signal corresponding to the new communication number of the stored target contact in the data editing interface of the target contact, a prompt popup is displayed on the upper layer of the data interface of the target contact.
Optionally, the prompt popup window further includes a second operation control, where the second operation control is used to trigger immediate deletion of the original communication number of the target contact. Referring collectively to fig. 2, an interface diagram of a prompt pop-up window 21 is shown in an exemplary embodiment of the present disclosure. The prompt popup window 21 includes prompt information 211, a "delete regularly" button 212, an "delete immediately" button 213, and a "do not delete" button 214.
In other possible examples, when the user dials the original communication number of the target contact, if the mobile terminal receives a prompt message fed back by the server and detects whether the prompt message includes a specified keyword, if the prompt message includes the specified keyword, the mobile terminal performs a step of displaying a prompt popup. The number of the specified keywords may be one or more. The specified keywords include, but are not limited to, "null", "absent", and the like. Optionally, after the mobile terminal cancels the dialing of the original communication number of the target contact, a prompt popup is displayed on a call record interface corresponding to the target contact or on a desktop of the mobile terminal.
In step 102, after the trigger signal corresponding to the first operation control is acquired, a failure time setting interface is displayed.
The failure time setting interface is used for setting failure time information of an original communication number of the target contact person, and the failure time information is used for indicating the failure time of the original communication number of the target contact person. The original communication number is a communication number that the mobile terminal has saved.
The expiration time is the time to delete the original communication number of the target contact. Optionally, the expiration time information is a countdown, which is illustratively 30 days, that is, the original communication number of the target contact expires after 30 days. In another example, the expiration time information is a date, such as 3 months and 1 day, that is, the original communication number of the target contact expires on 3 months and 1 day.
Referring collectively to FIG. 2, a schematic diagram of the time to failure setting interface 22 shown in one exemplary embodiment of the present application is shown. The expiration time setting interface 22 includes an input field 221 for inputting expiration time information, and an operation control 222 for triggering confirmation of the expiration time information.
In step 103, the expiration time information set in the expiration time setting interface is acquired.
The failure time information is set by a user in a self-defined way. Illustratively, the user sets the expiration time to "3 months and 1 day". Optionally, the expiration time setting interface includes recommendation information of the expiration time information. The recommendation information is used for recommending the failure time information. The failure time setting interface is provided with an operation control for triggering and confirming the recommendation information, the user triggers the operation control, and then the mobile terminal directly determines the failure information indicated by the recommendation information as the set failure time information. Optionally, in a case where the expiration time setting interface includes recommendation information of the expiration time information, the user may modify the expiration time information.
In one example, the recommendation information of the expiration time information is set by default by the mobile terminal. For example, 7 days counted down are taken as recommendation information of the expiration time information. For another example, a date 7 days after the current date is used as recommendation information of expiration time information.
In another example, the acquisition process of the recommendation information of the expiration time information is as follows:
1. detecting whether a communication message sent by a new communication number or an original communication number of a target contact person includes preset keywords or not;
if the communication number is a mobile phone number, the communication message is a short message sent by a new communication number or an original communication number. And if the communication number is a number in the instant messaging application program, the communication message is an instant messaging message or a social message sent by the target contact terminal. Optionally. The communication message is a communication message received by the mobile terminal before detecting an operation of adding a new communication number for the target contact.
The preset keywords are used for indicating that the original communication number of the target contact person is invalid. The number of the preset keywords may be one or more. Illustratively, the preset keywords include, but are not limited to, "expired," "stop using," "old," "new," "unused," "change," "changed," "expired," and the like.
2. And if the communication message comprises the preset keyword, determining the recommendation information of the failure time information according to the time information contained in the communication message.
And under the condition that the communication message comprises the preset keywords, the mobile terminal determines the time information contained in the communication message as the expiration time of the original communication number of the target contact person and recommends the expiration time to the user. Illustratively, the content of the communication message is as follows: your good old number 150XXXXXXXX is not used until 3 months 1, after which the new number is 189 XXXXXXXX. And when the mobile terminal detects that the communication message comprises preset keywords such as 'old number', 'unused' and 'new number', the time information '3 months and 1 days' included in the communication message is determined as the recommendation information of the failure time information of the original communication number '150 XXXXXXX' of the target contact person.
Optionally, the mobile terminal first detects whether the communication message includes time information, if the communication message includes the time information, the step of detecting whether the communication message includes a preset keyword is executed, and if the communication message includes the preset keyword, the time information in the communication message is determined as recommendation information of the expiration time information; and if the communication message does not contain the time information, the mobile terminal does not execute the step of detecting whether the communication message contains the preset keyword.
And if the communication message does not contain the preset keyword, the step of determining the recommendation information of the failure time information according to the time information contained in the communication message is not executed.
It should be noted that, after acquiring the trigger signal corresponding to the first operation control, the mobile terminal may perform the above step of acquiring the recommendation information of the expiration time information; the mobile terminal may further perform the above-described step of acquiring the recommendation information of the expiration time information after detecting an operation of adding a new communication number to the target contact. When the mobile terminal performs the above step of acquiring the recommendation information of the expiration time information after detecting an operation of adding a new communication number to the target contact, the recommendation information of the expiration time information needs to be stored in correspondence with the communication number of the communication message.
At step 104, the original communication number of the target contact is deleted when the expiry time is reached.
And if the failure time is countdown, deleting the original communication number of the target contact person by the mobile terminal after the countdown is reset to zero. And if the expiration time is the date, deleting the original communication number of the target contact when the current date is consistent with the expiration time by the mobile terminal.
When a user triggers a second operation control in the prompt popup window, the mobile terminal executes the following steps: and immediately deleting the original communication number of the target contact after the trigger signal corresponding to the second operation control is acquired.
Referring collectively to fig. 2, a diagram of an original communication number for setting up a periodic deletion of a target contact according to an embodiment of the present application is shown. The contact data page displays a prompt popup window 21, the prompt popup window 21 prompts the popup window 21 to comprise prompt information 211, a 'delete regularly' button 212, an 'delete immediately' button 213 and a 'not delete' button 214; after the user triggers the "delete regularly" button 212, the mobile terminal displays the expiration time setting interface 22, where the expiration time setting interface 22 includes recommendation information 221 of expiration time information and an operation control 222 for completing trigger setting; the user triggers the operation control 222, and the setting of the original communication number of the target contact person is completed.
To sum up, in the method shown in the embodiment of the present disclosure, the function of periodically deleting the original communication number of the target contact is added to the mobile terminal, the user triggers the operation control corresponding to the periodically deleted original communication number of the target contact, the mobile terminal displays the expiration time setting interface and obtains the expiration time of the original communication number of the target contact, and when the set expiration time is reached, the original communication number of the target contact is deleted.
Fig. 3 is a flowchart illustrating a method of deleting a contact number according to another exemplary embodiment. The method comprises the following steps.
In step 301, when an operation of adding a new communication number to a target contact is detected, a prompt popup is displayed, where the prompt popup includes prompt information and a first operation control.
The prompt information is used for prompting whether the original communication number of the target contact person is determined to be deleted or not, and the first operation control is used for triggering the original communication number of the target contact person to be deleted regularly.
In step 302, if the number of the original communication numbers of the target contact person is multiple, after the trigger signal corresponding to the first operation control is acquired, a number selection interface is displayed.
The number selection interface includes options corresponding to each of the original communication numbers. And if the target option is triggered, selecting the original communication number corresponding to the target option as the original communication number needing to be deleted. The target option may be one or more.
Referring collectively to FIG. 4, a diagram of a number selection interface 41 is shown, illustrating one exemplary embodiment of the present disclosure. The number selection interface 41 includes two options and a functionality control 413 corresponding to identifying the original communication number of the target contact that needs to be deleted, a first option 411 corresponding to the original communication number "150 XXXXXXXX" of the target contact and a second option 412 corresponding to the original communication number "180 XXXXXXXX" of the target contact.
In step 303, the selected original communication number is determined as the original communication number to be deleted.
The number selection interface is provided with a functionality control for triggering the confirmation of the original communication number that needs to be deleted. And after the user triggers the function control, the mobile terminal determines the selected original communication number as the original communication number to be deleted.
The original communication number to be deleted is selected by the user in a number selection interface. Optionally, the number selection interface includes recommendation information of the original communication number to be deleted. The recommendation information is used for recommending the original communication number to be deleted to the user.
Optionally, the determination process of the recommendation information of the original communication number to be deleted is as follows:
1. detecting whether a new communication number of a target contact or a communication message sent by an original communication number contains a preset keyword, wherein the preset keyword is used for indicating that the original communication number of the target contact is invalid;
2. if the communication message contains the preset keywords, detecting whether the communication message contains any original communication number of the target contact;
3. if the communication message comprises any original communication number of the target contact person, determining the original communication number included in the communication message as recommendation information of the original communication number to be deleted;
4. if the communication message does not include any original communication number of the target contact person, detecting whether the communication message includes a preset keyword or not;
5. if the communication message comprises the preset keywords, determining all the original communication numbers as the recommendation information of the original communication numbers needing to be deleted;
the predetermined keyword is used to indicate all original communication numbers of the target contact. The number of the predetermined keywords may be one or more. Predetermined keywords include, but are not limited to, "all," "original," and the like.
Illustratively, the original communication numbers of the target contacts include "150 XXXXXXXX" and "180 xxxxxxxxxx". In one example, if the content of the communication message is "hello, the old number 150XXXXXXXX is not used for 1 day 3 months, and the new number thereafter is 189 xxxxxxxxxx", the mobile terminal determines "150 xxxxxxxxxx" as recommendation information of the original communication number that needs to be deleted. In another example, if the content of the communication message is "hello, the original number is not used by 3 months and 1 day, and the new number is 189 XXXXXXXX", then "150 xxxxxxxxxx" and "180 xxxxxxxxxxxx" are determined as the recommendation information of the original communication number that needs to be deleted.
It should be noted that the above step of determining, by the mobile terminal, the recommendation information of the original communication number that needs to be deleted may be performed after the mobile terminal acquires the trigger signal corresponding to the first operation control or the second operation control, and may also be performed after an operation of adding a new communication number to the target contact is detected. When the mobile terminal detects that a new communication number is added to the target contact person, and then the step of determining the recommendation information of the original communication number to be deleted is executed, the mobile terminal needs to store a preset corresponding relation between the recommendation information of the original communication number to be deleted and the communication number for sending the communication message.
In step 304, a time to failure setting interface is displayed.
In step 305, the expiration time information set in the expiration time setting interface is acquired.
The expiration time information is used to indicate the expiration time of the original communication number of the target contact.
At step 306, the original communication number of the target contact is deleted when the expiry time is reached.
According to the method provided by the embodiment of the disclosure, when a plurality of original communication numbers of the target contact exist, the number selection interface is displayed, and the selected original communication number is determined as the original communication number to be deleted. By the method, the original communication numbers which do not need to be deleted are screened out, and the situation of mistaken deletion is avoided.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
FIG. 5 is a block diagram illustrating a key control device according to an exemplary embodiment. The device has the functions of realizing the method examples, and the functions can be realized by hardware or by hardware executing corresponding software. The apparatus may include: a first display module 501, a second display module 502, an information acquisition module 503, and a first deletion module 504.
The first display module 501 is configured to display a prompt popup when an operation of adding a new communication number to a target contact is detected, where the prompt popup includes prompt information and a first operation control, the prompt information is used to prompt whether to determine to delete an original communication number of the target contact, and the first operation control is used to trigger periodic deletion of the original communication number of the target contact.
The second display module 502 is configured to display a failure time setting interface after acquiring the trigger signal corresponding to the first operation control.
An information obtaining module 503, configured to obtain expiration time information set in the expiration time setting interface, where the expiration time information is used to indicate expiration time of an original communication number of the target contact.
A first deletion module 504 configured to delete the original communication number of the target contact when the expiry time is reached.
To sum up, in the device shown in the embodiment of the present disclosure, the function of periodically deleting the original communication number of the target contact is added to the mobile terminal, the user triggers the operation control corresponding to the periodically deleted original communication number of the target contact, the mobile terminal displays the expiration time setting interface and obtains the expiration time of the original communication number of the target contact, and when the set expiration time is reached, the original communication number of the target contact is deleted.
In an optional embodiment provided based on the embodiment of fig. 5, please refer to fig. 6, the prompt popup further includes a second operation control, where the second operation control is used to trigger immediate deletion of the original communication number of the target contact; the device further comprises: a second deletion module 505.
And the second deleting module 505 is configured to delete the original communication number of the target contact after acquiring the trigger signal corresponding to the second operation control.
In another optional embodiment provided based on the embodiment of fig. 5, the expiration time setting interface includes recommendation information of the expiration time information.
In another alternative embodiment provided based on the embodiment of fig. 5, please refer to fig. 6, the apparatus further includes: keyword detection module 506 and information determination module 507
A keyword detection module 506, configured to detect whether a communication message sent by the new communication number or the original communication number of the target contact includes a preset keyword, where the preset keyword is used to indicate that the original communication number of the target contact is invalid.
An information determining module 507 configured to determine recommendation information of the expiration time information according to time information included in the communication message when the preset keyword is included in the communication message.
In another alternative embodiment provided based on the embodiment of fig. 5, please refer to fig. 5, the apparatus further includes: a third display module 508 and a number determination module 509.
A third display module 508, configured to, when the number of the original communication numbers of the target contact is multiple, after the trigger signal corresponding to the first operation control is acquired, display a number selection interface, where the number selection interface includes an option corresponding to each of the original communication numbers.
A number determination module 509 configured to determine the selected original communication number as an original communication number that needs to be deleted.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the above functional modules is illustrated, and in practical applications, the above functions may be distributed by different functional modules according to actual needs, that is, the content structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An exemplary embodiment of the present disclosure further provides a device for deleting a contact number, which can implement the method provided by the embodiment of the present disclosure. The device includes: a processor, and a memory for storing executable instructions for the processor. Wherein the processor is configured to:
when the operation of adding a new communication number to a target contact is detected, displaying a prompt popup, wherein the prompt popup comprises prompt information and a first operation control, the prompt information is used for prompting whether to determine to delete the original communication number of the target contact, and the first operation control is used for triggering to delete the original communication number of the target contact regularly;
after a trigger signal corresponding to the first operation control is acquired, displaying a failure time setting interface;
acquiring failure time information set in the failure time setting interface, wherein the failure time information is used for indicating the failure time of the original communication number of the target contact person;
and deleting the original communication number of the target contact when the expiration time is reached.
Optionally, the prompt popup window further includes a second operation control, where the second operation control is used to trigger immediate deletion of the original communication number of the target contact; the processor is further configured to:
and after the trigger signal corresponding to the second operation control is acquired, deleting the original communication number of the target contact person.
Optionally, the expiration time setting interface includes recommendation information of the expiration time information.
Optionally, the processor is further configured to:
detecting whether a communication message sent by a new communication number or an original communication number of the target contact person includes a preset keyword, wherein the preset keyword is used for indicating that the original communication number of the target contact person is invalid;
and if the communication message comprises the preset keyword, determining recommendation information of the failure time information according to the time information in the communication message.
Optionally, the processor is further configured to:
if the number of the original communication numbers of the target contact person is multiple, after a trigger signal corresponding to the first operation control is obtained, displaying a number selection interface, wherein the number selection interface comprises options corresponding to the original communication numbers;
and determining the selected original communication number as the original communication number needing to be deleted.
Fig. 7 is a block diagram illustrating an apparatus 700 according to an example embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 707, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power supply component 707 provides power to the various components of the device 700. The power components 707 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described method of deleting contact numbers.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the apparatus 700 to perform the above-described method of deleting a contact number is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of apparatus 700, enable apparatus 700 to perform a method of deleting a contact number as described above.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. A method of deleting a contact number, the method comprising:
when the operation of adding a new communication number to a target contact is detected, displaying a prompt popup, wherein the prompt popup comprises prompt information and a first operation control, the prompt information is used for prompting whether to determine to delete an original communication number of the target contact, the first operation control is used for triggering the periodical deletion of the original communication number of the target contact, the new communication number is a communication number which is not stored in a mobile terminal, and the original communication number is a communication number which is stored in the mobile terminal;
after a trigger signal corresponding to the first operation control is acquired, displaying a failure time setting interface; acquiring failure time information set in the failure time setting interface, wherein the failure time information is used for indicating the failure time of the original communication number of the target contact person; deleting the original communication number of the target contact when the expiration time is reached;
the failure time setting interface comprises recommendation information of the failure time information, and the recommendation information is used for recommending the failure time information; the method further comprises the following steps:
detecting whether a communication message sent by a new communication number or an original communication number of the target contact person includes a preset keyword, wherein the preset keyword is used for indicating that the original communication number of the target contact person is invalid;
if the communication message comprises the preset keyword, determining recommendation information of the failure time information according to the time information contained in the communication message; if the communication message does not include the preset keyword, the step of determining the recommendation information of the failure time information according to the time information included in the communication message is not executed;
the method further comprises the following steps:
if the number of the original communication numbers of the target contact person is multiple, after a trigger signal corresponding to the first operation control is obtained, displaying a number selection interface, wherein the number selection interface comprises options corresponding to the original communication numbers; and determining the selected original communication number as the original communication number needing to be deleted.
2. The method of claim 1, wherein the prompt popup further comprises a second operation control for triggering immediate deletion of the original communication number of the target contact;
the method further comprises the following steps:
and after the trigger signal corresponding to the second operation control is acquired, deleting the original communication number of the target contact person.
3. An apparatus for deleting a contact number, the apparatus comprising:
the mobile terminal comprises a first display module, a second display module and a third display module, wherein the first display module is configured to display a prompt popup when an operation of adding a new communication number to a target contact is detected, the prompt popup comprises prompt information and a first operation control, the prompt information is used for prompting whether to determine to delete an original communication number of the target contact, the first operation control is used for triggering to delete the original communication number of the target contact regularly, the new communication number is a communication number which is not stored by the mobile terminal, and the original communication number is a communication number which is stored by the mobile terminal;
the second display module is configured to display a failure time setting interface after the trigger signal corresponding to the first operation control is acquired;
the information acquisition module is configured to acquire expiration time information set in the expiration time setting interface, wherein the expiration time information is used for indicating the expiration time of the original communication number of the target contact;
a number deletion module configured to delete an original communication number of the target contact when the expiration time is reached;
the failure time setting interface comprises recommendation information of the failure time information, and the recommendation information is used for recommending the failure time information; the device further comprises:
the keyword detection module is configured to detect whether a communication message sent by a new communication number or an original communication number of the target contact person includes a preset keyword, wherein the preset keyword is used for indicating that the original communication number of the target contact person is invalid;
an information determination module configured to determine recommendation information of the expiration time information according to time information included in the communication message when the preset keyword is included in the communication message; if the communication message does not include the preset keyword, the step of determining the recommendation information of the failure time information according to the time information included in the communication message is not executed;
the device further comprises:
a third display module, configured to, when the number of original communication numbers of the target contact is multiple, after a trigger signal corresponding to the first operation control is acquired, display a number selection interface, where the number selection interface includes options corresponding to the respective original communication numbers;
a number determination module configured to determine the selected original communication number as an original communication number that needs to be deleted.
4. The apparatus according to claim 3, wherein the prompt popup further comprises a second operation control, and the second operation control is used to trigger immediate deletion of the original communication number of the target contact;
the number deleting module is further configured to delete the original communication number of the target contact after the trigger signal corresponding to the second operation control is acquired.
5. An apparatus for deleting a contact number, the apparatus comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
when the operation of adding a new communication number to a target contact is detected, displaying a prompt popup, wherein the prompt popup comprises prompt information and a first operation control, the prompt information is used for prompting whether to determine to delete an original communication number of the target contact, the first operation control is used for triggering the periodical deletion of the original communication number of the target contact, the new communication number is a communication number which is not stored in a mobile terminal, and the original communication number is a communication number which is stored in the mobile terminal;
after a trigger signal corresponding to the first operation control is acquired, displaying a failure time setting interface; acquiring failure time information set in the failure time setting interface, wherein the failure time information is used for indicating the failure time of the original communication number of the target contact person; deleting the original communication number of the target contact when the expiration time is reached;
the failure time setting interface comprises recommendation information of the failure time information, and the recommendation information is used for recommending the failure time information; the processor is further configured to:
detecting whether a communication message sent by a new communication number or an original communication number of the target contact person includes a preset keyword, wherein the preset keyword is used for indicating that the original communication number of the target contact person is invalid;
if the communication message comprises the preset keyword, determining recommendation information of the failure time information according to the time information contained in the communication message; if the communication message does not include the preset keyword, the step of determining the recommendation information of the failure time information according to the time information included in the communication message is not executed;
the processor is further configured to:
if the number of the original communication numbers of the target contact person is multiple, after a trigger signal corresponding to the first operation control is obtained, displaying a number selection interface, wherein the number selection interface comprises options corresponding to the original communication numbers; and determining the selected original communication number as the original communication number needing to be deleted.
6. A computer-readable storage medium having stored therein at least one instruction, which is loaded and executed by a processor, to implement a method of deleting a contact number according to any one of claims 1 to 2.
CN201710568990.2A 2017-07-13 2017-07-13 Method and device for deleting contact number Active CN107295144B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710568990.2A CN107295144B (en) 2017-07-13 2017-07-13 Method and device for deleting contact number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710568990.2A CN107295144B (en) 2017-07-13 2017-07-13 Method and device for deleting contact number

Publications (2)

Publication Number Publication Date
CN107295144A CN107295144A (en) 2017-10-24
CN107295144B true CN107295144B (en) 2020-07-03

Family

ID=60100759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710568990.2A Active CN107295144B (en) 2017-07-13 2017-07-13 Method and device for deleting contact number

Country Status (1)

Country Link
CN (1) CN107295144B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108124044A (en) * 2017-12-15 2018-06-05 维沃移动通信有限公司 Book management method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6633741B1 (en) * 2000-07-19 2003-10-14 John G. Posa Recap, summary, and auxiliary information generation for electronic books
CN102480549A (en) * 2010-11-24 2012-05-30 康佳集团股份有限公司 Method and mobile phone capable of selectively storing address book
CN103533138A (en) * 2013-11-06 2014-01-22 珠海市魅族科技有限公司 Method and mobile terminal for deleting phone number
CN106027758A (en) * 2016-04-28 2016-10-12 乐视控股(北京)有限公司 Temporary contact person management method and system

Also Published As

Publication number Publication date
CN107295144A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
CN105843615B (en) Notification message processing method and device
CN105069073B (en) Contact information recommendation method and device
CN107025419B (en) Fingerprint template inputting method and device
CN109600303B (en) Content sharing method and device and storage medium
RU2645282C2 (en) Method and device for calling via cloud-cards
EP3136697B1 (en) Contact record processing method and apparatus
CN110674343A (en) Account information processing method and device, server and terminal
CN108011990B (en) Contact management method and device
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN107493366B (en) Address book information updating method and device and storage medium
CN104850643B (en) Picture comparison method and device
US10263925B2 (en) Method, device and medium for sending message
CN109246184B (en) Time information acquisition method and device and readable storage medium
CN109842543B (en) Instant messaging method and device and instant messaging message storage method and device
CN106506808B (en) Method and device for prompting communication message
CN110764847B (en) User information processing method, device, electronic equipment and storage medium
CN110690979B (en) Group message processing method, device, server, client and storage medium
CN107295144B (en) Method and device for deleting contact number
US20170147593A1 (en) Contact managing method and apparatus, and storage medium
CN107169042B (en) Method and device for sharing pictures and computer readable storage medium
CN106155696B (en) Method and device for deleting information
CN109246322B (en) Information processing method and system
CN113031837B (en) Content sharing method and device, storage medium, terminal and server
CN109067959B (en) Address book management method and device
CN111104014B (en) Method, device, terminal and storage medium for starting application program

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
GR01 Patent grant
GR01 Patent grant