CN102682004A - Method and device for user to inquire - Google Patents

Method and device for user to inquire Download PDF

Info

Publication number
CN102682004A
CN102682004A CN2011100581129A CN201110058112A CN102682004A CN 102682004 A CN102682004 A CN 102682004A CN 2011100581129 A CN2011100581129 A CN 2011100581129A CN 201110058112 A CN201110058112 A CN 201110058112A CN 102682004 A CN102682004 A CN 102682004A
Authority
CN
China
Prior art keywords
user
querying condition
buddy group
user member
obtains
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.)
Pending
Application number
CN2011100581129A
Other languages
Chinese (zh)
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 Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN2011100581129A priority Critical patent/CN102682004A/en
Publication of CN102682004A publication Critical patent/CN102682004A/en
Pending legal-status Critical Current

Links

Images

Abstract

An embodiment of the invention discloses a method and a device for a user to inquire. The method includes: obtaining a first user member corresponding to query condition according to the query condition set by the user; removing a preset user from the first user member to obtain a second user member, wherein the preset user is selected by the user before and is not added in a friend group; and sending the second user member to the user. The method and the device for the user to inquire are suitable for friend queries according to the query condition of the user.

Description

User inquiry method and device
Technical field
The present invention relates to field of computer technology, particularly a kind of user inquiry method and device.
Background technology
Growing along with network technology, " microblogging " enters into people's life gradually, known and uses by people.Microblogging; It is microblogging visitor's (MicroBlog) abbreviation; Be a platform that the information of being concerned about based on the user is shared, propagated and obtains, the user can pass through WEB, WAP (Wireless Application Protocol, WAP) and various client sets up individual community; Use the literal lastest imformation, and realize sharing immediately.
When the user uses microblogging; System can be according to user's information; For example: go up the set information such as individual label of birthplace, user in net address, the user's materials for registration; Inquiring user possibly is familiar with or maybe interested candidate good friend give the user, the user from system queries to the candidate good friend select, select wherein the unconcerned candidate good friend of user and remove.
In realizing process of the present invention, the inventor finds to exist at least in the prior art following problem:
Though the user with system queries to the candidate good friend in own unconcerned candidate good friend removed; But, after query script in, system still possibly send to the user with the unconcerned candidate good friend of those users; Cause Query Result accurate inadequately, may mislead the user.
Summary of the invention
Embodiments of the invention provide a kind of user inquiry method and device, can make Query Result more accurate, avoid the misleading to the user.
The technical scheme that the embodiment of the invention adopts is:
A kind of user inquiry method comprises:
The querying condition of setting according to the user obtains the first user member corresponding with said querying condition;
The predesignated subscriber is removed from the said first user member, obtain the second user member, said predesignated subscriber is the user who does not add buddy group selected before the said user;
The said second user member is sent to said user.
A kind of user inquiring device comprises:
First acquiring unit is used for obtaining the first user member corresponding with said querying condition according to the querying condition that the user sets;
Remove the unit, be used for the predesignated subscriber is removed from the said first user member, obtain the second user member, said predesignated subscriber is the user who does not add buddy group selected before the said user;
Transmitting element is used for the said second user member is sent to said user.
User inquiry method that the embodiment of the invention provides and device; The querying condition of setting according to the user obtains the first user member corresponding with said querying condition; The user who does not add buddy group selected before the said user is removed from the said first user member; Obtain the second user member, the said second user member is sent to said user.Compared with prior art, the embodiment of the invention can be removed the user who does not add buddy group selected before the user from Query Result, thereby can make Query Result more accurate, avoids the misleading to the user, has improved user's Quality of experience.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The method flow diagram that Fig. 1 provides for the embodiment of the invention one;
The method flow diagram that Fig. 2 provides for the embodiment of the invention two;
The apparatus structure synoptic diagram that Fig. 3, Fig. 4 provide for the embodiment of the invention three.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making all other embodiment that obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
For the advantage that makes technical scheme of the present invention is clearer, the present invention is elaborated below in conjunction with accompanying drawing and embodiment.
Embodiment one
Present embodiment provides a kind of user inquiry method, and is as shown in Figure 1, and said method comprises:
101, the querying condition of setting according to the user obtains the first user member corresponding with said querying condition.
Wherein, the said first user member comprising at least one user, certainly, also can be sky as the initial query result.
102, the predesignated subscriber is removed from the said first user member, obtain the second user member, said predesignated subscriber is the user who does not add buddy group selected before the said user.
103, the said second user member is sent to said user.
The user inquiry method that the embodiment of the invention provides; The querying condition of setting according to the user obtains the first user member corresponding with said querying condition; The user who does not add buddy group selected before the said user is removed from the said first user member; Obtain the second user member, the said second user member is sent to said user.Compared with prior art, the embodiment of the invention can be removed the user who does not add buddy group selected before the user from Query Result, thereby can make Query Result more accurate, avoids the misleading to the user, has improved user's Quality of experience.
Embodiment two
Present embodiment provides a kind of user inquiry method, and is as shown in Figure 2, and said method comprises:
201, obtain at least one querying condition that user A sets.
Wherein, said querying condition can be the set individual label in the IP address of user A, school, graduation time, local, user A in the user A materials for registration, good friend that user A has added etc., and said individual label can be hobby, motto etc.
202, utilize preset and the corresponding query strategy of each querying condition, obtain and the corresponding user of each querying condition.
For example: if querying condition be the IP address of user A, corresponding query strategy is for the IP address with user A is positioned at same IP section, then get access to the corresponding user of this querying condition be the user who is positioned at same IP section with the IP address of user A;
If querying condition is school, corresponding query strategy is a school of same institute, then get access to the corresponding user of this querying condition for being positioned at the user of school of same institute with user A.
203, combine with the corresponding user of each querying condition said, obtain the first user member.
For example: querying condition has two: IP address and the school of user A; Be positioned at same IP section with the corresponding query strategy in IP address of user A for IP address with user A; With school corresponding query strategy be school of same institute; Then will be positioned at the user of same IP section with the IP address of user A and combine, obtain the first user member with user that user A is positioned at school of same institute.
Wherein, the said first user member comprising at least one user, certainly, also can be sky as the initial query result.
204, the predesignated subscriber is removed from the said first user member, obtain the second user member, said predesignated subscriber is the user who does not add buddy group selected before the user A.
Wherein, the said second user member comprising at least one user, certainly, also can be sky as final Query Result.
205, the said second user member is sent to user A.
Thereby user A can select the user and add buddy group or do not add buddy group from the said second user member.
206, obtain the user of user A selected buddy group that does not add access customer A from the said second user member.
207, the user with user A selected buddy group that does not add access customer A from the said second user member preserves, as the predesignated subscriber.
Thereby, in next query script, can from the initial query result, remove the predesignated subscriber who is preserved, to obtain final Query Result.
The user inquiry method that the embodiment of the invention provides; The querying condition of setting according to the user obtains the first user member corresponding with said querying condition; The user who does not add buddy group selected before the said user is removed from the said first user member, obtain the second user member, the said second user member is sent to said user; And the user that said user is removed from the said second user member preserves, so that in next query script, use.Compared with prior art; The embodiment of the invention can be preserved the user who does not add buddy group that the user selectes; So that in next query script, the user who does not add buddy group selected before the user is removed from Query Result; Thereby can make Query Result more accurate, avoid misleading, improve user's Quality of experience the user.
Embodiment three
Present embodiment provides a kind of user inquiring device, and is as shown in Figure 3, and said device comprises:
First acquiring unit 31 is used for obtaining the first user member corresponding with said querying condition according to the querying condition that the user sets;
Remove unit 32, be used for the predesignated subscriber is removed from the said first user member, obtain the second user member, said predesignated subscriber is the user who does not add buddy group selected before the said user;
Transmitting element 33 is used for the said second user member is sent to said user.
Further, as shown in Figure 4, said first acquiring unit 31 can comprise:
First obtains subelement 311, is used to obtain at least one querying condition that said user sets;
Second obtains subelement 312, is used to utilize preset and the corresponding query strategy of each querying condition, obtains and the corresponding user of each querying condition;
Merge subelement 313, be used for combining with the corresponding user of each querying condition, obtain the first user member said.
Further, as shown in Figure 4, said user inquiring device can also comprise:
Second acquisition unit 44 is used for obtaining the user that said user removes from the said second user member;
Preserve unit 45, be used for said user is preserved from the user that the said second user member removes.
Thereby the user of said user's removal of having preserved in the said preservation unit 45 can be removed in said removal unit 32 from the said first user member, obtain final Query Result.
The user inquiring device that the embodiment of the invention provides; The querying condition of setting according to the user obtains the first user member corresponding with said querying condition; The user who does not add buddy group selected before the said user is removed from the said first user member, obtain the second user member, the said second user member is sent to said user; And the user that said user is removed from the said second user member preserves, so that in next query script, use.Compared with prior art; The embodiment of the invention can be preserved the user who does not add buddy group that the user selectes; So that in next query script, the user who does not add buddy group selected before the user is removed from Query Result; Thereby can make Query Result more accurate, avoid misleading, improve user's Quality of experience the user.
The user inquiring device that the embodiment of the invention provides can be realized the above-mentioned method embodiment that provides, and concrete function is realized seeing also the explanation among the method embodiment, repeats no more at this.User inquiry method that the embodiment of the invention provides and device go for carrying out good friend's inquiry according to microblogging user's querying condition, but are not limited only to this.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method; Be to instruct relevant hardware to accomplish through computer program; Described program can be stored in the computer read/write memory medium; This program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; The variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (6)

