OA17050A - Method, system and device for searching a user in a social network. - Google Patents

Method, system and device for searching a user in a social network. Download PDF

Info

Publication number
OA17050A
OA17050A OA1201400358 OA17050A OA 17050 A OA17050 A OA 17050A OA 1201400358 OA1201400358 OA 1201400358 OA 17050 A OA17050 A OA 17050A
Authority
OA
OAPI
Prior art keywords
searching request
user
request information
client
piece
Prior art date
Application number
OA1201400358
Inventor
Yuehai CHEN
Kunfeng RONG
Junchao CHEN
Leteng WENG
Qianya Lin
Hongyang Wang
Original Assignee
Tencent Technology (Shenzhen) Company Limited
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 Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of OA17050A publication Critical patent/OA17050A/en

Links

Abstract

The present disclosure discloses a method, system and apparatus for searching for a user in a social network. A client obtains geographical position information of a user of the client after detecting that the user of the client transmits a searching command, and transmits a searching request to a server, wherein the searching request at least includes the obtained geographical position information of the user and a user identifier of the user. The server receives the searching request, stores a piece of searching request information, wherein the piece of the searching request information at least includes the geographical position information and the user identifier carried in the searching request received and receiving time when the searching request is received, determines whether there is a piece of searching request information satisfying a requirement in various pieces of searching request information previously stored, and returns information related with a user corresponding to the piece of the searching request information satisfying the requirement to the client if there is the piece of the searching request information satisfying the requirement, wherein the piece of the searching request information satisfying the requirement meets the following condition: a time interval between receiving time in the piece of .the searching request information satisfying the requirement and the receiving time when the searching request transmitted from the client is received is less than a first threshold. By using the technical solution of the present disclosure, validity of a searching result can be improved.

Description

