Patent Description:
At present, a lot of instant chat software is widely used, such as QQ, WeChat, etc. Instant chat software is network software that can transmit instant messages between two or more users. Most instant chat software can display a list of contacts, and some can also display whether a contact is online or not. Every sentence sent by the users will be instantly displayed on screens of both parties. Users can complete the establishment of contact relationships by accepting requests from other users. At the same time, a lot of instant chat software also introduces functions such as personal space and circle of friends, so that users can view status information released by contacts at any time. The promotion of the instant chat software enriches the interaction between people and has brought great convenience for people's Life.

However, the inventor has found at least the following problem in some situations: the risk of a received friend-adding request cannot be predicted, resulting in a relatively passive process of establishing the contact relationship, which in turn brings about hidden security risks and exacerbates the rampant network fraud.

<CIT> describes a risk recognition method and a risk recognition device. The method comprises steps: modification information sent by a first user is received; when the modified user information of the first user contained in the modification information is determined to be different from the already-stored user information of the first user, the similarities between the user identifier of the first user after modification and user identifiers of other users in a user group are calculated respectively, and/or the similarities between the identifier picture of the first user after modification and identifier pictures of other users in the user group are calculated; and according to the similarities, whether the first user belongs to a risk user is recognized.

<CIT> introduces an illegal user data identification method and device, and belongs to the technical field of data analysis. The illegal user data identification method includes the steps that a friend adding request is received, and the friend adding request includes applicant data; the similarity of the applicant data and friend data of all friends is computed; when at least one obtained similarity is larger than the preset threshold value, it is determined that the applicant data are illegal user data.

Accordingly, objects of the present disclosure are to provide an authentication method based on a contact list, a terminal device, a server, and a storage medium, which can actively predict the risk of a received friend-adding request, thereby improving security and effectively reducing network fraud. The invention is disclosed by the independent claims. Further embodiments are described by the dependent claims.

To achieve the aforementioned objects, embodiments of the present disclosure provide an authentication method based on a contact list, a terminal device, a server, and a storage medium.

One or more embodiments are exemplified with reference to the corresponding figure in the accompanying drawings. These exemplified descriptions do not constitute a limitation on the embodiments. Like reference numbers in the drawings represent similar elements. Drawings and elements therein are not drawn to scale unless otherwise stated.

In order to make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, various embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. However, those skilled in the art will understand that the following detailed description is provided to give the reader a better understanding of certain embodiments of the disclosure. Even without those technical details and various changes and modifications based on the following embodiments, the claimed solutions may also be realized.

A first embodiment of the present disclosure relates to an authentication method based on a contact list, which is applied to a terminal device. Feature attribute information of contacts in a contact list of a user is acquired. When it is detected that a third-party user requests adding the user as a friend, feature attribute information of the third-party user is acquired. Then, the feature attribute information of the third-party user is matched with the feature attribute information of each of the contacts in the contact list respectively, so as to actively predict the risk of a received friend-adding request. If a matching result of the feature attribute information of the third-party user and the feature attribute information of any contact in the contact list satisfies a preset condition, it indicates that the third-party user might perform network fraud by pretending to be a friend of this user. Accordingly, first prompt information is added in a request interface received by the user. Since the first prompt information can play a role of prompting the user to verify an identity of the third-party user, the user rashly recognizing the third-party user as the friend that the third-party user pretends to be can be avoided, so as to improve security and effectively reduce network fraud.

In existing technologies, a lot of instant chat software has hidden security risks in the process of establishing a contact relationship. For example, a fraudster may acquire visiting information of friends of a certain user by visiting the personal space of the user, and the visiting information includes messages, comments etc. left by the friends. Generally, the fraudster may acquire account information of a friend of this user only by clicking the head portrait or name of the friend of this user. Then, the fraudster fakes the head portrait or name of this user and sends a friend-adding request in the name of this user. Under the circumstance that the head portrait and the name of the fraudster are the same as those of the user, friends of this user generally would directly accept the adding request, which provides convenience for the fraudster to carry out fraudulent activities. Especially in the case that the user who is pretended to be may be on a business trip, travelling, etc., that user would not know this situation immediately, so that he/she cannot take relevant actions in time to warn his/her friends and thus fails to prevent occurrence of the fraud. There are many similar cases. In common network fraud tactics disclosed by the public security organs, such a tactic of pretending to be another person is also listed and described to warn citizens to take precautions.

