WO2018001212A1 - Method and device for displaying contact avatar and computer readable storage medium - Google Patents

Method and device for displaying contact avatar and computer readable storage medium Download PDF

Info

Publication number
WO2018001212A1
WO2018001212A1 PCT/CN2017/090080 CN2017090080W WO2018001212A1 WO 2018001212 A1 WO2018001212 A1 WO 2018001212A1 CN 2017090080 W CN2017090080 W CN 2017090080W WO 2018001212 A1 WO2018001212 A1 WO 2018001212A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
display
avatar
contact
target data
Prior art date
Application number
PCT/CN2017/090080
Other languages
French (fr)
Chinese (zh)
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 WO2018001212A1 publication Critical patent/WO2018001212A1/en

Links

Images

Classifications

    • 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
    • H04M1/576Means for retrieving and displaying personal data about calling party associated with a pictorial or graphical representation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • 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

Abstract

Disclosed in the embodiments of the present invention are a method and a device for displaying a contact avatar and a computer readable storage medium. The invention relates to the technical field of communications, and is used for avoiding the severe consequence caused by the situation where a user knows a call from a contact but fails to answer the call because of the possible special occasion. The method comprises: when a terminal device receives a call from a contact, acquiring target data, the target data comprising preset data that is stored in the terminal device and corresponds to the contact and/or historical communication data between the terminal device and the contact; when the target data satisfies a first preset condition, the terminal device displaying a first avatar on the display of the terminal device; when the target data satisfies a second preset condition, the terminal device displaying a second avatar on the display of the terminal device, or displaying the second avatar and reminder information on the display, or displaying the first avatar and reminder information on the display, the reminder information being used for reminding the user of the terminal device about information related to the target data.

Description