1. a user inquiry method is characterized in that, comprising:
The querying condition of setting according to the user obtains the first user member corresponding with said querying condition;
The predesignated subscriber is removed from the said first user member, obtain the second user member, said predesignated subscriber is the user who does not add buddy group selected before the said user;
The said second user member is sent to said user.
2. method according to claim 1 is characterized in that, the said querying condition of setting according to the user obtains the first user member corresponding with said querying condition and comprises:
Obtain at least one querying condition that said user sets;
Utilize preset and the corresponding query strategy of each querying condition, obtain and the corresponding user of each querying condition;
Combine with the corresponding user of each querying condition said, obtain the first user member.
3. method according to claim 1 and 2 is characterized in that, said the said second user member is sent to said user after, also comprise:
Obtain the user who does not add buddy group that said user selectes from the said second user member;
Said user selected user who does not add buddy group from the said second user member is preserved.
4. a user inquiring device is characterized in that, comprising:
First acquiring unit is used for obtaining the first user member corresponding with said querying condition according to the querying condition that the user sets;
Remove the unit, be used for the predesignated subscriber is removed from the said first user member, obtain the second user member, said predesignated subscriber is the user who does not add buddy group selected before the said user;
Transmitting element is used for the said second user member is sent to said user.
5. device according to claim 4 is characterized in that, said first acquiring unit comprises:
First obtains subelement, is used to obtain at least one querying condition that said user sets;
Second obtains subelement, is used to utilize preset and the corresponding query strategy of each querying condition, obtains and the corresponding user of each querying condition;
Merge subelement, be used for combining with the corresponding user of each querying condition, obtain the first user member said.
6. according to claim 4 or 5 described devices, it is characterized in that, also comprise:
Second acquisition unit is used for obtaining said user from the selected user who does not add buddy group of the said second user member;
Preserve the unit, be used for said user is preserved from the selected user who does not add buddy group of the said second user member.
CN2011100581129A 2011-03-10 2011-03-10 Method and device for user to inquire Pending CN102682004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100581129A CN102682004A (en) 2011-03-10 2011-03-10 Method and device for user to inquire

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100581129A CN102682004A (en) 2011-03-10 2011-03-10 Method and device for user to inquire

