CN103678292B - A kind of method and apparatus for being ranked up based on location information - Google Patents

A kind of method and apparatus for being ranked up based on location information Download PDF

Info

Publication number
CN103678292B
CN103678292B CN201210314115.9A CN201210314115A CN103678292B CN 103678292 B CN103678292 B CN 103678292B CN 201210314115 A CN201210314115 A CN 201210314115A CN 103678292 B CN103678292 B CN 103678292B
Authority
CN
China
Prior art keywords
sequence
information
entity
location information
region
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
CN201210314115.9A
Other languages
Chinese (zh)
Other versions
CN103678292A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210314115.9A priority Critical patent/CN103678292B/en
Publication of CN103678292A publication Critical patent/CN103678292A/en
Application granted granted Critical
Publication of CN103678292B publication Critical patent/CN103678292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Abstract

The object of the present invention is to provide a kind of method and apparatus for being ranked up based on location information.The present invention obtains the LBS location informations of search sequence input by user and the mobile terminal according to the searching request from mobile terminal;And according to described search sequence, judge whether it has region demand;And when judging that described search sequence has region demand, the entity location information of entity according to corresponding to the link information at least one search result that gained is scanned for based on described search sequence, and, based on the location information for the mobile terminal that the LBS location informations determine, the sequence of all or part of search result at least one search result is determined;And send the search result after sequence to the mobile terminal.The present invention enables to ranking results that can preferably meet the demand that user wishes the relevant information of region or the object close with region where it where obtaining it.

Description