This embodiment can solve the above problem that, in existing technologies, a lot of instant chat software fails to actively predict the risk of a received friend-adding request, therefore leading to hidden security risks. Implementation details of the authentication method based on the contact list will be described below. The following content relates to implementation details provided only for better understanding, and is not essential for implementing the present solution.

In the present embodiment, the authentication method based on the contact list is applied to a terminal device. The terminal device in the present embodiment may include, but is not limited to, a mobile phone, a computer, or the like. The flowchart is shown in <FIG>, and includes the following steps.

At step <NUM>, feature attribute information of contacts in a contact list of a user is acquired.

For example, if user A and user B are a contact of each other. A terminal device may acquire feature attribute information of the user B from a contact list of the user A. The terminal device may also acquire feature attribute information of the user A from a contact list of the user B.

The feature attribute information in the present embodiment may include any one of or any combination of name, head portrait picture, phone number, and email address, and may also include region, gender, or the like, which is not limited by the present embodiment. Since these pieces of feature attribute information may be combined in any combination, the problem that determining a fraud account is performed based on a single factor can be solved, and accuracy of predicting the risk can be further improved. Additionally, the feature attribute information of the contacts in the contact list of the user can be acquired and stored when the terminal device detects that the user registers an account of instant chat software or modifies the personal profile.

It is preferred that the feature attribute information of the contacts in the contact list of the user acquired is feature attribute information of all the contacts in the contact list. In this way, precision of a matching result can be improved. However, in practical applications, if there are too many contacts in the contact list of the user, in order to reduce memory usage of the terminal device by the feature attribute information of all the contacts in the contact list, the user may set a given number in the terminal device, so that the terminal device only acquires feature attribute information of a predetermined number of contacts in the contact list. For example, feature attribute information of <NUM> contacts in the contact list may be acquired according to the setting.

Preferably, the user may voluntarily select contacts in the contact list for the terminal device to acquire feature attribute information of the contacts selected by the user. Actually, among the contacts in the contact list of the user, the number of contacts who often contact the user is limited. Moreover, if a relatively unfamiliar contact sends a friend-adding request to the user, or if the relatively unfamiliar contact asks the user for money after the user accepts his/her friend-adding request, the user will generally be more alert. In addition, based on statistics, it is found that the fraudster normally pretends to be a relatively close friend of the user to carry out fraudulent activities. Accordingly, through voluntarily selecting contacts who often contact the user in the contact list by the user to enable the terminal device only to acquire feature attribute information of the contacts who often contact the user, precision of the matching result can be further improved while memory usage of the terminal device by the feature attribute information can be further reduced.

At step <NUM>, when it is detected that a third-party user requests adding the user as a friend, feature attribute information of the third-party user is acquired.

Herein, when the terminal device detects that a third-party user requests adding the user as a friend, feature attribute information of the third-party user is acquired. The feature attribute information of the third-party user acquired may also include any one of or any combination of name, head portrait picture, phone number, and email address.

At step <NUM>, the feature attribute information of the third-party user is matched with the feature attribute information of each of the contacts in the contact list respectively.

For example, keyword matching, fuzzing matching etc. may be performed for the feature attribute information of the third-party user and the feature attribute information of each of the contacts in the contact list respectively, which is not limited by the present embodiment.

In the present embodiment, similarity matching may be performed for the feature attribute information of the third-party user and the feature attribute information of each of the contacts in the contact list respectively. When the feature attribute information includes any one of name, head portrait picture, phone number, and email address, similarity matching may be performed according to matching rules shown in Table <NUM>.

