Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which the information push method or the information push apparatus of the present application can be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a web browser application, a stock exchange application, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server that provides various services, such as a background server that provides support for searching web pages displayed on the terminal devices 101, 102, 103. The background server may extract target search data from a log file of the search engine, perform processing such as analysis on the extracted target search data, and push a processing result (for example, information to be pushed) to the terminal device.
It should be noted that the information pushing method provided in the embodiment of the present application is generally executed by the server 105, and accordingly, the information pushing apparatus is generally disposed in the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of an information push method according to the present application is shown. The information pushing method comprises the following steps:
step 201, extracting target search data from a log file of a search engine;
in this embodiment, a log file of a search engine may be stored in a memory of an electronic device (for example, a server shown in fig. 1) on which the information push method operates, and in this case, the electronic device may directly obtain the log file locally and extract target search data from the log file. In addition, the log file may be stored in another server connected to the electronic device, and in this case, the electronic device may acquire the log file from the another server by a wired connection method or a wireless connection method, and extract the target search data from the log file. It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
It should be noted that the log file may record search data for a user to search for information by using the search engine, where the search data may include, but is not limited to, a search statement, a search behavior occurrence time, a website address of a website clicked and accessed after searching, an IP (Internet Protocol) address of a client, operating system information installed in the client, browser information installed in the client, user information, and the like. The search sentence recorded in the log file may be a search sentence related to various fields (e.g., a travel field, a financial field, a computer field, etc.). It should be noted that the target search data may be a plurality of search sentences related to a preset field (for example, a security field), such as "how trended", "latest hotspot block", "stock trend", "latest hotspot block", and the like. The electronic device may extract the target search data from the log file in various ways.
In some optional implementation manners of this embodiment, a preset keyword set may be stored in the electronic device in advance, where the preset keywords included in the preset keyword set may be preset keywords related to the preset field, such as "trend", "plate", "concept stock", and the like. The electronic device may first determine search data satisfying a first preset condition in the log file as interference search data, and delete the interference search data. Here, the first preset condition may include at least one of: the length of the contained search statement is greater than the preset length, the daily search times of the contained search statement is greater than the preset times, or the contained IP address is matched with the preset IP address, and the like. The first preset condition is not limited to the above-mentioned example. In practice, the interference search data is usually search data generated by web crawlers, malicious attacks, false searches, and the like, and the first preset condition may be predetermined and set by a technician based on statistics and analysis of a large amount of search data generated by the above situation. After deleting the interference search data, the electronic device may obtain the preset keyword set. Then, for each preset keyword in the preset keyword set, the electronic device may extract search data associated with the preset keyword from the log file from which the interference search data is deleted, where the search data associated with the preset keyword may be a search statement including the preset keyword. As an example, the preset keyword may be "block", and the search sentence including the preset keyword may be "hot block", "latest hot block ranking", "shanghai depth concept block", and the like. Finally, the electronic device may determine the extracted search data as target search data.
In some optional implementation manners of this embodiment, a preset website set may be stored in the electronic device in advance, where the preset website included in the preset website set may be a website of a website providing preset type information (e.g., securities). In practice, the web address is generally represented by a Uniform Resource Locator (URL). The electronic device may first extract a website address of a website clicked and accessed by the user after searching from the log file. And then, searching the websites matched with the preset websites in the preset website set from the extracted websites. For each retrieved website, the electronic device may extract a search statement recorded before the user clicks to access the webpage indicated by the website. Finally, the electronic device may determine the extracted search sentence as the target search data.
In some optional implementation manners of this embodiment, the preset keyword set and the preset website set may be stored in the electronic device in advance. For each preset keyword in the preset keyword set, the electronic device may first determine a search statement in the log file that includes the preset keyword; then, for each determined search statement, determining the website address of the website clicked and accessed by the user after searching the search statement based on the log file, and determining whether a preset website address matched with the determined website address exists in the preset website address set; if yes, extracting the search statement; finally, the electronic device may determine the extracted search sentence as the target search data.
Step 202, analyzing the target search data to generate a target search word set.
In this embodiment, the electronic device may perform word segmentation on a search sentence constituting the target search data; and then, analyzing the words obtained after word segmentation to generate a target search word set.
In this embodiment, the electronic device may divide the search sentence into words by using various word segmentation methods, where the word segmentation method may be a statistical-based word segmentation method. Specifically, for each search term constituting the target search data, the electronic device may count the frequency of combinations of adjacent words in the search term, and calculate the frequency of occurrence of each combination. And for the probability of each combination, when the probability of the combination is higher than a preset probability threshold value, judging that the combination forms a word, and thus realizing word segmentation of the search sentence. In addition, the word segmentation method may be a word segmentation method based on a character string matching principle, and the field to be analyzed and the character string preset in the machine dictionary of the electronic device are matched by using the character string matching principle, where the character string matching principle may be a forward maximum matching method, a reverse maximum matching method, a segmentation labeling method, a word-by-word traversal matching method, a forward optimal matching method, a reverse optimal matching method, or the like.
In some optional implementation manners of this embodiment, an analysis manner of the word obtained after the word segmentation may be a statistical analysis manner. As an example, the frequency of occurrence of the resulting individual words in the above-described target search data may be counted and sorted. And then, selecting one or more words with the highest occurrence frequency in the sequence as target search words to generate a target search word set.
In some optional implementation manners of this embodiment, before analyzing the words obtained after the word segmentation in the statistical analysis manner, the electronic device may further delete an invalid word in the words obtained after the word segmentation, where the invalid word may include a spoken word, a word of tone, a verb, and the like. In practice, the electronic device may store a preset invalid word set, and may match each word obtained by word segmentation with a preset invalid word in the preset invalid word set to determine whether the word obtained by word segmentation is an invalid word.
In some optional implementation manners of this embodiment, an analysis manner of the word obtained after the word segmentation may be a semantic analysis manner. As an example, importance calculation may be performed on the obtained words (e.g., using a Term Frequency-Inverse file Frequency method (TF-IDF)), the target search words may be determined based on the results of the importance calculation, and the target search word set may be generated.
In some optional implementation manners of this embodiment, after word segmentation, the electronic device may perform semantic word segmentation on each word obtained by word segmentation by using a semantic analysis manner, and determine at least one target search word; and then, clustering the at least one target search word to generate a target search word set. As an example, the same english word with only case difference may be determined as the same word, a chinese word, an english word, and an abbreviation having the same meaning may be determined as synonyms, and a word with similar semantics in the at least one target search word may be determined as the same word (for example, "national enterprise reform" and "national enterprise reform"), and the like.
It should be noted that the word segmentation method, the semantic analysis method, and the clustering method are well-known technologies that are widely researched and applied at present, and are not described herein again.
Step 203, for each target search word in the target search word set, extracting the search behavior information matched with the target search word from the log file, and analyzing the search behavior information to generate the heat value of the target search word.
In this embodiment, for each target search term in the target search term set, the electronic device may first determine a search sentence in the log file, where the search sentence includes the target search term and a synonym of the target search term (e.g., an abbreviation of the target search term, an english paraphrase/a chinese paraphrase, etc.); then, determining search behavior information matched with the determined search statement in the log file, and determining the determined search behavior information as the search behavior information matched with the target search word; and finally, analyzing the search behavior information to generate a heat value of the target search word. It should be noted that the search behavior information may include, but is not limited to, various information associated with the search behavior, such as occurrence time of the search behavior, web address of a website clicked to access after the search, IP address of the client, operating system information installed in the client, browser information installed in the client, location information of a location where the client is located, user information (e.g., age of the user, occupation of the user), and the like. The above-mentioned heat value may be a numerical value for characterizing the degree of interest of the target search word. The electronic device may generate the heat value of the target search term using various analytic methods.
In some optional implementations of this embodiment, for each target search term in the target search term set, the electronic device may generate a popularity value of the target keyword as follows: firstly, the electronic equipment can analyze the search behavior information matched with the target search word and determine the occurrence time of the search behavior matched with the target search word; then, the determined occurrence time of the search behavior can be counted to determine the number of daily searches matching the target search term in a preset number of days (e.g., 10, 20, etc.); finally, a determination may be made based onAnd generating the heat value of the target search term according to the daily search times and the preset days. As an example, the electronic device may calculate the heat value of the target search term using the following formula
Wherein n is a positive integer for representing a preset number of days; i is a positive integer not less than 1 and not more than n; x is the number of
iIs a value for the number of days for day i, and x
iI, e.g. day 1 with a day number of 1, i.e. x
1=1;
On average days, and
y
isearching for the determined number of times of day i;
the average daily search number for n days can be calculated as follows:
in some optional implementations of this embodiment, for each target search term in the target search term set, the electronic device may generate a popularity value of the target keyword as follows: first, the electronic device may parse the search behavior information matching the target search term, extract the search behavior occurrence time, the client geographic location information, and the user information (e.g., user age, user occupation, etc.) matching the target search term, and determine the number of daily searches matching the target search term that satisfy a preset location condition and/or satisfy a preset user condition within a preset number of days (e.g., 10, 20, etc.) based on the extracted information. The preset geographic position condition may be that the geographic position of the client is located in a preset province/city (e.g., beijing city), the geographic position of the client is located in a preset area (e.g., north China), and the like; the preset user condition may be that the user age is within a preset age range (e.g., 30-40 years), the user occupation is a preset occupation (e.g., teacher), and the like. Finally, a heat value of the target search term may be generated according to the above formula based on the determined number of searches per day and the preset number of days.
In some optional implementation manners of this embodiment, for each target search term in the target search term set, the electronic device may further analyze search behavior information matched with the target search term, and determine a search behavior occurrence time matched with the target search term; then, the determined occurrence time of the search behavior may be counted to determine a total number of searches matching the target search term within a preset time period (e.g., approximately 24 hours, approximately 48 hours, approximately 5 days, etc.), and the total number of searches may be determined as a heat value of the target search term.
And 204, generating information to be pushed based on the heat value and/or the search behavior information of each target search word, and pushing the information to be pushed to the client.
In this embodiment, the electronic device may generate information to be pushed based on the heat value and/or the search behavior information of each target search term, and push the information to be pushed to a client (e.g., clients 101, 102, 103 shown in fig. 1) connected to the electronic device.
In some optional implementation manners of this embodiment, the electronic device may generate information to be pushed based on the heat value of each target search term. Specifically, the target search term with the heat value larger than the preset value may be determined as a heat-increasing hot-spot concept word, and the information to be pushed including the determined heat-increasing hot-spot concept word is pushed to the client. It should be noted that the information to be pushed may further include a character string for prompting the content of the pushed information, for example, "early warning" concept that the heat continuously rises.
In some optional implementation manners of this embodiment, the electronic device may sort the target search terms in an order from a large hotness value to a small hotness value; and then, pushing information to be pushed, which contains all the target search terms sequenced from large to small according to the heat value, to the client. It should be noted that the information to be pushed may further include a character string for prompting the content of the pushed information, for example, "hot-spot concept sorting.
In some optional implementation manners of this embodiment, the electronic device may analyze each piece of search behavior information, and determine a total number of search times of each target search term within a preset time period (e.g., approximately 10 days, approximately 24 hours, and the like); then, sequencing all target search terms according to the sequence of the total search times from large to small; and finally, pushing the information to be pushed, which contains all the target search terms sequenced from large to small according to the search times, to the client. It should be noted that the information to be pushed may further include a character string for prompting the content of the pushed information, such as "[ early warning ] recent search volume ranking", and the like.
In some optional implementation manners of this embodiment, the electronic device may generate information to be pushed based on the heat value and the search behavior information of each target search term, where the information to be pushed may include one or more of the following items at the same time: and the determined hot spot concept words with the increased heat degree are all the target search words which are sorted according to the heat degree value from large to small and all the target search words which are sorted according to the searching times from large to small.
With continued reference to fig. 3, fig. 3 is a schematic diagram 300 of an application scenario of the information push method according to the present embodiment. In the application scenario of fig. 3, server 301 first extracts target search data 303 from log data 302 of the search engine. Then, the server 301 analyzes the target search data 303 to generate a target search term set 304. Then, the server 301 extracts the search behavior information 305 matching the target search term, and analyzes the search behavior information 305 to generate the heat value 306 matching each target search term. Finally, the server 301 generates information to be pushed 307 based on the heat value 306 and/or the search behavior information 305, and pushes the information to be pushed 307 to the server 308.
The method provided by the above embodiment of the present application analyzes the target search data extracted from the log file of the search engine to generate a target search word set, then analyzes the target search word based on the search behavior information extracted from the log file to generate the heat value of each target search word, and finally generates and pushes information to be pushed based on the heat value and/or the search behavior information of each target search word, thereby realizing information pushing based on the log data of the search engine. Because the log data of the search engine can intuitively reflect the current search intention of the user, the information push mode improves the accuracy and timeliness of information push.
With further reference to fig. 4, a flow 400 of yet another embodiment of an information push method is shown. The process 400 of the information pushing method includes the following steps:
step 401, determining search data meeting a first preset condition in a log file of a search engine as interference search data, and deleting the interference search data.
In this embodiment, an electronic device (for example, a server shown in fig. 1) on which the information push method operates may have a log file of a search engine stored in its own memory, and the electronic device may first determine search data satisfying a first preset condition in the log file as interference search data and delete the interference search data. Here, the first preset condition may include at least one of: the length of the contained search statement is greater than the preset length, the daily search times of the contained search statement is greater than the preset times, or the contained IP address is matched with the preset IP address, and the like. The first preset condition is not limited to the above-mentioned example.
Step 402, acquiring a preset keyword set, extracting search data associated with each preset keyword from the log file after the interference search data is deleted for each preset keyword in the preset keyword set, and determining the extracted search data as target search data.
In this embodiment, the electronic device may store a preset keyword set, where the preset keyword included in the preset keyword set may be a preset keyword related to a preset field (e.g., a security field). The electronic equipment can acquire the preset keyword set; then, for each preset keyword in the preset keyword set, extracting search data associated with the preset keyword from the log file from which the interference search data is deleted, wherein the search data associated with the preset keyword may be a search statement containing the preset keyword; finally, the electronic device may determine the extracted search data as target search data.
Step 403, performing semantic analysis on the target search data, and extracting at least one target search word.
In this embodiment, the electronic device may analyze the target search data by using a semantic analysis method. As an example, the target search data may be first segmented; then, the importance calculation is performed on the obtained words, and at least one target search word is extracted based on the result of the importance calculation.
Step 404, clustering at least one target search word to generate a target search word set.
In this embodiment, the electronic device may perform clustering processing on the at least one target search term to generate a target search term set. As an example, the same english word with only case difference may be determined as the same word, a chinese word, an english word, and an abbreviation having the same meaning may be determined as synonyms, and a word with similar semantics in the at least one target search word may be determined as the same word (for example, "national enterprise reform" and "national enterprise reform"), and the like. After generating the target search term set, the electronic device may execute step 405 and step 407; meanwhile, step 408 and 409 can also be executed.
Step 405, acquiring a preset historical target search term set.
In this embodiment, the electronic device may store a history target search term set, where the history target search term set may be pre-stored in the electronic device before the information push method is executed. The electronic device may directly obtain the historical target search term set from a local location. After the information pushing method is executed, the electronic device may store the target search term set generated in step 404 as a history target search term set.
Step 406, for each target search word in the target search word set, determining whether a historical target search word matched with the target search word exists in the historical target search word set, and if not, determining the target search word as a newly-added hotspot concept word.
In this embodiment, for each target search term in the target search term set, the electronic device may determine whether a history target search term matching the target search term exists in the history target search term set, and if not, may determine the target search term as a new hotspot concept term.
Step 407, pushing the prompt information containing the determined newly added hotspot concept word to the client.
In this embodiment, the electronic device may generate the prompt information based on each newly added hotspot concept word determined in step 406. The prompt message may include each of the newly added hotspot concept words determined in step 406. Also includes a character string for indicating the content indicated by the hint information, such as "[ reminder ]" new hotspot concept ", etc.
Step 408, for each target search word in the target search word set, extracting search behavior information matched with the target search word from the log file; analyzing the search behavior information, and determining daily search times which are matched with the target search word and meet a second preset condition within preset days; and generating a heat value of the target search word based on the determined daily search times and the preset number of days.
In this embodiment, for each target search term in the target search term set generated in step 406, the electronic device may first determine a search statement in the log file that includes the target search term and a synonym of the target search term. And then determining the search behavior information matched with the determined search sentence in the log file, and determining the determined search behavior information as the search behavior information matched with the target search word. It should be noted that the search behavior information may include, but is not limited to, various information associated with the search behavior, such as occurrence time of the search behavior, web address of a website clicked and visited after the search, IP address of the client, operating system information installed on the client, browser information installed on the client, location information of a location where the client is located, user information, and the like. Then, the search behavior information matched with the target search term can be analyzed, the search behavior occurrence time, the client geographic position information and the user information matched with the target search term are extracted, and the daily search times matched with the target search term, meeting a second preset condition and within a preset number of days, are determined based on the extracted information. Wherein the second preset condition may include at least one of the following: presetting geographical position conditions and presetting user conditions. The preset geographical position condition may be that the geographical position of the client is in a preset province/city, the geographical position of the client is in a preset region, and the like; the preset user condition may be that the user age is within a preset age range, the user occupation is a preset occupation, and the like. Finally, the electronic device may generate a heat value of the target search term based on the determined daily search times and the preset number of days.
And 409, generating information to be pushed based on the heat value and/or the search behavior information of each target search word, and pushing the information to be pushed to the client.
In this embodiment, the electronic device may generate information to be pushed based on the heat value and/or the search behavior information of each target search term, and push the information to be pushed to a client (e.g., clients 101, 102, 103 shown in fig. 1) connected to the electronic device. Specifically, the electronic device may determine a target search term with a heat value greater than a preset value as a heat-increasing hotspot concept term; in addition, all the target search terms can be sorted according to the sequence of the heat value from large to small; in addition, each piece of search behavior information can be analyzed, the total search times of each target search word in a preset time period are determined, and each target search word is sequenced according to the sequence of the total search times from large to small. Then, the electronic device may push information to be pushed, which includes the determined hot-spot concept word with the increased popularity, each target search word sorted from large to small according to the popularity value, and each target search word sorted from large to small according to the search times, to the client.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 1, the flow 400 of the information pushing method in this embodiment highlights a step of determining a new hot-spot concept word. Therefore, the scheme described in this embodiment can mine the newly added hot concept words based on the log data of the search engine, so that the accuracy and timeliness of information push are improved, and the richness of pushed information is also improved.
With further reference to fig. 5, as an implementation of the method shown in the above-mentioned figures, the present application provides an embodiment of an information pushing apparatus, which corresponds to the embodiment of the method shown in fig. 2, and which can be applied in various electronic devices.
As shown in fig. 5, the information pushing apparatus 500 according to the present embodiment includes: an extraction unit 501 configured to extract target search data from a log file of a search engine; an analyzing unit 502 configured to analyze the target search data to generate a target search term set; a generating unit 503 configured to, for each target search term in the target search term set, extract search behavior information matched with the target search term from the log file, analyze the search behavior information, and generate a heat value of the target search term; the first pushing unit 504 is configured to generate information to be pushed based on the heat value and/or the search behavior information of each target search term, and push the information to be pushed to the client.
In this embodiment, the information pushing apparatus 500 may store a log file of a search engine, and the extracting unit 501 may directly obtain the log file locally and extract target search data from the log file. The target search data may be a plurality of search sentences related to a preset field (e.g., a security field).
In some optional implementations of the present embodiment, the extracting unit 501 may include a deleting module and a determining module (not shown in the figure). The deleting module may be configured to determine search data satisfying a first preset condition in a log file of a search engine as interference search data, and delete the interference search data. The determining module may be configured to acquire a preset keyword set, extract, for each preset keyword in the preset keyword set, search data associated with the preset keyword from the log file from which the interference search data is deleted, and determine the extracted search data as target search data.
In this embodiment, the analysis unit 502 may perform word segmentation on a search term constituting the target search data; and then, analyzing the words obtained after word segmentation to generate a target search word set.
In some optional implementations of the present embodiment, the parsing unit 502 may include an analysis module and a clustering module (not shown in the figure). The analysis module is configured to perform semantic analysis on the target search data and extract at least one target search word. The clustering module may be configured to perform clustering on the at least one target search term to generate a target search term set.
In some optional implementations of the present embodiment, the information pushing apparatus 500 further includes an obtaining unit, a determining unit, and a second pushing unit (not shown in the figure). The obtaining unit may be configured to obtain a preset historical target search term set. The determining unit may be configured to determine, for each target search word in the target search word set, whether a historical target search word matching the target search word exists in the historical target search word set, and if not, determine the target search word as a newly added hot-spot concept word. The second pushing unit may be configured to push, to the client, the prompt information including the determined new hot spot concept word.
In this embodiment, for each target search term in the target search term set, the generating unit 503 may first determine a search statement in the log file that includes the target search term and a synonym of the target search term; then, determining search behavior information matched with the determined search statement in the log file, and determining the determined search behavior information as the search behavior information matched with the target search word; and finally, analyzing the search behavior information to generate a heat value of the target search word.
In some optional implementations of the embodiment, the search behavior information matched with each target search term includes at least one of: the time when the search action occurs, the user information of the user who executes the search action, and the geographical location information of the user.
In some optional implementations of this embodiment, the generating unit 503 may be further configured to, for each target search term in the target search term set, extract search behavior information matching the target search term from the log file; analyzing the search behavior information, and determining the daily search times which are matched with the target search word and meet a second preset condition within preset days; and generating a heat value of the target search word based on the determined daily search times and the preset number of days.
In this embodiment, the first pushing unit 504 may generate information to be pushed based on the heat value and/or the search behavior information of each target search term, and push the information to be pushed to the clients (e.g., the clients 101, 102, 103 shown in fig. 1) connected to the information pushing apparatus 500.
In some optional implementation manners of this embodiment, the first pushing unit 504 may be further configured to determine a target search term with a heat value greater than a preset value as a heat-rise hot-spot concept word, and push information to be pushed, which includes the determined heat-rise hot-spot concept word, to a client.
In some optional implementations of the present embodiment, the first pushing unit 504 may include a first sorting module and a first pushing module (not shown in the figure). The first ranking module may be configured to rank the target search terms in an order from a large rank to a small rank according to the heat value. The first pushing module may be configured to push information to be pushed, which includes each target search term sorted from large to small according to the popularity value, to the client.
In some optional implementations of the present embodiment, the first pushing unit 504 may include a parsing module, a second sorting module, and a second pushing module (not shown in the figure). The analysis module may be configured to analyze each piece of search behavior information, and determine a total number of search times of each target search term within a preset time period. The second sorting module may be configured to sort the target search terms in an order from a large number of total search times to a small number of total search times. The second pushing module may be configured to push information to be pushed, which includes each target search term sorted from large to small according to the number of searches, to the client.
In the apparatus provided by the above embodiment of the present application, the parsing unit 502 parses target search data extracted by the extraction unit 501 from a log file of a search engine, so as to generate a target search term set, then the generation unit 503 parses the target search terms based on search behavior information extracted from the log file, generates a heat value of each target search term, and finally the first pushing unit 504 generates and pushes information to be pushed based on the heat value and/or the search behavior information of each target search term, thereby implementing information pushing based on the log data of the search engine. Because the log data of the search engine can intuitively reflect the current search intention of the user, the information push mode improves the accuracy and timeliness of information push.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use in implementing a server according to embodiments of the present application. The server shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 601. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes an acquisition unit, a transmission unit, and a verification unit. Here, the names of these units do not constitute a limitation to the unit itself in some cases, and for example, the extraction unit may also be described as a "unit that extracts target search data".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: extracting target search data from a log file of a search engine; analyzing the target search data to generate a target search word set; for each target search word in the target search word set, extracting search behavior information matched with the target search word from the log file, analyzing the search behavior information, and generating a heat value of the target search word; and generating information to be pushed based on the heat value and/or the search behavior information of each target search word, and pushing the information to be pushed to the client.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.