CN107241480B - Information processing method and device - Google Patents
Information processing method and device Download PDFInfo
- Publication number
- CN107241480B CN107241480B CN201710465304.9A CN201710465304A CN107241480B CN 107241480 B CN107241480 B CN 107241480B CN 201710465304 A CN201710465304 A CN 201710465304A CN 107241480 B CN107241480 B CN 107241480B
- Authority
- CN
- China
- Prior art keywords
- target
- name
- contact
- telephone
- identity
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
- H04M1/27453—Directories allowing storage of additional subscriber data, e.g. metadata
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
- H04M1/27453—Directories allowing storage of additional subscriber data, e.g. metadata
- H04M1/27457—Management thereof, e.g. manual editing of data
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Library & Information Science (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The present disclosure provides an information processing method and device, wherein the information processing method is applied to a local terminal phone, and the local terminal phone stores an address book and K pieces of mapping information corresponding to K contacts in the address book one by one; one piece of mapping information comprises an identity distributed for one contact person, and a contact person name and a telephone number bound with the identity; the information processing method comprises the following steps: acquiring a target number; the target number is a telephone number of an opposite terminal telephone, stored mapping information is inquired, a target identity is determined according to the target number, and a target name is determined according to the target identity; and outputting the target person name when the opposite-end contact person name is output. The local terminal phone determines and outputs the opposite-end contact name according to the mapping information, and even if the phone number of the opposite-end communication contact in the address book is deleted, the determination and the output of the opposite-end contact name are not influenced.
Description
Technical Field
The present disclosure relates to the field of information technologies, and in particular, to a method and an apparatus for processing information.
Background
When the phone number of the contact B in the mobile phone address book of the user A is changed, the user A usually deletes the old number of the contact B when storing the new number of the contact B, and at the moment, if the contact B still contacts the user A through the old number, the mobile phone of the user A displays that the old number of the contact B is a strange number, so that the user A is very inconvenient to search short message records and call records, and the use experience of the user is influenced.
Disclosure of Invention
The embodiment of the disclosure provides an information processing method and device, and the technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, an information processing method is provided, which is applied to a home terminal phone, where the home terminal phone stores an address book and K pieces of mapping information corresponding to K contacts in the address book one to one; the mapping information comprises an identity distributed for a contact person, a contact person name bound with the identity and a telephone number;
the method comprises the following steps:
acquiring a target number; the target number is a telephone number of an opposite-end telephone, and the opposite-end telephone is a telephone which is communicated with the local-end telephone through short messages or telephones;
inquiring stored mapping information, determining a target identity according to the target number, and determining a target name according to the target identity; the target identity is an identity bound with the target number, and the target person name is a contact name bound with the target identity;
and outputting the target person name when the opposite-end contact person name is output.
In the technical scheme provided by the disclosure, the local terminal phone determines and outputs the opposite terminal contact name according to the mapping information.
For example, in the short message record, the name of the opposite-end contact refers to the name of the recipient or the name of the sender of the short message. The mapping information allocates an identity identifier for a communication opposite-end contact person in advance, when the short message of the contact person is received or the short message is sent to the contact person, firstly, the mapping information is inquired according to the telephone number of the contact person, the identity identifier bound with the telephone number is determined, the contact person name bound with the identity identifier is further determined, and the contact person name is used as an opposite-end contact person name to be displayed in a short message record.
Because the local terminal phone determines the name of the opposite-end contact according to the mapping information, even if the phone number of the opposite-end communication contact in the address book is deleted, the local terminal phone is not influenced to determine and output the name of the opposite-end contact, and therefore a user can still conveniently check the incoming and outgoing short messages with the opposite-end contact in the short message record after deleting the phone number of the opposite-end communication contact.
In one embodiment, the name of the telephone contact is displayed as the name of the target person in the call record of the opposite terminal telephone.
After the user deletes the telephone number of the opposite-end contact person, the user can still conveniently check the incoming and outgoing telephone records of the opposite-end contact person in the call records.
In one embodiment, when the telephone of the opposite terminal is received, the name of the incoming call contact person is displayed as the name of the target person.
After the user deletes the telephone number of the opposite-end contact person, when the user receives the telephone of the opposite-end contact person, the telephone of the local terminal can still display the name of the opposite-end contact person when the incoming call is displayed.
In one embodiment, further comprising:
when a contact is newly built, distributing a corresponding identity for the newly built contact;
acquiring the name and the telephone number of the newly-built contact person;
and generating and storing mapping information corresponding to the newly-built contact person according to the identity, the contact person name and the telephone number of the newly-built contact person.
When a new contact is added in the address book, the mapping information corresponding to the new contact is generated and stored, and the contact name of the new contact can be displayed in the communication record of the new contact.
In one embodiment, further comprising:
and when the contact name of one contact is updated, updating the contact name in the mapping information corresponding to the contact.
And changing the contact name of one contact in the address list, wherein the contact name of the contact in the mapping information is correspondingly changed. The contact names in the mapping information and the contact names in the communication are kept synchronous.
In one embodiment, further comprising:
when a telephone number is newly added to a contact person, the newly added telephone number is bound with the identity allocated to the contact person.
And when a telephone number is newly added to one contact in the address list, the telephone number is bound with the identity corresponding to the contact in the mapping information. When the opposite terminal phone is contacted with the home terminal phone through the newly added phone number, the home terminal phone can determine the contact name of the opposite terminal as the contact name of the contact according to the newly established binding relationship.
In one embodiment, when a telephone number and more than one id are respectively bound, the determining the target id according to the target number includes:
and determining one identity identifier which is bound with the one telephone number at the latest time as a target identity identifier in more than one identity identifiers bound with the one telephone number.
When a user newly adds a telephone number to a contact person in the address list, a binding relationship between the identity and the telephone number is newly added in the mapping information. One telephone number and more than one identification are respectively bound, which is usually caused by misoperation of a user.
For example, a user first stores a phone number under one contact in the address book, then finds that the phone number was stored incorrectly so that the originally stored phone number was deleted, and then stores the phone number under another contact. In this case, the time sequence of the binding is established according to the identity and the telephone number, and the binding relationship established at last is used as the standard.
In one embodiment, further comprising:
when determining that one telephone number and two identification marks are respectively bound, unbinding the one telephone number and the identification mark which is earlier than the one telephone number in binding time.
When a user newly adds a telephone number to a contact person in the address list, a binding relationship between the identity and the telephone number is newly added in the mapping information. When the same telephone number is determined to be respectively bound with different identity marks, the binding relationship established earlier is successively unbound according to the time for establishing the binding, so that one telephone number is only bound with one identity mark.
According to a second aspect of the embodiments of the present disclosure, there is provided an information processing apparatus, serving as a local phone, including:
the mapping module stores an address list and K pieces of mapping information which correspond to K contacts in the address list one by one; the mapping information comprises an identity distributed for a contact person, a contact person name bound with the identity and a telephone number;
the acquisition module is used for acquiring a target number; the target number is a telephone number of an opposite-end telephone, and the opposite-end telephone is a telephone which is communicated with the local-end telephone through short messages or telephones;
the query module is used for querying stored mapping information, determining a target identity according to the target number and determining a target name according to the target identity; the target identity is an identity bound with the target number, and the target person name is a contact name bound with the target identity;
and the output module is used for outputting the target person name when the opposite-end contact person name is output.
In one embodiment, the output module includes a short message record output for displaying a short message contact name as the target name in a short message record of the opposite terminal phone;
or the output module comprises call record output and is used for displaying the name of the telephone contact person as the name of the target person in the call record of the opposite terminal telephone;
or the output module comprises a caller identification output used for displaying the name of the caller contact as the name of the target person when receiving the telephone of the opposite terminal.
In one embodiment, further comprising:
the identity identification management module is used for distributing corresponding identity identification for the newly-built contact person when the contact person is newly built;
the input module is used for acquiring the name and the telephone number of the newly-built contact person;
and the data management module is used for generating and storing mapping information corresponding to the newly-built contact person according to the identity, the contact person name and the telephone number of the newly-built contact person.
In one embodiment, the data management module comprises:
and the data updating is used for updating the contact name in the mapping information corresponding to one contact when the contact name of the contact is updated.
In one embodiment, the data management module comprises:
and the data binding is used for binding the newly added telephone number with the identity allocated to the contact person when the telephone number is newly added to the contact person.
In one embodiment, the query module includes an id query module, configured to determine, when one phone number and more than one ids are respectively bound, one id bound with the one phone number with the latest binding time as the target id, among the more than one ids bound with the one phone number.
In one embodiment, the data management module further comprises:
and the data unbinding is used for unbinding one telephone number and one identification mark which is earlier than the binding time of the one telephone number when the one telephone number and the two identification marks are determined to be respectively bound.
According to a third aspect of the embodiments of the present disclosure, there is provided an information processing apparatus including:
a processor and a memory;
the memory stores processor executable instructions, an address list and K pieces of mapping information which correspond to K contacts in the address list one by one; the mapping information comprises an identity distributed for a contact person, a contact person name bound with the identity and a telephone number;
the processor is configured to:
acquiring a target number; the target number is a telephone number of an opposite-end telephone, and the opposite-end telephone is a telephone which is communicated with the local-end telephone through short messages or telephones;
inquiring stored mapping information, determining a target identity according to the target number, and determining a target name according to the target identity; the target identity is an identity bound with the target number, and the target person name is a contact name bound with the target identity;
and outputting the target person name when the opposite-end contact person name is output.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method provided by the first aspect.
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 an illustrative diagram showing mapping information in accordance with an example embodiment.
FIG. 2 is a flow diagram illustrating a method of information processing according to an example embodiment.
FIG. 3 is a flow diagram illustrating a method of information processing according to an example embodiment.
FIG. 4 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 5 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 9 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 10 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 11 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 12 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 13 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Fig. 14 is a block diagram illustrating a terminal device 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.
The technical scheme provided by the embodiment of the disclosure relates to two ends capable of communicating through a telephone or a short message, and the embodiment of the disclosure is respectively referred to as a 'local terminal telephone' and an 'opposite terminal telephone'. The information processing method is used for the local phone. When the local telephone and the opposite telephone communicate through short messages, the local telephone can be a receiver or a sender. When the local telephone and the opposite telephone are in telephone communication, the local telephone can be a calling party or a called party.
The telephone at the home terminal stores an address book, and the address book comprises a plurality of contacts (English). The contact includes a contact name and a telephone number, and one contact may have more than one telephone number.
For convenience of description, in the embodiment of the present disclosure, the contact person S and the contact person D are used to refer to two contact persons, the contact names of the contact person S and the contact person D are "contact name S" and "contact name D", respectively, and the telephone numbers include "telephone number S" and "telephone number D", respectively.
Taking the case that the local terminal and the opposite terminal communicate through short messages as an example, in the related art, when the phone number of the contact person S is changed, if the local terminal deletes the phone number S in the address book (including only deleting the phone number S, covering the phone number S with a new phone number, or deleting the contact person S), the local terminal displays that the phone number S is a strange number, and displays that the receiver or the sender of the short message is the phone number S instead of the contact person name S in the short message record of the contact person S.
Referring to fig. 1, in the solution provided by the present disclosure, a home phone stores K pieces of mapping information, where K is greater than or equal to 1. The K pieces of mapping information correspond to K contact persons in the address list one by one. One piece of mapping information comprises an identity allocated to one contact, a contact name bound with the identity and a telephone number. The binding relationships are represented in FIG. 1 by dashed lines. And the corresponding identification marks of different contacts are different, and the local terminal phone identifies different contacts according to the identification marks in the mapping information.
Taking the contact S as an example, the contact S corresponds to a piece of mapping information, and the piece of mapping information includes an identity S, a contact name S, and a phone number S. The contact name S and the telephone number S are both bound with the identity identification S.
In one piece of mapping information, the number of telephone numbers bound with the identity can be more than 1, and the telephone numbers comprise the current telephone number of the contact in the address list and the deleted old telephone number. Referring to fig. 1, the mapping information corresponding to the contact S further includes a phone number S 'bound to the identity S, where the phone number S' is an old phone number of the contact S in the address book that has been deleted.
Taking the short message record as an example, when the phone number of the receiver or the phone number of the sender in the short message record is the phone number S ', the local terminal phone determines the identity bound to the phone number S' as the identity S by inquiring the mapping information, further determines the contact name bound to the identity S as the contact name S, and then displays the contact name of the sender or the receiver as the contact name S.
Therefore, after the telephone of the home terminal deletes the telephone number S 'in the address list, the contact name S is still displayed in the short message record of the contact S instead of the telephone number S', so that the user can conveniently check the short message to and from the contact S.
Fig. 2 is a flowchart illustrating a method of processing information, which is applied to a local phone that stores an address book and K pieces of mapping information corresponding to K contacts in the address book in a one-to-one manner, according to an exemplary embodiment; the mapping information comprises an identity distributed for one contact, a contact name bound with the identity and a telephone number. The information processing method comprises the steps of 201-203:
in step 201, a destination number is obtained.
The target number is the telephone number of the opposite terminal telephone, and the opposite terminal telephone is the telephone which communicates with the local terminal telephone through short messages or telephones.
Under the condition that the opposite terminal phone communicates with the home terminal phone through the short message, the mode of acquiring the target number includes but is not limited to:
when the user manually inputs the telephone number of the receiver, the telephone set of the home terminal determines that the telephone number input by the user is the target number. When a user receives a short message sent by an opposite-end phone, the local-end phone determines that a sender phone number is a target number. The telephone set at the home terminal determines the telephone numbers of the receiver and the sender in the existing short message record as the target numbers.
Under the condition that the opposite terminal phone communicates with the local terminal phone through the phone, the method for acquiring the target number includes but is not limited to:
when the user manually inputs the called telephone number, the local telephone determines that the telephone number input by the user is the target number. When the local telephone receives the telephone of the opposite telephone, the local telephone determines that the calling telephone number is the target number. The telephone at the home terminal determines the calling telephone number and the called telephone number in the existing call record as target numbers.
In step 202, stored mapping information is queried, a target identity is determined according to the target number, and a target name is determined according to the target identity.
One piece of mapping information comprises an identity allocated to one contact, a contact name bound with the identity and a telephone number. Referring to an arrow in fig. 1, when the target number is a telephone number S ', the local telephone queries mapping information, determines that the identity bound to the telephone number S' is an identity S, further determines that the contact name bound to the target identity is a contact name S with the identity S as the target identity, and the contact name S is the target name.
In step 203, the target person name is output when the opposite-end contact name is output.
And under the condition that the opposite-end phone communicates with the home-end phone through the short message, the contact name of the opposite-end phone refers to the receiver name or the sender name of the short message.
For example, when the opposite terminal phone is in short message contact with the local terminal phone through the phone number S or the phone number S', the name of the sender of the short message is displayed as the contact name S when the short message sent by the opposite terminal phone is received. Or when the short message is sent to the opposite terminal phone, the name of the short message recipient is displayed as the contact name S.
And the local terminal phone determines the contact name of the opposite terminal according to the mapping information, and displays the receiver name of the short message or the sender name as the contact name S. After deleting the telephone number S', the user can still conveniently check the short messages to and from the contact S in the short message record.
And under the condition that the opposite-end phone communicates with the home-end phone through the phone, the opposite-end contact name refers to a calling-party contact name or a called-party contact name.
For example, in the case that the opposite terminal phone is in phone contact with the local terminal phone through the phone number S or the phone number S', the contact name of the calling party or the contact name of the called party is displayed as the contact name S in the call record of the opposite terminal phone.
And the local terminal phone determines the contact name of the opposite terminal according to the mapping information and displays the contact name of the calling party or the called party of the phone as a contact name S. After deleting the telephone number S', the user can still conveniently view the incoming and outgoing telephone records with the contact S in the call record.
For another example, when an incoming call from the opposite terminal is received, the contact name of the calling party is displayed as the contact name S on the incoming call display interface. After deleting the telephone number S ', when receiving a call dialed by an opposite terminal through the telephone number S', the local terminal still displays the contact name of the calling party as the contact name S when displaying the incoming call.
According to the information processing method provided by the embodiment of the disclosure, the local terminal determines and outputs the opposite-end contact name according to the mapping information, and even if the telephone number of the opposite-end communication contact in the address book is deleted, the determination and the output of the opposite-end contact name are not influenced, so that a user can still check the incoming and outgoing short messages with the opposite-end contact in the short message record after deleting the telephone number of the opposite-end communication contact, check the incoming and outgoing calls with the opposite-end communication contact in the call record, and know the name of the calling party contact according to the incoming call display when receiving the telephone of the opposite-end communication contact.
Based on the method for processing information provided by the embodiment corresponding to fig. 2, fig. 3 is a flowchart illustrating a method for processing information according to an exemplary embodiment, and the embodiment corresponding to fig. 3 further illustrates the generation and update processes of mapping information. The content of some steps is the same as or similar to the steps in the corresponding embodiment of fig. 2, and only the differences in the steps will be described in detail below. Referring to fig. 3, the method for processing information provided by the present embodiment includes steps 301-308:
in step 301, an identity is assigned to the contact.
The contact person S and the contact person D are any two contact persons in the address list of the local terminal phone, the local terminal phone allocates an identity for the contact person S and records the identity as the identity S, and allocates an identity for the contact person D and records the identity as the identity D. Identity S is not repeated with identity D.
In one embodiment, when a contact is newly established in the address book, the local phone allocates a corresponding identity to the newly established contact.
In step 302, mapping information corresponding to the contact is generated and saved.
The local terminal phone determines the contact name and the phone number of a contact according to the address book, binds the contact name and the phone number with the identity allocated to the contact respectively, and stores the established identity, contact name and phone number as mapping information corresponding to the contact.
In one embodiment, when a contact is newly established in the address book, the local phone generates and stores mapping information corresponding to the newly established contact.
In step 303, the contact name in the mapping information corresponding to the contact is updated.
And when the contact name of the contact S in the address book is updated, the contact name bound by the identity mark S is correspondingly updated. And the contact names in the address list and the contact names in the mapping information keep synchronous.
In step 304, the identity of the contact binds to multiple phone numbers.
When a contact in the address list newly adds a telephone number, the telephone at the home terminal binds the newly added telephone number with the identity allocated to the contact, and then one identity can bind a plurality of telephone numbers. For example, the initial phone number of the contact S in the address book is the phone number S ', and then the phone number S is newly added (covering the phone number S ' or existing together with the phone number S '). The telephone number S' and the telephone number S in the mapping information are both bound with the identity S.
In particular, when the contact S newly adds a phone number, the update of the mapping information corresponding to the contact S is triggered. When the existing telephone number of the contact person S is deleted, the updating of the mapping information corresponding to the contact person S is not triggered. For example, when the phone number S 'in the address book is deleted, the phone number S' and the phone number S in the mapping information are still bound to the identity S.
In step 305, the identity of the contact is unbundled from the phone number.
Step 305 is an optional step.
When a telephone number and two identification marks are determined to be respectively bound, the telephone number is unbound with an identification mark which is earlier in binding time with the telephone number.
For example, the user first saves the telephone number S 'under the contact D, then finds that the telephone number S' under the contact D was missed, deletes the telephone number S 'under the contact D, and then saves the telephone number S' under the contact S. The telephone number S 'is firstly bound with the identity D and then bound with the identity S, and under the condition, the telephone set at the home terminal unbinds the telephone number S' from the identity D. That is, in the case that one phone number is bound to a plurality of ids, only one binding relationship that is established last is retained.
In step 306, the destination number is obtained.
The same as step 201 in the corresponding embodiment of fig. 1, and will not be described herein again.
In step 307, the stored mapping information is queried, the target identity is determined according to the target number, and the name of the target person is determined according to the target identity.
In embodiments that do not perform optional step 305, there may be cases where the destination number and multiple identities are bound separately. In this case, the local phone determines, from the more than one id bound to the target number, the id bound with the target number at the latest time as the target id.
For example, the telephone number S 'is bound to two identifiers, and the telephone number S' is bound to the identifier D first and then bound to the identifier S. In this case, the local telephone determines the identity S as the target identity.
In the embodiment of optional step 305, the destination number is bound to only one identity at a time, and the local phone uses the one identity as the destination identity.
In step 308, the target person name is output when the correspondent contact name is output.
The same as step 203 in the corresponding embodiment of fig. 1, and will not be described herein again.
According to the information processing method provided by the embodiment of the disclosure, the local terminal determines and outputs the opposite-end contact name according to the mapping information, and even if the telephone number of the opposite-end communication contact in the address book is deleted, the determination and the output of the opposite-end contact name are not influenced, so that a user can still check the incoming and outgoing short messages with the opposite-end contact in the short message record after deleting the telephone number of the opposite-end communication contact, check the incoming and outgoing calls with the opposite-end communication contact in the call record, and know the name of the calling party contact according to the incoming call display when receiving the telephone of the opposite-end communication contact.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 4 is a block diagram of an electronic device according to an exemplary embodiment, which may implement part or all of its functions through software, hardware or a combination of both, and is used as a local phone for executing the method of information processing described in the embodiments corresponding to fig. 2 and 3. As shown in fig. 4, the electronic apparatus 40 includes:
the mapping module 401 stores the address list and K pieces of mapping information corresponding to K contacts in the address list one by one; the mapping information comprises an identity distributed for a contact person, a contact person name bound with the identity and a telephone number;
an obtaining module 402, configured to obtain a target number; the target number is the telephone number of the opposite terminal telephone, and the opposite terminal telephone is a telephone which is communicated with the local terminal telephone through short messages or telephones;
the query module 403 is configured to query stored mapping information, determine a target identity according to the target number, and determine a target name according to the target identity; the target identity is an identity bound with a target number, and the target name is a contact name bound with the target identity;
and an output module 404, configured to output the target person name when the opposite-end contact name is output.
As shown in fig. 5, in an embodiment, the output module 404 includes a short message record output sub-module 4041, configured to display the short message contact name as the target person name in the short message record of the peer-to-peer phone.
As shown in fig. 6, in one embodiment, the output module 404 includes a call record output sub-module 4042, which is configured to display the name of the telephone contact as the target name in the call record with the peer telephone.
As shown in fig. 7, in one embodiment, the output module 404 includes a caller id output sub-module 4043, which is configured to display the caller id as the target name when a call is received from the opposite phone.
As shown in fig. 8, in one embodiment, the method further includes:
the identity management module 405 is configured to, when a contact is newly created, assign a corresponding identity to the newly created contact;
the entry module 406 is used for acquiring the name and the phone number of the newly-built contact;
and the data management module 407 is configured to generate and store mapping information corresponding to the newly-built contact according to the identity, the contact name, and the phone number of the newly-built contact.
As shown in FIG. 9, in one embodiment, the data management module 407 includes:
the data updating sub-module 4071 is configured to update the contact name in the mapping information corresponding to a contact when the contact name of the contact is updated.
As shown in FIG. 10, in one embodiment, the data management module 407 includes:
the data binding sub-module 4072 is configured to, when a phone number is newly added to a contact, bind the newly added phone number with the identity allocated to the contact.
As shown in fig. 11, in one embodiment, the query module 403 includes an id query submodule 4031, configured to determine, when one phone number and more than one ids are respectively bound, one id bound with one phone number with the latest time as a target id among the more than one ids bound with the one phone number.
As shown in fig. 12, in one embodiment, the data management module 407 further includes:
the data unbinding module 4073 is configured to, when it is determined that one phone number and two ids are respectively bound, unbind one phone number from one id that is earlier in binding time with the one phone number.
According to the electronic equipment provided by the embodiment of the disclosure, the opposite-end contact name is determined and output according to the mapping information, even if the telephone number of the opposite-end communication contact in the address book is deleted, the determination and the output of the opposite-end contact name are not influenced, so that a user can still check the incoming and outgoing short messages with the opposite-end communication contact in the short message record after deleting the telephone number of the opposite-end communication contact, check the incoming and outgoing calls with the opposite-end communication contact in the call record, and know the calling-party contact name according to the incoming call display when receiving the telephone of the opposite-end communication contact.
Fig. 13 is a block diagram of an electronic device according to an exemplary embodiment, which may be implemented by software, hardware or a combination of the two to be a part or all of the electronic device, and the electronic device is configured to perform the method of information processing described in the embodiments corresponding to fig. 2 and 3. As shown in fig. 13, the electronic device 130 includes:
a processor 1301 and a memory 1302;
the memory 1302 stores processor executable instructions, an address book, and K pieces of mapping information corresponding to K contacts in the address book one by one; the mapping information comprises an identity distributed for a contact person, a contact person name bound with the identity and a telephone number;
the processor 1301 is configured to:
acquiring a target number; the target number is the telephone number of the opposite terminal telephone, and the opposite terminal telephone is a telephone which is communicated with the local terminal telephone through short messages or telephones;
inquiring stored mapping information, determining a target identity according to a target number, and determining a target name according to the target identity; the target identity is an identity bound with a target number, and the target name is a contact name bound with the target identity;
and outputting the target person name when outputting the opposite-end contact person name.
In one embodiment, the processor 1301 may be further configured to:
and displaying the name of the short message contact person as the name of the target person in the short message record of the opposite terminal phone.
In one embodiment, the processor 1301 may be further configured to:
and displaying the name of the telephone contact as the name of the target person in the call record with the opposite terminal telephone.
In one embodiment, the processor 1301 may be further configured to:
and when receiving the telephone of the opposite terminal, displaying the name of the incoming call contact person as the name of the target person.
In one embodiment, the processor 1301 may be further configured to:
when a contact is newly built, distributing a corresponding identity for the newly built contact;
acquiring the name and the telephone number of the newly-built contact person;
and generating and storing mapping information corresponding to the newly-built contact person according to the identity, the contact person name and the telephone number of the newly-built contact person.
In one embodiment, the processor 1301 may be further configured to:
and when the contact name of one contact is updated, updating the contact name in the mapping information corresponding to the contact.
In one embodiment, the processor 1301 may be further configured to:
when a telephone number is newly added to a contact person, the newly added telephone number is bound with the identity allocated to the contact person.
In one embodiment, the processor 1301 may be further configured to:
when a telephone number and more than one identification are respectively bound, the target identification is determined according to the target number, comprising the following steps:
and determining one identity which is bound with one telephone number at the latest time as a target identity from more than one identities bound with one telephone number.
In one embodiment, the processor 1301 may be further configured to:
when a telephone number and two identification marks are respectively bound, one telephone number and one identification mark which is earlier in binding time with the telephone number are unbound.
According to the electronic equipment provided by the embodiment of the disclosure, the opposite-end contact name is determined and output according to the mapping information, even if the telephone number of the opposite-end communication contact in the address book is deleted, the determination and the output of the opposite-end contact name are not influenced, so that a user can still check the incoming and outgoing short messages with the opposite-end communication contact in the short message record after deleting the telephone number of the opposite-end communication contact, check the incoming and outgoing calls with the opposite-end communication contact in the call record, and know the calling-party contact name according to the incoming call display when receiving the telephone of the opposite-end communication contact.
The electronic device provided in the embodiment of the present disclosure may be a terminal device as shown in fig. 14, fig. 14 is a block diagram of a terminal device shown according to an exemplary embodiment, the terminal device 140 may be a smart phone, a tablet computer, and the like, and the terminal device 140 is configured to execute the information processing method described in the embodiments corresponding to fig. 2 and fig. 3.
The processing component 1401 generally controls the overall operation of the terminal device 140, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. Processing components 1401 may include one or more processors 14011 to execute instructions to perform all or part of the steps of the methods described above. Further, processing component 1401 may include one or more modules that facilitate interaction between processing component 1401 and other components. For example, processing component 1401 may include a multimedia module to facilitate interaction between multimedia component 1404 and processing component 1401.
The memory 1402 is configured to store various types of data to support operations at the terminal device 140. Examples of such data include instructions for any application or method operating on terminal device 140, contact data, phonebook data, messages, pictures, videos, and so forth. The Memory 1402 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read Only Memory (EPROM), a Programmable Read Only Memory (PROM, ROM), a Read Only Memory (ROM), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.
The power components 1403 provide power for the various components of the terminal device 140. The power components 1403 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the end device 140.
The multimedia component 1404 includes a screen providing an output interface between the terminal device 140 and the 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 1404 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 terminal device 140 is in an operation mode, such as a shooting 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 1405 is configured to output and/or input an audio signal. For example, the audio component 1405 includes a Microphone (MIC) configured to receive external audio signals when the terminal device 140 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1402 or transmitted via the communication component 1408. In some embodiments, audio component 1405 further includes a speaker for outputting audio signals.
I/O interface 1406 provides an interface between processing component 1401 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 component 1407 includes one or more sensors for providing status assessment of various aspects to the terminal device 140. For example, sensor component 1407 can detect an open/closed state of terminal device 140, the relative positioning of components, such as a display and keypad of terminal device 140, sensor component 1407 can also detect a change in the position of terminal device 140 or a component of terminal device 140, the presence or absence of user contact with terminal device 140, orientation or acceleration/deceleration of terminal device 140, and a change in the temperature of terminal device 140. The sensor component 1407 can include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. Sensor assembly 1407 may also include a photosensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1407 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1408 is configured to facilitate communications between the terminal device 140 and other devices in a wired or wireless manner. The terminal device 140 may access a Wireless network based on a communication standard, such as Wireless Fidelity (WiFi), 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1408 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 1408 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 terminal Device 140 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, microcontrollers, microprocessors or other electronic components for performing the information Processing methods described in the embodiments corresponding to fig. 2 and 3.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 1402 including instructions executable by processing component 1401 of terminal device 140 to perform the above-described method. 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. When the instructions in the storage medium are executed by the processing component 1401 of the terminal device 140, the terminal device 140 is enabled to execute the method of information processing described in the embodiments corresponding to fig. 2 and fig. 3, the method includes:
the local terminal phone stores an address book and K pieces of mapping information which are in one-to-one correspondence with K contacts in the address book; the mapping information comprises an identity distributed for a contact person, a contact person name bound with the identity and a telephone number;
the method comprises the following steps:
acquiring a target number; the target number is the telephone number of the opposite terminal telephone, and the opposite terminal telephone is a telephone which is communicated with the local terminal telephone through short messages or telephones;
inquiring stored mapping information, determining a target identity according to a target number, and determining a target name according to the target identity; the target identity is an identity bound with a target number, and the target name is a contact name bound with the target identity;
and outputting the target person name when outputting the opposite-end contact person name.
In one embodiment, the method comprises:
and displaying the name of the short message contact person as the name of the target person in the short message record of the opposite terminal phone.
In one embodiment, the method comprises: and displaying the name of the telephone contact as the name of the target person in the call record with the opposite terminal telephone.
In one embodiment, the method comprises: and when receiving the telephone of the opposite terminal, displaying the name of the incoming call contact person as the name of the target person.
In one embodiment, the method comprises:
when a contact is newly built, distributing a corresponding identity for the newly built contact;
acquiring the name and the telephone number of the newly-built contact person;
and generating and storing mapping information corresponding to the newly-built contact person according to the identity, the contact person name and the telephone number of the newly-built contact person.
In one embodiment, the method comprises:
and when the contact name of one contact is updated, updating the contact name in the mapping information corresponding to the contact.
In one embodiment, the method comprises:
when a telephone number is newly added to a contact person, the newly added telephone number is bound with the identity allocated to the contact person.
In one embodiment, the method comprises:
when a telephone number and more than one identification are respectively bound, the target identification is determined according to the target number, comprising the following steps:
and determining one identity which is bound with one telephone number at the latest time as a target identity from more than one identities bound with one telephone number.
In one embodiment, the method comprises:
when a telephone number and two identification marks are respectively bound, one telephone number and one identification mark which is earlier in binding time with the telephone number are unbound.
According to the terminal device and the storage medium provided by the embodiment of the disclosure, the opposite-end contact name is determined and output according to the mapping information, even if the telephone number of the opposite-end communication contact in the address list is deleted, the determination and the output of the opposite-end contact name are not influenced, so that a user can still check the incoming and outgoing short messages with the opposite-end contact in the short message record after deleting the telephone number of the opposite-end communication contact, check the incoming and outgoing calls with the opposite-end communication contact in the call record, and know the name of the calling-party contact according to the incoming call display when receiving the telephone of the opposite-end communication contact.
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 (14)
1. An information processing method is applied to a local telephone and is characterized in that,
the local terminal phone stores an address book and K pieces of mapping information which correspond to K contacts in the address book one by one; the mapping information comprises an identity distributed for a contact person, a contact person name bound with the identity and a telephone number;
the method comprises the following steps:
acquiring a target number; the target number is a telephone number of an opposite-end telephone, the opposite-end telephone is a telephone which is communicated with a home-end telephone through short messages or telephones, and the target number is a telephone number of the opposite-end telephone which is stored before and deleted currently;
inquiring stored mapping information, determining a target identity according to the target number, and determining a target name according to the target identity; the target identity is an identity bound with the target number, and the target person name is a contact name bound with the target identity;
outputting the target person name when outputting the opposite-end contact person name;
the determining the target identity according to the target number comprises:
and when the number of the identification marks bound with the target number is more than one, determining that the identification mark bound with the target number at the latest time is the target identification mark.
2. The method of claim 1, wherein outputting the target person name when outputting the opposite-end contact name comprises:
displaying a short message contact name as the target name in a short message record of the opposite terminal phone;
or, in the call record with the opposite terminal telephone, displaying the name of the telephone contact person as the target name;
or when receiving the telephone of the opposite terminal telephone, displaying the name of the incoming call contact person as the name of the target person.
3. The method of claim 1, further comprising:
when a contact is newly built, distributing a corresponding identity for the newly built contact;
acquiring the name and the telephone number of the newly-built contact person;
and generating and storing mapping information corresponding to the newly-built contact person according to the identity, the contact person name and the telephone number of the newly-built contact person.
4. The method of claim 3, further comprising:
and when the contact name of one contact is updated, updating the contact name in the mapping information corresponding to the contact.
5. The method of claim 3, further comprising:
when a telephone number is newly added to a contact person, the newly added telephone number is bound with the identity allocated to the contact person.
6. The method of claim 5, further comprising:
when determining that one telephone number and two identification marks are respectively bound, unbinding the one telephone number and the identification mark which is earlier than the one telephone number in binding time.
7. An information processing apparatus serving as a local telephone, comprising:
the mapping module stores an address list and K pieces of mapping information which correspond to K contacts in the address list one by one; the mapping information comprises an identity distributed for a contact person, a contact person name bound with the identity and a telephone number;
the acquisition module is used for acquiring a target number; the target number is a telephone number of an opposite-end telephone, the opposite-end telephone is a telephone which is communicated with a home-end telephone through short messages or telephones, and the target number is a telephone number of the opposite-end telephone which is stored before and deleted currently;
the query module is used for querying stored mapping information, determining a target identity according to the target number and determining a target name according to the target identity; the target identity is an identity bound with the target number, and the target person name is a contact name bound with the target identity;
the output module is used for outputting the target person name when the opposite-end contact person name is output;
the query module is further configured to determine, when the number of identities bound to the target number is more than one, that the identity bound to the target number at the latest time is the target identity.
8. The apparatus of claim 7,
the output module comprises short message record output and is used for displaying a short message contact name as the target name in a short message record of the opposite terminal phone;
or the output module comprises call record output and is used for displaying the name of the telephone contact person as the name of the target person in the call record of the opposite terminal telephone;
or the output module comprises a caller identification output used for displaying the name of the caller contact as the name of the target person when receiving the telephone of the opposite terminal.
9. The apparatus of claim 7, further comprising:
the identity identification management module is used for distributing corresponding identity identification for the newly-built contact person when the contact person is newly built;
the input module is used for acquiring the name and the telephone number of the newly-built contact person;
and the data management module is used for generating and storing mapping information corresponding to the newly-built contact person according to the identity, the contact person name and the telephone number of the newly-built contact person.
10. The apparatus of claim 9, wherein the data management module comprises:
and the data updating is used for updating the contact name in the mapping information corresponding to one contact when the contact name of the contact is updated.
11. The apparatus of claim 9, wherein the data management module comprises:
and the data binding is used for binding the newly added telephone number with the identity allocated to the contact person when the telephone number is newly added to the contact person.
12. The apparatus of claim 11, wherein the data management module further comprises:
and the data unbinding is used for unbinding one telephone number and one identification mark which is earlier than the binding time of the one telephone number when the one telephone number and the two identification marks are determined to be respectively bound.
13. An information processing apparatus characterized by comprising:
a processor and a memory;
the memory stores processor executable instructions, an address list and K pieces of mapping information which correspond to K contacts in the address list one by one; the mapping information comprises an identity distributed for a contact person, a contact person name bound with the identity and a telephone number;
the processor is configured to:
acquiring a target number; the target number is a telephone number of an opposite-end telephone, the opposite-end telephone is a telephone which is communicated with a home-end telephone through short messages or telephones, and the target number is a telephone number of the opposite-end telephone which is stored before and deleted currently;
inquiring stored mapping information, determining a target identity according to the target number, and determining a target name according to the target identity; the target identity is an identity bound with the target number, and the target person name is a contact name bound with the target identity;
outputting the target person name when outputting the opposite-end contact person name;
the determining the target identity according to the target number comprises:
and when the number of the identification marks bound with the target number is more than one, determining that the identification mark bound with the target number at the latest time is the target identification mark.
14. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710465304.9A CN107241480B (en) | 2017-06-19 | 2017-06-19 | Information processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710465304.9A CN107241480B (en) | 2017-06-19 | 2017-06-19 | Information processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107241480A CN107241480A (en) | 2017-10-10 |
CN107241480B true CN107241480B (en) | 2020-11-10 |
Family
ID=59986353
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710465304.9A Active CN107241480B (en) | 2017-06-19 | 2017-06-19 | Information processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107241480B (en) |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5896444A (en) * | 1996-06-03 | 1999-04-20 | Webtv Networks, Inc. | Method and apparatus for managing communications between a client and a server in a network |
JP2008104003A (en) * | 2006-10-19 | 2008-05-01 | Nec Mobiling Ltd | Communication terminal device and control method for the same, and program |
CN1949927A (en) * | 2006-11-07 | 2007-04-18 | 深圳市杰特电信控股有限公司 | Method for identifying ID in mobile communication terminal |
CN101188636B (en) * | 2007-12-10 | 2010-09-01 | 中兴通讯股份有限公司 | A method for managing contact number at the communication terminal |
US9432502B2 (en) * | 2011-01-31 | 2016-08-30 | Facebook, Inc. | Caller identification using social network information |
CN102722428A (en) * | 2012-06-29 | 2012-10-10 | 北京小米科技有限责任公司 | Address book backup and recovery method and address book backup and recovery device |
CN103079001B (en) * | 2012-12-27 | 2014-11-19 | 东莞宇龙通信科技有限公司 | Method and device for displaying information of deleted contact by using mobile terminal |
CN105162937B (en) * | 2015-08-31 | 2018-04-06 | 小米科技有限责任公司 | Method for processing message of incoming call and device |
-
2017
- 2017-06-19 CN CN201710465304.9A patent/CN107241480B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107241480A (en) | 2017-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105430625B (en) | Communication information transfer method, apparatus and system | |
CN105100513B (en) | Method for processing message of incoming call and device, incoming call service server | |
CN104580637A (en) | Telephone number marking method, terminal and cloud server | |
CN105162982A (en) | Answering extension function display method and device | |
CN105072293A (en) | Number transmitting method, and number obtaining method and device | |
CN107147815B (en) | Call processing method and device based on taxi taking | |
CN104581667A (en) | Call forwarding method and device | |
CN111510556B (en) | Call information processing method and device and computer storage medium | |
CN105208089A (en) | Information display method, apparatus and system | |
CN108011990B (en) | Contact management method and device | |
CN105245705A (en) | Telephone prompting method and device | |
CN105744082B (en) | Processing method, device and the mobile terminal of message registration | |
CN105939424B (en) | Application switching method and device | |
CN105100352B (en) | Obtain the method and device of associated person information | |
CN105721283B (en) | Method, device and equipment for sending screenshot message | |
CN106506808B (en) | Method and device for prompting communication message | |
US10154128B2 (en) | Methods and apparatuses for interpreting a phone number | |
CN105338184A (en) | Call making method and apparatus | |
CN110121148B (en) | Interphone team method and device | |
CN106161808B (en) | Method and device for updating information of telephone number, terminal equipment and server | |
CN113692067B (en) | Device connection method and device and readable storage medium | |
CN106027735B (en) | Method and device for integrating communication numbers | |
CN107169042B (en) | Method and device for sharing pictures and computer readable storage medium | |
CN105100410A (en) | Method and device for aggregating third-party telephone application | |
CN107241480B (en) | Information processing method and device |
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 |