Publications (1)

Publication Number Publication Date
CN102682004A true CN102682004A (en) 2012-09-19

Family

ID=46813951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100581129A Pending CN102682004A (en) 2011-03-10 2011-03-10 Method and device for user to inquire

Country Status (1)

Country Link
CN (1) CN102682004A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052752A (en) * 2014-06-26 2014-09-17 陈椿 Method for establishing real-time contact based on voice calling or character inputting

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291341A (en) * 2007-03-09 2008-10-22 双子星移动科技公司 On-line environment automatic user match
US20100057858A1 (en) * 2008-08-28 2010-03-04 Microsoft Corporation Leveraging communications to identify social network friends
CN101933038A (en) * 2008-01-31 2010-12-29 微软公司 System and method for targeted recommendations using social gaming networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291341A (en) * 2007-03-09 2008-10-22 双子星移动科技公司 On-line environment automatic user match
CN101933038A (en) * 2008-01-31 2010-12-29 微软公司 System and method for targeted recommendations using social gaming networks
US20100057858A1 (en) * 2008-08-28 2010-03-04 Microsoft Corporation Leveraging communications to identify social network friends

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052752A (en) * 2014-06-26 2014-09-17 陈椿 Method for establishing real-time contact based on voice calling or character inputting

Similar Documents

Publication Publication Date Title
US8010601B2 (en) Contiguous location-based user networks
Scellato et al. Distance matters: geo-social metrics for online social networks
CN103942221B (en) Search method and equipment
CN103795768B (en) The method and apparatus of remote access
WO2007062086A3 (en) Domain name system security network
CN105517104B (en) Terminal establishes the method and terminal of network connection by APN
CN102831170A (en) Pushing method and device of event information
US20080162408A1 (en) Method And System For Network Search
CN103368984A (en) Method and system for information sharing
CN109474718A (en) Domain name analytic method and device
CN102946401B (en) A kind of data creation method, device and equipment
CN101867638A (en) Automatic sorting method and terminal
CN107040617B (en) Data processing method and device
CN102253969A (en) Information processing method and device, and server
CN105187556B (en) A kind of method, apparatus and Edge Server of data Hui Yuan
CN102594839A (en) Method for distinguishing pseudo dynamic host configuration protocol (DHCP) servers and switchboards
CN102682004A (en) Method and device for user to inquire
CN101909281A (en) Mobile terminal-based user social contact method, device and system
CN101674549A (en) Method and device sending short messages in groups
CN104317863B (en) Number-plate number querying method and system
CN105872193A (en) Method and device for sharing wallpaper picture, and mobile terminal
CN103078968B (en) Domain name inquiry method, IP divide race's method, device and equipment
CN110309181A (en) A kind of data query method and relevant apparatus
CN104902542B (en) A kind of information sharing method and mobile communication terminal
CN109788050A (en) A kind of acquisition source station IP address method, system, electronic equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120919