A kind of method and apparatus for being ranked up based on location information
Technical field
The present invention relates to field of computer technology more particularly to a kind of method for being used to be ranked up based on location information and Device.
Background technology
When user is scanned for using mobile terminal, region or the object close with the region where obtaining it are wished Relevant information possibility it is higher.For example, when user searches for dining room or shop on mobile terminals, it is often desirable to obtain Relevant information in close dining room or shop with region where it.
It can interpolate that whether user wishes region or close with the region where obtaining it however, lacking in the prior art The technology of the relevant information of object also lacks the search of region or the entity close with the region where providing it to mobile terminal As a result technology.
The content of the invention
The object of the present invention is to provide a kind of method and apparatus for being ranked up based on location information.
According to an aspect of the present invention, a kind of method for being ranked up based on location information is provided, wherein, it should Method comprises the following steps:
A obtains search sequence input by user and the mobile terminal according to the searching request from mobile terminal LBS location informations;
B judges whether it has region demand according to described search sequence;
C scans for gained when judging that described search sequence has region demand, according to based on described search sequence The entity location information of entity corresponding to the link information of at least one search result and, based on the LBS location informations The location information of the definite mobile terminal determines the row of all or part of search result at least one search result Sequence;
D sends the search result after sequence to the mobile terminal.
According to another aspect of the present invention, a kind of sequence dress for being ranked up based on location information is additionally provided It puts, wherein, which includes:
Acquisition device, for obtaining search sequence input by user and described according to the searching request from mobile terminal The LBS location informations of mobile terminal;
First judgment means, for according to described search sequence, judging whether it has region demand;
Sort determining device, for when judge described search sequence with region demand when, according to based on described search sequence Row scan for gained at least one search result link information corresponding to entity entity location information and, base In the location information for the mobile terminal that the LBS location informations determine, determine at least one search result all Or the sequence of partial search results;
Sending device, for sending the search result after sequence to the mobile terminal.
Compared with prior art, the present invention has the following advantages:1) it can identify that the search sequence with region demand is It is no that there is region demand, it is whole so as to the provider location and movement of the entity corresponding to the link information in search result The distance of the position at end to determine the sequence of search result, wishes to obtain so that ranking results can preferably meet user The demand of the relevant information of region or the object close with region where it where obtaining it;2) present invention employs LBS positions letters It ceases to determine user location so that the accuracy of user location positioning and precision are far above the IP address used in the prior art and determine Position mode;3) webpage can be crawled automatically and relatively accurately determines the entity location information in webpage;4) network can be identified The stereotropic Internet resources of middle finger, so that it is determined that needing therefrom to obtain the Internet resources of entity location information;5) by obtaining ground Domain demand estimation auxiliary information can recognize that the search sequence of implicit region demand;6) region is included to multiple by selection The sequence information of the text of feature carries out the short text for not having regional feature in the short text obtained by cutting word, can obtain itself Region demand sequence without regional feature but implicit region demand.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is one aspect of the invention for the method flow diagram that is ranked up based on location information;
Fig. 2 is a preferred embodiment of the invention for the method flow diagram that is ranked up based on location information;
Fig. 3 is one aspect of the invention for the structural representation for the collator being ranked up based on location information Figure;
Fig. 4 is a preferred embodiment of the invention for the structure for the collator being ranked up based on location information Schematic diagram.
The same or similar reference numeral represents the same or similar component in attached drawing.
Specific embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 is one aspect of the invention for the method flow diagram that is ranked up based on location information.According to this reality Applying the method for example includes step S1, step S2, step S3 and step S4.Wherein, the method for the present embodiment is mainly set by network It is standby to realize;The network equipment includes but not limited to single network server, the server group of multiple network servers composition Or the cloud being made of a large amount of computers or network server based on cloud computing (Cloud Computing), wherein, cloud computing is One kind of Distributed Calculation, a super virtual computer being made of the computer collection of a group loose couplings;The network is set Standby residing network includes but not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, VPN network etc..
It should be noted that the computer equipment and network are only for example, other are existing or are likely to occur from now on Computing device or network are such as applicable to the present invention, should also be included within the scope of the present invention, and include by reference In this.
In the present invention, mobile terminal sends searching request.
In step sl, the network equipment according to the searching request from mobile terminal obtain search sequence input by user with And the LBS location informations of the mobile terminal.
Preferably, the mobile terminal includes but not limited to laptop, tablet computer, smart mobile phone, PDA etc.;Institute It states LBS location informations and includes but not limited to the radio communication network for passing through telecommunications mobile operator, such as GSM nets, CDMA net, Or external positioning method, such as GPS, come the location information of mobile terminal obtained.
Wherein, the network equipment can directly obtain described search sequence from searching request;Also, the network equipment also can be direct LBS location informations are obtained from searching request, alternatively, the mobile terminal identity that the network equipment can be included first according to searching request is believed Breath, such as cell-phone number, exclusive identification code to identify mobile terminal, then obtain before this step performs and have been provided to the network equipment The mobile terminal identified LBS location informations.Preferably, which can pass through the networks such as internet by mobile terminal The network equipment is transmitted directly to, also can be transmitted to network by server of telecommunications mobile operator etc. by mobile terminal sets It is standby.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that searching request of any basis from mobile terminal obtains search sequence input by user The realization method of the LBS location informations of row and the mobile terminal, should be included in the scope of the present invention.
Then, in step s 2, the network equipment judges whether it has region demand according to the search sequence obtained.
Wherein, there is search sequence search result that region requirement representation obtained based on the search sequence and/or search to tie The sequence needs of fruit change according to mobile terminal affiliated region.
Specifically, the network equipment judges whether the mode with region demand includes for it according to the search sequence obtained But it is not limited to:
1) network equipment judges whether search sequence includes the text message with regional feature, and works as and judge the search sequence When row are comprising the text message with regional feature, judge it with region demand.Preferably, the text with regional feature This information may include that any regional information or the information included of including has regional text message;For example, such as Beijing, The region names such as Shanghai, XX dining rooms, XX museums etc. have regional physical stores, venue etc..
For example, the search sequence obtained includes " Shanghai's tourism sight spot ", then the network equipment judges that the search sequence includes Regional information " Shanghai " has region demand.
In another example the search sequence obtained includes " Xin Xiang remittances ", the network equipment is determined by query entity firm name " Xin Xiang remittances " is physical stores, then the network equipment judges that " Xin Xiang remittances " includes the text message with regional feature, has region Demand.
2) network equipment obtains its region demand estimation auxiliary information according to described search sequence, and according to the region Demand estimation auxiliary information, judges whether described search sequence has region demand.This realization method will be real with reference to shown in Fig. 2 It applies in example and is described in detail, it will not be described here.
3) network equipment can perform above two judgment mode simultaneously.For example, whether the network equipment both judges search sequence Comprising the text message with regional feature, the region demand estimation auxiliary information of search sequence is also obtained, and works as and judges search Sequence includes the text message with regional feature, has alternatively, region demand estimation auxiliary information meets definite search sequence During the condition of region demand, determine that search sequence has region demand.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that it is any according to the search sequence obtained, judge whether it has the reality of region demand Existing mode, should be included in the scope of the present invention.
In step s3, when judging that described search sequence has region demand, the network equipment is according to based on described search Sequence scan for gained at least one search result link information corresponding to entity entity location information and, Based on the location information for the mobile terminal that the LBS location informations determine, determine complete at least one search result Portion or the sequence of partial search results.Preferably, the entity include have regional entity, as retail shop, one it is regional Weather, various venues, tourist attractions etc..
Preferably, the entity location information of the entity corresponding to the link information of search result can be before the execution of this step Pre-determining, then the network equipment can be inquired about directly and obtain entity location information in this step;Alternatively, the network equipment can be based in advance Set pattern then, obtains the entity location information included in the Internet resources that link information is linked in real time, and as link The entity location information of entity corresponding to information.Wherein, the network equipment obtain the mode of entity location information in real time will be rear It is described in detail in continuous embodiment, it will not be described here.
Specifically, when the network equipment judges that described search sequence has region demand, carried out according to based on search sequence Search for gained at least one search result link information corresponding to entity entity location information and, based on described The location information for the mobile terminal that LBS location informations determine determines completely or partially to search at least one search result As a result the mode of sequence includes but not limited to:
1) provider location and mobile terminal of entity of the network equipment directly according to corresponding to the link information of search result Position distance, to be ranked up to all or part of search result at least one search result.
For example, the network equipment, which is based on search sequence " the first general merchandise of Shanghai ", obtains 4 search results, and it is pre- to inquire about acquisition The entity location information of entity corresponding to definite, 4 search results link information;Then the network equipment is according in step The LBS information of the mobile terminal obtained in S1, and the entity location information of 4 entities is combined, calculate mobile terminal and 4 realities Air line distance between body, and according to distance by closely to remote order, to search belonging to the link information corresponding to 4 entities As a result it is ranked up.
In another example the network equipment, which is based on search sequence " the first general merchandise of Shanghai ", obtains 100 search results, and inquire this There are 4 search results in 100 search results to exist corresponding to pre-determining, 4 search results link information The entity location information of entity;Then network equipment sortord according to prior art, arranges 100 search results Sequence, and according to the LBS information of the mobile terminal obtained in step sl, with reference to the entity location information of 4 entities, calculate movement Air line distance between terminal and 4 entities, and according to the distance of air line distance, adjust the link corresponding to 4 entities Position of the affiliated search result of information in 100 search results, such as by the air line distance of corresponding entity at 1 kilometer The sequence of the search result of interior link information raises 10, by link information of the corresponding air line distance in 1-3 kilometers The sequence of search result raise 5, by sequence of the corresponding air line distance more than the search result of 5 kilometers of link information Lower 10 etc..
2) when judging that described search sequence has region demand, the network equipment is searched according to based on described search sequence The entity location information of entity corresponding to the link information of at least one search result obtained by rope and based on LBS described The location information of the definite mobile terminal of confidence breath, and with reference to described search sequence and at least one search result it Between matching degree, determine at least one search result the sequence of all or part of search result.
Wherein, the matching degree is mainly by the degree of correlation between described search sequence and described search result Lai really It is fixed.
For example, the network equipment, which is based on search sequence " the first general merchandise of Shanghai ", obtains 100 search results, and inquire this There are 4 search results in 100 search results to exist corresponding to pre-determining, 4 search results link information The entity location information of entity;Then the network equipment is according to the degree of correlation between search sequence and each search result, to this 100 A search result is ranked up, and according to the LBS information of the mobile terminal obtained in step sl, with reference to the entity of 4 entities The road map information of region, calculates and is moved along road from mobile terminal described in location information and mobile terminal and 4 entities The displacement distance to 4 entities is moved, and according to the distance of displacement distance, adjusts the link letter corresponding to 4 entities Position of the search result belonging to breath in 100 search results, the link as corresponding to by the nearest entity of displacement distance The sequence of the affiliated search result of information is adjusted within first 5, and the link corresponding to by entity of the displacement distance in 1 kilometer The sequence of the search result of information raises 5, by the search of the link information corresponding to entity of the displacement distance in 1-3 kilometers As a result sequence raises 5 etc..
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that it is any when judging that described search sequence has region demand, it is searched according to based on described Suo Xulie scans for the entity location information of the entity corresponding to the link information of at least one search result of gained, with And the location information of the mobile terminal determined based on the LBS location informations, it determines at least one search result The realization method of the sequence of all or part of search result, should be included in the scope of the present invention.
Then, in step s 4, the network equipment sends the search result after sequence to mobile terminal.
It should be noted that the search result after all sequences can be sent to user equipment by the network equipment;Alternatively, network Preceding 10 search results also such as can be sent to user equipment, for another example basis by equipment only by the search result after part sequence 11-20 search results are sent to user equipment by the search result items sequencing horizon of user's selection.
Then, received search result is presented to the user by mobile terminal.
Whether the present invention can identify the search sequence with region demand with region demand, so as to according to search As a result the provider location of the entity corresponding to link information in and the distance of the position of mobile terminal, to determine search result Sequence, so that ranking results, which can preferably meet user, wishes region where obtaining it or close with region where it The demand of the relevant information of object.In addition, present invention employs LBS location informations to determine user location so that user location The accuracy of positioning and precision are far above the IP address positioning method used in the prior art.
As one of the preferred embodiment of the present invention, method of the invention further includes step S5.
In step s 5, the network equipment is based on the first pre-defined rule, obtains the net that pending link information is linked to The entity location information included in network resource, and as the entity location information of the entity corresponding to the link information. Wherein, the Internet resources include but not limited to webpage etc..The pending link information can be by manually providing, also can be by institute The network equipment or other equipment are stated by crawling webpage to obtain.
Wherein, first pre-defined rule refers at least one of following because usually obtaining the entity location information:
1) precalculated position belonging to entity location informations determined based on pending link information, in Internet resources.
Specifically, the network equipment matches the link information of Internet resources with multiple pre-determined link information, and determining should The matched pre-determined link information of link information institute energy, and determine that the provider location in Internet resources is believed according to the pre-determined link information Precalculated position belonging to breath.
For example, pending link information is " http://dealer.zol.com.cn/detail/1363/136281_ 315637.html " is directed toward webpage A;The link information and multiple link informations are carried out prefix matching by the network equipment, are obtained It being capable of matched pre-determined link information " http://dealer.zol.com.cn/detail/ ", the pre-determined link information correspond to The one web page template information for having marked the precalculated position belonging to entity location information;Then the network equipment is by searching for predetermined with this The corresponding web page template information of link information, it is Web page module a to determine the precalculated position in webpage A belonging to entity location information; Then, the network equipment accesses pending link information " http://dealer.zol.com.cn/detail/1363/ 136281_315637.html ", and the text message in Web page module a is captured, as corresponding to pending link information The entity location information of entity.
It should be noted that pending link information may can match multiple pre-determined link information, then the network equipment It may be selected and the pending highest link information of link information matching degree;Alternatively, the network equipment can be respectively according to multiple predetermined Link information determines the precalculated position belonging to multiple entity location informations, and passes through and judge pointed by pending link information With the presence or absence of the plurality of precalculated position in Internet resources, for example, Internet resources are webpage, precalculated position is expressed as having certain knot During the position relationship of the Web page module of structure and the Web page module and other Web page modules, judge that webpage whether there is and pre-determined bit It puts and is consistent with Web page module etc., to determine the actual precalculated position belonging to entity location information.
2) predetermined entity location information form.
For example, predetermined entity location information form includes " ... area ... road ... number ".The network equipment accesses Pending link information, and obtain the text message that can wherein match with predetermined entity location information form, as treating The entity location information of entity corresponding to the link information of processing.
It should be noted that the network equipment can combine above-mentioned two factors, obtain pending link information and linked to Internet resources in the entity location information that includes.For example, what the first basis of the network equipment was determined based on pending link information The precalculated position belonging to entity location information in Internet resources obtains the text message in Internet resources, further from institute Screening meets the text message of predetermined entity location information form in the text message of acquisition, as pending link information institute The entity location information included in the Internet resources linked to.
It should be noted that the mode of entity location information is obtained in this step, available for acquisition in real time in step s3 The entity location information of the entity corresponding to link information in search result.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any be based on the first pre-defined rule, obtains what pending link information was linked to The entity location information included in Internet resources, and as the entity location information of the entity corresponding to the link information Realization method, should be included in the scope of the present invention.
Since the Internet resources for the same subregion for belonging to same website or same website often have similar structure, thus it is same Entity location information in the Internet resources of one website or same subregion is often positioned in a fixed position.Therefore, chain can be passed through Information is connect to determine Internet resources affiliated web site or website subregion, so that it is determined that the precalculated position belonging to entity location information.And And since entity location information is specific address, therefore it is typically compliant with certain address format, such as (... city) ... Area ... road (... do) ... number etc., therefore, by judging it is predetermined whether the text message in Internet resources meets Entity location information form also can determine the entity location information in internet resource.
The present embodiment enables the network equipment to crawl webpage automatically and relatively accurately determines the provider location in webpage Information.
Preferably, in previous embodiment, step S6 is further included before step S5, the step 5 includes step S5 '.
In step s 6, the Internet resources that the network equipment is linked to according to link information and/or link information, judgement are No needs obtain the entity location information from Internet resources.
Specifically, the network equipment according to link information whether can match pre-determined link information and/or, link information institute Whether the Internet resources linked to have entity correlated characteristic, judge whether to need to obtain the entity from the Internet resources Location information.Wherein, the entity correlated characteristic includes any letter that can reflect Internet resources and have the stereotropic feature of finger Breath;For example, comprising the predetermined entities title such as physical stores, venue and comprising meeting predetermined entity information bit in Internet resources Put the text message of form;Preferably, when entity correlated characteristic may also include such as name of the dish, electronic product title, opening/business Between, the entity declaration feature of entities recommended information such as user's evaluation etc..
For example, link information is " http://dealer.zol.com.cn/detail/1363/136281_ 315637.html ", the network equipment can match pre-determined link information " http according to it://dealer.zol.com.cn/ Detail/ " judges to need to obtain the entity location information from the Internet resources that it is linked to.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any Internet resources linked to according to link information and/or link information, sentence It is disconnected whether to need to obtain the realization method of the entity location information from Internet resources, it should be included in the scope of the present invention It is interior.
In step S5 ', when judging to need to obtain the entity location information from the Internet resources, based on described First pre-defined rule obtains the entity location information included in the Internet resources that link information is linked to, and as institute State the entity location information of the entity corresponding to link information.Wherein, chain is obtained based on first pre-defined rule in this step Connect the entity location information included in the Internet resources that information is linked to, and the reality corresponding to as the link information The mode of the entity location information of body is described in detail in the specification to previous embodiment step S5, and details are not described herein.
The present embodiment can identify the stereotropic Internet resources of network middle finger, so that it is determined that needing therefrom to obtain provider location The Internet resources of information.
Fig. 2 is a preferred embodiment of the invention for the method flow diagram that is ranked up based on location information.This Embodiment includes step S1, step S2, step S3 and step S4, wherein, step S2 further comprises step S21 and step S22.
Step S1 is described in detail with reference to the embodiment shown in FIG. 1, and details are not described herein.
In the step s 21, the network equipment obtains its region demand estimation auxiliary according to the search sequence obtained in step S1 Information.Wherein, whether the region demand estimation auxiliary information includes any auxiliary judgment search sequence that can be used in ground The information of domain demand.
Specifically, the network equipment is according to search sequence, and obtaining the mode of its region demand estimation auxiliary information is included but not It is limited to:
1) the short text extension information of region demand estimation auxiliary information including described search sequence, the network equipment is according to searching Suo Xulie obtains its short text extension information.
Specifically, the short text that the network equipment can obtain the described search sequence of pre-determining or the search sequence is included Short text extension information, alternatively, the network equipment can in real time to search sequence carry out short text extension, with obtain its short text expansion Open up information.
For example, the network equipment extends information bank by inquiring about the short text of pre-determining, obtaining search sequence, " mobile phone is special Sell " short text extension information " sale monopoly of Nokia mobile phone, iPhone sale monopoly, the sale monopoly of Samsung mobile phone, the sale monopoly of Shanghai mobile phone, hand Machine quotation, mobile phone complete works, the sale monopoly of Zhong Guan-cun mobile phone ".
Those skilled in the art should be able to determine to carry out short text extension to search sequence according to actual conditions and demand Mode, details are not described herein.
2) demand estimation auxiliary information in region includes query result obtained by based on described search sequence, the network equipment according to Described search sequence is inquired about in the demand sequence storehouse of region, obtains query result, wherein, the predetermined region demand sequence Row storehouse has determined that the region demand sequence with region demand comprising multiple.
Wherein, can the query result obtained by being inquired about based on search sequence in the demand sequence storehouse of region can be represented The region demand sequence to match with search sequence is inquired in the demand sequence storehouse of region.For example, query result is " NULL " table Show the region demand sequence for not inquiring in the demand sequence storehouse of region and matching with search sequence;In another example query result is " YES " then represents that the region demand sequence to match with search sequence can be inquired in the demand sequence storehouse of region;In another example Query result then represents to inquire in the demand sequence storehouse of region including region demand sequence " Xin Xiang remittances " and search sequence Region demand sequence " Xin Xiang remittances " to match etc..
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that it is any according to search sequence, obtain the realization side of its region demand estimation auxiliary information Formula should be included in the scope of the present invention.
Then, in step S22, the network equipment judges that described search sequence is according to region demand estimation auxiliary information It is no that there is region demand.
Specifically, the network equipment judges whether described search sequence has region according to region demand estimation auxiliary information The mode of demand includes but not limited to:
1) the region demand estimation auxiliary information obtained in the step s 21 includes the short text extension letter of described search sequence Whether breath, the network equipment include the text message with regional feature by judging that short text extends, are searched described in judgement in information Whether Suo Xulie has region demand.
Specifically, the network equipment extends whether at least one short text in information is included with ground by judging short text The text message of characteristic of field, to judge whether described search sequence has region demand.Wherein, the network equipment judges that short text is The no mode for including the text message with regional feature, with the realization method 1 with reference to embodiment illustrated in fig. 1 step S2) in net Network equipment judges search sequence, and whether the mode comprising the text message with regional feature is same or similar, no longer superfluous herein It states.
For example, the network equipment obtains the short text extension information " Nokia of search sequence " mobile phone sale monopoly " in the step s 21 Mobile phone sale monopoly, the sale monopoly of Iphone mobile phones, the sale monopoly of Samsung mobile phone, the sale monopoly of Shanghai mobile phone, quotation for cell-phones, mobile phone complete works, Zhong Guan-cun hand Machine is had a monopoly in ";Then the network equipment by judge short text extend information in include with regional feature text message " Nokia ", " Iphone ", " Samsung ", " Shanghai " and " Zhong Guan-cun " judges that search sequence " mobile phone sale monopoly " has region demand.
Since short text extension information can reflect the implicit information of search sequence, it can by short text extension Judge whether search sequence is implied with region demand.
2) obtained by the region demand estimation auxiliary information obtained in the step s 21 includes being inquired about based on search sequence Query result, the network equipment indicate whether that the region to match with described search sequence can be inquired according to the query result Demand sequence, judges whether search sequence has region demand.
For example, the network equipment judges whether search sequence has region demand according to query result for " YES ".
It should be noted that the network equipment may also be combined with above two realization method, judge whether search sequence has ground Domain demand.For example, the text message with regional feature is included in information when the short text of search sequence extends, and based on search Sequence inquired about in the demand sequence storehouse of region obtained by query result expression can inquire what is matched with search sequence During the demand sequence of region, judge whether search sequence has region demand.
It should be further noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than to this hair Bright limitation, it should be appreciated by those skilled in the art that it is any according to region demand estimation auxiliary information, judge described search sequence Whether there is the realization method of region demand, should be included in the scope of the present invention.
Then, step S3 and step S4 are described in detail with reference to the embodiment shown in FIG. 1, and details are not described herein.
Due to much having the search sequence of region demand in itself and not having regional feature, if according only to search Sequence is judged in itself, may omit the search sequence with region demand.The present embodiment is sentenced by obtaining region demand Disconnected auxiliary information, can recognize that the search sequence of implicit region demand.
One of preferred embodiment as the present embodiment, the method for the present embodiment further include step S7, step S8 and step S9.
In the step s 7, the network equipment obtains the multiple sequence informations for including the text message with regional feature.
In step s 8, the network equipment carries out cutting word to the multiple sequence information, and multiple short according to obtained by cutting word Text determines at least one region demand sequence.
Specifically, network equipment removal " ", the garbages such as " I ", and as in multiple short texts obtained by cutting word The all or part of short text for not having regional feature of selection, as region demand sequence.
For example, the multiple sequence informations for including the text message with regional feature that the network equipment obtains in the step s 7 For " flagship store of Nokia, iPhone brand shop, Ipone brand shops, SAMSUNG brand shops, Samsung point of sale ", then this step The middle network equipment to sequence information carry out cutting word obtained by short text include " Nokia ", " apple ", " Ipone ", " SAMSUNG ", " Samsung ", " flagship store ", " mobile phone brand shop ", " brand shop ", " mobile phone " and " point of sale ";Then the network equipment is gone Except useless universal word " mobile phone ", and select wherein the short text " flagship store " without regional feature, " mobile phone brand shop ", " brand shop " and " point of sale ", as region demand sequence.
For example, in upper example, after the network equipment removes useless universal word " mobile phone ", it is special that selection does not have region wherein Sign and occurrence number are more than the short text " brand shop " of 2 times, as region demand sequence.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any carry out cutting word to the multiple sequence information, and it is multiple according to obtained by cutting word Short text determines the realization method of at least one region demand sequence, should be included in the scope of the present invention.
In step s 9, the network equipment updates predetermined region demand according to identified at least one region demand sequence Sequence library.
Short text of this programme as obtained by the sequence information to multiple texts comprising regional feature is selected to carry out cutting word In do not have the short text of regional feature, the region demand sequence that itself does not have regional feature but implicit region demand can be obtained Row.
One of preferred embodiment as the present embodiment, step S2 are additionally included in the step S23 performed before step 21 and step Rapid S24.
In step S23, the network equipment judges whether search sequence includes the text message with regional feature.Wherein, net Network equipment judges whether search sequence includes the mode of the text message with regional feature, with reference to embodiment illustrated in fig. 1 Step S2 in be described in detail, details are not described herein.
In step s 24, when judging that search sequence includes the text message with regional feature in step S23 When, the network equipment judges that search sequence has region demand.
And when judging that described search sequence does not have the text message of regional feature comprising described in, before the network equipment performs Step S21 and step S22 are stated, to determine whether search sequence has region demand.
Fig. 3 is one aspect of the invention for the structural representation for the collator being ranked up based on location information Figure.The collator of the present invention is contained in the network equipment;The collator includes acquisition device 1, judgment means 2, sequence really Determine device 3 and sending device 4.
In the present invention, mobile terminal sends searching request.
Acquisition device 1 in the network equipment obtains search sequence input by user according to the searching request from mobile terminal And the LBS location informations of the mobile terminal.
Preferably, the mobile terminal includes but not limited to laptop, tablet computer, smart mobile phone, PDA etc.;Institute It states LBS location informations and includes but not limited to the radio communication network for passing through telecommunications mobile operator, such as GSM nets, CDMA net, Or external positioning method, such as GPS, come the location information of mobile terminal obtained.
Wherein, acquisition device 1 can directly obtain described search sequence from searching request;Also, acquisition device 1 also can be straight It connects and LBS location informations is obtained from searching request, alternatively, the mobile terminal body that acquisition device 1 can be included first according to searching request Part information, such as cell-phone number, exclusive identification code to identify mobile terminal, then obtain before it performs operation and have been provided to network The LBS location informations of the mobile terminal identified of equipment.Preferably, which can pass through internet etc. by mobile terminal Network is transmitted directly to the network equipment, also can be transmitted to net by server of telecommunications mobile operator etc. by mobile terminal Network equipment.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that searching request of any basis from mobile terminal obtains search sequence input by user The realization method of the LBS location informations of row and the mobile terminal, should be included in the scope of the present invention.
Next, it is determined that device 2 judges whether it has region demand according to the search sequence obtained.
Wherein, there is search sequence search result that region requirement representation obtained based on the search sequence and/or search to tie The sequence needs of fruit change according to mobile terminal affiliated region.
Specifically, judgment means 2 judge whether the mode with region demand includes for it according to the search sequence obtained But it is not limited to:
1) judgment means 2 judge whether search sequence includes the text message with regional feature, and work as and judge the search When sequence includes the text message with regional feature, judge it with region demand.Preferably, it is described with regional feature Text message may include that any regional information or the information included of including has regional text message;It is for example, such as northern The region names such as capital, Shanghai, XX dining rooms, XX museums etc. have regional physical stores, venue etc..
For example, the search sequence obtained includes " Shanghai's tourism sight spot ", then judgment means 2 judge that the search sequence includes Regional information " Shanghai " has region demand.
In another example the search sequence obtained includes " Xin Xiang remittances ", judgment means 2 are by query entity firm name, really Fixed " Xin Xiang remittances " is physical stores, then judgment means 2 judge that " Xin Xiang remittances " includes the text message with regional feature, have ground Domain demand.
2) judgment means 2 obtain its region demand estimation auxiliary information according to described search sequence, and according to the region Demand estimation auxiliary information, judges whether described search sequence has region demand.This realization method will be real with reference to shown in Fig. 4 It applies in example and is described in detail, it will not be described here.
3) judgment means 2 can perform above two judgment mode simultaneously.For example, judgment means 2 had both judged that search sequence was It is no to include the text message with regional feature, the region demand estimation auxiliary information of search sequence is also obtained, and when judgement is searched Suo Xulie includes the text message with regional feature, alternatively, region demand estimation auxiliary information meets definite search sequence tool When having the condition of region demand, determine that search sequence has region demand.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that it is any according to the search sequence obtained, judge whether it has the reality of region demand Existing mode, should be included in the scope of the present invention.
When judge described search sequence have region demand when, sequence determining device 3 according to based on described search sequence into Row search gained at least one search result link information corresponding to entity entity location information and, based on institute The location information for the mobile terminal that LBS location informations determine is stated, determines whole or portion at least one search result Divide the sequence of search result.Preferably, the entity includes having regional entity, such as a retail shop, regional weather, each Kind venue, tourist attractions etc..
Preferably, the entity location information of the entity corresponding to the link information of search result can be in sequence determining device 3 Pre-determining before operating is performed, then can directly be inquired about in sequence determining device 3 and obtains entity location information;Alternatively, sequence is true Pre-defined rule can be based on by determining device 3, obtain the entity location information included in the Internet resources that link information is linked in real time, And as the entity location information of the entity corresponding to link information.Wherein, the mode of entity location information is obtained in real time It will be described in detail in following embodiment, it will not be described here.
Specifically, when judgment means 2 judge that described search sequence has region demand, sequence determining device 3 is according to base The entity location information of the entity corresponding to the link information of at least one search result of gained is scanned in search sequence, And the location information of the mobile terminal determined based on the LBS location informations, it determines complete at least one search result The mode of the sequence of portion or partial search results includes but not limited to:
1) provider location of entity of the determining device 3 that sorts directly according to corresponding to the link information of search result and movement The distance of the position of terminal, to be ranked up to all or part of search result at least one search result.
For example, sequence determining device 3, which is based on search sequence " the first general merchandise of Shanghai ", obtains 4 search results, and inquire about and obtain Obtain the entity location information of the entity corresponding to pre-determining, 4 search results link information;Then sort determining device The LBS information of 3 mobile terminals obtained according to acquisition device 1, and the entity location information of 4 entities is combined, it calculates mobile whole Hold the air line distance between 4 entities, and according to distance by closely to remote order, to the link corresponding to 4 entities The affiliated search result of information is ranked up.
In another example sequence determining device 3, which is based on search sequence " the first general merchandise of Shanghai ", obtains 100 search results, and look into It askes in 100 search results there are 4 search results in the presence of pre-determining, 4 search results link information institute The entity location information of corresponding entity;The sortord according to prior art of the determining device that then sorts 3 searches for this 100 As a result it is ranked up, and the LBS information of the mobile terminal obtained according to acquisition device 1, with reference to the provider location letter of 4 entities Breath calculates the air line distance between mobile terminal and 4 entities, and according to the distance of air line distance, adjusts 4 entity institutes Position of the corresponding affiliated search result of link information in 100 search results, such as by the straight line of corresponding entity The sequence of the search result of link information of the distance in 1 kilometer raises 10, by corresponding air line distance in 1-3 kilometers The sequence of search result of link information raise 5, by search of the corresponding air line distance more than 5 kilometers of link information As a result sequence lowers 10 etc..
2) determining device 3 that sorts includes son sequence determining device (not shown).When judgment means 2 judge described search sequence During with region demand, sub- sequence determining device is according at least one search knot that gained is scanned for based on described search sequence The entity location information of entity corresponding to the link information of fruit and the movement determined based on the LBS location informations are whole The location information at end, and with reference to the matching degree between described search sequence and at least one search result, determine described The sequence of all or part of search result at least one search result.
Wherein, the matching degree is mainly by the degree of correlation between described search sequence and described search result Lai really It is fixed.
For example, son sequence determining device is based on search sequence " the first general merchandise of Shanghai " and obtains 100 search results, and inquire about It is right in the presence of pre-determining, 4 search results link information institute there are 4 search results into 100 search results The entity location information for the entity answered;Then son sequence determining device is according to the related journey between search sequence and each search result Degree, is ranked up 100 search results, and the LBS information of the mobile terminal obtained according to acquisition device 1, with reference to 4 realities The road map information of region described in the entity location information and mobile terminal of body and 4 entities is calculated along road from shifting Dynamic terminal is moved to the displacement distance between 4 entities, and according to the distance of displacement distance, adjusts corresponding to 4 entities Position of the affiliated search result of link information in 100 search results, as the nearest entity institute of displacement distance is right The sequence for the affiliated search result of link information answered is adjusted within first 5, and the entity institute by displacement distance in 1 kilometer is right The sequence of the search result for the link information answered raises 5, and the link corresponding to entity of the displacement distance in 1-3 kilometers is believed The sequence of the search result of breath raises 5 etc..
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that it is any when judging that described search sequence has region demand, it is searched according to based on described Suo Xulie scans for the entity location information of the entity corresponding to the link information of at least one search result of gained, with And the location information of the mobile terminal determined based on the LBS location informations, it determines at least one search result The realization method of the sequence of all or part of search result, should be included in the scope of the present invention.
Then, sending device 4 sends the search result after sequence to mobile terminal.
It should be noted that the search result after all sequences can be sent to user equipment by sending device 4;Alternatively, hair Device 4 is sent also preceding 10 search results such as can be sent to user equipment, for another example root only by the search result after part sequence 11-20 search results are sent to user equipment by the search result items sequencing horizon selected according to user.
Then, received search result is presented to the user by mobile terminal.
Whether the present invention can identify the search sequence with region demand with region demand, so as to according to search As a result the provider location of the entity corresponding to link information in and the distance of the position of mobile terminal, to determine search result Sequence, so that ranking results, which can preferably meet user, wishes region where obtaining it or close with region where it The demand of the relevant information of object.In addition, present invention employs LBS location informations to determine user location so that user location The accuracy of positioning and precision are far above the IP address positioning method used in the prior art.
As one of the preferred embodiment of the present invention, collator of the invention further includes provider location acquisition device (figure Do not show).
Provider location acquisition device is based on the first pre-defined rule, obtains the network money that pending link information is linked to The entity location information included in source, and as the entity location information of the entity corresponding to the link information.Wherein, The Internet resources include but not limited to webpage etc..The pending link information can be by manually providing, also can be by the net Network equipment or other equipment are obtained by crawling webpage.
Wherein, first pre-defined rule refers at least one of following because usually obtaining the entity location information:
1) precalculated position belonging to entity location informations determined based on pending link information, in Internet resources.
Specifically, provider location acquisition device carries out the link information of Internet resources and multiple pre-determined link information Match somebody with somebody, determine the matched pre-determined link information of link information institute energy, and determined according to the pre-determined link information in Internet resources Precalculated position belonging to entity location information.
For example, pending link information is " http://dealer.zol.com.cn/detail/1363/136281_ 315637.html " is directed toward webpage A;The link information and multiple link informations are carried out prefix by provider location acquisition device Match somebody with somebody, obtaining it being capable of matched pre-determined link information " http://dealer.zol.com.cn/detail/ ", the pre-determined link Information corresponds to the web page template information for having marked the precalculated position belonging to entity location information;Then provider location acquisition device By searching for web page template information corresponding with the pre-determined link information, determine predetermined belonging to entity location information in webpage A Position is Web page module a;Then, provider location acquisition device accesses pending link information " http:// Dealer.zol.com.cn/detail/1363/136281_315637.html ", and capture the text envelope in Web page module a Breath, the entity location information as the entity corresponding to pending link information.
It should be noted that pending link information may can match multiple pre-determined link information, then provider location Acquisition device may be selected and the pending highest link information of link information matching degree;Alternatively, provider location acquisition device can Precalculated position according to belonging to multiple pre-determined link information determine multiple entity location informations respectively, and pass through judge it is pending With the presence or absence of the plurality of precalculated position in Internet resources pointed by link information, for example, Internet resources are webpage, precalculated position When being expressed as the position relationship of the Web page module with certain structure and the Web page module and other Web page modules, webpage is judged With the presence or absence of being consistent with precalculated position with Web page module etc., to determine the actual precalculated position belonging to entity location information.
2) predetermined entity location information form.
For example, predetermined entity location information form includes " ... area ... road ... number ".Provider location obtains Device accesses pending link information, and obtains the text envelope that can wherein match with predetermined entity location information form Breath, the entity location information as the entity corresponding to pending link information.
It should be noted that provider location acquisition device can combine above-mentioned two factors, pending link information is obtained The entity location information included in the Internet resources linked to.For example, provider location acquisition device is first according to based on pending The Internet resources that determine of link information in entity location information belonging to precalculated position, obtain the text envelope in Internet resources Breath, further screening meets the text message of predetermined entity location information form from the text message obtained, as treating The entity location information included in the Internet resources that the link information of processing is linked to.
It should be noted that the side that provider location acquisition device obtains entity location information can be used in sequence determining device 3 Formula to obtain the entity location information of the entity corresponding to the link information in search result in real time.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any be based on the first pre-defined rule, obtains what pending link information was linked to The entity location information included in Internet resources, and as the entity location information of the entity corresponding to the link information Realization method, should be included in the scope of the present invention.
Since the Internet resources for the same subregion for belonging to same website or same website often have similar structure, thus it is same Entity location information in the Internet resources of one website or same subregion is often positioned in a fixed position.Therefore, chain can be passed through Information is connect to determine Internet resources affiliated web site or website subregion, so that it is determined that the precalculated position belonging to entity location information.And And since entity location information is specific address, therefore it is typically compliant with certain address format, such as (... city) ... Area ... road (... do) ... number etc., therefore, by judging it is predetermined whether the text message in Internet resources meets Entity location information form also can determine the entity location information in internet resource.
The present embodiment enables the network equipment to crawl webpage automatically and relatively accurately determines the provider location in webpage Information.
Preferably, in previous embodiment, collator performs operation before being additionally included in provider location acquisition device Second judgment means (not shown), provider location acquisition device include sub- position acquisition (not shown).
The Internet resources that second judgment means are linked to according to link information and/or link information judge whether to need The entity location information is obtained from Internet resources.
Specifically, the second judgment means according to link information whether can match pre-determined link information and/or, link letter Whether the linked to Internet resources of breath have entity correlated characteristic, judge whether to need from the Internet resources described in acquisition Entity location information.Wherein, the entity correlated characteristic can reflect that Internet resources have the stereotropic feature of finger including any Information;For example, believe comprising predetermined entities titles such as physical stores, venues in Internet resources and comprising predetermined entity is met Cease the text message of positional format;Preferably, entity correlated characteristic may also include such as name of the dish, electronic product title, opening/battalion Entity declaration feature of the entities recommended information such as industry time, user's evaluation etc..
For example, link information is " http://dealer.zol.com.cn/detail/1363/136281_ 315637.html ", the second judgment means can match pre-determined link information " http according to it://dealer.zol.com.cn/ Detail/ " judges to need to obtain the entity location information from the Internet resources that it is linked to.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any Internet resources linked to according to link information and/or link information, sentence It is disconnected whether to need to obtain the realization method of the entity location information from Internet resources, it should be included in the scope of the present invention It is interior.
When the second judgment means judge to need to obtain the entity location information from the Internet resources, sub- position is obtained It takes based on first pre-defined rule, obtains the entity location information included in the Internet resources that link information is linked to, and As the entity location information of the entity corresponding to the link information.Wherein, sub- position acquisition is based on the first pre- set pattern Then, the entity location information included in the Internet resources that link information is linked to is obtained, and as the link information The mode of the entity location information of corresponding entity is based on the with the specification of provider location acquisition device in previous embodiment One pre-defined rule obtains the entity location information included in the Internet resources that link information is linked to, and as described The mode of the entity location information of entity corresponding to link information is same or similar, and details are not described herein.
The present embodiment can identify the stereotropic Internet resources of network middle finger, so that it is determined that needing therefrom to obtain provider location The Internet resources of information.
Fig. 4 is a preferred embodiment of the invention for the structure for the collator being ranked up based on location information Schematic diagram.The collator of the present embodiment includes acquisition device 1, the auxiliary information acquisition device 21 being contained in judgment means 2 With the first sub- judgment means 22, sequence determining device 3 and sending device 4.
Acquisition device 1 is described in detail with reference to the embodiment shown in FIG. 3, and details are not described herein.
The search sequence that auxiliary information acquisition device 21 is obtained according to acquisition device 1 obtains its region demand estimation auxiliary Information.Wherein, whether the region demand estimation auxiliary information includes any auxiliary judgment search sequence that can be used in ground The information of domain demand.
Specifically, auxiliary information acquisition device 21 obtains the side of its region demand estimation auxiliary information according to search sequence Formula includes but not limited to:
1) demand estimation auxiliary information in region includes the short text extension information of described search sequence, and auxiliary information obtains dress Putting 21 includes extension information acquisition device (not shown), which it is described short to obtain its according to search sequence Text extends information.
Specifically, extension information acquisition device can obtain the described search sequence of pre-determining or the search sequence is included Short text short text extension information, alternatively, extension information acquisition device can in real time to search sequence carry out short text extension, To obtain its short text extension information.
For example, extension information acquisition device extends information bank by inquiring about the short text of pre-determining, search sequence is obtained Short text extension information " Nokia's mobile phone sale monopoly, iPhone sale monopoly, the sale monopoly of Samsung mobile phone, the Shanghai mobile phone of " mobile phone sale monopoly " Sale monopoly, quotation for cell-phones, mobile phone complete works, the sale monopoly of Zhong Guan-cun mobile phone ".
Those skilled in the art should be able to determine to carry out short text extension to search sequence according to actual conditions and demand Mode, details are not described herein.
2) demand estimation auxiliary information in region includes the query result obtained by based on described search sequence, and auxiliary information obtains Device 21 includes inquiry unit (not shown).Inquiry unit is looked into according to described search sequence in the demand sequence storehouse of region It askes, obtains query result, wherein, the predetermined region demand sequence storehouse includes multiple regions having determined that with region demand and needs Seek sequence.
Wherein, can the query result obtained by being inquired about based on search sequence in the demand sequence storehouse of region can be represented The region demand sequence to match with search sequence is inquired in the demand sequence storehouse of region.For example, query result is " NULL " table Show the region demand sequence for not inquiring in the demand sequence storehouse of region and matching with search sequence;In another example query result is " YES " then represents that the region demand sequence to match with search sequence can be inquired in the demand sequence storehouse of region;In another example Query result then represents to inquire in the demand sequence storehouse of region including region demand sequence " Xin Xiang remittances " and search sequence Region demand sequence " Xin Xiang remittances " to match etc..
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that it is any according to search sequence, obtain the realization side of its region demand estimation auxiliary information Formula should be included in the scope of the present invention.
Then, the first sub- judgment means 22 judge whether described search sequence has according to region demand estimation auxiliary information There is region demand.
Specifically, whether the first sub- judgment means 22 judge described search sequence according to region demand estimation auxiliary information Mode with region demand includes but not limited to:
1) the region demand estimation auxiliary information that auxiliary information acquisition device 21 obtains includes the short essay of described search sequence This extension information, the first sub- judgment means 22 include the second sub- judgment means (not shown).Second sub- judgment means pass through judgement Whether the text message with regional feature is included in short text extension information, judge whether described search sequence there is region to need It asks.
Specifically, the second sub- judgment means extend whether at least one short text in information includes by judging short text Text message with regional feature, to judge whether described search sequence has region demand.Wherein, the second sub- judgment means Judge whether short text includes the mode of the text message with regional feature, determined with the sequence with reference to embodiment illustrated in fig. 3 Device 3 judges search sequence, and whether the mode comprising the text message with regional feature is same or similar, and details are not described herein.
For example, auxiliary information acquisition device 21 obtains the short text extension information " Nokia of search sequence " mobile phone sale monopoly " Mobile phone sale monopoly, the sale monopoly of Iphone mobile phones, the sale monopoly of Samsung mobile phone, the sale monopoly of Shanghai mobile phone, quotation for cell-phones, mobile phone complete works, Zhong Guan-cun hand Machine is had a monopoly in ";Then the second sub- judgment means include the text message " promise with regional feature by judging that short text extends in information Ji Ya ", " Iphone ", " Samsung ", " Shanghai " and " Zhong Guan-cun " judge that search sequence " mobile phone sale monopoly " has region demand.
Since short text extension information can reflect the implicit information of search sequence, it can by short text extension Judge whether search sequence is implied with region demand.
2) the region demand estimation auxiliary information that auxiliary information acquisition device 21 obtains includes being looked into based on search sequence The query result of gained is ask, the first sub- judgment means 22 include the 3rd sub- judgment means (not shown).3rd sub- judgment means root It indicates whether that the region demand sequence to match with described search sequence can be inquired according to the query result, judges to search for sequence Whether row have region demand.
For example, the 3rd sub- judgment means judge whether search sequence has region demand according to query result for " YES ".
It should be noted that the first sub- judgment means 22 may also be combined with above two realization method, judge that search sequence is It is no that there is region demand.For example, the text message with regional feature is included in information when the short text of search sequence extends, and Query result expression obtained by being inquired about based on search sequence in the demand sequence storehouse of region can inquire and search sequence During the region demand sequence to match, judge whether search sequence has region demand.
It should be further noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than to this hair Bright limitation, it should be appreciated by those skilled in the art that it is any according to region demand estimation auxiliary information, judge described search sequence Whether there is the realization method of region demand, should be included in the scope of the present invention.
Then, the determining device 3 that sorts and sending device 4 are described in detail with reference to the embodiment shown in FIG. 3, herein no longer It repeats.
Due to much having the search sequence of region demand in itself and not having regional feature, if according only to search Sequence is judged in itself, may omit the search sequence with region demand.The present embodiment is sentenced by obtaining region demand Disconnected auxiliary information, can recognize that the search sequence of implicit region demand.
One of preferred embodiment as the present embodiment, the collator of the present embodiment, which further includes retrieval device, (schemes not Show), Sequence Determination Means (not shown) and updating device (not shown).
Retrieval device obtains the multiple sequence informations for including the text message with regional feature.
Sequence Determination Means carry out the multiple sequence information cutting word, and multiple short texts according to obtained by cutting word, really Fixed at least one region demand sequence.
Specifically, Sequence Determination Means removal " ", the garbages such as " I ", and as multiple short essays obtained by cutting word All or part of short text for not having regional feature is selected in this, as region demand sequence.
For example, the multiple sequence informations for including the text message with regional feature that retrieval device obtains are " promise Ji Ya flagship stores, iPhone brand shop, Ipone brand shops, SAMSUNG brand shops, Samsung point of sale ", then sequence determines to fill Put to sequence information carry out cutting word obtained by short text include " Nokia ", " apple ", " Ipone ", " SAMSUNG ", " Samsung ", " flagship store ", " mobile phone brand shop ", " brand shop ", " mobile phone " and " point of sale ";Then Sequence Determination Means remove useless general Vocabulary " mobile phone ", and select wherein without the short text " flagship store " of regional feature, " mobile phone brand shop ", " brand shop " and " point of sale ", as region demand sequence.
For example, in upper example, after Sequence Determination Means remove useless universal word " mobile phone ", selection does not wherein have ground Characteristic of field and occurrence number are more than the short text " brand shop " of 2 times, as region demand sequence.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention rather than the limit to the present invention System, it should be appreciated by those skilled in the art that any carry out cutting word to the multiple sequence information, and it is multiple according to obtained by cutting word Short text determines the realization method of at least one region demand sequence, should be included in the scope of the present invention.
Updating device updates predetermined region demand sequence storehouse according to identified at least one region demand sequence.
Short text of this programme as obtained by the sequence information to multiple texts comprising regional feature is selected to carry out cutting word In do not have the short text of regional feature, the region demand sequence that itself does not have regional feature but implicit region demand can be obtained Row.
One of preferred embodiment as the present embodiment, the first judgment means 2 be additionally included in auxiliary information acquisition device 21 it Preceding the 4th sub- judgment means, the 5th sub- judgment means and the trigger device for performing operation.
4th sub- judgment means judge whether search sequence includes the text message with regional feature.Wherein, the 4th son Judgment means judge whether search sequence includes the mode of the text message with regional feature, with reference embodiment illustrated in fig. 3 The first judgment means 2 judge search sequence whether include with regional feature text message mode it is same or similar, This is repeated no more.
When the 4th sub- judgment means judge that search sequence has the text message of regional feature comprising described in, the 5th son is sentenced Disconnected device judges that search sequence has region demand.
When judging that described search sequence does not have the text message of regional feature comprising described in, triggering auxiliary information obtains 21 and first sub- judgment means 22 of device perform operation, to determine whether search sequence has region demand.
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, this hair Application-specific integrated circuit (ASIC) can be used in bright device or any other is realized similar to hardware device.In one embodiment, The software program of the present invention can perform to realize steps described above or function by processor.Similarly, it is of the invention soft Part program can be stored in computer readable recording medium storing program for performing (including relevant data structure), for example, RAM memory, magnetic Or CD-ROM driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the present invention, example Such as, as the circuit for coordinating to perform each step or function with processor.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Profit requirement rather than above description limit, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims Variation includes within the present invention.Any reference numeral in claim should not be considered as to the involved claim of limitation.This Outside, it is clear that one word of " comprising " is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in system claims is multiple Unit or device can also be realized by a unit or device by software or hardware.The first, the second grade words are used for table Show title, and do not represent any particular order.

