WO2017166671A1 - 电话号码翻译方法及装置 - Google Patents

电话号码翻译方法及装置 Download PDF

Info

Publication number
WO2017166671A1
WO2017166671A1 PCT/CN2016/097213 CN2016097213W WO2017166671A1 WO 2017166671 A1 WO2017166671 A1 WO 2017166671A1 CN 2016097213 W CN2016097213 W CN 2016097213W WO 2017166671 A1 WO2017166671 A1 WO 2017166671A1
Authority
WO
WIPO (PCT)
Prior art keywords
short message
incoming call
correspondence
caller number
smart device
Prior art date
Application number
PCT/CN2016/097213
Other languages
English (en)
French (fr)
Inventor
王硕
鲍协浩
杨万坤
Original Assignee
北京小米移动软件有限公司
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 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Publication of WO2017166671A1 publication Critical patent/WO2017166671A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/57Arrangements for indicating or recording the number of the calling subscriber at the called subscriber's set
    • H04M1/575Means for retrieving and displaying personal data about calling party
    • 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/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42025Calling or Called party identification service
    • H04M3/42034Calling party identification service
    • H04M3/42042Notifying the called party of information on the calling party
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42025Calling or Called party identification service
    • H04M3/42034Calling party identification service
    • H04M3/42059Making use of the calling party identifier