For example, when performing fuzzy matching for strings of the names, similarity of the names may be obtained by covering similar numbers and letters such as <NUM> (the number zero) and O (the upper case of letter o), <NUM> (the number one) and l (the lower case of letter L), and so on. Since a head portrait picture to be uploaded by a contact can be uploaded successfully only after the head portrait picture is cropped according to the size specified by the instant chat software, head portrait pictures of the contacts have the same resolution. Thus, an image fingerprint string of a head portrait picture may be calculated according to a perceptual hash algorithm (PHA). When performing fingerprint string matching for images of the head portrait pictures, matching may be performed for an image fingerprint string of a head portrait picture of the third-party user and an image fingerprint string of a head portrait picture of each of the contacts in the contact list respectively, so as to obtain similarity of the head portrait picture of the third-party user and the head portrait picture of each of the contacts in the contact list. When performing full matching for phone numbers or email addresses, the matching is considered successful only when a phone number or an email address of the third-party user is completely the same as any phone number or email address of any of the contacts in the contact list. For example, if complete matching is obtained, similarity is <NUM>%, otherwise the similarity is <NUM>.

It should be emphasized that performing similarity matching according to the above rules is only for exemplified description, and the present disclosure should not be limited thereto in practical applications. For example, the similarity of the head portrait picture of the third-party user and head portrait picture of each of the contacts in the contact list may also be obtained according to image template matching. Examples will not be enumerated herein.

It should be noted that, if the feature attribute information acquired includes at least two types of feature attribute information, similarity matching may be performed for each type of the feature attribute information of the third-party user and each type of the feature attribute information of each of the contacts in the contact list respectively, so as to obtain similarity with the feature attribute information of the contacts according to similarities of respective types of the feature attribute information. For example, if the feature attribute information acquired includes both name and head portrait picture, similarity matching is performed for the name of third-party user and the name of each of the contacts in the contact list respectively, and similarity matching is performed for the head portrait picture of third-party user and the head portrait picture of each of the contacts in the contact list respectively. Similarity of the third-party user and each of the contacts is obtained based on the similarity obtained by matching the names and the similarity obtained by matching the head portrait pictures. The similarity of the third-party user and each of the contacts may be obtained by averaging the similarity obtained by matching the names and the similarity obtained by matching the head portrait pictures, which is not limited herein.

In the present embodiment, weighting may be performed on the similarities of respective types of feature attribute information, and a sum of weighed similarities is regarded as the similarity with the feature attribute information of the contacts.

In an example, the feature attribute information acquired includes name, head portrait picture, phone number, and email address at the same time. Weights of name, head portrait picture, phone number, and email address are respectively P0, P1, P2, and P3, where P0+P1+P2+P3=<NUM>. If similarity of the name of the third-party user and the name of any contact in the contact list is N, similarity of the head portrait picture of the third-party user and the head portrait picture of this contact being P, similarity of the phone number of the third-party user and the phone number of this contact being T, similarity of the email address of the third-party user and the email address of this contact being M, similarity F of the feature attribute information of the third-party user and the feature attribute information of this contact may be obtained by the following formula: <MAT>.

At step <NUM>, if a matching result of the feature attribute information of the third-party user and the feature attribute information of any contact in the contact list satisfies a preset condition, first prompt information is added in a request interface received by the user.

The first prompt information is used for prompting the user to verify an identity of the third-party user.

Herein, when similarity matching is performed for the feature attribute information of the third-party user and the feature attribute information of each of the contacts in the contact list respectively, if the similarity of the feature attribute information of the third-party user and the feature attribute information of any contact in the contact list is larger than a predetermined threshold, first prompt information is added in a request interface received by this user. In other words, if the similarity of the feature attribute information of the third-party user and the feature attribute information of any contact in the contact list exceeds a predetermined threshold, it may be considered that the third-party user might be a fraudster who pretends to be this contact. Accordingly, the terminal device adds the first prompt information for prompting the user to verify an identity of the third-party user in a request interface sent, so as to prevent the user from being deceived to some extent. The predetermined threshold may be set as <NUM>, <NUM>, and so on, which is not limited by the present embodiment.

Preferably, when adding the first prompt information, information for prompting the user as to which specific contact the third-party user is highly similar to may be carried in the first prompt information. For example, information that the third-party user is highly similar to contact A may be carried. In this way, it is convenient for the user to verify the third-party user, and the user may also directly contact with contact A for verification, which can further improve security.