Claims (16)

1. a kind of method for being ranked up based on location information, wherein, this method comprises the following steps:
A obtains the LBS positions of search sequence input by user and the mobile terminal according to the searching request from mobile terminal Confidence ceases;
B judges whether it has region demand according to described search sequence;
C scans for gained at least when judging that described search sequence has region demand, according to based on described search sequence The entity location information of entity corresponding to the link information of one search result and, determined based on the LBS location informations The mobile terminal location information, determine at least one search result the sequence of all or part of search result;
D sends the search result after sequence to the mobile terminal;
Wherein, this method is further comprising the steps of:
X is based on the first pre-defined rule, obtains the entity location information included in the Internet resources that link information is linked to, and will Its entity location information as the entity corresponding to the link information;
Wherein, first pre-defined rule refers at least one of following because usually obtaining the entity location information:
- determined based on the link information, precalculated position belonging to entity location information in the Internet resources;
- predetermined entity location information form.
2. according to the method described in claim 1, wherein, the step b comprises the following steps:
B1 obtains its region demand estimation auxiliary information according to described search sequence;
B2 judges whether described search sequence has region demand according to the region demand estimation auxiliary information.
3. according to the method described in claim 2, wherein, the region demand estimation auxiliary information includes described search sequence Short text extends information, and the step b1 comprises the following steps:
- according to described search sequence, obtain its short text extension information;
The step b2 comprises the following steps:
- by judging that the short text extends in information whether include the text message with regional feature, judge described search Whether sequence has region demand.
4. according to the method described in claim 2, wherein, the region demand estimation auxiliary information is included based on described search sequence The query result of gained is arranged, the step b1 comprises the following steps:
- according to described search sequence, it is inquired about in the demand sequence storehouse of region, obtains the query result, wherein, it is described pre- Determine region demand sequence storehouse and have determined that the region demand sequence with region demand comprising multiple;
Wherein, the step b2 comprises the following steps:
- indicated whether that the region demand sequence to match with described search sequence can be inquired according to the query result, sentence Whether disconnected described search sequence has region demand.
5. according to the method described in claim 4, wherein, this method is further comprising the steps of:
- acquisition includes multiple sequence informations of the text message with regional feature;
- cutting word, and multiple short texts according to obtained by cutting word are carried out to the multiple sequence information, determine that at least one region needs Seek sequence;
- according at least one region demand sequence, update predetermined region demand sequence storehouse.
6. the method according to any one of claim 2 to 5, wherein, the step b comprises the following steps:
- judge whether described search sequence includes the text message with regional feature;
- when judge described search sequence include it is described there is regional feature text message when, judge it with region demand;
- when judging that described search sequence does not have the text message of regional feature comprising described in, perform the step b1 and b2.
7. the method according to any one of claims 1 to 5, wherein, the step c comprises the following steps:
- when judging that described search sequence has region demand, scan for gained at least according to based on described search sequence It the entity location information of entity corresponding to the link information of one search result and is determined based on the LBS location informations The location information of the mobile terminal, and with reference to the matching journey between described search sequence and at least one search result Degree determines the sequence of all or part of search result at least one search result.
8. according to the method described in claim 1, wherein, this method is further comprising the steps of before the step x:
- the Internet resources linked to according to the link information and/or the link information judge whether to need from the net The entity location information is obtained in network resource;
Wherein, the step x comprises the following steps:
- when judging to need to obtain the entity location information from the Internet resources, based on first pre-defined rule, obtain The entity location information included in the Internet resources that link information linked to is taken, and as corresponding to the link information Entity entity location information.
9. a kind of collator for being ranked up based on location information, wherein, which includes:
Acquisition device, for obtaining search sequence input by user and the movement according to the searching request from mobile terminal The LBS location informations of terminal;
First judgment means, for according to described search sequence, judging whether it has region demand;
Sort determining device, for when judge described search sequence with region demand when, according to based on described search sequence into Row search gained at least one search result link information corresponding to entity entity location information and, based on institute The location information for the mobile terminal that LBS location informations determine is stated, determines whole or portion at least one search result Divide the sequence of search result;
Sending device, for sending the search result after sequence to the mobile terminal;
Wherein, which further includes:
Provider location acquisition device for being based on the first pre-defined rule, is obtained and wrapped in the Internet resources that link information is linked to The entity location information contained, and as the entity location information of the entity corresponding to the link information;
Wherein, first pre-defined rule refers at least one of following because usually obtaining the entity location information:
- determined based on the link information, precalculated position belonging to entity location information in the Internet resources;
- predetermined entity location information form.
10. collator according to claim 9, wherein, first judgment means include:
Auxiliary information acquisition device, for according to described search sequence, obtaining its region demand estimation auxiliary information;
First sub- judgment means, for according to the region demand estimation auxiliary information, judging whether described search sequence has Region demand.
11. collator according to claim 10, wherein, the region demand estimation auxiliary information includes described search The short text extension information of sequence, the auxiliary information acquisition device include:
Information acquisition device is extended, for according to described search sequence, obtaining its short text extension information;
The first sub- judgment means include:
Second sub- judgment means judge whether include the text with regional feature in the short text extension information for passing through Information, judges whether described search sequence has region demand.
12. collator according to claim 10, wherein, the region demand estimation auxiliary information is included based on described Query result obtained by search sequence, the auxiliary information acquisition device include:
Inquiry unit, for according to described search sequence, being inquired about in the demand sequence storehouse of region, obtaining the inquiry knot Fruit, wherein, the predetermined region demand sequence storehouse has determined that the region demand sequence with region demand comprising multiple;
Wherein, the described first sub- judgment means comprise the following steps:
3rd sub- judgment means match for indicating whether to inquire according to the query result with described search sequence Region demand sequence, judge described search sequence whether have region demand.
13. collator according to claim 12, wherein, which further includes:
Retrieval device, for obtaining the multiple sequence informations for including the text message with regional feature;
Sequence Determination Means, for carrying out cutting word, and multiple short texts according to obtained by cutting word to the multiple sequence information, really Fixed at least one region demand sequence;
Updating device, for according at least one region demand sequence, updating predetermined region demand sequence storehouse.
14. the collator according to any one of claim 10 to 13, wherein, first judgment means include:
4th sub- judgment means, for judging whether described search sequence includes the text message with regional feature;
5th sub- judgment means, for when judge described search sequence include it is described there is regional feature text message when, sentence It break with region demand;
Trigger device, for when judging that described search sequence does not have the text message of regional feature comprising described in, triggering institute It states auxiliary information acquisition device and the first sub- judgment means performs operation.
15. the collator according to any one of claim 9 to 13, wherein, the sequence determining device includes:
Son sequence determining device, for when judge described search sequence with region demand when, according to based on described search sequence Scan for the entity location information of the entity corresponding to the link information of at least one search result of gained and based on institute It states the location information for the mobile terminal that LBS location informations determine, and at least one is searched with described with reference to described search sequence Matching degree between hitch fruit determines the sequence of all or part of search result at least one search result.
16. collator according to claim 9, wherein, which is additionally included in the provider location and obtains dress The following device of operation is performed before putting:
Second judgment means for the Internet resources linked to according to the link information and/or the link information, judge Whether need to obtain the entity location information from the Internet resources;
Wherein, the provider location acquisition device includes:
Sub- position acquisition device, for when judging to need to obtain the entity location information from the Internet resources, being based on First pre-defined rule obtains the entity location information included in the Internet resources that link information is linked to, and is made For the entity location information of the entity corresponding to the link information.
CN201210314115.9A 2012-08-29 2012-08-29 A kind of method and apparatus for being ranked up based on location information Active CN103678292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210314115.9A CN103678292B (en) 2012-08-29 2012-08-29 A kind of method and apparatus for being ranked up based on location information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210314115.9A CN103678292B (en) 2012-08-29 2012-08-29 A kind of method and apparatus for being ranked up based on location information

