CN107689909B - User display method and device - Google Patents

User display method and device Download PDF

Info

Publication number
CN107689909B
CN107689909B CN201610629070.2A CN201610629070A CN107689909B CN 107689909 B CN107689909 B CN 107689909B CN 201610629070 A CN201610629070 A CN 201610629070A CN 107689909 B CN107689909 B CN 107689909B
Authority
CN
China
Prior art keywords
user
target
position information
geographical position
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610629070.2A
Other languages
Chinese (zh)
Other versions
CN107689909A (en
Inventor
徐震宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610629070.2A priority Critical patent/CN107689909B/en
Publication of CN107689909A publication Critical patent/CN107689909A/en
Application granted granted Critical
Publication of CN107689909B publication Critical patent/CN107689909B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a user display method and device, and belongs to the technical field of internet. The method comprises the following steps: when the appointed operation of a first user on the terminal is detected, acquiring the geographical position information of the first user; acquiring geographic position information of at least one second user, wherein the second user is a user in a user relation chain of the first user; and displaying target users according to the geographical position information of the at least one second user and the geographical position information of the first user, wherein the target users are users located in a preset range of the first user in the at least one second user. According to the method and the device, the target users nearby the first user in the user relationship chain of the first user are displayed according to the geographical position information of the first user and the user relationship chain of the first user, so that the user can select any target user from the target users to perform social activities, and the efficiency of converting the displayed users into effective social users can be improved.

Description

User display method and device
Technical Field
The invention relates to the technical field of internet, in particular to a user display method and device.
Background
With the continuous development of internet technology, more and more services are provided to users by terminals through the internet, and functions are more and more improved, for example, a user may install an instant messaging APP (Application) in a terminal, register an account in the APP and log in, and establish a friend relationship chain with other users, thereby implementing instant messaging between users.
In addition, the APP also provides a function for acquiring nearby users, and when the function is started by a user, a plurality of nearby users are acquired and displayed according to the current geographic position information of the user.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
the nearby users displayed by the user display method are random users, the randomness is too strong, the users do not necessarily carry out social activities such as friend adding, chatting and the like according to the displayed random users, and the efficiency of converting the displayed users into effective social users is low.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a user display method and apparatus. The technical scheme is as follows:
in a first aspect, a user display method is provided, the method including:
when the appointed operation of a first user on the terminal is detected, acquiring the geographical position information of the first user;
acquiring geographic position information of at least one second user, wherein the second user is a user in a user relation chain of the first user;
and displaying target users according to the geographical position information of the at least one second user and the geographical position information of the first user, wherein the target users are users located in a preset range of the first user in the at least one second user.
In a second aspect, a user display method is provided, the method comprising:
receiving geographic position information of a first user and geographic position information of at least one second user sent by a terminal, wherein the second user is a user in a user relationship chain of the first user;
determining a target user according to the geographical position information of the first user and the geographical position information of the at least one second user, wherein the target user is a user in a preset range of the first user in the at least one second user;
and sending the target user to the terminal so as to display the target user on the terminal.
In a third aspect, a user display method is provided, the method comprising:
when the first operation is detected, sending a user acquisition request to a server, wherein the user acquisition request carries geographical position information of a first user;
receiving and displaying at least one third user returned by the server, wherein the at least one third user is a user within a preset range of the first user;
and when a second operation is detected, displaying a target user, wherein the target user is a user in the user relationship chain of the first user in the at least one third user, and the second operation is different from the first operation.
In a fourth aspect, a user display method is provided, the method comprising:
receiving a user acquisition request sent by a terminal, wherein the user acquisition request carries geographical position information of a first user;
acquiring and sending at least one third user to a terminal according to the geographical position information of the first user, wherein the at least one third user is a user within a preset range of the first user;
when a target user obtaining request is received, obtaining the target user from the at least one third user according to the user relation chain of the first user;
and sending the target user to the terminal so as to display the target user on the terminal.
In a fifth aspect, there is provided a user display apparatus, the apparatus comprising:
the acquisition module is used for acquiring the geographical position information of the first user when the appointed operation of the first user on the terminal is detected;
the acquisition module is further configured to acquire geographic location information of at least one second user, where the second user is a user in the user relationship chain of the first user;
and the display module is used for displaying a target user according to the geographical position information of the at least one second user and the geographical position information of the first user, wherein the target user is a user in a preset range of the first user in the at least one second user.
In a sixth aspect, there is provided a user display apparatus, the apparatus comprising:
the system comprises a receiving module, a judging module and a sending module, wherein the receiving module is used for receiving the geographical position information of a first user and the geographical position information of at least one second user which are sent by a terminal, and the second user is a user in a user relationship chain of the first user;
the determining module is used for determining a target user according to the geographical position information of the first user and the geographical position information of the at least one second user, wherein the target user is a user which is located within a preset range of the first user in the at least one second user;
and the sending module is used for sending the target user to the terminal so as to display the target user on the terminal.
In a seventh aspect, there is provided a user display apparatus, the apparatus comprising:
the sending module is used for sending a user acquisition request to the server when the first operation is detected, wherein the user acquisition request carries the geographical position information of the first user;
the receiving module is used for receiving and displaying at least one third user returned by the server, wherein the at least one third user is a user within a preset range of the first user;
a display module for displaying at least one third user returned by the server
The display module is further configured to display a target user when a second operation is detected, where the target user is a user in the user relationship chain of the first user among the at least one third user, and the second operation is different from the first operation.
In an eighth aspect, there is provided a user display apparatus, the apparatus comprising:
the receiving module is used for receiving a user acquisition request sent by a terminal, wherein the user acquisition request carries geographical position information of a first user;
the first obtaining module is used for obtaining at least one third user according to the geographical position information of the first user, wherein the at least one third user is a user within a preset range of the first user;
a sending module for sending at least one third user to the terminal
A second obtaining module, configured to obtain, when a target user obtaining request is received, the target user from the at least one third user according to the user relationship chain of the first user;
the sending module is further configured to send the target user to the terminal, so that the target user is displayed on the terminal.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
according to the geographical position information of the first user and the user relation chain of the first user, target users in the user relation chain of the first user near the first user are displayed, so that the user can pertinently select any target user from the displayed target users to perform social activities, and the efficiency of converting the displayed target users into effective social users can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a user display system according to an embodiment of the present invention;
FIG. 2A is a flow chart of a user display method according to an embodiment of the present invention;
FIG. 2B is a schematic diagram of a user display interface provided by an embodiment of the invention;
FIG. 2C is a schematic view of another user display interface provided by embodiments of the present invention;
FIG. 2D is a schematic diagram of yet another exemplary user interface provided by an embodiment of the present invention;
FIG. 3 is a flow chart of another user display method provided by embodiments of the present invention;
FIG. 4 is a block diagram of a user display device according to an embodiment of the present invention;
FIG. 5 is a block diagram of a user display device according to an embodiment of the present invention;
FIG. 6 is a block diagram of a user display device according to an embodiment of the present invention;
FIG. 7 is a block diagram of a user display device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal 800 according to an embodiment of the present invention;
fig. 9 is a block diagram of a user display device 900 according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a schematic structural diagram of a user display system according to an embodiment of the present invention, and as shown in fig. 1, the user display system shows a schematic structural diagram of an implementation environment according to an embodiment of the present invention, and includes: a server 101 and at least one terminal 102.
The terminal 102 is connected to the server 101 through a wireless or wired network, and the terminal 102 may be an electronic device such as a computer, a smart phone, and a tablet computer.
The server 101 may be an internet application server, which may provide background services for internet applications. The internet application is an application program for providing information interaction services such as voice, video, pictures and characters for the intelligent terminal, and has the advantages of being capable of sending the voice, the video, the pictures and the characters across communication operators and operating system platforms.
The internet application server may be configured as a server providing services through the internet, and the internet application server may be an instant messaging server, a social application server, or a server capable of implementing services such as payment through the internet.
Of course, the server 101 may also be other servers, such as a multimedia resource sharing server, and the type of the server is not particularly limited in the embodiment of the present invention.
Fig. 2A is a flowchart of a user display method according to an embodiment of the present invention, and referring to fig. 2A, the method includes:
201. the method comprises the steps that when the terminal detects the appointed operation of a first user on the terminal, the geographical position information of the first user is obtained.
The first user is a current user of the terminal, the specified operation may be a single click, a double click, a press or a slide operation on a specified function option, or a fingerprint trigger operation, or a shaking operation on the terminal, such as a "shaking-shaking" operation, or an operation in other manners, and the embodiment of the specified operation is not particularly limited; the designated function option is an option capable of implementing the user display function provided by the present invention.
When the terminal detects the designated operation, the method for acquiring the geographical location information of the first user may be: acquiring the geographical position information of the first user according to a positioning system in the terminal; the geographical location information of the first user may also be obtained by a method manually input by the user, and of course, the process of obtaining the geographical location information of the first user may also be implemented by other methods, which is not specifically limited in this embodiment of the present invention.
By acquiring the geographical position information of the first user, the terminal or the server can acquire the user to be displayed according to the geographical position information of the first user.
202. The terminal acquires the geographic position information of at least one second user, wherein the second user is a user in the user relation chain of the first user.
The user relationship chain refers to a one-way, two-way or multi-way relationship chain between users established by using a communication APP (Application) or a social network site as a link, such as a friend relationship chain established among a plurality of users in the communication APP or a relationship chain established among a plurality of users who pay attention to each other on a microblog.
The method for the terminal to obtain the geographical location information of the at least one second user may include the following three methods:
firstly, acquiring the geographical position information of the second user according to the state information issued by the second user. The state information refers to information published by a user on a communication APP or a social network site, and after receiving the state information published by the second user, the first user acquires the geographical position information of the second user carried in the state information.
It should be noted that, before the current user issues the state information, it may be selected whether to carry the current geographical location information of the user in the state information, so if the state information sent by the second user does not carry the geographical location information of the second user, the geographical location information of the second user may be obtained by using other methods, such as the following second and third methods, or by using other methods, which is not specifically limited in this embodiment of the present invention.
And secondly, acquiring the geographical position information of the second user according to the instant message between the second user and the first user. And in the process of information interaction between the second user and the first user, if the second user of the terminal sends the geographical position information of the second user to the first user as an instant message, the terminal directly acquires the geographical position information of the second user from the instant message.
It should be noted that the information interaction process may be performed on a communication APP, may also be performed in a webpage, or may be implemented in other online manners, which is not specifically limited in this embodiment of the present invention.
And thirdly, acquiring the geographical position information of the second user according to the geographical position information reported by the second user in real time. The method specifically comprises the following two conditions:
in the first case, when the second user enables the function of sharing the geographical location information in real time, the terminal corresponding to the second user sends the geographical location information of the second user to the server every preset time to achieve the purpose of sharing the geographical location information.
In a second situation, when the second user shares the geographical location information with the first user, the terminal of the second user sends the geographical location information of the second user to the terminal of the first user in real time, so that the first user can obtain the geographical location information of the second user in real time, and under the situation, the terminal directly obtains the geographical location information of the second user shared by the second user to the first user; it should be noted that, in the embodiment of the present invention, the specific setting method and the numerical value of the preset time duration in the two cases are not limited.
The process of acquiring the geographical location information of the at least one second user by the terminal may be implemented by any one of the three methods, or may be implemented by other methods, which is not specifically limited in this embodiment of the present invention.
By acquiring the geographical location information of the at least one second user, it can be realized that users located near the first user are determined from the at least one second user according to the geographical location information of the first user and the geographical location information of the at least one second user.
In another embodiment of the present invention, the at least one second user may be a user manually selected by the first user from the user relationship chain of the first user, and the specific implementation method may be: when the terminal detects the appointed operation of a first user on the terminal, all users in a user relationship chain of the first user are displayed, a preset position around the display position of each user displays candidate options, and when the triggering operation of the first user on any candidate option corresponding to any user in all users is detected, the user is acquired as the second user.
The first user is acquired as the at least one second user from the user relationship chain of the first user, the geographical position information of the user which the user wants to acquire can be acquired, the problem of low acquisition and display speed caused by acquiring the geographical position information of all users in the user relationship chain of the first user is avoided, and therefore the waiting time of the user is shortened.
After the geographical position information of the first user and the geographical position information of the at least one second user are obtained, a target user is displayed according to the geographical position information of the at least one second user and the geographical position information of the first user, wherein the target user is a user in a preset range of the first user in the at least one second user. It should be noted that the process of displaying the target user may be executed by the terminal alone, or may be implemented by the terminal interacting with the server, and when executed by the terminal, the occupation of bandwidth may be reduced, and if the terminal is in a non-WIFI (WIreless Fidelity) environment, the consumption of traffic may also be reduced; when the terminal and the server are interactively realized, the occupation of the memory of the terminal can be avoided, and the situation of card jamming caused under the condition that the memory of the terminal is insufficient can be further avoided.
In the embodiment of the present invention, taking the process of acquiring the target user as an example of the interactive implementation between the terminal and the server, the information display method provided by the present invention is described, which specifically includes the following steps 203 to 207.
203. And the terminal sends the geographical position information of the first user and the geographical position information of the at least one second user to the server, so that the server determines the target user from the at least one second user according to the geographical position information of the first user and the geographical position information of the at least one second user.
The process that the terminal sends the geographical position information of the first user and the geographical position information of the at least one second user to the server can be directly executed after the terminal acquires the geographical position information of the first user and the geographical position information of the at least one second user; the geographic location information may also be sent when a request for geographic location information sent by a server is received, specifically, when the terminal detects a specified operation of the first user on the terminal, the terminal sends a user acquisition request to the server, and after receiving the user acquisition request, the server sends the geographic location information request to the terminal, so that the terminal sends the geographic location information of the first user and the geographic location information of the at least one second user to the server.
It should be noted that, when the terminal detects that the first user performs the designated operation on the terminal, the process of the terminal acquiring the geographic location information of the first user and the geographic location information of the second user may be performed synchronously with the process of the terminal sending the user acquisition request to the server; or a user acquisition request can be sent to the server first, and then the geographical position information acquisition step is executed; or firstly executing the geographic position information acquisition step and then sending a user acquisition request to the server; the embodiment of the present invention is not particularly limited thereto.
204. And the server receives the geographical position information of the first user and the geographical position information of at least one second user, which are sent by the terminal.
The server receives the geographical position information of the first user and the geographical position information of the at least one second user, which are sent by the terminal.
205. And the server determines a target user according to the geographical position information of the first user and the geographical position information of the at least one second user, wherein the target user is a user which is positioned in a preset range of the first user in the at least one second user.
The users located in the first user preset range refer to users located in a circular area which takes the geographical position where the first user is located as the center of a circle and takes a preset numerical value as the radius; the preset value can be set by a developer, or can be modified by a user according to needs, or any value is selected from a plurality of alternative values to serve as the preset value.
The method for determining the target user may be: for any second user, calculating a straight-line distance between the first user and the second user according to the geographical position information of the second user and the geographical position information of the first user, and if the straight-line distance is smaller than the preset range, determining the second user as a target user; the target user may also be determined by calculating a travel distance between the first user and the second user, and the determination process of the target user may also be implemented by other methods.
206. The server sends the target user to the terminal so as to display the target user on the terminal.
The target user sent by the server to the terminal at least comprises the geographical location information, the head portrait, the nickname, the online state, the gender and the remark of the target user, so that the first user can know the detailed information of the target user.
207. And the terminal receives and displays the target user returned by the server.
After receiving the target user returned by the server, the terminal displays the target user on a terminal screen, and specifically, the method for displaying the target user includes the following three steps:
first, the target user is displayed in list form. As shown in fig. 2B, the terminal generates a display item for each target user to be displayed in the user display page; the display content in the display item may include information such as an avatar, a nickname, a gender, an online status, and a distance from the first user of the target user, and may further include other information such as a remark and a signature, which is not specifically limited in this embodiment of the present invention. The user display page comprises display items corresponding to a plurality of target users, and a user can check more target users by executing up-and-down sliding operation on the user display page.
It should be noted that, when the target users are displayed in the form of a list, the target users may be displayed in sequence from near to far according to the straight-line distance or the driving distance between each target account and the first user; in addition, the user display page may further provide a plurality of filtering conditions for the user to select, where the plurality of filtering conditions may be filtering according to an online status, filtering according to a gender, or other filtering conditions.
By displaying the target user in a list form, the displayed pages can be neat and ordered while the large amount of page information is ensured, and the target user can be conveniently checked by a user; by providing a plurality of filtering conditions on the user display page, users which the first user wants to find can be further filtered from the target users.
And secondly, generating display pages for each target user, wherein each display page is used for displaying one target user. As shown in fig. 2C, the content displayed on each display page may include an avatar, a nickname, a gender, an online status, geographical location information, a distance from the first user, and the like of the corresponding target user, and may also display latest status information and other information published by the corresponding target user, which is not limited in this embodiment of the present invention. The user can view the previous or next target user by performing a slide left or right operation on the display page.
By displaying a target user on a display page, the information integrity of the displayed target user can be ensured to the maximum extent, and meanwhile, the tidiness of the page can be ensured.
And thirdly, displaying the target user in a map form. As shown in fig. 2D, the corresponding target user is displayed at the corresponding position on the map according to the geographical location information of the first user and the geographical location information of the target user, and since the map itself has more information, only the head portrait of the target user or only the nickname of the target user may be displayed to avoid page confusion.
Specifically, the method for displaying the target user in the form of a map may be: acquiring a map area to be displayed, wherein the map area to be displayed takes the geographical position of the first user as a center and takes a preset length as a radius; and displaying the target user on the position corresponding to the geographical position information of the target user on the map area. The preset length can be manually set by a user, and the specific setting method can be that a numerical value manually input by the user is obtained, the numerical value is obtained as the preset length, or the preset length is obtained according to the size of a zoomed map area when the zoom operation of the user on the currently displayed map area is detected; of course, the preset length may also be set by other methods, which is not limited in the embodiment of the present invention. For example, in fig. 2D, a circle represents the avatar of the first user and a square represents the image of the target user.
The target users are displayed in a map form, so that the display effect can be more visual, and the users can quickly know the relative position relation between each target user and the user in the target users.
The terminal may display the target user in any one of the three manners, or may display the target user in other manners, which is not specifically limited in this embodiment of the present invention.
According to the user display method provided by the embodiment of the invention, the users located in the preset range of the first user are obtained and displayed according to the geographical position information of the first user and the geographical position information of at least one second user in the user relation chain of the first user, so that the displayed nearby users are the users in the user relation chain of the first user, the users can pertinently select any target user from the displayed target users to perform social activities, the efficiency of converting the displayed target user into an effective social user can be improved, and compared with the situation that the obtained users are random users, the user information leakage can be avoided, and the safety is improved; furthermore, the target users are displayed in a map form, so that the display effect can be more visual, and the users can quickly know the relative position relation between each target user and the users.
The user display method comprises the steps of firstly obtaining geographical position information of a first user and geographical position information of friends of the first user, namely at least one second user, and then displaying users located within a preset range of the first user, namely friends near the first user, according to the geographical position information of the first user and the geographical position information of the at least one second user; in another embodiment, at least one third user within the preset range of the first user may be obtained first, and then friends nearby the first user are obtained from the at least one third user and displayed according to the user relationship chain of the first user, as shown in fig. 3.
Fig. 3 is a flowchart of another user display method provided in an embodiment of the present invention, and referring to fig. 3, the method includes:
301. when detecting the first operation, the terminal sends a user acquisition request to the server, wherein the user acquisition request carries the geographical position information of the first user.
The first operation can be single-click, double-click or touch operation on a specified function option, wherein the specified function option is used for acquiring nearby users; for example, when detecting that the user clicks 'find' - 'person nearby', the terminal executes a step of sending the user acquisition request to the server; the user acquisition request carrying the geographical location information of the first user is used for acquiring users near the first user.
And sending a user acquisition request carrying the geographical position information of the first user to the server, so that the server can acquire the users near the first user according to the geographical position information of the first user.
302. And the server receives a user acquisition request sent by the terminal.
And the server receives a user acquisition request which is sent by the terminal and carries the geographical position information of the first user.
303. And the server acquires and sends at least one third user to the terminal according to the geographical position information of the first user, wherein the at least one third user is a user within a preset range of the first user.
The specific method for the server to acquire the at least one third user may be: the method comprises the steps of obtaining geographic position information of a plurality of users according to geographic position information uploaded by the users in real time, state information published by the users latest, or geographic position information sent in a user interaction process, calculating a straight line distance or a driving distance between the users and the first user according to the geographic position information of the users and the geographic position information of the first user, and obtaining a third user if the straight line distance or the driving distance is smaller than a preset range. The definition of the state information is the same as the definition of the state information in step 202, and the setting method of the preset range is the same as the setting method of the preset range in step 205, which are not described herein again.
304. And the terminal receives and displays at least one third user returned by the server.
The terminal receives at least one third user sent by the server and displays the at least one third user in a list form, and the specific display method is the same as the method for displaying the target user in the list form in step 507, which is not described herein again.
305. And the terminal displays or plays prompt information which is used for prompting the user to execute the second operation.
The second operation is an operation different from the first operation, for example, the second operation may be a shaking operation on the terminal, such as a "shake-shake" operation, and the second operation may also be another operation different from the first operation, which is not limited in the embodiment of the present invention. The prompt information at least includes a specific operation mode of the second operation, and may also include other information, such as a result after execution, which is not specifically limited in this embodiment of the present invention. For example, when the second operation is a "shake-and-shake" operation, the prompt message may be "please shake the mobile phone to obtain nearby friends".
If the user is prompted in a manner of displaying the prompt information, the method for displaying the prompt information may be: displaying in a pop-up window mode, displaying the countdown at the same time, and executing step 306 if the countdown is finished and the user is detected to execute the second operation; and ending if the user is not detected to execute the second operation before the countdown is ended. By displaying the prompt information in a popup window mode and counting down, the user can be prevented from being excessively interfered on the premise that the user knows how to acquire nearby friends.
If the user is prompted in a manner of playing the prompt message, the method for playing the prompt message may be: detecting the current working mode of the terminal, acquiring the volume corresponding to the current working mode, playing the prompt message according to the volume, and executing step 306 if detecting that the user executes the second operation; and if the user is not detected to execute the second operation, ending the operation. By playing the prompt information in a voice form, the effectiveness of prompting the user can be improved.
The method for prompting the user by displaying or playing the prompting information can also be as follows: and if the current working mode of the terminal is the mute mode, prompting the user in a mode of displaying prompt information, and if the current working mode of the terminal is the non-mute mode, acquiring the volume corresponding to the current working mode and playing the prompt information by the volume so as to prompt the user. The method can prompt the user, can achieve the purpose of prompting, and can avoid causing unnecessary interference to the user.
It should be noted that step 305 is an optional step, and may or may not be executed.
306. And when the terminal detects the second operation, displaying the target user, wherein the target user is the user in the user relationship chain of the first user in the at least one third user.
The definition of the user relationship chain is the same as the definition of the user relationship chain in step 202, and is not described herein again. And when the terminal detects the second operation, the terminal acquires and displays the target user from the at least one third user according to the user relation chain of the first user. The specific method for the terminal to acquire the target user may be as follows: and for any third user, detecting whether the user exists in the user relation chain of the first user, and if so, acquiring the third user as the target user.
After acquiring the target user, the terminal displays the target user, and the specific display method is the same as the method for displaying the target user in step 207, which is not described herein again.
It should be noted that, the step of obtaining the target user from the at least one third user according to the user relationship chain of the first user may be executed by the terminal, or may be executed by the server, and if the step of obtaining the target user from the at least one third user is executed by the server, the process of obtaining and displaying the target user by the terminal includes steps 3061 to 3064.
3061. And when detecting the second operation, the terminal sends a target user acquisition request to the server, so that the server acquires the target user from the at least one third user according to the user relationship chain of the first user.
The target obtaining request at least comprises a user identifier of the first user or a corresponding terminal identifier, so that the server can obtain the user relationship chain of the first user according to the user identifier or the terminal identifier, and further obtain the target user from the at least one third user according to the user relationship chain of the first user.
3062. And when receiving the target user acquisition request, the server acquires the target user from the at least one third user according to the user relationship chain of the first user.
The method for the server to obtain the target user is the same as the method for the terminal to obtain the target user, and details are not repeated here.
3063. The server sends the target user to the terminal so as to display the target user on the terminal.
The target user sent by the server to the terminal at least comprises the geographical location information, the head portrait, the nickname, the online state, the gender and the remark of the target user, so that the first user can know the detailed information of the target user.
3064. And the terminal receives and displays the target user returned by the server.
After receiving the target user returned by the server, the terminal displays the target user on a terminal screen, and the specific display method is the same as that in step 207, which is not described herein again.
According to the user display method provided by the embodiment of the invention, at least one third user in the preset range of the first user is obtained according to the geographical position information of the first user, and then the target user in the user relation chain of the first user is obtained from the at least one third user and displayed, so that the user can pertinently select any target user from the displayed target users to perform social activities, and the efficiency of converting the displayed target user into an effective social user can be improved; furthermore, the target users are displayed in a map form, so that the display effect can be more visual, and the users can quickly know the relative position relation between each target user and the users.
Fig. 4 is a block diagram of a user display device according to an embodiment of the present invention. Referring to fig. 4, the apparatus includes an acquisition module 401 and a display module 402.
An obtaining module 401, configured to obtain geographic location information of a first user when a specified operation of the first user on a terminal is detected;
the obtaining module 401 is further configured to obtain geographic location information of at least one second user, where the second user is a user in the user relationship chain of the first user;
a display module 402, configured to display a target user according to the geographic location information of the at least one second user and the geographic location information of the first user, where the target user is a user located within a preset range of the first user in the at least one second user.
In a first possible implementation manner provided by the present invention, the obtaining module 401 is configured to:
acquiring the geographical position information of the second user according to the state information issued by the second user; or the like, or, alternatively,
acquiring the geographical position information of the second user according to the instant message between the second user and the first user; or the like, or, alternatively,
and acquiring the geographical position information of the second user according to the geographical position information reported by the second user in real time.
In a second possible implementation manner provided by the present invention, the display module 402 includes:
a sending unit, configured to send the geographic location information of the first user and the geographic location information of the at least one second user to a server, so that the server determines the target user from the at least one second user according to the geographic location information of the first user and the geographic location information of the at least one second user;
a receiving unit, configured to receive the target user returned by the server;
and the display unit is used for displaying the target user returned by the server.
In a third possible implementation manner provided by the present invention, the display module 402 is configured to:
displaying the target user in a list form; or the like, or, alternatively,
generating display pages for each target user, wherein each display page is used for displaying one target user; or the like, or, alternatively,
displaying the target user in a map form.
In a fourth possible implementation manner provided by the present invention, the display module 402 includes:
the map display device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring a map area to be displayed, and the map area to be displayed takes the geographical position of the first user as a center and takes a preset length as a radius;
and the display unit is used for displaying the target user on the position corresponding to the geographical position information of the target user on the map area.
Fig. 5 is a block diagram of a user display device according to an embodiment of the present invention. Referring to fig. 5, the apparatus includes a receiving module 501, a determining module 502, and a transmitting module 503.
A receiving module 501, configured to receive geographic location information of a first user and geographic location information of at least one second user sent by a terminal, where the second user is a user in a user relationship chain of the first user;
a determining module 502, configured to determine a target user according to the geographic location information of the first user and the geographic location information of the at least one second user, where the target user is a user located within a preset range of the first user in the at least one second user;
a sending module 503, configured to send the target user to the terminal, so as to display the target user on the terminal.
Fig. 6 is a block diagram of a user display device according to an embodiment of the present invention. Referring to fig. 6, the apparatus includes a transmitting module 601, a receiving module 602, and a display module 603.
A sending module 601, configured to send a user acquisition request to a server when a first operation is detected, where the user acquisition request carries geographical location information of a first user;
a receiving module 602, configured to receive and display at least one third user returned by the server, where the at least one third user is a user within a preset range of the first user;
a display module 603 for displaying at least one third user returned by the server
The display module 603 is further configured to display a target user when a second operation is detected, where the target user is a user in the user relationship chain of the first user in the at least one third user, and the second operation is different from the first operation.
In a first possible implementation manner provided by the present invention, the display module 603 includes:
an obtaining unit, configured to obtain the target user from the at least one third user according to the user relationship chain of the first user;
and the display unit is used for displaying the target user.
In a second possible implementation manner provided by the present invention, the display module 603 includes:
a sending unit, configured to send a target user acquisition request to a server when the second operation is detected, so that the server acquires the target user from the at least one third user according to the user relationship chain of the first user;
a receiving unit, configured to receive the target user returned by the server;
and the display unit is used for displaying the target user returned by the server.
In a third possible implementation manner provided by the present invention, the display module 603 is further configured to display a prompt message, where the prompt message is used to prompt the user to execute the second operation; or the like, or, alternatively,
the device also comprises a voice playing module used for playing the prompt message.
In a fourth possible implementation manner provided by the present invention, the display module 603 is configured to:
displaying the target user in a list form; or the like, or, alternatively,
generating display pages for each target user, wherein each display page is used for displaying one target user; or the like, or, alternatively,
displaying the target user in a map form.
In a fifth possible implementation manner provided by the present invention, the display module 603 includes:
the map display device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring a map area to be displayed, and the map area to be displayed takes the geographical position of the first user as a center and takes a preset length as a radius;
and the display unit is used for displaying the target user on the position corresponding to the geographical position information of the target user on the map area.
In a sixth possible implementation manner provided by the present invention, the receiving module 602 is configured to receive geographic location information, a head portrait, a nickname, an online status, a gender, and a remark of each of the at least one third user; the display module 603 is configured to display the geographical location information, the avatar, the nickname, the online status, the gender, and the remark of each of the at least one third user.
Fig. 7 is a block diagram of a user display device according to an embodiment of the present invention. Referring to fig. 7, the apparatus includes a receiving module 701, a first obtaining module 702, a sending module 703 and a second obtaining module 704.
A receiving module 701, configured to receive a user acquisition request sent by a terminal, where the user acquisition request carries geographical location information of a first user;
a first obtaining module 702, configured to obtain at least one third user according to the geographical location information of the first user, where the at least one third user is a user within a preset range of the first user;
a sending module 703 for sending at least one third user to the terminal
A second obtaining module 704, configured to, when receiving a target user obtaining request, obtain the target user from the at least one third user according to the user relationship chain of the first user;
the sending module 703 is further configured to send the target user to the terminal, so as to display the target user on the terminal.
It should be noted that: in the user display device provided in the above embodiment, when the user display is performed, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the user display device and the user display method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
The present embodiment provides a terminal, which can be used to execute the user display method provided in the above embodiments. Referring to fig. 8, the terminal 800 includes:
the terminal 800 may include components such as an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a WiFi (Wireless Fidelity) module 170, a processor 180 including one or more processing cores, and a power supply 190. Those skilled in the art will appreciate that the terminal structure shown in fig. 8 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 800, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal 800, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 8, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The terminal 800 can also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or a backlight when the terminal 800 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the terminal 800, further description is omitted here.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and terminal 800. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the terminal 800.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 800 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 170, and provides wireless broadband internet access for the user. Although fig. 8 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the terminal 800, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal 800, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 800 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The terminal 800 further includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 180 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal 800 may further include a camera, a bluetooth module, etc., which will not be described herein. In this embodiment, the display unit of the terminal is a touch screen display, and the terminal further includes a memory and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for performing the operations described above.
Fig. 9 is a block diagram of a user display device 900 according to an embodiment of the present invention. For example, the apparatus 900 may be provided as a server. Referring to fig. 9, the apparatus 900 includes a processing component 922, which further includes one or more processors, and memory resources, represented by memory 932, for storing instructions, such as applications, that are executable by the processing component 922. The application programs stored in memory 932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 922 is configured to execute instructions to perform the above-described methods.
The device 900 may also include a power component 926 configured to perform power management of the device 900, a wired or wireless network interface 950 configured to connect the device 900 to a network, and an input output (I/O) interface 958. The device 900 may operate based on an operating system stored in the memory 932, such as Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (13)

1. A user display method is applied to a terminal, and comprises the following steps:
when the appointed operation of a first user on the terminal is detected, acquiring the geographical position information of the first user;
displaying all users in the user relationship chain of the first user, displaying candidate options at preset positions around the display position of each user, and acquiring the user as a second user when the triggering operation of the first user on the candidate options corresponding to any user in all users is detected;
acquiring the geographical location information of at least one second user according to instant messages between the at least one second user and the first user, wherein the process of information interaction between the second user and the first user is carried out in a communication application program or a webpage;
sending a user acquisition request to a server, and sending a geographical position information request to the terminal by the server after receiving the user acquisition request;
sending the geographical location information of the first user and the geographical location information of the at least one second user to the server, so that the server determines a target user from the at least one second user according to the geographical location information of the first user and the geographical location information of the at least one second user, wherein the target user is a user located within a preset range of the first user from the at least one second user;
receiving the target user returned by the server;
acquiring a map area to be displayed according to the geographical position information of the at least one second user and the geographical position information of the first user, wherein the map area takes the geographical position of the first user as a center and takes a preset length as a radius, and the preset length is acquired according to the size of the zoomed map area when the zooming operation on the currently displayed map area is detected;
and displaying the target user on the position corresponding to the geographical position information of the target user on the map area.
2. The method of claim 1, wherein after obtaining the geographical location information of the first user, the method further comprises:
acquiring the geographical position information of the second user according to the state information issued by the second user; or the like, or, alternatively,
and acquiring the geographical position information of the second user according to the geographical position information reported by the second user in real time.
3. A user display method is applied to a server, and comprises the following steps:
receiving geographic position information of a first user and geographic position information of at least one second user sent by a terminal, wherein the second user is a user manually selected by the first user in a user relationship chain;
determining a target user according to the geographical position information of the first user and the geographical position information of the at least one second user, wherein the target user is a user in a preset range of the first user in the at least one second user;
sending the target user to the terminal so as to display the target user on the terminal;
the terminal is used for acquiring the geographical position information of the first user when the appointed operation of the first user on the terminal is detected; displaying all users in the user relationship chain of the first user, displaying candidate options at preset positions around the display position of each user, and acquiring the user as a second user when the triggering operation of the first user on the candidate options corresponding to any user in all users is detected; acquiring the geographical position information of the at least one second user according to the instant message between the at least one second user and the first user, wherein the process of information interaction between the second user and the first user is carried out in a communication application program or a webpage; sending a user acquisition request to a server, and sending a geographical position information request to the terminal by the server after receiving the user acquisition request; sending the geographical location information of the first user and the geographical location information of the at least one second user to the server, so that the server determines the target user from the at least one second user according to the geographical location information of the first user and the geographical location information of the at least one second user; receiving the target user returned by the server; acquiring a map area to be displayed according to the geographical position information of the at least one second user and the geographical position information of the first user, wherein the map area takes the geographical position of the first user as a center and takes a preset length as a radius, and the preset length is acquired according to the size of the zoomed map area when the zooming operation on the currently displayed map area is detected; and displaying the target user on the position corresponding to the geographical position information of the target user on the map area.
4. A user display method is applied to a terminal, and comprises the following steps:
when the first operation is detected, sending a user acquisition request to a server, wherein the user acquisition request carries geographical position information of a first user;
receiving and displaying at least one third user returned by the server, wherein the at least one third user is a user within a preset range of the first user;
when a second operation is detected, sending a target user acquisition request to a server, so that the server acquires a first target user from the at least one third user according to a user relationship chain of the first user, wherein the first target user is a user of the at least one third user in the user relationship chain of the first user, and the second operation is different from the first operation;
receiving the first target user returned by the server;
displaying the first target users, displaying candidate options at preset positions around the display position of each user, and acquiring the first target user as a second target user when the triggering operation of the first user on the candidate option corresponding to any first target user is detected;
acquiring a map area to be displayed, wherein the map area takes the geographical position of the first user as a center and takes a preset length as a radius, and the preset length is acquired according to the size of the zoomed map area when the zooming operation on the currently displayed map area is detected;
and displaying the second target user on the position corresponding to the geographical position information of the second target user on the map area.
5. The method of claim 4, wherein before sending the target user acquisition request to the server upon detecting the second operation, the method further comprises:
and displaying or playing prompt information, wherein the prompt information is used for prompting the user to execute the second operation.
6. A user display method is applied to a server, and comprises the following steps:
receiving a user acquisition request sent by a terminal, wherein the user acquisition request carries geographical position information of a first user;
acquiring and sending at least one third user to a terminal according to the geographical position information of the first user, wherein the at least one third user is a user within a preset range of the first user;
when a target user obtaining request is received, obtaining a first target user from the at least one third user according to the user relationship chain of the first user, wherein the first target user is a user in the user relationship chain of the first user in the at least one third user;
sending the first target user to the terminal to display the first target user on the terminal, displaying candidate options at preset positions around each user display position, acquiring the first target user as a second target user when detecting the triggering operation of the first user on the candidate options corresponding to any first target user, acquiring a map area to be displayed, wherein the map area to be displayed is acquired by taking the geographical position of the first user as the center and taking a preset length as the radius, the preset length is acquired according to the size of the zoomed map area when detecting the zooming operation on the currently displayed map area, and the second target user is displayed on the map area at a position corresponding to the geographical position information of the second target user.
7. A user display device, the device comprising:
the acquisition module is used for acquiring the geographical position information of the first user when the appointed operation of the first user on the terminal is detected;
the display module comprises a sending unit, a receiving unit, an obtaining unit and a display unit;
the display unit is used for displaying all users in the user relationship chain of the first user, and displaying candidate options at preset positions around the display position of each user;
the acquiring unit is used for acquiring the first user as a second user when the triggering operation of the first user on the candidate option corresponding to any user in all the users is detected;
the acquisition module is further used for acquiring the geographical location information of at least one second user according to the instant message between the at least one second user and the first user, wherein the process of information interaction between the second user and the first user is carried out in a communication application program or a webpage;
the sending unit is used for sending a user acquisition request to a server, and the server sends a geographical position information request to the terminal after receiving the user acquisition request;
the sending unit is further configured to send the geographic location information of the first user and the geographic location information of the at least one second user to the server, so that the server determines a target user from the at least one second user according to the geographic location information of the first user and the geographic location information of the at least one second user, where the target user is a user located within a preset range of the first user from the at least one second user;
the receiving unit is used for receiving the target user returned by the server;
the obtaining unit is further configured to obtain a map area to be displayed according to the geographic location information of the at least one second user and the geographic location information of the first user, where the map area is centered on the geographic location of the first user and has a preset length as a radius, and the preset length is obtained according to the size of the zoomed map area when a zoom operation on the currently displayed map area is detected;
the display unit is further configured to display the target user on a position corresponding to the geographical position information of the target user on the map area.
8. A user display device, the device comprising:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving the geographical position information of a first user and the geographical position information of at least one second user which are sent by a terminal, and the second user is a user manually selected by the first user in a user relationship chain;
the determining module is used for determining a target user according to the geographical position information of the first user and the geographical position information of the at least one second user, wherein the target user is a user which is located within a preset range of the first user in the at least one second user;
the sending module is used for sending the target user to the terminal so as to display the target user on the terminal;
the terminal is used for acquiring the geographical position information of the first user when the appointed operation of the first user on the terminal is detected; displaying all users in the user relationship chain of the first user, displaying candidate options at preset positions around the display position of each user, and acquiring the user as a second user when the triggering operation of the first user on the candidate options corresponding to any user in all users is detected; acquiring the geographical position information of the at least one second user according to the instant message between the at least one second user and the first user, wherein the process of information interaction between the second user and the first user is carried out in a communication application program or a webpage; sending a user acquisition request to a server, and sending a geographical position information request to the terminal by the server after receiving the user acquisition request; sending the geographical location information of the first user and the geographical location information of the at least one second user to the server, so that the server determines the target user from the at least one second user according to the geographical location information of the first user and the geographical location information of the at least one second user; receiving the target user returned by the server; acquiring a map area to be displayed according to the geographical position information of the at least one second user and the geographical position information of the first user, wherein the map area takes the geographical position of the first user as a center and takes a preset length as a radius, and the preset length is acquired according to the size of the zoomed map area when the zooming operation on the currently displayed map area is detected; and displaying the target user on the position corresponding to the geographical position information of the target user on the map area.
9. A user display device, the device comprising:
the sending module is used for sending a user acquisition request to the server when the first operation is detected, wherein the user acquisition request carries the geographical position information of the first user;
the receiving module is used for receiving and displaying at least one third user returned by the server, wherein the at least one third user is a user within a preset range of the first user;
the sending module is further configured to send a target user acquisition request to a server when a second operation is detected, so that the server acquires a first target user from the at least one third user according to a user relationship chain of the first user, where the first target user is a user of the at least one third user in the user relationship chain of the first user, and the second operation is different from the first operation;
the receiving module is further configured to receive the first target user returned by the server;
the display module comprises an acquisition unit and a display unit;
the display unit is used for displaying the first target user and displaying candidate options at preset positions around the display position of each user;
the acquiring unit is used for acquiring the first target user as a second target user when the triggering operation of the first user on the candidate option corresponding to any first target user is detected;
the obtaining unit is further configured to obtain a map area to be displayed, where the map area takes the geographic position of the first user as a center and takes a preset length as a radius, and the preset length is obtained according to the size of the zoomed map area when a zoom operation on the currently displayed map area is detected;
the display unit is further configured to display the second target user on a position corresponding to the geographic position information of the second target user on the map area.
10. The apparatus of claim 9, wherein the display module is further configured to display a prompt message, and the prompt message is used to prompt a user to perform the second operation; or the like, or, alternatively,
the device also comprises a voice playing module used for playing the prompt message.
11. A user display device, the device comprising:
the receiving module is used for receiving a user acquisition request sent by a terminal, wherein the user acquisition request carries geographical position information of a first user;
the first obtaining module is used for obtaining at least one third user according to the geographical position information of the first user, wherein the at least one third user is a user within a preset range of the first user;
a sending module for sending at least one third user to the terminal
A second obtaining module, configured to obtain, when a target user obtaining request is received, a first target user from the at least one third user according to the user relationship chain of the first user, where the first target user is a user in the user relationship chain of the first user among the at least one third user;
the sending module is further configured to send the first target user to the terminal, so that the first target user is displayed on the terminal, candidate options are displayed at preset positions around each user display position, when a trigger operation of the first user on a candidate option corresponding to any one first target user is detected, the first target user is acquired as a second target user, a map area to be displayed is acquired, the map area to be displayed is centered on the geographic position of the first user, a preset length is taken as a radius, the preset length is acquired according to the size of the zoomed map area when a zoom operation on the currently displayed map area is detected, and the second target user is displayed on a position, corresponding to the geographic position information of the second target user, on the map area.
12. A terminal comprising one or more memories and one or more processors, the one or more memories having stored therein at least one program code, the at least one program code loaded and executed by the one or more processors to implement operations performed by the user display method of any one of claims 1-6.
13. A computer-readable storage medium having stored therein at least one program code, the at least one program code being loaded into and executed by a processor to perform operations performed by the user display method of any one of claims 1 to 6.
CN201610629070.2A 2016-08-03 2016-08-03 User display method and device Active CN107689909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610629070.2A CN107689909B (en) 2016-08-03 2016-08-03 User display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610629070.2A CN107689909B (en) 2016-08-03 2016-08-03 User display method and device

Publications (2)

Publication Number Publication Date
CN107689909A CN107689909A (en) 2018-02-13
CN107689909B true CN107689909B (en) 2020-12-11

Family

ID=61151344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610629070.2A Active CN107689909B (en) 2016-08-03 2016-08-03 User display method and device

Country Status (1)

Country Link
CN (1) CN107689909B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114861083A (en) * 2022-03-19 2022-08-05 北京达佳互联信息技术有限公司 Map display method, device, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102695121A (en) * 2011-03-25 2012-09-26 北京千橡网景科技发展有限公司 Method and system for pushing friend information for user in social network
CN102752708A (en) * 2011-04-20 2012-10-24 曹晓刚 Parallel friend recommendation system and method capable of serving on basis of geographic positions
CN103096242A (en) * 2011-11-03 2013-05-08 腾讯科技(深圳)有限公司 User recommendation method and system based on location based services
CN103905976A (en) * 2012-12-26 2014-07-02 腾讯科技(深圳)有限公司 Social network user searching method, terminal, server and system
CN104468679A (en) * 2013-09-24 2015-03-25 腾讯科技(深圳)有限公司 Geographic position sharing method and system and terminals
US9288122B1 (en) * 2012-03-15 2016-03-15 Google Inc. Providing recommendations to users in a social network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102695121A (en) * 2011-03-25 2012-09-26 北京千橡网景科技发展有限公司 Method and system for pushing friend information for user in social network
CN102752708A (en) * 2011-04-20 2012-10-24 曹晓刚 Parallel friend recommendation system and method capable of serving on basis of geographic positions
CN103096242A (en) * 2011-11-03 2013-05-08 腾讯科技(深圳)有限公司 User recommendation method and system based on location based services
US9288122B1 (en) * 2012-03-15 2016-03-15 Google Inc. Providing recommendations to users in a social network
CN103905976A (en) * 2012-12-26 2014-07-02 腾讯科技(深圳)有限公司 Social network user searching method, terminal, server and system
CN104468679A (en) * 2013-09-24 2015-03-25 腾讯科技(深圳)有限公司 Geographic position sharing method and system and terminals

Also Published As

Publication number Publication date
CN107689909A (en) 2018-02-13

Similar Documents

Publication Publication Date Title
US11449955B2 (en) Information processing method and apparatus
US10834237B2 (en) Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform
US10635449B2 (en) Method and apparatus for running game client
JP6467526B2 (en) Communication message transmission method and wearable device
WO2016169465A1 (en) Method, apparatus and system for displaying screen information
CN104519485B (en) Communication means, device and system between a kind of terminal
CN105740291B (en) Map interface display method and device
CN106973330B (en) Screen live broadcasting method, device and system
TWI520043B (en) Method, device and moving terminal for examining messages
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN106254910B (en) Method and device for recording image
CN106656743B (en) Message display method, device and system
CN108834132B (en) Data transmission method and equipment and related medium product
US10636228B2 (en) Method, device, and system for processing vehicle diagnosis and information
CN113038434B (en) Device registration method and device, mobile terminal and storage medium
CN106020945B (en) Shortcut item adding method and device
CN106302101B (en) Message reminding method, terminal and server
CN105721282B (en) Message display method and device
CN112749074A (en) Test case recommendation method and device
CN107622234B (en) Method and device for displaying budding face gift
CN107689909B (en) User display method and device
CN108234275B (en) Method and device for releasing communication information
CN106791037B (en) Operation triggering method and system, mobile terminal and electromagnetic field generating equipment
WO2013185574A1 (en) Method, terminal, location server, and system for acquiring location description information
CN109451295A (en) A kind of method and system obtaining virtual information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant