[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106506808A - The method and device pointed out by communication message - Google Patents

The method and device pointed out by communication message Download PDF

Info

Publication number
CN106506808A
CN106506808A CN201610889221.8A CN201610889221A CN106506808A CN 106506808 A CN106506808 A CN 106506808A CN 201610889221 A CN201610889221 A CN 201610889221A CN 106506808 A CN106506808 A CN 106506808A
Authority
CN
China
Prior art keywords
communication
message
historical
application
communication message
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.)
Granted
Application number
CN201610889221.8A
Other languages
Chinese (zh)
Other versions
CN106506808B (en
Inventor
江波
史春晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610889221.8A priority Critical patent/CN106506808B/en
Publication of CN106506808A publication Critical patent/CN106506808A/en
Application granted granted Critical
Publication of CN106506808B publication Critical patent/CN106506808B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of method and device pointed out by communication message, belongs to the communications field.Methods described includes:Receive communication message;Meet pre-conditioned in the case of, according to the history communication message that the corresponding communication number of communication message searches at least one communication applications;Information is generated according to the history communication message that searches;Prompting operation is executed according to information.In the embodiment of the present disclosure, when terminal receives communication message, according to the corresponding communication number of the communication message, search the history communication message of at least one communication applications, according to the history communication message including the communication number for finding, generate information, the information is used for pointing out user user contact person corresponding with the communication number before current to carry out communicating, alternatively, when the corresponding contact person of the communication number is stranger, by the information, user quickly can identify whether to have communicated in the stranger, it is easy to user to give a response the communication message.

Description

Method and device for prompting communication message
Technical Field
The present disclosure relates to the field of communications, and in particular, to a method and an apparatus for prompting a communication message.
Background
The terminal is usually installed with a plurality of communication applications, the communication applications include a call application, a short message application, a social application and the like, and the user receives communication messages of other users through the communication applications. For example, the user may receive incoming call information called by other users through the call application, receive short messages of other users through the short message application, or receive social information sent by other users through the social application.
In the prior art, when a terminal receives a communication message, the terminal needs to prompt the communication message and prompt a user to process the communication message. The prompting process can be as follows: and acquiring a communication number corresponding to the communication message, searching a contact list according to the communication number, and displaying the searched contact name to prompt a user when the communication number is the communication number in the contact list. For example, when the terminal is a mobile phone and the mobile phone receives incoming call information, the mobile phone number of the incoming call information is acquired, an address list in the mobile phone is searched according to the mobile phone number, and when the mobile phone number is the mobile phone number in the address list, the contact name corresponding to the searched mobile phone number is displayed to prompt that the user has the incoming call information of other users.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and an apparatus for prompting a communication message.
According to a first aspect of the embodiments of the present disclosure, a method for prompting a communication message is provided, where the method includes:
receiving a communication message;
under the condition that a preset condition is met, searching at least one historical communication message of the communication application according to the communication number corresponding to the communication message;
when the historical communication information related to the communication number is found, generating prompt information according to the found historical communication information, wherein the prompt information is used for prompting that the user communicates with a contact corresponding to the communication number before the user currently;
and executing a prompt operation according to the prompt information.
Optionally, the searching for the historical communication message of the at least one communication application according to the communication number includes:
acquiring a history record file of each communication application in at least one communication application locally stored by a terminal;
and searching the historical communication information stored in the historical record file of each communication application according to the communication number.
Optionally, the searching for the historical communication message stored in the historical record file of each communication application according to the communication number includes:
and searching the historical communication information of the communication time between the first time and the current time, which is stored in the historical record file of each communication application, according to the communication number, wherein the first time is before the current time, and the time difference between the first time and the current time is preset duration.
Optionally, the searching for the historical communication message of the at least one communication application according to the communication number includes:
determining at least one communication application locally stored by the terminal;
and sending the query request message to a background server corresponding to each communication application in the at least one communication application, wherein the query request message carries the communication number and is used for the background server to search the historical communication messages stored in the background server according to the communication number.
Optionally, the prompt information includes at least one of communication time of the searched historical communication message, communication time of a contact person corresponding to the communication number for communication, the searched historical communication message, and an application identifier corresponding to the searched historical communication message.
Optionally, searching for a historical communication message of at least one communication application according to a communication number corresponding to the communication message when the preset condition is met, where the searching includes:
and searching whether the contact person list of a first application has contact person information comprising the communication number or not according to the communication number, wherein the first application is the communication application for receiving the communication message, and if the contact person list of the first application does not have the contact person information, the operation of searching at least one historical communication message of the communication application according to the communication number corresponding to the communication message is executed.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for prompting a communication message, the apparatus including:
the receiving module is used for receiving the communication message;
the searching module is used for searching at least one historical communication message of the communication application according to the communication number corresponding to the communication message under the condition of meeting a preset condition;
the generating module is used for generating prompt information according to the searched historical communication message when the historical communication message related to the communication number is searched, wherein the prompt information is used for prompting the user that the user is communicated with the contact corresponding to the communication number before the current time;
and the execution module is used for executing prompt operation according to the prompt information.
Optionally, the search module includes:
the acquisition submodule is used for acquiring a history record file of each communication application in at least one communication application locally stored by the terminal;
and the searching submodule is used for searching the historical communication messages stored in the historical record file of each communication application according to the communication numbers.
Optionally, the lookup sub-module is configured to:
and searching the historical communication information of the communication time between the first time and the current time, which is stored in the historical record file of each communication application, according to the communication number, wherein the first time is before the current time, and the time difference between the first time and the current time is preset duration.
Optionally, the search module includes:
the determining submodule is used for determining at least one communication application locally stored in the terminal;
and the sending submodule is used for sending the query request message to a background server corresponding to each communication application in the at least one communication application, wherein the query request message carries the communication number and is used for the background server to search the stored historical communication message according to the communication number.
Optionally, the prompt information includes at least one of communication time of the searched historical communication message, communication time of a contact person corresponding to the communication number for communication, the searched historical communication message, and an application identifier corresponding to the searched historical communication message.
Optionally, the lookup module is configured to:
and searching whether the contact person list of a first application has contact person information comprising the communication number or not according to the communication number, wherein the first application is the communication application for receiving the communication message, and if the contact person list of the first application does not have the contact person information, the operation of searching at least one historical communication message of the communication application according to the communication number corresponding to the communication message is executed.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for prompting a communication message, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a communication message;
under the condition that a preset condition is met, searching at least one historical communication message of the communication application according to the communication number corresponding to the communication message;
when the historical communication information related to the communication number is found, generating prompt information according to the found historical communication information, wherein the prompt information is used for prompting that the user communicates with a contact corresponding to the communication number before the user currently;
and executing a prompt operation according to the prompt information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in the embodiment of the disclosure, when a terminal receives a communication message, and under the condition that a preset condition is met, a historical communication message of at least one communication application is searched according to a communication number corresponding to the communication message, and a prompt message is generated according to the searched historical communication message including the communication number, wherein the prompt message is used for prompting a user that the user has communicated with a contact corresponding to the communication number before the current time, so that the user can respond to the communication message conveniently.
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 invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart of a method for prompting a communication message according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of another method for prompting a communication message according to an embodiment of the present disclosure;
fig. 3A is a block diagram of an apparatus for prompting a communication message according to an embodiment of the disclosure;
fig. 3B is a block diagram of an apparatus of a lookup module according to an embodiment of the disclosure;
fig. 3C is a block diagram of an apparatus of another lookup module provided by an embodiment of the present disclosure;
fig. 4 is a block diagram of another apparatus for prompting a communication message according to an embodiment of the disclosure.
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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Before explaining the embodiments of the present disclosure in detail, an application scenario of the embodiments of the present disclosure will be described. In the prior art, when a terminal receives a communication message, the terminal prompts the communication message differently according to whether a communication number corresponding to the communication message is a communication number in a contact list. When the communication number corresponding to the communication message is the communication number in the contact list, the terminal displays the information of the contact corresponding to the communication number, such as the name of the contact, the image of the contact and the like; when the communication number corresponding to the communication message is not the communication number in the contact list, namely, the communication number is a stranger number, the terminal directly displays the stranger number at the moment to prompt the user of the communication message of the stranger. In any prompting mode, when the terminal receives the communication message, the user cannot know that the contact corresponding to the communication number is communicated before, so that the experience of the user for receiving the communication message is reduced.
Therefore, the disclosed embodiment provides a method for prompting a communication message, when a terminal receives a communication message, and under the condition that a preset condition is met, a historical communication message of at least one communication application is searched according to a communication number corresponding to the communication message, and a prompt message is generated according to the searched historical communication message related to the communication number, wherein the prompt message is used for prompting a user that the user has communicated with a contact corresponding to the communication number before the current time, so that the user can respond to the communication message conveniently.
Fig. 1 is a flowchart of a method for prompting a communication message according to an embodiment of the present disclosure, and as shown in fig. 1, the method for prompting a communication message is used in a terminal and includes the following steps.
In step 101, a communication message is received.
In step 102, in case that a preset condition is satisfied, a historical communication message of at least one communication application is searched according to a communication number corresponding to the communication message.
In step 103, when the historical communication message related to the communication number is found, a prompt message is generated according to the found historical communication message, and the prompt message is used for prompting the user that the user has communicated with the contact corresponding to the communication number before the current time.
In step 104, a prompt operation is performed according to the prompt information.
In the embodiment of the disclosure, when a terminal receives a communication message, and under the condition that a preset condition is met, a historical communication message of at least one communication application is searched according to a communication number corresponding to the communication message, and a prompt message is generated according to the searched historical communication message related to the communication number, wherein the prompt message is used for prompting a user that the user has communicated with a contact corresponding to the communication number before the current time, so that the user can respond to the communication message conveniently.
Optionally, searching for a historical communication message of at least one communication application according to the communication number includes:
acquiring a history record file of each communication application in at least one communication application locally stored by a terminal;
and searching the historical communication information stored in the historical record file of each communication application according to the communication number.
Optionally, searching for the historical communication message stored in the history file of each communication application according to the communication number includes:
and searching the historical communication message of the communication time between the first time and the current time, which is stored in the historical record file of each communication application, according to the communication number, wherein the first time is before the current time, and the time difference between the first time and the current time is preset duration.
Optionally, searching for a historical communication message of at least one communication application according to the communication number includes:
determining at least one communication application locally stored by the terminal;
and sending an inquiry request message to a background server corresponding to each communication application in at least one communication application, wherein the inquiry request message carries the communication number and is used for the background server to search the historical communication messages stored in the background server according to the communication number.
Optionally, the prompt information includes at least one of communication time of the searched historical communication message, communication time of a contact person corresponding to the communication number for communication, the searched historical communication message, and an application identifier corresponding to the searched historical communication message.
Optionally, searching for a historical communication message of at least one communication application according to a communication number corresponding to the communication message when a preset condition is met, where the searching includes:
and searching whether the contact person list of the first application has contact person information comprising the communication number or not according to the communication number, wherein the first application is the communication application for receiving the communication message, and if the contact person list of the first application does not have the contact person information, the operation of searching at least one historical communication message of the communication application according to the communication number corresponding to the communication message is executed.
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, and the embodiments of the present disclosure are not described in detail again.
Fig. 2 is a flowchart of another method for prompting a communication message according to an embodiment of the present disclosure, and as shown in fig. 2, the information prompting method is used in a terminal and includes the following steps.
In step 201, a communication message is received.
In the embodiment of the present disclosure, a plurality of communication applications are generally installed on a terminal, and the terminal may receive communication messages sent by other terminals through the communication applications. The communication applications can be a telephone application, a short message application or other social applications.
For example, when a terminal receives a communication message sent by another terminal through a call application, the communication message is incoming call information; when the terminal receives communication messages sent by other terminals through the short message application, the communication messages are short messages; when the terminal receives the communication message sent by other terminals through the social application, the communication message is social information.
It should be noted that the communication number corresponding to the communication message is carried in the communication message received by the terminal through the communication application. The communication number corresponding to the communication message is an account number of the user sending the communication message in the communication application.
For example, when the received communication message is incoming call information, the incoming call information carries the telephone number of the user who sent the incoming call information; when the received communication message is a short message, the short message carries the telephone number of the user who sends the short message; and when the received communication message is social information, the social information carries an account number registered in the server of the social application by the user sending the social information.
In step 202, a communication number corresponding to the communication message is obtained.
Because the communication message carries the communication number corresponding to the communication message, the communication number corresponding to the communication message can be acquired from the communication message.
For example, when the terminal receives incoming call information, a telephone number corresponding to the incoming call information can be acquired from the incoming call information; when the terminal receives the short message, the telephone number corresponding to the short message can be acquired from the short message; when the terminal receives the social information, an account corresponding to the social information may be acquired from the social information.
In step 203, according to the communication number, searching whether the contact person list of the first application has the contact person information including the communication number, wherein the first application is the communication application receiving the communication message, and if the contact person list of the first application does not have the contact person information, determining that the communication number is a stranger number.
For convenience of explanation, the application corresponding to the received communication message is referred to as a first application.
The method comprises the following steps: searching contact person information in a contact person list in the first application according to the communication number, wherein the contact person information comprises contact person names, contact person images, contact person numbers and the like; and if the contact person information comprising the communication number does not exist in the contact person list of the first application, determining that the communication number is a stranger number.
For example, when the terminal is a mobile phone and receives incoming call information, after the telephone number of the incoming call information is acquired, all contact information in an address list of a mobile phone call application is searched, wherein the contact information comprises contact names and the telephone numbers of the contacts; and when the telephone number of the incoming call information is not the telephone number of the contact in the address list of the mobile phone call application, determining that the telephone number is a stranger number.
In the embodiment of the disclosure, if the contact information including the communication number exists in the contact list of the first application, the contact information including the communication number is displayed. If the contact information including the communication number does not exist in the contact list of the first application, that is, the communication number is a stranger number, in order to help the user quickly identify whether the communication number has communicated with a stranger corresponding to the communication number, so that the user determines whether to process the communication message, the present embodiment prompts the currently received communication message.
In the embodiment of the present disclosure, this step is an optional step, and may or may not be performed. When this step is not performed, the following step 204 is performed after the step 202 is performed.
Specifically, the prompting operation for the communication message may be implemented through steps 204 to 206.
In step 204, at least one historical communication message of the communication application is searched according to the communication number.
In the embodiment of the disclosure, the historical communication message of at least one communication application is searched according to the communication number, and whether the historical communication message of the at least one communication application has the historical communication message related to the communication number is searched. The historical communication message related to the communication number may be a historical communication message received or sent by the communication number, or a historical communication message whose specific content includes the communication number.
It should be noted that the historical communication message of the first application may include a historical communication message related to the communication number, and the historical communication messages of other communication applications besides the first application may also include a historical communication message related to the communication number. Therefore, in the embodiment of the present disclosure, the historical communication message of at least one communication application is searched according to the communication number corresponding to the communication message, which may be a historical communication message of a first application on the search terminal, or a historical communication message of other communication applications except the first application on the search terminal.
For example, when the terminal receives incoming call information, a telephone number corresponding to the incoming call information is determined, and a user may perform telephone communication with a contact corresponding to the telephone number before the current time, may also perform short message communication with the contact corresponding to the telephone number, and may also include the telephone number in specific content of performing short message communication or social application communication with the contact corresponding to the telephone number.
In addition, since the historical communication message in the communication application may be a historical communication message stored locally by the terminal, or a historical communication message stored in a background server of the communication application, searching for the historical communication message of at least one communication application according to the communication number may be implemented in the following two ways.
In the first mode, historical communication messages of at least one communication application stored locally in the terminal are searched.
The first way is realized by the following two steps.
(1) Acquiring a history record file of each communication application in at least one communication application locally stored by a terminal;
the history record file of each communication application comprises communication messages, communication numbers, communication time, communication duration and the like of the communication messages which are communicated with other users by the user using the communication application before the current time.
For example, the history file in the call application includes the call time of the user using the call application and the other user to make a call before the current time, the phone numbers of the other users, the call duration, and the like; the history record file in the short message application comprises the short message communication time of the user using the short message application to communicate with other users before the current time, the telephone numbers of other users, the short message and the like; the history record file in the social application comprises the time of social communication of the user communicating with other users by using the social application before the current time, account numbers of other users in the social application, the social information and the like.
(2) And searching the historical communication information stored in the historical record file of each communication application according to the communication number.
After acquiring a history file of each communication application in at least one communication application locally stored by the terminal, searching the history file of each communication application according to the communication number; and searching the historical communication message related to the communication number from the historical record file of each communication application.
In the embodiment of the present disclosure, when the data size of the history file is too large, searching all the history communication messages stored in the history file of each communication application may cause efficiency reduction, and therefore, it is possible to search the history communication messages of which the communication time stored in the history file of each communication application is between the first time and the current time. The first time is a time before the current time and the time difference between the first time and the current time is a preset time length.
The preset time length may be a default preset time length in the terminal, or a preset time length preset by a user. For example, the preset time period may be 2 months, 3 months, 6 months, and the like, which is not specifically limited in the embodiment of the present disclosure.
For example, when the telephone number corresponding to the incoming call information is determined, a history record file of each communication application stored locally in the terminal is searched, when the preset time length is 6 months, history communication messages within 6 months before the current time are searched from the history record file of each communication application, and then history communication messages related to the telephone number are searched from the history communication messages.
Optionally, when the number of the searched historical communication messages related to the communication number is still large, obtaining a preset number of historical communication messages with the communication time closest to the current time, where the preset number may be a number preset by the user.
In a second manner, historical communication messages stored in a background server of each communication application in at least one communication application are searched.
The second way may be: determining at least one communication application locally stored by the terminal; sending a query request message to a background server corresponding to each communication application in at least one communication application, wherein the query request message carries the communication number and a user account; for each background server of the communication application, the background server receives the query request message, acquires a history record file corresponding to a user account according to the user account carried by the query request message, and searches history communication messages included in the acquired history record file according to the communication number carried by the query request message; if the historical communication information related to the communication number is found out, the historical communication information related to the communication number is sent to the terminal; and the terminal receives the historical communication message which is sent by the background server and is related to the communication number.
Optionally, when the historical communication message related to the communication number is not found, the background server sends a query result message to the terminal, wherein the query result message is used for indicating that the historical communication message related to the communication number is not found; and when the terminal receives the inquiry result message, determining that the historical communication message related to the communication number is not searched.
It should be noted that, when the acquired history file includes a large number of history messages, the searching efficiency is reduced because the number of the searched history messages is large, and therefore in the embodiment of the present disclosure, the background server may search the acquired history file including the history messages of which the communication time is between the current time and the second time.
Optionally, if the number of the historical communication messages related to the communication number found by the background server is large, the background server may select a preset number of historical communication messages with communication time closest to the current time from the historical communication messages related to the communication number, and then send the selected historical communication messages to the terminal. Or,
and the background server sends the searched historical communication information related to the communication number to the terminal. And the terminal selects preset historical communication messages with communication time closest to the current time from the historical communication messages related to the communication number.
In step 205, when the historical communication message related to the communication number is found, a prompt message for prompting the user that the user has communicated with the contact corresponding to the communication number before the current time is generated according to the found historical communication message.
In the embodiment of the present disclosure, the prompt message includes at least one of the communication time of the searched historical communication message, the communication time of the contact corresponding to the communication number for communication, the searched historical communication message, and the application identifier corresponding to the searched historical communication message, so that the prompt message may be used to prompt the user that the user has communicated with the contact corresponding to the communication number before the current time.
For example, when incoming call information is received, a telephone number corresponding to the incoming call information is determined, and when the searched historical communication message related to the telephone number is: when the received 1 incoming call message of the phone number, 1 outgoing call message sent to the phone number, and 1 short message of which the short message content includes the phone number and one social message of which the social message content includes the phone number, a prompt message can be generated, wherein the prompt message can include at least one of the incoming call time of 1 incoming call message, the call duration of 1 incoming call message, the outgoing call time of 1 outgoing call message, the call duration of 1 outgoing call message, the short message communication time of 1 short message, the specific content of the short message, the communication time of 1 social message, and the specific content of 1 social message.
In addition, when the terminal does not find the historical communication message related to the communication number, other prompt information can be generated and corresponding prompt operation is executed, and the other prompt information is used for prompting that the user does not communicate with the contact corresponding to the communication number before the current time. For example, when receiving an incoming call message, determining a phone number corresponding to the incoming call message, and at the same time, not finding a historical communication message related to the phone number, another prompt message "no historical communication message" may be generated, and then displaying the other prompt message, and the user may check the other prompt message to know that a contact corresponding to the phone number has not communicated before the current time, and then determine whether a response needs to be made to the incoming call message.
In step 206, a prompt operation is performed according to the prompt information.
And executing a prompt operation according to the prompt information, wherein the prompt operation can be used for prompting the user that the user communicates with the contact corresponding to the communication number before the current time.
The implementation of the hint operation can be achieved in the following two ways.
The first way is to display the prompt information, so that the user can quickly know the communication condition of the contact person corresponding to the communication number before the user currently by checking the prompt information, and particularly, when the communication number is a stranger number, the prompt information can help the user to quickly identify whether the user has communicated with the stranger corresponding to the communication number before the user currently.
In the second mode, when the terminal has a voice function, the prompt message is directly played, and the user can judge whether to respond to the communication message after listening to the prompt message.
In the embodiment of the disclosure, when a communication message is received, searching at least one historical communication message of communication application according to a communication number corresponding to the communication message, and generating a prompt message according to the searched historical communication message related to the communication number; optionally, it may also be determined whether a communication number corresponding to a communication message received by the current terminal is a stranger number, and when the communication number corresponding to the communication message received by the terminal is the stranger number, a historical communication message of at least one communication application is searched according to the communication number corresponding to the communication message, and a prompt message is generated according to the searched historical communication message related to the communication number. The prompt information is used for prompting the user that the user communicates with the contact person corresponding to the communication number before the current time; particularly, when the communication number is a stranger number, the prompt message includes at least one of the communication time of the searched historical communication message, the communication time of the contact person corresponding to the communication number, the searched historical communication message and the application identifier corresponding to the searched historical communication message, so that the user can quickly identify whether the communication of the stranger is performed through the prompt message, and the user can conveniently respond to the communication message.
Fig. 3A is a block diagram of an apparatus 300 for prompting a communication message according to an embodiment of the disclosure. Referring to fig. 3A, the apparatus includes a receiving module 301, a lookup module 302, a generation module 303, and an execution module 304.
A receiving module 301, configured to receive a communication message;
the searching module 302 is configured to search, according to a communication number corresponding to the communication message, a historical communication message of at least one communication application under the condition that a preset condition is met;
a generating module 303, configured to, when a historical communication message related to the communication number is found, generate a prompt message according to the found historical communication message, where the prompt message is used to prompt a user that the user has communicated with a contact corresponding to the communication number before the current time;
and the execution module 304 is configured to execute a prompt operation according to the prompt information.
Optionally, referring to fig. 3B, the lookup module 302 includes:
the obtaining submodule 3021 is configured to obtain a history file of each communication application in at least one communication application locally stored in the terminal;
the searching submodule 3022 is configured to search, according to the communication number, a historical communication message stored in the history file of each communication application.
Optionally, the lookup sub-module 3022 is configured to:
and searching the historical communication messages from the first time to the current time, which are stored in the historical record file of each communication application, according to the communication number, wherein the first time is before the current time, and the time difference between the first time and the current time is preset duration.
Optionally, referring to fig. 3C, the lookup module 302 further includes:
a determining submodule 3023, configured to determine at least one communication application locally stored in the terminal;
the sending submodule 3024 is configured to send an inquiry request message to a background server corresponding to each communication application in the at least one communication application, where the inquiry request message carries the communication number, and is used for the background server to search for a historical communication message stored in the background server according to the communication number.
Optionally, the prompt information includes at least one of communication time of the searched historical communication message, communication time of a contact person corresponding to the communication number for communication, the searched historical communication message, and an application identifier corresponding to the searched historical communication message.
Optionally, the lookup module 302 is configured to:
and searching whether the contact person list of a first application has contact person information comprising the communication number or not according to the communication number, wherein the first application is a communication application for receiving the communication message, and if the contact person list of the first application does not have the contact person information, performing the operation of searching at least one historical communication message of the communication application according to the communication number.
In the embodiment of the disclosure, when the terminal receives a communication message, the terminal searches for at least one historical communication message of a communication application according to the communication number, and generates a prompt message according to the searched historical communication message related to the communication number, wherein the prompt message is used for prompting a user that the user has communicated with a contact corresponding to the communication number before the current time, so that the user can respond to the communication message conveniently.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 4 is a block diagram of an apparatus 400 for prompting a communication message according to an embodiment of the disclosure. For example, the apparatus 400 may be a mobile phone, a computer, a messaging device, a game console, a tablet device, a medical device, an exercise device, and the like.
Referring to fig. 4, the apparatus 400 may include one or more of the following components: processing components 402, memory 404, power components 406, multimedia components 408, audio components 410, input/output (I/O) interfaces 412, sensor components 414, and communication components 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the apparatus 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply components 406 provide power to the various components of device 400. The power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power supplies for the apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 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 408 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 apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational 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 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 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 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor assembly 414 may detect an open/closed state of the apparatus 400, the relative positioning of the components, such as a display and keypad of the apparatus 400, the sensor assembly 414 may also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 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 the disclosed embodiments, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an embodiment of the present disclosure, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of prompting a communication message, the method comprising:
and receiving the communication message.
And searching at least one historical communication message of the communication application according to the communication number corresponding to the communication message under the condition of meeting the preset condition.
And when the historical communication message related to the communication number is searched, generating a prompt message according to the searched historical communication message, wherein the prompt message is used for prompting the user that the user has communicated with the contact corresponding to the communication number before the current time.
Optionally, searching for a historical communication message of at least one communication application according to the communication number includes:
acquiring a history record file of each communication application in at least one communication application locally stored by a terminal;
and searching the historical communication information stored in the historical record file of each communication application according to the communication number.
Optionally, searching for the historical communication message stored in the history file of each communication application according to the communication number includes:
and searching the historical communication message of the communication time between the first time and the current time, which is stored in the historical record file of each communication application, according to the communication number, wherein the first time is before the current time, and the time difference between the first time and the current time is preset duration.
Optionally, searching for a historical communication message of at least one communication application according to the communication number includes:
determining at least one communication application locally stored by the terminal;
and sending an inquiry request message to a background server corresponding to each communication application in at least one communication application, wherein the inquiry request message carries the communication number and is used for the background server to search the historical communication messages stored in the background server according to the communication number.
Optionally, the prompt information includes at least one of communication time of the searched historical communication message, communication time of a contact person corresponding to the communication number for communication, the searched historical communication message, and an application identifier corresponding to the searched historical communication message.
Optionally, searching for a historical communication message of at least one communication application according to a communication number corresponding to the communication message when a preset condition is met, where the searching includes:
and searching whether the contact person list of a first application has contact person information comprising the communication number or not according to the communication number, wherein the first application is a communication application for receiving the communication message, and if the contact person list of the first application does not have the contact person information, performing the operation of searching at least one historical communication message of the communication application according to the communication number.
In the embodiment of the disclosure, when the terminal receives a communication message, a historical communication message of at least one communication application is searched according to a communication number corresponding to the communication message, and a prompt message is generated according to the searched historical communication message related to the communication number, where the prompt message is used to prompt a user that the user has communicated with a contact corresponding to the communication number before the current time, so that the user can respond to the communication message.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention 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 invention is limited only by the appended claims.

Claims (13)

1. A method for prompting a communication message, the method comprising:
receiving a communication message;
under the condition that a preset condition is met, searching at least one historical communication message of the communication application according to the communication number corresponding to the communication message;
when the historical communication information related to the communication number is found, generating prompt information according to the found historical communication information, wherein the prompt information is used for prompting that the user communicates with a contact corresponding to the communication number before the user currently;
and executing a prompt operation according to the prompt information.
2. The method of claim 1, wherein the searching for the historical communication message of the at least one communication application according to the communication number comprises:
acquiring a history record file of each communication application in at least one communication application locally stored by a terminal;
and searching the historical communication information stored in the historical record file of each communication application according to the communication number.
3. The method of claim 2, wherein the searching for the historical communication message stored in the history file of each communication application according to the communication number comprises:
and searching the historical communication information of the communication time between the first time and the current time, which is stored in the historical record file of each communication application, according to the communication number, wherein the first time is before the current time, and the time difference between the first time and the current time is preset duration.
4. The method according to any one of claims 1 to 2, wherein said searching for the historical communication message of at least one communication application according to the communication number comprises:
determining at least one communication application locally stored by the terminal;
and sending the query request message to a background server corresponding to each communication application in the at least one communication application, wherein the query request message carries the communication number and is used for the background server to search the historical communication messages stored in the background server according to the communication number.
5. The method of claim 1, wherein the prompt message includes at least one of a communication time of the searched historical communication message, a communication duration of a communication with a contact corresponding to the communication number, the searched historical communication message, and an application identifier corresponding to the searched historical communication message.
6. The method according to claim 1, wherein searching for the historical communication message of at least one communication application according to the communication number corresponding to the communication message when a preset condition is met comprises:
and searching whether the contact person list of a first application has contact person information comprising the communication number or not according to the communication number, wherein the first application is the communication application for receiving the communication message, and if the contact person list of the first application does not have the contact person information, the operation of searching at least one historical communication message of the communication application according to the communication number corresponding to the communication message is executed.
7. An apparatus for prompting a communication message, the apparatus comprising:
the receiving module is used for receiving the communication message;
the searching module is used for searching at least one historical communication message of the communication application according to the communication number corresponding to the communication message under the condition of meeting a preset condition;
the generating module is used for generating prompt information according to the searched historical communication message when the historical communication message related to the communication number is searched, wherein the prompt information is used for prompting the user that the user is communicated with the contact corresponding to the communication number before the current time;
and the execution module is used for executing prompt operation according to the prompt information.
8. The apparatus of claim 7, wherein the lookup module comprises:
the acquisition submodule is used for acquiring a history record file of each communication application in at least one communication application locally stored by the terminal;
and the searching submodule is used for searching the historical communication messages stored in the historical record file of each communication application according to the communication numbers.
9. The apparatus of claim 8, wherein the lookup submodule is configured to:
and searching the historical communication information of the communication time between the first time and the current time, which is stored in the historical record file of each communication application, according to the communication number, wherein the first time is before the current time, and the time difference between the first time and the current time is preset duration.
10. The apparatus of any of claims 7 to 8, wherein the lookup module comprises:
the determining submodule is used for determining at least one communication application locally stored in the terminal;
and the sending submodule is used for sending the query request message to a background server corresponding to each communication application in the at least one communication application, wherein the query request message carries the communication number and is used for the background server to search the stored historical communication message according to the communication number.
11. The apparatus according to claim 7, wherein the prompt message includes at least one of a communication time of the searched historical communication message, a communication duration of a communication with a contact corresponding to the communication number, the searched historical communication message, and an application identifier corresponding to the searched historical communication message.
12. The apparatus of claim 7, wherein the lookup module is configured to:
and searching whether the contact person list of a first application has contact person information comprising the communication number or not according to the communication number, wherein the first application is the communication application for receiving the communication message, and if the contact person list of the first application does not have the contact person information, the operation of searching at least one historical communication message of the communication application according to the communication number corresponding to the communication message is executed.
13. An apparatus for prompting a communication message, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a communication message;
under the condition that a preset condition is met, searching at least one historical communication message of the communication application according to the communication number corresponding to the communication message;
when the historical communication information related to the communication number is found, generating prompt information according to the found historical communication information, wherein the prompt information is used for prompting that the user communicates with a contact corresponding to the communication number before the user currently;
and executing a prompt operation according to the prompt information.
CN201610889221.8A 2016-10-12 2016-10-12 Method and device for prompting communication message Active CN106506808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610889221.8A CN106506808B (en) 2016-10-12 2016-10-12 Method and device for prompting communication message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610889221.8A CN106506808B (en) 2016-10-12 2016-10-12 Method and device for prompting communication message

Publications (2)

Publication Number Publication Date
CN106506808A true CN106506808A (en) 2017-03-15
CN106506808B CN106506808B (en) 2020-02-07

Family

ID=58293889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610889221.8A Active CN106506808B (en) 2016-10-12 2016-10-12 Method and device for prompting communication message

Country Status (1)

Country Link
CN (1) CN106506808B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197463A (en) * 2017-07-10 2017-09-22 北京亿赛通网络安全技术有限公司 A kind of detection method of telephone fraud, storage medium and electronic equipment
CN109120654A (en) * 2017-06-23 2019-01-01 腾讯科技(深圳)有限公司 A kind of information cuing method of server, device and storage medium
CN109525484A (en) * 2018-11-20 2019-03-26 阿里巴巴集团控股有限公司 Risk identification treating method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611746A (en) * 2012-02-24 2012-07-25 阮运 Method and system for sharing contact person information
CN104394258A (en) * 2014-12-01 2015-03-04 广州三星通信技术研究有限公司 Method and device for processing contact change of communication object
CN105072238A (en) * 2015-09-10 2015-11-18 陈包容 Method and apparatus for creating contact list according to note information of newly-added number
CN105704286A (en) * 2014-11-24 2016-06-22 小米科技有限责任公司 Communication information display method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611746A (en) * 2012-02-24 2012-07-25 阮运 Method and system for sharing contact person information
CN105704286A (en) * 2014-11-24 2016-06-22 小米科技有限责任公司 Communication information display method and device
CN104394258A (en) * 2014-12-01 2015-03-04 广州三星通信技术研究有限公司 Method and device for processing contact change of communication object
CN105072238A (en) * 2015-09-10 2015-11-18 陈包容 Method and apparatus for creating contact list according to note information of newly-added number

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120654A (en) * 2017-06-23 2019-01-01 腾讯科技(深圳)有限公司 A kind of information cuing method of server, device and storage medium
CN107197463A (en) * 2017-07-10 2017-09-22 北京亿赛通网络安全技术有限公司 A kind of detection method of telephone fraud, storage medium and electronic equipment
CN109525484A (en) * 2018-11-20 2019-03-26 阿里巴巴集团控股有限公司 Risk identification treating method and apparatus

Also Published As

Publication number Publication date
CN106506808B (en) 2020-02-07

Similar Documents

Publication Publication Date Title
US9654621B2 (en) Methods and devices for prompting calling request
CN106790043B (en) Method and device for sending message in live broadcast application
CN108810866B (en) Method and device for connecting intelligent equipment and storage medium
CN104506410A (en) Instant communication method and device
CN104834665A (en) Target picture acquiring method and device
CN107423386B (en) Method and device for generating electronic card
CN105549944A (en) Device display method and device
CN104113646A (en) Method and apparatus for calling forwarding
CN105511739A (en) Message prompting method and device
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN106354504A (en) Message display method and device thereof
CN108011990B (en) Contact management method and device
CN106506808B (en) Method and device for prompting communication message
CN105282295A (en) Candidate contact recommendation method and device
CN104951522B (en) Method and device for searching
CN105704286A (en) Communication information display method and device
CN103945321B (en) The method and apparatus of resource transfers
CN106878654B (en) Video communication method and device
CN106658412B (en) Positioning method and device
CN104780256A (en) Address book management method and device and intelligent terminal
CN105101121A (en) Information transmitting method and device
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN112363786A (en) Advertisement picture processing method and device, electronic equipment and storage medium
CN107885464B (en) Data storage method, device and computer readable storage medium
CN106028277A (en) Reminding message processing method and apparatus

Legal Events

Date Code Title Description
C06 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