CN104504078A - Method and system for determining invoking or not of map interface for inquiry key words - Google Patents

Method and system for determining invoking or not of map interface for inquiry key words Download PDF

Info

Publication number
CN104504078A
CN104504078A CN201410812154.0A CN201410812154A CN104504078A CN 104504078 A CN104504078 A CN 104504078A CN 201410812154 A CN201410812154 A CN 201410812154A CN 104504078 A CN104504078 A CN 104504078A
Authority
CN
China
Prior art keywords
inquiry
key word
sentence
map interface
feature
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.)
Granted
Application number
CN201410812154.0A
Other languages
Chinese (zh)
Other versions
CN104504078B (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410812154.0A priority Critical patent/CN104504078B/en
Publication of CN104504078A publication Critical patent/CN104504078A/en
Application granted granted Critical
Publication of CN104504078B publication Critical patent/CN104504078B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for determining invoking or not of a map interface for inquiry key words. The method comprises the steps of extracting sentence features according to the inquiry key words input by a user, matching the inquiry key words with preset sentence patterns in a database based on the sentence features, and determining whether or not to invoke the map interface according to the matching result. The method for determining invoking or not of the map interface for the inquiry key words is capable of improving the timeliness and the accuracy of search, and also capable of enhancing the experience of search. The invention also provides a system for determining invoking or not of the map interface for the inquiry key words.

Description

A kind of method and system determining key word of the inquiry whether invocation map interface
Technical field
The present invention relates to search engine technique field, particularly relate to a kind of method and system determining key word of the inquiry whether invocation map interface.
Background technology
At present, electronic chart can be served for user provides widely, become user conveniently to go on a journey instrument, it not only can be realized by the webpage of browser, also can be realized by the map software be arranged in mobile phone, meet the demand that user is undertaken by electronic chart searching at any time, user can realize location or search destination path by electronic chart, can also be searched for etc. the specified place that will search for by electronic chart, in electronic chart, the specified place searched for can be a company, bank, a concrete retail shop, bus station and a school and a concrete street etc.
In prior art, user generally can only be searched for target specified place by special electronic chart website, or inquires about place position to opening special map search app, operates more loaded down with trivial details; In addition, user sometimes carries out the search of concrete route and particular content in searched page for long sentence, such as, " from Zhong Guan-cun to Beijing Station " or " Fragrance Hill where ", often only embody the info web that concrete search in is relevant in Search Results, and the in fact potential demand of searching place map route and map location of user, but need secondary to inquire about could to obtain, search efficiency is reduced, wastes time and energy.
Summary of the invention
In view of the above problems, propose the present invention in case provide a kind of overcome the problems referred to above or solve at least in part or slow down the problems referred to above a kind ofly determine the key word of the inquiry whether method of invocation map interface and a kind of system determining key word of the inquiry whether invocation map interface accordingly.
According to an aspect of the present invention, provide a kind of method determining key word of the inquiry whether invocation map interface, comprising:
Key word of the inquiry according to user's input extracts sentence features;
Based on described sentence features, described key word of the inquiry is mated with the sentence pattern preset in database;
According to matching result, determine whether invocation map interface.
Further, determine whether invocation map interface according to matching result, comprise further:
The clause mark of described key word of the inquiry is determined based on matching result;
Invocation map interface is determined whether according to described clause mark.
Further, determine the clause mark of described key word of the inquiry based on matching result, comprise further:
Determine based on matching result the sentence pattern that described key word of the inquiry mates, determine the clause mark of described key word of the inquiry according to the clause mark corresponding with described default sentence pattern: in described database, store default sentence pattern and the clause mark corresponding with described default sentence pattern.
Further, determine the clause mark of described key word of the inquiry based on matching result, comprise further: if cannot determine based on matching result the sentence pattern that described key word of the inquiry mates, so remember that clause mark is zero.
Further, according to user input key word of the inquiry extract sentence features, comprise further: according to user input key word of the inquiry extract routing characteristics, distance feature, map feature, vehicles feature, train number feature, local feature, trip motion characteristic in arbitrary feature or any several feature;
Based on described sentence features, described key word of the inquiry is mated with the sentence pattern preset in database, comprise further: according to the array mode between extracted above-mentioned feature and feature, determine mated sentence pattern.
Further, according to the array mode between extracted sentence features and sentence features, determine mated sentence pattern, comprise further: extracted sentence features is mated with the sentence features included by default sentence pattern, determines mated sentence features; Array mode according to the sentence features of coupling determines mated sentence pattern.
Further, the method also comprises:
Key word of the inquiry according to user's input determines the inquiry pattern corresponding with it;
According to described inquiry pattern, determine the inquiry pattern mark of described key word of the inquiry;
Describedly determine whether invocation map interface also according to described inquiry pattern mark.
Further, the method also comprises:
According to the key word of the inquiry determination query word type of user's input;
According to described query word type, determine described query word type scores;
Describedly determine whether invocation map interface also according to described query word type scores.
Further, the method also comprises:
Geographical attributive character determined in the key word of the inquiry inputted according to user or key word of the inquiry participle;
According to described geographical attribute feature, determine geographical attribute scores;
Describedly determine whether invocation map interface also according to described geographical attribute mark.
According to another aspect of the present invention, provide a kind of system determining key word of the inquiry whether invocation map interface, comprising:
Sentence features abstraction module, extracts sentence features for the key word of the inquiry inputted according to user;
Sentence pattern matching module, for mating described key word of the inquiry with the sentence pattern preset in database based on described sentence features;
Map interface calling module, for according to matching result, determines whether invocation map interface.
The present invention is directed to user to be searched for target specified place by special electronic chart website and inquire about the relevant issues of place position by opening special map search app, sentence features is extracted by the key word of the inquiry inputted according to user, based on sentence features, key word of the inquiry is mated with the sentence pattern preset in database, final according to matching result, determine whether invocation map interface, so simply, easy achieving recall the object of map; Simultaneously by giving a mark to query word, determine the desirability of user to map, efficiency is high, time saving and energy saving.The present invention not only can be practical when user desirably diagram data for user provides map datum, the ageing of search and accuracy can also be improved, improve search experience property.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical pa-rameter symbols.In the accompanying drawings:
Fig. 1 diagrammatically illustrates a kind of according to an embodiment of the invention flow chart of steps determining the key word of the inquiry whether method of invocation map interface;
Fig. 2 diagrammatically illustrates a kind of according to an embodiment of the invention structured flowchart determining the key word of the inquiry whether system of invocation map interface.
Embodiment
Below in conjunction with accompanying drawing and concrete embodiment, the invention will be further described.
As shown in Figure 1, a kind of method determining key word of the inquiry whether invocation map interface that the present invention proposes, comprises step:
Step S1: the key word of the inquiry according to user's input extracts sentence features.
Particularly, according to user input key word of the inquiry extract routing characteristics, distance feature, map feature, vehicles feature, train number feature, local feature, trip motion characteristic in arbitrary feature or any several feature.
Step S2: key word of the inquiry is mated with the sentence pattern preset in database based on sentence features.
Particularly, according to the array mode between the arbitrary feature in extracted routing characteristics, distance feature, map feature, vehicles feature, train number feature, local feature, trip motion characteristic or any several feature, mated sentence pattern is determined.
Further, extracted sentence features is mated with the sentence features included by default sentence pattern, determines mated sentence features; Array mode according to the sentence features of coupling determines mated sentence pattern.
Step S3: according to matching result, determines whether invocation map interface.
Particularly, based on the clause mark of matching result determination key word of the inquiry, invocation map interface is determined whether according to clause mark.
Further, based on the sentence pattern that matching result determination key word of the inquiry mates, clause mark according to the clause mark determination key word of the inquiry corresponding with the sentence pattern preset: store default sentence pattern and the clause mark corresponding with the sentence pattern preset in database, if cannot determine based on matching result the sentence pattern that key word of the inquiry mates, so remember that clause mark is zero.
Further, the method also comprises: the key word of the inquiry according to user's input determines the inquiry pattern corresponding with it; According to inquiry pattern, determine the inquiry pattern mark of key word of the inquiry; Determine whether invocation map interface also according to inquiry pattern mark.
Further, the method also comprises: according to the key word of the inquiry determination query word type of user's input; According to query word type, determine query word type scores; Determine whether invocation map interface also according to query word type scores.
Further, the method also comprises: geographical attributive character determined in the key word of the inquiry inputted according to user or key word of the inquiry participle; According to geographical attributive character, determine geographical attribute scores; Determine whether invocation map interface also according to geographical attribute mark.
Further, the method also comprises: the locating information obtaining user; Determine the urban information at user place according to locating information, during invocation map interface, push and be limited to incity, city cartographic information.
A kind of method determining key word of the inquiry whether invocation map interface that the present invention proposes, by key word of the inquiry extraction sentence features input according to user; Mate stating key word of the inquiry with the sentence pattern preset in database based on sentence features; According to matching result, determine whether invocation map interface, and then the ageing of search and accuracy can be improved, the experience property of search can also be improved simultaneously.
Determine the method for query word key word whether invocation map interface to understand propose with application the present invention a kind of better, the present invention carries out following example, and the present invention not only limits to following example.
Particularly, search client is opened from PC or mobile terminal, the word that will inquire about is inputted in search box in search interface, wherein, query word can be: " bank ", " shop ", " dining room ", " school ", " tourist attractions " " concrete regional extent and street " and the query contents of expressing with certain sentence pattern, and query word can be pinyin string also can for Chinese character string, to this, the present invention is not specifically limited.
The present invention is mainly concerned with and extracts sentence features according to the key word of the inquiry of user's input, and in the search box namely in searched page, input content is: the query contents that certain sentence pattern is expressed.Such as " from Zhong Guan-cun to West Beijing ", first, need the sentence features extracting key word of the inquiry, wherein, the sentence features extracting key word of the inquiry comprises further: extract routing characteristics, distance feature, map feature, vehicles feature, train number feature, the array mode of local feature and arbitrary feature of going on a journey in motion characteristic or any several feature, and then tentatively searched with the default sentence pattern prestored in a database by the array mode of the arbitrary feature in above-mentioned sentence features or any several feature, and further, extracted sentence features is mated with the sentence features included by default sentence pattern, determine mated sentence features, array mode according to the sentence features of coupling determines mated sentence pattern.Wherein, preset sentence pattern to define in schema file rules.txt.
Such as, " from Zhong Guan-cun to West Beijing " namely therefrom can extract " Zhong Guan-cun " and " West Beijing " local feature, therefrom extract routing characteristics simultaneously, above-mentioned two kinds of features are combined, carries out in a database and the searching and mate of the sentence pattern prestored based on the concrete two kinds of features in above-mentioned sentence features.
Further, according to the matching result of above-mentioned acquisition, determine whether invocation map interface, particularly, based on the clause mark of matching result determination key word of the inquiry, namely system call mathematics scoring model is given a mark one by one to key word of the inquiry, the marking of each key word of the inquiry is added, the final clause mark calculating acquisition key word of the inquiry.
To key word of the inquiry, marking is carried out one by one for system call mathematics scoring model can be understood as: the map inquiry word identification marking subroutine that the master routine in system calls wherein is given a mark, wherein, mathematics scoring model have expressed the digital corresponding relation between word and mark that will inquire about.
Particularly, first the foundation of mathematics scoring model need the query word extracting some from user journal, extracts all features of the query word of above-mentioned some, provide different marks to each feature.Wherein, all features of query word are divided into strong feature and weak feature by us, for the strong feature of query word, give higher score value, for the weak feature of query word, give lower score value, and finally, all feature calculation in conjunction with query word go out total score value.
Further, undertaken judging whether to tell map inquiry word and non-map inquiry word by the total score value calculating the query word of some, if map inquiry word can not be told, adjustment mathematics scoring model is then needed to calculate, through iterating, until total score value of the query word finally calculated can tell most of query word, namely mathematics scoring model is set up complete.Wherein, in the process setting up mathematics scoring model, in order to raise the efficiency, we can use the mode of excel measure and calculate table, by revising the mode of measure and calculate table at every turn, the result of amendment can be found out more intuitively, can recognize fast and have how many query word extracting some to be resolved out, then can improve to mathematics scoring model set up ageing.
Namely further, invocation map interface is determined whether according to clause mark, if cannot determine based on matching result the sentence pattern that key word of the inquiry mates, so remember that clause mark is zero, then do not need clause mark to join to determine in map relevance score, if based on the sentence pattern that matching result determination key word of the inquiry mates, then being joined by clause mark determines in map relevance score, such as, " from Zhong Guan-cun to West Beijing " is given a mark by mathematics scoring model, determines that map relevance score is 228.
Further, in each step according to predetermined calculated with mathematical model map relevance score, can not solve owing to always having some badcase, such as, Warrior Lanling, from garden with hundreds of grasses to Three-Flavour Study, the query words such as Maldives's map, the mathematical model gone out with sample statistics, gives a mark higher, but actually can not give map for change, this just needs some rules to fight each other to be divided into Row sum-equal matrix.Thus preferred, determine, in the method for key word of the inquiry whether invocation map interface, also to comprise step: adjust the map relevance score determined according to pre-defined rule a kind of.
Particularly, the inquiry pattern corresponding with it is determined according to the key word of the inquiry of user's input; According to inquiry pattern, determine the inquiry pattern mark of key word of the inquiry; Determine whether invocation map interface also according to inquiry pattern mark, namely determine to inquire about pattern according to query characteristics, according to inquiry pattern determination map relevance score, wherein, after inquiry pattern refers to that queryparser by analysis, final feedback obtains the mode of concrete query engine, and different inquiry patterns can provide different score values, such as, People's University: type:special| People's University; Peking University: type:orig| " Peking University "; Beijing Public Transport station: type:range| Beijing | class: bus stop; Shangdi rotary island JiaHua Building: type:around| Shangdi rotary island | JiaHua Building; Public transport 104 tunnel: type:bus public transport 104 tunnel; From Zhong Guan-cun to West Beijing: type:route| Zhong Guan-cun | West Beijing.
Further, according to the key word of the inquiry determination query word type of user's input; According to query word type, determine query word type scores; Determine whether invocation map interface also according to query word type scores.
Further, according to user input key word of the inquiry or key word of the inquiry participle determine geographical attributive character; According to geographical attributive character, determine geographical attribute scores; Determine whether invocation map interface also according to geographical attribute mark, namely judge whether query characteristics is geographical attribute feature, according to judged result determination map relevance score, wherein, geographical attribute feature comprises administrative region, road name, number, floor and entity etc., such as, after queryparser analysis, participle, can obtain these geographical attribute features of information such as having administrative region, link name, number, floor; Respectively score value is calculated to above-mentioned geographical attribute feature, such as, Enterprises of Futian District Huaqiangbei Road match floor Building C, No. 4 building 9, lattice sci-tech industrial park, analyzed by queryparser, after participle be:
After verify: match floor/-4, No. 4 building/-39, sci-tech industrial park, lattice/0/48, Huaqiangbei Road/-2, Futian District/-1, Shenzhen/-1
Wherein, Shenzhen and Futian District are administrative regions, and Huaqiangbei Road is link name, and No. 4 building is number, and 9 layers is floor.
Further, that determines the word in query word outside query characteristics accounts for word ratio, map relevance score is determined according to accounting for word ratio, wherein, queryparser has oneself special word segmentation regulation, and not every query word all may to mark attribute, is then designated as unknown_word for the word that can not mark attribute, if unknown_word word is a lot, then calculates score value and also can be deducted a lot.
Further, also some query word is not analyzed by queryparser, participle identifies, but can be undertaken searching by unknown_words.txt dictionary, these words of being returned by unknown_word.txt dictionary lookup are not also deducted points, such as, Query:(matches lattice sci-tech industrial park), the word scoring process of being returned by unknown_word.txt dictionary lookup is:
Try match: match lattice sci-tech industrial park name;
After rmmseg: Sai Ge/0 sci-tech industrial park/47;
After verify: Sai Ge/0 sci-tech industrial park/48;
288 211type:discard| match lattice sci-tech industrial park | Sai Ge | " sci-tech industrial park ".
In sum, undertaken mating by query characteristics and default sentence pattern, determine to inquire about pattern according to query characteristics, judge that whether query characteristics is geographical attribute feature and accounts for word ratio to the word that can not identify by what determine word in query word outside query characteristics, finally determine map relevance score.Above analysis mode is progressively deeply, thus, improves the accuracy determining map relevance score.
After based on query word determination map relevance score, also comprise: according to pre-defined rule, the map relevance score determined is adjusted, can improve thus and the map inquiry word of greater number is analyzed, participle, and then after calculating last score value, realize the object that map recalls.Wherein, finally calculate score value compare with the predetermined threshold of recalling map, and then determine whether invocation map interface, when the last score value calculated is more than or equal to the predetermined threshold of recalling map, will invocation map interface, such as, score value is more than or equal to 210 points, system will calling interface, and comprise further after invocation map interface is determined in judgement: determine geographical attributive character according to query word, the local map intercepting geographical attribute feature corresponding is shown as picture, further, be combined with the details of word to query word and describe search procedure.
Wherein, the details of picture and query word are described through the default space of a whole page and show; The predetermined length of picture and roomy little or Aspect Ratio, the file layout of predetermined pictures and size the writing all by background program of predetermined pictures file data, finally show, and picture is pushed by the mode be embedded in search result list, shows in the left side at interface; The right side that the details of query word are described in interface is shown, and the details of query word describe and show according to carrying out sequence with the degree of correlation descending of query word, thus, improve the search experience of user, improve search environment.
Foregoing is for open search client from PC or notebook, query word input is carried out in search box in search interface, namely be embodied as in search results pages and provide rational map onebox to recall scheme, meanwhile, can also open search client from mobile terminal, carry out query word input in the search box in search interface, being namely embodied as mobile terminal webpage provides rational map onebox to recall scheme, particularly, the locating information of user is obtained; Determine the urban information at user place according to locating information, during invocation map interface, push and be limited to incity, city cartographic information.
In summary, open on mobile terminals search interface carry out query word input with open on PC or notebook search interface carry out query word input unlike, open while search engine carries out query word input on mobile terminals, mobile terminal carries out city orientation by the steady arm (such as GPS or LBS etc.) of mobile terminal inside to the position of present terminal, and the information also carrying location when query word is searched for does the limited search in region.Such as, use user's city orientation in Beijing, input Fragrance Hill, then can inquire about based on Beijing by expliciting the position, now also can calculate a score value, be added in last score value.Thus, improve mobile phone users utilizes the present invention to carry out the ageing of map inquiry and accuracy.
As shown in Figure 2, a kind of system 10 determining key word of the inquiry whether invocation map interface that the present invention proposes, comprising: sentence features abstraction module 101, sentence pattern matching module 102 and map interface calling module 103.
Particularly, sentence features abstraction module 101 extracts sentence features for the key word of the inquiry inputted according to user, and wherein, sentence features abstraction module comprises further: routing characteristics extracting unit is used for extracting routing characteristics according to the key word of the inquiry of user's input; Distance feature extracting unit is used for extracting distance feature according to the key word of the inquiry of user's input; Map feature extracting unit is used for extracting map feature according to the key word of the inquiry of user's input; Vehicles feature extraction unit is used for extracting vehicles feature according to the key word of the inquiry of user's input; Train number feature extraction unit is used for extracting train number feature according to the key word of the inquiry of user's input; Local feature extraction unit is used for extracting local feature according to the key word of the inquiry of user's input; Trip motion characteristic extracting unit is used for extracting row motion characteristic according to the key word of the inquiry of user's input; Sentence pattern matching module 102, according to the array mode between extracted above-mentioned feature and feature, determines mated sentence pattern.
Sentence pattern matching module 102 is for mating key word of the inquiry with the sentence pattern preset in database based on sentence features, wherein, sentence pattern matching module 102 comprises further: sentence features matching unit is used for extracted sentence features to mate with the sentence features included by default sentence pattern, determines mated sentence features; Sentence pattern determining unit is used for determining mated sentence pattern according to the array mode of the sentence features of coupling; When sentence pattern matching module 102 cannot determine the sentence pattern that key word of the inquiry mates, clause mark determining unit note clause mark is zero.
Map interface calling module 103 is for according to matching result, determine whether invocation map interface, wherein, map interface calling module 103 comprises further: clause mark determining unit is used for the clause mark determining described key word of the inquiry based on matching result, wherein, clause mark determining unit, the clause mark according to the clause mark determination key word of the inquiry corresponding with the sentence pattern preset: store default sentence pattern and the clause mark corresponding with the sentence pattern preset in database; Map interface call unit is used for determining whether invocation map interface according to clause mark.
Further, what the present invention proposed a kind ofly determines that the system of key word of the inquiry whether invocation map interface also comprises: inquiry pattern determination module is used for determining the inquiry pattern corresponding with it according to the key word of the inquiry of user's input, inquiry pattern mark determination module is used for according to inquiry pattern, determine the inquiry pattern mark of key word of the inquiry, map interface calling module also determines whether invocation map interface according to inquiry pattern mark; Query word determination type module is used for the key word of the inquiry determination query word type according to user's input, query word type scores determination module is used for according to query word type, determine query word type scores, map interface calling module also determines whether invocation map interface according to query word type scores; Geographical attribute characteristic determination module be used for according to user input key word of the inquiry or key word of the inquiry participle determine geographical attributive character, geographical attribute mark determination module is used for according to geographical attributive character, determine geographical attribute scores, map interface calling module also determines whether invocation map interface according to geographical attribute mark.
Further, what the present invention proposed a kind ofly determines that the system of key word of the inquiry whether invocation map interface also comprises: locating information acquisition module is for obtaining the locating information of user; City determination module is used for the urban information determining user place according to locating information, and map pushing module is used for when determining invocation map interface, pushes and is limited to incity, city cartographic information.
A kind of system determining key word of the inquiry whether invocation map interface that the present invention proposes, by sentence features abstraction module, the key word of the inquiry according to user's input extracts sentence features; Then by sentence pattern matching module, based on sentence features, key word of the inquiry is mated with the sentence pattern preset in database; Eventually through map interface calling module according to matching result, determine whether invocation map interface, and then not only can improve the ageing of search and accuracy, the experience property of search can also be improved simultaneously.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the * * * equipment of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
Alleged herein " embodiment ", " embodiment " or " one or more embodiment " means, the special characteristic in conjunction with the embodiments described, structure or characteristic comprise at least one embodiment of the present invention.In addition, note that the word example of " in one embodiment " here not necessarily refers to same embodiment entirely.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
In addition, shall also be noted that the language used in this instructions is mainly in order to object that is readable and instruction is selected, instead of select to explain or limiting theme of the present invention.Therefore, when not departing from the scope and spirit of appended claims, many modifications and changes are all apparent for those skilled in the art.For scope of the present invention, be illustrative to disclosing of doing of the present invention, and nonrestrictive, and scope of the present invention is defined by the appended claims.

Claims (10)

1. determine a method for key word of the inquiry whether invocation map interface, comprising:
Key word of the inquiry according to user's input extracts sentence features;
Based on described sentence features, described key word of the inquiry is mated with the sentence pattern preset in database;
According to matching result, determine whether invocation map interface.
2. method according to claim 1, determines whether invocation map interface according to matching result, comprises further:
The clause mark of described key word of the inquiry is determined based on matching result;
Invocation map interface is determined whether according to described clause mark.
3. the method according to any one of claim 1-2, determine the clause mark of described key word of the inquiry based on matching result, comprise further:
Determine based on matching result the sentence pattern that described key word of the inquiry mates, determine the clause mark of described key word of the inquiry according to the clause mark corresponding with described default sentence pattern: in described database, store default sentence pattern and the clause mark corresponding with described default sentence pattern.
4. the method according to any one of claim 1-3, determines the clause mark of described key word of the inquiry, comprises further: if cannot determine based on matching result the sentence pattern that described key word of the inquiry mates based on matching result, so remember that clause mark is zero.
5. the method according to any one of claim 1-4, according to user input key word of the inquiry extract sentence features, comprise further: according to user input key word of the inquiry extract routing characteristics, distance feature, map feature, vehicles feature, train number feature, local feature, trip motion characteristic in arbitrary feature or any several feature;
Based on described sentence features, described key word of the inquiry is mated with the sentence pattern preset in database, comprise further: according to the array mode between extracted above-mentioned feature and feature, determine mated sentence pattern.
6. the method according to any one of claim 1-5, according to the array mode between extracted sentence features and sentence features, determine mated sentence pattern, comprise further: extracted sentence features is mated with the sentence features included by default sentence pattern, determines mated sentence features; Array mode according to the sentence features of coupling determines mated sentence pattern.
7. the method according to any one of claim 1-6, the method also comprises:
Key word of the inquiry according to user's input determines the inquiry pattern corresponding with it;
According to described inquiry pattern, determine the inquiry pattern mark of described key word of the inquiry;
Describedly determine whether invocation map interface also according to described inquiry pattern mark.
8. the method according to any one of claim 1-7, the method also comprises:
According to the key word of the inquiry determination query word type of user's input;
According to described query word type, determine described query word type scores;
Describedly determine whether invocation map interface also according to described query word type scores.
9. the method according to any one of claim 1-8, the method also comprises:
Geographical attributive character determined in the key word of the inquiry inputted according to user or key word of the inquiry participle;
According to described geographical attribute feature, determine geographical attribute scores;
Describedly determine whether invocation map interface also according to described geographical attribute mark.
10. determine a system for key word of the inquiry whether invocation map interface, comprising:
Sentence features abstraction module, extracts sentence features for the key word of the inquiry inputted according to user;
Sentence pattern matching module, for mating described key word of the inquiry with the sentence pattern preset in database based on described sentence features;
Map interface calling module, for according to matching result, determines whether invocation map interface.
CN201410812154.0A 2014-12-23 2014-12-23 A kind of determining key word of the inquiry whether the method and system of invocation map interface Active CN104504078B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410812154.0A CN104504078B (en) 2014-12-23 2014-12-23 A kind of determining key word of the inquiry whether the method and system of invocation map interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410812154.0A CN104504078B (en) 2014-12-23 2014-12-23 A kind of determining key word of the inquiry whether the method and system of invocation map interface

Publications (2)

Publication Number Publication Date
CN104504078A true CN104504078A (en) 2015-04-08
CN104504078B CN104504078B (en) 2019-03-01

Family

ID=52945476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410812154.0A Active CN104504078B (en) 2014-12-23 2014-12-23 A kind of determining key word of the inquiry whether the method and system of invocation map interface

Country Status (1)

Country Link
CN (1) CN104504078B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134745A (en) * 2018-02-09 2019-08-16 北京搜狗科技发展有限公司 A kind of method, apparatus and equipment of enquiring route information

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077322A (en) * 2013-03-30 2014-10-01 百度在线网络技术(北京)有限公司 Method and system for mining geographic information on basis of problems

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077322A (en) * 2013-03-30 2014-10-01 百度在线网络技术(北京)有限公司 Method and system for mining geographic information on basis of problems

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134745A (en) * 2018-02-09 2019-08-16 北京搜狗科技发展有限公司 A kind of method, apparatus and equipment of enquiring route information
CN110134745B (en) * 2018-02-09 2024-05-07 北京搜狗科技发展有限公司 Method, device and equipment for inquiring route information

Also Published As

Publication number Publication date
CN104504078B (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN109145169B (en) Address matching method based on statistical word segmentation
CN103514234B (en) A kind of page info extracting method and device
CN112329467B (en) Address recognition method and device, electronic equipment and storage medium
CN101937438B (en) Method and device for extracting webpage content
US8682646B2 (en) Semantic relationship-based location description parsing
CN106909611B (en) Hotel automatic matching method based on text information extraction
WO2007009074A2 (en) Identifying locations
CN110457420A (en) Point of interest location recognition methods, device, equipment and storage medium
WO2006133538A1 (en) System and method for ranking web content
CN103077201B (en) A kind of unknown position evaluation method based on the detection of internet active iteration
JP2022532451A (en) How to disambiguate Chinese place name meanings based on encyclopedia knowledge base and word embedding
CN104424177B (en) A kind of method and device for extracting core word
CN102033947A (en) Region recognizing device and method based on retrieval word
CN108984640A (en) A kind of geography information acquisition methods excavated based on web data
CN103699623A (en) Geo-coding realizing method and device
CN113360789A (en) Interest point data processing method and device, electronic equipment and storage medium
Chen et al. Crowdgeokg: Crowdsourced geo-knowledge graph
CN104866623A (en) Searching method and searching server
CN106155998B (en) A kind of data processing method and device
CN104462531A (en) Method and system for determining whether search term invokes map interface
Shi et al. Extraction of geospatial information on the Web for GIS applications
Borges et al. Ontology-driven discovery of geospatial evidence in web pages
Shi et al. Thematic data extraction from Web for GIS and applications
CN104504078A (en) Method and system for determining invoking or not of map interface for inquiry key words
CN104537041A (en) Method and system for determining whether map interface is called or not based on user search term

Legal Events

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

Effective date of registration: 20220718

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.