METHOD, SYSTEM AND DEVICE FOR SEARCHING A USER IN A SOCIAL NETWORK Field of the Invention
The présent disdosure relates to an internet technology, and particularly to a method, System and apparatus for searching for a user in a sodal network.
Background of the Invention
In an existing social network, a user can search for users to be required, such as the users in an adjacent région of the user, according to geographical position information the user.
In particular, when a user X is to search for users In an adjacent région of the user X, the user X may transmit a searching command to a client of the user X, such as a mobile terminal. After receiving the searching command transmitted from the user X, the client obtains geographical position information of the user X, and transmits a searching request to a server, wherein the searching request cames information, such as the geographical position information, a user identifier of the user X, etc. The server can store the information that Is referred as searching request information and is contaïned in the received searching request and can détermine whether searching request information previously stored inciudes searching request information satlsfying requirements, wherein the searching request information satisfying the requirements meets the foliowlng conditions: a distance between the user corresponding to the searching request information determined according to the geographical position information in the received searching request and the user X is less than a predetermlned threshold. If the searching request information previously stored satisfies the above requirements, relative information of the user corresponding to the searching request information satisfying the requirements is retumed to the client of the user X.
The relative information may include a user identifier, Personal basic information and a distance between the user corresponding the relative information and the user X, wherein the Personal basic information generally Inciudes the information recorded when the user registers to a network, such as an âge, a sex, a career, a city, etc.. The Personal basic information is stored in the server. The server may search for the corresponding Personal basic information through the user identifier.
After receiving the relative information of the users from the server, the client may présent the relative Information to the user X. And the user X may select an interesting user, and transmit a message to communicate with the interesting user via the client.
In a practical application, the user X may transmit searching requests to the server through the client more than once, and ail the searching requests may carry information Including the geographical position information and the user identifier, etc. For the user X, the server only stores the geographical position information and the like carried in the searching request latest received. That is, the server may respectiveiy update the previously received geographical position information and the like by the currently received geographical position information and the like.
However, in the practical application, provided that user Y is previously at location A, and transmits a searching request, and the geographical position information of the user Y in the searching request information stored In the server is the geographical position information when the user Y is at a location A. Thereafter, the user Y moves to a location B for some reasons, and does not yet transmit a searching request Thus, when the user X transmits a searching request, the server will détermine whether the user Y is in the adjacent région of the user X according to the geographical position information previously stored when the user Y is at the location A. if yes, the server will retums the relative information of the user Y to the user X. However, in actual, at this time, the user Y has aiready moved to the location B which may be quite far away from the user X. Since the user X only is interesting in users in the adjacent région of the user X, the relative information of the user Y retumed from the server is Invalid for the user X.
Summarv of the Invention
In view of the above, a method, a System and an apparatus for searching for a user in a social network is provided according to examples of the présent disclosure in order to improve vaiidity of the look up resuit.
In one aspect, a method for searching for a user in a social network includes:
obtaining, by a client, geographical position information of a user of the client after detecting that the user of the client transmits a searching command, and transmitting a searching request to a server, wherein the searching request at least includes the obtaîned geographical position information of the user and a user identifier of the user;
receiving, by the server, the searching request, storing a piece of searching request information, wherein the piece of the searching request Information at least includes the geographical position information and the user identifier carried in the searching request received and receiving time when the searching request is received, determining whether there is at least one piece of searching request information satisfying a requirement in various pièces of searching request information previously stored, and retuming information reiated with at least one user respectiveiy corresponding to the at least one piece of the searching request information satisfying the requirement to the client if there is the at least one piece of the searching request information satisfying the requirement;
wherein for each piece of the searching request information satisfying the requirement in the at least one piece of the searching request Information satisfying the requirement, the piece of the searching request information satisfying the requirement meets the following condition: a time interval between receiving time in the piece of the searching request information satisfying the requirement and the receiving time when the searching request transmitted from the client is received is less than a first threshold.
A System for searching for a user in a social network Includes:
a client, configured to obtain geographical position information of a user of the client after detecting that the user of the client transmits a searching command, transmit a searching request at least carrying the obtained geographical position information of the user and a user identifier of the user to a server, receive information that Is related with at least one user and is retumed by the server; and the server, configured to receive the searching request, store a piece of searching request information, wherein the piece of the searching request Information at least includes the geographical position information and the user identifier carried in the searching request received and receiving time when the searching request is received, détermine whether there is at least one piece of searching request information satisfying a requirement in various pièces of searching request Information previously stored, and retum the information related with at least one user respectively corresponding to the at least one piece of the searching request information satisfying the requirement to the client if there is the at least one piece of the searching request information satisfying the requirement, wherein for each piece of the searching request information satisfying the requirement in the at least one piece of the searching request information satisfying the requirement, the piece of the searching request information satisfying the requirement meets the following condition: a time interval between receiving time in the piece of the searching request Information satisfying the requirement and the receiving time when the searching request transmitted from the client is received is less than a first threshold.
A client includes:
a transmitting module, configured to obtain geographical position information of a user of the client after detecting that the user of the client transmits a searching command, transmit a searching request at least carrying the obtained geographical position information of the user and a user identifier of the user to a server; and a receiving module, configured to receive information that Is related with a user and is retumed by the server.
A server includes:
a storing module, configured to store a piece of searching request information, wherein the piece of the searching request Information at least Includes geographical position information and a user identifier carried In a searching request received and receiving time when the searching request Is received, the searching request is transmitted to the server after the client detects that the user of the client transmits the searching command, and the geographical position information is obtained after the client detected that the user of the client transmits the searching command; and a processing module, configured to détermine whether there is at least one searching request information satisfying a requirement in various pièces of searching request information previously stored, and retum information related with at least one user respectively corresponding to the at least one piece of the searching request Information satisfying the requirement to the client if there is the at least one piece of the searching request information satisfying the requirement, wherein for each piece of the searching request information satisfying the requirement in the at least one piece of the searching request information satisfying the requirement, the piece of the searching request information satisfying the requirement meets the following condition: a time interval between receiving time in the piece of searching request information satisfying the requirement and the receiving time when the searching request transmitted from the client is received is less than a first threshold.
It can be seen, by using the technical solution of the présent disclosure, in the process of searching for a user, If a time interval between a time point when the user transmits its geographical position information and the current time point is great, it should consider that the user has changed its geographical position, and thus the user will not be Included In a searching resuit, thereby improving validity of the searching resuit
Brief Description of Drawings
FIG. 1 is a flowchart illustrating a method for searching for a user in a social network according to an example of the présent disclosure.
FIG. 2 is a schematic diagram illustrating a structure of a System for searching for a user in a social network according to an example of the présent disclosure.
Detaiied Description of the Invention
In terms of the technical problème in the prior art, a technical solution for searching for a user in a social network is provided according to an example of the présent disclosure.
In order to make the object, technical solution and merits of the présent disclosure clearer, the présent disclosure will be illustrated in detail hereinafter with reference to the accompanying drawings and spécifie examples.
FIG. 1 Is a flowchart iilustrating a method for searching for a user In a social network according to an example of the présent disclosure. As shown in FIG. 1, the method indudes the procedure as follows.
At block 11, after detecting that its operator, I.e. a user (referred as “user X In the présent disclosure) transmits a searching command, a client obtains geographicai position Information of the user X, and transmits to a server a searching request carrying the obtained geographicai position information and a user Identifier of the user X.
The client may be a smart phone, a tablet computer, and so on, and the présent disclosure does not make any limitation.
In a practicai application, according to hardware configuration of the client, the client may adopt various ways to detect whether the user X transmits the searching command. In an example, for the client having a built-ln sensor, such as a gravity sensor, a built-in gyroscope, a built-in accelerometer, the user X may transmit the searching command by shaking the client. As such, the client may detect that the user X transmits the searching command by detecting that the user X shakes the client. For the client not having the sensor, the client may receive the searching command from the user X through an icon configured on an interactive interface, a designated touch button configured or a command inputted via audio control. In an exampie, the user X clicks the icon configured on the interactive interface to transmit the searching command, the client receives the click Inputted by the user X, that is, the client receives the searching command transmitted by the userX.
Thereafter, the client obtains the geographicai position information (I.e. longitude and latitude Information) of the user of the client. A method for obtaining geographicai position information Is similar with those in the conventional technology. In an example, a Global Positioning System (GPS) function may be used to obtain the geographicai position Information of the user of the client. In another example, a cell identifier (cell ID) of a base station to which the client belongs may be used to obtain the geographicai position information of the user of the client. In another example, a Media Access Control (MAC) address of a Wireless Fidelity (WiFi) access point with which the client is connected may be used to obtain the geographicai position information of the user of the client.
After the geographicai position information of the user of the client Is obtained, the client may add the geographicai position information and other information such as a user Identifier of the user X Into the searching request and send the searching request to the server. A method for obtaining the user Identifier of the user X is similar with that in a conventional technology.
At block 12, the server stores a piece of searching request information.
The stored piece of searching request Information at least Includes the Information, such as the geographical position information, the user Identifier and the like included in the received searching request, as well as receiving time when the searching request is received.
At block 13, the server détermines whether there is a piece of searching request information satisfying a requirement in various pièces of searching request information previously stored. if yes, the information related with the user corresponding to the piece of the searching request information satisfying the requirement is retumed to the client, wherein the piece of the searching request information satisfying the requirements may meet the following conditions: a time intervai between receiving time in the piece of the searching request information satisfying the requirement and the receiving time when the searching request transmitted from the client is received is less than a first threshold.
ln addition, in considération of a case that the user X prefers to make a friend with a user In an adjacent région, the above mentioned piece of the searching request information satisfying the requirements may meet a condition as follows: the time interval between the receiving time in the piece of the searching request information satisfying the requirement and the receiving time when the searching request transmitted from the client is received is less than the first threshold, and a distance between the user corresponding to the searching request information satisfying the requirement and the user X is less than a second threshold, wherein the distance Is determined according to geographical position Information ln the piece of the searching request information satisfying the requirement.
At biocks 12 and 13, after receiving the searching request transmitted from the client, the server stores the piece of the searching request information. The stored piece of the searching request information at least Includes the information, such as the geographical position information, the user identifier and the like, contained in the received searching request, and the receiving time when the searching request Is received (i.e. the current time when the searching request is received).
Thereafter, the server détermines whether there is the piece of the searching request information satisfying the requirement in various pièces of the previously stored searching request information (which are pièces of searching request Information other than the piece of the searching request information corresponding to the searching request transmitted from the client), if there is the piece of the searching request Information satisfying the requirement, the information reiated with the user corresponding to the piece of the searching request Information satisfying the requirement is retumed to the client. The information related with the user may Include a user identifier, Personal basic Information, a distance between the user and the user X, and so on.
ln an example, the server may traverse the various pièces of the searching request Information previously stored, and for each piece of the searching request information prevîousiy stored, if the distance between the receiving time of the piece of the searching request information and the receiving time when the searching request transmitted from the client is received is iess than the first threshold and the distance between the user corresponding to the piece of the searching request information and the user of the client is less than the second threshold, it may consider that the piece of the searching request information meets the requlrement, wherein the distance Is determined according to geographical position information in the searching request Information.
The values of the first threshold and the second threshold may be determined as required. For example, the first threshold may be 1 minute, and the second threshold may be 1000 meters.
If the number of pièces of the searching request information satisfying the requirement is more than M, that is, the number of usera respectively corresponding to the piece of the searching request information satisfying the requirement to be retumed to the client is more than Μ, M pièces of the searching request information may be selected, and the information related with the usera respectively corresponding to the selected M pièces of the searching request information is retumed to the client, wherein M is an integer more than 1, and the value can be determined as required, such as 20. During the process of selecting the M pièces of the searching request information, one or ail of the following principles may be followed: a piece of the searching request information satisfying the requirement is preferred to be selected if there are more same items between the Personal basic information of a user corresponding to the piece of the searching request information satisfying the requirement and the peraonal basic Information of the user X; a piece of the searching request information is preferred to be selected if there are more identical items between the peraonal basic information of a user corresponding to the piece of the searching request information satisfying the requirement and features of a historically successful friend of the user X.
The peraonal basic Information may be the information recorded when the user registere to a network, such as an âge, a sex, a career, a city, etc., and is stored in the server. The server may search for the corresponding peraonal basic information through the user identifier.
In an example, provided that a user A has the same career and is at the same city with the user X, while a user B only has the same career with the user X, then the user A is preferred to be selected.
In another example, by analyzing features of a historically successful friend (for example, the user X and the friend are mutually added into an address list on WeChat) of the user X, it is determined that the user X préféra to make friends with the usera of which âge group, which kind of career, in which city, and so on. If the âge, career and the city of a user C respectively satisfy a feature of the historically successful friend of the user X, while only the âge of user D satisfies a feature of the hïstorically successful friend of the user X, the user C is preferred to be selected.
At block 13, if ail the pièces of the searching request information previously stored does not satisfy the requirement, the server détermines that there is no piece of the searching request information satisfying the requirement, wherein a piece of searching request information not satisfying the requirement may include: a piece of searching request information receiving time of which does not satisfy the requirement while the distance of which satisfies the requirement, a piece of searching request information the receiving time of which satisfies the requirement while the distance of which does not satisfy the requirement, and a piece of searching request information both the received time and the distance of which do not satisfy the requirement. The piece of the searching request information receiving time of which does not satisfy the requirement may be a piece of searching request information that a time înterval between the receiving time in the piece of the searching request Information and the receiving time when the searching request transmitted by the client is received is no îess than the first threshold. The piece of the searching request information the distance of which does not satisfy the requirement may be a piece of searching request information that the distance between the user corresponding to the piece of the searching request information and the user X is no less than the second threshold, wherein the distance is determined according to the geographicaî position information in the piece of the searching request information.
If the server détermines that there is no piece of the searching request information satisfying the requirement, i.e., ail pièces of the searching request Information previously stored do not satisfy the requirement, content retumed to the client by the server may be empty. Altematively, if there is the piece of the searching request information the receiving of which satisfies the requirement while the distance of which does not satisfy the requirement, the information related with a user corresponding to the searching request information may be retumed to the client. Moreover, if the number of users to be retumed to the client is more than Μ, M users may be selected therefrom, and information related with the selected M users may be retumed to the client. When selecting the M users, one or ail of the following principes may be followed: a piece of the searching request information satisfying the requirement is preferred to be selected if there are more same items between the Personal basic information of a user corresponding to the piece of the searching request information satisfying the requirement and the personal basic information of the user X; a piece of the searching request information is preferred to be selected if there are more Identical items between the personal basic information of a user corresponding to the piece of the searching request information satisfying the requirement and features of a historicaliy successful friend of the user X.
After receiving the Information related with the users retumed by the server, the client may présent them to the user X, thereafter, the user X may select an Interesting user from the presented usera, and transmits a message to the interesting user through the client In order to communicate with the interesting user.
In a practical application, the user X may transmit searching requests to the server through the client more than once at different times. When transmitting a searching request each time, the searching request may carry information, e.g., geographical position information, a user identifier, etc. For the user X, the server only stores the geographical position information and the like carried in the latest received searching request.
In addition, when a piece of searching request information including information in the searching request transmitted by the client has been stored in the server for a time period more than the first threshold, the server may delete the piece of the searching request information so as to make protection of privacy of the user X, e.g., the geographical position better and to save storage space of the server.
As such, the method example of the présent disclosure is completed.
Based on the above description, FIG. 2 Is a schematic dlagram illustrating a structure of a System for searching for a user in a social network according to an example of the présent disclosure. As shown in FIG. 2, the System may include:
a client 21, configured to obtain geographical position information of a user X after detecting that the user transmits a searching command, transmit a searching request at least carrying the obtained geographical position information and a user identifier of the user X to a server 22, receive information that is related with at least one user and Is retumed by the server 22; and the server 22, configured to receive the searching request, store a piece of searching request information, wherein the piece of the searching request information at least includes the geographical position information and the user identifier carried in the searching request received and receiving time when the searching request is received, détermine whether there is at least one piece of searching request information satisfying a requirement In various pièces of searching request information previously stored, and retum the information related with at least one user respectively corresponding to the at least one piece of the searching request information satisfying the requirement to the client 21 If there is the at least one piece of the searching request information satisfying the requirement, wherein for each piece of the searching request information satisfying the requirement in the at least one piece of the searching request information satisfying the requirement, the piece of the searching request information satisfying the requirement meets the foliowing condition: a time interval between receiving time in the piece of the searching request information satisfying the requirement and the receiving time when the searching request transmitted from the client is received is less than a first threshold.
For each piece of the searching request Information satisfying the requirement in the at least one piece of the searching request information satisfying the requirement, the piece of the searching request information satisfying the requirement further meets the following condition: a distance between the user correspondîng to the piece of the searching request information satisfying the requirement and the user X of the client is less than a second threshold, wherein the distance is determined according to geographical position information in the piece of the searching request information satisfying the requirement.
The client terminal 21 may Inciude:
a transmitting module 211, configured to obtain geographical position information of a user X of the client 21 after detecting that the user X of the client 21 transmits a searching command, transmit a searching request at least carrying the obtained geographical position information of the user and a user identifier of the user to a server 22; and a receiving module 212, configured to receive information that is related with a user searched out and Is retumed by the server 22.
The transmitting module is further configured to detect that the user of the client transmits the searching command if it is detected that the user X shakes the client 21; or the transmitting module is further to detect that the user of the client transmits the searching command If an input from the user X is detected.
The server 22 may inciude:
a storing module 221, configured to store a piece of searching request information, wherein the piece of the searching request information at least includes geographical position Information and a user identifier carried In a searching request received and receiving time when the searching request Is received, the searching request is transmitted to the server after the client 21 detects that the user X of the client transmits the searching command, and the geographical position information is obtained after the client detects that the user of the client transmits the searching command; and a processing module 222, configured to détermine whether there is at least one searching request information satisfying a requirement In various pièces of searching request information previously stored, and retum information related with at least one user respectively correspondîng to the at least one piece of the searching request information satisfying the requirement to the client 21 if there Is the at ieast one piece of the searching request information satisfying the requirement, wherein for each piece of the searching request information satisfying the requirement in the at least one piece of the searching request information satisfying the requirement, the piece of the searching request information satisfying the requirement meets the following condition: a time interval between receiving time in the plece of searching request information satisfying the requirement and the receiving time when the searching request transmitted from the client Is received Is less than a first threshold.
For each plece of the searching request information satisfying the requirement ln the at least one plece of the searching request Information satisfying the requirement, the plece of the searching request Information satisfying the requirement further meets the following condition: a distance between the user corresponding to the plece of the searching request information satisfying the requirement and the user of the client Is less than a second threshold, wherein the distance Is determined according to geographical position Information ln the piece of the searching request information satisfying the requirement.
The processing module 222 Is further configured to if the number of the at least one piece of the searching request Information satisfying the requirement is more than M, Le., the number of users that respectively correspond to the at ieast one pièces of the searching request information and are retumed to the client 21 is more than M, seiecting M pièces of the searching request information, and returning the information related with users respectively corresponding to the selected M pièces of the searching request information to the client, wherein M is an integer more than 1;
During the process of seiecting the M pièces of the searching request information one or ail of the following principes are followed: a piece of searching request information satisfying the requirement is preferred to be selected if there are more Identical Items between the Personal baslc information of users corresponding to the M pièces of the searching request Information satisfying the requirement and the personal basic information of the user X; a piece of the searching request information Is preferred to be selected if there are more identical Items between the personal baslc information of users corresponding to the M pièces of the searching request Information satisfying the requirement and features of a historically successful friend of the user X.
The processing module 222 Is further configured to delete a piece of searching request Information that has been stored in the server for a time period that Is more than the first threshold.
The spécial flow of the system example shown ln FIG. 2 may refer to the corresponding description of the method example shown ln FIG. 1, and will not described ln detail any more.
From the above description of the example, those skilied ln the art may clearly appreciate that the above example may be achieved by using software together with a necessary generally used hardware platform, or by using hardware, and in many cases, the former is a preferred implémentation. Based on this, the technical solution may be essentially embodied in a software product form or the part of the technical solution making contribution to the prior art may be embodied In a software product form, and the computer software product may be stored In a storage medium, and Includes several Instructions to make a computer device (may be a Personal computer, a server or a network device, etc.) to perform the method described in the above examples.
Those skilled In the art may understand that the modules In the apparatus of the above example may be distributed In the apparatus of the example, or may be located In one or more apparatus In other examples with corresponding modifications. The modules in the above example may be combined Into one module, or may be further divided into multiple submodules.
Based on the technical solution provided in the above exampie, this disclosure also proposes a machine-readable storage medium adapted to store instructions which enable a machine to perform the method for searching for a user in a social network as described herein. Specifically, a system or apparatus configured with a storage medium may be provided, the software program codes for achievlng fonctions described In any one of the above examples are stored on the storage medium, and the computer (or CPU or MPU) of the system or apparatus is enabled to read and execute the program codes stored In the storage medium.
In such a case, the program codes itself read from the storage medium may achieve the function of any one of the above examples, thus the program codes and the storage medium storing the program codes are consist of a part of the technical solution for achieving the above method for searching for a user In a social network.
An example of the storage medium storing the program codes includes a Fioppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW and DVD+RW), a magnetic tape, a nonvolatile memory card and a ROM. Altematively, a communication network may be used to download the program codes from a computer of a server.
In addition, it should be noted that, the fonctions of any one of the above examples not only may be achieved by executing the program codes read by the computer, but also may be achieved by Instructing the operating system on the computer to complété a part or ail of the actual operations on the basis of the program codes.
In addition, it should understand that, the fonctions of any one of the above examples may be achieved by writing the program codes read by the computer into a storage configured In an extended plate Inserted Into the computer or Into a storage configured In an extended unit connected with the computer, and then instructing the CPU mounted on the extended plate or the extended unit to complété a part or ail of the actual operations on the basis of the program codes.
It can be seen, by using the technical solution of the présent disclosure, In the process of searching for a user, if a time interval between a time point when the user transmits Its geographical position Information and the current time point is great, it should consider that the user has changed its geographical position, and thus the user will not be included in a searching 5 resuit, thereby Improving validity of the searching resuit, Furthermore, the stored request may be deleted in time, thereby more efficlently protecting privacy of the user such as the geographical position and saving storage space of a server. Also, the technical solution of the présent disclosure is easy for implémentation and thus Is facilitate for popularization and promotion.
The foregoing is only preferred examples of the présent disclosure and is not used to limit the protection scope of the présent disclosure. Any modification, équivalent substitution and improvement without departing from the spirit and principle of the présent disclosure are within the protection scope of the présent disclosure.