In addition, after the feature attribute information of the contacts in the contact list is acquired, the feature attribute information of the contacts in the contact list may be updated, so that the feature attribute information of the contacts in the contact list is up-to-date, which can improve accuracy of actively predicting the risk of a received friend-adding request. For example, the feature attribute information of the contacts in the contact list may be updated automatically when the terminal device detects that the user updates the contacts. Updating may also be performed according to a time interval preset by the user. For example, updating may be performed every other week. In practical applications, the user may set the updating time according to actual needs, which is not limited by the present embodiment.

Furthermore, it should be noted that, if a matching result of the feature attribute information of the third-party user and the feature attribute information of any contact in the contact list does not satisfy the preset condition, it is considered that it is unlikely that the third-party user pretends to be a contact of this user, and the request interface is sent normally. Since the above series of matching processes run in the background of the terminal device and the request interface is normally sent only when a present condition is not satisfied, a security precaution check is added, and the user experience is not affected.

It can be found easily that the authentication method based on the contact list provided in the present embodiment is applied to a terminal device, and the user rashly recognizing the third-party user as the friend that the third-party user pretends to be can be avoided, so as to improve security and effectively reduce network fraud.

A second embodiment of the present disclosure relates to an authentication method based on a contact list. The second embodiment provides a further improvement over the first embodiment in that before matching the feature attribute information of the third-party user with the feature attribute information of each of the contacts in the contact list respectively, whether an account of the third-party user is in an abnormal state is determined first. If the account of the third-party user is in the abnormal state, it can be determined directly that the account of the third-party user is not safe, and processing is performed according to a preset rule; or if the account of the third-party user is not in the abnormal state, the step of acquiring the feature attribute information of the third-party user is performed. In this way, efficiency of actively predicting the risk of a received friend-adding request can be improved.

The flowchart of the authentication method based on the contact list in the present embodiment is shown in <FIG>, and includes the following steps.

At step <NUM>, whether an account of the third-party user is in an abnormal state is determined. If the account of the third-party user is in the abnormal state, the method proceeds to step <NUM>; otherwise, the method proceeds to step <NUM>.

For example, the terminal device may acquire relevant account information of the third-party user from a server, and determines whether the account of the third-party user is in an abnormal state. If the terminal device detects that the account of the third-party user is marked as a fake account or a stolen account multiple times within a certain period (for example, the last <NUM>-<NUM> hours), or the account of the third-party user logs in at multiple locations within a certain period, it may be determined that the account of the third-party user is in the abnormal state and the method proceeds to step <NUM>. Otherwise, the method proceeds to step <NUM> of matching the feature attribute information of the third-party user with the feature attribute information of each of the contacts in the contact list respectively.

At step <NUM>, processing is performed according to a preset rule.

The preset rule for processing in the present embodiment may be adding second prompt information for characterizing abnormality of the account in a request interface received by the user, and may also be prohibiting popping-up of the request interface.

Herein, if the account of the third-party user is in the abnormal state, the terminal device adds second prompt information in a request interface, to inform that the third-party user is in the abnormal state, so that the user may carefully handle a friend-adding request sent by the third-party user. Alternatively, if the third-party user is in the abnormal state, the terminal device directly prohibits popping-up of the request interface for the user. That is, the user does not receive the friend-adding request sent by the third-party user. In this way, disturbing the user can be avoided.

In practical applications, if the terminal device detects that the account of the third-party user is in the abnormal state, a visual mark may also be provided for the third-party user, for example, adding a red exclamation mark prompt on the head portrait picture of the third-party user. Then, the terminal device uploads information in which the third-party user is marked to the server and sends an updating instruction to the server, so that head portrait pictures of the third-party user in friend lists including the third-party user are all updated to be a head portrait picture with the mark, for example, a head portrait picture with a red exclamation mark prompt. Further, a prompt message such as "the account of this user might be stolen, and please beware of fraud" may be added to all dialog windows with the third-party user. In this way, a user who has accepted the friend-adding request of the third-party user can be informed of that the account of the third-party user might be stolen and has risks, so as to warn the user who has accepted the friend-adding request of the third-party user and thereby further reduce network fraud.

Preferably, after processing is performed according to the preset rule, the terminal device may also send a request of identity verification to the third-party user via the server, and acquire relevant information about the identity verification of the third-party user via the server. Only when it is detected that the third-party user passes the identity verification, can the terminal device send an instruction of cancelling the abnormal state of the third-party user, so as to cancel the abnormal state of the third-party user.