Definitions

  • the present disclosure relates to the field of information technology, and in particular, to a method and apparatus for translating a telephone number.
  • the call device when it receives an incoming call, it first queries the address book for the contact information corresponding to the caller number, and then displays the caller number and the contact information that is queried on the caller interface. For a caller number that is not commonly used, the caller number or the contact information of the caller number is not stored in the address book. In this case, only the caller number can be displayed on the caller interface of the call device, resulting in the call device. Ignore or reject the call by holding the contact information that the user cannot know the call.
  • the present disclosure provides a method and apparatus for translating a telephone number.
  • the technical solution is as follows:
  • a method for translating a phone number is provided, which is applied to a smart device, the method comprising:
  • the predetermined type information including at least name information
  • the name information is displayed as contact information of the incoming call number.
  • the technical solution provided by the first aspect of the embodiments of the present disclosure may include the following beneficial effects: by searching for a short message including an incoming call number in the short message content when receiving an incoming call, identifying the name information from the content of the short message, and using the name information as The contact information of the caller ID is displayed on the display interface of the incoming call; since the call device displays the caller ID and the name information corresponding to the caller ID read from the content of the short message when the call is received, therefore, Solve For an incoming call that does not store the caller number or the contact information of the caller number, only the caller number can be displayed on the caller interface of the call device, so that the user holding the call device cannot know the contact information of the call, and thus choose to ignore Or the problem of rejecting the call; if the caller who has not stored the caller number or the contact information of the caller number is reached, the contact information of the phone number is automatically displayed on the caller interface, so that the user can know the effect of the caller's object.
  • the identifying the predetermined type information from the content of the short message includes:
  • the optional technical solution provided by the first aspect of the embodiments of the present disclosure may include the following beneficial effects: determining the merchant identity by sending a correspondence between the account number and the merchant identity or matching the string in the SMS content.
  • the short message template corresponding to the merchant identifier is determined, so that the smart device can accurately identify the name information in the short message content by using the short message template.
  • the predetermined type information further includes a merchant identifier, where the identifying the predetermined type information from the content of the short message, further includes:
  • the merchant identification associated with the short message is taken as part of the predetermined type information.
  • the optional technical solution provided by the first aspect of the embodiment of the present disclosure may include the following beneficial effects: displaying the merchant identifier on the incoming call interface, so that the user can clearly know which merchant information corresponding to the caller ID is from which merchant account Identified from the sent SMS.
  • the short message that includes the caller number in the short message content includes:
  • the historical short message meeting the predetermined condition is a short message within a predetermined time period before the incoming call, or the sending account is located in white
  • the white list is used to store the number of the sending account of the legitimate merchant.
  • the optional technical solution provided by the first aspect of the embodiments of the present disclosure may include the following beneficial effects: only searching for the short message sent by the sending account in the whitelist, so that the content read by the smart device is from the legitimate merchant.
  • the method further includes:
  • a storage duration of the correspondence relationship in the temporary list is a predetermined duration, and a correspondence in the temporary list When the storage duration of the relationship reaches the predetermined duration, the corresponding relationship is deleted from the temporary list;
  • An optional technical solution provided by the first aspect of the embodiments of the present disclosure may include the following beneficial effects: by periodically deleting the correspondence between the temporarily stored name information and the phone number, the unnecessary correspondence is prevented from affecting the user's use of the address book, and also avoiding A large number of correspondences occupy the storage space of the smart device.
  • the method further includes:
  • the correspondence between the caller number and the name information is from the temporary Moving the list to a non-temporary list of the address book, or removing a mark of a correspondence between the caller number and the name information;
  • the number of communications is at least one of the following times or a sum of at least two times: the number of calls of the caller number, the number of times the smart device calls the caller number, and the smart device receives the caller number The number of times of the short message, and the number of times the smart device sends a short message to the incoming call number.
  • the optional technical solution provided by the first aspect of the embodiments of the present disclosure may include the following beneficial effects: for a phone number with a high contact frequency, the smart device automatically retains the corresponding correspondence of the phone number, thereby eliminating the user storage contact frequency. The process of high phone numbers.
  • a telephone number translation apparatus which is applied to a smart device, the apparatus comprising:
  • the detecting module is configured to detect, when the incoming call is received, whether the contact information of the incoming call number is stored in the address book;
  • a search module configured to: when detecting that the contact information of the caller number obtained by the detection module is not stored in the address book, searching for a short message that includes the caller number in the short message content;
  • the identification module is configured to identify predetermined type information from the content of the short message determined by the searching module, the type information including at least name information;
  • the display module is configured to display, on the display interface of the incoming call, the name information read by the identification module as contact information of the caller number.
  • the identifying module includes:
  • Determining a sub-module configured to determine, according to a correspondence between the sending account and the merchant identifier, a merchant identifier corresponding to the sending account of the short message, or sequentially, in the pre-stored merchant identifier list, the merchant identifier and the determined location
  • the string in the short message is matched to determine the merchant identifier in the short message
  • the identification sub-module is configured to identify the name information in the short message according to the short message template corresponding to the merchant identifier determined by the determining sub-module.
  • the type information further includes a merchant identifier
  • the identifier module is further configured to:
  • the merchant identification associated with the short message is taken as part of the predetermined type information.
  • the searching module is further configured to:
  • the historical short message meeting the predetermined condition is a short message within a predetermined time period before the incoming call, or the sending account is located in white
  • the white list is used to store the number of the sending account of the legitimate merchant.
  • the device further includes:
  • a first storage module configured to store the name information read by the identification module and the caller number obtained by the detection module as a set of correspondences into a temporary list in the address book,
  • the storage duration of the correspondence in the temporary list is a predetermined duration. When the storage duration of the correspondence in the temporary list reaches the predetermined duration, the corresponding relationship is deleted from the temporary list.
  • a second storage module configured to store the name information read by the identification module and the caller number obtained by the detection module as a set of correspondences into the address book, and perform the corresponding relationship
  • the tag, the storage duration of the marked correspondence is the predetermined duration, and when the storage duration of the marked correspondence reaches the predetermined duration, the correspondence is deleted from the address book.
  • the device further includes:
  • the operation module is configured to: when the number of communications between the caller number and the smart device reaches a predetermined number of thresholds, and the storage duration does not reach the predetermined duration, between the caller number and the name information Corresponding relationship moves from the temporary list to a non-temporary list of the address book, or a flag that removes a correspondence between the caller number and the name information;
  • the number of communications is at least one of the following times or a sum of at least two times: the number of calls of the caller number, the number of times the smart device calls the caller number, and the smart device receives the caller number The number of times of the short message, and the number of times the smart device sends a short message to the incoming call number.
  • a telephone number translation apparatus for use in a smart device, the apparatus comprising:
  • a memory for storing the processor executable instructions
  • processor is configured to:
  • the predetermined type information including at least name information
  • the name information is displayed as contact information of the incoming call number.
  • FIG. 1A is a flowchart of a method for translating a phone number according to an exemplary embodiment
  • FIG. 1B is a schematic diagram showing identifying predetermined type information from content of a short message according to an exemplary embodiment
  • FIG. 1C is a schematic diagram showing displaying contact information on a display interface of an incoming call according to an exemplary embodiment
  • FIG. 1D is a flowchart showing a method of identifying predetermined type information from content of a short message, according to another exemplary embodiment
  • FIG. 1E is a flowchart of a method for storing a correspondence relationship between name information and an incoming call number, according to an exemplary embodiment
  • FIG. 2A is a block diagram of a phone number translation apparatus according to an exemplary embodiment
  • FIG. 2B is a block diagram of a telephone number translation apparatus according to another exemplary embodiment
  • FIG. 3 is a block diagram of an apparatus for translating a telephone number, according to an exemplary embodiment.
  • the user usually does not remember the phone number of the contact.
  • the incoming call interface of the smart device When receiving the incoming call of the contact, the incoming call interface of the smart device usually obtains the contact information corresponding to the incoming call number according to the address book, and is in the incoming call. The contact information is displayed on the interface, and the user can confirm the user of the incoming call according to the displayed contact information. If the caller interface only displays the caller ID and does not display the contact name, the user of the smart device usually rejects the call as an harassing call or an advertisement call, so it is necessary to display the name information of the caller number. of.
  • the smart device displays the caller number and the name information corresponding to the caller ID identified in the content of the message on the caller interface when receiving the call.
  • the caller number Automatic translation. The telephone number translation method will be described below with reference to Figs. 1A to 1C.
  • FIG. 1A is a flowchart of a method for translating a telephone number according to an exemplary embodiment. As shown in FIG. 1A, the method for translating a telephone number includes the following steps.
  • step 101 when an incoming call is received, it is detected whether contact information of the incoming call number is stored in the address book.
  • step 102 when the contact information of the caller number is not stored in the address book, the short message containing the caller number in the short message content is found.
  • the smart device In order to determine the contact information corresponding to the incoming call number, after receiving the incoming call, the smart device first uses the address book to detect whether the contact information of the incoming call number of the incoming call is stored.
  • the smart device When the contact information of the caller number is not stored in the address book, it indicates that the user does not store the caller number, but in actual application, the smart device is likely to receive the short message related to the strange number before the strange number calls, so In order to obtain the information related to the caller number as much as possible, the smart device can find the short message containing the caller number in the short message content.
  • the historical short message that meets the predetermined condition is used to search for a short message including the incoming call number in the short message content, and the historical short message that meets the predetermined condition is a short message within a predetermined time period before the incoming call is received.
  • the short message received by the smart device is a short message that meets the predetermined condition within 5 minutes before the incoming call time.
  • the historical short message that meets the predetermined condition is used to find a short message including the incoming call number in the short message content, and the historical short message that meets the predetermined condition is the short message in which the sending account is located in the white list.
  • the whitelist is used to store the number of the sending account of the legal merchant.
  • the number in the whitelist can be obtained by the smart device or can be manually input by the user. .
  • predetermined type information is identified from the content of the short message, the predetermined type information including at least name information.
  • the smart device When the smart device receives the incoming call, it detects whether the contact information of the incoming call number is stored in the address book, and finds the short message containing the caller number in the short message content, and identifies the name information corresponding to the caller number from the content of the short message. .
  • the name information mentioned here may specifically be a merchant identifier, a name identifier, a last name identifier, etc., and the specific content of the name information is not limited in this embodiment.
  • the short message received within 5 minutes before the smart device incoming call time is a short message that meets the predetermined condition.
  • the content of the SMS A received by the smart device is: "Tail number ABC, Master Wang, 123456789. Please keep in touch with the driver.”
  • the smart device After receiving the SMS A for 2 minutes, the smart device receives the incoming call number 123456789.
  • the smart device will treat the short message received within 5 minutes before the call time as a short message that meets the predetermined condition.
  • the smart device will match the short message A as the time when the smart device receives the short message A.
  • the short message of the predetermined condition when the smart device determines that the electric number 123456789 is included in the content of the short message A, the content of the short message A will be The name information "Master Wang" corresponding to the caller number 123456789 is identified.
  • the predetermined type information further includes a merchant identifier, and the merchant identifier associated with the short message is used as part of the predetermined type information.
  • the merchant identity mentioned here is used to uniquely identify the sending account of the short message.
  • the merchant identifier is the common name of the merchant, and the merchant usually registers a special account for providing the short message service, and uses the proprietary account to send the relevant short message to the user.
  • the common merchant ID corresponding to the sending account "95319" is Jiangsu Bank
  • the merchant ID corresponding to the sending account "10001" is China Telecom.
  • the example here is only to describe the correspondence between the merchant identity, the merchant, and the sending account in daily life. Whether the sending account, the merchant, and the merchant identity in the example are consistent with the actual situation is not used to limit the scope of the explanation and protection of the embodiment of the present invention.
  • the smart device can recognize the name information from the content of the short message including the caller number,
  • the merchant identifier corresponding to the transmission account of the short message is identified from the content of the short message including the caller number.
  • FIG. 1B is a schematic diagram of identifying predetermined type information from the content of the short message according to an exemplary embodiment.
  • the content of the smart device receiving the short message A is: “the tail number ABC, Wang Shifu, 123456789. Please keep in touch with the driver. [XX taxi], when the smart device determines that the electric number 123456789 is included in the content of the short message A, it will then identify the corresponding caller number 10 "123456789" from the content of the short message A. Name information 20 "Master Wang” and merchant logo 30 "XX taxi”.
  • step 104 the name information is displayed as contact information of the caller number on the display interface of the incoming call.
  • the merchant identifier is added to the contact information of the caller ID for display.
  • FIG. 1C is a schematic diagram showing displaying contact information on a display interface of an incoming call according to an exemplary embodiment.
  • the smart device when the smart device does not store a contact of a certain phone number, when the smart device When receiving the incoming call number of the phone number, only the phone number 40 of the incoming call is displayed on the incoming call interface of the smart device (as shown in FIG. 1C(1)). If the smart device receives the phone number for a predetermined period of time before receiving the call, the message "Bag ABC, Master Wang, 123456789. Please keep in touch with the driver.
  • the method for translating a telephone number identifies a short message containing an incoming call number in the short message content when receiving an incoming call, identifies the name information from the content of the short message, and uses the name information as an incoming call.
  • the contact information of the number is displayed on the display interface of the incoming call; since the call device displays the incoming call number and the name information corresponding to the caller number read from the content of the short message when the incoming call is received, the solution is resolved.
  • the caller number can be displayed on the caller interface of the call device.
  • the user holding the calling device cannot know the contact information of the incoming call, thereby selecting the problem of ignoring or rejecting the incoming call; and reaching the incoming call for the contact information of the incoming call number or the incoming call number, automatically on the incoming call interface
  • the contact information of the phone number is displayed so that the user can know the effect of the object of the caller number.
  • the merchant identifier is displayed on the incoming call interface, so that the user can clearly know that the name information corresponding to the caller ID is identified from the short message sent by the sending account corresponding to the merchant identifier.
  • FIG. 1D is a flowchart showing a method of identifying predetermined type information from content of a short message, as shown in FIG. 1D, the method of identifying predetermined type information from the content of the short message includes the following steps, according to another exemplary embodiment. Step 103 in Fig. 1A can be replaced with the following steps 103a to 103c.
  • step 103a the merchant identity corresponding to the sending account of the short message is determined according to the correspondence between the sending account and the merchant identity.
  • the smart device uses a network query and a local query to query the correspondence between the sending account and the merchant identifier.
  • the smart device pre-stores the correspondence between the sending account and the merchant identifier.
  • the smart device determines the merchant identifier corresponding to the sending account of the short message according to the correspondence between the read sending account and the merchant identifier.
  • step 103b the merchant identifier in the pre-stored merchant identifier list is sequentially matched with the determined character string in the short message, and the merchant identifier in the short message is determined.
  • the smart device may determine the merchant identifier corresponding to the sending account of the short message according to the pre-stored merchant identity list, in addition to determining the merchant identity corresponding to the sending account of the short message according to the correspondence between the sending account and the merchant identity.
  • the smart device After receiving the short message, the smart device matches the merchant identifier in the merchant list with the received string in the short message that meets the predetermined condition to determine the merchant identifier included in the short message content.
  • the smart device can sequentially select the merchant logos of “X Bao”, “X Meter” and “XX Taxi” from the received SMS content. The string is matched to determine the merchant identifier "XX" contained in the SMS content. car".
  • step 103c the name information in the short message is identified according to the short message template corresponding to the merchant identifier.
  • the smart device may determine a short message template corresponding to the merchant identifier, and extract information of the name and location in the short message content according to the short message template corresponding to the merchant identifier, and identify the name. Name information in the location.
  • the SMS template of the merchant logo “XX taxi” is: “Tail number MMM, N master, YYYYYYYY. Please keep in touch with the driver. [XX taxi]”, the reading rule of the SMS template is: “ Y" is the phone number, "N Master” is the name information, and "XX taxi” is the merchant logo. Then, after the smart device receives the short message sent by the merchant whose merchant identifier is “XX taxi”, the smart phone may query the short message template corresponding to the “XX taxi” and the reading of the short message template by using a network query or a local query. Rules, and identifying the name information in the received short message according to the short message template corresponding to "XX taxi” and the reading rule of the short message template.
  • the merchant identifier is determined by sending a correspondence between the account and the merchant identifier or matching the string in the short message content, so as to determine the short message template corresponding to the merchant identifier, so that the smart device can utilize
  • the SMS template accurately identifies the name information in the SMS content.
  • the smart device may use the identified name information and the incoming call number as a set of correspondences.
  • the address book when the smart device receives the incoming call number, the corresponding relationship between the caller number and the caller number can be directly obtained from the address book, and displayed on the incoming call interface, but in order to avoid the influence of the unnecessary correspondence
  • the user uses the address book, and also avoids a large number of corresponding relationships occupying the storage space of the smart device, and the smart device periodically deletes the correspondence between the temporarily stored name information and the phone number.
  • FIG. 1E is a flowchart of a method for storing a correspondence relationship between name information and an incoming call number according to an exemplary embodiment. As shown in FIG. 1E, the method for storing the correspondence information of the name information in the caller number includes the following steps.
  • step 105 the name information and the caller number are stored as a set of correspondences in a temporary list in the address book, and the storage duration of the correspondence in the temporary list is a predetermined duration, and the correspondence of the correspondences in the temporary list is stored. When the duration reaches the predetermined duration, the correspondence is deleted from the temporary list.
  • the smart device After receiving the short message sent by a merchant, the smart device determines the merchant identifier of the merchant according to the merchant's sending account, and identifies the name in the short message from the short message containing the caller number according to the short message template corresponding to the merchant identifier.
  • the information is stored in the temporary list in the address book as a set of correspondences.
  • the smart device receives the incoming call of the phone number, the smart device can directly directly correspond to the corresponding relationship in the temporary list.
  • the name information corresponding to the phone number is displayed.
  • the temporary list mentioned here is a non-permanent list of the correspondence between the name information and the caller number. After the storage duration of the correspondence in the temporary list reaches a predetermined length, the smart device deletes the temporary list and deletes the corresponding relationship. .
  • the smart device clears the correspondence in the temporary list every predetermined time period or every predetermined time.
  • the correspondence between the incoming call number and the name information is moved from the temporary list. To the non-temporary list of the address book.
  • the smart device can automatically retain the corresponding correspondence of the phone number.
  • the communication times are at least one of the following times or a sum of at least two times: the number of calls of the caller number, the number of times the smart device calls the caller number, the number of times the smart device receives the caller number to send the short message, and the smart device sends the message to the smart device.
  • the smart device will call the caller when the number of communications between the caller number "123456789” and the smart device reaches 5 times and the storage duration does not reach the predetermined duration.
  • the correspondence between the number "123456789" and the name information is moved from the temporary list to the non-temporary list of the address book.
  • step 106 the name information and the caller number are stored in the address book as a set of correspondences, and the correspondence relationship is marked.
  • the storage duration of the marked correspondence relationship is a predetermined duration, and the storage duration of the marked correspondence relationship is When the predetermined duration is reached, the correspondence is deleted from the address book.
  • the smart device can also indicate the temporaryity of the stored correspondence relationship by marking the corresponding relationship stored in the address book, and the storage duration of the marked correspondence relationship For a predetermined duration, when the storage duration of the marked correspondence reaches the predetermined duration, the smart device deletes the correspondence from the address book.
  • the smart device deletes the marked correspondence every predetermined time period or every predetermined time.
  • the flag of the correspondence between the incoming call number and the name information is removed.
  • the communication times are at least one of the following times or a sum of at least two times: the number of calls of the caller number, the number of times the smart device calls the caller number, the number of times the smart device receives the caller number to send the short message, and the smart device sends the message to the smart device.
  • predetermined durations mentioned in steps 105 and 106 may be 5 minutes, 10 minutes, 15 minutes, etc., and the embodiment does not limit the duration range of the predetermined duration.
  • the unnecessary correspondence is prevented from affecting the user's use of the address book, and a large number of corresponding relationships are used to occupy the storage space of the smart device.
  • the smart device automatically retains the corresponding correspondence of the phone number, and the process of storing the phone number with a high frequency of contact is saved.
  • FIG. 2A is a block diagram of a telephone number translation apparatus according to an exemplary embodiment.
  • the telephone number translation apparatus includes, but is not limited to, a detection module 201, a lookup module 202, an identification module 203, and a display module. 204.
  • the detecting module 201 is configured to detect, when the incoming call is received, whether the contact information of the incoming call number is stored in the address book.
  • the searching module 202 is configured to search for a short message including the caller number in the short message content when detecting the contact information of the caller number acquired by the detecting module 201 is not stored in the address book.
  • the smart device In order to determine the contact information corresponding to the incoming call number, after receiving the incoming call, the smart device first uses the address book to detect whether the contact information of the incoming call number of the incoming call is stored.
  • the smart device When the contact information of the caller number is not stored in the address book, it indicates that the user does not store the caller number, but in actual application, the smart device is likely to receive the short message related to the strange number before the strange number calls, so In order to obtain the information related to the caller number as much as possible, the smart device can find the short message containing the caller number in the short message content.
  • the historical short message that meets the predetermined condition is used to search for a short message including the incoming call number in the short message content, and the historical short message that meets the predetermined condition is a short message within a predetermined time period before the incoming call is received.
  • the historical short message that meets the predetermined condition is used to find a short message including the incoming call number in the short message content, and the historical short message that meets the predetermined condition is the short message in which the sending account is located in the white list.
  • the whitelist is used to store the number of the sending account of the legal merchant.
  • the number in the whitelist can be obtained by the smart device or can be manually input by the user. .
  • the identification module 203 is configured to identify predetermined type information from the content of the short message determined by the lookup module 202, the type information including at least name information.
  • the smart device When the smart device receives the incoming call, it detects whether the contact information of the incoming call number is stored in the address book, and finds the short message containing the caller number in the short message content, and identifies the name information corresponding to the caller number from the content of the short message. .
  • the name information mentioned here may specifically be a merchant identifier, a name identifier, a last name identifier, etc., and the specific content of the name information is not limited in this embodiment.
  • the predetermined type information further includes a merchant identifier, and the merchant identifier related to the short message is used as the predetermined type information. a part of.
  • the merchant identity mentioned here is used to uniquely identify the sending account of the short message.
  • the merchant identifier is the common name of the merchant, and the merchant usually registers a special account for providing the short message service, and uses the proprietary account to send the relevant short message to the user.
  • the common merchant ID corresponding to the sending account "95319" is Jiangsu Bank
  • the merchant ID corresponding to the sending account "10001" is China Telecom.
  • the example here is only to describe the correspondence between the merchant identity, the merchant, and the sending account in daily life. Whether the sending account, the merchant, and the merchant identity in the example are consistent with the actual situation is not used to limit the scope of the explanation and protection of the embodiment of the present invention.
  • the smart device can recognize the name information from the content of the short message including the caller number,
  • the merchant identifier corresponding to the transmission account of the short message is identified from the content of the short message including the caller number.
  • the display module 204 is configured to display the name information read by the identification module 203 as the contact information of the incoming call number on the display interface of the incoming call.
  • the merchant identifier is added to the contact information of the caller ID for display.
  • FIG. 2B is a block diagram of a phone number translation apparatus according to another exemplary embodiment.
  • the identification module 203 includes: a determination sub-module. 203a and identification sub-module 203b.
  • the determining sub-module 203a is configured to determine, according to the correspondence between the sending account and the merchant identifier, the merchant identifier corresponding to the sending account of the short message, or sequentially, the merchant identifier in the pre-stored merchant identifier list and the determined short message The string in the match is matched to determine the merchant identifier in the short message.
  • the smart device uses a network query and a local query to query the correspondence between the sending account and the merchant identifier.
  • the smart device pre-stores the correspondence between the sending account and the merchant identifier.
  • the smart device determines the merchant identifier corresponding to the sending account of the short message according to the correspondence between the read sending account and the merchant identifier.
  • the smart device may determine the merchant identifier corresponding to the sending account of the short message according to the pre-stored merchant identity list, in addition to determining the merchant identity corresponding to the sending account of the short message according to the correspondence between the sending account and the merchant identity.
  • the smart device After receiving the short message, the smart device matches the merchant identifier in the merchant list with the received string in the short message that meets the predetermined condition to determine the merchant identifier included in the short message content.
  • the identification sub-module 203b is configured to identify the name information in the short message according to the short message template corresponding to the merchant identifier determined by the determining sub-module 203a.
  • the smart device may determine a short message template corresponding to the merchant identifier, and extract information of the name and location in the short message content according to the short message template corresponding to the merchant identifier, and identify the Name information in the name location.
  • the predetermined type information further includes a merchant identifier
  • the identification module 203 is further configured to:
  • the merchant identification associated with the short message is taken as part of the predetermined type information.
  • the lookup module 202 is further configured to:
  • the short message containing the incoming call number in the short message content is searched, the historical short message meeting the predetermined condition is the short message within the predetermined time period before the incoming call, or the historical short message in which the account is located in the white list.
  • This whitelist is used to store the number of the sending account of the legitimate merchant.
  • the apparatus further includes: a first storage module 205 and a second storage module 206.
  • the first storage module 205 is configured to store the name information read by the identification module 203 and the incoming call number obtained by the detecting module 201 as a set of correspondences into a temporary list in the address book, and the corresponding relationship in the temporary list is stored.
  • the duration is a predetermined duration, and when the storage duration of the correspondence in the temporary list reaches the predetermined duration, the correspondence is deleted from the temporary list.
  • the smart device After receiving the short message sent by a merchant, the smart device determines the merchant identifier of the merchant according to the merchant's sending account, and identifies the name in the short message from the short message containing the caller number according to the short message template corresponding to the merchant identifier.
  • the information is stored in the temporary list in the address book as a set of correspondences.
  • the smart device receives the incoming call of the phone number, the smart device can directly directly correspond to the corresponding relationship in the temporary list.
  • the name information corresponding to the phone number is displayed.
  • the temporary list mentioned here is a non-permanent list of the correspondence between the name information and the caller number. After the storage duration of the correspondence in the temporary list reaches a predetermined length, the smart device deletes the temporary list and deletes the corresponding relationship. .
  • the smart device clears the correspondence in the temporary list every predetermined time period or every predetermined time.
  • the second storage module 206 is configured to store the name information read by the identification module 203 and the incoming call number obtained by the detecting module 201 as a set of correspondences into the address book, and mark the corresponding relationship, and the marked correspondence relationship
  • the storage duration is a predetermined duration, and when the storage duration of the marked correspondence reaches the predetermined duration, the correspondence is deleted from the address book.
  • the smart device can also indicate the temporaryity of the stored correspondence relationship by marking the corresponding relationship stored in the address book, and the storage duration of the marked correspondence relationship For a predetermined duration, when the storage duration of the marked correspondence reaches the predetermined duration, the smart device deletes the correspondence from the address book.
  • the smart device deletes the marked correspondence every predetermined time period or every predetermined time.
  • the apparatus further includes: an operation module 207.
  • the operation module 207 is configured to: when the number of communications between the incoming call number and the smart device reaches a predetermined number of thresholds, and the storage duration does not reach the predetermined duration, the correspondence between the incoming call number and the name information is moved from the temporary list to the In the non-temporary list of the address book, or a flag that removes the correspondence between the caller number and the name information.
  • the communication times are at least one of the following times or a sum of at least two times: the number of calls of the caller number, the number of times the smart device calls the caller number, the number of times the smart device receives the caller number to send the short message, and the smart device sends the message to the smart device.
  • the smart device can automatically retain the corresponding correspondence of the phone number.
  • the telephone number translation apparatus identifies the short message containing the incoming call number in the short message content when receiving the incoming call, identifies the name information from the content of the short message, and uses the name information as the incoming call.
  • the contact information of the number is displayed on the display interface of the incoming call; since the call device displays the incoming call number and the name information corresponding to the caller number read from the content of the short message when the incoming call is received, the solution is resolved.
  • the merchant identifier is determined by sending a correspondence between the account and the merchant identifier or matching the string in the short message content, so as to determine the short message template corresponding to the merchant identifier, so that the smart device can utilize
  • the SMS template accurately identifies the name information in the SMS content.
  • the merchant identifier is displayed on the incoming call interface, so that the user can clearly know that the name information corresponding to the caller ID is identified from the short message sent by the sending account corresponding to the merchant identifier.
  • the unnecessary correspondence is prevented from affecting the user's use of the address book, and a large number of corresponding relationships are used to occupy the storage space of the smart device.
  • the smart device automatically retains the corresponding correspondence of the phone number, and the process of storing the phone number with a high frequency of contact is saved.
  • An exemplary embodiment of the present disclosure provides a telephone number translation apparatus capable of implementing a telephone number translation method provided by the present disclosure, the telephone number translation apparatus comprising: a processor, a memory for storing processor executable instructions;
  • processor is configured to:
  • the predetermined type information including at least name information
  • the name information is displayed as the contact information of the caller number.
  • FIG. 3 is a block diagram of an apparatus for translating a telephone number, according to an exemplary embodiment.
  • the device 300 may be a smart device with a call function, and the smart device mentioned herein may be a smart phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a Taiwanese number. Assistant, etc.
  • apparatus 300 can include one or more of the following components: processing component 302, memory 304, power component 306, multimedia component 308, audio component 310, input/output (I/O) interface 312, sensor component 314, And a communication component 316.
  • Processing component 302 typically controls the overall operation of device 300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 302 can include one or more processors 318 to execute instructions to perform all or part of the steps described above.
  • processing component 302 can include one or more modules to facilitate interaction between component 302 and other components.
  • processing component 302 can include a multimedia module to facilitate interaction between multimedia component 308 and processing component 302.
  • Memory 304 is configured to store various types of data to support operation at device 300. Examples of such data include instructions for any application or method operating on device 300, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 304 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Electrically erasable programmable read only memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 306 provides power to various components of device 300.
  • Power component 306 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 300.
  • the multimedia component 308 includes a screen between the device 300 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor can sense not only the boundaries of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 308 includes a Front camera and/or rear camera. When the device 300 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
  • the audio component 310 is configured to output and/or input an audio signal.
  • audio component 310 includes a microphone (MIC) that is configured to receive an external audio signal when device 300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 304 or transmitted via communication component 316.
  • audio component 310 also includes a speaker for outputting an audio signal.
  • the I/O interface 312 provides an interface between the processing component 302 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 314 includes one or more sensors for providing device 300 with status assessments for various aspects.
  • sensor assembly 314 can detect an open/closed state of device 300, a relative positioning of components, such as a display and a keypad of device 300, and sensor component 314 can also detect a change in position of one component of device 300 or device 300, The presence or absence of user contact with device 300, device 300 orientation or acceleration/deceleration and temperature variation of device 300.
  • Sensor assembly 314 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 314 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 316 is configured to facilitate wired or wireless communication between device 300 and other devices.
  • the device 300 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof.
  • communication component 316 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • communication component 316 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RF identification) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RF identification radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 300 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), and field devices.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA programming gate array
  • controller microcontroller
  • microprocessor or other electronic component implementation for performing the above described telephone number translation method.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 304 comprising instructions executable by processor 318 of apparatus 300 to perform the above described telephone number translation method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, Tapes, floppy disks, and optical data storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Library & Information Science (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本公开揭示了一种电话号码翻译方法及装置,属于信息技术领域。所述电话号码翻译方法包括:在接收到来电时,检测通讯录中是否存储有来电号码的联系人信息;在检测到通讯录中未存储有来电号码的联系人信息时,查找短信内容中包含该来电号码的短信;从短信的内容中识别预定类型信息;在来电的显示界面上,将姓名信息作为来电号码的联系人信息进行显示。本公开解决了对于未存储来电号码或该来电号码的联系人信息的来电,通话设备的来电界面上仅能显示该来电号码,导致该通话设备的持有用户无法获知该来电的联系人信息的问题;达到了对于未存储来电号码或该来电号码的联系人信息的来电,自动在来电界面上显示该电话号码的联系人信息的效果。

Description

电话号码翻译方法及装置
相关申请的交叉引用
本申请基于申请号为201610201552.8、申请日为2016年03月31日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及信息技术领域,特别涉及一种电话号码翻译方法及装置。
背景技术
由于通话应用具有沟通即时、便捷的特点,因此人们日常生活中对通话应用的使用较为频繁。
通常,通话设备接收到来电时,首先会从通讯录中查询来电号码对应的联系人信息,然后在来电界面上显示来电号码和查询到的联系人信息。而对于不常用的来电号码,通讯录中通常未存储该来电号码或该来电号码的联系人信息,这种情况下,该通话设备的来电界面上仅能显示该来电号码,导致该通话设备的持有用户无法获知该来电的联系人信息,从而选择忽略或拒接来电。
发明内容
本公开提供一种电话号码翻译方法及装置。所述技术方案如下:
根据本公开实施例的第一方面,提供一种电话号码翻译方法,应用于智能设备中,所述方法包括:
在接收到来电时,检测通讯录中是否存储有来电号码的联系人信息;
在检测到通讯录中未存储有所述来电号码的联系人信息时,查找短信内容中包含所述来电号码的短信;
从所述短信的内容中识别预定类型信息,所述预定类型信息至少包括姓名信息;
在所述来电的显示界面上,将所述姓名信息作为所述来电号码的联系人信息进行显示。
本公开的实施例第一方面提供的技术方案可以包括以下有益效果:通过在接收到来电时,查找短信内容中包含来电号码的短信,从该短信的内容中识别姓名信息,并将姓名信息作为来电号码的联系人信息显示在来电的显示界面上;由于在接收到来电时,通话设备会在来电界面上显示来电号码和从短信的内容中读取的该来电号码对应的姓名信息,因此,解决 了对于未存储来电号码或该来电号码的联系人信息的来电,通话设备的来电界面上仅能显示该来电号码,导致该通话设备的持有用户无法获知该来电的联系人信息,从而选择忽略或拒接来电的问题;达到了对于未存储来电号码或该来电号码的联系人信息的来电,自动在来电界面上显示该电话号码的联系人信息,使得用户可以知道来电号码的对象的效果。
可选的,所述从所述短信的内容中识别预定类型信息,包括:
根据发送账号与商户标识之间的对应关系,确定与所述短信的发送账号对应的商户标识,或者,将预存的商户标识列表中的商户标识依次与确定出的所述短信中的字符串进行匹配,确定出所述短信中的商户标识;
根据所述商户标识对应的短信模板,识别所述短信中的姓名信息。
本公开的实施例第一方面提供的可选的技术方案可以包括以下有益效果:通过发送账号与商户标识之间的对应关系或者匹配短信内容中的字符串两种方式确定出商户标识,以此确定出与商户标识对应的短信模板,使得智能设备可以利用短信模版精准的识别短信内容中姓名信息。
可选的,所述预定类型信息还包括商户标识,所述从所述短信的内容中识别预定类型信息,还包括:
将与所述短信相关的所述商户标识作为所述预定类型信息的一部分。
本公开的实施例第一方面提供的可选的技术方案可以包括以下有益效果:将商户标识显示在来电界面上,使得用户可以明确知道来电号码对应的姓名信息是从哪个商户标识对应的发送账号所发送的短信中识别出来的。
可选的,所述查找短信内容中包含所述来电号码的短信,包括:
从符合预定条件的历史短信中,查找短信内容中包含所述来电号码的短信,所述符合预定条件的历史短信为接收时刻在所述来电之前预定时间段内的短信,或者,发送账号位于白名单中的历史短信,所述白名单用于存储合法商户的发送账号的号码。
本公开的实施例第一方面提供的可选的技术方案可以包括以下有益效果:仅查找白名单中的发送账号发送的短信,使得智能设备所读取得内容均来自于合法商户。
可选的,所述方法还包括:
将所述姓名信息和所述来电号码作为一组对应关系存储至所述通讯录中的临时列表中,所述临时列表中的对应关系的存储时长为预定时长,当所述临时列表中的对应关系的存储时长达到所述预定时长时,从所述临时列表中删除所述对应关系;
或者,
将所述姓名信息和所述来电号码作为一组对应关系存储至所述通讯录中,对所述对应关 系进行标记,被标记的对应关系的存储时长为所述预定时长,当被标记的对应关系的存储时长达到所述预定时长时,从所述通讯录中删除所述对应关系。
本公开的实施例第一方面提供的可选的技术方案可以包括以下有益效果:通过定时删除临时存储的姓名信息与电话号码的对应关系,避免不需要的对应关系影响用户使用通讯录,也避免大量的对应关系占用智能设备的存储空间。
可选的,所述方法还包括:
在所述来电号码与所述智能设备之间的通讯次数达到预定次数阈值,且存储时长未达到所述预定时长时,将所述来电号码和所述姓名信息之间的对应关系从所述临时列表移动至所述通讯录的非临时列表中,或者,去除所述来电号码和所述姓名信息之间的对应关系的标记;
其中,所述通讯次数为以下至少一种次数或至少两种次数之和:所述来电号码的来电次数、所述智能设备呼叫所述来电号码的次数、所述智能设备接收所述来电号码发送短信的次数、所述智能设备向所述来电号码发送短信的次数。
本公开的实施例第一方面提供的可选的技术方案可以包括以下有益效果:对于联系频率较高的电话号码,智能设备自动保留该电话号码对应的对应关系,省去了用户存储联系频率较高的电话号码的过程。
根据本公开实施例的第二方面,提供一种电话号码翻译装置,应用于智能设备中,所述装置包括:
检测模块,被配置为在接收到来电时,检测通讯录中是否存储有来电号码的联系人信息;
查找模块,被配置为在检测到通讯录中未存储有所述检测模块获取的所述来电号码的联系人信息时,查找短信内容中包含所述来电号码的短信;
识别模块,被配置为从所述查找模块确定的所述短信的内容中识别预定类型信息,所述类型信息至少包括姓名信息;
显示模块,被配置为在所述来电的显示界面上,将所述识别模块读取的所述姓名信息作为所述来电号码的联系人信息进行显示。
可选的,所述识别模块,包括:
确定子模块,被配置为根据发送账号与商户标识之间的对应关系,确定与所述短信的发送账号对应的商户标识,或者,将预存的商户标识列表中的商户标识依次与确定出的所述短信中的字符串进行匹配,确定出所述短信中的商户标识;
识别子模块,被配置为根据所述确定子模块确定的所述商户标识对应的短信模板,识别所述短信中的姓名信息。
可选的,所述类型信息还包括商户标识,所述识别模块,还被配置为:
将与所述短信相关的所述商户标识作为所述预定类型信息的一部分。
可选的,所述查找模块,还被配置为:
从符合预定条件的历史短信中,查找短信内容中包含所述来电号码的短信,所述符合预定条件的历史短信为接收时刻在所述来电之前预定时间段内的短信,或者,发送账号位于白名单中的历史短信,所述白名单用于存储合法商户的发送账号的号码。
可选的,所述装置还包括:
第一存储模块,被配置为将所述识别模块读取的所述姓名信息和所述检测模块获取的所述来电号码作为一组对应关系存储至所述通讯录中的临时列表中,所述临时列表中的对应关系的存储时长为预定时长,当所述临时列表中的对应关系的存储时长达到所述预定时长时,从所述临时列表中删除所述对应关系;
或者,
第二存储模块,被配置为将所述识别模块读取的所述姓名信息和所述检测模块获取的所述来电号码作为一组对应关系存储至所述通讯录中,对所述对应关系进行标记,被标记的对应关系的存储时长为所述预定时长,当被标记的对应关系的存储时长达到所述预定时长时,从所述通讯录中删除所述对应关系。
可选的,所述装置还包括:
操作模块,被配置为在所述来电号码与所述智能设备之间的通讯次数达到预定次数阈值,且存储时长未达到所述预定时长时,将所述来电号码和所述姓名信息之间的对应关系从所述临时列表移动至所述通讯录的非临时列表中,或者,去除所述来电号码和所述姓名信息之间的对应关系的标记;
其中,所述通讯次数为以下至少一种次数或至少两种次数之和:所述来电号码的来电次数、所述智能设备呼叫所述来电号码的次数、所述智能设备接收所述来电号码发送短信的次数、所述智能设备向所述来电号码发送短信的次数。
根据本公开实施例的第三方面,提供一种电话号码翻译装置,应用于智能设备中,所述装置包括:
处理器;
用于存储所述处理器可执行指令的存储器;
其中,所述处理器被配置为:
在接收到来电时,检测通讯录中是否存储有来电号码的联系人信息;
在检测到通讯录中未存储有所述来电号码的联系人信息时,查找短信内容中包含所述来电号码的短信;
从所述短信的内容中识别预定类型信息,所述预定类型信息至少包括姓名信息;
在所述来电的显示界面上,将所述姓名信息作为所述来电号码的联系人信息进行显示。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并于说明书一起用于解释本公开的原理。
图1A是根据一示例性实施例示出的一种电话号码翻译方法的流程图;
图1B是根据一示例性实施例示出的从短信的内容中识别预定类型信息的示意图;
图1C是根据一示例性实施例示出的在来电的显示界面上显示联系人信息的示意图;
图1D是根据另一示例性实施例示出的从短信的内容中识别预定类型信息方法的流程图;
图1E是根据一示例性实施例示出的存储姓名信息于来电号码的对应关系方法的流程图;
图2A是根据一示例性实施例示出的一种电话号码翻译装置的框图;
图2B是根据另一示例性实施例示出的一种电话号码翻译装置的框图;
图3是根据一示例性实施例示出的一种用于翻译电话号码的装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
在实际应用中,用户通常不会去记忆联系人的电话号码,当接收到联系人的来电时,智能设备的来电界面上通常会根据通讯录获知来电号码所对应的联系人信息,并在来电界面上显示该联系人信息,用户可以根据显示的联系人信息以对来电的用户进行确认。而如果来电界面仅显示来电号码而不显示联系人姓名,智能设备的持有用户通常会将该来电认定为骚扰电话或广告电话而拒接,因此对该来电号码的姓名信息进行显示是非常必要的。为了能够在让用户知道未存储电话号码的来电对象,本实施例中智能设备在接收到来电时,会在来电界面上显示来电号码和从短信的内容中识别的该来电号码对应的姓名信息,以实现对来电号码 自动翻译。下面结合图1A至图1C对电话号码翻译方法进行描述。
图1A是根据一示例性实施例示出的一种电话号码翻译方法的流程图,如图1A所示,该电话号码翻译方法包括以下步骤。
在步骤101中,在接收到来电时,检测通讯录中是否存储有来电号码的联系人信息。
在步骤102中,在检测到通讯录中未存储有来电号码的联系人信息时,查找短信内容中包含该来电号码的短信。
为了确定来电号码所对应的联系人信息,智能设备在接收到来电之后,首先利用通讯录检测是否存储有该来电的来电号码的联系人信息。
在通讯录中未存储有来电号码的联系人信息时,则表明用户未对该来电号码进行存储,而实际应用中,智能设备很可能在陌生号码来电之前接收与该陌生号码相关的短信,因此智能设备为了尽可能的获取与该来电号码相关的信息,可以查找短信内容中包含该来电号码的短信。
可选的,从符合预定条件的历史短信中,查找短信内容中包含来电号码的短信,符合预定条件的历史短信为接收时刻在来电之前预定时间段内的短信。
举例来讲,设预定时间段为5分钟,则在来电时刻之前的5分钟内,智能设备所接收到的短信均为符合预定条件的短信。
可选的,从符合预定条件的历史短信中,查找短信内容中包含来电号码的短信,符合预定条件的历史短信为发送账号位于白名单中的短信。
这里所讲的白名单用于存储合法商户的发送账号的号码,其中,白名单中的号码可以由智能设备联网获取,也可以由用户手动输入,本实施例不限定白名单中号码的获取途径。
在步骤103中,从短信的内容中识别预定类型信息,该预定类型信息至少包括姓名信息。
当智能设备接收到来电时,会检测通讯录中是否存储有来电号码的联系人信息,并查找短信内容中包含该来电号码的短信,从该短信的内容中识别与该来电号码对应的姓名信息。
这里所讲的姓名信息具体可以为商户标识、姓名标识、姓氏标识等,本实施例不限制姓名信息的具体内容。
举例来讲,设智能设备来电时刻之前的5分钟内所接收到的短信均为符合预定条件的短信。智能设备接收到的短信A的内容为:“尾号ABC,王师傅,123456789。请您与该司机保持联系。”,接收到短信A的2分钟后智能设备接收来电号码为123456789的来电,此时该智能设备会将来电时刻前的5分钟内所接收到的短信均视为符合预定条件的短信,由于智能设备接收短信A的时刻在该时间段内,该智能设备会将短信A作为符合预定条件的短信,当智能设备确定出来电号码123456789包含在短信A的内容中后,继而会从短信A的内容 中识别与该来电号码123456789对应的姓名信息“王师傅”。
可选的,该预定类型信息还包括商户标识,将与短信相关的商户标识作为预定类型信息的一部分。
这里所讲的商户标识用于唯一标识该短信的发送账号。一般来讲,商户标识为商户的通用名称,而商户为了提供短信服务,通常会注册一个专有账号,并利用该专有账号向用户发送相关短信。比如,常见的发送账号“95319”对应的商户标识为江苏银行,再比如发送账号“10001”对应的商户标识为中国电信。这里的举例仅是说明日常生活中商户标识、商户以及发送账号之间的对应关系,举例中的发送账号、商户以及商户标识是否符合实际情况并不用于限定本发明实施例的解释和保护范围。
为了使用户可以明确知道来电号码对应的姓名信息是从哪个商户标识对应的发送账号所发送的短信中识别出来的,智能设备除了从包含该来电号码的短信的内容中识别姓名信息外,还可以从包含该来电号码的短信的内容中识别与该短信的发送账号对应的商户标识。
图1B是根据一示例性实施例示出的从短信的内容中识别预定类型信息的示意图,如图1B所示,设智能设备接收到短信A的内容为:“尾号ABC,王师傅,123456789。请您与该司机保持联系。【XX打车】”,当智能设备确定出来电号码123456789包含在短信A的内容中后,继而会从短信A的内容中识别与该来电号码10“123456789”对应的姓名信息20“王师傅”和商户标识30“XX打车”。
在步骤104中,在来电的显示界面上,将姓名信息作为来电号码的联系人信息进行显示。
可选的,在来电的显示界面上,将商户标识添加到来电号码的联系人信息中进行显示。
图1C是根据一示例性实施例示出的在来电的显示界面上显示联系人信息的示意图,如图1C所示,通常,当智能设备未存储某一电话号码的联系人时,当该智能设备接收到该电话号码来电时,该智能设备的来电界面上仅显示来电的电话号码40(如图1C(1)所示)。若该智能设备接收到该电话号码来电前的预定时间段内,接收到包含该电话号码的短信“尾号ABC,王师傅,123456789。请您与该司机保持联系。【XX打车】”,那么当该智能设备接收到该电话号码来电时,会在来电界面上,将所读取的姓名信息50和商户标识60添加到来电号码的联系人信息中进行显示(如图1C(2)所示)。
综上所述,本公开实施例中提供的电话号码翻译方法,通过在接收到来电时,查找短信内容中包含来电号码的短信,从该短信的内容中识别姓名信息,并将姓名信息作为来电号码的联系人信息显示在来电的显示界面上;由于在接收到来电时,通话设备会在来电界面上显示来电号码和从短信的内容中读取的该来电号码对应的姓名信息,因此,解决了对于未存储来电号码或该来电号码的联系人信息的来电,通话设备的来电界面上仅能显示该来电号码, 导致该通话设备的持有用户无法获知该来电的联系人信息,从而选择忽略或拒接来电的问题;达到了对于未存储来电号码或该来电号码的联系人信息的来电,自动在来电界面上显示该电话号码的联系人信息,使得用户可以知道来电号码的对象的效果。
在本实施例中,将商户标识显示在来电界面上,使得用户可以明确知道来电号码对应的姓名信息是从哪个商户标识对应的发送账号所发送的短信中识别出来的。
在本实施例中,仅查找白名单中的发送账号发送的短信,使得智能设备所读取得内容均来自于合法商户。
在一种可能实现的方式中,由于商户所发送的短信内容多为基于固定的短信模板进行发送的,为了可以精准的识别短信内容中的姓名信息,智能设备可以利用短信模版来提取固定位置的姓名信息。由于不同商户发送的信息所基于的短信模版也不同,智能设备至少可以采用两种方式来确定出短信的发送账号对应的账户,从而确定出识别该短信内容索要采用的短信模板。图1D是根据另一示例性实施例示出的从短信的内容中识别预定类型信息方法的流程图,如图1D所示,该从短信的内容中识别预定类型信息方法包括以下步骤。图1A中的步骤103可以替换为下述步骤103a至步骤103c。
在步骤103a中,根据发送账号与商户标识之间的对应关系,确定与短信的发送账号对应的商户标识。
智能设备采用联网查询、本地查询的方式,查询发送账号与商户标识之间的对应关系;或者,智能设备预先存储有发送账号与商户标识之间的对应关系。
智能设备根据读取到的发送账号与商户标识之间的对应关系,确定与短信的发送账号对应的商户标识。
在步骤103b中,将预存的商户标识列表中的商户标识依次与确定出的该短信中的字符串进行匹配,确定出该短信中的商户标识。
除了根据发送账号与商户标识之间的对应关系,确定短信的发送账号对应的商户标识外,智能设备还可以根据预先存储的商户标识列表,确定短信的发送账号对应的商户标识。
当该智能设备接收到短信后,会将商户列表中的商户标识依次与所接收到的符合预定条件的短信中的字符串进行匹配,来确定出短信内容中所包含的商户标识。
比如,设智能设备预存的商户别表中有“X宝”、“X米”和“XX打车”的商户标识,那么当智能设备接收到的短信A的内容为:“尾号ABC,王师傅,123456789。请您与该司机保持联系。【XX打车】”时,智能设备可以将“X宝”、“X米”和“XX打车”的商户标识依次从与所接收到的该短信内容中的字符串进行匹配,确定出该短信内容中所包含的商户标识“XX打 车”。
在步骤103c中,根据商户标识对应的短信模板,识别短信中的姓名信息。
当确定出所接收到的短信对应的商户标识后,智能设备可以确定出与该商户标识对应的短信模版,并根据该商户标识对应的短信模板,提取短信内容中的姓名位置的信息,识别该姓名位置中的姓名信息。
举例来说,设商户标识“XX打车”的短信模版为:“尾号MMM,N师傅,YYYYYYYYY。请您与该司机保持联系。【XX打车】”,该短信模版的读取规则为:“Y”为电话号码,“N师傅”为姓名信息,“XX打车”为商户标识。那么,当智能设备接收到商户标识为“XX打车”的商户发送的短信后,可以采用联网查询或本地查询的方式,查询商户标识为“XX打车”对应的短信模板和该短信模版的读取规则,并根据“XX打车”对应的短信模板和该短信模版的读取规则来识别所接收到的短信中的姓名信息。
在本实施例中,通过发送账号与商户标识之间的对应关系或者匹配短信内容中的字符串两种方式确定出商户标识,以此确定出与商户标识对应的短信模板,使得智能设备可以利用短信模版精准的识别短信内容中姓名信息。
在一种可能的实现方式中,当智能设备确定出包含有来电号码的短信,并识别该来电号码对应的姓名信息后,该智能设备可以将所识别的姓名信息和来电号码作为一组对应关系存储至通讯录中,当该智能设备接收到该来电号码的来电时,可以直接从通讯录中获取与该来电号码相关的对应关系,在来电界面上显示,但为了避免不需要的对应关系影响用户使用通讯录,也避免大量的对应关系占用智能设备的存储空间,智能设备会定时删除临时存储的姓名信息与电话号码的对应关系。图1E是根据一示例性实施例示出的存储姓名信息于来电号码的对应关系方法的流程图,如图1E所示,该存储姓名信息于来电号码的对应关系方法包括以下步骤。
在步骤105中,将姓名信息和来电号码作为一组对应关系存储至通讯录中的临时列表中,该临时列表中的对应关系的存储时长为预定时长,当该临时列表中的对应关系的存储时长达到该预定时长时,从该临时列表中删除该对应关系。
当接收到某商户发送的短信后,智能设备根据该商户的发送账号确定出该商户的商户标识后,根据该商户标识对应的短信模版,从包含有来电号码的短信中识别出短信中的姓名信息,将姓名信息和来电号码作为一组对应关系存储至通讯录中的临时列表中,当该智能设备接收到该电话号码的来电时,便可直接根据临时列表中的对应关系,在来电界面中显示该电话号码对应的姓名信息。
这里所讲的临时列表为非永久性存储姓名信息和来电号码的对应关系的列表,当临时列表中的对应关系的存储时长达到预定时长后,智能设备会下删除该临时列表中删除该对应关系。
可选的,每隔预定时长或每到预定时刻,智能设备清空该临时列表中的对应关系。
在一种可能的实现方式中,在来电号码与智能设备之间的通讯次数达到预定次数阈值,且存储时长未达到预定时长时,将该来电号码和姓名信息之间的对应关系从临时列表移动至该通讯录的非临时列表中。
对于联系频率较高的电话号码,智能设备可以自动保留该电话号码对应的对应关系。
其中,通讯次数为以下至少一种次数或至少两种次数之和:来电号码的来电次数、智能设备呼叫该来电号码的次数、该智能设备接收该来电号码发送短信的次数、该智能设备向该来电号码发送短信的次数。
举例来说,当来电号码的来电次数阈值为5次,那么在来电号码“123456789”与智能设备之间的通讯次数达到5次,且存储时长未达到预定时长时,该智能设备会将该来电号码“123456789”和姓名信息之间的对应关系从临时列表移动至该通讯录的非临时列表中。
在步骤106中,将姓名信息和来电号码作为一组对应关系存储至通讯录中,对该对应关系进行标记,被标记的对应关系的存储时长为预定时长,当被标记的对应关系的存储时长达到该预定时长时,从该通讯录中删除该对应关系。
除了在通讯录中设定临时列表外,智能设备还可以在对存入通讯录中的对应关系进行标记的方式来表示所存入的对应关系的临时性,该被标记的对应关系的存储时长为预定时长,当被标记的对应关系的存储时长达到该预定时长时,智能设备从该通讯录中删除该对应关系。
可选的,每隔预定时长或每到预定时刻,智能设备删除被标记的对应关系。
在一种可能的实现方式中,在来电号码与智能设备之间的通讯次数达到预定次数阈值,且存储时长未达到预定时长时,去除该来电号码和该姓名信息之间的对应关系的标记。
其中,通讯次数为以下至少一种次数或至少两种次数之和:来电号码的来电次数、智能设备呼叫该来电号码的次数、该智能设备接收该来电号码发送短信的次数、该智能设备向该来电号码发送短信的次数。
需要说明的是,步骤105和步骤106中所讲的预定时长可以为5分钟、10分钟、15分钟等,本实施例不限定预定时长的时长范围。
在本实施例中,通过定时删除临时存储的姓名信息与电话号码的对应关系,避免不需要的对应关系影响用户使用通讯录,也避免大量的对应关系占用智能设备的存储空间。
在本实施例中,对于联系频率较高的电话号码,智能设备自动保留该电话号码对应的对应关系,省去了用户存储联系频率较高的电话号码的过程。
下述为本公开装置实施例,可以用于执行本公开方法实施例。对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。
图2A是根据一示例性实施例示出的一种电话号码翻译装置的框图,如图2A所示,该电话号码翻译装置包括但不限于:检测模块201、查找模块202、识别模块203和显示模块204。
检测模块201,被配置为在接收到来电时,检测通讯录中是否存储有来电号码的联系人信息。
查找模块202,被配置为在检测到通讯录中未存储有检测模块201获取的来电号码的联系人信息时,查找短信内容中包含该来电号码的短信。
为了确定来电号码所对应的联系人信息,智能设备在接收到来电之后,首先利用通讯录检测是否存储有该来电的来电号码的联系人信息。
在通讯录中未存储有来电号码的联系人信息时,则表明用户未对该来电号码进行存储,而实际应用中,智能设备很可能在陌生号码来电之前接收与该陌生号码相关的短信,因此智能设备为了尽可能的获取与该来电号码相关的信息,可以查找短信内容中包含该来电号码的短信。
可选的,从符合预定条件的历史短信中,查找短信内容中包含来电号码的短信,符合预定条件的历史短信为接收时刻在来电之前预定时间段内的短信。
可选的,从符合预定条件的历史短信中,查找短信内容中包含来电号码的短信,符合预定条件的历史短信为发送账号位于白名单中的短信。
这里所讲的白名单用于存储合法商户的发送账号的号码,其中,白名单中的号码可以由智能设备联网获取,也可以由用户手动输入,本实施例不限定白名单中号码的获取途径。
识别模块203,被配置为从查找模块202确定的短信的内容中识别预定类型信息,该类型信息至少包括姓名信息。
当智能设备接收到来电时,会检测通讯录中是否存储有来电号码的联系人信息,并查找短信内容中包含该来电号码的短信,从该短信的内容中识别与该来电号码对应的姓名信息。
这里所讲的姓名信息具体可以为商户标识、姓名标识、姓氏标识等,本实施例不限制姓名信息的具体内容。
可选的,该预定类型信息还包括商户标识,将与短信相关的商户标识作为预定类型信息 的一部分。
这里所讲的商户标识用于唯一标识该短信的发送账号。一般来讲,商户标识为商户的通用名称,而商户为了提供短信服务,通常会注册一个专有账号,并利用该专有账号向用户发送相关短信。比如,常见的发送账号“95319”对应的商户标识为江苏银行,再比如发送账号“10001”对应的商户标识为中国电信。这里的举例仅是说明日常生活中商户标识、商户以及发送账号之间的对应关系,举例中的发送账号、商户以及商户标识是否符合实际情况并不用于限定本发明实施例的解释和保护范围。
为了使用户可以明确知道来电号码对应的姓名信息是从哪个商户标识对应的发送账号所发送的短信中识别出来的,智能设备除了从包含该来电号码的短信的内容中识别姓名信息外,还可以从包含该来电号码的短信的内容中识别与该短信的发送账号对应的商户标识。
显示模块204,被配置为在来电的显示界面上,将识别模块203读取的姓名信息作为来电号码的联系人信息进行显示。
可选的,在来电的显示界面上,将商户标识添加到来电号码的联系人信息中进行显示。
在一种可能的实现方式中,请参见图2B,其是根据另一示例性实施例示出的一种电话号码翻译装置的框图,如图2B所示,该识别模块203,包括:确定子模块203a和识别子模块203b。
确定子模块203a,被配置为根据发送账号与商户标识之间的对应关系,确定与短信的发送账号对应的商户标识,或者,将预存的商户标识列表中的商户标识依次与确定出的该短信中的字符串进行匹配,确定出该短信中的商户标识。
智能设备采用联网查询、本地查询的方式,查询发送账号与商户标识之间的对应关系;或者,智能设备预先存储有发送账号与商户标识之间的对应关系。
智能设备根据读取到的发送账号与商户标识之间的对应关系,确定与短信的发送账号对应的商户标识。
除了根据发送账号与商户标识之间的对应关系,确定短信的发送账号对应的商户标识外,智能设备还可以根据预先存储的商户标识列表,确定短信的发送账号对应的商户标识。
当该智能设备接收到短信后,会将商户列表中的商户标识依次与所接收到的符合预定条件的短信中的字符串进行匹配,来确定出短信内容中所包含的商户标识。
识别子模块203b,被配置为根据确定子模块203a确定的商户标识对应的短信模板,识别短信中的姓名信息。
当确定出所接收到的短信对应的商户标识后,智能设备可以确定出与该商户标识对应的短信模版,并根据该商户标识对应的短信模板,提取短信内容中的姓名位置的信息,识别该 姓名位置中的姓名信息。
在一种可能的实现方式中,仍参见图2B,该预定类型信息还包括商户标识,该识别模块203,还被配置为:
将与短信相关的商户标识作为预定类型信息的一部分。
在一种可能的实现方式中,仍参见图2B,该查找模块202,还被配置为:
从符合预定条件的历史短信中,查找短信内容中包含来电号码的短信,符合预定条件的历史短信为接收时刻在来电之前预定时间段内的短信,或者,发送账号位于白名单中的历史短信,该白名单用于存储合法商户的发送账号的号码。
在一种可能的实现方式中,仍参见图2B,该装置还包括:第一存储模块205和第二存储模块206。
第一存储模块205,被配置为将识别模块203读取的姓名信息和检测模块201获取的来电号码作为一组对应关系存储至通讯录中的临时列表中,该临时列表中的对应关系的存储时长为预定时长,当该临时列表中的对应关系的存储时长达到该预定时长时,从该临时列表中删除该对应关系。
当接收到某商户发送的短信后,智能设备根据该商户的发送账号确定出该商户的商户标识后,根据该商户标识对应的短信模版,从包含有来电号码的短信中识别出短信中的姓名信息,将姓名信息和来电号码作为一组对应关系存储至通讯录中的临时列表中,当该智能设备接收到该电话号码的来电时,便可直接根据临时列表中的对应关系,在来电界面中显示该电话号码对应的姓名信息。
这里所讲的临时列表为非永久性存储姓名信息和来电号码的对应关系的列表,当临时列表中的对应关系的存储时长达到预定时长后,智能设备会下删除该临时列表中删除该对应关系。
可选的,每隔预定时长或每到预定时刻,智能设备清空该临时列表中的对应关系。
第二存储模块206,被配置为将识别模块203读取的姓名信息和检测模块201获取的来电号码作为一组对应关系存储至通讯录中,对该对应关系进行标记,被标记的对应关系的存储时长为预定时长,当被标记的对应关系的存储时长达到该预定时长时,从该通讯录中删除该对应关系。
除了在通讯录中设定临时列表外,智能设备还可以在对存入通讯录中的对应关系进行标记的方式来表示所存入的对应关系的临时性,该被标记的对应关系的存储时长为预定时长,当被标记的对应关系的存储时长达到该预定时长时,智能设备从该通讯录中删除该对应关系。
可选的,每隔预定时长或每到预定时刻,智能设备删除被标记的对应关系。
在一种可能的实现方式中,仍参见图2B,该装置还包括:操作模块207。
操作模块207,被配置为在来电号码与智能设备之间的通讯次数达到预定次数阈值,且存储时长未达到预定时长时,将该来电号码和姓名信息之间的对应关系从临时列表移动至该通讯录的非临时列表中,或者,去除该来电号码和该姓名信息之间的对应关系的标记。
其中,通讯次数为以下至少一种次数或至少两种次数之和:来电号码的来电次数、智能设备呼叫该来电号码的次数、该智能设备接收该来电号码发送短信的次数、该智能设备向该来电号码发送短信的次数。
对于联系频率较高的电话号码,智能设备可以自动保留该电话号码对应的对应关系。
综上所述,本公开实施例中提供的电话号码翻译装置,通过在接收到来电时,查找短信内容中包含来电号码的短信,从该短信的内容中识别姓名信息,并将姓名信息作为来电号码的联系人信息显示在来电的显示界面上;由于在接收到来电时,通话设备会在来电界面上显示来电号码和从短信的内容中读取的该来电号码对应的姓名信息,因此,解决了对于未存储来电号码或该来电号码的联系人信息的来电,通话设备的来电界面上仅能显示该来电号码,导致该通话设备的持有用户无法获知该来电的联系人信息,从而选择忽略或拒接来电的问题;达到了对于未存储来电号码或该来电号码的联系人信息的来电,自动在来电界面上显示该电话号码的联系人信息,使得用户可以知道来电号码的对象的效果。
在本实施例中,通过发送账号与商户标识之间的对应关系或者匹配短信内容中的字符串两种方式确定出商户标识,以此确定出与商户标识对应的短信模板,使得智能设备可以利用短信模版精准的识别短信内容中姓名信息。
在本实施例中,将商户标识显示在来电界面上,使得用户可以明确知道来电号码对应的姓名信息是从哪个商户标识对应的发送账号所发送的短信中识别出来的。
在本实施例中,仅查找白名单中的发送账号发送的短信,使得智能设备所读取得内容均来自于合法商户。
在本实施例中,通过定时删除临时存储的姓名信息与电话号码的对应关系,避免不需要的对应关系影响用户使用通讯录,也避免大量的对应关系占用智能设备的存储空间。
在本实施例中,对于联系频率较高的电话号码,智能设备自动保留该电话号码对应的对应关系,省去了用户存储联系频率较高的电话号码的过程。
本公开一示例性实施例提供了一种电话号码翻译装置,能够实现本公开提供的电话号码翻译方法,该电话号码翻译装置包括:处理器、用于存储处理器可执行指令的存储器;
其中,处理器被配置为:
在接收到来电时,检测通讯录中是否存储有来电号码的联系人信息;
在检测到通讯录中未存储有来电号码的联系人信息时,查找短信内容中包含该来电号码的短信;
从短信的内容中识别预定类型信息,该预定类型信息至少包括姓名信息;
在来电的显示界面上,将姓名信息作为来电号码的联系人信息进行显示。
图3是根据一示例性实施例示出的一种用于翻译电话号码的装置的框图。例如,装置300可以是具有通话功能的智能设备,这里所讲的智能设备可以为智能手机,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,台人数字助理等。
参照图3,装置300可以包括以下一台或多台组件:处理组件302,存储器304,电源组件306,多媒体组件308,音频组件310,输入/输出(I/O)接口312,传感器组件314,以及通信组件316。
处理组件302通常控制装置300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件302可以包括一台或多台处理器318来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件302可以包括一台或多台模块,便于处理组件302和其他组件之间的交互。例如,处理组件302可以包括多媒体模块,以方便多媒体组件308和处理组件302之间的交互。
存储器304被配置为存储各种类型的数据以支持在装置300的操作。这些数据的示例包括用于在装置300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件306为装置300的各种组件提供电力。电源组件306可以包括电源管理***,一台或多台电源,及其他与为装置300生成、管理和分配电力相关联的组件。
多媒体组件308包括在装置300和用户之间的提供一台输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一台或多台触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件308包括一 台前置摄像头和/或后置摄像头。当装置300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每台前置摄像头和后置摄像头可以是一台固定的光学透镜***或具有焦距和光学变焦能力。
音频组件310被配置为输出和/或输入音频信号。例如,音频组件310包括一台麦克风(MIC),当装置300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器304或经由通信组件316发送。在一些实施例中,音频组件310还包括一台扬声器,用于输出音频信号。
I/O接口312为处理组件302和***接口模块之间提供接口,上述***接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件314包括一台或多台传感器,用于为装置300提供各台方面的状态评估。例如,传感器组件314可以检测到装置300的打开/关闭状态,组件的相对定位,例如组件为装置300的显示器和小键盘,传感器组件314还可以检测装置300或装置300一台组件的位置改变,用户与装置300接触的存在或不存在,装置300方位或加速/减速和装置300的温度变化。传感器组件314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件316被配置为便于装置300和其他设备之间有线或无线方式的通信。装置300可以接入基于通信标准的无线网络,如Wi-Fi,2G或3G,或它们的组合。在一台示例性实施例中,通信组件316经由广播信道接收来自外部广播管理***的广播信号或广播相关信息。在一台示例性实施例中,通信组件316还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RF标识)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置300可以被一台或多台应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述电话号码翻译方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器304,上述指令可由装置300的处理器318执行以完成上述电话号码翻译方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、 磁带、软盘和光数据存储设备等。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (13)

  1. 一种电话号码翻译方法,其特征在于,应用于智能设备中,所述方法包括:
    在接收到来电时,检测通讯录中是否存储有来电号码的联系人信息;
    在检测到通讯录中未存储有所述来电号码的联系人信息时,查找短信内容中包含所述来电号码的短信;
    从所述短信的内容中识别预定类型信息,所述预定类型信息至少包括姓名信息;
    在所述来电的显示界面上,将所述姓名信息作为所述来电号码的联系人信息进行显示。
  2. 根据权利要求1所述的方法,其特征在于,所述从所述短信的内容中识别预定类型信息,包括:
    根据发送账号与商户标识之间的对应关系,确定与所述短信的发送账号对应的商户标识,或者,将预存的商户标识列表中的商户标识依次与确定出的所述短信中的字符串进行匹配,确定出所述短信中的商户标识;
    根据所述商户标识对应的短信模板,识别所述短信中的姓名信息。
  3. 根据权利要求1所述的方法,其特征在于,所述预定类型信息还包括商户标识,所述从所述短信的内容中识别预定类型信息,还包括:
    将与所述短信相关的所述商户标识作为所述预定类型信息的一部分。
  4. 根据权利要求1所述的方法,其特征在于,所述查找短信内容中包含所述来电号码的短信,包括:
    从符合预定条件的历史短信中,查找短信内容中包含所述来电号码的短信,所述符合预定条件的历史短信为接收时刻在所述来电之前预定时间段内的短信,或者,发送账号位于白名单中的历史短信,所述白名单用于存储合法商户的发送账号的号码。
  5. 根据权利要求1至4中任一所述的方法,其特征在于,所述方法还包括:
    将所述姓名信息和所述来电号码作为一组对应关系存储至所述通讯录中的临时列表中,所述临时列表中的对应关系的存储时长为预定时长,当所述临时列表中的对应关系的存储时长达到所述预定时长时,从所述临时列表中删除所述对应关系;
    或者,
    将所述姓名信息和所述来电号码作为一组对应关系存储至所述通讯录中,对所述对应关系进行标记,被标记的对应关系的存储时长为所述预定时长,当被标记的对应关系的存储时长达到所述预定时长时,从所述通讯录中删除所述对应关系。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    在所述来电号码与所述智能设备之间的通讯次数达到预定次数阈值,且存储时长未达到 所述预定时长时,将所述来电号码和所述姓名信息之间的对应关系从所述临时列表移动至所述通讯录的非临时列表中,或者,去除所述来电号码和所述姓名信息之间的对应关系的标记;
    其中,所述通讯次数为以下至少一种次数或至少两种次数之和:所述来电号码的来电次数、所述智能设备呼叫所述来电号码的次数、所述智能设备接收所述来电号码发送短信的次数、所述智能设备向所述来电号码发送短信的次数。
  7. 一种电话号码翻译装置,其特征在于,应用于智能设备中,所述装置包括:
    检测模块,被配置为在接收到来电时,检测通讯录中是否存储有来电号码的联系人信息;
    查找模块,被配置为在检测到通讯录中未存储有所述检测模块获取的所述来电号码的联系人信息时,查找短信内容中包含所述来电号码的短信;
    识别模块,被配置为从所述查找模块确定的所述短信的内容中识别预定类型信息,所述预定类型信息至少包括姓名信息;
    显示模块,被配置为在所述来电的显示界面上,将所述识别模块读取的所述姓名信息作为所述来电号码的联系人信息进行显示。
  8. 根据权利要求7所述的装置,其特征在于,所述识别模块,包括:
    确定子模块,被配置为根据发送账号与商户标识之间的对应关系,确定与所述短信的发送账号对应的商户标识,或者,将预存的商户标识列表中的商户标识依次与确定出的所述短信中的字符串进行匹配,确定出所述短信中的商户标识;
    识别子模块,被配置为根据所述确定子模块确定的所述商户标识对应的短信模板,识别所述短信中的姓名信息。
  9. 根据权利要求7所述的装置,其特征在于,所述类型信息还包括商户标识,所述识别模块,还被配置为:
    将与所述短信相关的所述商户标识作为所述预定类型信息的一部分。
  10. 根据权利要7所述的装置,其特征在于,所述查找模块,还被配置为:
    从符合预定条件的历史短信中,查找短信内容中包含所述来电号码的短信,所述符合预定条件的历史短信为接收时刻在所述来电之前预定时间段内的短信,或者,发送账号位于白名单中的历史短信,所述白名单用于存储合法商户的发送账号的号码。
  11. 根据权利要求7至10中任一所述的装置,其特征在于,所述装置还包括:
    第一存储模块,被配置为将所述识别模块读取的所述姓名信息和所述检测模块获取的所述来电号码作为一组对应关系存储至所述通讯录中的临时列表中,所述临时列表中的对应关系的存储时长为预定时长,当所述临时列表中的对应关系的存储时长达到所述预定时长时,从所述临时列表中删除所述对应关系;
    或者,
    第二存储模块,被配置为将所述识别模块读取的所述姓名信息和所述检测模块获取的所述来电号码作为一组对应关系存储至所述通讯录中,对所述对应关系进行标记,被标记的对应关系的存储时长为所述预定时长,当被标记的对应关系的存储时长达到所述预定时长时,从所述通讯录中删除所述对应关系。
  12. 根据权利要求11所述的装置,其特征在于,所述装置还包括:
    操作模块,被配置为在所述来电号码与所述智能设备之间的通讯次数达到预定次数阈值,且存储时长未达到所述预定时长时,将所述来电号码和所述姓名信息之间的对应关系从所述临时列表移动至所述通讯录的非临时列表中,或者,去除所述来电号码和所述姓名信息之间的对应关系的标记;
    其中,所述通讯次数为以下至少一种次数或至少两种次数之和:所述来电号码的来电次数、所述智能设备呼叫所述来电号码的次数、所述智能设备接收所述来电号码发送短信的次数、所述智能设备向所述来电号码发送短信的次数。
  13. 一种电话号码翻译装置,其特征在于,所述装置包括:
    处理器;
    用于存储所述处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    在接收到来电时,检测通讯录中是否存储有来电号码的联系人信息;
    在检测到通讯录中未存储有所述来电号码的联系人信息时,查找短信内容中包含所述来电号码的短信;
    从所述短信的内容中识别预定类型信息,所述预定类型信息至少包括姓名信息;
    在所述来电的显示界面上,将所述姓名信息作为所述来电号码的联系人信息进行显示。