Publications (2)

Publication Number Publication Date
CN103678292A CN103678292A (en) 2014-03-26
CN103678292B true CN103678292B (en) 2018-06-05

Family

ID=50315901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210314115.9A Active CN103678292B (en) 2012-08-29 2012-08-29 A kind of method and apparatus for being ranked up based on location information

Country Status (1)

Country Link
CN (1) CN103678292B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239463B (en) * 2014-09-02 2017-10-31 百度在线网络技术(北京)有限公司 Searching method and search engine
CN108536706A (en) * 2017-03-02 2018-09-14 广州市动景计算机科技有限公司 List generation method, apparatus and system
CN107958081B (en) * 2017-12-14 2021-11-30 泰康保险集团股份有限公司 Information processing method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145153B (en) * 2006-09-13 2011-03-30 阿里巴巴集团控股有限公司 Method and system for searching information
CN101901214A (en) * 2009-05-31 2010-12-01 李杰波 Information search ranking method for Internet search engine and search engine
CN101604317A (en) * 2009-07-13 2009-12-16 腾讯科技(深圳)有限公司 The retrieving result reordering method of search engine and system
CN102262630A (en) * 2010-05-31 2011-11-30 国际商业机器公司 Method and device for carrying out expanded search
KR20120053868A (en) * 2010-11-18 2012-05-29 한국전자통신연구원 A apparatus for providing semantic context and a method thereof
CN102169503B (en) * 2011-04-29 2013-04-24 北京百度网讯科技有限公司 Method and device for obtaining searching result corresponding with user query sequence