Claims (16)

  1. Claims
    1. A method for searching for a user in a social network, comprising:
    detecting, by a client, that a user of the client transmits a searching command;
    obtaining, by the client, geographical position information of the user of the client;
    transmitting, by the client, a searching request to a server, wherein the searching request at least comprises the obtained geographical position information of the user and a user Identifier of the user; and receiving, by the client, information that is related with the user and Is retumed by the server.
  2. 2. The method of claim 1, wherein detecting that the user of the client transmits the searching command comprises:
    detecting, by the client, that the user of the client transmits the searching command if it is detected that the user of the client shakes the client; or detecting, by the client, that the user of the client transmits the searching command if an input operation from the user is detected.
  3. 3. A method for searching for a user in a social network, comprising:
    receiving, by a server, a searching request from a client;
    storing, by the server, a piece of searching request information, wherein the piece of the searching request information at least Indudes geographical position information and a user Identifier carried In the searching request received and receiving time when the searching request is received;
    determining, by the server, whether there is at least one piece of searching request Information satisfying a requlrement in various pièces of searching request Information previously stored; and retuming, by the server, information related with at least one user respectively corresponding to the at least one piece of the searching request information satisfying the requirement to the client if there is the at least one piece of the searching request Information satisfÿing the requirement, wherein (or each piece of the searching request Information satisfying the requirement In the at least one piece of the searching request information satisfying the requirement, the piece of the searching request information satisfying the requirement meets the following condition: a time interval between receiving time In the piece of the searching request Information satisfying the requirement and the receiving time when the searching request transmitted from the client is received is less than a first threshold.
  4. 4. The method of claim 3, wherein the piece of the searching request information satisfying the requirement further meets the following condition:
    a distance between a user corresponding to the piece of the searching request information satisfying the requirement and the user of the client Is iess than a second threshold, wherein the distance is determined according to geographical position information in the piece of the searching request Information satisfying the requirement.
  5. 5. The method of claim 3 or 4, wherein the information related with the user corresponding to the piece of the searching request information that satisfies the requirement and is retumed to the client comprises: a user identifier, Personal basic Information and the distance between the user corresponding to the piece of the searching request information satisfying the requirement and the user of the client.
  6. 6. The method of claim 5, further comprising:
    if the number of the at least one piece of the searching request Information satisfying the requirement is more than M, selecting M pièces of the searching request information satisfying the requirement, and retuming the information related with users respectively corresponding to the selected M pièces of the searching request Information to the client, wherein M is an Integer more than 1.
  7. 7. The method of claim 6, wherein the process of selecting the M pièces of the searching request information follows one or ail of the following principies: the M pièces of the searching request information satisfying the requirement are selected If there are more identical items between the personai basic information of the usera corresponding to the M pièces of the searching request information satisfying the requirement and the personai basic information of the user of the client; the M pièces of the searching request information are selected if there are more identical items between the personai basic Information of the usera corresponding to the M pièces of the searching request information satisfying the requirement and features of a historically successful friend of the user of the client.
  8. 8. The method of claim 3 or 4, further comprising:
    deleting, by the server, a piece of searching request information that has been stored In the server for a time period that Is more than the first threshold.
  9. 9. A System for searching for a user In a social network, comprising:
    a client, configured to detect that the user of the client transmits a searching command, obtain geographical position Information of a user of the client, transmit a searching request at ieast carrying the obtained geographical position information of the user and a user identifier of the user to a server, receive Information that is related with at least one user and is retumed by the server; and the server, configured to receive the searching request, store a piece of searching request information, wherein the piece of the searching request information at least includes the geographical position information and the user identifier carried in the searching request received and receiving time when the searching request is received, détermine whether there is at least one piece of searching request Information satisfying a requirement in various pièces of searching request information previously stored, and retum the information related with at least one user respectively conesponding to the at least one piece of the searching request information satisfying the requirement to the client if there is the at least one piece of the searching request information satisfying the requirement, wherein for each piece of the searching request information satisfying the requirement in the at least one piece of the searching request information satisfying the requirement, the piece of the searching request information satisfying the requirement meets the following condition: a time interval between receiving time in the piece of the searching request information satisfying the requirement and the receiving time when the searching request transmitted from the client is received is less than a first threshold.
  10. 10. The System of claim 9, wherein the piece of the searching request information satisfying the requirement further meets the following condition:
    a distance between the user conesponding to the piece of the searching request information satisfying the requirement and the user of the client is less than a second threshold, wherein the distance is determined according to geographical position information in the piece of the searching request information satisfying the requirement.
  11. 11. A client, comprising:
    a transmitting module, configured to after detecting that the user of the client transmlts a searching command, obtain geographical position information of a user of the client, transmit a searching request at least carrying the obtained geographical position information of the user and a user identifier of the user to a server; and a receiving module, configured to receive information that is related with a user and is retumed by the server.
  12. 12. The client of claim 11, wherein the transmitting module is further configured to detect that the user of the client transmlts the searching command if it Is detected that the user of the client shakes the client; or detect that the user of the client transmits the searching command if an input operation from the user is detected.
  13. 13. A server, comprising:
    a storing module, configured to store a pièce of searching request information, wherein the piece of the searching request information at least includes geographlcal position Information and a user Identifier carried In a searching request received and receiving time when the searching request is received, the searching request is transmitted to the server after the client detects that the user of the client transmits the searching command, and the geographlcal position Information Is obtained after the client detected that the user of the client transmits the searching command; and a processing module, configured to détermine whether there is at least one searching request information satisfying a requirement in various pièces of searching request Information previously stored, and return information related with at least one user respectively corresponding to the at least one piece of the searching request information satisfying the requirement to the client If there is the at least one piece of the searching request information satisfying the requirement, wherein for each piece of the searching request information satisfying the requirement ln the at least one piece of the searching request Information satisfying the requirement, the piece of the searching request information satisfying the requirement meets the following condition: a time interval between receiving time ln the piece of searching request Information satisfying the requirement and the receiving time when the searching request transmitted from the client Is received is less than a first threshold.
  14. 14. The server of claim 13, wherein the piece of the searching request information satisfying the requirement further meets the following condition:
    a distance between the user corresponding to the piece of the searching request information satisfying the requirement and the user of the client Is less than a second threshold, wherein the distance Is determined according to geographlcal position Information ln the piece of the searching request information satisfying the requirement.
  15. 15. The server of claim 13 or 14, wherein the processing module is further configured to if the number of the at least one piece of the searching request information satisfying the requirement Is more than M, select M pièces of the searching request information, and return the information related with usera respectively corresponding to the selected M pièces of the searching request Information to the client, wherein M Is an Integer more than 1;
    wherein the process of selecting the M pièces of the searching request Information follows one or ail of the following princlples: the M pièces of the searching request information satisfying the requirement are selected if there are more identical items between the personal basic information of usera corresponding to the M pièces of the searching request information satisfying the requirement and the personal basic Information of the user of the client; the M pièces of the searching request information is selected If there are more identical items between the personal basic information of usera corresponding to the M pièces of the searching request
    Information satisfying the requirement and features of a historically successful friend of the user of the client.
  16. 16. The server of claim 13 or 14, wherein the processing module is further configured to delete a piece of searching request information that has been stored In the server for a time 5 period that Is more than the first threshold.
OA1201400358 2012-02-10 2013-02-01 Method, system and device for searching a user in a social network. OA17050A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210029646.3 2012-02-10

Publications (1)

Publication Number Publication Date
OA17050A true OA17050A (en) 2016-03-04

Family

ID=

Similar Documents

Publication Publication Date Title
US10282477B2 (en) Method, system and apparatus for searching for user in social network
KR101871794B1 (en) Personal geofence
EP2767125B1 (en) Power-aware tiered geofencing and beacon watchlists
US8665154B2 (en) Modeling and location inference based on ordered beacon sets
US8874594B2 (en) Search with my location history
US20160057572A1 (en) Geo-fencing notifications subscriptions
CN104253740B (en) Picture is registered method, Apparatus and system
US20160212583A9 (en) Battery-saving in geo-fence context method and system
US20140074871A1 (en) Device, Method and Computer-Readable Medium For Recognizing Places
US20170017928A1 (en) Inferring physical meeting location
US20120282945A1 (en) Privacy preservation platform
US10237679B2 (en) Method, apparatus, and computer program product for location sharing
CN103955772A (en) Method and system for forming group through geographic positions and carrying out material submitting
EP2706496A1 (en) Device, method and computer-readable medium for recognizing places in a text
US9807214B2 (en) Temporary contacts
EP2891343B1 (en) Efficient proximity detection
CN105072169A (en) Intelligent information display system of culture exhibition hall
US9094788B2 (en) Centralized data store for providing all place-related data to applications on a mobile device
OA17050A (en) Method, system and device for searching a user in a social network.
US10506365B1 (en) Power efficient dynamic geofences
KR101391588B1 (en) Information of address book service system, method and apparatus for information of address book service in the system
US20130095858A1 (en) Method and apparatus for providing service and service interface based on position
EP2693781A1 (en) Centralized Data Store For Providing All Place-Related Data To Applications On A Mobile Device