PCT/CN2016/097213 2016-03-31 2016-08-29 电话号码翻译方法及装置 WO2017166671A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610201552.8 2016-03-31
CN201610201552.8A CN105872230B (zh) 2016-03-31 2016-03-31 电话号码翻译方法及装置

Publications (1)

Publication Number Publication Date
WO2017166671A1 true WO2017166671A1 (zh) 2017-10-05

Family

ID=56627954

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097213 WO2017166671A1 (zh) 2016-03-31 2016-08-29 电话号码翻译方法及装置

Country Status (4)

Country Link
US (1) US10154128B2 (zh)
EP (1) EP3226524B1 (zh)
CN (1) CN105872230B (zh)
WO (1) WO2017166671A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872230B (zh) 2016-03-31 2020-08-11 北京小米移动软件有限公司 电话号码翻译方法及装置
CN108076203A (zh) * 2016-11-09 2018-05-25 天津三星通信技术研究有限公司 联系人处理方法和设备
US11330406B1 (en) 2021-01-29 2022-05-10 T-Mobile Usa, Inc. Caller identifier

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080134081A1 (en) * 2006-12-04 2008-06-05 Samsung Electronics Co., Ltd. Information list display method for mobile terminal
CN104378745A (zh) * 2013-08-16 2015-02-25 联想(北京)有限公司 一种显示方法及电子设备
CN105049580A (zh) * 2015-07-27 2015-11-11 联想(北京)有限公司 一种信息处理方法及电子设备
CN105430146A (zh) * 2015-10-28 2016-03-23 小米科技有限责任公司 电话号码识别方法及装置
CN105872230A (zh) * 2016-03-31 2016-08-17 北京小米移动软件有限公司 电话号码翻译方法及装置

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060046720A1 (en) 2004-09-02 2006-03-02 Teemu Toropainen Mobile communications terminal, system and method therefore
US8126120B2 (en) * 2005-12-12 2012-02-28 Tellme Networks, Inc. Providing missed call and message information
KR100877670B1 (ko) * 2007-08-06 2009-01-08 유상규 메시지 내용을 분석하여 전화번호를 변경하는 전화번호변경 방법 및 그 방법이 저장된 이동통신단말
US8756161B2 (en) * 2008-02-11 2014-06-17 Accenture Global Services Limited Customer initiated payment method using mobile device
US20120196575A1 (en) * 2011-02-02 2012-08-02 James Allen Hymel Communication device and method for displaying message information when receiving a call
CN102833390B (zh) * 2011-06-16 2016-07-06 富泰华工业(深圳)有限公司 手机及其短消息处理方法
US9846902B2 (en) * 2011-07-19 2017-12-19 Slice Technologies, Inc. Augmented aggregation of emailed product order and shipping information
US8880045B2 (en) * 2012-06-07 2014-11-04 Cellco Partnership Real-time delivery of caller information on 3G and 4G data with incoming voice call
US20160134750A1 (en) * 2013-06-20 2016-05-12 Nokia Technologies Oy Incoming call identification
CN105323358A (zh) * 2014-06-06 2016-02-10 中兴通讯股份有限公司 一种通话提醒方法、装置及通信终端
CN104244207A (zh) * 2014-09-29 2014-12-24 小米科技有限责任公司 信息中号码的处理方法及装置
US20160098699A1 (en) * 2014-10-07 2016-04-07 Mastercard International Incorporated User-friendly mobile payments system
CN105162937B (zh) * 2015-08-31 2018-04-06 小米科技有限责任公司 来电信息处理方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080134081A1 (en) * 2006-12-04 2008-06-05 Samsung Electronics Co., Ltd. Information list display method for mobile terminal
CN104378745A (zh) * 2013-08-16 2015-02-25 联想(北京)有限公司 一种显示方法及电子设备
CN105049580A (zh) * 2015-07-27 2015-11-11 联想(北京)有限公司 一种信息处理方法及电子设备
CN105430146A (zh) * 2015-10-28 2016-03-23 小米科技有限责任公司 电话号码识别方法及装置
CN105872230A (zh) * 2016-03-31 2016-08-17 北京小米移动软件有限公司 电话号码翻译方法及装置