Also Published As

Publication number Publication date
CN103678292A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN106416313B (en) Method and system for identifying entities associated with wireless network access points
US10031923B2 (en) Displaying region-based search results
CN103377652B (en) A kind of method, device and equipment for carrying out speech recognition
CN103268730B (en) Electronic map interface shows the method and apparatus of association mark point
EP2521050A2 (en) Handheld electronic device and method for accessing bookmark
CN103258057B (en) The method and apparatus for showing point of interest POI in electronic map interface
CN103914498A (en) Search recommending method and device for map searching
CN110674423A (en) Address positioning method and device, readable storage medium and electronic equipment
EP2518712A2 (en) Method for displaying marker in a map service
CN106557474A (en) Obtain the method and device of POI, database, navigation terminal and automobile on the way
CN103714080A (en) Spatial index structure tree based method and device for providing results of searching spatial objects
EP2637134A1 (en) Information processing device, information processing method, program for information processing device, and recording medium
CN105335515A (en) Information recommendation method and information recommendation device
CN108141706A (en) Notice is provided based on geography fence search result
CN103207900B (en) Position-based information provides the method and apparatus of inquiry solicited message to targeted customer
KR101934420B1 (en) Method and apparatus for obtaining candidate address information in map
US20180035367A1 (en) Method and Apparatus for Accessing Wifi Access Point in Target Shop
CN103678292B (en) A kind of method and apparatus for being ranked up based on location information
CN104933126A (en) Activity recommending method based on electronic map, activity recommending device based on electronic map and activity recommending system based on electronic map
CN112381616A (en) Item recommendation guiding method and device and computer equipment
KR20160091662A (en) A system to provide location guidance using augmented reality
CN105119743A (en) Acquisition method of user behavior intention and apparatus
CN105072169A (en) Intelligent information display system of culture exhibition hall
CN105893480A (en) Information searching method and device
CN104182446A (en) Method for searching data and method for planning itinerary

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant