CN109033469B - Ranking method and device of search results, terminal and computer storage medium - Google Patents

Ranking method and device of search results, terminal and computer storage medium Download PDF

Info

Publication number
CN109033469B
CN109033469B CN201811017813.6A CN201811017813A CN109033469B CN 109033469 B CN109033469 B CN 109033469B CN 201811017813 A CN201811017813 A CN 201811017813A CN 109033469 B CN109033469 B CN 109033469B
Authority
CN
China
Prior art keywords
search result
advertisement data
financial
search
result set
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.)
Expired - Fee Related
Application number
CN201811017813.6A
Other languages
Chinese (zh)
Other versions
CN109033469A (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.)
Longyan Yilang Network Technology Co ltd
Original Assignee
Longyan Yilang Network 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 Longyan Yilang Network Technology Co Ltd filed Critical Longyan Yilang Network Technology Co Ltd
Priority to CN201811017813.6A priority Critical patent/CN109033469B/en
Publication of CN109033469A publication Critical patent/CN109033469A/en
Application granted granted Critical
Publication of CN109033469B publication Critical patent/CN109033469B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention is applicable to the field of software, and provides a ranking method, a ranking device, a ranking terminal and a computer storage medium of search results, wherein the method comprises the following steps: acquiring a search keyword input in a search box; finding out a search result set matched with the search keywords from the index database; detecting whether bidding advertisement data exist in the search result set; if yes, judging whether bidding advertisement data contains financial industry keywords; if yes, identifying the bidding advertisement data as financial advertisement data; acquiring click times and access time delay of each search result in the current period from a search result set without financial advertisement data; generating a model by adopting a preset ranking value, a time interval of a search result, and click times and access time delay of the search result to generate a ranking value of the search result; and displaying the search results on the search result page in sequence according to the sequence of the ranking values from high to low. The method and the system can shield the financial advertisements of the search results and optimize the ranking of the search results.

Description