Step <NUM> to step <NUM> and step <NUM> to step <NUM> in the present embodiment are substantively similar to step <NUM> to step <NUM> in the first embodiment, and aim to acquire the feature attribute information of the contacts in the contact list of the user. When it is detected that a third-party user requests adding a user as a friend, feature attribute information of the third-party user is acquired; the feature attribute information of the third-party user is matched with feature attribute information of each of the contacts in the contact list respectively; if a matching result of the feature attribute information of the third-party user and the feature attribute information of any contact in the contact list satisfies a preset condition, first prompt information for prompting the user to verify an identity of the third-party user is added in a request interface received by the user. Details are not repeated herein.

It can be found easily that the authentication method based on the contact list provided in the present embodiment is applied to a terminal device. Before matching the feature attribute information of the third-party user with the feature attribute information of each of the contacts in the contact list respectively, whether an account of the third-party user is in an abnormal state is determined first. If the account of the third-party user is in the abnormal state, it may be determined directly that the account of the third-party user is not safe, and processing is performed according to a preset rule; or if the account of the third-party user is not in the abnormal state, the step of acquiring the feature attribute information of the third-party user is performed. In this way, efficiency of actively predicting the risk of a received friend-adding request can be improved.

A third embodiment of the present disclosure relates to an authentication method based on a contact list. The third embodiment is substantively similar to the first embodiment, except that the authentication method based on the contact list in the first embodiment is applied to a terminal device, while the authentication method based on the contact list in the present embodiment is applied to a server.

Implementation details of the authentication method based on the contact list will be described below. The following content relates to implementation details provided only for better understanding, and is not essential for implementing the present solution.

The flowchart of the authentication method based on the contact list is shown in <FIG>, and includes the following steps.

For example, if user A and user B are a contact of each other. A server may acquire feature attribute information of the user B from a contact list of the user A. The server may also acquire feature attribute information of the user A from a contact list of the user B.

The feature attribute information in the present embodiment may include any one of or any combination of name, head portrait picture, phone number, and email address, and may also include region, gender, or the like, which is not limited by the present embodiment. Since these pieces of feature attribute information may be combined in any combination, the problem that determining a fraud account is performed based on a single factor can be solved, and accuracy of predicting the risk can be further improved. Additionally, the feature attribute information of the contacts in the contact list of the user can be acquired and stored when the server detects that the user registers an account of instant chat software or modifies the personal profile.

It is preferred that the feature attribute information of the contacts in the contact list of the user acquired is feature attribute information of all the contacts in the contact list. In this way, precision of a matching result can be improved. However, in practical applications, the user may perform setting via a terminal device, so that the server only serves to acquire feature attribute information of a predetermined number of contacts in the contact list. For example, feature attribute information of <NUM> contacts in the contact list may be acquired according to the setting.

Preferably, the user may voluntarily select contacts in the contact list for the server to acquire feature attribute information of the contacts selected by the user. Actually, among the contacts in the contact list of the user, the number of contacts who often contact the user is limited. Moreover, if a relatively unfamiliar contact sends a friend-adding request to the user, or if the relatively unfamiliar contact asks the user for money after the user accepts his/her friend-adding request, the user will generally be more alert. In addition, based on statistics, it is found that the fraudster normally pretends to be a relatively close friend of the user to carry out fraudulent activities. Accordingly, through voluntarily selecting contacts who often contact the user in the contact list by the user to enable the server only to acquire feature attribute information of the contacts who often contact the user, precision of the matching result can be further improved.

Herein, when the server detects that a third-party user requests adding the user as a friend, feature attribute information of the third-party user is acquired. The feature attribute information of the third-party user acquired may also include any one of or any combination of name, head portrait picture, phone number, and email address.

Herein, when similarity matching is performed for the feature attribute information of the third-party user and the feature attribute information of each of the contacts in the contact list respectively, if the similarity of the feature attribute information of the third-party user and the feature attribute information of any contact in the contact list is larger than a predetermined threshold, first prompt information is added in a request interface received by this user. In other words, if the similarity of the feature attribute information of the third-party user and the feature attribute information of any contact in the contact list exceeds a predetermined threshold, it may be considered that the third-party user might be a fraudster who pretends to be this contact. Accordingly, the server adds the first prompt information for prompting the user to verify an identity of the third-party user in a request interface sent, so as to prevent the user from being deceived to some extent. The predetermined threshold may be set as <NUM>, <NUM>, and so on, which is not limited by the present embodiment.