一种显示联系人头像的方法、装置及计算机可读存储介质Method, device and computer readable storage medium for displaying contact avatar 技术领域Technical field
本发明涉及电子设备应用领域,尤其涉及一种显示联系人头像的方法、装置及计算机可读存储介质。The present invention relates to the field of electronic device applications, and in particular, to a method, device, and computer readable storage medium for displaying a contact avatar.
背景技术Background technique
现有的智能手机中可存储多个联系人,每个联系人有一个固定的头像。当用户接收到联系人来电时,为了更好的表明来电的联系人,在智能手机的显示器上会显示来电的联系人的头像。在联系人来电时,由于使用智能手机的用户只能看到来电的联系人的固定的头像,并不能根据联系人的头像获得进一步的信息,在一些场景下(例如,正在开会的场景),在用户得知联系人来电的情况下,可能由于特殊的场合未接听电话而产生严重的后果。Multiple contacts can be stored in an existing smartphone, and each contact has a fixed avatar. When the user receives a contact call, in order to better indicate the contact of the incoming call, the contact's avatar is displayed on the display of the smart phone. When a contact calls, since the user using the smartphone can only see the fixed avatar of the incoming call, and cannot obtain further information according to the contact's avatar, in some scenarios (for example, a scene that is in a meeting), In the case where the user knows the incoming call of the contact, there may be serious consequences due to the failure to answer the call on a special occasion.
发明内容Summary of the invention
本发明的实施例提供一种显示联系人头像的方法、装置及计算机可读存储介质,用以避免在用户得知联系人来电的情况下,可能由于特殊的场合未接听电话而产生严重的后果。Embodiments of the present invention provide a method, apparatus, and computer readable storage medium for displaying a contact avatar, so as to avoid serious consequences if a user does not receive a call due to a special occasion when the user knows the incoming call of the contact. .
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
第一方面,提供了一种显示联系人头像的方法,包括:终端设备接收到联系人来电时,获取目标数据,目标数据包括终端设备中存储的与联系人对应的预设数据和/或终端设备与联系人的历史通信数据;当目标数据满足第一预设条件时,终端设备在终端设备的显示器上显示第一头像;当目标数据满足第二预设条件时,终端设备在终端设备的显示器上显示第二头像或在显示器上显示第二头像和提示信息或在显示器上显示第一头像和提示信息,提示信息用于向终端设备所属的用户提示与目标数据相关的信息。The first aspect provides a method for displaying a contact avatar, including: when the terminal device receives a contact call, the target data is acquired, and the target data includes preset data and/or a terminal corresponding to the contact stored in the terminal device. The historical communication data of the device and the contact; when the target data meets the first preset condition, the terminal device displays the first avatar on the display of the terminal device; when the target data meets the second preset condition, the terminal device is at the terminal device The second avatar is displayed on the display or the second avatar and the prompt information are displayed on the display or the first avatar and the prompt information are displayed on the display, and the prompt information is used to prompt the user to which the terminal device belongs to the information related to the target data.
本发明实施例提供的方法,终端设备在接收到联系人来电时,获取目标数据,并根据目标数据确定联系人的头像,由于联系人的头像是根据目标数据确定的,因此,当联系人来电时,用户可以根据联系人的头像(或头像和提示信息)获取与目标数据相关的信息,在一些场景下,可以防止用户在得知联系人来电的情况下未接听电话而产生严重的后果,在联系人的头像有多个的情况下,还可以提高趣味性。According to the method provided by the embodiment of the present invention, when receiving the incoming call of the contact, the terminal device acquires the target data, and determines the avatar of the contact according to the target data, because the avatar of the contact is determined according to the target data, therefore, when the contact is called The user can obtain information related to the target data according to the contact's avatar (or avatar and prompt information). In some scenarios, the user can prevent the user from receiving the call without knowing the incoming call, thereby causing serious consequences. In the case where there are multiple contacts' avatars, it is also fun.
结合第一方面,在第一种可能的实现方式中,提示信息为文字、图片、动画和视频中的至少一个。In conjunction with the first aspect, in a first possible implementation, the prompt information is at least one of a text, a picture, an animation, and a video.
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现方式中,该方法还包括:当目标数据满足第一预设条件时,终端设备播放第一铃声;当目标数据满足第二预设条件时,终端设备播放第二铃声。With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the method further includes: when the target data meets the first preset condition, the terminal device plays the first ringtone; When the target data satisfies the second preset condition, the terminal device plays the second ringtone.
该情况下,终端设备所属的用户还可以根据不同的铃声区分不同的来电场景。In this case, the user to which the terminal device belongs can also distinguish different call scenes according to different ring tones.
结合第一方面、第一方面的第一种可能的实现方式或第二种可能的实现方式,在第三种可能的实现方式中,终端设备在显示器上显示第二头像和提示信息,包括:终端设备将第二头像和提示信息重叠或部分重叠或不重叠的显示在显示器上;或者,终端设备在显示器上显示第一头像和提示信息,包括:终端设备将第一头像和提示信息重叠或部分重叠或不重叠的显示在显示器上。 With reference to the first aspect, the first possible implementation manner of the first aspect, or the second possible implementation manner, in a third possible implementation manner, the terminal device displays the second avatar and the prompt information on the display, including: The terminal device displays the second avatar and the prompt information on the display by overlapping or partially overlapping or not overlapping; or the terminal device displays the first avatar and the prompt information on the display, including: the terminal device overlaps the first avatar and the prompt information or Partially overlapping or non-overlapping displays on the display.
结合第一方面、第一方面的第一种可能的实现方式至第三种可能的实现方式任一种,在第四种可能的实现方式中,方法还包括:当目标数据满足第三预设条件时,终端设备在终端设备的显示器上显示第三头像,其中,第一预设条件、第二预设条件和第三预设条件均不相同。In combination with the first aspect, the first possible implementation manner of the first aspect, and the third possible implementation manner, in a fourth possible implementation manner, the method further includes: when the target data meets the third preset In the condition, the terminal device displays a third avatar on the display of the terminal device, where the first preset condition, the second preset condition, and the third preset condition are all different.
结合第一方面、第一方面的第一种可能的实现方式至第四种可能的实现方式任一种,在第五种可能的实现方式中,历史通信数据包括:第一预设时间段内联系人的历史来电次数、第二预设时间段内联系人向终端设备发送的短信内容、第二预设时间段内联系人向终端设备发送的短信条数、第三预设时间段内终端设备的社交软件中的联系人发送的消息内容以及第三预设时间段内终端设备的社交软件中的联系人发送的消息的条数中的至少一个。With reference to the first aspect, the first possible implementation manner of the first aspect, and the fourth possible implementation manner, in the fifth possible implementation manner, the historical communication data includes: the first preset time period The number of historical calls of the contact, the content of the short message sent by the contact to the terminal device during the second preset time period, the number of short messages sent by the contact to the terminal device during the second preset time period, and the terminal within the third preset time period At least one of a message content sent by a contact in the social software of the device and a number of messages sent by the contact in the social software of the terminal device within the third preset time period.
第二方面,提供了一种计算设备上的图形用户界面,计算设备具有显示器、一个或多个用户输入设备、存储器和用于执行保存在存储器中的一个或多个程序的一个或多个处理器,图形用户界面包括至少一个图标;其中,联系人来电被检测到;响应于检测到联系人来电,在获取到的目标数据满足第一预设条件时,第一头像被显示在显示器上;在获取到的目标数据满足第二预设条件时,第二头像或第二头像和提示信息或第一头像和提示信息被显示在显示器上,提示信息用于向终端设备所属的用户提示与目标数据相关的信息,目标数据包括终端设备中存储的与联系人对应的预设数据和/或终端设备与联系人的历史通信数据。In a second aspect, a graphical user interface is provided on a computing device, the computing device having a display, one or more user input devices, a memory, and one or more processes for executing one or more programs stored in the memory The graphical user interface includes at least one icon; wherein the contact call is detected; in response to detecting the contact call, the first avatar is displayed on the display when the acquired target data satisfies the first preset condition; When the acquired target data satisfies the second preset condition, the second avatar or the second avatar and the prompt information or the first avatar and the prompt information are displayed on the display, and the prompt information is used to prompt and target the user to which the terminal device belongs. Data-related information, the target data includes preset data corresponding to the contact stored in the terminal device and/or historical communication data of the terminal device and the contact.
本发明实施例提供的图形用户界面,由于终端设备的显示器上显示的联系人的头像是根据目标数据确定的,用户可以根据终端设备的显示器上显示的联系人的头像(或头像和提示信息)获取与目标数据相关的信息,在一些场景下,可以防止用户在得知联系人来电的情况下未接听电话而产生严重的后果,在联系人的头像有多个的情况下,还可以提高趣味性。According to the graphical user interface provided by the embodiment of the present invention, since the avatar of the contact displayed on the display of the terminal device is determined according to the target data, the user may according to the avatar (or avatar and prompt information) of the contact displayed on the display of the terminal device. Obtaining information related to the target data, in some scenarios, preventing the user from receiving the call without knowing the incoming call, and having serious consequences. In the case where there are multiple contacts of the contact person, the user can also improve the taste. Sex.
结合第二方面,在第一种可能的实现方式中,提示信息为文字、图片、动画和视频中的至少一个。In conjunction with the second aspect, in a first possible implementation, the prompt information is at least one of a text, a picture, an animation, and a video.
结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现方式中,第二头像和提示信息被显示在显示器上,包括:重叠或部分重叠或不重叠的第二头像和提示信息被显示在显示器上;或者,第一头像和提示信息被显示在显示器上,包括:重叠或部分重叠或不重叠的第一头像和提示信息被显示在显示器上。With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the second avatar and the prompt information are displayed on the display, including: overlapping or partially overlapping or non-overlapping The second avatar and prompt information is displayed on the display; or the first avatar and the prompt information are displayed on the display, including: the first avatar and the prompt information that are overlapped or partially overlapped or not overlapped are displayed on the display.
结合第二方面、第二方面的第一种可能的实现方式或第二种可能的实现方式,在第三种可能的实现方式中,响应于检测到联系人来电,在获取到的目标数据满足第三预设条件时,第三头像被显示在显示器上,其中,第一预设条件、第二预设条件和第三预设条件均不相同。With reference to the second aspect, the first possible implementation manner of the second aspect, or the second possible implementation manner, in a third possible implementation manner, in response to detecting a contact call, the acquired target data is satisfied. When the third preset condition is met, the third avatar is displayed on the display, wherein the first preset condition, the second preset condition, and the third preset condition are all different.
第三方面,提供了一种终端设备,包括:获取单元,用于在终端设备接收到联系人来电时,获取目标数据,目标数据包括终端设备中存储的与联系人对应的预设数据和/或终端设备与联系人的历史通信数据;显示单元,用于当目标数据满足第一预设条件时,在终端设备的显示器上显示第一头像;当目标数据满足第二预设条件时,在终端设备的显示器上显示第二头像或在显示器上显示第二头像和提示信息或在显示器上显示第一头像和提示信息,提示信息用于向终端设备所属的用户提示与目标数据相关的信息。 The third aspect provides a terminal device, including: an acquiring unit, configured to acquire target data when the terminal device receives a contact call, and the target data includes preset data corresponding to the contact stored in the terminal device and/or Or a historical communication data of the terminal device and the contact; the display unit is configured to: when the target data meets the first preset condition, display the first avatar on the display of the terminal device; when the target data meets the second preset condition, Displaying a second avatar on the display of the terminal device or displaying a second avatar and prompt information on the display or displaying a first avatar and prompt information on the display, the prompt information is used to prompt the user to which the terminal device belongs to information related to the target data.
本发明实施例中提供的终端设备中的各个单元执行的动作与本发明实施例提供的方法一致,因此,本发明实施例中的终端设备的有益效果可参见本发明实施例中的方法中的有益效果,此处不再赘述。The operations performed by the respective units in the terminal device provided in the embodiment of the present invention are consistent with the methods provided in the embodiments of the present invention. Therefore, the beneficial effects of the terminal device in the embodiment of the present invention can be found in the method in the embodiment of the present invention. The beneficial effects will not be described here.
结合第三方面,在第一种可能的实现方式中,提示信息为文字、图片、动画和视频中的至少一个。In conjunction with the third aspect, in a first possible implementation, the prompt information is at least one of a text, a picture, an animation, and a video.
结合第三方面或第三方面的第一种可能的实现方式,在第二种可能的实现方式中,终端设备还包括:播放单元,用于当目标数据满足第一预设条件时,播放第一铃声;当目标数据满足第二预设条件时,播放第二铃声。With reference to the third aspect, or the first possible implementation manner of the third aspect, in a second possible implementation manner, the terminal device further includes: a playing unit, configured to: when the target data meets the first preset condition, play the first a ringtone; when the target data satisfies the second preset condition, the second ringtone is played.
该情况下,终端设备所属的用户还可以根据不同的铃声区分不同的来电场景。In this case, the user to which the terminal device belongs can also distinguish different call scenes according to different ring tones.
结合第三方面、第三方面的第一种可能的实现方式或第二种可能的实现方式,在第三种可能的实现方式中,显示单元具体用于:将第二头像和提示信息重叠或部分重叠或不重叠的显示在显示器上;或者,显示单元具体用于:将第一头像和提示信息重叠或部分重叠或不重叠的显示在显示器上。With reference to the third aspect, the first possible implementation manner of the third aspect, or the second possible implementation manner, in a third possible implementation manner, the display unit is specifically configured to: overlap the second avatar and the prompt information or The display is partially overlapped or non-overlapping on the display; or the display unit is specifically configured to: display the first avatar and the prompt information on the display by overlapping or partially overlapping or not overlapping.
结合第三方面、第三方面的第一种可能的实现方式至第三种可能的实现方式任一项,在第四种可能的实现方式中,显示单元还用于:当目标数据满足第三预设条件时,在终端设备的显示器上显示第三头像,其中,第一预设条件、第二预设条件和第三预设条件均不相同。With reference to the third aspect, the first possible implementation manner of the third aspect, and the third possible implementation manner, in a fourth possible implementation manner, the display unit is further configured to: when the target data meets the third When the condition is preset, the third avatar is displayed on the display of the terminal device, wherein the first preset condition, the second preset condition, and the third preset condition are all different.
结合第三方面、第三方面的第一种可能的实现方式至第四种可能的实现方式任一项,在第五种可能的实现方式中,历史通信数据包括:第一预设时间段内联系人的历史来电次数、第二预设时间段内联系人向终端设备发送的短信内容、第二预设时间段内联系人向终端设备发送的短信条数、第三预设时间段内终端设备的社交软件中的联系人发送的消息内容以及第三预设时间段内终端设备的社交软件中的联系人发送的消息的条数中的至少一个。With reference to the third aspect, the first possible implementation manner of the third aspect, and the fourth possible implementation manner, in the fifth possible implementation manner, the historical communication data includes: the first preset time period The number of historical calls of the contact, the content of the short message sent by the contact to the terminal device during the second preset time period, the number of short messages sent by the contact to the terminal device during the second preset time period, and the terminal within the third preset time period At least one of a message content sent by a contact in the social software of the device and a number of messages sent by the contact in the social software of the terminal device within the third preset time period.
第四方面,提供了一种终端设备,包括:存储器和处理器,存储器用于存储代码,处理器根据代码执行以下动作:在终端设备接收到联系人来电时,获取目标数据,目标数据包括终端设备中存储的与联系人对应的预设数据和/或终端设备与联系人的历史通信数据;当目标数据满足第一预设条件时,在终端设备的显示器上显示第一头像;当目标数据满足第二预设条件时,在终端设备的显示器上显示第二头像或在显示器上显示第二头像和提示信息或在显示器上显示第一头像和提示信息,提示信息用于向终端设备所属的用户提示与目标数据相关的信息。A fourth aspect provides a terminal device, including: a memory and a processor, wherein the memory is configured to store a code, and the processor performs the following actions according to the code: when the terminal device receives the incoming call of the contact, the target data is acquired, and the target data includes the terminal. Preset data corresponding to the contact and/or historical communication data of the terminal device and the contact stored in the device; when the target data meets the first preset condition, displaying the first avatar on the display of the terminal device; when the target data When the second preset condition is met, the second avatar is displayed on the display of the terminal device or the second avatar and the prompt information are displayed on the display or the first avatar and the prompt information are displayed on the display, and the prompt information is used to belong to the terminal device The user prompts for information related to the target data.
本发明实施例中提供的终端设备中的各个器件执行的动作与本发明实施例提供的方法一致,因此,本发明实施例中的终端设备的有益效果可参见本发明实施例中的方法中的有益效果,此处不再赘述。The operations performed by the respective devices in the terminal device provided in the embodiment of the present invention are consistent with the methods provided in the embodiments of the present invention. Therefore, the beneficial effects of the terminal device in the embodiments of the present invention can be found in the method in the embodiment of the present invention. The beneficial effects will not be described here.
结合第四方面,在第一种可能的实现方式中,提示信息为文字、图片、动画和视频中的至少一个。In conjunction with the fourth aspect, in a first possible implementation, the prompt information is at least one of a text, a picture, an animation, and a video.
结合第四方面或第四方面的第一种可能的实现方式,在第二种可能的实现方式中,终端设备还包括:扬声器,用于当目标数据满足第一预设条件时,播放第一铃声;当目标数据满足第二预设条件时,播放第二铃声。With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a second possible implementation, the terminal device further includes: a speaker, configured to play the first when the target data meets the first preset condition Ringtone; when the target data satisfies the second preset condition, the second ringtone is played.
该情况下,终端设备所属的用户还可以根据不同的铃声区分不同的来电场景。 In this case, the user to which the terminal device belongs can also distinguish different call scenes according to different ring tones.
结合第四方面、第四方面的第一种可能的实现方式或第二种可能的实现方式,在第三种可能的实现方式中,处理器具体用于:将第二头像和提示信息重叠或部分重叠或不重叠的显示在显示器上;或者,处理器具体用于:将第一头像和提示信息重叠或部分重叠或不重叠的显示在显示器上。With reference to the fourth aspect, the first possible implementation manner of the fourth aspect, or the second possible implementation manner, in a third possible implementation manner, the processor is specifically configured to: overlap the second avatar and the prompt information or The display is partially overlapped or non-overlapping on the display; or the processor is specifically configured to: display the first avatar and the prompt information on the display by overlapping or partially overlapping or not overlapping.
结合第四方面、第四方面的第一种可能的实现方式至第三种可能的实现方式任一种,在第四种可能的实现方式中,处理器还用于:当目标数据满足第三预设条件时,在终端设备的显示器上显示第三头像,其中,第一预设条件、第二预设条件和第三预设条件均不相同。In combination with the fourth aspect, the first possible implementation manner of the fourth aspect, and the third possible implementation manner, in a fourth possible implementation manner, the processor is further configured to: when the target data meets the third When the condition is preset, the third avatar is displayed on the display of the terminal device, wherein the first preset condition, the second preset condition, and the third preset condition are all different.
结合第四方面、第四方面的第一种可能的实现方式至第四种可能的实现方式任一种,在第五种可能的实现方式中,历史通信数据包括:第一预设时间段内联系人的历史来电次数、第二预设时间段内联系人向终端设备发送的短信内容、第二预设时间段内联系人向终端设备发送的短信条数、第三预设时间段内终端设备的社交软件中的联系人发送的消息内容以及第三预设时间段内终端设备的社交软件中的联系人发送的消息的条数中的至少一个。With reference to the fourth aspect, the first possible implementation manner of the fourth aspect, and the fourth possible implementation manner, in the fifth possible implementation manner, the historical communication data includes: the first preset time period The number of historical calls of the contact, the content of the short message sent by the contact to the terminal device during the second preset time period, the number of short messages sent by the contact to the terminal device during the second preset time period, and the terminal within the third preset time period At least one of a message content sent by a contact in the social software of the device and a number of messages sent by the contact in the social software of the terminal device within the third preset time period.
第五方面,提供了一种存储一个或多个程序的计算机可读存储介质,一个或多个程序包括指令,指令当被终端设备执行时使终端设备执行第一方面提供的任一项方法。In a fifth aspect, a computer readable storage medium storing one or more programs is provided, the one or more programs comprising instructions that, when executed by the terminal device, cause the terminal device to perform any of the methods provided by the first aspect.
第六方面,提供了一种显示联系人头像的方法,包括:终端设备向联系人去电时,获取目标数据,目标数据包括联系人的纪念日、终端设备所属的用户在社交网站上的状态数据和/或终端设备与联系人的历史通信数据;当目标数据满足第一预设条件时,终端设备在终端设备的显示器上显示第一头像,当目标数据满足第二预设条件时,终端设备在终端设备的显示器上显示第二头像或在终端设备的显示器上显示第二头像和提示信息或在终端设备的显示器上显示第一头像和提示信息;或者,终端设备在终端设备的显示器上显示预设头像和提示信息。According to a sixth aspect, a method for displaying a contact avatar is provided, including: when the terminal device sends power to the contact, acquiring target data, where the target data includes a commemoration date of the contact, and a status of the user to which the terminal device belongs on the social networking site. Data and/or historical communication data of the terminal device and the contact; when the target data meets the first preset condition, the terminal device displays the first avatar on the display of the terminal device, and when the target data satisfies the second preset condition, the terminal The device displays the second avatar on the display of the terminal device or displays the second avatar and prompt information on the display of the terminal device or displays the first avatar and prompt information on the display of the terminal device; or the terminal device is on the display of the terminal device Display preset avatars and prompts.
其中,提示信息用于向终端设备所属的用户提示与目标数据相关的信息。The prompt information is used to prompt the user to which the terminal device belongs to information related to the target data.
结合第六方面,在第一种可能的实现方式中,目标数据为终端设备所属的用户在社交网站中的最新状态数据,当目标数据满足第一预设条件时,终端设备在终端设备的显示器上显示第一头像,当目标数据满足第二预设条件时,终端设备在终端设备的显示器上显示第二头像,包括:当最新状态数据中包含特定的词汇时,终端设备在终端设备的显示器上显示第一头像,当目标数据中不包含特定的词汇时,终端设备在终端设备的显示器上显示第二头像。With reference to the sixth aspect, in the first possible implementation manner, the target data is the latest state data of the user to which the terminal device belongs in the social networking website, and when the target data meets the first preset condition, the terminal device is displayed on the terminal device. Displaying a first avatar on the display device, when the target data meets the second preset condition, the terminal device displays the second avatar on the display of the terminal device, including: when the latest state data includes a specific vocabulary, the terminal device is on the display of the terminal device The first avatar is displayed. When the target data does not include a specific vocabulary, the terminal device displays the second avatar on the display of the terminal device.
本发明实施例提供的方法,终端设备在向联系人去电时,可以根据目标数据满足的不同的预设条件显示不同的头像或显示头像和提示信息,在一些场景(例如,在显示联系人的纪念日的场景)下,可以对终端设备所属的用户起到提示作用,并且可以增加用户拨打电话的趣味性。According to the method provided by the embodiment of the present invention, when the terminal device is powered off, the terminal device may display different avatars or display avatars and prompt information according to different preset conditions that the target data meets, in some scenarios (for example, displaying contacts) Under the commemorative day scene, the user to which the terminal device belongs can be prompted, and the user's interest in making a call can be increased.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以 根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and can be used by those skilled in the art without creative efforts. Other figures are obtained from these figures.
图1为本发明实施例提供的一种显示联系人头像的方法的流程图;FIG. 1 is a flowchart of a method for displaying a contact avatar according to an embodiment of the present invention;
图2-a至图2-b为本发明实施例提供的基于同一目标数据在不同的预设条件下终端设备显示的头像的示意图;FIG. 2 is a schematic diagram of an avatar displayed by a terminal device under different preset conditions according to the same target data according to an embodiment of the present disclosure;
图3-a至图3-b为本发明实施例提供的基于同一目标数据在不同的预设条件下终端设备显示的头像的示意图;FIG. 3 is a schematic diagram of an avatar displayed by a terminal device under different preset conditions based on the same target data according to an embodiment of the present disclosure;
图4-a至图4-b为本发明实施例提供的基于同一目标数据在不同的预设条件下终端设备显示的头像的示意图;FIG. 4 is a schematic diagram of an avatar displayed by a terminal device under different preset conditions based on the same target data according to an embodiment of the present disclosure;
图5-a至图5-c为本发明实施例提供的基于同一目标数据在不同的预设条件下终端设备显示的头像的示意图;FIG. 5-a to FIG. 5 - are schematic diagrams of an avatar displayed by a terminal device under different preset conditions based on the same target data according to an embodiment of the present invention;
图6为本发明实施例提供的又一种显示联系人头像的方法的流程图;FIG. 6 is a flowchart of still another method for displaying a contact avatar according to an embodiment of the present invention;
图7-a至图7-b为本发明实施例提供的基于同一目标数据在不同的预设条件下终端设备显示的头像的示意图;7-a to 7-b are schematic diagrams of an avatar displayed by a terminal device under different preset conditions based on the same target data according to an embodiment of the present invention;
图8为本发明实施例提供的一种终端设备显示的头像的示意图;FIG. 8 is a schematic diagram of an avatar displayed by a terminal device according to an embodiment of the present disclosure;
图9为本发明实施例提供的一种终端设备的组成示意图;FIG. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure;
图10为本发明实施例提供的又一种终端设备的组成示意图;FIG. 10 is a schematic structural diagram of still another terminal device according to an embodiment of the present disclosure;
图11为本发明实施例提供的又一种终端设备的组成示意图。FIG. 11 is a schematic structural diagram of still another terminal device according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中字符“/”,一般表示前后关联对象是一种“或”的关系。本文中的“多个”是指两个或者两个以上。The term "and/or" in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations. The character "/" in this article generally indicates that the contextual object is an "or" relationship. "Multiple" as used herein refers to two or more.
本发明实施例提供一种显示联系人头像的方法,如图1所示,包括:An embodiment of the present invention provides a method for displaying a contact avatar, as shown in FIG. 1 , including:
101、终端设备接收到联系人来电时,获取目标数据,所述目标数据包括所述终端设备中存储的与所述联系人对应的预设数据和/或所述终端设备与所述联系人的历史通信数据。When the terminal device receives the incoming call of the contact, the target data is acquired, where the target data includes preset data corresponding to the contact stored in the terminal device, and/or the terminal device and the contact Historical communication data.
终端设备可以为手机、平板电脑或其他可以实现通信双方之间通话的设备,联系人可以为终端设备中存储的联系人,也可以为陌生的联系人,本发明实施例对此不进行任何限制。The terminal device may be a mobile phone, a tablet computer, or other device that can implement a call between the two parties. The contact may be a contact stored in the terminal device, or may be a strange contact. .
具体的,终端设备可以根据联系人的姓名或电话或与联系人相关的其他信息获取目标数据。Specifically, the terminal device can acquire the target data according to the name of the contact or the phone or other information related to the contact.
终端设备中存储的与联系人对应的预设数据可以为与联系人对应的纪念日(例如,节日、联系人的生日或联系人的结婚纪念日等)/备注信息/备忘信息/行程信息/提醒信息(例如,设定的闹钟时间)/预设信息(例如,终端设备所属的用户指定的应用程序或文 件中的与联系人相关联的数据),当然,预设数据还可以为其他数据,在此不再一一陈述。The preset data corresponding to the contact stored in the terminal device may be a commemorative day corresponding to the contact (for example, a holiday, a birthday of the contact, or a wedding anniversary of the contact, etc.) / remark information / memo information / itinerary information /Reminder information (for example, set alarm time) / preset information (for example, user-specified application or text to which the terminal device belongs) The data associated with the contact in the piece), of course, the preset data can also be other data, which will not be stated here.
终端设备与联系人的历史通信数据可以为终端设备与联系人的历史短信通信数据/历史邮件通信数据/历史通话通信数据/社交软件中的通信数据等,具体可以为第一预设时间段内所述联系人的历史来电次数、第二预设时间段内所述联系人向所述终端设备发送的短信内容、第二预设时间段内所述联系人向所述终端设备发送的短信条数、第三预设时间段内所述终端设备的社交软件中的所述联系人发送的消息内容以及第三预设时间段内所述终端设备的社交软件中的所述联系人发送的消息的条数中的至少一个。The historical communication data of the terminal device and the contact may be historical short message communication data/history mail communication data/history call communication data/communication data in the social software of the terminal device and the contact, etc., and may be specifically within a first preset time period. The number of historical calls of the contact, the short message content sent by the contact to the terminal device in the second preset time period, and the short message sent by the contact to the terminal device in the second preset time period The message content sent by the contact in the social software of the terminal device in the third preset time period and the message sent by the contact in the social software of the terminal device in the third preset time period At least one of the number of items.
其中,第一预设时间段、第二预设时间段和第三预设时间段中的任意两个预设时间段可以为同一预设时间段,也可以为不同的预设时间段。The two preset time periods of the first preset time period, the second preset time period, and the third preset time period may be the same preset time period, or may be different preset time periods.
具体的,第一预设时间段内联系人的历史来电次数可以为第一预设时间段内联系人的历史未接来电次数或第一预设时间段内联系人的历史总来电次数;第二预设时间段内联系人向终端设备发送的短信条数可以为第二预设时间段内联系人向终端设备发送的全部短信的条数或全部短信的条数中的未读短信的条数;同理,第三预设时间段内终端设备的社交软件中的联系人发送的消息的条数可以为第三预设时间段内终端设备的社交软件中的联系人发送的消息的总条数或总条数中的未读消息的条数。Specifically, the historical number of incoming calls of the contact in the first preset time period may be the number of historical missed calls of the contact in the first preset time period or the total number of incoming calls of the contact in the first preset time period; The number of the short message sent by the contact to the terminal device in the preset time period may be the number of all the short messages sent by the contact to the terminal device or the unread short message in the total number of the short message in the second preset time period. Similarly, the number of messages sent by the contacts in the social software of the terminal device in the third preset time period may be the total number of messages sent by the contacts in the social software of the terminal device in the third preset time period. The number of unread messages in the number of bars or total number of bars.
102、当所述目标数据满足第一预设条件时,所述终端设备在所述终端设备的显示器上显示第一头像;当所述目标数据满足第二预设条件时,所述终端设备在所述终端设备的显示器上显示第二头像或在所述显示器上显示第二头像和提示信息或在所述显示器上显示所述第一头像和提示信息,所述提示信息用于向所述终端设备所属的用户提示与所述目标数据相关的信息。102. When the target data meets a first preset condition, the terminal device displays a first avatar on a display of the terminal device; when the target data meets a second preset condition, the terminal device is Displaying a second avatar on the display of the terminal device or displaying a second avatar and prompt information on the display or displaying the first avatar and prompt information on the display, the prompt information being used for the terminal The user to which the device belongs prompts information related to the target data.
其中,第一预设条件与第二预设条件不同,第一头像与第二头像部分不同或者全部不同。The first preset condition is different from the second preset condition, and the first avatar and the second avatar portion are different or all different.
具体的,在终端设备的显示器上显示的头像可以为系统默认头像或用户为联系人预设的头像,若系统默认头像为第一头像(第一头像可以为任意一个头像)或用户为联系人预设的唯一头像为第一头像(第一头像可以为任意一个头像);如果系统没有默认头像或者该默认头像被删除,用户也没有指定/预设头像,终端设备则可以从网络或从自身图库/相册/表情符号中确定一个头像。该情况下,当目标数据满足第一预设条件时,终端设备在显示器上显示第一头像;当目标数据满足第二预设条件时,终端设备在显示器上显示第一头像和提示信息。Specifically, the avatar displayed on the display of the terminal device may be the default avatar of the system or the avatar preset by the user, if the default avatar is the first avatar (the first avatar may be any avatar) or the user is the contact The preset unique avatar is the first avatar (the first avatar can be any avatar); if the system does not have a default avatar or the default avatar is deleted, the user does not specify/preset the avatar, and the terminal device can be from the network or from the self. Identify an avatar in the gallery/album/emoji. In this case, when the target data meets the first preset condition, the terminal device displays the first avatar on the display; when the target data meets the second preset condition, the terminal device displays the first avatar and the prompt information on the display.
终端设备的显示器上显示的头像还可以为用户为联系人预设的多个头像,第一头像和第二头像均可以为该多个头像中的不同的头像,具体在满足不同的预设条件时显示的头像是多个图形中的哪个头像可以由用户进行预设。该情况下,当目标数据满足第一预设条件时,终端设备在显示器上显示第一头像;当目标数据满足第二预设条件时,终端设备在显示器上显示第二头像或在显示器上显示第二头像和提示信息或在显示器上显示第一头像和提示信息。具体在满足不同的预设条件时显示的头像是多个图形中的哪个头像,也可以在用户没有进行预设时由终端设备自动确定,例如通过分析头像的表情来确定其使用的场景或预设条件来确定。The avatar displayed on the display of the terminal device may also be a plurality of avatars preset by the user for the contact, and the first avatar and the second avatar may be different avatars of the multiple avatars, specifically meeting different preset conditions. The avatar displayed at the time is which of the plurality of graphics can be preset by the user. In this case, when the target data meets the first preset condition, the terminal device displays the first avatar on the display; when the target data meets the second preset condition, the terminal device displays the second avatar on the display or displays on the display The second avatar and the prompt information or the first avatar and the prompt information are displayed on the display. Specifically, the avatar displayed when the different preset conditions are met is which avatar of the plurality of graphics, or may be automatically determined by the terminal device when the user does not perform the preset, for example, by analyzing the expression of the avatar to determine the scene or pre-use thereof. Set conditions to determine.
可选的,所述提示信息为文字、图片、动画和视频中的至少一个。Optionally, the prompt information is at least one of a text, a picture, an animation, and a video.
可选的,终端设备在显示头像时,所述终端设备在所述显示器上显示第二头像和提 示信息,包括:所述终端设备将所述第二头像和提示信息重叠或部分重叠或不重叠的显示在所述显示器上;或者,所述终端设备在所述显示器上显示所述第一头像和提示信息,包括:所述终端设备将所述第一头像和提示信息重叠或部分重叠或不重叠的显示在所述显示器上。Optionally, when the terminal device displays the avatar, the terminal device displays the second avatar and the And displaying, by the terminal device, the second avatar and the prompt information are overlapped or partially overlapped or not displayed on the display; or the terminal device displays the first avatar on the display And prompting information, comprising: displaying, by the terminal device, the first avatar and the prompt information overlapping or partially overlapping or not overlapping on the display.
需要说明的是,若终端设备在显示头像的同时还要显示提示信息,头像和提示信息在显示时可以和头像重叠或部分重叠或不重叠。It should be noted that if the terminal device displays the prompt information while displaying the avatar, the avatar and the prompt information may overlap or partially overlap or not overlap with the avatar.
可选的,所述方法还包括:当所述目标数据满足第三预设条件时,所述终端设备在所述终端设备的显示器上显示第三头像,其中,所述第一预设条件、第二预设条件和第三预设条件均不相同。Optionally, the method further includes: when the target data meets a third preset condition, the terminal device displays a third avatar on a display of the terminal device, where the first preset condition, The second preset condition and the third preset condition are different.
需要说明的是,本发明实施例中还可以预设更多的预设条件,目标数据不同时,设定的预设条件也可以不同,当目标数据满足不同的预设条件时,可以显示不同的头像,例如,当目标数据满足第四预设条件时,所述终端设备在所述终端设备的显示器上显示第四头像。It should be noted that, in the embodiment of the present invention, more preset conditions may be preset. When the target data is different, the preset conditions may be different. When the target data meets different preset conditions, different display conditions may be displayed. The avatar, for example, when the target data satisfies the fourth preset condition, the terminal device displays a fourth avatar on the display of the terminal device.
以下以目标数据满足不同的预设条件为例对本发明实施例提供的方法进行示例性说明。The method provided by the embodiment of the present invention is exemplarily described below by taking the target data to meet different preset conditions as an example.
可选的,所述终端设备中存储的与所述联系人对应的预设数据为所述终端设备中存储的所述联系人的纪念日,步骤102具体可以包括:Optionally, the preset data corresponding to the contact stored in the terminal device is a anniversive day of the contact stored in the terminal device, and the step 102 may specifically include:
当所述联系人的纪念日与当前日期一致时,所述终端设备在所述终端设备的显示器上显示第一头像;When the anniversary of the contact is consistent with the current date, the terminal device displays the first avatar on the display of the terminal device;
当所述联系人的纪念日与当前日期不一致时,所述终端设备在所述终端设备的显示器上显示第二头像。When the anniversary of the contact is inconsistent with the current date, the terminal device displays a second avatar on the display of the terminal device.
具体的,联系人的纪念日可以存储在终端设备中,终端设备可以通过网络获取当前日期,也可以通过查询终端设备当前显示的日期获取当前日期。Specifically, the anniversary of the contact may be stored in the terminal device, and the terminal device may obtain the current date through the network, or may obtain the current date by querying the date currently displayed by the terminal device.
示例1、在目标数据为联系人甲(电话号码为135****5678)的纪念日时,第一预设条件可以为:联系人甲的纪念日与当前日期一致,第二预设条件可以为:联系人甲的纪念日与当前日期不一致。当联系人甲来电时,终端设备获取联系人甲的纪念日,并判断当前日期是否与联系人甲的纪念日为同一天,若是,说明目标数据满足第一预设条件,终端设备在显示器上显示的第一头像如图2-a所示,若不是,说明目标数据满足第二预设条件,终端设备在显示器上显示的第二头像如图2-b所示。Example 1. When the target data is the anniversary of the contact A (phone number is 135****5678), the first preset condition may be: the anniversary of the contact A is consistent with the current date, and the second preset condition Can be: Contact A's anniversary is inconsistent with the current date. When the contact A calls, the terminal device obtains the anniversary of the contact A, and determines whether the current date is the same day as the anniversary of the contact A. If yes, the target data meets the first preset condition, and the terminal device is on the display. The first avatar displayed is as shown in FIG. 2-a. If not, the target data satisfies the second preset condition, and the second avatar displayed on the display by the terminal device is as shown in FIG. 2-b.
需要说明的是,在具体实现时,若联系人有多个纪念日,终端设备可以为多个纪念日对应一个头像1(即第一头像),当终端设备确定当前日期与多个纪念日中的任意一个纪念日一致时,终端设备在显示器上显示头像1,当终端设备确定当前日期与多个纪念日均不一致时,终端设备显示第二头像。终端设备也可以为多个纪念日中的每个纪念日对应一个头像(例如,生日对应头像1,结婚纪念日对应头像2),当终端设备确定当前日期与哪个纪念日一致,就显示该纪念日对应的头像,例如,当终端设备确定当前日期与生日一致,终端设备显示生日对应的头像1(该情况下,头像1为第一头像),当终端设备确定当前日期与多个纪念日均不一致时,终端设备显示第二头像。It should be noted that, in a specific implementation, if the contact has multiple anniversaries, the terminal device may correspond to one avatar 1 (ie, the first avatar) for multiple anniversaries, when the terminal device determines the current date and multiple anniversaries. When any one of the anniversaries coincides, the terminal device displays the avatar 1 on the display, and when the terminal device determines that the current date is different from the plurality of anniversaries, the terminal device displays the second avatar. The terminal device may also correspond to one avatar for each of the plurality of anniversaries (eg, birthday corresponding avatar 1 and wedding anniversive avatar 2), and the terminal device displays the commemoration when the terminal device determines that the current date is consistent with the anniversaries. The corresponding avatar of the day, for example, when the terminal device determines that the current date is consistent with the birthday, the terminal device displays the avatar 1 corresponding to the birthday (in this case, the avatar 1 is the first avatar), and when the terminal device determines the current date and the plurality of anniversaries When they are inconsistent, the terminal device displays the second avatar.
另一种可以实现的方法,所述终端设备中存储的与所述联系人对应的预设数据为所述终端设备中存储的所述联系人的纪念日,步骤102具体可以包括: In another method, the preset data corresponding to the contact stored in the terminal device is a anniversive day of the contact stored in the terminal device, and the step 102 may specifically include:
当所述联系人的纪念日与当前日期一致时,所述终端设备在所述终端设备的显示器上显示第一头像和提示信息,所述提示信息为纪念日的日期或纪念日的名称;When the anniversary of the contact is consistent with the current date, the terminal device displays a first avatar and prompt information on the display of the terminal device, where the prompt information is a date of the anniversary or a name of the anniversary;
当所述联系人的纪念日与当前日期不一致时,所述终端设备在所述终端设备的显示器上显示第一头像或第二头像。When the anniversary of the contact is inconsistent with the current date, the terminal device displays the first avatar or the second avatar on the display of the terminal device.
示例2、如图3-a所示,当联系人的纪念日与当前日期一致时,终端设备在显示器上显示第一头像和纪念日的日期,第一头像和纪念日的日期在显示时可以重叠显示、部分重叠显示或不重叠显示,图3-a中以第一头像和纪念日的日期重叠显示为例进行绘制,如图3-b所示,当所述联系人的纪念日与当前日期不一致时,终端设备在显示器上显示第一头像。Example 2, as shown in FIG. 3-a, when the anniversary of the contact is consistent with the current date, the terminal device displays the first avatar and the date of the anniversary on the display, and the date of the first avatar and the anniversary may be displayed. Overlap display, partial overlap display or non-overlapping display, in Figure 3-a, the first avatar and the date of the anniversary date are displayed as an example, as shown in Figure 3-b, when the contact's anniversary and current When the dates are inconsistent, the terminal device displays the first avatar on the display.
可选的,所述目标数据为第二预设时间段内所述联系人向所述终端设备发送的短信条数,步骤102具体可以包括:Optionally, the target data is the number of the short message sent by the contact to the terminal device in the second preset time period, and the step 102 may specifically include:
当所述短信条数等于0时,所述终端设备在所述终端设备的显示器上显示第一头像;When the number of the short message is equal to 0, the terminal device displays the first avatar on the display of the terminal device;
当所述短信条数大于0时,所述终端设备在所述终端设备的显示器上显示第二头像。When the number of the short message is greater than 0, the terminal device displays the second avatar on the display of the terminal device.
具体的,在本发明实施例中,终端设备可以通过与联系人相关的短信记录获取第二预设时间段内联系人向终端设备发送的短信条数。Specifically, in the embodiment of the present invention, the terminal device can obtain the number of short messages sent by the contact to the terminal device in the second preset time period by using the short message record related to the contact.
该情况下,目标数据为第二预设时间段内联系人向终端设备发送的短信条数,第一预设条件为短信条数等于0,第二预设条件为短信条数大于0,若目标数据满足第一预设条件,参见图2-a,可以为终端设备在显示器上显示的第一头像,若目标数据满足第二预设条件,参见图2-b,可以为终端设备在显示器上显示的第二头像。In this case, the target data is the number of short messages sent by the contact to the terminal device in the second preset time period, and the first preset condition is that the number of the short message is equal to 0, and the second preset condition is that the number of the short message is greater than 0, if The target data meets the first preset condition. See Figure 2-a, which can be the first avatar displayed on the display by the terminal device. If the target data meets the second preset condition, refer to Figure 2-b, and the terminal device can be on the display. The second avatar displayed on it.
另一种可以实现的方法,当短信条数大于0时,终端设备在显示器上可以显示第二头像和提示信息或第一头像和提示信息,提示信息可以为短信条数。In another method, when the number of the short message is greater than 0, the terminal device can display the second avatar and the prompt information or the first avatar and the prompt information on the display, and the prompt information can be the number of the short message.
可选的,所述目标数据为第一预设时间段内所述联系人的历史来电次数,步骤102具体可以包括:Optionally, the target data is a historical number of calls of the contact in the first preset time period, and the step 102 may specifically include:
当所述联系人的历史来电次数等于0时,所述终端设备在所述终端设备的显示器上显示第一头像;When the number of historical calls of the contact is equal to 0, the terminal device displays the first avatar on the display of the terminal device;
当所述联系人的历史来电次数大于0时,所述终端设备在所述显示器上显示第二头像和提示信息或在所述显示器上显示所述第一头像和提示信息,所述提示信息为所述联系人的历史来电次数。When the number of historical calls of the contact is greater than 0, the terminal device displays a second avatar and prompt information on the display or displays the first avatar and prompt information on the display, where the prompt information is The number of historical calls to the contact.
该情况下,目标数据为第一预设时间段内联系人的历史来电次数,第一预设条件为联系人的历史来电次数等于0,第二预设条件为联系人的历史来电次数大于0。In this case, the target data is the number of historical calls of the contact in the first preset time period, and the first preset condition is that the historical call number of the contact is equal to 0, and the second preset condition is that the historical call number of the contact is greater than 0. .
另一种可以实现的方法,步骤102还可以用以下步骤进行替换:所述终端设备在所述终端设备的显示器上显示第一头像和提示信息。该情况下,提示信息可以为历史来电次数,当历史来电次数为3次时,终端设备在显示器上显示的第一头像和提示信息如图4-a所示,当历史来电次数为6次时,终端设备在显示器上显示的第一头像和提示信息如图4-b所示。Another method that can be implemented, the step 102 can also be replaced by the following steps: the terminal device displays a first avatar and prompt information on a display of the terminal device. In this case, the prompt information may be the number of historical calls. When the number of historical calls is 3, the first avatar and prompt information displayed by the terminal device on the display is as shown in FIG. 4-a, when the number of historical calls is 6 times. The first avatar and prompt information displayed by the terminal device on the display is as shown in FIG. 4-b.
可选的,所述目标数据为第一预设时间段内所述联系人的历史来电次数,当所述目标数据满足第一预设条件时,所述终端设备在所述终端设备的显示器上显示第一头像;当所述目标数据满足第二预设条件时,所述终端设备在所述终端设备的显示器上显示第二头像;当所述目标数据满足第三预设条件时,所述终端设备在所述终端设备的显示器上显示 第三头像,包括:Optionally, the target data is a historical number of calls of the contact in the first preset time period, and when the target data meets the first preset condition, the terminal device is on the display of the terminal device. Displaying a first avatar; when the target data meets a second preset condition, the terminal device displays a second avatar on a display of the terminal device; when the target data meets a third preset condition, the The terminal device displays on the display of the terminal device The third avatar includes:
当所述联系人的历史来电次数位于第一取值范围内时,所述终端设备在所述终端设备的显示器上显示第一头像;When the number of historical calls of the contact is in the first value range, the terminal device displays the first avatar on the display of the terminal device;
当所述联系人的历史来电次数位于第二取值范围内时,所述终端设备在所述终端设备的显示器上显示第二头像;When the number of historical calls of the contact is in the second value range, the terminal device displays the second avatar on the display of the terminal device;
当所述联系人的历史来电次数位于第三取值范围内时,所述终端设备在所述终端设备的显示器上显示第三头像;When the number of historical calls of the contact is in the third value range, the terminal device displays a third avatar on the display of the terminal device;
其中,所述第一取值范围、所述第二取值范围和所述第三取值范围中的任意两个取值范围之间不重叠。The two values of the first value range, the second value range, and the third value range do not overlap.
该情况下,目标数据为第一预设时间段内联系人的历史来电次数,第一预设条件为联系人的历史来电次数位于第一取值范围内,第二预设条件为联系人的历史来电次数位于第二取值范围内,第三预设条件为联系人的历史来电次数位于第三取值范围内。当然,还可以增加其他的预设条件,其他的预设条件可以对应其他的取值范围。In this case, the target data is the number of historical calls of the contact in the first preset time period. The first preset condition is that the historical call number of the contact is in the first value range, and the second preset condition is the contact The number of historical calls is in the second value range, and the third preset condition is that the number of historical calls of the contact is within the third value range. Of course, other preset conditions can also be added, and other preset conditions can correspond to other ranges of values.
示例3、第一取值范围可以为[0,2),第二取值范围可以为[2,6),第三取值范围可以为[6,∞),当历史来电次数在[0,2)中时,终端设备可以在显示器上显示如图5-a所示的第一头像,当历史来电次数在[2,6)中时,终端设备可以在显示器上显示如图5-b所示的第二头像,当历史来电次数在[6,∞)中时,终端设备可以在显示器上显示如图5-c所示的第三头像。Example 3: The first value range can be [0, 2), the second value range can be [2, 6), and the third value range can be [6, ∞). When the number of historical calls is [0, 2) In the middle, the terminal device can display the first avatar as shown in Figure 5-a on the display. When the number of historical calls is in [2, 6), the terminal device can display on the display as shown in Figure 5-b. The second avatar shown, when the number of historical calls is in [6, ∞), the terminal device can display a third avatar as shown in FIG. 5-c on the display.
可选的,所述方法还包括:Optionally, the method further includes:
当所述目标数据满足第一预设条件时,所述终端设备播放第一铃声;When the target data meets the first preset condition, the terminal device plays the first ringtone;
当所述目标数据满足第二预设条件时,所述终端设备播放第二铃声。When the target data meets the second preset condition, the terminal device plays the second ringtone.
具体的,第一铃声和第二铃声为不同的铃声。Specifically, the first ringtone and the second ringtone are different ringtones.
另外,步骤102还可以用以下步骤进行替换:In addition, step 102 can also be replaced by the following steps:
所述终端设备根据所述目标数据满足的预设条件确定所述联系人与所述终端设备的呼叫场景,不同的呼叫场景满足不同的预设条件;所述终端设备在所述终端设备的显示器上显示所述联系人与所述终端设备的呼叫场景对应的头像,所述联系人至少对应两种呼叫场景,一种呼叫场景对应一个头像。Determining, by the terminal device, a call scenario of the contact and the terminal device according to a preset condition that the target data is met, different call scenarios satisfy different preset conditions; and the terminal device is in a display of the terminal device An avatar corresponding to the call scenario of the terminal device is displayed, where the contact corresponds to at least two call scenarios, and one call scenario corresponds to one avatar.
具体的,不同的呼叫场景需要满足不同的预设条件,呼叫场景需要满足的预设条件可以为1个,也可以为多个,预设条件可以根据实际应用场景进行设置,本发明实施例对此不作具体限定。Specifically, different call scenarios need to meet different preset conditions, and the preset conditions to be met in the call scenario may be one or multiple, and the preset conditions may be set according to the actual application scenario. This is not specifically limited.
需要说明的是,针对不同的联系人,呼叫场景对应的头像可以相同也可以不同。It should be noted that, for different contacts, the avatars corresponding to the call scene may be the same or different.
可选的,终端设备中存储的与联系人对应的预设数据为所述终端设备中存储的所述联系人的纪念日时,当联系人的纪念日与当前日期一致时,呼叫场景为纪念日场景,当联系人的纪念日与当前日期不一致时,呼叫场景为普通场景。纪念日场景终端设备在显示器上显示的头像可以如图2-a所示,普通场景终端设备在显示器上显示的头像可以如图2-b所示。Optionally, when the preset data corresponding to the contact stored in the terminal device is the anniversary date of the contact stored in the terminal device, when the anniversary date of the contact is consistent with the current date, the calling scene is commemorated In the day scene, when the anniversary of the contact is inconsistent with the current date, the calling scene is a normal scene. The avatar displayed on the display by the terminal device of the commemorative day scene can be as shown in Figure 2-a. The avatar displayed on the display by the terminal device of the normal scene can be as shown in Figure 2-b.
相应的,当目标数据为第一预设时间段内所述联系人的历史来电次数或第二预设时间段内所述联系人向所述终端设备发送的短信条数时,可以根据目标数据满足的不同的条件设置不同的呼叫场景,例如,可以根据第二预设时间段内所述联系人向所述终端设备发 送的短信条数的个数是否为0将呼叫场景分为短信场景或非短信场景,本发明实施例在此不再过多阐述。Correspondingly, when the target data is the number of historical calls of the contact in the first preset time period or the number of short messages sent by the contact to the terminal device in the second preset time period, the target data may be according to the target data. Setting different call scenarios according to different conditions, for example, sending the contact to the terminal device according to the second preset time period The number of the number of sent short messages is 0. The call scene is divided into a short message scene or a non-text message scene, and the embodiment of the present invention is not elaborated here.
在一些场景下,例如,用户在开会,不方便接听电话,但是联系人有非常紧急的事情要向用户报告,该情况下,用户根据联系人来电时的头像确定提示信息,再根据提示信息判断联系人的电话是否很紧急,进而确定是否接通电话。另一种场景下,用户也可以提前与联系人协商一个短消息密语,当终端设备在接收到联系人来电后,若查询到第二预设时间段内历史短消息数据中包含该短消息密语时,则在终端设备的显示器上显示与该呼叫场景对应的来电头像,该情况下,用户在看到联系人的来电头像后,就可以判断联系人的事情非常的紧急,从而确定接听电话。In some scenarios, for example, the user is in a meeting and is not convenient to answer the call, but the contact has a very urgent matter to report to the user. In this case, the user determines the prompt information according to the avatar of the contact call, and then judges according to the prompt information. Whether the contact's phone is urgent, and then determine whether to connect to the phone. In another scenario, the user may also negotiate a short message with the contact in advance. When the terminal device receives the incoming call, the short message message is included in the historical short message data in the second preset time period. Then, the caller avatar corresponding to the call scene is displayed on the display of the terminal device. In this case, after the user sees the caller avatar of the contact, the user can determine that the contact is very urgent, thereby determining the answering call.
本发明实施例提供的方法,终端设备在接收到联系人来电时,获取目标数据,并根据目标数据确定联系人的头像,由于联系人的头像是根据目标数据确定的,因此,当联系人来电时,用户可以根据联系人的头像(或头像和提示信息)获取与目标数据相关的信息,在一些场景下,可以防止用户在得知联系人来电的情况下未接听电话而产生严重的后果,在联系人的头像有多个的情况下,还可以提高趣味性。According to the method provided by the embodiment of the present invention, when receiving the incoming call of the contact, the terminal device acquires the target data, and determines the avatar of the contact according to the target data, because the avatar of the contact is determined according to the target data, therefore, when the contact is called The user can obtain information related to the target data according to the contact's avatar (or avatar and prompt information). In some scenarios, the user can prevent the user from receiving the call without knowing the incoming call, thereby causing serious consequences. In the case where there are multiple contacts' avatars, it is also fun.
本发明实施例还提供了一种显示联系人头像的方法,如图6所示,包括:The embodiment of the invention further provides a method for displaying a contact avatar, as shown in FIG. 6, comprising:
601、终端设备向联系人去电时,获取目标数据,所述目标数据包括所述联系人的纪念日、所述终端设备所属的用户在社交网站上的状态数据和/或所述终端设备与所述联系人的历史通信数据。601. When the terminal device sends power to the contact, the target data is acquired, where the target data includes the anniversary of the contact, the status data of the user to which the terminal device belongs on the social networking site, and/or the terminal device and Historical communication data of the contact.
关于联系人的描述可以参见上文,在此不再赘述。The description of the contact can be referred to above and will not be described here.
602、当所述目标数据满足第一预设条件时,所述终端设备在所述终端设备的显示器上显示第一头像,当所述目标数据满足第二预设条件时,所述终端设备在所述终端设备的显示器上显示第二头像或在所述终端设备的显示器上显示第二头像和提示信息或在所述终端设备的显示器上显示第一头像和提示信息;或者,所述终端设备在所述终端设备的显示器上显示预设头像和提示信息。602. When the target data meets the first preset condition, the terminal device displays a first avatar on a display of the terminal device, and when the target data meets a second preset condition, the terminal device is Displaying a second avatar on the display of the terminal device or displaying a second avatar and prompt information on the display of the terminal device or displaying a first avatar and prompt information on a display of the terminal device; or the terminal device Displaying a preset avatar and prompt information on the display of the terminal device.
其中,提示信息用于向所述终端设备所属的用户提示与所述目标数据相关的信息。The prompt information is used to prompt the user to which the terminal device belongs to information related to the target data.
可选的,所述目标数据为所述终端设备所属的用户在社交网站中的最新状态数据,步骤602在具体实现时包括:当所述最新状态数据中包含特定的词汇时,所述终端设备在所述终端设备的显示器上显示第一头像,当目标数据中不包含特定的词汇时,所述终端设备在所述终端设备的显示器上显示第二头像。Optionally, the target data is the latest state data of the user to which the terminal device belongs in the social networking website. In a specific implementation, the step 602 includes: when the latest state data includes a specific vocabulary, the terminal device Displaying a first avatar on the display of the terminal device, and when the target data does not include a specific vocabulary, the terminal device displays the second avatar on the display of the terminal device.
该可选的方法具体实现时,可以提前设置一个特定词汇集合,该特定词汇集合包含的词汇可以为表示情绪较好的词汇,当最新状态数据中出现该特定词汇集合中的任意一个词汇时,终端设备确定终端设备所属用户的心情好,在所述终端设备的显示器上显示第一头像,否则,终端设备确定终端设备所属用户的心情不好,在所述终端设备的显示器上显示第二头像。When the optional method is specifically implemented, a specific vocabulary set may be set in advance, and the vocabulary included in the specific vocabulary set may be a vocabulary indicating good emotion, when any one of the specific vocabulary sets appears in the latest state data, The terminal device determines that the user of the terminal device is in a good mood, and displays the first avatar on the display of the terminal device. Otherwise, the terminal device determines that the user of the terminal device is in a bad mood, and displays the second avatar on the display of the terminal device. .
示例4、当最新状态数据中包含特定的词汇时,终端设备在显示器上可以显示如图7-a所示的头像,当目标数据中不包含特定的词汇时,终端设备在终端设备的显示器上显示如图7-b所示的头像。Example 4: When the latest status data includes a specific vocabulary, the terminal device can display an avatar as shown in FIG. 7-a on the display. When the target data does not contain a specific vocabulary, the terminal device is on the display of the terminal device. The avatar shown in Figure 7-b is displayed.
若目标数据为联系人的纪念日,当终端设备向联系人去电时,终端设备获取联系人 的纪念日,如图8所示,终端设备可以在终端设备的显示器上显示预设头像和提示信息,提示信息为联系人的纪念日。If the target data is the anniversary of the contact, when the terminal device goes to the contact, the terminal device acquires the contact. As shown in FIG. 8, the terminal device can display a preset avatar and prompt information on the display of the terminal device, and the prompt information is the anniversary of the contact.
本发明实施例提供的方法,终端设备在向联系人去电时,可以根据目标数据满足的不同的预设条件显示不同的头像或显示头像和提示信息,在一些场景(例如,在显示联系人的纪念日的场景)下,可以对终端设备所属的用户起到提示作用,并且可以增加用户拨打电话的趣味性。According to the method provided by the embodiment of the present invention, when the terminal device is powered off, the terminal device may display different avatars or display avatars and prompt information according to different preset conditions that the target data meets, in some scenarios (for example, displaying contacts) Under the commemorative day scene, the user to which the terminal device belongs can be prompted, and the user's interest in making a call can be increased.
本发明实施例还提供了一种计算设备上的图形用户界面,所述计算设备具有显示器、一个或多个用户输入设备、存储器和用于执行保存在存储器中的一个或多个程序的一个或多个处理器,所述图形用户界面包括至少一个图标;Embodiments of the present invention also provide a graphical user interface on a computing device having a display, one or more user input devices, a memory, and one or more programs for executing one or more programs stored in the memory a plurality of processors, the graphical user interface including at least one icon;
联系人来电被检测到;Contact call is detected;
响应于检测到所述联系人来电,在获取到的目标数据满足第一预设条件时,第一头像被显示在所述显示器上;在获取到的目标数据满足第二预设条件时,第二头像或第二头像和提示信息或所述第一头像和提示信息被显示在所述显示器上,所述提示信息用于向所述终端设备所属的用户提示与所述目标数据相关的信息,所述目标数据包括所述终端设备中存储的与所述联系人对应的预设数据和/或所述终端设备与所述联系人的历史通信数据。In response to detecting the contact call, the first avatar is displayed on the display when the acquired target data satisfies the first preset condition; and when the acquired target data satisfies the second preset condition, The second avatar or the second avatar and the prompt information or the first avatar and the prompt information are displayed on the display, and the prompt information is used to prompt the user to which the terminal device belongs to information related to the target data, The target data includes preset data corresponding to the contact stored in the terminal device and/or historical communication data of the terminal device and the contact.
其中,计算设备可以为上文中的终端设备,与预设条件、第一头像、第二头像以及目标数据的相关解释可以参见与图1相关部分的描述,在此不再赘述。For a description of the related parts, the first avatar, the second avatar, and the target data, refer to the description of the relevant part of FIG. 1 , and details are not described herein again.
示例性的,第一头像和第二头像被显示在显示器上的效果可以参见图2-a和图2-b。Illustratively, the effect of the first avatar and the second avatar being displayed on the display can be seen in Figures 2-a and 2-b.
可选的,所述提示信息为文字、图片、动画和视频中的至少一个。Optionally, the prompt information is at least one of a text, a picture, an animation, and a video.
可选的,所述第二头像和提示信息被显示在所述显示器上,包括:重叠或部分重叠或不重叠的所述第二头像和提示信息被显示在所述显示器上;或者,所述第一头像和提示信息被显示在所述显示器上,包括:重叠或部分重叠或不重叠的所述第一头像和提示信息被显示在所述显示器上。Optionally, the second avatar and prompt information are displayed on the display, including: the second avatar and prompt information that are overlapped or partially overlapped or not overlapped are displayed on the display; or The first avatar and the prompt information are displayed on the display, including: the first avatar and the prompt information that are overlapped or partially overlapped or not overlapped are displayed on the display.
示例性的,第一头像和提示信息被显示在显示器上的效果可以参见图3-a,其中,3-a中的第一头像和提示信息重叠显示。For example, the effect of the first avatar and the prompt information being displayed on the display can be seen in FIG. 3-a, wherein the first avatar and the prompt information in 3-a are displayed in an overlapping manner.
可选的,响应于检测到所述联系人来电,在获取到的目标数据满足第三预设条件时,第三头像被显示在所述显示器上,其中,所述第一预设条件、第二预设条件和第三预设条件均不相同。Optionally, in response to detecting the contact call, when the acquired target data meets a third preset condition, the third avatar is displayed on the display, wherein the first preset condition, the first The second preset condition and the third preset condition are different.
示例性的,第一头像显示在显示器上的效果可以参见图5-a,第二头像显示在显示器上的效果可以参见图5-b,第三头像显示在显示器上的效果可以参见图5-c。For example, the effect of displaying the first avatar on the display can be seen in FIG. 5-a, the effect of displaying the second avatar on the display can be seen in FIG. 5-b, and the effect of displaying the third avatar on the display can be seen in FIG. 5 - c.
本发明实施例提供的图形用户界面,由于终端设备的显示器上显示的联系人的头像是根据目标数据确定的,用户可以根据终端设备的显示器上显示的联系人的头像(或头像和提示信息)获取与目标数据相关的信息,在一些场景下,可以防止用户在得知联系人来电的情况下未接听电话而产生严重的后果,在联系人的头像有多个的情况下,还可以提高趣味性。According to the graphical user interface provided by the embodiment of the present invention, since the avatar of the contact displayed on the display of the terminal device is determined according to the target data, the user may according to the avatar (or avatar and prompt information) of the contact displayed on the display of the terminal device. Obtaining information related to the target data, in some scenarios, preventing the user from receiving the call without knowing the incoming call, and having serious consequences. In the case where there are multiple contacts of the contact person, the user can also improve the taste. Sex.
本发明实施例还提供了一种终端设备90,如图9所示,包括:The embodiment of the present invention further provides a terminal device 90, as shown in FIG. 9, comprising:
获取单元901,用于在所述终端设备接收到联系人来电时,获取目标数据,所述目标 数据包括所述终端设备中存储的与所述联系人对应的预设数据和/或所述终端设备与所述联系人的历史通信数据;The obtaining unit 901 is configured to acquire target data when the terminal device receives a contact call, and the target The data includes preset data corresponding to the contact stored in the terminal device and/or historical communication data of the terminal device and the contact;
显示单元902,用于当所述目标数据满足第一预设条件时,在所述终端设备的显示器上显示第一头像;当所述目标数据满足第二预设条件时,在所述终端设备的显示器上显示第二头像或在所述显示器上显示第二头像和提示信息或在所述显示器上显示所述第一头像和提示信息,所述提示信息用于向所述终端设备所属的用户提示与所述目标数据相关的信息。The display unit 902 is configured to display a first avatar on the display of the terminal device when the target data meets the first preset condition; and when the target data meets the second preset condition, at the terminal device Displaying a second avatar on the display or displaying a second avatar and prompt information on the display or displaying the first avatar and prompt information on the display, the prompt information being used for a user to which the terminal device belongs Prompting information related to the target data.
可选的,所述提示信息为文字、图片、动画和视频中的至少一个。Optionally, the prompt information is at least one of a text, a picture, an animation, and a video.
可选的,如图10所示,所述终端设备90还包括:Optionally, as shown in FIG. 10, the terminal device 90 further includes:
播放单元903,用于当所述目标数据满足第一预设条件时,播放第一铃声;当所述目标数据满足第二预设条件时,播放第二铃声。The playing unit 903 is configured to: when the target data meets the first preset condition, play the first ringtone; when the target data meets the second preset condition, play the second ringtone.
可选的,所述显示单元902具体用于:将所述第二头像和提示信息重叠或部分重叠或不重叠的显示在所述显示器上;或者,Optionally, the display unit 902 is specifically configured to display, on the display, the second avatar and the prompt information overlapping or partially overlapping or not overlapping; or
所述显示单元902具体用于:将所述第一头像和提示信息重叠或部分重叠或不重叠的显示在所述显示器上。The display unit 902 is specifically configured to: display the first avatar and the prompt information on the display by overlapping or partially overlapping or not overlapping.
可选的,所述显示单元902还用于:当所述目标数据满足第三预设条件时,在所述终端设备的显示器上显示第三头像,其中,所述第一预设条件、第二预设条件和第三预设条件均不相同。Optionally, the display unit 902 is further configured to: when the target data meets the third preset condition, display a third avatar on the display of the terminal device, where the first preset condition, the first The second preset condition and the third preset condition are different.
可选的,所述历史通信数据包括:第一预设时间段内所述联系人的历史来电次数、第二预设时间段内所述联系人向所述终端设备发送的短信内容、第二预设时间段内所述联系人向所述终端设备发送的短信条数、第三预设时间段内所述终端设备的社交软件中的所述联系人发送的消息内容以及第三预设时间段内所述终端设备的社交软件中的所述联系人发送的消息的条数中的至少一个。Optionally, the historical communication data includes: a historical number of incoming calls of the contact in a first preset time period, a short message content sent by the contact to the terminal device in a second preset time period, and a second The number of the short messages sent by the contact to the terminal device, the content of the message sent by the contact in the social software of the terminal device in the third preset time period, and the third preset time in the preset time period. At least one of the number of messages sent by the contact in the social software of the terminal device within the segment.
可选的,所述终端设备中存储的与所述联系人对应的预设数据为所述终端设备中存储的所述联系人的纪念日,所述显示单元902具体用于:Optionally, the preset data corresponding to the contact stored in the terminal device is a anniversive day of the contact stored in the terminal device, and the display unit 902 is specifically configured to:
当所述联系人的纪念日与当前日期一致时,在所述终端设备的显示器上显示第一头像;Displaying a first avatar on a display of the terminal device when the anniversary of the contact is consistent with the current date;
当所述联系人的纪念日与当前日期不一致时,在所述终端设备的显示器上显示第二头像。When the anniversary of the contact is inconsistent with the current date, the second avatar is displayed on the display of the terminal device.
可选的,所述目标数据为第二预设时间段内所述联系人向所述终端设备发送的短信条数,所述显示单元902具体用于:Optionally, the target data is the number of the short message sent by the contact to the terminal device in the second preset time period, and the display unit 902 is specifically configured to:
当所述短信条数等于0时,在所述终端设备的显示器上显示第一头像;When the number of the short message is equal to 0, displaying the first avatar on the display of the terminal device;
当所述短信条数大于0时,在所述终端设备的显示器上显示第二头像。When the number of the short message is greater than 0, the second avatar is displayed on the display of the terminal device.
可选的,所述目标数据为第一预设时间段内所述联系人的历史来电次数,所述显示单元902具体用于:Optionally, the target data is a historical number of calls of the contact in the first preset time period, and the display unit 902 is specifically configured to:
当所述联系人的历史来电次数等于0时,在所述终端设备的显示器上显示第一头像;Displaying a first avatar on a display of the terminal device when the number of historical calls of the contact is equal to 0;
当所述联系人的历史来电次数大于0时,在所述显示器上显示第二头像和提示信息或在所述显示器上显示所述第一头像和提示信息,所述提示信息为所述联系人的历史来电次数。 Displaying a second avatar and prompt information on the display or displaying the first avatar and prompt information on the display when the number of historical calls of the contact is greater than 0, the prompt information is the contact Historical calls.
可选的,所述目标数据为第一预设时间段内所述联系人的历史来电次数,所述显示单元902具体用于:Optionally, the target data is a historical number of calls of the contact in the first preset time period, and the display unit 902 is specifically configured to:
当所述联系人的历史来电次数位于第一取值范围内时,在所述终端设备的显示器上显示第一头像;Displaying a first avatar on a display of the terminal device when the number of historical call times of the contact is within a first value range;
当所述联系人的历史来电次数位于第二取值范围内时,在所述终端设备的显示器上显示第二头像;Displaying a second avatar on a display of the terminal device when the number of historical call times of the contact is within a second value range;
当所述联系人的历史来电次数位于第三取值范围内时,在所述终端设备的显示器上显示第三头像;Displaying a third avatar on a display of the terminal device when the number of historical call times of the contact is within a third value range;
其中,所述第一取值范围、所述第二取值范围和所述第三取值范围中的任意两个取值范围之间不重叠。The two values of the first value range, the second value range, and the third value range do not overlap.
本发明实施例中提供的终端设备中的各个单元执行的动作与本发明实施例提供的方法一致,因此,本发明实施例中的终端设备的有益效果可参见本发明实施例中的方法中所述的有益效果,此处不再赘述。The operations performed by the respective units in the terminal device provided in the embodiment of the present invention are consistent with the methods provided in the embodiments of the present invention. Therefore, the beneficial effects of the terminal device in the embodiment of the present invention can be found in the method in the embodiment of the present invention. The beneficial effects described are not repeated here.
本发明实施例还提供了一种终端设备110,如图11所示,包括:存储器1101、处理器1102和扬声器1103,所述存储器1101用于存储代码,所述处理器1102根据所述代码执行上述方法。The embodiment of the present invention further provides a terminal device 110, as shown in FIG. 11, comprising: a memory 1101, a processor 1102, and a speaker 1103. The memory 1101 is configured to store code, and the processor 1102 executes according to the code. The above method.
其中,终端设备90中的获取单元901和显示单元902可以为终端设备110中的处理器1102,获取单元和显示单元具体可以以硬件形式内嵌于或独立于终端设备的处理器中,也可以以软件形式存储于终端设备的处理器中,以便于处理器调用执行以上各个单元对应的操作,终端设备90中的播放单元903可以为终端设备110中的扬声器1103。上述处理器可以为中央处理器(Central Processing Unit,简称CPU)、特定集成电路(Application Specific Integrated Circuit,简称ASIC)或者是被配置成实施本发明实施例的一个或多个集成电路。The acquiring unit 901 and the display unit 902 in the terminal device 90 may be the processor 1102 in the terminal device 110. The acquiring unit and the display unit may be embedded in the hardware of the terminal device or may be embedded in the processor of the terminal device. It is stored in the processor of the terminal device in software, so that the processor calls to perform the operations corresponding to the above respective units, and the playing unit 903 in the terminal device 90 may be the speaker 1103 in the terminal device 110. The processor may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
本发明实施例中提供的终端设备中的各个器件执行的动作与本发明实施例提供的方法一致,因此,本发明实施例中的终端设备的有益效果可参见本发明实施例中的方法中所述的有益效果,此处不再赘述。The operations performed by the respective devices in the terminal device provided in the embodiment of the present invention are consistent with the methods provided in the embodiments of the present invention. Therefore, the beneficial effects of the terminal device in the embodiments of the present invention can be found in the method in the embodiment of the present invention. The beneficial effects described are not repeated here.
本发明实施例还提供了一种存储一个或多个程序的计算机可读存储介质,其特征在于,所述一个或多个程序包括指令,所述指令当被终端设备执行时使所述终端设备执行根据上述方法。Embodiments of the present invention also provide a computer readable storage medium storing one or more programs, wherein the one or more programs include instructions that, when executed by a terminal device, cause the terminal device Perform according to the above method.
该计算机可读存储介质用于终端设备实现上述方法,其有益效果参见方法部分的有益效果,此处不再赘述。The computer readable storage medium is used in the terminal device to implement the foregoing method. For the beneficial effects, refer to the beneficial effects of the method part, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be another division manner, for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。 The modules described as separate components may or may not be physically separated. The components displayed as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理模块中,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or two or more modules may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of hardware plus software function modules.
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random-Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。 The above-described integrated modules implemented in the form of software function modules can be stored in a computer readable storage medium. The software functional modules described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a disk or an optical disk, and the like. The medium of the code.

