Information processing method and deviceTechnical Field
The present disclosure relates to the field of internet communication technologies, and in particular, to a method and an apparatus for processing information.
Background
With the rapid development of the internet, more and more information is spread on the internet system, so that the information on the internet is rapidly increased. The internet system needs to determine a search result corresponding to search information based on the search information input by the user side, and return the search result to the user side.
In the era of rapid information update, how to reduce the search time of users and improve the efficiency of information search is increasingly important.
Disclosure of Invention
In view of the above, the present disclosure at least provides an information processing method and apparatus for improving the efficiency of information search.
In a first aspect, an embodiment of the present disclosure provides an information processing method, where the method includes:
acquiring a common search word corresponding to a client; the common search word is a search word determined according to the historical search record of the client;
determining whether the updated content corresponding to the frequently searched words exists or not according to the target categories corresponding to the frequently searched words and the updating time characteristics corresponding to different categories;
if yes, sending prompt information corresponding to the frequently searched words to the client; and the prompt information is used for prompting the user of the updated content corresponding to the frequently searched words.
In some embodiments of the present disclosure, determining whether there is an update content corresponding to the frequently searched word according to a target category corresponding to the frequently searched word and an update time characteristic corresponding to a different category includes:
determining the updating time characteristics corresponding to the target categories according to the target categories corresponding to the frequently-searched words and the updating time characteristics corresponding to the different categories;
determining the time for acquiring the updated content according to the updated time characteristic corresponding to the target category;
and inquiring whether the updated content corresponding to the common search term exists or not according to the time for acquiring the updated content, wherein the updating time of the updated content is after the time for acquiring the updated content last time.
In some embodiments of the present disclosure, the determining, according to the determined update time characteristic corresponding to the target category, a time for acquiring the update content includes:
if the update time characteristic indicates that the target category has fixed update time, determining the time for acquiring the update content according to the fixed update time;
and if the update time characteristic indicates that the target category has no fixed update time, determining the time for acquiring the update content according to a set time period.
In some embodiments of the present disclosure, after querying whether there is an updated content corresponding to the common search term according to the time for obtaining the updated content, the method further includes:
and sending the obtained updating content corresponding to the common search word to the client, wherein the updating content is used for displaying at the client after the prompt message is triggered.
In some embodiments of the present disclosure, querying whether there is an updated content corresponding to the frequent search term according to the time for obtaining the updated content includes:
after the time for acquiring the updated content is reached, acquiring a time label of at least one piece of webpage content corresponding to the common search word;
and inquiring whether the updated content corresponding to the frequently searched words exists in the at least one piece of webpage content or not according to the time label of the at least one piece of webpage content and the time when the updated content is obtained last time.
In some embodiments of the present disclosure, if there are multiple pieces of latest updated web page content corresponding to the frequent search term, sending the acquired updated content corresponding to the frequent search term to the client, where the sending includes:
and screening at least one piece of webpage content from the latest updated webpage content corresponding to the frequently searched words, and sending the screened at least one piece of webpage content to the client.
In some embodiments of the present disclosure, at least one piece of web page content is screened out from a plurality of pieces of latest updated web page content corresponding to the frequently searched word according to at least one of the following information:
user browsing records corresponding to each webpage content; the upper limit value of the number of the webpage contents sent to the client; the degree of information duplication between different web page contents.
In some embodiments of the present disclosure, the prompt information corresponding to the frequently searched word is determined according to the following steps:
determining keywords according to the updated content corresponding to the frequently searched words;
and determining the prompt information according to the keyword.
In a second aspect, an embodiment of the present disclosure provides an information processing method, where the method includes:
receiving prompt information which is sent by a server and corresponds to the frequently searched words of the client; the common search word is a search word determined according to the historical search record of the client;
displaying the prompt information on a first page of the client; and the prompt information is used for prompting the user of the updated content corresponding to the frequently searched words.
In some embodiments of the present disclosure, after the first client page displays the prompt message, the method further includes:
and under the condition that the trigger operation aiming at the prompt information is received, displaying specific updating content corresponding to the prompt information on a second page of the client.
In some embodiments of the present disclosure, the prompt information includes a keyword corresponding to the update content and/or a prompt tag corresponding to the update content.
In a third aspect, an embodiment of the present disclosure further provides an information processing apparatus, where the apparatus includes:
the common search word acquisition module is used for acquiring a common search word corresponding to the client; the common search word is a search word determined according to the historical search record of the client;
the updating content determining module is used for determining whether the updating content corresponding to the frequently searched words exists or not according to the target categories corresponding to the frequently searched words and the updating time characteristics corresponding to different categories;
the prompt information sending module is used for sending prompt information corresponding to the frequently searched words to the client if the updated content corresponding to the frequently searched words exists; and the prompt information is used for prompting the user of the updated content corresponding to the frequently searched words.
In some embodiments of the present disclosure, the update content determining module, when determining whether there is update content corresponding to the frequently searched word according to a target category corresponding to the frequently searched word and update time characteristics corresponding to different categories, is configured to:
determining the updating time characteristics corresponding to the target categories according to the target categories corresponding to the frequently-searched words and the updating time characteristics corresponding to the different categories;
determining the time for acquiring the updated content according to the updated time characteristic corresponding to the target category;
and inquiring whether the updated content corresponding to the common search term exists or not according to the time for acquiring the updated content, wherein the updating time of the updated content is after the time for acquiring the updated content last time.
In some embodiments of the present disclosure, the update content determining module, when determining, according to the determined update time characteristic corresponding to the target category, a time for obtaining the update content, is configured to:
if the update time characteristic indicates that the target category has fixed update time, determining the time for acquiring the update content according to the fixed update time;
and if the update time characteristic indicates that the target category has no fixed update time, determining the time for acquiring the update content according to a set time period.
In some embodiments of the present disclosure, the apparatus further comprises:
and the update content sending module is used for sending the obtained update content corresponding to the common search word to the client, and the update content is used for being displayed on the client after the prompt message is triggered.
In some embodiments of the present disclosure, the update content determining module, when querying whether there is update content corresponding to the frequently searched word according to the time for obtaining the update content, is configured to:
after the time for acquiring the updated content is reached, acquiring a time label of at least one piece of webpage content corresponding to the common search word;
and acquiring the updated webpage content corresponding to the frequently searched word in the at least one piece of webpage content according to the time label of the at least one piece of webpage content and the time when the updated content is acquired last time.
In some embodiments of the disclosure, the update content sending module is further configured to:
and screening at least one piece of webpage content from the latest updated webpage content corresponding to the frequently searched words, and sending the screened at least one piece of webpage content to the client.
In some embodiments of the disclosure, the updated content sending module, when screening out at least one piece of web content from a plurality of pieces of latest updated web content corresponding to the frequently searched word according to at least one of the following information, is further configured to:
user browsing records corresponding to each webpage content; the upper limit value of the number of the webpage contents sent to the client; the degree of information duplication between different web page contents.
In some embodiments of the disclosure, the prompt information sending module is further configured to:
determining keywords according to the updated content corresponding to the frequently searched words;
and determining the prompt information according to the keyword.
In a fourth aspect, an embodiment of the present disclosure further provides an apparatus for information processing, where the apparatus includes:
the prompt information receiving module is used for receiving prompt information which is sent by the server and corresponds to the frequently searched words of the client; the common search word is a search word determined according to the historical search record of the client;
the display module is used for displaying the prompt information on a first page of the client; and the prompt information is used for prompting the user of the updated content corresponding to the frequently searched words.
Some embodiments of the present disclosure further include:
and the display module is used for displaying specific updating content corresponding to the prompt information on a second page of the client under the condition of receiving the trigger operation aiming at the prompt information.
In some embodiments of the present disclosure, the prompt information includes a keyword corresponding to the update content and/or a prompt tag corresponding to the update content.
In a fifth aspect, an embodiment of the present disclosure further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of the method of information processing described above in the first aspect, or in any one of the possible implementations of the first aspect, or performing the steps of the method of information processing described above in the second aspect, or in any one of the possible implementations of the second aspect.
In a sixth aspect, the disclosed embodiments also provide a computer-readable storage medium, where a computer program is stored, and the computer program is executed by a processor to perform the steps of the method for processing information described in the above first aspect, or any one of the possible embodiments of the first aspect, or to perform the steps of the method for processing information described in the above second aspect, or any one of the possible embodiments of the second aspect.
According to the information processing method or device provided by the embodiment of the disclosure, the common search word corresponding to the client is obtained; the frequently searched words are search words determined according to historical search records of the client; determining whether the updated content corresponding to the frequently searched words exists or not according to the target categories corresponding to the frequently searched words and the updating time characteristics corresponding to different categories; if yes, sending prompt information corresponding to the frequently searched words to the client; the prompt information is used for prompting the user of the updated content corresponding to the frequently searched words, and because the frequently searched words are generally search words which are relatively concerned by the user, the updated content related to the frequently searched words is also the content which is mainly concerned by the user, the frequently searched words with the corresponding updated content are subjected to important prompt, the user can be facilitated to quickly locate the search words which are interested by the user and have the updated content, and further, the search is initiated, so that the information processing is more accurate and more efficient.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
To more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present disclosure and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings may be obtained from the drawings without inventive effort.
Fig. 1 shows a flow chart of a method of information processing provided by an embodiment of the present disclosure;
fig. 2 is a schematic interface diagram illustrating a first page showing prompt information corresponding to frequently searched words in an information processing method according to an embodiment of the present disclosure;
fig. 3 is a schematic interface diagram illustrating a first page showing prompt information corresponding to frequently searched words in the information processing method according to the embodiment of the present disclosure;
fig. 4 is a schematic interface diagram illustrating a first page showing prompt information corresponding to frequently searched words in the information processing method according to the embodiment of the present disclosure;
fig. 5 is a schematic interface diagram illustrating a first page showing prompt information corresponding to frequently searched words in the information processing method according to the embodiment of the present disclosure;
FIG. 6 shows a flow chart of another method of information processing provided by an embodiment of the present disclosure;
fig. 7 is a schematic interface diagram illustrating a second page showing specific update content corresponding to prompt information in the information processing method according to the embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of another information processing apparatus provided in the embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure;
fig. 11 shows a schematic structural diagram of another electronic device provided in an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
In view of the fact that it is more important to provide an information processing method to reduce the search time of the user and improve the efficiency of information search, embodiments of the present disclosure provide an information processing method and apparatus, which are described below by way of embodiments.
For the convenience of understanding the present embodiment, a detailed description will be given first of all of a method for processing information disclosed in the embodiments of the present disclosure.
Example one
The embodiment of the present disclosure provides an information processing method, which is applied to a server, and referring to a flowchart of the information processing method shown in fig. 1, the method includes S101-S103, and the specific processes are as follows:
s101, acquiring a common search word corresponding to a client; the frequently searched words are the search words determined according to the historical search records of the client.
In the embodiment of the disclosure, the corresponding search word with the search frequency greater than the search threshold value can be determined according to the historical search record of the client, and the corresponding search word with the search frequency greater than the search threshold value is determined as the common search word of the client. The search term here may be a term directly used when the client performs a search, or may be a search term obtained by analyzing a history search record of the client.
For example, the user searches weather forecast every day, and if the search frequency is greater than 10 times/month, the weather forecast can be determined as a frequently searched word of the client. For another example, the frequency of searching for a movie work related to a certain star by the user is greater than 10 times/month, and although the user does not directly search for the name of the star, the user can analyze that the user has a high attention to the star, and the name of the star is used as a common search word.
S102, determining whether the updated content corresponding to the frequently searched words exists or not according to the target categories corresponding to the frequently searched words and the updating time characteristics corresponding to different categories.
Here, the search terms are classified according to the update time characteristics, for example, some search terms correspond to a fixed update time, some search terms do not have a fixed update time, and the specific update time corresponding to the search terms with the fixed update time is also different, for example, the categories may include lottery, weather, star eight trigrams, and the like. Wherein, the lottery ticket has fixed lottery drawing time, the weather also has fixed updating time every day, and the star eight diagrams have no fixed updating time.
In a possible implementation manner, when determining whether there is update content corresponding to a frequently-searched word according to a target category corresponding to the frequently-searched word and update time characteristics corresponding to different categories, a specific implementation process may be:
determining the updating time characteristics corresponding to the target categories according to the target categories corresponding to the frequently searched words and the updating time characteristics corresponding to different categories;
determining the time for acquiring the updated content according to the updating time characteristic corresponding to the target category;
and inquiring whether the updated content corresponding to the frequently searched words exists or not according to the time of acquiring the updated content, wherein the updating time of the updated content is after the last time of acquiring the updated content.
In a specific implementation, the target category corresponding to the frequently searched word may be determined first, for example, if the frequently searched word is a star a, the corresponding target category may be a "star". Each category corresponds to an update time characteristic, for example, the update time characteristic corresponding to the variety category includes updating once per week, the update time characteristic corresponding to the weather forecast includes updating once per day, the update time characteristic corresponding to the eight diagrams of stars is no fixed update time, and the like. In the embodiment of the disclosure, the update time characteristics corresponding to the target category may be determined according to the target category corresponding to the frequently searched word and the pre-stored update time characteristics corresponding to different categories.
When the time for acquiring the updated content is determined according to the determined update time characteristic corresponding to the target category, if the update time characteristic indicates that the target category has fixed update time, the time for acquiring the updated content can be determined according to the fixed update time; if the update time characteristic indicates that the target category has no fixed update time, the time for acquiring the update content may be determined according to a set time period.
For example, if the update time characteristic of the target category a is 22:00 updates per monday, the time for acquiring the update content corresponding to the target category a may be 22:00 per monday, or the time for acquiring the update content may be set to a time that is a preset time duration after 22:00, for example, to 22: 10;
if the update time characteristic of the target category B is that there is no fixed update time, the time for acquiring the update content may be set to be once per cycle according to a set time period (for example, once per day). For example, entertainment news, real-time news, or the like has no fixed update time, and the time for acquiring the update content may be determined according to a set time period. For example, if the target category is real-time news, the time period may be set to 30 minutes for the real-time news, and the time for acquiring the update content corresponding to the real-time news may be 8:00, 8:30, 9:00, and the like every day; if the target category is entertainment news, the time period can be set to be 2 hours for the entertainment news, and the time for acquiring the updated content corresponding to the entertainment news can be 8:00, 10:00, 12:00 and the like every day; here, the time periods corresponding to different object categories may be different or the same, and specifically, the time period of an object category may be determined according to the update frequency of the update content corresponding to the object category.
After the time for acquiring the updated content is determined, whether the updated content corresponding to the frequently searched word exists can be inquired according to the time for acquiring the updated content, wherein the updating time of the updated content is after the last time for acquiring the updated content. That is, the updated content of the query is the latest updated content.
Continuing with the above embodiment, for the target category a, the server may query whether there is an updated content corresponding to the frequently searched word a at 22:00 every monday. For example, if the time of the frequently searched word a to obtain the update content this time is 22:00 of the current monday, the update content obtained this time is the update content whose corresponding update time is 22:00 of the previous monday (the time of obtaining the update content last time).
In a specific implementation, when whether the updated content corresponding to the frequently searched word exists is queried according to the time for acquiring the updated content, the time label of at least one piece of webpage content corresponding to the frequently searched word can be acquired after the time for acquiring the updated content is reached; and inquiring whether the updated content corresponding to the frequently searched word exists in the at least one piece of webpage content or not according to the time label of the at least one piece of webpage content and the time when the updated content is obtained last time.
For example, after the time for obtaining the updated content is reached, a time tag (i.e., timestamp information) of at least one piece of web content corresponding to the frequently searched word may be obtained, and whether the updated content corresponding to the frequently searched word exists in the at least one piece of web content is queried according to the time tag of the at least one piece of web content and the time when the updated content was obtained last time. Illustratively, if the time for acquiring the updated content is 2019, 10, 5, and 13: 00, the last time of acquiring the updated content is 2019, 10, 5, 12: 30, inquiring whether the time label exists in the time labels of at least one piece of webpage content corresponding to the frequently searched words in 2019, 10, 5, 12: if the web page content after 30 exists, the updated content corresponding to the frequently searched words exists.
In a possible implementation manner, after querying that the update content corresponding to the frequently searched word exists according to the time for obtaining the update content in S102, the update content corresponding to the frequently searched word may be obtained, and the obtained update content corresponding to the frequently searched word is sent to the client, where the update content is used for being displayed at the client after the prompt information is triggered.
In the embodiment of the disclosure, the current server queries that the updated content corresponding to the frequently searched word exists, the updated content may exist in other servers providing information services, and the current server may capture the queried updated content and send the captured updated content to the client.
In specific implementation, after acquiring the update content corresponding to the frequently searched word, the server may send the acquired update content to the client for storage, and after the prompt information corresponding to the frequently searched word is triggered on the client side, the client may extract and store the update content and display the update content on the client page. Here, the updated content corresponding to the frequently searched word is sent to the client in advance for storage, so that on one hand, the cost of storage maintenance on the server side is reduced, and on the other hand, after the user triggers the prompt message, the client can display the locally stored updated content on the client in time, the display time is reduced, and the display efficiency is improved. Of course, the server may also send the stored updated content to the client after the prompt information corresponding to the frequently searched word is triggered on the client side.
S103, if yes, sending prompt information corresponding to the frequently searched words to the client; the prompt information is used for prompting the user of the updated content corresponding to the frequently searched words.
In the embodiment of the disclosure, if there is no updated content corresponding to the frequently searched word, no prompt message is sent to the client.
Generally, when it is determined that the frequently searched word corresponds to the updated content, the prompt information may be sent to the client for storage, and when a target page in the client is opened, the client may display the prompt information on the target page. Or after detecting that the target page in the client is opened, sending the stored prompt information to the client for display.
In a specific implementation, the prompt information may include a keyword corresponding to the updated content, or the prompt information may include a prompt tag corresponding to the updated content, and a form of the prompt tag may be preset, or the prompt information may also include both the keyword corresponding to the updated content and the prompt tag, for example, after it is determined that the updated content corresponding to the frequently searched word exists, the prompt information corresponding to the frequently searched word is sent to the client.
In one possible implementation manner, the prompt information corresponding to the frequently searched word may be determined according to the following steps:
determining keywords according to the updated content corresponding to the frequently searched words; and determining prompt information according to the keywords.
For example, at least one piece of updated content corresponding to a frequently searched word may be segmented, and a key word may be identified by removing a null word (for example, some nonsense auxiliary words with a relatively large number of occurrences, etc.), identifying a saliency characteristic corresponding to each segmented word (for example, determining a saliency score of the segmented word in the current updated content according to a frequency of the segmented word in other content, for example, if the frequency of the segmented word in other content is high, it is indicated that the segmented word is not representative in the current updated content, and the saliency score is low), and the like; and taking the identified key words as determined key words, and determining prompt information according to the determined key words. For example, the determined keyword may be a game C, a team name C, a wrestled hat, or the like, and the prompt information may be: match C-team name C-wrestle, etc.
In some embodiments, if there are a plurality of pieces of latest updated web page content corresponding to the frequently-searched word, when the acquired updated content corresponding to the frequently-searched word is sent to the client, at least one piece of web page content is screened out from the plurality of pieces of latest updated web page content corresponding to the frequently-searched word, and the screened at least one piece of web page content is sent to the client.
Here, at least one piece of web content may be screened out from a plurality of pieces of latest updated web content corresponding to the frequently searched words, and the screened out at least one piece of web content may be sent to the client, so as to avoid that a large number of web contents are sent to the client, which may cause a large amount of data stored in the client, and increase the storage load of the client.
In one possible implementation, at least one piece of web content is screened out from the plurality of pieces of latest updated web content corresponding to the frequently searched words according to at least one of the following information:
user browsing records corresponding to each webpage content; the upper limit value of the number of the webpage contents sent to the client; the degree of information duplication between different web page contents.
For example, a user browsing record corresponding to each piece of web page content may be determined, and the web page content with more user browsing records may be sent to the client. An upper limit value of the number of pieces of web content to be sent to the client may also be set, for example, the upper limit value may be 20 pieces, and then, from the latest updated web content, at most 20 pieces of web content may be selected to be sent to the client. The information repetition degree of each web content and other web contents can also be determined, one of the two web contents with the information repetition degree being greater than the set threshold is screened, and the web content is sent to the client, for example, the latest updated web content corresponding to the frequently searched word C includes the web content a, the web content B, and the web content C, and the information repetition degrees between the web content a and the web content B, the web content a and the web content C, and the web content B and the web content C are respectively determined.
In the embodiment, by setting the webpage content screening condition, part of the webpage content can be screened from the latest updated content and sent to the client, and the webpage content with relatively higher value is sent to the client, so that the storage burden of the client is reduced, the utilization rate of display resources is improved, and the user can browse and read conveniently.
In specific implementation, the prompt information corresponding to the frequently searched word may be displayed at any position of the interface, specifically, the display position of the prompt information corresponding to the frequently searched word may be set according to an actual situation, and this is not specifically limited in the embodiment of the present disclosure. Exemplary display positions of the prompt messages corresponding to the frequently searched words are shown in fig. 2, fig. 3, fig. 4, and fig. 5.
Referring to fig. 2, an interface diagram of a first page showing prompt information corresponding to a frequently searched word in an information processing method is shown, where the interface diagram in fig. 2 sequentially includes, from top to bottom, a search area (i.e., a search box), a display content area (including various display content titles), a history recording box (including prompt information corresponding to the frequently searched word), a recommendation box (including content classifications capable of being searched), and recommendation content. The search box is used for the user to input the query information to query the corresponding search content; the display content can be various, such as display content a, display content B, display content C, display content D, display content E, display content F, and the like, and the user can obtain corresponding information by clicking the display content; the historical record frame comprises a four-day-old search word A updating, a four-star area A cooling, a new song of a human name A, a captain of a team name A, a common search word E and a common search word F, wherein the four-day-old search word A updating, the four-star area A cooling, the new song of the human name A and the captain of the team name A are prompt information corresponding to the common search word, and the prompt information in the historical record frame can be clicked to enter an updating content display page corresponding to the prompt information. The recommendation frame comprises recommendations, names, videos and novels; when the recommendation is clicked, the recommendation content is correspondingly displayed in the area below the recommendation frame, namely, the recommendation content A, the recommendation content B, the recommendation content C, the recommendation content D, the recommendation content E and the recommendation content F are displayed, and then the user can click the recommendation content to obtain corresponding information; and if the user clicks the video, correspondingly displaying the video content.
Referring to fig. 3, an interface schematic diagram of a first page showing prompt information corresponding to a frequently searched word is shown in an information processing method, and the interface schematic diagram in fig. 3 sequentially includes, from top to bottom, a search area, a history recording frame containing the prompt information corresponding to the frequently searched word, a display content area (including various display content titles), a recommendation frame, and recommendation content.
Referring to fig. 4, an interface diagram of a first page showing prompt information corresponding to a frequently searched word is shown in the method for information processing, and the interface diagram in fig. 4 sequentially includes, from top to bottom, a search area, a display content area (including various display content titles), a recommendation frame (including content categories capable of being searched), recommendation content, and a history recording frame containing prompt information corresponding to the frequently searched word.
Referring to fig. 5, an interface schematic diagram of a first page showing prompt information corresponding to a frequently searched word is shown, where the interface schematic diagram in fig. 5 sequentially includes, from top to bottom, a basic function frame and prompt information display frames corresponding to the frequently searched word, where the basic function frame may include basic function categories of devices, such as a wireless function, a bluetooth function, a positioning function, and the like, the prompt information display frames corresponding to the frequently searched word may be multiple, and the prompt information display frame corresponding to each frequently searched word corresponds to one prompt information, such as a frequently searched word a update, a frequently searched word B update, and the like.
By adopting the method, the frequently searched words corresponding to the client are obtained; determining whether the updated content corresponding to the frequently searched words exists or not according to the target categories corresponding to the frequently searched words and the updating time characteristics corresponding to different categories; if the search word exists, the prompt information corresponding to the frequently searched word is sent to the client, and then the prompt information corresponding to the frequently searched word can be displayed on a client query page or the client, so that a user corresponding to the client can select whether to acquire the updated content corresponding to the frequently searched word or not based on the prompt information, because the frequently searched word is generally a search word which is relatively concerned by the user, the updated content related to the frequently searched word is also a content which is mainly concerned by the user, the frequently searched word with the corresponding updated content is subjected to key prompt, the user can be facilitated to quickly locate the search word which is interested by the user and has the updated content, and further search is initiated, so that the information processing is more accurate and more efficient.
Example two
The embodiment of the present disclosure provides another information processing method, which is applied to a client, and referring to a flowchart of an information processing method shown in fig. 6, the method includes S601-S602, and the specific process is as follows:
s601, receiving prompt information which is sent by a server and corresponds to the frequently searched words of the client; the frequently searched words are search words determined according to historical search records of the client;
s602, displaying prompt information on a first page of a client; the prompt information is used for prompting the user of the updated content corresponding to the frequently searched words.
As an optional embodiment, after the first page of the client displays the prompt message, the method further includes:
and under the condition that the triggering operation aiming at the prompt information is received, displaying specific updating content corresponding to the prompt information on a second page of the client.
Referring to fig. 7, in the information processing method, an interface schematic diagram of a second page showing specific update contents corresponding to the prompt information is shown, where the second page includes an update content title list corresponding to a common search term, that is, the update content list includes an update content title a, an update content title B, an update content title C, and the like, and a user can check corresponding update contents by triggering any update content title in the update content list.
As an alternative embodiment, the prompt information includes a keyword corresponding to the updated content and/or a prompt tag corresponding to the updated content.
In the embodiment of the disclosure, the prompt tag may be a set graphic and/or a word, for example, the graphic may be a regular graphic or an irregular graphic, and the set word may be an update, a broadcast, and a reminder, and therefore, the prompt information may be a keyword a-update, a keyword B-broadcast, a keyword C, a ▲ keyword a-update, and the like.
The information processing method provided by the embodiment of the present disclosure has the same technical features as the information processing method provided by the first embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
Based on the same inventive concept, an information processing apparatus corresponding to the information processing method is also provided in the embodiments of the present disclosure, and because the principle of solving the problem of the apparatus in the embodiments of the present disclosure is similar to the method of the embodiments of the present disclosure, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not described again.
EXAMPLE III
The embodiment of the present disclosure provides an information processing apparatus, referring to a schematic structural diagram of an information processing apparatus shown in fig. 8, the apparatus including:
a common search word obtaining module 801, configured to obtain a common search word corresponding to the client; the common search word is a search word determined according to the historical search record of the client;
an update content determining module 802, configured to determine whether there is update content corresponding to the frequently searched word according to a target category corresponding to the frequently searched word and update time characteristics corresponding to different categories;
a prompt information sending module 803, configured to send, to the client, prompt information corresponding to the frequently searched word if there is an updated content corresponding to the frequently searched word; and the prompt information is used for prompting the user of the updated content corresponding to the frequently searched words.
In some embodiments of the present disclosure, the update content determining module 802, when determining whether there is update content corresponding to the frequently searched word according to a target category corresponding to the frequently searched word and update time characteristics corresponding to different categories, is configured to:
determining the updating time characteristics corresponding to the target categories according to the target categories corresponding to the frequently-searched words and the updating time characteristics corresponding to the different categories;
determining the time for acquiring the updated content according to the updated time characteristic corresponding to the target category;
and inquiring whether the updated content corresponding to the common search term exists or not according to the time for acquiring the updated content, wherein the updating time of the updated content is after the time for acquiring the updated content last time.
In some embodiments of the present disclosure, the update content determining module 802, when determining the time for obtaining the update content according to the determined update time characteristic corresponding to the target category, is configured to:
if the update time characteristic indicates that the target category has fixed update time, determining the time for acquiring the update content according to the fixed update time;
and if the update time characteristic indicates that the target category has no fixed update time, determining the time for acquiring the update content according to a set time period.
In some embodiments of the present disclosure, the apparatus further comprises:
and the update content sending module is used for sending the obtained update content corresponding to the common search word to the client, and the update content is used for being displayed on the client after the prompt message is triggered.
In some embodiments of the present disclosure, when querying whether there is an updated content corresponding to the frequently searched word according to the time for obtaining the updated content, the updated content determining module 802 is configured to:
after the time for acquiring the updated content is reached, acquiring a time label of at least one piece of webpage content corresponding to the common search word;
and acquiring the updated webpage content corresponding to the frequently searched word in the at least one piece of webpage content according to the time label of the at least one piece of webpage content and the time when the updated content is acquired last time.
In some embodiments of the disclosure, the update content sending module is further configured to:
and screening at least one piece of webpage content from the latest updated webpage content corresponding to the frequently searched words, and sending the screened at least one piece of webpage content to the client.
In some embodiments of the disclosure, the updated content sending module, when screening out at least one piece of web content from a plurality of pieces of latest updated web content corresponding to the frequently searched word according to at least one of the following information, is further configured to:
user browsing records corresponding to each webpage content; the upper limit value of the number of the webpage contents sent to the client; the degree of information duplication between different web page contents.
In some embodiments of the present disclosure, the prompt information sending module 803 is further configured to:
determining keywords according to the updated content corresponding to the frequently searched words;
and determining the prompt information according to the keyword.
The information processing apparatus provided in the embodiment of the present disclosure has the same technical features as the information processing method provided in the first embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
Example four
The embodiment of the present disclosure provides an information processing apparatus, referring to a schematic structural diagram of an information processing apparatus shown in fig. 9, the apparatus including:
a prompt information receiving module 901, configured to receive prompt information sent by a server and corresponding to a frequently searched word of a client; the common search word is a search word determined according to the historical search record of the client;
a display module 902, configured to display the prompt information on a first page of the client; and the prompt information is used for prompting the user of the updated content corresponding to the frequently searched words.
Some embodiments of the present disclosure further include:
and the display module is used for displaying specific updating content corresponding to the prompt information on a second page of the client under the condition of receiving the trigger operation aiming at the prompt information.
In some embodiments of the present disclosure, the prompt information includes a keyword corresponding to the update content and/or a prompt tag corresponding to the update content.
The information processing apparatus provided in the embodiment of the present disclosure has the same technical features as the information processing method provided in the first embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
EXAMPLE five
Based on the same technical concept, the embodiment of the disclosure also provides an electronic device. Referring to fig. 10, a schematic structural diagram of an electronic device 1000 provided in the embodiment of the present disclosure includes aprocessor 1001, a memory 1002, and a bus 1003. The memory 1002 is used for storing execution instructions, and includes a memory 10021 and an external memory 10022; the memory 10021 is also referred to as a memory, and is used for temporarily storing operation data in theprocessor 1001 and data exchanged with the external memory 10022 such as a hard disk, theprocessor 1001 exchanges data with the external memory 10022 through the memory 10021, and when the electronic device 1000 operates, theprocessor 1001 and the memory 1002 communicate with each other through the bus 1003, so that theprocessor 1001 executes the following instructions:
acquiring a common search word corresponding to a client; the common search word is a search word determined according to the historical search record of the client;
determining whether the updated content corresponding to the frequently searched words exists or not according to the target categories corresponding to the frequently searched words and the updating time characteristics corresponding to different categories;
if yes, sending prompt information corresponding to the frequently searched words to the client; and the prompt information is used for prompting the user of the updated content corresponding to the frequently searched words.
EXAMPLE six
Based on the same technical concept, the embodiment of the disclosure also provides another electronic device. Referring to fig. 11, a schematic structural diagram of an electronic device 1100 provided in the embodiment of the present disclosure includes aprocessor 1101, a memory 1102, and a bus 1103. The storage 1102 is used for storing execution instructions and includes a memory 11021 and an external storage 11022; the memory 11021 is also referred to as an internal memory, and temporarily stores operation data in theprocessor 1101 and data exchanged with an external memory 11022 such as a hard disk, theprocessor 1101 exchanges data with the external memory 11022 through the memory 11021, and when the electronic device 1100 operates, theprocessor 1101 communicates with the memory 1102 through the bus 1103, so that theprocessor 1101 executes the following instructions:
receiving prompt information which is sent by a server and corresponds to the frequently searched words of the client; the common search word is a search word determined according to the historical search record of the client;
displaying the prompt information on a first page of the client; and the prompt information is used for prompting the user of the updated content corresponding to the frequently searched words.
EXAMPLE seven
The embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the information processing method described in any of the above embodiments.
In particular, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, or the like, and when the computer program on the storage medium is executed, the steps of the above-described method of information processing can be executed, thereby improving the efficiency of information processing.
The computer program product of the method for processing information provided in the embodiments of the present disclosure includes a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and is not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or 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 of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.