The method and terminal of communication contact person are obtained by search engineTechnical field
The invention belongs to computing terminals, network technique field.
Background technique
In daily life, one side people are often through mobile communication facility or instant messaging tools, with corresponding societyObject is handed over to keep in touch.On the other hand, universal with computing terminal and network technology, search engine is as people's daily lifeIn a kind of common network tool, user can use search engine and obtains data content associated with inputted keyword.
It is how by a kind of medium that web search is associated with the communication contact person of people?If the communication to people joinsIt is that people classifies, there is different mode classifications according to different division rules, one of classification method is region zones, i.e.,Which region the contact person belongs to or is currently located at, and the people of corresponding the same area can be divided into one group.
Terminal positioning technology is also widely used in the prior art, therefore is regional information as a kind of connection netNetwork search and the realization of the key message of communication contact person bring basis, and such people search for by search engine about somewhereData information when, its communication contact person information for belonging to or being currently located at this area can be obtained by search engine.
Summary of the invention
The method of communication contact person and corresponding is obtained by search engine the object of the present invention is to provide a kind ofTerminal, using the present invention, search engine client obtains user and communicates connection in the region keyword for collecting user's input, analysisIt is contact person corresponding with the region keyword in people, is exported by searched page centralized displaying.
The present invention provides a kind of method for obtaining communication contact person by search engine, includes the following steps:
Step 1, the data to be searched of user's input are acquired by search engine client;
Step 2, determine whether data to be searched above-mentioned include region keyword;
Step 3, in the case where being determined as is, acquisition obtains user's communication contact person, and therefrom screening is closed with aforementioned regionThe corresponding contact person in region described in keyword, is exported by searched page.
Further, the communication contact person includes instant communication contacts and/or mobile communication contact person.
Further, determine in the instant communication contacts exported by searched page and/or mobile communication contact person whetherThere are the contact objects of the same identity attribute of correspondence;
In case of presence, the phase in searched page by the instant communication contacts and/or mobile communication contact personAdjacent position output.
Further, described whether to correspond to same identity attribute, determined one of in the following way:
Mode 1, acquisition user correspond in the mobile communication contact information of region keyword whether remarks have it is corresponding i.e.When means of communication identifier;
In the case where having, mobile communication contact person instant messaging corresponding with instant messaging tools identifier is joinedIt is that people is identified as same identity attribute, and by the output information of aforementioned mobile communication contact person and instant communication contacts, in phaseAdjacent position output;
Mode 2, acquisition user correspond in the instant communication contacts information of region keyword whether remarks have corresponding shiftingDynamic communication identification number;
In the case where having, by instant communication contacts mobile communication contact person corresponding with mobile communication identifierIt is identified as same identity attribute, and by the output information of aforementioned instant communication contacts and mobile communication contact person, adjacentPosition output;
Mode 3, acquire a certain corresponding region keyword of user instant communication contacts information in whether remarks have it is otherThe identifier of instant messaging tools;
In the case where having, the two is identified as to correspond to same identity information, and aforementioned a certain instant messaging is contactedThe output information of people and aforementioned other instant communication contacts are exported in adjacent position.
Further, the acquisition obtaining step of user's communication contact person is in the step 3:
Step a-1 judges communication customer end corresponding with aforementioned communication contact person whether is equipped in present terminal;
Step a-2 obtains communication contact person information if so, traversing the contacts list in the communication customer end.
Step a-3 triggers following steps acquisition user's communication contact person information if nothing,
Search engine client is logged in present terminal;
Read the communication contact person information saved in search engine client or server.
Further, communication contact person judgment basis whether corresponding with region described in the keyword of region in the step 3Including, it whether include regional information corresponding with region described in the keyword of region in the communication contact person data remark information,And/or whether the communication contact person present position is corresponding with region described in the keyword of region and/or contact person communicates and knowsWhether alias ownership place is corresponding.
Further, whether the communication contact person present position is corresponding with region described in the keyword of region includesFollowing determination step:
Step b-1, terminal where current contacts, which is sent, in user communication contact list obtains its geographic locationThe request of information;
Step b-2, directly triggering or the terminal where triggering in the case where the terminal acquires and obtains aforementioned contact licensePositioning operation is carried out, the geographical location information that positioning obtains is pushed into search engine client;
Step b-3 is compared with the region keyword of user's input, determines that the communication contact person present position isIt is no corresponding with region described in the keyword of region.
Further, in the step 3 after screening contact person corresponding with region described in aforementioned region keyword, lead toThe trigger control that the searched page output communication contact person corresponds to communication interaction interface is crossed, is collecting user for the controlAfter triggering message, the communication interaction interface that user corresponds to the communication contact person is opened.
Further, it is described write to each other artificial instant communication contacts when, screening and aforementioned region are crucial in the step 3The corresponding contact person in region described in word further comprises following steps:
Step c-1 obtains net of the contact person based on instant messaging identifier according to user's instant communication contacts informationNetwork page address information;
Step c-2 traverses the data content in the aforementioned network page, is compared with the region keyword of user's input;
Step c-3 is compared and is determined that in Webpage include data corresponding with region described in aforementioned region keywordWhen content, which is regarded as into contact person corresponding with region described in aforementioned region keyword.
The present invention also provides a kind of terminal for obtaining communication contact person by search engine, which includes:
Data acquisition unit, the data to be searched inputted to acquire user by search engine client;
Keyword judging unit, to determine whether data to be searched above-mentioned include region keyword;
Contact person screens output unit, and in the case where being judged to being through keyword judging unit, it is logical that acquisition obtains userBelieve contact person, therefrom screens contact person corresponding with region described in aforementioned region keyword, exported by searched page.
Further, the contact person screens output unit, is provided with such as flowering structure at least one:
Same contact person's determination module, to pass through acquisition identification user mobile communication connection corresponding with region keywordBe in the remark information of people or instant communication contacts, if include it is corresponding it is another it is corresponding with region keyword i.e.When means of communication or mobile communication identifier, the contact person for determining whether to have corresponding same identity attribute is being determined asIn the case where, by the corresponding instant communication contacts and/or mobile communication contact person position adjacent in searched pageOutput;
Interactive interface control generation module, to generate user's communication contact person corresponding with region described in the keyword of regionBetween communication interaction interface trigger control, collect user for the trigger control triggering message after, triggering open userThe communication interaction interface of the corresponding communication contact person;
Position information acquisition module sends to terminal where the contact person into user communication contact list and obtains itThe request of geographic location information directly triggers or triggers institute in the case where the terminal acquires and obtains aforementioned contact licensePositioning operation is carried out in terminal, receives the geographical location information pushed from aforementioned terminals, and is judged whether and user's inputRegion keyword is corresponding;
Network data corresponding relationship people's screening module, to when write to each other artificial instant communication contacts when, according toFamily instant communication contacts information, obtains Webpage address information of the contact person based on instant messaging identifier, before traversalThe data content in Webpage is stated, is compared with the region keyword of user's input, will include in the corresponding network pageThe instant communication contacts of data content corresponding with region described in aforementioned region keyword are regarded as and aforementioned region keywordThe corresponding contact person in the region.
Detailed description of the invention
Fig. 1 is a kind of method flow diagram that communication contact person is obtained by search engine of the present invention.
Fig. 2 is searched page display effect in a kind of method by search engine acquisition communication contact person of the present inventionFruit schematic diagram.
Fig. 3 is a kind of terminal structure block diagram that communication contact person is obtained by search engine of the present invention.
Specific embodiment
With reference to the accompanying drawings, the present invention is described further in conjunction with specific embodiments.
Fig. 1 show a kind of method flow diagram that instant messaging search is carried out by search engine of the present invention.GinsengAs shown in the figure, method provided by the present invention includes the following steps:
Step S101 acquires the data to be searched of user's input by search engine client.
Method of the present invention is to obtain to screen specific user's communication contact person and export using search engine,The communication contact person of the user includes instant communication contacts and/or mobile communication contact person.Certainly, also there are other communication classesThe contact object of type, such as contact object corresponding to contact object or other application program in Email,It does not limit specifically.
Typically, instant communication contacts include corresponding contact person in the various instant messaging tools of user, and are not specific toA certain instant messaging tools;Mobile communication contact person refers to the contact person stored in user's mobile communication terminal.Certainly, Yong HuThe communication contact person type searched for can be defined using when the method for the invention, for example, searching only for instant messagingContact person searches only for mobile communication contact person, further, searches only for corresponding contact person of a certain instant messaging tools etc..
Computing terminal where search engine, it is specific and unlimited as long as function described in the invention can be supportedIt is fixed, typically, it can be computer terminal or mobile communication terminal etc..Wherein, mobile communication terminal includes mobile phone, may be used alsoTo further comprise the tablet computer, etc. for having mobile communication function module.Computer terminal then includes various computer types extensively.
User inputs the data to be searched to be inquired by keyword input field provided by search engine.According to wait searchWhether include region keyword in rope data determine search engine whether start user correspond to communication contact person acquisition andScreening operation.
Step S102 determines whether aforementioned data to be searched include region keyword, if it is not, S105 is gone to step, if so, turningStep S103.
In this step, the data to be searched of user's input are analyzed, is determined wherein whether crucial comprising regionWord, analysis method include but is not limited to semantic analysis perhaps fuzzy matching or feature extraction etc. at least one.
Region keyword is usually the noun for expressing administrative region, in addition to this further includes landscape title, such as " Mount Taishan ", orPerson's place name, such as " Tsinghua University ".The landscape and place with fixed position are believed being corresponding with fixed positionBreath.
It under normal conditions, only include a region keyword in the data to be searched of user's input, for example, user's inputData to be searched are " Mount Huang travel notes ", by including region keyword " Mount Huang " in the data to be searched known to analysis.Particularly,Data to be searched are there is also multiple region keywords are included the case where, for example, the data to be searched of user's input are " Shanghai to HuangMountain " is " Shanghai " and " Mount Huang " in the data to be searched known to analysis by the region keyword for including.
When including at least one region keyword in the data to be searched through analyzing and determining user's input, triggering is for useThe acquisition of family communication contact person obtains operation, is transferred to step S103;If there is no region crucial in the data to be searched of user's inputWord, then assert user this search operation be general search, be transferred to step S105.
Step S103, acquisition obtain user's communication contact person.
Specifically, the acquisition obtaining step of user's communication contact person is:
Step a-1 judges communication customer end corresponding with aforementioned communication contact person whether is equipped in present terminal;
Step a-2 obtains communication contact person information if so, traversing the contacts list in the communication customer end.
Step a-3 triggers following steps acquisition user's communication contact person information if nothing,
Search engine client is logged in present terminal;
Read the communication contact person information saved in search engine client or server.
In the present embodiment, since the communication contact person of user includes instant communication contacts and mobile communication contact person twoMajor class, therefore corresponding different types of communication contact person, obtain operation also have it is certain its not.
For instant communication contacts, corresponding step a-1 first determines whether instant messaging visitor whether is equipped in present terminalFamily end, by triggering instant communication client, traverses contact person's column in the communication customer end in the case where being determined as hasTable obtains the corresponding instant communication contacts information of user.If there is multiple instant messaging identifiers in the instant communication clientLogin record, then generate prompting window, aforesaid plurality of instant messaging identifier exported, in the selection operation for collecting userAfterwards, the instant communication contacts information of corresponding instant messaging identifier is obtained.
If being fitted without instant communication client in present terminal, search engine client can not confirm use under this caseFamily identity, thus the instant communication contacts information that corresponding instant communication client obtains user can not be triggered.Therefore, userBefore inputting data to be searched, which is logged in by present terminal, after determining subscriber identity information, then into oneStep obtains the instant communication contacts information that user first passes through search engine client in advance or server saves.
Search engine client pre-set user registration service, user obtain unique search engine identifier by registration.After registration, the preservation of user's instant communication contacts information includes following two ways:
Mode one, user upload instant communication contacts information.Search engine client saves aforementioned information to clientIn end, or it is uploaded in corresponding system server and is saved.
The instant communication contacts information that user uploads includes at least the corresponding instant messaging identifier of the contact person, searchEngine client can confirm contact identity according to the instant messaging identifier, and being obtained by instant communication server shouldThe relevant information of contact person.
Certainly, user can carry out instant communication contacts therein when uploading its instant communication contacts informationScreening only uploads part of instant communication contacts information, i.e., only license is directed to part of instant communication contacts objectThe acquisition of relevant information operates.
Mode two, user only saved in search engine client or in corresponding system server its people i.e.When communications identities information.Search engine client obtains the instant of user by instant communication server according to aforementioned identity informationCommunication contact person information.
Particularly as a kind of embodiment for logging in identifier, user is when logging in search engine client except according to itIt registers outside the search engine identifier obtained, the instant messaging identifier of user also can be used.Pass through this login mode, searchEngine client can obtain the instant messaging identity information of user, and be from there through what instant communication server obtained userWhen communication contact person information.
For mobile communication contact person, whether corresponding step a-1 is first determined whether logical comprising corresponding movement in present terminalTelecommunication function module judges whether present terminal is mobile communication terminal, such as mobile phone, or includes mobile communication functionComputer terminal.If so, traversing mobile communication contacts list therein, the mobile communication contact information of user is obtained.
The mobile communication contacts list is the address list in mobile communication terminal, wherein having recorded the movement of userCommunication contact person information, including contact name, corresponding mobile communication identifier, and including address and other contact methodsRemark information inside.
When the present terminal that user uses is computer terminal, due to not including corresponding mobile communication function mould in terminalBlock, search engine client can not determine that the mobile communication of user corresponds to identity.Therefore, user is before inputting data to be searched,The search engine client is logged in by present terminal, after determining subscriber identity information, user is further obtained and first passes through in advanceThe mobile communication contact information that search engine client or server save.
Search engine client pre-set user registration service, user obtain unique search engine identifier by registration.After registration, user is saved its mobile communication contact information to local search engine client by search engine clientIt is interior, or be uploaded in search engine server.Similarly, user, can be only when uploading its mobile communication contact informationUpload part of mobile communication contact information.Accordingly, as a kind of embodiment, user is logging in search engine clientWhen except according to its registration obtain search engine identifier in addition to, also can be used user mobile communication identifier carry out login behaviourMake.
Step S104 screens contact person corresponding with region described in aforementioned region keyword, is exported by searched page.
After the communication contact person information for obtaining user, the region in the data to be searched determined in abovementioned steps S102 is comparedKeyword filters out contact person corresponding with region described in aforementioned region keyword from the communication contact person of user.
The confirmation of the corresponding region of the region keyword includes following three kinds of situations:
(1) region keyword is corresponded with corresponding region.The region that region keyword is stated is to be used to screenThe regional information of corresponding communication contact person.Such as user input data to be searched in include region keyword be " Beijing "When, the communication contact person information of user is compared, contact person relevant to " Beijing " this region is therefrom screened.
(2) corresponding region expands compared with region keyword range.The territorial scope that user screens corresponding communication contact person isTerritorial scope after point expands on the basis of the keyword of region.Such as user inputs the region keyword for including in data to be searchedWhen for " Tsinghua University ", the communication contact person information of user is compared, therefrom screening and " Haidian District " or " Beijing " this regionRelevant contact person.
Specifically, the size that the expansion operation of territorial scope can correspond to territorial scope according to current zone keyword carries outTriggering, when region, keyword corresponds to territorial scope smaller such as aforementioned " Tsinghua University ", triggering is corresponded to territorial scope identificationExpansion operation.The enlarged degree of territorial scope can be according to user using voluntarily adjusting, and default setting is to expand an administrationRegion rank, such as district is extended to by street, districts and cities etc. are extended to by district, or be uniformly extended to provincial administrative regionDeng.
(3) multiple region keywords.When including multiple region keywords in the data to be searched of user's input, confirm respectivelyRegional information corresponding to multiple region keywords, need to carry out territorial scope is widened carry out expansion operation after confirm correspondence againRegional information.
The a certain communication contact person of user decision whether corresponding with region described in the keyword of region is that foundation shouldWhether comprising regional information corresponding with region described in the keyword of region and this is logical in communication contact person data remark informationBelieve the progress whether corresponding with region described in the keyword of region of contact person's present position.
Regional information included in communication contact person data remark information includes in instant communication contacts dataThe regional information for including in the remark information that location message and user add manually;And mobile communication contact dataIn address information.
Specifically, whether the communication contact person present position is corresponding with region described in the keyword of region includesFollowing determination step:
Step b-1, terminal where current contacts, which is sent, in user communication contact list obtains its geographic locationThe request of information;
Step b-2, directly triggering or the terminal where triggering in the case where the terminal acquires and obtains aforementioned contact licensePositioning operation is carried out, the geographical location information that positioning obtains is pushed into search engine client;
Step b-3 is compared with the region keyword of user's input, determines that the communication contact person present position isIt is no corresponding with region described in the keyword of region.
Geographical positioning service in the prior art, so that computing terminal, which can be convenient, accurately obtains its position being currently locatedConfidence breath.
After the communication contact person information for obtaining user, by whole where search engine client to aforementioned communication contact personEnd sends request message, obtains its geographic location information.Particularly, for instant communication contacts, determining this immediatelyWhen communication contact person is in instant messaging presence, then it is sent to it request message.
Aforementioned communication contact person corresponds to communication terminal after receiving aforementioned request message, directly triggering in the terminalLocalization function module carries out positioning operation, and the geographical location information that positioning obtains is pushed to search engine client;Or it is rawAt the request message for reminding window output user, after the license that acquisition obtains corresponding communication contact person, triggering institute is in the terminalLocalization function module carry out positioning operation, then by positioning obtain geographical location information push to search engine client.
Search engine client by compare two at geography information whether unanimously come confirm the contact person whether be and the groundThe relevant corresponding relationship people in domain.Specifically, usual when judging since the position of current positioning operation acquisition is typically more detailedJudge whether contact person current location is in the corresponding territorial scope of the inputted region keyword of user, in the feelings for being judged to beingUnder condition, assert that the communication contact person present position is corresponding with region described in the keyword of region.For example, user's is a certain logicalBelieve contact person A present position be the main road Pudong New Area, Shanghai Long Dong near, user input region keyword be " onSea ", the former is located in the territorial scope of the latter, thus communication contact person A is the communication of corresponding " Shanghai " this region of userContact person.
Particularly, corresponding mobile communication contact person, judgment basis further include the mobile communication identifier ownership of the contact personWhether ground belongs to region described in the keyword of region.
If compare contact person's regional information and region described in the keyword of region whether to it is corresponding when contact person's regional information it is correspondingRegion is located in territorial scope described in the keyword of region, and when such as " Haidian District " correspondence " Beijing ", which belongs to " Beijing "The correspondence communication contact person of this region;If contact person's regional information corresponds to territorial scope greater than region model described in the keyword of regionIt encloses, when such as " Beijing " correspondence " Haidian District ", which is then not belonging to the correspondence communication contact person of " Haidian District " this region.Cause, when determining territorial scope described in the keyword of region, the corresponding territorial scope of expansion appropriate is conducive to screen more related logical for thisBelieve contact person.
After the corresponding communication contact person in region described in the region keyword for determining user's input, by with number to be searchedAccording to the searched page generated for keyword, aforementioned communication contact person is exported.According to the corresponding different communication side of contact person when outputFormula is classified, and exports the corresponding communication title of communication contact person respectively, convenient for user by corresponding communication customer end orTerminal searches corresponding relationship people.
It is further to use by searched page outside name information except through searched page output aforementioned communication contact personFamily provides the instant messaging interactive interface to engage in the dialogue with the communication contact person.The presentation mode of the instant messaging interactive interfaceIncluding following two:
Mode one exports the trigger control at user's communication interaction corresponding with communication contact person interface in searched page,After user is collected for the triggering message of the trigger control, the instant messaging friendship that user corresponds to the instant communication contacts is openedMutual interface.
The communication interaction interface refers to the instant messaging interactive interface between user and instant communication contacts, andShort message interface between user and mobile communication contact person.
Corresponding mobile communication contact person, this presentation mode are refered in particular to when present terminal is mobile communication terminal, search pageThe trigger control that short message interface between user and mobile communication contact person is exported in face, when the touching for collecting user and being directed to the controlAfter sending out message, SMS function module in triggering starting terminal opens the short message interface between user and mobile communication contact person,And by the screens switch in mobile communication terminal to the short message interface.
Corresponding instant communication contacts, present search engine client are equipped with instant communication client in the terminalIn the case of, preferred this presentation mode.After trigger control is triggered, the instant messaging in terminal is determined by access system processWhether client has been started up, and in the case where starting, triggering instant communication client opens user's Instant Messenger corresponding with controlBelieve the instant messaging interactive interface between contact person, and set foreground window for the instant messaging interactive interface, cursor is movedTo foreground window;If instant communication client not yet starts, instant communication client starting, login user Instant Messenger are triggeredAfter believing identifier, then trigger the instant messaging interaction circle opened between user's instant communication contacts corresponding with data to be searchedFace, and foreground window is set by the instant messaging interactive interface, cursor is moved in foreground window.
Particularly, when instant communication client remains with the login record of multiple instant messaging identifiers in terminal, rootRegister is carried out according to instant messaging identifier selected by user in abovementioned steps S103.
Mode two, it is described write to each other artificial instant communication contacts when, screen with described in aforementioned region keywordAfter the corresponding contact person in region, new Shipping Options Page, output user and region keyword pair are generated by search engine clientAnswer the interaction page between instant communication contacts.
Instant communication client is not yet installed in the terminal by corresponding instant communication contacts, present search engine client instituteIn the case where, preferred this presentation mode.It is opposite with region described in aforementioned region keyword screening in this way of outputAfter the contact person answered, the instant messaging interactive interface that user and the instant communication contacts object engage in the dialogue, be with webpage i.e.When communication form realize.In the prior art, the use of webpage version instant messaging tools is more universal.
Data to be searched and a certain instant communication contacts object of user are determined to after corresponding through step S102, and search is drawnBrowser client where holding up client triggering generates new Shipping Options Page, obtain webpage instant messaging tools address information andIt is opened in Shipping Options Page.According in abovementioned steps S102 user upload instant messaging identity information and it is aforementioned it is corresponding immediatelyCommunication contact person object information, log-on webpage instant messaging tools, and user is exported with before in aforementioned newly-generated Shipping Options PageState the interaction page between instant communication contacts object.
Particularly, corresponding instant communication contacts, two kinds of way of outputs can be combined.When the instant messaging filtered outWhen number of contacts is not unique, the triggering control at user's communication interaction corresponding with communication contact person interface is exported in searched pagePart further judges whether install Instant Messenger in present terminal after collecting triggering message of the user for the trigger controlBelieve client, triggered if not yet installing and generate new Shipping Options Page, between output user's instant communication contacts corresponding with controlInteraction page;If having installed, the instant messaging interactive interface that user corresponds to the instant communication contacts is opened.
Further, corresponding instant communication contacts, in addition to the region according to included in contact data remark information is believedBreath and contact person be currently located ground information judged it is outer, instant communication contacts whether with user's input region keyword instituteIt is corresponding to state region, can also sentence according to whether including the regional information in the relevant network information of instant communication contactsIt is disconnected, specifically comprise the following steps:
Step c-1 obtains net of the contact person based on instant messaging identifier according to user's instant communication contacts informationNetwork page address information;
Step c-2 traverses the data content in the aforementioned network page, is compared with the region keyword of user's input;
Step c-3 is compared and is determined that in Webpage include data corresponding with region described in aforementioned region keywordWhen content, which is regarded as into contact person corresponding with region described in aforementioned region keyword.
According to the instant messaging identifier and instant communication contacts name information of instant communication contacts, to being based onThe cyberspace that instant messaging identifier is established is retrieved, and the cyberspace includes the space forms such as blog, microblogging.TraversalThe data information in corresponding network space compares the region keyword of user's input, and judging, which whether there is in aforementioned network space, is somebody's turn to doThe data content corresponding with aforementioned region keyword of instant communication contacts input.
Such as region keyword or the corresponding region of region keyword " Beijing " of user's input, it is used by comparing retrievalIn the data content that family instant communication contacts input in its cyberspace, if having comprising " Beijing " this character informationData content, the data content of retrieval include the album name and photo annotation of network log and photo.Include when retrievingWhen the network log of the data content, which is related data content, if retrieving the phase comprising the data contentWhen volume title and/or photo annotate, corresponding one group or a photo are related data content.Correspondingly, the instant messagingContact person is user's instant communication contacts relevant to region " Beijing ".
Corresponding this kind of instant communication contacts, it is further defeated by searched page when being exported by searched pageOut in the contacts network page, judgement is compared in the abovementioned steps, it is opposite with region described in aforementioned region keywordAnswer data content.
Further, in aforementioned institute's Webpage data information corresponding with regional information can according to data information type intoIt is exported after row classification, such as picture data corresponding with region can unify corresponding " picture " catalogue and be exported.
As shown in Figure 2, in figure 200 be search engine client input according to user data to be searched generation searchThe rope page.The top of searched page 200 is correspondingly arranged on different page-tags 220, is currently at the Shipping Options Page of state of activationFor the searched page 200 that the data to be searched of corresponding user's input generate, the top of searched page 200 is provided with search engine passKeyword input field 210, what is exported in search engine keywords input field 210 is the data to be searched 211 " Shanghai " of user's input.
In searched page 200, the display area for searching for data is divided into two parts, and the left side is that web search data are defeatedRegion 230 out, the right are region corresponding relationship personal data output area 240.
What is exported in web search data output area 230 is carried out using data 211 " Shanghai " to be searched as keywordSearch data item 231 is obtained after network general search.Corresponding data 211 " Shanghai " to be searched, as shown in Figure 2, search obtainsNetwork data includes introduction, weather, tourism and the related news information in Shanghai etc..
Exported in region corresponding relationship personal data output area 240, in user's communication contact person with data to be searchedThe relevant contact information in the corresponding region in 211 " Shanghai ".
In the present embodiment, after user inputs data 211 " Shanghai " to be searched, determine whether the data character belongs to firstRegion keyword further confirms that user after the corresponding geographical area of confirmation input data 211 to be searched is Shanghai after determiningIdentity obtains user and corresponds to communication contact person information, passes through the data to be searched 211 of aforementioned contact information and user's inputThe comparison in " Shanghai " operates, and communication contact person relevant to " Shanghai " this region is screened out from it, in region corresponding relationship peopleIt is exported in data output area 240.
With the difference according to output data, region corresponding relationship personal data output area 240 is further divided into contact person's outputArea 241 and instant communication contacts network data output area 242.
For contact person output area 241, since communication contact person includes instant communication contacts and mobile communication contact personTwo types, therefore the communication contact person filtered out is in output, it is defeated after further being classified according to the difference of communication modeOut.As shown in Figure 2, instant communication contacts are divided into contact person output area 241 and mobile communication contact person two exports greatlyCatalogue exports user respectively and corresponds to the category under each catalogue, communication contact person relevant to " Shanghai " this region.Communication contact person is in output, logical convenient for user to export the entitled main output mode of corresponding communication of communication contact personIt crosses corresponding communication customer end or terminal searches corresponding relationship people.
Particularly, the corresponding communication contact person filtered out is for exporting communication title, in output, corresponding output areaTrigger control 250 is exported in domain, and the communication title of communication contact person is shown in trigger control 250.It is somebody's turn to do when collection to user is directed toAfter the click or touch operation of trigger control 250, triggering present terminal opens user and the communication of the communication contact person object is handed overMutual interface.
Above-mentioned numerous types of data shown in Fig. 2 is only for example rather than limits in the arrangement mode of searched page output positionIt is fixed.
Special, corresponding instant communication contacts trigger generation if not installing instant communication client in present terminalNew Shipping Options Page exports the interaction page between user's instant communication contacts corresponding with region keyword.Such as collecting useAfter family is for the triggering message of trigger control 250 " Ted ", as shown in Figure 2, in the corresponding page mark of the current search page 200It signs on the right side of 220 " search ", output has page-tag 220 " Ted ".With network in the new Shipping Options Page of corresponding page label 220 " Ted "Instant messaging interaction page between the form output user of the instant messaging page and instant communication contacts object " Ted ",After page-tag 220 " Ted " is activated, aforementioned interaction page is shown by the current search page 200.
For because being determined as region correlation in the relevant network information of instant communication contacts comprising the regional informationThe contact person of contact person, when being exported by searched page 200, in instant communication contacts network data output area 242, into oneStep exports in the Webpage of the contact person, through comparing judgement in the aforementioned method steps, with aforementioned region keyword instituteState the corresponding data content in region.
Picture, blog and the micro-blog information exported in instant communication contacts network data output area 242, for based on aforementionedIt is issued in the blog and microblogging of the instant messaging identifier setting of instant communication contacts related to " Shanghai " this regionPicture and the data informations such as network log.
Particularly, since the communication contact person of retrieval includes two class of instant communication contacts and mobile communication contact person,In practical application there is the two correspond to the same social object of user situation or two or more mobile communication contact personsOr instant communication contacts correspond to same social object.Therefore searched page is corresponding with region described in the keyword of region in outputCommunication contact person when, further determine the instant communication contacts filtered out and/or whether there is in mobile communication contact personThe contact object of corresponding same identity attribute, in case of presence, by the instant communication contacts and/or mobile communicationContact person's position output adjacent in searched page.
Whether the instant communication contacts and/or mobile communication contact person correspond to same identity attribute, pass through such as lower sectionOne of formula determined,
Mode 1, acquisition user correspond in the mobile communication contact information of region keyword whether remarks have it is corresponding i.e.When means of communication identifier;
In the case where having, mobile communication contact person instant messaging corresponding with instant messaging tools identifier is joinedIt is that people is identified as same identity attribute, and by the output information of aforementioned mobile communication contact person and instant communication contacts, in phaseAdjacent position output;
For example, being believed by the data remarks that information collection obtains the mobile communication contact person A that user corresponds to region keywordIt is stored with a certain instant messaging tools identifier XXXXX in breath, and to correspond to user another by instant messaging tools identifier XXXXXThe instant communication contacts B of corresponding region keyword, then mobile communication contact person A is corresponding with instant communication contacts B sameIdentity attribute, when exporting communication contact person corresponding with region described in the keyword of region by searched page, by aforementioned communicationContact person A and B is exported in adjacent position.Communication contact person is when carrying out classification output according to mobile communication and instant messaging, instituteState adjacent position both to refer to when belonging to corresponding types, be exported at a distance of closer position, for example, mobile communication contact person withAbove and below instant communication contacts when classification output, contact person A is located at the bottom of mobile communication output area, and contact person B is located at i.e.The top of Shi Tongxin output area.
As shown in Figure 2, in the present embodiment through determining to learn instant communication contacts " Ted " and the movement of corresponding userThe corresponding same identity attribute of communication contact person " Li Hua ", thus when being exported by searched page 200, since mobile communication contactsFor people with when classification exports above and below instant communication contacts, instant communication contacts " Ted " are located at the bottom of instant messaging output areaPortion, mobile communication contact person " Li Hua " are located at the top of mobile communication output area.Particularly, as shown in the figure, two communicationThe corresponding trigger control 250 of contact person output when carry out differentiation show, with identify two communication contact persons correspond to it is sameIdentity attribute.
Mode 2, acquisition user correspond in the instant communication contacts information of region keyword whether remarks have corresponding shiftingDynamic communication identification number;
In the case where having, by instant communication contacts mobile communication contact person corresponding with mobile communication identifierIt is identified as same identity attribute, and by the output information of aforementioned instant communication contacts and mobile communication contact person, adjacentPosition output;
Corresponding manner 1, the data for obtaining the instant communication contacts B that user corresponds to region keyword by information collection are standbyMobile communication identifier YYYYYYYYYYY is stored in note information, and the mobile communication facility identifier YYYYYYYYYYY is correspondingUser's another pair answers the mobile communication contact person A of region keyword, then instant communication contacts B and mobile communication contact person ACorresponding same identity attribute will when exporting communication contact person corresponding with region described in the keyword of region by searched pageAforementioned communication contact person B and A is exported in adjacent position.
Mode 3, acquire a certain corresponding region keyword of user instant communication contacts information in whether remarks have it is otherThe identifier of instant messaging tools;
In the case where having, the two is identified as to correspond to same identity information, and aforementioned a certain instant messaging is contactedThe output information of people and aforementioned other instant communication contacts are exported in adjacent position.
What this mode determined is, if the case where corresponding to same identity information there are multiple instant communication contacts.It is logicalOther stored in the data remark information for the instant communication contacts C that information collection acquisition user corresponds to region keyword are crossed to lead toLetter tool identifier ZZZZZZZ is determined to learn that instant messaging identifier ZZZZZZZ corresponds to user's another pair and answers region crucialThe instant communication contacts D of word, then instant communication contacts C same identity attribute corresponding with instant communication contacts D, passes throughWhen searched page exports communication contact person corresponding with region described in the keyword of region, by aforementioned instant communication contacts C and DIt is exported in adjacent position.It should be noted that the corresponding instant messaging tools of instant communication contacts here might not oneIt causes.
Particularly, corresponding in searched page when in the data to be searched of user's input including multiple region keywordsEach region keyword exports multiple region corresponding relationship personal data output areas 240 respectively, exports in each output area 240The contact data information of the corresponding region.
Step S105 scans for inquiry operation using data to be searched as search key.
If judging through step S102, does not include region keyword in the data to be searched of user's input, then assert useFamily this search operation be general search, using the data to be searched be used as search key, pass through search engine obtain correspondenceWeb search message, and exported by searched page.
It is as shown in Figure 3 a kind of terminal structure frame that communication contact person is obtained by search engine of the present inventionFigure.As shown in figure 3, the terminal 300 comprises the following structure:
Data acquisition unit 310, the data to be searched inputted to acquire user by search engine client;
Keyword judging unit 320, to determine whether data to be searched above-mentioned include region keyword;
Contact person screens output unit 330, and in the case where being judged to being through keyword judging unit 320, acquisition is obtainedUser's communication contact person therefrom screens contact person corresponding with region described in aforementioned region keyword, defeated by searched pageOut.
The corresponding contact person screens output unit 330, is also provided with same contact person's determination module 331, toPass through acquisition identification user mobile communication contact person corresponding with region keyword or the remarks letter of instant communication contactsIn breath, if it include corresponding another instant messaging tools corresponding with region keyword or mobile communication identifier,The contact person for determining whether to have corresponding same identity attribute, in the case where being determined as is, by the corresponding instant messagingContact person and/or mobile communication contact person position output adjacent in searched page.
The corresponding contact person screens output unit 330, is also provided with interactive interface control generation module 332, usesTo generate the trigger control at user human world communication interaction interface of writing to each other corresponding with region described in the keyword of region, acquiringAfter being directed to the triggering message of the trigger control to user, the communication interaction interface that user corresponds to the communication contact person is opened in triggering.
The corresponding contact person screens output unit 330, is also provided with position information acquisition module 333, toTerminal sends the request for obtaining its geographic location information where contact person in user communication contact list, directly triggersOr in the case where the terminal acquires and obtains aforementioned contact license, terminal where triggering carries out positioning operation, receives from aforementionedThe geographical location information of terminal push, and judge whether corresponding with the region keyword that user inputs.
The corresponding contact person screens output unit 330, is also provided with network data corresponding relationship people and screens mould334, to when write to each other artificial instant communication contacts when, according to user's instant communication contacts information, obtain the connectionWebpage address information of the people based on instant messaging identifier traverses the data content in the aforementioned network page, defeated with userThe region keyword entered is compared, and will include number corresponding with region described in aforementioned region keyword in the corresponding network pageContact person corresponding with region described in aforementioned region keyword is regarded as according to the instant communication contacts of content.
For a kind of realization process for obtaining communication contact person method by search engine of the present invention, counterpart terminalDetails are as follows for each functional module in 300:
Firstly, user inputs data to be searched by the interface that the search engine client in currently used terminal generates.Data acquisition unit 310 acquires the data to be searched of aforementioned user's input, transfers to analyze it judgement.
Keyword judging unit 320 passes through semantic analysis, fuzzy matching and feature extraction etc. at least one of method,Determine in the data to be searched whether to include region keyword, and determines the corresponding territorial scope of region keyword.
Then, triggering contact person screens output unit 330 by the communication contact list in traversal present terminal, orRead the user's communication contact person information saved in search engine client or server, obtain user communication contact person andIts relevant information.Further according to the territorial scope that keyword judging unit 320 determines, compared with aforementioned communication contact person's row.TherefromContact person corresponding with region described in aforementioned region keyword is screened, is exported by searched page.
Determine whether the contact person belongs to described in aforementioned region keyword in the present position according to communication contact personWhen the corresponding contact person in region, from position information acquisition module 333 to contact person screen output unit 330 acquired in userTerminal sends the request for obtaining its geographic location information where communication contact person.Particularly, for instant communication contacts,Preferred pin sends request to terminal where being currently at the instant communication contacts of presence.Where instant communication contacts eventuallyIt upon receiving a request, directly triggers or obtains positioning function in the case that aforementioned contact is permitted in triggering terminal in acquisition in endModule carries out positioning operation, and the geographical location information for positioning acquisition pushes to user's present terminal, obtains mould by location informationIt is corresponding with the region keyword that user inputs that block 333 judges whether.
According in user's instant communication contacts network of relation data whether comprising aforementioned region to screen contact person when,Mould 334 is screened by network data corresponding relationship people, according to user's instant messaging connection acquired in contact person's screening output unit 330It is people's information, further obtains Webpage address information of the contact person based on instant messaging identifier.It is aforementioned by traversingData content in Webpage determines that region keyword is compared with keyword judging unit 320, by the corresponding network pageIn include that the instant communication contacts of data content corresponding with region described in aforementioned region keyword are regarded as with aforementionedThe corresponding contact person in region described in the keyword of domain.
Specifically, after search determines communication contact person corresponding with region described in the region keyword that user inputs,The data exported in searched page, by interactive interface control generation module 332, are being searched in addition to including communication contact person identity informationIt is arranged in the rope page for generating user human world communication interaction interface of writing to each other corresponding with region described in the keyword of regionTrigger control, after collecting triggering message of the user for the trigger control, triggering opens user and corresponds to the communication contact personCommunication interaction interface.
Particularly, trigger control set by interactive interface control generation module 332, is preferably arranged in searched pageThe corresponding communication name information for showing its triggered interactive interface corresponding relationship people realizes connection while trigger control is arrangedIt is the output of people's identity information.
In addition, the case where identity attribute same there may be correspondence due to multiple communication contact persons of user, withBefore region corresponding relationship people output, by same contact person's determination module 331, by acquisition, identification user is opposite with region keywordIn the remark information of the mobile communication contact person or instant communication contacts that answer, if include that corresponding another and region is closedThe corresponding instant messaging tools of keyword or mobile communication identifier, the connection for determining whether to have corresponding same identity attributePeople, in the case where being determined as is, the corresponding instant communication contacts and/or mobile communication contact person are being searched in triggeringAdjacent position output in the page.When output contact person corresponds to trigger control, sentenced by same contact person's determination module 331 according to itDetermine as a result, interactive interface control generation module 332 is triggered, by the corresponding trigger control of the same identity attribute contact person of correspondence in neighbourNear position output.
It is the description of this invention above and non-limiting, the other embodiments based on inventive concept, of the inventionAmong protection scope.