Claims (35)

  1. 一种显示联系人头像的方法,其特征在于,包括:A method for displaying a contact avatar, comprising:
    终端设备接收到联系人来电时,获取目标数据,所述目标数据包括所述终端设备中存储的与所述联系人对应的预设数据和/或所述终端设备与所述联系人的历史通信数据;Receiving, by the terminal device, the target data, where the target data includes preset data corresponding to the contact stored in the terminal device, and/or historical communication between the terminal device and the contact data;
    当所述目标数据满足第一预设条件时,所述终端设备在所述终端设备的显示器上显示第一头像;When the target data meets the first preset condition, the terminal device displays the first avatar on the display of the terminal device;
    当所述目标数据满足第二预设条件时,所述终端设备在所述终端设备的显示器上显示第二头像或在所述显示器上显示第二头像和提示信息或在所述显示器上显示所述第一头像和提示信息,所述提示信息用于向所述终端设备所属的用户提示与所述目标数据相关的信息。When the target data meets the second preset condition, the terminal device displays a second avatar on the display of the terminal device or displays a second avatar and prompt information on the display or displays the display on the display The first avatar and the prompt information are used to prompt the user to which the terminal device belongs to information related to the target data.
  2. 根据权利要求1所述的方法,其特征在于,所述提示信息为文字、图片、动画和视频中的至少一个。The method according to claim 1, wherein the prompt information is at least one of a text, a picture, an animation, and a video.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    当所述目标数据满足第一预设条件时,所述终端设备播放第一铃声;When the target data meets the first preset condition, the terminal device plays the first ringtone;
    当所述目标数据满足第二预设条件时,所述终端设备播放第二铃声。When the target data meets the second preset condition, the terminal device plays the second ringtone.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,A method according to any one of claims 1 to 3, characterized in that
    所述终端设备在所述显示器上显示第二头像和提示信息,包括:所述终端设备将所述第二头像和提示信息重叠或部分重叠或不重叠的显示在所述显示器上;或者,Displaying, by the terminal device, the second avatar and the prompt information on the display, the terminal device displaying, on the display, the second avatar and the prompt information overlapping or partially overlapping or not overlapping; or
    所述终端设备在所述显示器上显示所述第一头像和提示信息,包括:所述终端设备将所述第一头像和提示信息重叠或部分重叠或不重叠的显示在所述显示器上。And displaying, by the terminal device, the first avatar and the prompt information on the display, the terminal device displaying, on the display, the first avatar and the prompt information overlapping or partially overlapping or not overlapping.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    当所述目标数据满足第三预设条件时,所述终端设备在所述终端设备的显示器上显示第三头像,其中,所述第一预设条件、第二预设条件和第三预设条件均不相同。When the target data meets the third preset condition, the terminal device displays a third avatar on the display of the terminal device, where the first preset condition, the second preset condition, and the third preset The conditions are different.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述历史通信数据包括:第一预设时间段内所述联系人的历史来电次数、第二预设时间段内所述联系人向所述终端设备发送的短信内容、第二预设时间段内所述联系人向所述终端设备发送的短信条数、第三预设时间段内所述终端设备的社交软件中的所述联系人发送的消息内容以及第三预设时间段内所述终端设备的社交软件中的所述联系人发送的消息的条数中的至少一个。The method according to any one of claims 1 to 5, wherein the historical communication data comprises: a number of historical calls of the contact in the first preset time period, and the second preset time period The content of the short message sent by the contact to the terminal device, the number of short messages sent by the contact to the terminal device in the second preset time period, and the social software in the terminal device in the third preset time period At least one of a message content sent by the contact and a number of messages sent by the contact in the social software of the terminal device in a third preset time period.
  7. 根据权利要求1-3任一项所述的方法,其特征在于,所述终端设备中存储的与所述联系人对应的预设数据为所述终端设备中存储的所述联系人的纪念日,当所述目标数据满足第一预设条件时,所述终端设备在所述终端设备的显示器上显示第一头像;当所述目标数据满足第二预设条件时,所述终端设备在所述终端设备的显示器上显示第二头像,包括:The method according to any one of claims 1-3, wherein the preset data corresponding to the contact stored in the terminal device is an anniversary date of the contact stored in the terminal device When the target data meets the first preset condition, the terminal device displays a first avatar on the display of the terminal device; when the target data meets the second preset condition, the terminal device is at the Displaying a second avatar on the display of the terminal device, including:
    当所述联系人的纪念日与当前日期一致时,所述终端设备在所述终端设备的显示器上显示第一头像;When the anniversary of the contact is consistent with the current date, the terminal device displays the first avatar on the display of the terminal device;
    当所述联系人的纪念日与当前日期不一致时,所述终端设备在所述终端设备的显示器上显示第二头像。When the anniversary of the contact is inconsistent with the current date, the terminal device displays a second avatar on the display of the terminal device.
  8. 根据权利要求1-3任一项所述的方法,其特征在于,所述目标数据为第二预设时间段内所述联系人向所述终端设备发送的短信条数,当所述目标数据满足第一预设条件时, 所述终端设备在所述终端设备的显示器上显示第一头像;当所述目标数据满足第二预设条件时,所述终端设备在所述终端设备的显示器上显示第二头像,包括:The method according to any one of claims 1 to 3, wherein the target data is the number of short messages sent by the contact to the terminal device during a second preset time period, when the target data is When the first preset condition is met, The terminal device displays a first avatar on the display of the terminal device; when the target data meets the second preset condition, the terminal device displays the second avatar on the display of the terminal device, including:
    当所述短信条数等于0时,所述终端设备在所述终端设备的显示器上显示第一头像;When the number of the short message is equal to 0, the terminal device displays the first avatar on the display of the terminal device;
    当所述短信条数大于0时,所述终端设备在所述终端设备的显示器上显示第二头像。When the number of the short message is greater than 0, the terminal device displays the second avatar on the display of the terminal device.
  9. 根据权利要求1-4任一项所述的方法,其特征在于,所述目标数据为第一预设时间段内所述联系人的历史来电次数,当所述目标数据满足第一预设条件时,所述终端设备在所述终端设备的显示器上显示第一头像;当所述目标数据满足第二预设条件时,所述终端设备在所述显示器上显示第二头像和提示信息或在所述显示器上显示所述第一头像和提示信息,包括:The method according to any one of claims 1 to 4, wherein the target data is a historical number of calls of the contact in a first preset time period, when the target data satisfies a first preset condition. And displaying, by the terminal device, a first avatar on a display of the terminal device; when the target data meets a second preset condition, the terminal device displays a second avatar and prompt information on the display or Displaying the first avatar and prompt information on the display, including:
    当所述联系人的历史来电次数等于0时,所述终端设备在所述终端设备的显示器上显示第一头像;When the number of historical calls of the contact is equal to 0, the terminal device displays the first avatar on the display of the terminal device;
    当所述联系人的历史来电次数大于0时,所述终端设备在所述显示器上显示第二头像和提示信息或在所述显示器上显示所述第一头像和提示信息,所述提示信息为所述联系人的历史来电次数。When the number of historical calls of the contact is greater than 0, the terminal device displays a second avatar and prompt information on the display or displays the first avatar and prompt information on the display, where the prompt information is The number of historical calls to the contact.
  10. 根据权利要求5所述的方法,其特征在于,所述目标数据为第一预设时间段内所述联系人的历史来电次数,当所述目标数据满足第一预设条件时,所述终端设备在所述终端设备的显示器上显示第一头像;当所述目标数据满足第二预设条件时,所述终端设备在所述终端设备的显示器上显示第二头像;当所述目标数据满足第三预设条件时,所述终端设备在所述终端设备的显示器上显示第三头像,包括:The method according to claim 5, wherein the target data is a historical number of incoming calls of the contact in a first preset time period, and when the target data satisfies a first preset condition, the terminal The device displays a first avatar on the display of the terminal device; when the target data meets the second preset condition, the terminal device displays a second avatar on the display of the terminal device; when the target data is satisfied The third preset condition, the terminal device displays the third avatar on the display of the terminal device, including:
    当所述联系人的历史来电次数位于第一取值范围内时,所述终端设备在所述终端设备的显示器上显示第一头像;When the number of historical calls of the contact is in the first value range, the terminal device displays the first avatar on the display of the terminal device;
    当所述联系人的历史来电次数位于第二取值范围内时,所述终端设备在所述终端设备的显示器上显示第二头像;When the number of historical calls of the contact is in the second value range, the terminal device displays the second avatar on the display of the terminal device;
    当所述联系人的历史来电次数位于第三取值范围内时,所述终端设备在所述终端设备的显示器上显示第三头像;When the number of historical calls of the contact is in the third value range, the terminal device displays a third avatar on the display of the terminal device;
    其中,所述第一取值范围、所述第二取值范围和所述第三取值范围中的任意两个取值范围之间不重叠。The two values of the first value range, the second value range, and the third value range do not overlap.
  11. 一种计算设备上的图形用户界面,其特征在于,所述计算设备具有显示器、一个或多个用户输入设备、存储器和用于执行保存在存储器中的一个或多个程序的一个或多个处理器,所述图形用户界面包括至少一个图标;A graphical user interface on a computing device, characterized in that the computing device has a display, one or more user input devices, a memory, and one or more processes for executing one or more programs stored in the memory The graphical user interface includes at least one icon;
    其中,联系人来电被检测到;Among them, the contact call is detected;
    响应于检测到所述联系人来电,在获取到的目标数据满足第一预设条件时,第一头像被显示在所述显示器上;在获取到的目标数据满足第二预设条件时,第二头像或第二头像和提示信息或所述第一头像和提示信息被显示在所述显示器上,所述提示信息用于向所述终端设备所属的用户提示与所述目标数据相关的信息,所述目标数据包括所述终端设备中存储的与所述联系人对应的预设数据和/或所述终端设备与所述联系人的历史通信数据。In response to detecting the contact call, the first avatar is displayed on the display when the acquired target data satisfies the first preset condition; and when the acquired target data satisfies the second preset condition, The second avatar or the second avatar and the prompt information or the first avatar and the prompt information are displayed on the display, and the prompt information is used to prompt the user to which the terminal device belongs to information related to the target data, The target data includes preset data corresponding to the contact stored in the terminal device and/or historical communication data of the terminal device and the contact.
  12. 根据权利要求11所述的图形用户界面,其特征在于,所述提示信息为文字、图片、动画和视频中的至少一个。 The graphical user interface of claim 11, wherein the prompt information is at least one of a text, a picture, an animation, and a video.
  13. 根据权利要求11或12所述的图形用户界面,其特征在于,所述第二头像和提示信息被显示在所述显示器上,包括:重叠或部分重叠或不重叠的所述第二头像和提示信息被显示在所述显示器上;或者,The graphical user interface according to claim 11 or 12, wherein the second avatar and prompt information are displayed on the display, including: the second avatar and the prompt overlapping or partially overlapping or not overlapping Information is displayed on the display; or,
    所述第一头像和提示信息被显示在所述显示器上,包括:重叠或部分重叠或不重叠的所述第一头像和提示信息被显示在所述显示器上。The first avatar and prompt information are displayed on the display, and the first avatar and prompt information that are overlapped or partially overlapped or not overlapped are displayed on the display.
  14. 根据权利要求11-13任一项所述的图形用户界面,其特征在于,A graphical user interface according to any of claims 11-13, characterized in that
    响应于检测到所述联系人来电,在获取到的目标数据满足第三预设条件时,第三头像被显示在所述显示器上,其中,所述第一预设条件、第二预设条件和第三预设条件均不相同。In response to detecting the contact call, the third avatar is displayed on the display when the acquired target data satisfies a third preset condition, wherein the first preset condition and the second preset condition And the third preset condition is not the same.
  15. 一种终端设备,其特征在于,包括:A terminal device, comprising:
    获取单元,用于在所述终端设备接收到联系人来电时,获取目标数据,所述目标数据包括所述终端设备中存储的与所述联系人对应的预设数据和/或所述终端设备与所述联系人的历史通信数据;An acquiring unit, configured to acquire target data when the terminal device receives a contact call, where the target data includes preset data corresponding to the contact and/or the terminal device stored in the terminal device Historical communication data with the contact;
    显示单元,用于当所述目标数据满足第一预设条件时,在所述终端设备的显示器上显示第一头像;当所述目标数据满足第二预设条件时,在所述终端设备的显示器上显示第二头像或在所述显示器上显示第二头像和提示信息或在所述显示器上显示所述第一头像和提示信息,所述提示信息用于向所述终端设备所属的用户提示与所述目标数据相关的信息。a display unit, configured to display a first avatar on a display of the terminal device when the target data meets a first preset condition; and when the target data meets a second preset condition, at the terminal device Displaying a second avatar on the display or displaying a second avatar and prompt information on the display or displaying the first avatar and prompt information on the display, the prompt information being used to prompt the user to which the terminal device belongs Information related to the target data.
  16. 根据权利要求15所述的终端设备,其特征在于,所述提示信息为文字、图片、动画和视频中的至少一个。The terminal device according to claim 15, wherein the prompt information is at least one of a text, a picture, an animation, and a video.
  17. 根据权利要求15或16所述的终端设备,其特征在于,所述终端设备还包括:The terminal device according to claim 15 or 16, wherein the terminal device further comprises:
    播放单元,用于当所述目标数据满足第一预设条件时,播放第一铃声;当所述目标数据满足第二预设条件时,播放第二铃声。a playing unit, configured to: when the target data meets the first preset condition, play the first ringtone; when the target data meets the second preset condition, play the second ringtone.
  18. 根据权利要求15-17任一项所述的终端设备,其特征在于,A terminal device according to any one of claims 15-17, characterized in that
    所述显示单元具体用于:将所述第二头像和提示信息重叠或部分重叠或不重叠的显示在所述显示器上;或者,The display unit is specifically configured to: display the second avatar and the prompt information on the display by overlapping or partially overlapping or not overlapping; or
    所述显示单元具体用于:将所述第一头像和提示信息重叠或部分重叠或不重叠的显示在所述显示器上。The display unit is specifically configured to: display the first avatar and the prompt information on the display by overlapping or partially overlapping or not overlapping.
  19. 根据权利要求15-18任一项所述的终端设备,其特征在于,所述显示单元还用于:The terminal device according to any one of claims 15 to 18, wherein the display unit is further configured to:
    当所述目标数据满足第三预设条件时,在所述终端设备的显示器上显示第三头像,其中,所述第一预设条件、第二预设条件和第三预设条件均不相同。When the target data meets the third preset condition, displaying a third avatar on the display of the terminal device, where the first preset condition, the second preset condition, and the third preset condition are different .
  20. 根据权利要求15-19任一项所述的终端设备,其特征在于,所述历史通信数据包括:第一预设时间段内所述联系人的历史来电次数、第二预设时间段内所述联系人向所述终端设备发送的短信内容、第二预设时间段内所述联系人向所述终端设备发送的短信条数、第三预设时间段内所述终端设备的社交软件中的所述联系人发送的消息内容以及第三预设时间段内所述终端设备的社交软件中的所述联系人发送的消息的条数中的至少一个。The terminal device according to any one of claims 15 to 19, wherein the historical communication data comprises: a historical number of incoming calls of the contact in a first preset time period, and a second preset time period The content of the short message sent by the contact to the terminal device, the number of short messages sent by the contact to the terminal device in the second preset time period, and the social software of the terminal device in the third preset time period At least one of a message content sent by the contact and a number of messages sent by the contact in the social software of the terminal device in a third preset time period.
  21. 根据权利要求15-17任一项所述的终端设备,其特征在于,所述终端设备中存储的与所述联系人对应的预设数据为所述终端设备中存储的所述联系人的纪念日,所述显示 单元具体用于:The terminal device according to any one of claims 15-17, wherein the preset data corresponding to the contact stored in the terminal device is a memorial of the contact stored in the terminal device Day, the display The unit is specifically used to:
    当所述联系人的纪念日与当前日期一致时,在所述终端设备的显示器上显示第一头像;Displaying a first avatar on a display of the terminal device when the anniversary of the contact is consistent with the current date;
    当所述联系人的纪念日与当前日期不一致时,在所述终端设备的显示器上显示第二头像。When the anniversary of the contact is inconsistent with the current date, the second avatar is displayed on the display of the terminal device.
  22. 根据权利要求15-17任一项所述的终端设备,其特征在于,所述目标数据为第二预设时间段内所述联系人向所述终端设备发送的短信条数,所述显示单元具体用于:The terminal device according to any one of claims 15-17, wherein the target data is the number of short messages sent by the contact to the terminal device in a second preset time period, the display unit Specifically used for:
    当所述短信条数等于0时,在所述终端设备的显示器上显示第一头像;When the number of the short message is equal to 0, displaying the first avatar on the display of the terminal device;
    当所述短信条数大于0时,在所述终端设备的显示器上显示第二头像。When the number of the short message is greater than 0, the second avatar is displayed on the display of the terminal device.
  23. 根据权利要求15-18任一项所述的终端设备,其特征在于,所述目标数据为第一预设时间段内所述联系人的历史来电次数,所述显示单元具体用于:The terminal device according to any one of claims 15 to 18, wherein the target data is a historical number of calls of the contact in the first preset time period, and the display unit is specifically configured to:
    当所述联系人的历史来电次数等于0时,在所述终端设备的显示器上显示第一头像;Displaying a first avatar on a display of the terminal device when the number of historical calls of the contact is equal to 0;
    当所述联系人的历史来电次数大于0时,在所述显示器上显示第二头像和提示信息或在所述显示器上显示所述第一头像和提示信息,所述提示信息为所述联系人的历史来电次数。Displaying a second avatar and prompt information on the display or displaying the first avatar and prompt information on the display when the number of historical calls of the contact is greater than 0, the prompt information is the contact Historical calls.
  24. 根据权利要求19所述的终端设备,其特征在于,所述目标数据为第一预设时间段内所述联系人的历史来电次数,所述显示单元具体用于:The terminal device according to claim 19, wherein the target data is a historical number of calls of the contact in the first preset time period, and the display unit is specifically configured to:
    当所述联系人的历史来电次数位于第一取值范围内时,在所述终端设备的显示器上显示第一头像;Displaying a first avatar on a display of the terminal device when the number of historical call times of the contact is within a first value range;
    当所述联系人的历史来电次数位于第二取值范围内时,在所述终端设备的显示器上显示第二头像;Displaying a second avatar on a display of the terminal device when the number of historical call times of the contact is within a second value range;
    当所述联系人的历史来电次数位于第三取值范围内时,在所述终端设备的显示器上显示第三头像;Displaying a third avatar on a display of the terminal device when the number of historical call times of the contact is within a third value range;
    其中,所述第一取值范围、所述第二取值范围和所述第三取值范围中的任意两个取值范围之间不重叠。The two values of the first value range, the second value range, and the third value range do not overlap.
  25. 一种终端设备,其特征在于,包括:存储器和处理器,所述存储器用于存储代码,所述处理器根据所述代码执行以下动作:A terminal device, comprising: a memory for storing code, and a processor performing the following actions according to the code:
    在所述终端设备接收到联系人来电时,获取目标数据,所述目标数据包括所述终端设备中存储的与所述联系人对应的预设数据和/或所述终端设备与所述联系人的历史通信数据;Obtaining target data when the terminal device receives a contact call, the target data includes preset data corresponding to the contact stored in the terminal device, and/or the terminal device and the contact Historical communication data;
    当所述目标数据满足第一预设条件时,在所述终端设备的显示器上显示第一头像;当所述目标数据满足第二预设条件时,在所述终端设备的显示器上显示第二头像或在所述显示器上显示第二头像和提示信息或在所述显示器上显示所述第一头像和提示信息,所述提示信息用于向所述终端设备所属的用户提示与所述目标数据相关的信息。Displaying a first avatar on a display of the terminal device when the target data satisfies a first preset condition; displaying a second display on a display of the terminal device when the target data meets a second preset condition Displaying a second avatar and prompt information on the display or displaying the first avatar and prompt information on the display, the prompt information being used to prompt the user to which the terminal device belongs and the target data relevant information.
  26. 根据权利要求25所述的终端设备,其特征在于,所述提示信息为文字、图片、动画和视频中的至少一个。The terminal device according to claim 25, wherein the prompt information is at least one of a text, a picture, an animation, and a video.
  27. 根据权利要求25或26所述的终端设备,其特征在于,所述终端设备还包括:The terminal device according to claim 25 or 26, wherein the terminal device further comprises:
    扬声器,用于当所述目标数据满足第一预设条件时,播放第一铃声;当所述目标数据满足第二预设条件时,播放第二铃声。And a speaker, configured to: when the target data meets the first preset condition, play the first ringtone; when the target data meets the second preset condition, play the second ringtone.
  28. 根据权利要求25-27任一项所述的终端设备,其特征在于,A terminal device according to any one of claims 25-27, characterized in that
    所述处理器具体用于:将所述第二头像和提示信息重叠或部分重叠或不重叠的显示在所 述显示器上;或者,The processor is specifically configured to: display the second avatar and the prompt information overlapping or partially overlapping or not overlapping On the display; or,
    所述处理器具体用于:将所述第一头像和提示信息重叠或部分重叠或不重叠的显示在所述显示器上。The processor is specifically configured to display, on the display, the first avatar and the prompt information overlapping or partially overlapping or not overlapping.
  29. 根据权利要求25-28任一项所述的终端设备,其特征在于,所述处理器还用于:The terminal device according to any one of claims 25 to 28, wherein the processor is further configured to:
    当所述目标数据满足第三预设条件时,在所述终端设备的显示器上显示第三头像,其中,所述第一预设条件、第二预设条件和第三预设条件均不相同。When the target data meets the third preset condition, displaying a third avatar on the display of the terminal device, where the first preset condition, the second preset condition, and the third preset condition are different .
  30. 根据权利要求25-29任一项所述的终端设备,其特征在于,所述历史通信数据包括:第一预设时间段内所述联系人的历史来电次数、第二预设时间段内所述联系人向所述终端设备发送的短信内容、第二预设时间段内所述联系人向所述终端设备发送的短信条数、第三预设时间段内所述终端设备的社交软件中的所述联系人发送的消息内容以及第三预设时间段内所述终端设备的社交软件中的所述联系人发送的消息的条数中的至少一个。The terminal device according to any one of claims 25 to 29, wherein the historical communication data comprises: a historical number of incoming calls of the contact in a first preset time period, and a second preset time period The content of the short message sent by the contact to the terminal device, the number of short messages sent by the contact to the terminal device in the second preset time period, and the social software of the terminal device in the third preset time period At least one of a message content sent by the contact and a number of messages sent by the contact in the social software of the terminal device in a third preset time period.
  31. 根据权利要求25-27任一项所述的终端设备,其特征在于,所述终端设备中存储的与所述联系人对应的预设数据为所述终端设备中存储的所述联系人的纪念日,所述处理器具体用于:The terminal device according to any one of claims 25 to 27, wherein the preset data corresponding to the contact stored in the terminal device is a memorial of the contact stored in the terminal device The processor is specifically used to:
    当所述联系人的纪念日与当前日期一致时,在所述终端设备的显示器上显示第一头像;Displaying a first avatar on a display of the terminal device when the anniversary of the contact is consistent with the current date;
    当所述联系人的纪念日与当前日期不一致时,在所述终端设备的显示器上显示第二头像。When the anniversary of the contact is inconsistent with the current date, the second avatar is displayed on the display of the terminal device.
  32. 根据权利要求25-27任一项所述的终端设备,其特征在于,所述目标数据为第二预设时间段内所述联系人向所述终端设备发送的短信条数,所述处理器具体用于:The terminal device according to any one of claims 25 to 27, wherein the target data is the number of short messages sent by the contact to the terminal device in a second preset time period, the processor Specifically used for:
    当所述短信条数等于0时,在所述终端设备的显示器上显示第一头像;When the number of the short message is equal to 0, displaying the first avatar on the display of the terminal device;
    当所述短信条数大于0时,在所述终端设备的显示器上显示第二头像。When the number of the short message is greater than 0, the second avatar is displayed on the display of the terminal device.
  33. 根据权利要求25-28任一项所述的终端设备,其特征在于,所述目标数据为第一预设时间段内所述联系人的历史来电次数,所述处理器具体用于:当所述联系人的历史来电次数等于0时,在所述终端设备的显示器上显示第一头像;当所述联系人的历史来电次数大于0时,在所述显示器上显示第二头像和提示信息或在所述显示器上显示所述第一头像和提示信息,所述提示信息为所述联系人的历史来电次数。The terminal device according to any one of claims 25 to 28, wherein the target data is a historical number of calls of the contact in the first preset time period, and the processor is specifically configured to: When the number of historical calls of the contact is equal to 0, the first avatar is displayed on the display of the terminal device; when the number of historical calls of the contact is greater than 0, the second avatar and the prompt information are displayed on the display or Displaying the first avatar and prompt information on the display, where the prompt information is a historical number of calls of the contact.
  34. 根据权利要求29所述的终端设备,其特征在于,所述目标数据为第一预设时间段内所述联系人的历史来电次数,所述处理器具体用于:The terminal device according to claim 29, wherein the target data is a historical number of calls of the contact in the first preset time period, and the processor is specifically configured to:
    当所述联系人的历史来电次数位于第一取值范围内时,在所述终端设备的显示器上显示第一头像;Displaying a first avatar on a display of the terminal device when the number of historical call times of the contact is within a first value range;
    当所述联系人的历史来电次数位于第二取值范围内时,在所述终端设备的显示器上显示第二头像;Displaying a second avatar on a display of the terminal device when the number of historical call times of the contact is within a second value range;
    当所述联系人的历史来电次数位于第三取值范围内时,在所述终端设备的显示器上显示第三头像;Displaying a third avatar on a display of the terminal device when the number of historical call times of the contact is within a third value range;
    其中,所述第一取值范围、所述第二取值范围和所述第三取值范围中的任意两个取值范围之间不重叠。The two values of the first value range, the second value range, and the third value range do not overlap.
  35. 一种存储一个或多个程序的计算机可读存储介质,其特征在于,所述一个或多个程序包括指令,所述指令当被终端设备执行时使所述终端设备执行根据权利要求1至10任一项所述的方法。 A computer readable storage medium storing one or more programs, wherein the one or more programs include instructions that, when executed by a terminal device, cause the terminal device to perform according to claims 1 to 10 The method of any of the preceding claims.