In addition, after the feature attribute information of the contacts in the contact list is acquired, the feature attribute information of the contacts in the contact list may be updated, so that the feature attribute information of the contacts in the contact list is up-to-date, which can improve accuracy of actively predicting the risk of a received friend-adding request. For example, when receiving an updating request from the terminal device, the server automatically updates the feature attribute information of the contacts in the contact list. Updating may also be performed according to a time interval preset by the user. For example, updating may be performed every other week. In practical applications, the user may set the updating time according to actual needs, which is not limited by the present embodiment.

Furthermore, it should be noted that, if a matching result of the feature attribute information of the third-party user and the feature attribute information of any contact in the contact list does not satisfy the preset condition, it is considered that it is unlikely that the third-party user pretends to be a contact of this user, and the request interface is sent normally. Since the above series of matching processes run in the server and the request interface is normally sent only when a present condition is not satisfied, a security precaution check is added, and the user experience is not affected.

It can be found easily that the authentication method based on the contact list provided in the present embodiment is applied to a server, and the user rashly recognizing the third-party user as the friend that the third-party user pretends to be can be avoided, so as to improve security and effectively reduce network fraud.

A fourth embodiment of the present disclosure relates to an authentication method based on a contact list. The fourth embodiment provides a further improvement over the third embodiment in that before matching the feature attribute information of the third-party user with the feature attribute information of each of the contacts in the contact list respectively, whether an account of the third-party user is in an abnormal state is determined first. If the account of the third-party user is in the abnormal state, it may be determined directly that the account of the third-party user is not safe, and processing is performed according to a preset rule; or if the account of the third-party user is not in the abnormal state, the step of acquiring the feature attribute information of the third-party user is performed. In this way, efficiency of actively predicting the risk of a received friend-adding request can be improved.

For example, the server may acquire relevant account information of the third-party user, and determines whether the account of the third-party user is in an abnormal state. If the server detects that the account of the third-party user is marked as a fake account or a stolen account multiple times within a certain period (for example, the last <NUM>-<NUM> hours), or the account of the third-party user logs in at multiple locations within a certain period, it may be determined that the account of the third-party user is in the abnormal state and the method proceeds to step <NUM>. Otherwise, the method proceeds to step <NUM> of matching the feature attribute information of the third-party user with the feature attribute information of each of the contacts in the contact list respectively.

Herein, if the account of the third-party user is in the abnormal state, the server adds second prompt information in a request interface, to inform that the third-party user is in the abnormal state, so that the user may carefully handle a friend-adding request sent by the third-party user. Alternatively, if the third-party user is in the abnormal state, the server directly prohibits sending the request to a terminal device so as to prohibit popping-up of the request interface for the user. That is, the user does not receive the friend-adding request sent by the third-party user. In this way, disturbing the user can be avoided.

In practical applications, if the server detects that the account of the third-party user is in the abnormal state, a visual mark may also be provided for the third-party user, for example, adding a red exclamation mark prompt on the head portrait picture of the third-party user. An updating instruction may be sent, so that head portrait pictures of the third-party user in friend lists including the third-party user are all updated to be a head portrait picture with the mark, for example, a head portrait picture with a red exclamation mark prompt. Further, a prompt message such as "the account of this user might be stolen, and please beware of fraud" may be added to all dialog windows with the third-party user. In this way, a user who has accepted the friend-adding request of the third-party user can be informed of that the account of the third-party user might be stolen and has risks, so as to warn the user who has accepted the friend-adding request of the third-party user and thereby further reduce network fraud.

Preferably, after processing is performed according to the preset rule, the server may also send a request of identity verification to the third-party user, and acquire relevant information about the identity verification of the third-party user. Only when it is detected that the third-party user passes the identity verification, can the server send an instruction of cancelling the abnormal state of the third-party user, so as to cancel the abnormal state of the third-party user.

Step <NUM> to step <NUM> and step <NUM> to step <NUM> in the present embodiment are substantively similar to step <NUM> to step <NUM> in the third embodiment, and aim to acquire the feature attribute information of the contacts in the contact list of the user. When it is detected that a third-party user requests adding a user as a friend, feature attribute information of the third-party user is acquired; the feature attribute information of the third-party user is matched with feature attribute information of each of the contacts in the contact list respectively; if a matching result of the feature attribute information of the third-party user and the feature attribute information of any contact in the contact list satisfies a preset condition, first prompt information for prompting the user to verify an identity of the third-party user is added in a request interface received by the user. Details are not repeated herein.

It can be found easily that the authentication method based on the contact list provided in the present embodiment is applied to a server. Before matching the feature attribute information of the third-party user with the feature attribute information of each of the contacts in the contact list respectively, whether an account of the third-party user is in an abnormal state is determined first. If the account of the third-party user is in the abnormal state, it may be determined directly that the account of the third-party user is not safe, and processing is performed according to a preset rule; or if the account of the third-party user is not in the abnormal state, the step of acquiring the feature attribute information of the third-party user is performed. In this way, efficiency of actively predicting the risk of a received friend-adding request can be improved.

The division of steps in the above methods is merely intended for clarity and conciseness. When implemented, some steps can be combined into a single step or a certain step can be further divided into multiple steps, as long as they can establish a corresponding logical relationship within the scope of the disclosure. Various modifications and suitable design changes to the algorithm or process, without changing its core design, can be included within the scope of the disclosure.

A fifth embodiment of the present disclosure relates to a terminal device, as shown in <FIG>. The terminal device includes at least one processor <NUM> and a memory <NUM> communicatively connected with the at least one processor <NUM>. The memory <NUM> stores instructions executable by the at least one processor <NUM>, which instructions when executed by the at least one processor <NUM>, cause the at least one processor <NUM> to implement the authentication method based on the contact list according to the first embodiment or the second embodiment.

The memory <NUM> and the processor <NUM> are connected via a bus. The bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processor <NUM> and the memory <NUM> together. The bus may also connect various other circuits such as peripherals, voltage regulators, and power management circuits together, which are well known in the art, and therefore will not be described any further herein. A bus interface is provided between the bus and a transceiver. The transceiver may be configured as a single element or multiple elements, for example, multiple receivers and transmitters. The transceiver provides a unit for communication with various other devices over a transmission medium. Data processed by the processor <NUM> is transmitted via an antenna over a wireless medium, and further the antenna receives data and transmits the data to the processor <NUM>.

The processor <NUM> is in charge of bus management and general processing, and may also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory <NUM> may be used to store data used by the processor <NUM> when performing operations.

A sixth embodiment of the present disclosure relates to a server, as shown in <FIG>. The server includes at least one processor <NUM> and a memory <NUM> communicatively connected with the at least one processor <NUM>. The memory <NUM> stores instructions that are executable by the at least one processor <NUM>, which instructions, when executed by the at least one processor <NUM>, causing the at least one processor <NUM> to implement the authentication method based on the contact list according to the third embodiment or the fourth embodiment.

A seventh embodiment of the present disclosure relates to a computer readable storage medium, which stores a computer program. The program, when executed by a processor, implements any one of the aforementioned method embodiments.

It may be understood by those skilled in the art that, all or part of steps in a method of the aforementioned embodiments may be realized by a program instructing related hardware. The program is stored in a storage medium, and includes several instructions for enabling a device (which may be a singlechip, a chip etc.) or a processor to implement all or part of steps in a method of various embodiments in the present application. The above storage medium includes USB disk, external hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other media that can store program codes.

Claim 1:
An authentication method based on a contact list, comprising:
acquiring feature attribute information of contacts in a contact list of a user;
acquiring, when it is detected that a third-party user requests adding the user as a friend, feature attribute information of the third-party user;
matching the feature attribute information of the third-party user with the feature attribute information of each of the contacts in the contact list respectively;
characterized by further comprising: adding first prompt information in a request interface received by the user, if a matching result of the feature attribute information of the third-party user and the feature attribute information of any contact in the contact list satisfies a preset condition, wherein the first prompt information is used for prompting the user to verify an identity of the third-party user; and
updating the feature attribute information of the contacts in the contact list of the user.