CN104516980B - The output method and server system of search result - Google Patents
The output method and server system of search result Download PDFInfo
- Publication number
- CN104516980B CN104516980B CN201410853039.8A CN201410853039A CN104516980B CN 104516980 B CN104516980 B CN 104516980B CN 201410853039 A CN201410853039 A CN 201410853039A CN 104516980 B CN104516980 B CN 104516980B
- Authority
- CN
- China
- Prior art keywords
- hotel information
- degree
- hotel
- search
- user
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
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)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of output method of search result and server system, the output method of search result includes:S1, the search term for obtaining target user input, the degree of association of each hotel information and described search word are calculated by a formula, the formula is:The degree of association=qc × C+qk × K+qh × H+qu × U, wherein qc, qk, qh and qu are the constant between 01, C is the similarity degree of hotel information and search term, K is that hotel information described in History Order is searched the number that word is searched out and is scheduled, H is that hotel information is browsed in one first preset duration and/or scheduled number, U are the hotel information by target user's browsing and/or scheduled number;S2, in a display interface according to the degree of association hotel information is exported from high to low.The search result of the application and search term matching degree higher input by user, can provide to the user conveniently.
Description
Technical field
The present invention relates to a kind of output method of search result and server systems.
Background technology
Existing GT grand touring website provides great convenience for the trip of people, and GT grand touring website usually can provide and search
Suo Gongneng, user after inputting search term, GT grand touring website can a real search result to user, but existing search
As a result matching capacity is poor, and the search result shown usually differs farther out with the expected result of user.
Invention content
The technical problem to be solved by the present invention is in order to overcome the output of search result in the prior art it is not accurate enough, with
The expected result of user differs larger defect, provide it is a kind of it is more accurate, can be the search result that user offers convenience
Output method and server system.
The present invention is to solve above-mentioned technical problem by following technical proposals:
A kind of output method of the search result of database, the database include several hotel informations, History Order with
And user information, feature are, the output method of described search result includes:
S1, the search term for obtaining target user input calculate each hotel information and described search word by a formula
The degree of association, the formula is:The degree of association=qc × C+qk × K+qh × H+qu × U, wherein qc, qk, qh and qu are 0-1
Between constant, C be the hotel information and search term similarity degree, K be History Order described in hotel information it is described
The number that search term is searched out and is scheduled, H are that the hotel information is browsed and/or scheduled in one first preset duration
Number, U are that the hotel information is browsed and/or scheduled number by the target user;
S2, in a display interface according to the degree of association hotel information is exported from high to low.
The application is calculated using data of multiple objective realities in database so that search result is more accurate
Really, wherein the hotel information may include title, address, residing shopping centre, administrative area and the neighbouring terrestrial reference in hotel etc.,
Using the similarity degree of hotel information and search term as a parameter in total degree of association.K is used for indicating identical search term
Under, which hotel is other users have subscribed to, and the most hotel of the number subscribed under same search word can objectively reflect
The demand of user is more easily satisfied in this hotel, using the number subscribed under same search word as a ginseng in total degree of association
Amount.H can reflect the recent welcome or concerned degree of hotel information, using recent pouplarity as total association
A parameter in degree.U can objectively reflect interest of the target user to hotel, by target user to the concern journey in hotel
Degree is as a parameter in total degree of association.By above-mentioned parameter by adjustable weight carry out synthesis can obtain it is more accurate
True search result provides to the user conveniently.
Preferably, in the formulaWherein n is the quantity of the dimension of hotel information, Wi 0-1
Between constant, Si be described search word with per dimension keyword similarity.
Title, address, residing shopping centre, administrative area and neighbouring terrestrial reference in hotel information etc. is similar to keyword
Degree is calculated as dimension, and the result of the hotel information of acquisition and the similarity degree of search term is more accurate.
Preferably, the step S1 includes:Judge the phase for the hotel name that described search word includes with the hotel information
Whether it is more than a threshold value like degree, if then in the formulaWherein B is weighted value and its number
Value is so that the degree of association of the hotel information is maximum.
If the search term of user and the similarity degree of a hotel name are especially high, then it is assumed that user is specific in search
Hotel.Ensure that the specific hotel information of user's search can appear on highest display location using weighted value.
Preferably, hotel information is by described search described in History Orders of the K for all users in one second preset duration
The number that word is searched out and is scheduled.
Preferably, the database is regularly updated by the feedback of user and with the comparison of newest hotel information.
The database of the application is accurate much sooner, further improves the accuracy of search result.
The application also provides a kind of server system, and feature is comprising a server and several user terminals,
The server includes a database, an acquisition module, a computing module and an output module, and the database includes several
Hotel information, History Order and user information;
The acquisition module is for obtaining the search term that a target user is inputted by user terminal;
The computing module is used to calculate the degree of association of each hotel information and described search word, the public affairs by a formula
Formula is:The degree of association=qc × C+qk × K+qh × H+qu × U, wherein qc, qk, qh and qu are the constant between 0-1, and C is
The similarity degree of the hotel information and search term, K be hotel information described in History Order searched out by described search word and
Scheduled number, H are that the hotel information is browsed in one first preset duration and/or scheduled number, U are the wine
Shop information is browsed and/or scheduled number by the target user;
The output module be used in the display interface of the user terminal of target user according to the degree of association from height to
Low land exports hotel information.
Preferably, in the formulaWherein n is the quantity of the dimension of hotel information, Wi 0-1
Between constant, Si be described search word with per dimension keyword similarity.
Preferably, the server further includes a judgment module, the judgment module is for judging described search word and institute
Whether the similarity degree for stating the hotel name that hotel information includes is more than a threshold value, if then in the formulaWherein B is weighted value and its numerical value makes the degree of association of the hotel information maximum.
Preferably, hotel information is by described search described in History Orders of the K for all users in one second preset duration
The number that word is searched out and is scheduled.
Preferably, the database is regularly updated by the feedback of user and with the comparison of newest hotel information.
On the basis of common knowledge of the art, above-mentioned each optimum condition can be combined arbitrarily to get each preferable reality of the present invention
Example.
The positive effect of the present invention is that:The search result of the application and search term matching degree input by user are more
Height can provide to the user conveniently.
Description of the drawings
Fig. 1 is the flow chart of the output method of the application preferred embodiment.
Specific implementation mode
It is further illustrated the present invention below by the mode of embodiment, but does not therefore limit the present invention to the reality
It applies among a range.
Embodiment
The present embodiment provides a kind of server systems comprising a server and several user terminals, the server
Including a database, an acquisition module, a computing module, an output module and a judgment module, if the database includes
Dry hotel information, History Order and user information.
The acquisition module is for obtaining the search term that a target user is inputted by user terminal.
The similarity degree for the hotel name that the judgment module is used to judge that described search word includes with the hotel information
Whether 80% is more than.
If then the computing module is used to calculate the degree of association of each hotel information and described search word by a formula,
The formula is:The degree of association=qc × C+qk × K+qh × H+qu × U, wherein qc=0.4, qk=0.3, qh=0.1 and qu
=0.2 is the constant between 0-1, and C is the similarity degree of the hotel information and search term,
Wherein n=5 be hotel information dimension quantity, by hotel information title, address, residing shopping centre, administrative area and
The similarity degree of neighbouring terrestrial reference and keyword is calculated as dimension, the hotel information of acquisition and the similarity degree of search term
Result it is more accurate.W1 to W5 is the similarity that 0.2, S1 to S5 is described search word and the keyword per dimension, B
Make the degree of association of the hotel information maximum for weighted value and its numerical value.In History Orders of the K for all users in a week
The number that the hotel information is searched out and is scheduled by described search word.H is that the hotel information is browsed in one month
With scheduled number.U is the hotel information by target user browsing and scheduled number.
If otherwiseC in the i.e. described formula need not be added with weighted value.
The database is regularly updated by the feedback of user and with the comparison of newest hotel information.
The server system of the present embodiment, which can carry, exports more accurate search result, search result with it is input by user
Search term matching degree higher provides to the user conveniently.
Referring to Fig. 1, a kind of output method of the search result of database can be realized using the server system, it is described
The output method of search result includes:
Step 100, the search term for obtaining target user input;
Step 101 judges whether the similarity degree for the hotel name that described search word includes with the hotel information is more than
80%, if so then execute step 102,103 are thened follow the steps if not;
Step 102, the degree of association that each hotel information and described search word are calculated by the formula, in the formulaWherein B is weighted value and its numerical value makes the degree of association of the hotel information maximum, is then held
Row step 104;
Step 104 according to the degree of association exports hotel information from high to low in a display interface.
The output method of the search result of the present embodiment, which can carry, exports more accurate search result, search result and use
The search term matching degree higher of family input, provides to the user conveniently.
Although specific embodiments of the present invention have been described above, it will be appreciated by those of skill in the art that these
It is merely illustrative of, protection scope of the present invention is defined by the appended claims.Those skilled in the art is not carrying on the back
Under the premise of from the principle and substance of the present invention, many changes and modifications may be made, but these are changed
Protection scope of the present invention is each fallen with modification.
Claims (10)
1. a kind of output method of the search result of database, the database include several hotel informations, History Order and
User information, which is characterized in that the output method of described search result includes:
S1, the search term for obtaining target user input, the pass of each hotel information and described search word is calculated by a formula
Connection degree, the formula are:The degree of association=qc × C+qk × K+qh × H+qu × U, wherein qc, qk, qh and qu are between 0-1
Constant, C be the hotel information and search term similarity degree, K be History Order described in hotel information by described search
The number that word is searched out and is scheduled, H are that the hotel information browse and/or scheduled secondary in one first preset duration
Number, U are that the hotel information is browsed and/or scheduled number by the target user;
S2, in a display interface according to the degree of association hotel information is exported from high to low.
2. the output method of search result as described in claim 1, which is characterized in that in the formula
Wherein n is the quantity of the dimension of hotel information, and constants of the Wi between 0-1, Si is the key of described search word and every dimension
The similarity of word.
3. the output method of search result as claimed in claim 2, which is characterized in that the step S1 includes:Described in judgement
Whether the similarity degree for the hotel name that search term includes with the hotel information is more than a threshold value, if then in the formulaWherein B is weighted value and its numerical value makes the degree of association of the hotel information maximum.
4. the output method of search result as described in claim 1, which is characterized in that K is to own in one second preset duration
The number that hotel information is searched out and is scheduled by described search word described in the History Order of user.
5. the output method of search result as described in claim 1, which is characterized in that the feedback that the database passes through user
And it is regularly updated with the comparison of newest hotel information.
6. a kind of server system, which is characterized in that it includes a server and several user terminals, and the server includes
One database, an acquisition module, a computing module and an output module, the database include several hotel informations, history
Order and user information;
The acquisition module is for obtaining the search term that a target user is inputted by user terminal;
The computing module is used to calculate the degree of association of each hotel information and described search word, the formula by a formula
For:The degree of association=qc × C+qk × K+qh × H+qu × U, wherein qc, qk, qh and qu are the constant between 0-1, and C is institute
State the similarity degree of hotel information and search term, K be hotel information described in History Order by described search word search out and by
Scheduled number, H are that the hotel information is browsed in one first preset duration and/or scheduled number, U are the hotel
Information is browsed and/or scheduled number by the target user;
The output module is used in the display interface of the user terminal of target user according to the degree of association from high to low
Export hotel information.
7. server system as claimed in claim 6, which is characterized in that in the formulaWherein n
For the quantity of the dimension of hotel information, constants of the Wi between 0-1, Si is the phase of described search word and the keyword per dimension
Like degree.
8. server system as claimed in claim 7, which is characterized in that the server further includes a judgment module, described
Whether the similarity degree for the hotel name that judgment module is used to judge that described search word includes with the hotel information is more than a threshold
Value, if then in the formulaWherein B is weighted value and its numerical value makes the hotel information
The degree of association it is maximum.
9. server system as claimed in claim 6, which is characterized in that K is that all users go through in one second preset duration
The number that hotel information is searched out and is scheduled by described search word described in history order.
10. server system as claimed in claim 6, which is characterized in that the database by the feedback of user and with
The comparison of newest hotel information regularly updates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410853039.8A CN104516980B (en) | 2014-12-26 | 2014-12-26 | The output method and server system of search result |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410853039.8A CN104516980B (en) | 2014-12-26 | 2014-12-26 | The output method and server system of search result |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104516980A CN104516980A (en) | 2015-04-15 |
CN104516980B true CN104516980B (en) | 2018-08-03 |
Family
ID=52792279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410853039.8A Active CN104516980B (en) | 2014-12-26 | 2014-12-26 | The output method and server system of search result |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104516980B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107169592B (en) * | 2017-04-24 | 2021-03-23 | 北京趣拿软件科技有限公司 | Method and device for prompting information |
CN107256251B (en) * | 2017-06-08 | 2020-08-25 | 阿里巴巴(中国)有限公司 | Application software searching method and device and server |
CN107767172A (en) * | 2017-10-12 | 2018-03-06 | 百度在线网络技术(北京)有限公司 | Information-pushing method, device, server and medium |
CN109146541B (en) * | 2018-07-05 | 2021-04-27 | 北京三快在线科技有限公司 | Quality score obtaining method and device of interest points, computer equipment and storage medium |
CN111523036B (en) * | 2020-04-24 | 2023-12-19 | 北京百度网讯科技有限公司 | Search behavior mining method and device and electronic equipment |
CN111966899B (en) * | 2020-08-12 | 2024-02-13 | 新华智云科技有限公司 | Search ranking method, system and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887437A (en) * | 2009-05-12 | 2010-11-17 | 阿里巴巴集团控股有限公司 | Search result generating method and information search system |
CN103336848A (en) * | 2013-07-22 | 2013-10-02 | 五八同城信息技术有限公司 | Ordering method for classified information |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7668812B1 (en) * | 2006-05-09 | 2010-02-23 | Google Inc. | Filtering search results using annotations |
CN103886017B (en) * | 2011-07-29 | 2016-02-24 | 百度在线网络技术(北京)有限公司 | A kind of for providing the method and apparatus of related sub links in Search Results |
CN103473273B (en) * | 2013-08-22 | 2019-01-18 | 百度在线网络技术(北京)有限公司 | Information search method, device and server |
-
2014
- 2014-12-26 CN CN201410853039.8A patent/CN104516980B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887437A (en) * | 2009-05-12 | 2010-11-17 | 阿里巴巴集团控股有限公司 | Search result generating method and information search system |
CN103336848A (en) * | 2013-07-22 | 2013-10-02 | 五八同城信息技术有限公司 | Ordering method for classified information |
Also Published As
Publication number | Publication date |
---|---|
CN104516980A (en) | 2015-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104516980B (en) | The output method and server system of search result | |
Li et al. | Relative climate index and its effect on seasonal tourism demand | |
CN104143005B (en) | A kind of related search system and method | |
CN112612957B (en) | Recommendation method of interest points and training method and device of recommendation model of interest points | |
CN103886090B (en) | Content recommendation method and device based on user preferences | |
CN109614556B (en) | Access path prediction and information push method and device | |
US20150205580A1 (en) | Method and System for Sorting Online Videos of a Search | |
CN106233288B (en) | Re-ranking search results for location refinement and diversity | |
CN104166732B (en) | Project collaboration filtering recommendation method based on global scoring information | |
CN107180093A (en) | Information search method and device and ageing inquiry word recognition method and device | |
CN104217031A (en) | Method and device for classifying users according to search log data of server | |
CN107291939A (en) | The clustering match method and system of hotel information | |
US10102669B2 (en) | Density sampling map labels | |
WO2021164131A1 (en) | Map display method and system, computer device and storage medium | |
CN103177012A (en) | Method and device of electric book push | |
US20120150753A1 (en) | Quantitative valuation of real estate based on qualitative assessment thereof | |
US10169797B2 (en) | Identification of entities based on deviations in value | |
CN106897398B (en) | Video display method and device | |
CN104199938B (en) | Agricultural land method for sending information and system based on RSS | |
Du et al. | Pcard: Personalized restaurants recommendation from card payment transaction records | |
Honarparvar et al. | Improvement of a location-aware recommender system using volunteered geographic information | |
CN104899254A (en) | An information push method and device for an entity-centered IoT life platform | |
CN104123321B (en) | A kind of determining method and device for recommending picture | |
CN110598126A (en) | A cross-social network user identification method based on behavioral habits | |
KR101888010B1 (en) | System and method for providing of statistical trends service of real-estate |
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 |