PCT/CN2017/090080 2016-06-30 2017-06-26 Method and device for displaying contact avatar and computer readable storage medium WO2018001212A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610515096.4A CN107566593A (en) 2016-06-30 2016-06-30 A kind of method, apparatus and computer-readable recording medium for showing contact head image
CN201610515096.4 2016-06-30

Publications (1)

Publication Number Publication Date
WO2018001212A1 true WO2018001212A1 (en) 2018-01-04

Family

ID=60785107

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/090080 WO2018001212A1 (en) 2016-06-30 2017-06-26 Method and device for displaying contact avatar and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN107566593A (en)
WO (1) WO2018001212A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1518378A (en) * 2003-01-15 2004-08-04 ӡ�����Ƽ��ɷ����޹�˾ Method for displaying emotion index of caller and mobile phone suitable for said method
CN101218808A (en) * 2005-07-05 2008-07-09 日本电气株式会社 Telephone set and telephone incoming call signaling method
US20120115449A1 (en) * 2010-11-10 2012-05-10 Holger Bruchelt Mobile device caller id extension
US20130053008A1 (en) * 2011-08-23 2013-02-28 Research In Motion Limited Variable incoming communication indicators
CN103354575A (en) * 2013-06-14 2013-10-16 广东欧珀移动通信有限公司 Method for prompting history conversation content at time of calling or being called, and mobile terminal
CN103391345A (en) * 2012-05-07 2013-11-13 中兴通讯股份有限公司 Method and mobile terminal for processing contact person displaying
CN104718709A (en) * 2012-09-20 2015-06-17 三星电子株式会社 Method and apparatus for displaying missed calls on mobile terminal
US20150207926A1 (en) * 2014-01-23 2015-07-23 Microsoft Corporation Entity-linked reminder notifications
CN105704286A (en) * 2014-11-24 2016-06-22 小米科技有限责任公司 Communication information display method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4402355B2 (en) * 2003-01-21 2010-01-20 京セラ株式会社 Stackable mobile terminal device
JP2004260657A (en) * 2003-02-27 2004-09-16 Nec Saitama Ltd Portable communication terminal device
KR100747452B1 (en) * 2005-09-08 2007-08-09 엘지전자 주식회사 Methods and apparatus' of transmitting multimedia message for mobile phone

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1518378A (en) * 2003-01-15 2004-08-04 ӡ�����Ƽ��ɷ����޹�˾ Method for displaying emotion index of caller and mobile phone suitable for said method
CN101218808A (en) * 2005-07-05 2008-07-09 日本电气株式会社 Telephone set and telephone incoming call signaling method
US20120115449A1 (en) * 2010-11-10 2012-05-10 Holger Bruchelt Mobile device caller id extension
US20130053008A1 (en) * 2011-08-23 2013-02-28 Research In Motion Limited Variable incoming communication indicators
CN103391345A (en) * 2012-05-07 2013-11-13 中兴通讯股份有限公司 Method and mobile terminal for processing contact person displaying
CN104718709A (en) * 2012-09-20 2015-06-17 三星电子株式会社 Method and apparatus for displaying missed calls on mobile terminal
CN103354575A (en) * 2013-06-14 2013-10-16 广东欧珀移动通信有限公司 Method for prompting history conversation content at time of calling or being called, and mobile terminal
US20150207926A1 (en) * 2014-01-23 2015-07-23 Microsoft Corporation Entity-linked reminder notifications
CN105704286A (en) * 2014-11-24 2016-06-22 小米科技有限责任公司 Communication information display method and device