Also Published As

Publication number Publication date
EP3226524A1 (en) 2017-10-04
CN105872230A (zh) 2016-08-17
CN105872230B (zh) 2020-08-11
US20170289326A1 (en) 2017-10-05
US10154128B2 (en) 2018-12-11
EP3226524B1 (en) 2022-10-26

Similar Documents

Publication Publication Date Title
WO2016145861A1 (zh) 来电提醒方法和装置
US9716789B2 (en) Method, device, terminal and server for replying call
WO2016008243A1 (zh) 网络连接方法及装置
WO2017101518A1 (zh) 定位信息提示方法及装置
WO2018098865A1 (zh) 消息阅读方法及装置
RU2594755C1 (ru) Способ и устройство для идентификации телефонного вызова
EP3041204A1 (en) Method for prompting calling request and device for the same
WO2017092121A1 (zh) 信息处理的方法及装置
US20170090684A1 (en) Method and apparatus for processing information
WO2018000710A1 (zh) WiFi信号图标的展示方法、装置和移动终端
EP3026876A1 (en) Method for acquiring recommending information, terminal and server
CN106603381B (zh) 处理聊天信息的方法及装置
CN106331328B (zh) 信息提示的方法及装置
WO2017166671A1 (zh) 电话号码翻译方法及装置
WO2016015404A1 (zh) 呼叫转移的方法、装置及终端
WO2017219536A1 (zh) 应用切换方法及装置
CN105704322B (zh) 天气信息获取方法及装置
EP3099023A1 (en) Method and device for sending message
CN110928425A (zh) 信息监控方法及装置
CN106506808B (zh) 对通讯消息提示的方法及装置
CN105635414A (zh) 屏蔽来电的方法及装置
WO2017092138A1 (zh) 用户信息推送方法及装置
CN108491535B (zh) 信息的分类存储方法及装置
CN107239490B (zh) 一种命名人脸图像的方法、装置及计算机可读存储介质
CN106790584B (zh) 信息同步方法及装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16896441

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896441

Country of ref document: EP

Kind code of ref document: A1