CN104731806B - A kind of method and terminal for quickly searching user information in social networks - Google Patents

A kind of method and terminal for quickly searching user information in social networks Download PDF

Info

Publication number
CN104731806B
CN104731806B CN201310712268.3A CN201310712268A CN104731806B CN 104731806 B CN104731806 B CN 104731806B CN 201310712268 A CN201310712268 A CN 201310712268A CN 104731806 B CN104731806 B CN 104731806B
Authority
CN
China
Prior art keywords
user
label
terminal
information
server
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
CN201310712268.3A
Other languages
Chinese (zh)
Other versions
CN104731806A (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 CN201310712268.3A priority Critical patent/CN104731806B/en
Publication of CN104731806A publication Critical patent/CN104731806A/en
Application granted granted Critical
Publication of CN104731806B publication Critical patent/CN104731806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of quickly to search the method and terminal of user information in social networks.Present invention method includes:Respond the label setting request of user, display label selection interface;The label selection operation of user is responded, the label of user's selection is preserved;If detecting, user searches the request of the user with same or similar label, sends the corresponding number of label to server so that server can utilize label is corresponding to number the information for searching the user for having same or similar label with user;The information for receiving the user with user with same or similar label of server feedback, according to the pre-set regular presentation of information by the user with user with same or similar label on display interface.

Description

A kind of method and terminal for quickly searching user information in social networks
Technical field
The present invention relates to field of communication technology more particularly to a kind of methods for quickly searching user information in social networks And terminal.
Background technology
The content under same topic, keyword when " topic " is exactly microblogging search are searched on microblogging, written form is Between keyword is placed on two " # " number, behind along with wanting the content write, such as # travels # with microblogging, and # walks in flower Marine # identifies keyword by " # " number, which can be described as keyword label, may search for the microblogging of Similar content.
However, the mode of keyword is written in keyword label, easily there are multiple similar themes so that user needs The theme for wanting search could be obtained by carrying out repeatedly search, will consume longer time, and waste the bandwidth resources of terminal.
Invention content
An embodiment of the present invention provides a kind of quickly to search the method and terminal of user information in social networks, by making With label, can effectively find the user that there is same or similar label with user, avoid lookup time of such user compared with It is long, save the bandwidth resources of terminal.
First aspect present invention provides a kind of method for quickly searching user information in social networks, and feature exists In, including:
Respond the label setting request of user, display label selection interface;
The label selection operation for responding the user preserves the label of user's selection;
If detecting, the user searches the request of the user with same or similar label, described in server transmission The corresponding number of label so that the server can utilize the corresponding number of the label to search with the user with identical Or the information of the user of close label;
The information for receiving the user with the user with same or similar label of the server feedback, according to advance The rule of setting has the described and user presentation of information of the user of same or similar label on display interface.
Second aspect of the present invention provides a kind of method for quickly searching user information in social networks, including:
If detecting, user searches the request of the user with same or similar label, and the user is sent to server The corresponding number of label being arranged so that the server can utilize the corresponding number of the label to search and the user The information of user with same or similar label;
The information for receiving the user with the user with same or similar label of the server feedback, according to advance The rule of setting has the described and user presentation of information of the user of same or similar label on display interface.
Third aspect present invention provides a kind of terminal, which is characterized in that including:
Request, display label selection interface is arranged in display unit, the label for responding user;
Storage unit, for responding the user's after showing the label selection interface in first display unit Label selection operation preserves the label of user's selection;
Transmission unit, if for detecting that the user searches the request of the user with same or similar label, to Server sends the corresponding number of the label so that the server can utilize the corresponding number lookup of the label and institute State the information of user of the user with same or similar label;
Receiving unit receives the server after sending the corresponding label of the label in the transmission unit The information of the user with the user with same or similar label of feedback, according to pre-set rule will it is described with it is described User has the presentation of information of the user of same or similar label on display interface.
Fourth aspect present invention provides a kind of terminal, including:
Data transmission unit, if for detecting that user searches the request of the user with same or similar label, to Server sends the corresponding number of label that the user has been arranged so that the server can utilize the label corresponding Number searches the information for the user for having same or similar label with the user;
Information receiving unit receives institute after sending the corresponding number of the label in the data transmission unit The information for stating the user with the user with same or similar label of server feedback, according to pre-set regular by institute The presentation of information for the user that there is same or similar label with the user is stated on display interface.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
The label setting request of terminal response user, display label selection interface, and respond the label selection behaviour of the user Make, preserve the label of user selection, user has asking for the user of same or similar label by label lookup if detecting It asks, then sends the corresponding number of the label to server so that server can utilize the corresponding number of label to find and be somebody's turn to do User has a user of same or similar label, and terminal having with the user of will receiving server feedback is same or similar The user of label, and being shown on display interface according to pre-set rule, is searched and user by way of label is arranged User with same or similar label can effectively shorten and search the time, save the bandwidth of terminal.
Description of the drawings
Fig. 1 is an a kind of signal of the method that user information is quickly searched in social networks in the embodiment of the present invention Figure;
Fig. 2 is the schematic diagram of the editing interface of the individualized signature of QQ in the embodiment of the present invention;
Fig. 3 is the schematic diagram of label selection interface in the embodiment of the present invention;
Fig. 4 is the schematic diagram that interface is arranged in the embodiment of the present invention;
Fig. 5 is the information for the user with user with same or similar label that display is found in the embodiment of the present invention The schematic diagram at interface;
Fig. 6 is a kind of another signal of method that quickly searching user information in social networks in the embodiment of the present invention Figure;
Fig. 7 is a kind of another signal of method that quickly searching user information in social networks in the embodiment of the present invention Figure;
Fig. 8 is a schematic diagram of the structure of terminal in the embodiment of the present invention;
Fig. 9 is another schematic diagram of the structure of terminal in the embodiment of the present invention;
Figure 10 is another schematic diagram of the structure of terminal in the embodiment of the present invention;
Figure 11 is another schematic diagram of the structure of terminal in the embodiment of the present invention.
Specific implementation mode
An embodiment of the present invention provides a kind of quickly to search the method and terminal of user information in social networks, by making With label, can effectively find the user that there is same or similar label with user, avoid lookup time of such user compared with It is long, save the bandwidth resources of terminal.
Referring to Fig. 1, for a kind of reality of method that quickly searching user information in social networks in the embodiment of the present invention Example is applied, including:
101, the label setting request of response user, display label selection interface;
In embodiments of the present invention, multiple application software can be installed in the terminal of user, for the application software of social class, Such as microblogging, QQ, wechat etc., user's editable state or signature, searched for the ease of user done with the user it is identical The user of thing, can be arranged label field on the editable interface of application software, and user can be by clicking the label field Into the setting interface of label, for a better understanding, referring to Fig. 2, the editing interface of the individualized signature for the QQ in terminal, The label field of " what does " is provided on the editing interface.
In embodiments of the present invention, user can start label setting function in using terminal, and terminal will respond user's Label setting request, display label selection interface, the technical solution in embodiment, please refers to figure in order to better understand the present invention 3, when to be application software be QQ, label selection interface.
102, the label selection operation of user is responded, the label of user's selection is preserved;
In embodiments of the present invention, after terminal display label selection interface, user can select boundary by clicking on label The label wanted is selected on face, and terminal will respond the label selection operation of user, preserve the label of user's selection.
It should be noted that in embodiments of the present invention, user goes back editable text content after selecting label, it should The content of text that the label of selection and user edit can be together as signature either content of microblog or the status information of user.
It should be noted that in embodiments of the present invention, after terminal preserves the label of user's selection, which is shown in On corresponding display interface, for a better understanding, referring to Fig. 4, being that user selects label for the setting interface after insomnia.
If 103, detecting, user searches the request of the user with same or similar label, and label is sent to server Corresponding number so that server can utilize the corresponding number of label to search the use for having same or similar label with user Family;
In embodiments of the present invention, user is after selecting and saving label, if terminal detects user, lookup has The request of the user of same or similar label, then terminal to server send the corresponding number of the label so that server can The information for the user that there is same or similar label with user is found using the corresponding number of the label.
In embodiments of the present invention, for user after preserving label, which is also synchronized to server simultaneously.
104, the information for receiving the user with user with same or similar label of server feedback, according to pre-setting Rule by with user have same or similar label user presentation of information on display interface.
In embodiments of the present invention, whois lookup to the user have same or similar label user information it Afterwards, with the user there is the information of the user of same or similar label to feed back to terminal by what this found, terminal will receive The information with user of the user with same or similar label of current request of server feedback, and according to pre-set rule Then by the presentation of information of the user with user with same or similar label on display interface.
In order to be better understood from the presentation of information with the user of user's label having the same on display interface, please refer to Fig. 5, to find by the label of user setting " insomnia " information for the user that there is same or similar label with user, i.e., What is found does the information of the people of identical thing with user.
In embodiments of the present invention, the label setting request of terminal response user, display label selection interface, and responding should The label selection operation of user, preserves the label of user selection, if detecting, user has identical or phase by label lookup The request of the user of nearly label, then send the corresponding number of the label to server so that server can utilize label to correspond to Number find the user that there is same or similar label with the user, and terminal will receive server feedback and the use Family has the user of same or similar label, and is shown on display interface according to pre-set rule, by the way that label is arranged Mode search with user have same or similar label user, can effectively shorten search the time, save the band of terminal It is wide.
Referring to Fig. 6, in the embodiment of the present invention, a kind of reality of method that quickly searching user information in social networks Example is applied, including:
601, the label setting request of response user, display label selection interface;
In embodiments of the present invention, multiple application software can be installed in the terminal of user, for the application software of social class, Such as microblogging, QQ, wechat etc., user's editable state or signature, searched for the ease of user done with the user it is identical The user of thing, can be arranged label field on the editable interface of application software, and user can be by clicking the label field Into the setting interface of label, for a better understanding, referring to Fig. 2, the editing interface of the individualized signature for the QQ in terminal, The label field of " what does " is provided on the editing interface.
In embodiments of the present invention, user can start label setting function in using terminal, and terminal will respond user's Label setting request, display label selection interface, the technical solution in embodiment, please refers to figure in order to better understand the present invention 3, when to be application software be QQ, label selection interface.
602, the label selection operation of user is responded, the mapping table between label and number, preservation and user are searched The label of selection has the number of mapping relations;
In embodiments of the present invention, after terminal display label selection interface, user can select boundary by clicking on label Label to be selected is selected on face, and terminal will respond the label selection operation of user, include editing by the label of selection On interface, and the mapping table between label and number is searched, preserves the volume that there are mapping relations with the label of user's selection Number.
In embodiments of the present invention, the application software of terminal has included reflecting between label and number when mounted Relation table is penetrated, the correspondence between label and number is contained in the mapping table, terminal can close by searching for the mapping It is the number that table determines the required preservation when preserving label.
In embodiments of the present invention, user can select level-one label when selecting label, can also select two level label, Wherein two level label is the specific label information of level-one label, such as:If label is " reading ", user can continue selection should The two level label of label " reading ", the book for selecting user specifically to read on the display interface of two level label, or by searching for Mode finds the book that user reads, in another example:If label is " watching movie ", user can continue to select the label " watching movie " Two level label, selects the film seen of user on the display interface of two level label, or by searching for mode search user and see Power supply.
It should be noted that in embodiments of the present invention, user goes back before preserving label or before selecting label Editable text content, the content of text that terminal edits record user, and user are searching the mapping between label and number After relation table determines that the label with user's selection has the label of mapping relations, it converts the number and content of text to mark Label, length, value(Tag, Length, Value are abbreviated as TLV)Message format preserves.
It should be noted that in embodiments of the present invention, in order to support to increase label field in editing interface, need by Plain text format originally is changed to structured format, and the data of structuring are serialized in a manner of TLV(Wherein T and L are uint8)While increasing structured message, in order to be compatible with plain text display logic forward, it is two classes that T, which is divided to,:Text T(T_ TXT)With attribute T(T_ATTR).
The definition of all text T is given below:
The definition of all properties T is given below:
TLV message formats in embodiment in order to better understand the present invention below turn specific content of text of introducing It is changed to the example of TLV message formats, if content of text is:It " watches movie《Chinese partner》, it is genuine good, in Tencent mansion, breathe out It breathes out!”.
Transforming relationship:
If 603, detecting, user searches the request of the user with same or similar label, starts the GPS of terminal, determines The GPS information of terminal;
In embodiments of the present invention, terminal, can be by clicking corresponding button on setting interface, and can start lookup has The function of the user of same or similar label, referring to Fig. 4, the button that user can click " people for doing identical thing " starts lookup Label is the user of " insomnia ".
In embodiments of the present invention, if terminal detects that user searches the request of the user with same or similar label, The global positioning system of terminal will be started(Global Positioning System, are abbreviated as GPS), determine the GPS letters of terminal Breath, wherein determine GPS information be in order to server can search in the user for belonging to the same area with the location of terminal with The user has the user of same or similar label.
604, the GPS information of the corresponding number of label and terminal is sent to server so that server can utilize label The GPS information of corresponding number and terminal searches the information for the user for having same or similar label with user;
In embodiments of the present invention, terminal will send the GPS information of the corresponding number of label and terminal to server, In, server will determine the range searched using GPS information, and search user in the range using the corresponding number of label The identical user of number for the label that the number of middle label is received with server or the volume of the label received using server Number determine and number that the label for the user for sending request is close label, you can determine with same or similar label User.
It should be noted that server also sends the time point of the GPS of the corresponding number of label and terminal using terminal Determine the time range searched, if such as time point is 10 AM, it is from 9 points in the morning to the morning ten to search time range Point is in the same area with user and has the user of same or similar label with the user.
It should be noted that in embodiments of the present invention, close label refers to that the label sent with terminal belongs to same The label of classification can pre-set the classification of label in server, such as:If the label that terminal is sent is to play soccer, the mark The similar label of label includes playing basketball, playing badminton etc., or can the number of all labels be divided into difference in advance Tag set, server receive terminal transmission label number after, the set belonging to the number of the label will be searched, Other labels in the set are then label similar in the label of terminal transmission.Such as:If the number for the label that terminal is sent is 5, and the number of the label belongs to tag set A, the number for the label for including in tag set A includes:4,5,40,25, then It can determine that the number of label similar in the label sent with terminal is 4,40,25.
605, the information for receiving the user with user with same or similar label of server feedback, according to pre-setting Rule by with user have same or similar label user presentation of information on display interface.
In embodiments of the present invention, terminal will receive the use with user with same or similar label of server feedback The information at family, and with user will there is the presentation of information of the user of same or similar label to show according to pre-set rule On interface.
In embodiments of the present invention, pre-set rule includes:Preferential display and user each other the user of good friend or Preferential display is with terminal apart from nearest user, and either preferentially display user is the women either user of male or above-mentioned rule At least two combination in then.
In embodiments of the present invention, the label setting request of terminal response user, display label selection interface respond user Label selection operation, search label and number between mapping table, preserve with user selection label have mapping close The number of system, if detecting, user searches the request of the user with same or similar label, starts the GPS of terminal, determines The GPS information of terminal, and to server send label it is corresponding number and terminal GPS information so that server can utilize The GPS information of the corresponding number of label and terminal searches the information of the user with same or similar label, and receives server The information of the user with user with same or similar label of feedback will have identical according to pre-set rule with user Or the presentation of information of the user of close label is on display interface, searched in such a way that label is set with user have it is identical or The user of close label can effectively shorten and search the time, save the bandwidth of terminal.
Determined with the user with identical above described embodiment describes user setting label and using the label of setting or The information of the user of close label is described below user and determines there is same or similar label with the user using its label The information of user, referring to Fig. 7, the implementation of the method quickly to search user information in the embodiment of the present invention in social networks Example, including:
If 701, detecting, user searches the request of the user with same or similar label, described in server transmission The corresponding number of label that user has been arranged so that the server can utilize the lookup of the label corresponding number with it is described User has the information of the user of same or similar label;
In embodiments of the present invention, multiple application software can be installed in the terminal of user, for the application software of social class, User's editable state or signature search the user that identical thing has been done with the user for the ease of user, can be soft in application Label field is set on the editable interface of part, and user can enter the setting interface of label by clicking the label field, be It is better understood from, referring to Fig. 2, the editing interface of the individualized signature for the QQ in terminal, is provided on the editing interface The label field of " what does ".
In embodiments of the present invention, user can start label setting function in using terminal, and terminal will respond user's Label setting request, display label selection interface, the technical solution in embodiment, please refers to figure in order to better understand the present invention 3, when to be application software be QQ, label selection interface.
In embodiments of the present invention, after terminal display label selection interface, user can select boundary by clicking on label The label wanted is selected on face, and terminal will respond the label selection operation of user, preserve the label of user's selection.
In embodiments of the present invention, terminal, can be by clicking corresponding button on setting interface, and can start lookup has The function of the user of same or similar label, referring to Fig. 4, the button that user can click " people for doing identical thing " starts lookup Label is the user of " insomnia ".
In embodiments of the present invention, if terminal detects that user searches the request of the user with same or similar label, Then terminal to server sends the corresponding number of the label, it should be noted that has been saved in end side and has been shown in display The correspondence between label and number on interface so that server can utilize the corresponding number of the label to find and be somebody's turn to do User has the information of the user of same or similar label.
702, the information for receiving the user with the user with same or similar label of the server feedback, according to Pre-set rule has the described and user presentation of information of the user of same or similar label on display interface.
In embodiments of the present invention, whois lookup to the user have same or similar label user information it Afterwards, with the user there is the information of the user of same or similar label to feed back to terminal by what this found, terminal will receive The information with user of the user with same or similar label of current request of server feedback, and according to pre-set rule Then by the presentation of information of the user with user with same or similar label on display interface.
It should be noted that in embodiments of the present invention, there is identical or phase with the user for the ease of whois lookup The information of the user of nearly label, terminal to server can also carry out step before sending the corresponding number of label that user has been arranged Suddenly:The global position system GPS for starting terminal, determines the GPS information of the terminal.Wherein it is determined that GPS information is to service Device can search the use with the user in the user for belonging to the same area with the location of terminal with same or similar label Family, then sending the corresponding number of label that the user has been arranged to server and be specifically as follows to server in step 701 Send the GPS information of the corresponding number of label and terminal so that server can utilize the GPS information of terminal to determine the model searched It encloses, and the number that label is searched in user in the range is identical as the number for the label that server receives or utilizes clothes The user for the number that the number for the label that business device receives is searched with the label is close label, and server will utilize label pair The GPS information of the number and terminal answered, which is found, with user there is the information of the user of same or similar label to feed back to terminal. It should be noted that the time point that server also sends the GPS of the corresponding number of label and terminal using terminal determines lookup Time range, if such as time point is 10 AM, it is from 9 points in the morning to 10 AM and this to search time range User belongs to the same area and the user with same or similar label.
In embodiments of the present invention, pre-set rule includes:Preferential display and user each other the user of good friend or Preferential display is with terminal apart from nearest user, and either preferentially display user is the women either user of male or above-mentioned rule At least two combination in then.
In embodiments of the present invention, if detecting, user searches the request of the user with same or similar label, opens The GPS of dynamic terminal determines the GPS information of terminal, and the GPS information of the corresponding number of label and terminal is sent to server, makes Obtain the letter that server can utilize the GPS information of the corresponding number of label and terminal to search the user with same or similar label Breath, and the information of the user with user with same or similar label of server feedback is received, according to pre-set rule By the presentation of information of the user with user with same or similar label on display interface, searched in such a way that label is set The user with user with same or similar label can effectively shorten and search the time, save the bandwidth of terminal.
Referring to Fig. 8, for a kind of embodiment of the structure of terminal in the embodiment of the present invention, including:
Request, display label selection interface is arranged in display unit 801, the label for responding user;
Storage unit 802, described in response after showing the label selection interface in first display unit 801 The label selection operation of user preserves the label of user's selection;
Transmission unit 803, if for detecting that the user searches the request of the user with same or similar label, Send the corresponding number of the label to server so that the server can utilize the corresponding number of the label search and The user has the information of the user of same or similar label;
Receiving unit 804, after sending the corresponding label of the label in the transmission unit 803, described in reception The information of the user with the user with same or similar label of server feedback, will be described according to pre-set rule Have the presentation of information of the user of same or similar label on display interface with the user.
In embodiments of the present invention, the display unit 801 of terminal responds the label setting request of user, display label selection Interface;And the label selection operation of the user is responded by storage unit 802, preserve the label of user's selection;If detection The request of the user with same or similar label is searched to the user, then transmission unit 803 sends the mark to server Sign corresponding number so that the server can utilize the corresponding number of the label search with the user with identical or The information of the user of close label;It is identical that having with the user for the server feedback is finally received by receiving unit 804 Or the information of the user of close label, there is same or similar label with the user by described according to pre-set rule The presentation of information of user is on display interface.
In embodiments of the present invention, the label setting request of terminal response user, display label selection interface, and responding should The label selection operation of user, preserves the label of user selection, if detecting, user has identical or phase by label lookup The request of the user of nearly label, then send the corresponding number of the label to server so that server can utilize label to correspond to Number find the user that there is same or similar label with the user, and terminal will receive server feedback and the use Family has the user of same or similar label, and is shown on display interface according to pre-set rule, by the way that label is arranged Mode search with user have same or similar label user, can effectively shorten search the time, save the band of terminal It is wide.
Technical solution in embodiment in order to better understand the present invention, referring to Fig. 9, for terminal in the embodiment of the present invention Structure embodiment, including:
Display unit 801 described in embodiment as shown in Figure 8, storage unit 802, transmission unit 803, receiving unit 804, and it is similar to the technical solution described in embodiment illustrated in fig. 8, details are not described herein again.
In embodiments of the present invention, the storage unit 802 is specifically used for searching the mapping relations between label and number Table preserves the number for having mapping relations with the label of user selection.
In embodiments of the present invention, the terminal further includes:
Recording unit 901, for before the storage unit 802, recording the content of text that the user edits;
Then the storage unit 802 includes:
Determination unit 902 determines the mark with user selection for searching the mapping table between label and number Sign the number with mapping relations;
Storage unit 903 is converted, for determining that the label with user selection has mapping relations in determination unit 902 Number after, by it is described number and the content of text be converted into label, length, value TLV message formats preservation.
In embodiments of the present invention, the terminal further includes:
Positioning unit 904 is determined for before the transmission unit 803, starting the global position system GPS of terminal The GPS information of the terminal;
Then the transmission unit 803 is specifically for including:The corresponding number of the label and institute are sent to the server State the GPS information of terminal.
In embodiments of the present invention, the pre-set rule includes:
Preferential display and the user user of good friend or preferential display each other are with the terminal apart from nearest use Family, either preferentially display user be women either the user of male or it is above-mentioned rule at least two combination.
In embodiments of the present invention, the display unit 801 of terminal responds the label setting request of user, display label selection Interface;Recording unit 901 records the content of text that the user edits, and is searched by the determination unit 902 in storage unit 802 Mapping table between label and number determines that the label with user selection has the number of mapping relations;And by protecting Conversion storage unit 903 in memory cell 802 is reflected for determining that the label selected with the user has in determination unit 902 It penetrates after the number of relationship, converting the number and the content of text to label, length, value TLV message formats preserves;If Detecting that the user searches the request of the user with same or similar label, then positioning unit 904 starts the GPS of terminal, It determines the volume GPS information of terminal, and sends the GPS of the corresponding number of the label and terminal from transmission unit 803 to server Information so that the server can utilize the GPS information of the corresponding number lookup of the label and terminal to have with the user There is the information of the user of same or similar label;It is finally receiving the server feedback with the user by receiving unit 804 The information of user with same or similar label described will have identical or phase according to pre-set rule with the user The presentation of information of the user of nearly label is on display interface.Wherein, pre-set rule is mutual with the user for preferential display Be good friend user or preferential display with the terminal apart from nearest user, either preferentially display user be women or The user of male or it is above-mentioned rule at least two combination.
In embodiments of the present invention, the label setting request of terminal response user, display label selection interface respond user Label selection operation, search label and number between mapping table, preserve with user selection label have mapping close The number of system, if detecting, user searches the request of the user with same or similar label, starts the GPS of terminal, determines The GPS information of terminal, and to server send label it is corresponding number and terminal GPS information so that server can utilize The GPS information of the corresponding number of label and terminal searches the information of the user with same or similar label, and receives server The information of the user with user with same or similar label of feedback will have identical according to pre-set rule with user Or the presentation of information of the user of close label is on display interface, searched in such a way that label is set with user have it is identical or The user of close label can effectively shorten and search the time, save the bandwidth of terminal.
Referring to Fig. 10, in the embodiment of the present invention, the embodiment of the structure of terminal, including:
Data transmission unit 1001, if for detecting that user searches the request of the user with same or similar label, Then the corresponding number of label that the user has been arranged is sent to server so that the server can utilize the label pair The number answered searches the information for the user for having same or similar label with the user;
Information receiving unit 1002, for sending the corresponding number of the label in the data transmission unit 1001 Afterwards, receive the server feedback has the information of the user of same or similar label with the user, according to pre-setting Rule by the presentation of information of the user with the user with same or similar label on display interface.
In embodiments of the present invention, terminal further includes:
Position determination unit 1003, for sending the corresponding number of the label in the data transmission unit 1001 Before, start the global position system GPS of terminal, determines the GPS information of the terminal;
And the data transmission unit 1001 is specifically used for sending the corresponding number of the label and institute to the server State the GPS information of terminal.
In embodiments of the present invention, the pre-set rule includes:
Preferential display and the user user of good friend or preferential display each other are with the terminal apart from nearest use Family, either preferentially display user be women either the user of male or it is above-mentioned rule at least two combination.
In embodiments of the present invention, if detecting, user searches the request of the user with same or similar label, position The GPS that determination unit 1003 starts terminal is set, determines the GPS information of terminal, then, data transmission unit 1001 is sent out to server The GPS information for sending the corresponding number of the label that user has been arranged and terminal, finally receives server by information receiving unit 1002 The information of the user with user with same or similar label of feedback will have identical according to pre-set rule with user Or the presentation of information of the user of close label is on display interface.
In embodiments of the present invention, if detecting, user searches the request of the user with same or similar label, opens The GPS of dynamic terminal determines the GPS information of terminal, and the GPS information of the corresponding number of label and terminal is sent to server, makes Obtain the letter that server can utilize the GPS information of the corresponding number of label and terminal to search the user with same or similar label Breath, and the information of the user with user with same or similar label of server feedback is received, according to pre-set rule By the presentation of information of the user with user with same or similar label on display interface, searched in such a way that label is set The user with user with same or similar label can effectively shorten and search the time, save the bandwidth of terminal.
1 is please referred to Fig.1, it illustrates the structural schematic diagram of the terminal involved by the embodiment of the present invention, which can use In the method for quickly searching user information in social networks for implementing to provide in above-described embodiment.Specifically:
Terminal 1200 may include RF(Radio Frequency, radio frequency)Circuit 110 includes one or more The memory 120 of computer readable storage medium, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include there are one or more than one processing core processing The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Figure 11 is not constituted pair The restriction of terminal may include either combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
RF circuits 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuits 110 include but not limited to antenna, at least one amplifier, tuner, one or more oscillators, use Family identity module(SIM)Card, transceiver, coupler, LNA(Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuits 110 can also be communicated with network and other equipment by radio communication.The wireless communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, to perform various functions application and data processing.Memory 120 can include mainly storage journey Sequence area and storage data field, wherein storing program area can storage program area, the application program needed at least one function(Than Such as sound-playing function, image player function)Deng;Storage data field can be stored uses created number according to terminal 1200 According to(Such as audio data, phone directory etc.)Deng.In addition, memory 120 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating lever, optics or the input of trace ball signal.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family is on it or neighbouring touch operation(For example user uses any suitable objects or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key(Such as volume control button, switch key etc.)、 It is one or more in trace ball, mouse, operating lever etc..
Display unit 140 can be used for showing information input by user or the information and terminal 1200 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination. Display unit 140 may include display panel 141, optionally, LCD (Liquid Crystal Display, liquid crystal may be used Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects on it or neighbouring touches After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing type of the device 180 according to touch event Corresponding visual output is provided on display panel 141.Although in fig. 11, touch sensitive surface 131 and display panel 141 are conducts Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 1200 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 1200 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions(Generally Three axis)The size of acceleration can detect that size and the direction of gravity, can be used to identify the application of mobile phone posture when static(Than Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function(Such as pedometer, percussion)Deng;Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 1200 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal 1200.Sound The transformed electric signal of the audio data received can be transferred to loud speaker 161, is converted to by loud speaker 161 by frequency circuit 160 Voice signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is received by voicefrequency circuit 160 After be converted to audio data, it is such as another to be sent to through RF circuits 110 then by after the processing of audio data output processor 180 Terminal, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earplug is inserted Hole, to provide the communication of peripheral hardware earphone and terminal 1200.
WiFi belongs to short range wireless transmission technology, and terminal 1200 can help user to receive and dispatch electricity by WiFi module 170 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Figure 11 shows Go out WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 1200, it completely can be according to need It to be omitted in the range for the essence for not changing invention.
Processor 180 is the control centre of terminal 1200, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of terminal 1200, to carry out integral monitoring to mobile phone.Optionally, it handles Device 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 1200 further includes the power supply 190 powered to all parts(Such as battery), it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power, recharging system, power supply event Hinder the random components such as detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 1200 can also include camera, bluetooth module etc., and details are not described herein.Specifically at this In embodiment, the display unit of terminal is touch-screen display, terminal further include have memory and one or more than one Program, one of them either more than one program be stored in memory and be configured to by one or more than one Reason device execution states one or more than one program includes the instruction for being operated below:
Respond the label setting request of user, display label selection interface;
The label selection operation for responding the user preserves the label of user's selection;
If detecting, the user searches the request of the user with same or similar label, described in server transmission The corresponding number of label so that the server can utilize the corresponding number of the label to search with the user with identical Or the information of the user of close label;
The information for receiving the user with the user with same or similar label of the server feedback, according to advance The rule of setting has the described and user presentation of information of the user of same or similar label on display interface.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of the terminal, also include instructions for performing the following operations:
The mapping table between label and number is searched, preserve has mapping relations with the label of user selection Number.
In the third the possible embodiment provided based on second of possible embodiment, the terminal Memory in, also include instructions for performing the following operations:
Record the content of text that the user edits;
Then the label for preserving user's selection includes:
The mapping table between label and number is searched, determines that the label with user selection has mapping relations Number;
The number and the content of text is converted to label, length, value TLV message formats to preserve.
Also include for performing the following operations in the memory of the terminal in the 4th kind of possible realization method Instruction:
The global position system GPS for starting terminal, determines the GPS information of the terminal;
It is then described to include to the corresponding number of the server transmission label:
The GPS information of the corresponding number of the label and the terminal is sent to the server.
In the 5th kind of possible embodiment provided based on the 4th kind of possible embodiment, the terminal Memory in, further include the pre-set rule, include specifically:
Preferential display and the user user of good friend or preferential display each other are with the terminal apart from nearest use Family, either preferentially display user be women either the user of male or it is above-mentioned rule at least two combination.
As on the other hand, yet another embodiment of the invention additionally provides a kind of computer readable storage medium, the computer Readable storage medium storing program for executing can be computer readable storage medium included in memory in above-described embodiment;It can also be list Solely exist, without the computer readable storage medium in supplying terminal.The computer-readable recording medium storage there are one or More than one program of person, the one or more programs are used for executing one by one or more than one processor Control method by sliding, the method includes:
Respond the label setting request of user, display label selection interface;
The label selection operation for responding the user preserves the label of user's selection;
If detecting, the user searches the request of the user with same or similar label, described in server transmission The corresponding number of label so that the server can utilize the corresponding number of the label to search with the user with identical Or the information of the user of close label;
The information for receiving the user with the user with same or similar label of the server feedback, according to advance The rule of setting has the described and user presentation of information of the user of same or similar label on display interface.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, the label for preserving user selection includes:
The mapping table between label and number is searched, preserve has mapping relations with the label of user selection Number.
In the third the possible embodiment provided based on second of possible embodiment, the preservation Further include before the label of user's selection:
Record the content of text that the user edits;
Then the label for preserving user's selection includes:
The mapping table between label and number is searched, determines that the label with user selection has mapping relations Number;
The number and the content of text is converted to label, length, value TLV message formats to preserve.
Then based on the first possible embodiment and provide the 4th kind of possible embodiment in, it is described to Server sends the corresponding number of the label:
The global position system GPS for starting terminal, determines the GPS information of the terminal;
It is then described to include to the corresponding number of the server transmission label:
The GPS information of the corresponding number of the label and the terminal is sent to the server.
And in the 4th kind of possible realization method, the pre-set rule includes:
Preferential display and the user user of good friend or preferential display each other are with the terminal apart from nearest use Family, either preferentially display user be women either the user of male or it is above-mentioned rule at least two combination.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, the program can be stored in a kind of computer readable storage medium, on It can be read-only memory, disk or CD etc. to state the storage medium mentioned.
A kind of method that quickly searching user information in social networks provided by the present invention and terminal are carried out above It is discussed in detail, for those of ordinary skill in the art, the thought of embodiment, in specific implementation mode and is answered according to the present invention With there will be changes in range, in conclusion the content of the present specification should not be construed as limiting the invention.

Claims (8)

1. a kind of method for quickly searching user information in social networks, which is characterized in that including:
Respond the label setting request of user, display label selection interface;
The label selection operation for responding the user preserves the label of user's selection;
If detecting, the user searches the request of the user with same or similar label, and the label is sent to server Corresponding number so that the server can utilize the corresponding number of the label to search has identical or phase with the user The information of the user of nearly label;
Receive the server feedback has the information of the user of same or similar label with the user, according to pre-setting Rule by the presentation of information of the user with the user with same or similar label on display interface;
The label for preserving user selection includes:
The mapping table between label and number is searched, the volume that there are mapping relations with the label of user selection is preserved Number.
2. according to the method described in claim 1, it is characterized in that, also being wrapped before the label for preserving user's selection It includes:
Record the content of text that the user edits;
Then the label for preserving user's selection includes:
The mapping table between label and number is searched, determines that the label with user selection has the volume of mapping relations Number;
The number and the content of text is converted to label, length, value TLV message formats to preserve.
3. according to the method described in claim 1, it is characterized in that, described send the corresponding number of the label to server Before include:
The global position system GPS for starting terminal, determines the GPS information of the terminal;
It is then described to include to the corresponding number of the server transmission label:
The GPS information of the corresponding number of the label and the terminal is sent to the server.
4. according to the method described in claim 3, it is characterized in that, the pre-set rule includes:
Preferential display and the user user of good friend or preferential display each other with the terminal apart from nearest user, or Person preferentially show user be women either the user of male or it is above-mentioned rule at least two combination.
5. a kind of terminal, which is characterized in that including:
Request, display label selection interface is arranged in display unit, the label for responding user;
Storage unit, the label for responding the user after showing the label selection interface in the display unit select Operation preserves the label of user's selection;
Transmission unit, if for detecting that the user searches the request of the user with same or similar label, to service Device sends the corresponding number of the label so that the server can utilize the corresponding number of the label to search and the use Family has the information of the user of same or similar label;
Receiving unit receives the server feedback after sending the corresponding number of the label in the transmission unit The user with the user with same or similar label information, will be described with the user according to pre-set rule The presentation of information of user with same or similar label is on display interface;
The storage unit is specifically used for searching the mapping table between label and number, preserves the mark with user selection Sign the number with mapping relations.
6. terminal according to claim 5, which is characterized in that the terminal further includes:
Recording unit, for before the storage unit, recording the content of text that the user edits;
Then the storage unit includes:
Determination unit determines that the label selected with the user has for searching the mapping table between label and number The number of mapping relations;
Convert storage unit, for determination unit determine with the user selection label have mapping relations number it Afterwards, the number and the content of text is converted to label, length, value TLV message formats to preserve.
7. terminal according to claim 5, which is characterized in that the terminal further includes:
Positioning unit, for before the transmission unit, starting the global position system GPS of terminal, determining the terminal GPS information;
Then the transmission unit is specifically for including:The corresponding number of the label and the terminal are sent to the server GPS information.
8. terminal according to claim 7, which is characterized in that the pre-set rule includes:
Preferential display and the user user of good friend or preferential display each other with the terminal apart from nearest user, or Person preferentially show user be women either the user of male or it is above-mentioned rule at least two combination.
CN201310712268.3A 2013-12-20 2013-12-20 A kind of method and terminal for quickly searching user information in social networks Active CN104731806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310712268.3A CN104731806B (en) 2013-12-20 2013-12-20 A kind of method and terminal for quickly searching user information in social networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310712268.3A CN104731806B (en) 2013-12-20 2013-12-20 A kind of method and terminal for quickly searching user information in social networks

Publications (2)

Publication Number Publication Date
CN104731806A CN104731806A (en) 2015-06-24
CN104731806B true CN104731806B (en) 2018-10-19

Family

ID=53455704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310712268.3A Active CN104731806B (en) 2013-12-20 2013-12-20 A kind of method and terminal for quickly searching user information in social networks

Country Status (1)

Country Link
CN (1) CN104731806B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10580064B2 (en) 2015-12-31 2020-03-03 Ebay Inc. User interface for identifying top attributes
CN106452855B (en) * 2016-09-28 2020-03-17 网易(杭州)网络有限公司 Article label adding method and device
CN108809802B (en) * 2018-04-16 2021-04-27 维沃移动通信有限公司 Information display method and mobile terminal
CN109102415A (en) * 2018-07-03 2018-12-28 重庆小萝卜科技有限公司 Data processing method and system
CN112328920A (en) * 2020-11-06 2021-02-05 支付宝(杭州)信息技术有限公司 Label authentication method, labeling method and respective devices

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101632074A (en) * 2007-02-28 2010-01-20 费斯布克公司 Be used for locating automatically system and method based on the social network members of web
CN102638770A (en) * 2011-02-14 2012-08-15 中兴通讯股份有限公司 Social network realization method and system
CN102789468A (en) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 Microblog client side and method for realizing individual labels of microblog users

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202555A1 (en) * 2010-01-28 2011-08-18 IT.COM, Inc. Graphical User Interfaces Supporting Method And System For Electronic Discovery Using Social Network Analysis
CN102385605B (en) * 2010-08-31 2013-05-08 腾讯科技(深圳)有限公司 Method and system for searching microblog messages and microblog server
CN102769579B (en) * 2011-05-05 2016-12-07 腾讯科技(深圳)有限公司 The display packing of a kind of Twitter message, microblog terminal and micro-blog server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101632074A (en) * 2007-02-28 2010-01-20 费斯布克公司 Be used for locating automatically system and method based on the social network members of web
CN102638770A (en) * 2011-02-14 2012-08-15 中兴通讯股份有限公司 Social network realization method and system
CN102789468A (en) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 Microblog client side and method for realizing individual labels of microblog users

Also Published As

Publication number Publication date
CN104731806A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN105788612B (en) A kind of method and apparatus detecting sound quality
US10643666B2 (en) Video play method and device, and computer storage medium
CN104518875B (en) A kind of method that authentication and account obtain, mobile terminal
CN104965843B (en) A kind of method and device obtaining comment information
CN105549740B (en) A kind of method and apparatus of playing audio-fequency data
CN104238893B (en) A kind of method and apparatus that video preview picture is shown
CN104252341B (en) The client device of the skin change method of application program, device and application program
CN104850406B (en) A kind of method and apparatus for switching the page
US20150121295A1 (en) Window displaying method of mobile terminal and mobile terminal
CN104104711B (en) Reading histories treating method and apparatus
CN104731806B (en) A kind of method and terminal for quickly searching user information in social networks
CN104142779A (en) UI (user interface) control method and device as well as terminal
CN105955597B (en) Information display method and device
CN104516624B (en) A kind of method and device inputting account information
CN105185401B (en) The method and device of synchronized multimedia listed files
WO2015172705A1 (en) Method and system for collecting statistics on streaming media data, and related apparatus
CN104166646B (en) A kind of method and apparatus for inputting uniform resource locator
CN107370670A (en) Unread message extracts methods of exhibiting and device
CN106231575B (en) Method for processing short messages and device
CN105630846A (en) Head portrait updating method and apparatus
CN106791916A (en) A kind of methods, devices and systems of recommendation of audio data
CN106375182B (en) Voice communication method and device based on instant messaging application
CN106210838B (en) Caption presentation method and device
CN105787982B (en) A kind of method and apparatus making e-book
CN106792014A (en) A kind of method of recommendation of audio, apparatus and system

Legal Events

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