Abstract:
The present disclosure discloses a second-degree friend query method. The method includes storing a first-degree friend of each account, querying for the first-degree friend after receiving a second-degree friend query command, and query the first-degree friend to obtain a second-degree friend. A storage module stores the first-degree friend relationships. The second-degree friend is obtained through a query according to the first-degree friend in real time. The present disclosure further discloses a second-degree friend query apparatus and system corresponding to the foregoing method and a storage medium. The system includes a processing server and a storage server. The storage server stores a first-degree friend for each account, and queries for and returns the first-degree friend at the request of the processing server. The processing server controls an entire query procedure, and obtains a second-degree friend after twice queries. Further, because the processing server can manage multiple storage servers, obtaining a friend relationship chain of multiple types in one query command is supported.
Abstract:
The present disclosure discloses a second-degree friend query method. The method includes storing a first-degree friend of each account, querying for the first-degree friend after receiving a second-degree friend query command, and query the first-degree friend to obtain a second-degree friend. A storage module stores the first-degree friend relationships. The second-degree friend is obtained through a query according to the first-degree friend in real time. The present disclosure further discloses a second-degree friend query apparatus and system corresponding to the foregoing method and a storage medium. The system includes a processing server and a storage server. The storage server stores a first-degree friend for each account, and queries for and returns the first-degree friend at the request of the processing server. The processing server controls an entire query procedure, and obtains a second-degree friend after twice queries. Further, because the processing server can manage multiple storage servers, obtaining a friend relationship chain of multiple types in one query command is supported.
Abstract:
A method for presenting social network search results, includes: obtaining a keyword, and obtaining search results according to the keyword; obtaining a social attribute type; obtaining information corresponding to the social attribute type in the search results according to the social attribute type, and statistically analyzing the information according to the social attribute type to obtain an analysis result; presenting the analysis result according to the social attribute type. In addition, a device for presenting social network search results and a storage medium are also provided. The method and the device for presenting social network search results and the storage medium can make operations of a user more convenient.