Also Published As

Publication number Publication date
CN107566593A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
JP6701148B2 (en) Cooperative phone reputation system
EP2569961B1 (en) Method and apparatus for suggesting a message segment
CN104378498B (en) Method of displaying contact information, method of handling lost call and electronic apparatus using the same
US10484536B2 (en) Methods and apparatus to associate voice messages with missed calls
US10165111B2 (en) Identifying an unknown contact
RU2734114C1 (en) Personalized audio/video invitations for phone calls
US20130324092A1 (en) Built-in mobile device call handler and answering machine
WO2012030582A1 (en) Image selection for an incoming call
WO2017128653A1 (en) Incoming call processing method and apparatus
US20130005309A1 (en) Method and System for Indicating Telephone Availability
US8798601B2 (en) Variable incoming communication indicators
US10958785B2 (en) Multiple party call acknowledgement
KR100652648B1 (en) User state information transmission method for mobile station using short message
CN105988795B (en) Message processing method and device
WO2018001212A1 (en) Method and device for displaying contact avatar and computer readable storage medium
WO2016177044A1 (en) Method for setting missed calls, mobile terminal and system
CN111343223B (en) Information pushing method and terminal
US20150288822A1 (en) Private Social Voice Messaging System
TW532031B (en) Incoming call denial processing method and apparatus of mobile phone
EP2562995A1 (en) Variable incoming communication indicators
US9794387B1 (en) Automatically establishing a communication session associated with an event
WO2019183917A1 (en) Method for operating a device for handling a phone call
WO2016165426A1 (en) Method, apparatus and terminal device for displaying call information
TWI594614B (en) Method and system of situation information
WO2018092141A1 (en) Inbound call to chat

Legal Events

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

Ref document number: 17819209

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17819209

Country of ref document: EP

Kind code of ref document: A1