Ranking method and device of search results, terminal and computer storage medium
Technical Field
The invention belongs to the field of software, and particularly relates to a ranking method, a ranking device, a ranking terminal and a computer storage medium of search results.
Background
After the development and application of the internet advertisement accurate delivery technology and the strict management of financial advertisements, a large number of financial advertisements are transferred to the internet from media such as traditional broadcasting, television, newspapers, magazines and the like. Meanwhile, the dependence of netizens on search engines of the internet is higher and higher, and nowadays, the search engines become the most main popularization window of financial advertisements, and a large amount of financial advertisements are rushed to the search engines of the internet.
However, the existing ranking method of the search results cannot shield financial advertisements, redundant information is excessive, and the display effect and the ranking effect are not ideal enough. The reason for this is that the current method of ranking search results is to present the search results using a bid rank. Because the bid-price ranking refers to the method of obtaining favorable ranking positions of website keyword search results in a competitive bid-price mode, payment is made according to the click rate of a user, and information with high click rate can be arranged in the front of the search results, the bid-price ranking enables a large amount of financial advertisements which cost to appear in the front of the search results, so the ranking effect of the search results is not ideal enough, in addition, a large amount of time is needed for identifying the large amount of financial advertisements by the user, and particularly under the condition that the searched search results are very many, the display effect of the search results is not ideal enough, so the current ranking method of the search results cannot shield the financial advertisements, redundant information is too much, and the display effect and the ranking effect are not ideal enough.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a terminal and a computer storage medium for ranking search results, so as to solve the problems that financial advertisements cannot be shielded, redundant information is excessive, and the display effect and the ranking effect are not ideal in the current ranking method for search results in the prior art.
The first aspect of the embodiments of the present invention provides a method for ranking search results, including:
acquiring a search keyword input in a search box;
finding out a search result set matched with the search keyword from an index database;
detecting whether bidding advertisement data exists in the search result set;
if bidding advertisement data exist in the search result set, judging whether the bidding advertisement data contain financial industry keywords;
if the bidding advertisement data contains financial industry keywords, identifying the bidding advertisement data as financial advertisement data;
removing the financial advertisement data from the search result set to obtain a search result set without the financial advertisement data;
acquiring click times and access time delay of each search result in the current period from a search result set without the financial advertisement data;
acquiring a time stamp of the search result, wherein the time stamp is the release time of the search result;
subtracting the current time from the timestamp to generate a time interval of the search result;
generating a model by adopting a preset ranking value, the time interval of the search result, the click times and the access time delay of the search result, and generating the ranking value of the search result;
sequentially displaying the search results on a search result page according to the sequence of the ranking values of the search results from high to low;
the ranking value generation model specifically comprises the following steps:
Figure BDA0001786300770000021
wherein, Vn[i]Is the ranking value of the nth search result in the current period i; alpha is a proportional coefficient, alpha is more than 0 and less than 1, and 1-alpha represents the proportion of the ranking value of the nth search result in the previous period in the current period; n is the serial number of the search result, the value range of N is 1 to N, and N is the total number of the search result; clicknThe number of clicks of the nth search result in the current period i is shown;
Figure BDA0001786300770000022
the sum of the click times of the search result in the current period i;
Figure BDA0001786300770000023
the ratio of the number of clicks of the nth search result in the current period i to the sum of the number of clicks of the search result is used for describing the probability of the nth search result being clicked based on the number of clicks; delaynThe access time delay of the nth search result in the current period i is obtained;
Figure BDA0001786300770000031
the time delay parameter of the nth search result in the current period i is used for describing the time delay of the nth search result; tj is the current time, tn is the nth timeThe publication time of the search results;
Figure BDA0001786300770000032
the probability of the search result being accessed based on the time interval is described; vn[i-1]The ranking value of the nth search result in the previous period of the current period i.
A second aspect of the present invention provides an apparatus for ranking search results, including:
the search keyword acquisition module is used for acquiring search keywords input in the search box;
the matching module is used for finding out a search result set matched with the search keyword from an index database;
the detection module is used for detecting whether bidding advertisement data exist in the search result set or not;
the judging module is used for judging whether the bidding advertisement data contain financial industry keywords or not if the bidding advertisement data exist in the search result set;
the financial advertisement data identification module is used for identifying the bidding advertisement data as financial advertisement data if the bidding advertisement data contains financial industry keywords;
the financial advertisement data removing module is used for removing the financial advertisement data from the search result set to obtain a search result set without the financial advertisement data;
the access time delay acquisition module is used for acquiring the click times and the access time delay of each search result in the current period in the search result set without the financial advertisement data;
the release time acquisition module is used for acquiring a time stamp of the search result, wherein the time stamp is the release time of the search result;
a time interval generating module, configured to subtract the current time from the timestamp to generate a time interval of the search result;
the ranking value generating module is used for generating a ranking value of the search result by adopting a preset ranking value generating model, the time interval of the search result, the click times and the access time delay of the search result;
the search result display module is used for sequentially displaying the search results on a search result page according to the sequence of the ranking values of the search results from high to low;
the ranking value generation model specifically comprises the following steps:
Figure BDA0001786300770000041
wherein, Vn[i]Is the ranking value of the nth search result in the current period i; alpha is a proportional coefficient, alpha is more than 0 and less than 1, and 1-alpha represents the proportion of the ranking value of the nth search result in the previous period in the current period; n is the serial number of the search result, the value range of N is 1 to N, and N is the total number of the search result; clicknThe number of clicks of the nth search result in the current period i is shown;
Figure BDA0001786300770000042
the sum of the click times of the search result in the current period i;
Figure BDA0001786300770000043
the ratio of the number of clicks of the nth search result in the current period i to the sum of the number of clicks of the search result is used for describing the probability of the nth search result being clicked based on the number of clicks; delaynThe access time delay of the nth search result in the current period i is obtained;
Figure BDA0001786300770000044
the time delay parameter of the nth search result in the current period i is used for describing the time delay of the nth search result; tj is the current time, and tn is the release time of the nth search result;
Figure BDA0001786300770000045
for describing radicalsA probability of said search results being accessed at a time interval; vn[i-1]The ranking value of the nth search result in the previous period of the current period i.
A third aspect of the embodiments of the present invention provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer storage medium storing a computer program that, when executed by a processor, performs the steps of the above-described method.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
on one hand, the financial advertisement data are removed from the search result set, so that the search result does not have the financial advertisement data, the financial advertisements can be shielded, redundant information is reduced, and the display effect of the search result is improved;
on the other hand, the ranking value generation model integrates the ratio of the number of clicks, the time delay parameter, the time interval and the ranking value of the nth search result in the previous period, so that the generated ranking value is high in reliability, and the search results are sequentially displayed on the search result page according to the sequence of the ranking values of the search results from high to low, so that the search results with short display time interval, multiple clicks and short access time delay in the front row of the search result page are displayed, therefore, the ranking of the search results can be optimized, the ranking effect of the search results is improved, and the search requirements of users are well met.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a flow chart of an implementation of a method for ranking search results provided by an embodiment of the present invention;
FIG. 2 is a block diagram illustrating a ranking apparatus for search results according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
Referring to fig. 1, fig. 1 is a flowchart of an implementation of a ranking method for search results provided by an embodiment of the present invention, where the method is applied to a terminal, and the ranking method for search results shown in fig. 1 may include the following steps:
s101, acquiring a search keyword input in a search box;
the search engine is used for acquiring the search keywords input in the search box.
S102, finding out a search result set matched with the search keyword from an index database;
when a user needs to search a certain word, a search keyword can be input into the search engine and searched, the search engine can acquire the search keyword, search is carried out based on the search keyword, and a search result set matched with the search keyword is found out from an index database.
Wherein the search result set comprises a plurality of search results matching the search keyword.
S103, detecting whether bidding advertisement data exist in the search result set or not;
s104, if bidding advertisement data exist in the search result set, judging whether the bidding advertisement data contain financial industry keywords;
wherein, the key words in the financial industry are investment or financing. For example, high profit, low risk, high return, safety guarantee, high profit, convenience in financing, and the like.
S105, if the bidding advertisement data contain financial industry keywords, identifying the bidding advertisement data as financial advertisement data;
s106, removing the financial advertisement data from the search result set to obtain a search result set without the financial advertisement data;
and directly removing financial advertisement data from the search result set.
For convenience of explanation, the following are exemplified:
for example, the search result set is 900 search results, the financial advertisement data is 100, and 100 financial advertisement data are directly removed from the 900 search results, so as to obtain a search result set without financial advertisement data, that is, 800 search results.
S107, acquiring the click times and the access time delay of each search result in the current period from the search result set without the financial advertisement data;
s108, obtaining a time stamp of the search result, wherein the time stamp is the release time of the search result;
s109, subtracting the timestamp from the current time to generate the time interval of the search result;
s110, generating a model by adopting a preset ranking value, the time interval of the search result, the click times and the access time delay of the search result, and generating the ranking value of the search result;
s111, sequentially displaying the search results on a search result page according to the sequence of the ranking values of the search results from high to low;
the ranking value generation model specifically comprises the following steps:
Figure BDA0001786300770000071
wherein, Vn[i]Is the ranking value of the nth search result in the current period i; alpha is a scale factor, 0 < alpha < 1, 1-alpha represents the ranking of the nth search result in the last periodThe ratio of the value in the current period; n is the serial number of the search result, the value range of N is 1 to N, and N is the total number of the search result; clicknThe number of clicks of the nth search result in the current period i is shown;
Figure BDA0001786300770000081
the sum of the click times of the search result in the current period i;
Figure BDA0001786300770000082
the ratio of the number of clicks of the nth search result in the current period i to the sum of the number of clicks of the search result is used for describing the probability of the nth search result being clicked based on the number of clicks; delaynThe access time delay of the nth search result in the current period i is obtained;
Figure BDA0001786300770000083
the time delay parameter of the nth search result in the current period i is used for describing the time delay of the nth search result; tj is the current time, and tn is the release time of the nth search result;
Figure BDA0001786300770000084
the probability of the search result being accessed based on the time interval is described; vn[i-1]The ranking value of the nth search result in the previous period of the current period i.
The relationship between the ranking value and the ranking value of the nth search result in the previous period, the time delay parameter and the number of clicks is positive correlation, and the relationship between the ranking value and the time interval is negative correlation, which is detailed as follows:
Figure BDA0001786300770000085
the ratio of the number of clicks of the nth search result in the current period i to the sum of the number of clicks of the search result is used for describing the probability of the nth search result being clicked based on the number of clicks. Because, search engines generally prefer to request a large number of hitsThe more clicks on a search result, the greater the probability that the search result will be requested by the search engine and, therefore, the higher the ranking value.
Figure BDA0001786300770000086
In the current period i, the delay parameter of the nth search result is used for describing the delay of the nth search result, the delay parameter is inversely related to the delay, the delay parameter decreases with increasing delay, and the delay parameter increases with decreasing delay, because the search engine generally prefers to request the search result with small delay, the smaller the delay, the greater the probability that the search result is requested by the search engine, and therefore, the higher the ranking value.
Figure BDA0001786300770000087
The probability of the search result being accessed based on the time interval is described; the longer the time interval, the lower the probability that the search result is accessed, and the shorter the time interval, the higher the probability that the search result is accessed because the search engine generally prefers to request the most recently published search results, and the shorter the time interval, the greater the probability that the search result is requested by the search engine, and thus, the higher the ranking value.
Vn[i-1]For the ranking value of the nth search result in the last period of the current period i, the higher the ranking value of the nth search result in the last period is, the higher the probability that the search result is requested by the search engine is, and therefore, the higher the ranking value is.
In the embodiment of the invention, the financial advertisement data is removed from the search result set, so that the search result has no financial advertisement data, therefore, the financial advertisements can be shielded, the redundant information is reduced, the display effect is favorably improved, on the other hand, the ranking value generation model comprehensively considers the ratio of the click times, the time delay parameter, the time interval and the ranking value of the nth search result in the previous period, therefore, the generated ranking value has higher credibility, and according to the sequence that the ranking values of the search results are from high to low, the search results are displayed on the search result page in sequence, so that the search results with short display time interval, multiple click times and short access time delay in the front row of the search result page are displayed, therefore, the ranking of the search results can be optimized, the ranking effect of the search results can be improved, and the search requirements of users can be better met.
Example two
The embodiment of the invention describes an implementation process for detecting advertisement identification, which is detailed as follows:
detecting whether the search result set contains advertisement identification, if the search result set contains the advertisement identification, judging that bidding advertisement data exists in the search result set, and if the search result set does not contain the advertisement identification, judging that the bidding advertisement data does not exist in the search result set.
In the embodiment of the invention, whether the search result contains the advertisement identification can be quickly judged by detecting the advertisement identification.
EXAMPLE III
The embodiment of the invention describes an implementation process for judging whether the advertisement data contains the keywords of the financial industry, and the detailed description is as follows:
if bidding advertisement data exist in the search result set, characters of the financial advertisement data are obtained, the characters are matched with the financial industry keywords, if matching is successful, the fact that the advertisement data contain the financial industry keywords is judged, and if matching is unsuccessful, the fact that the advertisement data do not contain the financial industry keywords is judged.
In the embodiment of the invention, whether the advertisement data contains the financial industry keywords can be quickly judged.
Example four
The embodiment of the invention describes an implementation process for removing financial advertisement data, which is detailed as follows:
and calculating the financial advertisement data by adopting an MD5 function to generate a hash value of the financial advertisement data, confirming that the financial advertisement data are falsified when the hash value of the financial advertisement data is inconsistent with a hash value of pre-stored bidding advertisement data, and eliminating the financial advertisement data from the search result set to obtain a search result set without the financial advertisement data.
The pre-stored bidding advertisement data is approved bidding advertisement data.
Wherein, the MD5 function, english: message Digest Algorithm MD5, chinese: the fifth version of the message digest algorithm.
In the embodiment of the invention, the financial advertisement data can be prevented from being tampered, and the actual requirements of the search client can be better met.
EXAMPLE five
The embodiment of the invention describes the implementation process of the period duration, and the detailed description is as follows:
the time length of the current period and the last period is 10 minutes.
In the embodiment of the invention, the current period is set to be 10 minutes, and the ranking value of the search result can be quickly updated.
EXAMPLE six
Corresponding to the method described in the first embodiment, referring to fig. 2, fig. 2 is a block diagram of a structure of a ranking apparatus for search results provided by an embodiment of the present invention, which is applied to terminals, including but not limited to mobile phones and computers. For convenience of explanation, only the portions related to the present embodiment are shown. For convenience of explanation, only the portions related to the present embodiment are shown.
Referring to fig. 2, the ranking means of the search results includes:
a search keyword acquisition module 21 configured to acquire a search keyword input in a search box;
a matching module 22, configured to find a search result set matching the search keyword from an index database;
a detection module 23, configured to detect whether bid advertisement data exists in the search result set;
a judging module 24, configured to judge whether bid advertisement data includes a financial industry keyword if the bid advertisement data exists in the search result set;
a financial advertisement data identification module 25, configured to identify the bidding advertisement data as financial advertisement data if the bidding advertisement data contains a financial industry keyword;
a financial advertisement data eliminating module 26, configured to eliminate the financial advertisement data from the search result set, so as to obtain a search result set without the financial advertisement data;
an access delay obtaining module 27, configured to obtain, in a search result set without the financial advertisement data, click times and access delays of each search result in a current period;
a release time obtaining module 28, configured to obtain a timestamp of the search result, where the timestamp is a release time of the search result;
a time interval generating module 29, configured to subtract the current time from the timestamp to generate a time interval of the search result;
the ranking value generating module 30 is configured to generate a ranking value of the search result by using a preset ranking value generation model, a time interval of the search result, and the number of clicks and access delays of the search result;
the search result display module 31 is configured to sequentially display the search results on a search result page according to an order from a high ranking value to a low ranking value of the search results;
the ranking value generation model specifically comprises the following steps:
Figure BDA0001786300770000111
wherein, Vn[i]Is the ranking value of the nth search result in the current period i; alpha is a proportional coefficient, alpha is more than 0 and less than 1, and 1-alpha represents the proportion of the ranking value of the nth search result in the previous period in the current period; n is the serial number of the search result, the value range of N is 1 to N, and N is the total number of the search resultThe number of the cells; clicknThe number of clicks of the nth search result in the current period i is shown;
Figure BDA0001786300770000121
the sum of the click times of the search result in the current period i;
Figure BDA0001786300770000122
the ratio of the number of clicks of the nth search result in the current period i to the sum of the number of clicks of the search result is used for describing the probability of the nth search result being clicked based on the number of clicks; delaynThe access time delay of the nth search result in the current period i is obtained;
Figure BDA0001786300770000123
the time delay parameter of the nth search result in the current period i is used for describing the time delay of the nth search result; tj is the current time, and tn is the release time of the nth search result;
Figure BDA0001786300770000124
the probability of the search result being accessed based on the time interval is described; vn[i-1]The ranking value of the nth search result in the previous period of the current period i.
As an implementation manner of the embodiment, in the ranking means of the search result,
the detection module is specifically configured to detect whether the search result set includes an advertisement identifier, determine that bid advertisement data exists in the search result set if the search result set includes the advertisement identifier, and determine that the bid advertisement data does not exist in the search result set if the search result set does not include the advertisement identifier;
the judging module is specifically configured to, if bid advertisement data exists in the search result set, obtain characters of the financial advertisement data, match the characters with the financial industry keywords, judge that the advertisement data includes the financial industry keywords if matching is successful, and judge that the advertisement data does not include the financial industry keywords if matching is unsuccessful.
As an implementation manner of the embodiment, in the ranking means of the search result,
the financial advertisement data removing module is specifically configured to calculate the financial advertisement data by using an MD5 function, generate a hash value of the financial advertisement data, confirm that the financial advertisement data is tampered when the hash value of the financial advertisement data is not consistent with a hash value of pre-stored bidding advertisement data, remove the financial advertisement data from the search result set, and obtain a search result set without the financial advertisement data.
The time length of the current period and the last period is 10 minutes.
In the embodiment of the invention, the financial advertisement data is removed from the search result set, so that the search result has no financial advertisement data, therefore, the financial advertisements can be shielded, the redundant information is reduced, the display effect is favorably improved, on the other hand, the ranking value generation model comprehensively considers the ratio of the click times, the time delay parameter, the time interval and the ranking value of the nth search result in the previous period, therefore, the generated ranking value has higher credibility, and according to the sequence that the ranking values of the search results are from high to low, the search results are displayed on the search result page in sequence, so that the search results with short display time interval, multiple click times and short access time delay in the front row of the search result page are displayed, therefore, the ranking of the search results can be optimized, the ranking effect of the search results can be improved, and the search requirements of users can be better met.
EXAMPLE seven
Fig. 3 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in fig. 3, the terminal 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32 stored in said memory 31 and executable on said processor 30. The processor 30, when executing the computer program 32, implements the steps in the above-described embodiments of the method of ranking individual search results.
Illustratively, the computer program 32 may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 30 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 32 in the terminal 3.
The terminal 3 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal may include, but is not limited to, a processor 30, a memory 31.
It will be appreciated by those skilled in the art that fig. 3 is only an example of a terminal 3 and does not constitute a limitation of the terminal 3 and may comprise more or less components than those shown, or some components may be combined, or different components, e.g. the terminal may further comprise input output devices, network access devices, buses, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the terminal 3, such as a hard disk or a memory of the terminal 3. The memory 31 may also be an external storage device of the terminal 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the terminal 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal 3.
The memory 31 is used for storing the computer program and other programs and data required by the terminal. The memory 31 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit.
In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In another embodiment of the present invention, a computer storage medium is provided, which stores a computer program that, when executed by a processor, implements the steps in the above-described embodiments of the method of ranking individual search results.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method for ranking search results, comprising:
acquiring a search keyword input in a search box;
finding out a search result set matched with the search keyword from an index database;
detecting whether bidding advertisement data exists in the search result set;
if bidding advertisement data exist in the search result set, judging whether the bidding advertisement data contain financial industry keywords;
if the bidding advertisement data contains financial industry keywords, identifying the bidding advertisement data as financial advertisement data;
removing the financial advertisement data from the search result set to obtain a search result set without the financial advertisement data;
acquiring click times and access time delay of each search result in the current period from a search result set without the financial advertisement data;
acquiring a time stamp of the search result, wherein the time stamp is the release time of the search result;
subtracting the current time from the timestamp to generate a time interval of the search result;
generating a model by adopting a preset ranking value, the time interval of the search result, the click times and the access time delay of the search result, and generating the ranking value of the search result;
sequentially displaying the search results on a search result page according to the sequence of the ranking values of the search results from high to low;
the ranking value generation model specifically comprises the following steps:
Figure FDA0002592035380000011
wherein, Vn[i]Is the ranking value of the nth search result in the current period i; alpha is a proportional coefficient, alpha is more than 0 and less than 1, and 1-alpha represents the proportion of the ranking value of the nth search result in the previous period in the current period; n is the serial number of the search result, the value range of N is 1 to N, and N is the total number of the search result; clicknThe number of clicks of the nth search result in the current period i is shown;
Figure FDA0002592035380000021
the sum of the click times of the search result in the current period i;
Figure FDA0002592035380000022
the ratio of the number of clicks of the nth search result in the current period i to the sum of the number of clicks of the search result is used for describing the probability of the nth search result being clicked based on the number of clicks; delaynThe access time delay of the nth search result in the current period i is obtained;
Figure FDA0002592035380000023
is the time delay parameter of the nth search result in the current period i; tj is the current time, tn is the nth searchThe time of release of the result;
Figure FDA0002592035380000024
the probability of the search result being accessed based on the time interval is described; vn[i-1]The ranking value of the nth search result in the previous period of the current period i.
2. The method of claim 1, wherein said detecting whether bidding advertisement data exists in said search result set comprises:
detecting whether the search result set contains advertisement identification, if the search result set contains the advertisement identification, judging that bidding advertisement data exists in the search result set, and if the search result set does not contain the advertisement identification, judging that the bidding advertisement data does not exist in the search result set.
3. The method according to claim 1, wherein if there is bidding advertising data in the search result set, determining whether the bidding advertising data contains financial industry keywords, specifically:
if bidding advertisement data exist in the search result set, characters of the financial advertisement data are obtained, the characters are matched with the financial industry keywords, if matching is successful, the fact that the advertisement data contain the financial industry keywords is judged, and if matching is unsuccessful, the fact that the advertisement data do not contain the financial industry keywords is judged.
4. The method of claim 1, wherein said removing financial advertising data from said search result set to obtain a search result set without said financial advertising data comprises:
and calculating the financial advertisement data by adopting an MD5 function to generate a hash value of the financial advertisement data, confirming that the financial advertisement data are tampered when the hash value of the financial advertisement data is inconsistent with the hash value of pre-stored bidding advertisement data, and eliminating the financial advertisement data from the search result set to obtain a search result set without the financial advertisement data.
5. The method of claim 1, wherein the current cycle and the previous cycle are 10 minutes in duration.
6. An apparatus for ranking search results, comprising:
the search keyword acquisition module is used for acquiring search keywords input in the search box;
the matching module is used for finding out a search result set matched with the search keyword from an index database;
the detection module is used for detecting whether bidding advertisement data exist in the search result set or not;
the judging module is used for judging whether the bidding advertisement data contain financial industry keywords or not if the bidding advertisement data exist in the search result set;
the financial advertisement data identification module is used for identifying the bidding advertisement data as financial advertisement data if the bidding advertisement data contains financial industry keywords;
the financial advertisement data removing module is used for removing the financial advertisement data from the search result set to obtain a search result set without the financial advertisement data;
the access time delay acquisition module is used for acquiring the click times and the access time delay of each search result in the current period in the search result set without the financial advertisement data;
the release time acquisition module is used for acquiring a time stamp of the search result, wherein the time stamp is the release time of the search result;
a time interval generating module, configured to subtract the current time from the timestamp to generate a time interval of the search result;
the ranking value generating module is used for generating a ranking value of the search result by adopting a preset ranking value generating model, the time interval of the search result, the click times and the access time delay of the search result;
the search result display module is used for sequentially displaying the search results on a search result page according to the sequence of the ranking values of the search results from high to low;
the ranking value generation model specifically comprises the following steps:
Figure FDA0002592035380000031
wherein, Vn[i]Is the ranking value of the nth search result in the current period i; alpha is a proportional coefficient, alpha is more than 0 and less than 1, and 1-alpha represents the proportion of the ranking value of the nth search result in the previous period in the current period; n is the serial number of the search result, the value range of N is 1 to N, and N is the total number of the search result; clicknThe number of clicks of the nth search result in the current period i is shown;
Figure FDA0002592035380000041
the sum of the click times of the search result in the current period i;
Figure FDA0002592035380000042
the ratio of the number of clicks of the nth search result in the current period i to the sum of the number of clicks of the search result is used for describing the probability of the nth search result being clicked based on the number of clicks; delaynThe access time delay of the nth search result in the current period i is obtained;
Figure FDA0002592035380000043
is the time delay parameter of the nth search result in the current period i; tj is the current time, and tn is the release time of the nth search result;
Figure FDA0002592035380000044
the probability of the search result being accessed based on the time interval is described; vn[i-1]The ranking value of the nth search result in the previous period of the current period i.
7. The apparatus of claim 6,
the detection module is specifically configured to detect whether the search result set includes an advertisement identifier, determine that bid advertisement data exists in the search result set if the search result set includes the advertisement identifier, and determine that the bid advertisement data does not exist in the search result set if the search result set does not include the advertisement identifier;
the judging module is specifically configured to, if bid advertisement data exists in the search result set, obtain characters of the financial advertisement data, match the characters with the financial industry keywords, judge that the advertisement data includes the financial industry keywords if matching is successful, and judge that the advertisement data does not include the financial industry keywords if matching is unsuccessful.
8. The apparatus of claim 6,
the financial advertisement data removing module is specifically configured to calculate the financial advertisement data by using an MD5 function, generate a hash value of the financial advertisement data, confirm that the financial advertisement data is tampered when the hash value of the financial advertisement data is not consistent with a hash value of pre-stored bidding advertisement data, remove the financial advertisement data from the search result set, and obtain a search result set without the financial advertisement data;
the time length of the current period and the last period is 10 minutes.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
10. A computer storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201811017813.6A 2018-09-02 2018-09-02 Ranking method and device of search results, terminal and computer storage medium Expired - Fee Related CN109033469B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811017813.6A CN109033469B (en) 2018-09-02 2018-09-02 Ranking method and device of search results, terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811017813.6A CN109033469B (en) 2018-09-02 2018-09-02 Ranking method and device of search results, terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN109033469A CN109033469A (en) 2018-12-18
CN109033469B true CN109033469B (en) 2020-12-11

Family

ID=64622763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811017813.6A Expired - Fee Related CN109033469B (en) 2018-09-02 2018-09-02 Ranking method and device of search results, terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN109033469B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581544A (en) * 2019-04-08 2020-08-25 众巢医学科技(上海)股份有限公司 Search result optimization method and device, computer equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304570A (en) * 2018-02-13 2018-07-20 北京奇虎科技有限公司 A kind of processing method of search result and show method, server, client

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008032950A1 (en) * 2006-09-11 2008-03-20 Chae Jung-Han Information providing system and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304570A (en) * 2018-02-13 2018-07-20 北京奇虎科技有限公司 A kind of processing method of search result and show method, server, client

Also Published As

Publication number Publication date
CN109033469A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN111352902A (en) Log processing method and device, terminal equipment and storage medium
CN107391561B (en) Advertisement processing method in content source page, server and computer readable medium
US20230205755A1 (en) Methods and systems for improved search for data loss prevention
CN107748772B (en) Trademark identification method and device
CN112711398A (en) Method, device and equipment for generating buried point file and storage medium
CN115757406A (en) Data storage method and device, electronic equipment and storage medium
CN113706249B (en) Data recommendation method and device, electronic equipment and storage medium
CN112346951A (en) Service testing method and device
CN109033469B (en) Ranking method and device of search results, terminal and computer storage medium
CN112667619B (en) Method, device, terminal equipment and storage medium for auxiliary checking data
CN107679222B (en) Picture processing method, mobile terminal and computer readable storage medium
CN111563527B (en) Abnormal event detection method and device
CN112965943A (en) Data processing method and device, electronic equipment and storage medium
CN112115280A (en) Full-media influence propagation analysis method and device
US20230186212A1 (en) System, method, electronic device, and storage medium for identifying risk event based on social information
CN116842106A (en) Resource clue generation method and device
CN109101630B (en) Method, device and equipment for generating search result of application program
US20190370850A1 (en) Reliability metrics for real-time auctions
CN110728585A (en) Authority guaranteeing method, device, equipment and storage medium
CN113064984B (en) Intention recognition method, device, electronic equipment and readable storage medium
CN113434660A (en) Product recommendation method, device, equipment and storage medium based on multi-domain classification
CN113221845A (en) Advertisement auditing method, device, equipment and storage medium
CN113779198A (en) Electronic business card generating method, device, equipment and medium based on artificial intelligence
CN111198900A (en) Data caching method and device for industrial control network, terminal equipment and medium
CN110740358B (en) Method and device for acquiring viewing path information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201125

Address after: Room 421, 422, 423, science and technology building, No.1, Dongfa Road, Donghua community, Dongxiao Town, Xinluo District, Longyan City, Fujian Province

Applicant after: Longyan Yilang Network Technology Co.,Ltd.

Address before: 525242 No. 6 Wuxing Road, Maoming Mayor Po Town, Guangdong Province

Applicant before: Xian Hansheng

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201211

Termination date: 20210902