CN113360755A - Information pushing and displaying method and device - Google Patents

Information pushing and displaying method and device Download PDF

Info

Publication number
CN113360755A
CN113360755A CN202110602769.0A CN202110602769A CN113360755A CN 113360755 A CN113360755 A CN 113360755A CN 202110602769 A CN202110602769 A CN 202110602769A CN 113360755 A CN113360755 A CN 113360755A
Authority
CN
China
Prior art keywords
information
target keyword
search
identified
keyword
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110602769.0A
Other languages
Chinese (zh)
Inventor
王培娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Lewo Wuxian Technology Co ltd
Original Assignee
Beijing Lewo Wuxian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Lewo Wuxian Technology Co ltd filed Critical Beijing Lewo Wuxian Technology Co ltd
Priority to CN202110602769.0A priority Critical patent/CN113360755A/en
Publication of CN113360755A publication Critical patent/CN113360755A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides an information pushing method, an information displaying method and an information pushing device, and relates to the technical field of information processing. The method is applied to the server side and comprises the following steps: obtaining comment information to be identified; identifying target keywords to be subjected to information search in the comment information to be identified; obtaining the description information of the search result for the target keyword fed back by the network equipment; when the comment information to be identified is pushed to a client, the target keyword and the description information are pushed to the client, so that the client can display the comment information to be identified in a quick access mode; the method is applied to the client, and comprises the following steps: receiving comment information to be displayed pushed by a server, target keywords in the comment information to be displayed and description information; and displaying the comment information to be displayed in a quick access mode. By applying the scheme provided by the embodiment of the invention, the convenience of the user participating in the discussion can be improved.

Description

Information pushing and displaying method and device
Technical Field
The invention relates to the technical field of information processing, in particular to an information pushing and displaying method and device.
Background
With the continuous development of internet technology, various clients provide various contents for users and also have a user comment function. With the user comment function, a user can comment on content provided by a client. For example, to publish own insights, to conduct relevant discussions with other users, etc. Information that a user posts using the user comment function is called comment information. For example, in a live scene provided by a live client, a live room is provided with a live zone and a comment zone, the live zone is used for displaying live content, and a user can comment on the live content in the comment zone. For example, the user may publish an insight for the live content in the comment area, and may also view comments of other users in the comment area for further discussion.
However, different users may perceive the same thing differently, for example, for a product, some users are familiar with the product, and some users may not know what the product is at all. In the prior art, the client only displays comments made by each user, so that when a plurality of users discuss the same thing, part of the users may have difficulty in quickly reacting to the thing, but need to know the basic concept of the thing through other clients such as a browser and the like, and then can effectively discuss the thing with other users. Therefore, the information display mode of the client easily causes poor convenience of the user participating in comments.
Disclosure of Invention
The embodiment of the invention aims to provide an information pushing and displaying method and device, so that convenience of participation of a user in discussion is improved when a client displays information. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an information pushing method, which is applied to a server, and the method includes:
obtaining comment information to be identified;
identifying target keywords to be subjected to information search in the comment information to be identified;
obtaining description information of a search result fed back by the network equipment and aiming at the target keyword, wherein the search result is as follows: the target keyword is used as a search keyword to search information;
when the comment information to be identified is pushed to a client, the target keyword and the description information are pushed to the client, so that the client can display the comment information to be identified in a quick access mode, wherein in the quick access mode: and determining an access mode aiming at the target keyword based on the description information.
In an embodiment of the present invention, the description information includes: an access link to the search result or content of the search result.
In an embodiment of the present invention, in a case that the description information includes an access link of the search result, in the shortcut access mode: the access link is set as a hyperlink associated with the target keyword;
in the case that the description information includes the content of the search result, in the shortcut access mode: the content of the search result is set as additional presentation information of the target keyword.
In an embodiment of the present invention, the identifying a target keyword to be subjected to information search in the comment information to be identified includes:
and identifying a target keyword in the comment information to be identified based on a preset keyword table, wherein the target keyword is recorded in the preset keyword table.
In one embodiment of the present invention, the substrate is,
the keywords recorded in the keyword table include: object name of the entity object.
In one embodiment of the invention, the entity object comprises at least one of the following objects:
characters, places, movies, and organizations.
In an embodiment of the present invention, the identifying a target keyword to be subjected to information search in the comment information to be identified includes:
identifying keywords to be subjected to information search in the comment information to be identified;
when the recognized keyword includes a plurality of consecutive keywords, the plurality of consecutive keywords are determined as one target keyword.
In a second aspect, an embodiment of the present invention provides an information displaying method, which is applied to a client, and the method includes:
receiving comment information to be displayed pushed by a server, a target keyword in the comment information to be displayed and description information of a search result for the target keyword, fed back by network equipment, wherein the search result is as follows: the target keyword is used as a search keyword to search information;
displaying the comment information to be displayed in a quick access mode, wherein in the quick access mode: and determining an access mode aiming at the target keyword based on the description information.
In an embodiment of the present invention, the description information includes: an access link to the search result or content of the search result.
In one embodiment of the invention, the method further comprises:
under the condition that the description information comprises an access link of the search result, after detecting that a user clicks the target keyword, sending the access link to the network equipment to obtain the search result fed back by the network equipment;
and displaying the search result in a comment display area of the user interface.
In one embodiment of the present invention, the substrate is,
the comment information to be displayed is as follows: comment information for live content in a live broadcast room.
In a third aspect, an embodiment of the present invention provides an information pushing apparatus, which is applied to a server, where the apparatus includes:
the comment information obtaining module is used for obtaining comment information to be identified;
the target identification module is used for identifying a target keyword to be subjected to information search in the comment information to be identified;
the description information obtaining module is configured to obtain description information of a search result for the target keyword, where the description information is fed back by the network device, and the search result is: the target keyword is used as a search keyword to search information;
the information pushing module is used for pushing the target keyword and the description information to a client when the comment information to be identified is pushed to the client, so that the client displays the comment information to be identified in a quick access mode, wherein in the quick access mode: and determining an access mode aiming at the target keyword based on the description information.
In an embodiment of the present invention, the description information includes: an access link to the search result or content of the search result.
In one embodiment of the present invention, the substrate is,
under the condition that the description information comprises the access link of the search result, in the quick access mode: the access link is set as a hyperlink associated with the target keyword;
in the case that the description information includes the content of the search result, in the shortcut access mode: the content of the search result is set as additional presentation information of the target keyword.
In an embodiment of the present invention, the target identification module is specifically configured to:
and identifying a target keyword in the comment information to be identified based on a preset keyword table, wherein the target keyword is recorded in the preset keyword table.
In one embodiment of the present invention, the substrate is,
the keywords recorded in the keyword table include: object name of the entity object.
In one embodiment of the invention, the entity object comprises at least one of the following objects:
characters, places, movies, and organizations.
In an embodiment of the present invention, the target identification module is specifically configured to:
identifying keywords to be subjected to information search in the comment information to be identified;
when the recognized keyword includes a plurality of consecutive keywords, the plurality of consecutive keywords are determined as one target keyword.
In a fourth aspect, an embodiment of the present invention provides an information displaying apparatus, which is applied to a client, where the apparatus includes:
the information receiving module is used for receiving comment information to be displayed pushed by a server, a target keyword in the comment information to be displayed and description information of a search result for the target keyword, which is fed back by network equipment, wherein the search result is: the target keyword is used as a search keyword to search information;
the information display module is used for displaying the comment information to be displayed in a quick access mode, wherein in the quick access mode: and determining an access mode aiming at the target keyword based on the description information.
In an embodiment of the present invention, the description information includes: an access link to the search result or content of the search result.
In one embodiment of the present invention, the apparatus further comprises:
a result obtaining module, configured to, when the description information includes an access link of the search result, send the access link to the network device after detecting that the user clicks the target keyword, and obtain the search result fed back by the network device;
and the result display module is used for displaying the search result in a comment display area of the user interface.
In one embodiment of the present invention, the substrate is,
the comment information to be displayed is as follows: comment information for live content in a live broadcast room.
In a fifth aspect, an embodiment of the present invention provides an electronic device, which serves as a server and includes a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the information pushing method steps according to any one of the first aspect when executing a program stored in a memory.
In a sixth aspect, an embodiment of the present invention further provides an electronic device, which serves as a client, and includes a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
and a processor, configured to implement the steps of the information display method according to any one of the second aspects when executing the program stored in the memory.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program, when executed by a processor, implements the method steps in any of the first aspect or the second aspect.
The embodiment of the invention has the following beneficial effects:
as can be seen from the above, in the scheme provided by the embodiment of the invention, after the server obtains the comment information to be identified, the server identifies the target keyword to be subjected to information search in the comment information to be identified, obtains the description information of the search result for the target keyword, which is fed back by the network device, and then pushes the target keyword and the description information to the client when pushing the comment information to be identified to the client. Therefore, the information received by the client not only comprises the comment information to be identified, but also comprises the target keyword and the description information, so that the client can display the comment information to be identified in a quick access mode. In this case, since the quick access mode is an access mode for the target keyword determined based on the description information, when the user views the comment information to be identified displayed by the client, if there is a question about the target keyword, the search result corresponding to the target keyword can be directly obtained in the client by clicking the target keyword without switching to other clients. Therefore, after the server side pushes the information to the client side by applying the scheme provided by the embodiment of the invention, the convenience of the user participating in the discussion can be improved when the client side displays the information.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by referring to these drawings.
Fig. 1 is a schematic flowchart of a first information pushing method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a second information pushing method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a third information pushing method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a first information displaying method according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a second information displaying method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a first information pushing apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a first information display apparatus according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a second information display apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a first electronic device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a second electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention are within the scope of the present invention.
Referring to fig. 1, a schematic flow chart of a first information pushing method applied to a server is provided, where the method includes the following steps S101 to S104.
Step S101: and obtaining comment information to be identified.
Specifically, the comment information to be identified may be comment information sent by any client in all clients performing information interaction with the server, or may also be comment information sent by other servers storing the comment information.
Step S102: and identifying target keywords to be subjected to information search in the comment information to be identified.
When information search is performed, generally, search is performed based on a search keyword, so that a search result related to the search keyword is obtained. Since the comment information to be identified may include a plurality of words, but not every word may be used as a keyword for searching, the comment information to be identified may be identified, and a target keyword that can be used for searching in the comment information to be identified may be obtained.
Specifically, the target keyword recognition can be realized by adopting semantic recognition, keyword matching and other modes.
Step S103: and obtaining the description information of the search result for the target keyword fed back by the network equipment.
Wherein, the search result is: and (5) performing information search by taking the target keyword as a search keyword.
The network device may be a network search engine. For example, the search engine may be a hundredth search engine, a google search engine, or other search engines.
The network device may be a network device including a database, where the database includes information for the target keyword.
The description information is information reflecting a search result for the target keyword fed back by the network device, and the search result can be obtained according to the description information. For example, the description information may be an access link of the search result, may be the content of the search result, or may be other information reflecting the search result.
Step S104: when the comment information to be identified is pushed to the client, the target keyword and the description information are pushed to the client, so that the client can display the comment information to be identified in a quick access mode.
Wherein, in the shortcut access mode: and determining an access mode aiming at the target keyword based on the description information.
In one case, the server can push the comment information to be identified to all the clients with which the information interaction is performed.
In another case, the server can push comment information to be identified to some clients in the client with which the server performs information interaction.
When the server side pushes the comment information to be identified to the client side which carries out information interaction with the server side, the server side can also push target keywords and description information to the target client side, so that the target client side can receive the comment information to be identified, the target keywords and the description information and display the comment information to be identified in a quick access mode. Wherein, the target client is: and sending the comment information to be identified to the server side, or sending the comment information to be identified to the server side.
The quick access mode is an access mode for the target keyword determined based on the description information. As can be seen from step S103, the type of the description information may be various, for example, the description information may be an access link or content of a search result, and thus, there are various access manners determined based on the description information.
Under the condition that the description information comprises the access link of the search result, in the quick access mode: the access link is set as a hyperlink associated with the target keyword.
The access link is used to access the search result on the network device, and may be a web address for accessing the search result.
And after obtaining the target keywords in the comment information to be identified, the server accesses the network equipment by taking the target keywords as search keywords. The network device can perform information search based on the target keyword to obtain a search result of the target keyword in the network device.
For example, the target keyword may be "mouse", in which case, the server may access a search interface of the hundred-degree search engine by using the "mouse" as the search keyword, and the hundred-degree search engine may perform an information search on the search keyword "mouse" to obtain a search result about the "mouse" in the hundred-degree search engine, where the search result may be web page information, picture information, video information, or the like.
For another example, The target keyword is "The Queen's game", in this case, The server may use "The Queen's game" as The search keyword to access a search interface of The google search engine, and The google search engine may perform information search on The search keyword "The Queen's game" to obtain a search result about "The Queen's game" in The google search engine.
In the case where the description information includes the content of the search result, in the shortcut access mode: the content of the search result is set as additional presentation information of the target keyword.
The additional display information refers to information which is additionally displayed aiming at the target keyword when the client displays the comment information to be identified, that is, the additional information is also displayed besides the target keyword.
Specifically, the additional information of the target keyword may be displayed in a manner of adding a label to the target keyword, in which case, the annotated content is the content of the search result. Further, the annotated content may be partial content of the search result, and when the user clicks a target keyword in the displayed comment information to be identified, the client may display the content of the entire search result.
In addition, additional information of the target keyword may also be presented in the form of a prompt window. Specifically, after it is determined that the target keyword is clicked, for example, the user clicks the target keyword with a mouse, or the user clicks the target keyword with a finger or a stylus on a touch screen, a prompt window is popped up in the display interface of the client, and the content of the search result is displayed in the prompt window.
As can be seen from the above, in the scheme provided by the embodiment of the invention, after the server obtains the comment information to be identified, the server identifies the target keyword to be subjected to information search in the comment information to be identified, obtains the description information of the search result for the target keyword, which is fed back by the network device, and then pushes the target keyword and the description information to the client when pushing the comment information to be identified to the client. Therefore, the information received by the client not only comprises the comment information to be identified, but also comprises the target keyword and the description information, so that the client can display the comment information to be identified in a quick access mode. In this case, since the quick access mode is an access mode for the target keyword determined based on the description information, when the user views the comment information to be identified displayed by the client, if there is a question about the target keyword, the search result corresponding to the target keyword can be directly obtained in the client by clicking the target keyword without switching to other clients. Therefore, after the server side pushes the information to the client side by applying the scheme provided by the embodiment of the invention, the convenience of the user participating in the discussion can be improved when the client side displays the information.
In an embodiment of the present invention, referring to fig. 2, a flowchart of a second information pushing method is provided, and compared with the foregoing embodiment shown in fig. 1, the step S102 described above of identifying a target keyword to be subjected to an information search in comment information to be identified includes the following step S102A.
Step S102A: and identifying target keywords in the comment information to be identified based on a preset keyword table.
The target keywords are recorded in a preset keyword table.
The keyword table may be a word table containing specified keywords, such as apple, pineapple, camera, etc. The keyword list may be a list of words including a hot word and a popular word having a certain hot degree in the internet, for example, a positive energy, a scroll, a batter, a rice drier, etc.
The preset keyword list can be stored in the server, the keyword list is maintained by the server, and the keyword list is updated in real time according to the actual situation.
In one case, the keywords recorded in the keyword table may include: object name of the entity object.
Specifically, the entity object may include at least one of the following objects:
characters, places, movies, and organizations.
Such as Zhang III, Beijing, The Queen's Cambit, Beijing university of language, etc.
According to a preset keyword table, when identifying comment information to be identified, word segmentation processing can be performed on the comment information to be identified to obtain words contained in the comment information to be identified, and then the words obtained through identification are matched with the words in the keyword table. And if the comment information to be identified contains the keywords recorded by the keyword table, taking the keywords in the comment information to be identified as target keywords.
For example, the comment information to be identified is: zhang III is a student. If the keyword 'Zhang III' is recorded in the keyword table, the 'Zhang III' in the comment information to be identified is a target keyword; if the keyword table records the keyword of student, the student in the comment information to be identified is the target keyword.
As can be seen from the above, in the scheme provided by this embodiment, the preset keyword table is used to identify the target keyword in the comment information to be identified, and since the keyword table is the preset word table, the keywords recorded in the keyword table can be adjusted according to different requirements under different conditions, so that the target keyword in the comment information to be identified can be identified more flexibly and accurately.
In an embodiment of the present invention, referring to fig. 3, a flowchart of a third information pushing method is provided, and compared with the foregoing embodiment shown in fig. 1, the step S102 described above of identifying a target keyword to be subjected to an information search in comment information to be identified includes the following steps S102B1-S102B 2.
Step S102B 1: and identifying keywords to be subjected to information search in the comment information to be identified.
When information search is performed, generally, search is performed based on a search keyword, so that a search result related to the search keyword is obtained. Since the comment information to be identified may include a plurality of words, but not every word may be used as a keyword for performing a search, the comment information to be identified may be identified, and a keyword that can be used for performing a search in the comment information to be identified may be obtained.
Specifically, the keyword recognition can be realized by adopting semantic recognition, keyword matching and other modes.
Step S102B 2: when the recognized keyword includes a plurality of consecutive keywords, the plurality of consecutive keywords are determined as one target keyword.
Specifically, since the number of keywords in the comment information to be identified may be large, it may occur that one comment information to be identified includes a plurality of keywords to be subjected to information search, and at this time, if a plurality of keywords continuously appear in the comment information to be identified, the plurality of continuous keywords are taken as one target keyword.
For example, if the comment information to be identified is: the Beijing university of language is located in the northern part of China, and the keywords for information search are identified as follows: and determining the target keyword as Beijing language university according to the three keywords of Beijing, language and university.
If the comment information to be identified is: the Beijing university of language is located in the northern China, and the keywords for identifying information search are also as follows: the three keywords of Beijing, language and university, but the target keywords are determined to be Beijing and language university because the keywords are not continuous keywords.
As can be seen from the above, in the solution provided in this embodiment, a plurality of recognized continuous keywords are determined as one target keyword, and then information search is performed. Because the meaning represented by each keyword may be different and the meaning represented by one keyword in different contexts may also be different, in the comment information to be identified, a plurality of continuous keywords often have strong relevance, and the plurality of continuous keywords are regarded as a whole which is more in line with the context of the comment information to be identified, so that the plurality of continuous keywords are regarded as a target keyword, which is beneficial to searching for the search content in line with the context of the comment information to be identified.
Corresponding to the information pushing method applied to the server, the embodiment of the invention also provides an information display method applied to the client.
In an embodiment of the present invention, referring to fig. 4, a flowchart of a first information displaying method is provided, where the method is applied to a client, and the method includes the following steps S401 to S402.
Step S401: and receiving comment information to be displayed pushed by the server, target keywords in the comment information to be displayed and description information of search results for the target keywords fed back by the network equipment.
Wherein, the search result is: and (5) performing information search by taking the target keyword as a search keyword.
The description information is information reflecting a search result for the target keyword fed back by the network device, and the search result can be obtained according to the description information. For example, the description information may be an access link of the search result, may be the content of the search result, or may be other information reflecting the search result.
The server side can analyze the comment information according to the scheme mentioned in the information pushing embodiment, and obtain the target keywords contained in the comment information and the description information corresponding to the target keywords. Therefore, when the server side pushes the comment information to be displayed to the client side, the comment information to be displayed can be pushed, and the target keywords contained in the comment information to be displayed and the description information corresponding to the target keywords can also be pushed.
In one case, the comment information to be presented may be: comment information for live content in a live broadcast room.
In another case, the comment information to be displayed may be: comment information aiming at video playing contents in video playing software.
In another case, the comment information to be displayed may be: comment information for music playing contents in music playing software.
Step S402: displaying comment information to be displayed in a quick access mode, wherein the quick access mode comprises the following steps: and determining an access mode aiming at the target keyword based on the description information.
As can be seen from step S401, the type of the description information may be various, for example, the description information may be an access link or content of a search result, and thus, there are various access manners determined based on the description information.
When the description information is an access link, in the quick access mode: the access link may be set as a hyperlink associated with the target keyword.
As will be appreciated by those skilled in the art: the hyperlink is a manner allowing different websites to be connected, and as can be seen from step S401, the access link is a link which is obtained by the server through a search interface of the web search engine and accesses a search result, and therefore the access link is set as the hyperlink of the target keyword, that is, a connection relationship is established between the target keyword in the comment information to be identified displayed by the client and the search result in the web search engine.
Therefore, when the client displays the comment information to be displayed, the displayed comment information sets the hyperlink on the comment information to be displayed for the target keyword.
As can be seen from the above, in the scheme provided by the embodiment of the invention, after receiving the comment information to be displayed, the target keyword and the description information in the comment information to be displayed, which are sent by the server, the client displays the comment information to be displayed in a quick access manner. In this case, since the quick access mode is an access mode for the target keyword determined based on the description information, when the user views the comment information to be identified displayed by the client, if there is a question about the target keyword, the search result corresponding to the target keyword can be directly obtained in the client by clicking the target keyword without switching to other clients. Therefore, when the client side applies the scheme provided by the embodiment to display information, the convenience of the user participating in discussion can be improved.
In an embodiment of the present invention, referring to fig. 5, a flowchart of a second information displaying method is provided, where the method includes the following steps S403-S404.
Step S403: and under the condition that the description information comprises the access link of the search result, after detecting that the user clicks the target keyword, sending the access link to the network equipment to obtain the search result fed back by the network equipment.
Because the hyperlink is set for the target keyword in the comment information to be displayed under the condition that the description information comprises the access link of the search result, when the client displays the comment information to be displayed in a quick access mode, the target keyword in the comment information to be displayed becomes a clickable state, and when the target keyword is detected to be clicked by a user, the hyperlink is triggered, so that the access link is sent to the network equipment, and the accessed search result is obtained in the network equipment.
Step S404: and displaying the search result in a comment display area of the user interface.
The user interface is an interface for the user to check, click, slide and the like, the user can check the content displayed by the client through the user interface, and the content displayed by the client is clicked, slid and the like.
The comment display area is used for displaying comment information.
When a user clicks a target keyword in comment information to be displayed and a client obtains a search result, the search result is displayed in a comment display area of a user interface, so that the user can view the comment information in the comment display area before clicking the target keyword, and the user can view the search result in the comment display area after clicking the target keyword.
Because the search result displayed in the comment display area is a search result for performing information search by using the target keyword in the network device as the search keyword, that is, the search result displayed in the comment display area is a search result displayed to the user by the network device, the user can perform user operation provided by the network device on the search result, such as accessing, copying, pasting, sharing links, downloading files and the like.
Therefore, in the scheme provided by the embodiment of the invention, the comment display area of the user interface can display the search result after the user clicks the target keyword. Therefore, the information display scheme provided by the embodiment can display not only the comment information, but also the search result obtained after clicking the target keyword, and because the obtained search result is displayed in the comment display area of the user interface, other contents of the client can still be displayed in other areas except the comment display area, so that the user can obtain the search result without switching to other clients, and the convenience of the user participating in the comment is improved.
Corresponding to the information pushing method, the embodiment of the invention also provides an information pushing device.
Referring to fig. 6, there is provided a schematic structural diagram of a first information pushing apparatus, which is applied to a server, and the apparatus includes:
the comment information obtaining module 601 is used for obtaining comment information to be identified;
a target identification module 602, configured to identify a target keyword to be subjected to information search in the comment information to be identified;
a description information obtaining module 603, configured to obtain description information of a search result for the target keyword, where the search result is fed back by the network device, and the search result is: the target keyword is used as a search keyword to search information;
an information pushing module 604, configured to, when the comment information to be identified is pushed to a client, push the target keyword and the description information to the client, so that the client displays the comment information to be identified in a quick access manner, where in the quick access manner: and determining an access mode aiming at the target keyword based on the description information.
As can be seen from the above, in the scheme provided by the embodiment of the invention, after the server obtains the comment information to be identified, the server identifies the target keyword to be subjected to information search in the comment information to be identified, obtains the description information of the search result for the target keyword, which is fed back by the network device, and then pushes the target keyword and the description information to the client when pushing the comment information to be identified to the client. Therefore, the information received by the client not only comprises the comment information to be identified, but also comprises the target keyword and the description information, so that the client can display the comment information to be identified in a quick access mode. In this case, since the quick access manner is an access manner for the target keyword determined based on the description information, when the user views the comment information to be identified displayed by the client, if there is a question about the target keyword, the search result corresponding to the target keyword can be directly obtained in the client by clicking the target keyword without switching to other clients. Therefore, after the server side pushes the information to the client side by applying the scheme provided by the embodiment of the invention, the convenience of the user participating in the discussion can be improved when the client side displays the information.
In an embodiment of the present invention, the description information includes: an access link to the search result or content of the search result.
In one embodiment of the present invention, the substrate is,
under the condition that the description information comprises the access link of the search result, in the quick access mode: the access link is set as a hyperlink associated with the target keyword;
in the case that the description information includes the content of the search result, in the shortcut access mode: the content of the search result is set as additional presentation information of the target keyword.
In an embodiment of the present invention, the object identifying module 602 is specifically configured to:
and identifying a target keyword in the comment information to be identified based on a preset keyword table, wherein the target keyword is recorded in the preset keyword table.
As can be seen from the above, in the scheme provided by this embodiment, the preset keyword table is used to identify the target keyword in the comment information to be identified, and since the keyword table is the preset word table, the keywords recorded in the keyword table can be adjusted according to different requirements under different conditions, so that the target keyword in the comment information to be identified can be identified more flexibly and accurately.
In an embodiment of the present invention, the keywords recorded in the keyword table include: object name of the entity object.
In an embodiment of the present invention, the entity object includes at least one of the following objects:
characters, places, movies, and organizations.
In an embodiment of the present invention, the object identifying module 602 is specifically configured to:
identifying keywords to be subjected to information search in the comment information to be identified;
when the recognized keyword includes a plurality of consecutive keywords, the plurality of consecutive keywords are determined as one target keyword.
As can be seen from the above, in the solution provided in this embodiment, a plurality of recognized continuous keywords are determined as one target keyword, and then information search is performed. Because the meaning represented by each keyword may be different and the meaning represented by one keyword in different contexts may also be different, in the comment information to be identified, a plurality of continuous keywords often have strong relevance, and the plurality of continuous keywords are regarded as a whole which is more in line with the context of the comment information to be identified, so that the plurality of continuous keywords are regarded as one target keyword, which is beneficial to searching the content to be searched.
Corresponding to the information display method, the embodiment of the invention also provides an information display device.
In an embodiment of the present invention, referring to fig. 7, a schematic structural diagram of a first information displaying apparatus is provided, which is applied to a client, and the apparatus includes:
the information receiving module 701 is configured to receive comment information to be displayed pushed by a server, a target keyword in the comment information to be displayed, and description information of a search result for the target keyword, which is fed back by a network device, where the search result is: the target keyword is used as a search keyword to search information;
an information display module 702, configured to display the comment information to be displayed in a quick access manner, where in the quick access manner: and determining an access mode aiming at the target keyword based on the description information.
As can be seen from the above, in the scheme provided by the embodiment of the invention, after receiving the comment information to be displayed, the target keyword and the description information in the comment information to be displayed, which are sent by the server, the client displays the comment information to be displayed in a quick access manner. In this case, since the quick access manner is an access manner for the target keyword determined based on the description information, when the user views the comment information to be identified displayed by the client, if there is a question about the target keyword, the search result corresponding to the target keyword can be directly obtained in the client by clicking the target keyword without switching to other clients. Therefore, when the client side applies the scheme provided by the embodiment to display information, the convenience of the user participating in discussion can be improved.
In an embodiment of the present invention, the description information includes: an access link to the search result or content of the search result.
In an embodiment of the present invention, the comment information to be displayed is: comment information for live content in a live broadcast room.
In an embodiment of the present invention, referring to fig. 8, a schematic structural diagram of a second information displaying apparatus is provided, where the apparatus further includes:
a result obtaining module 703, configured to, when the description information includes an access link of the search result, send the access link to the network device after detecting that the user clicks the target keyword, and obtain the search result fed back by the network device;
and a result displaying module 704, configured to display the search result in a comment displaying area of the user interface.
Therefore, in the scheme provided by the embodiment of the invention, the comment display area of the user interface can display the search result after the user clicks the target keyword. Therefore, the information display scheme provided by the embodiment can display not only the comment information, but also the search result obtained after clicking the target keyword, and because the obtained search result is displayed in the comment display area of the user interface, other contents of the client can still be displayed in other areas except the comment display area, so that the user can obtain the search result without switching to other clients, and the convenience of the user participating in the comment is improved.
An embodiment of the present invention further provides an electronic device, which can be used as a server, as shown in fig. 9, and includes a processor 901, a communication interface 902, a memory 903 and a communication bus 904, where the processor 901, the communication interface 902, and the memory 903 complete mutual communication through the communication bus 904,
a memory 903 for storing computer programs;
the processor 901 is configured to implement the following steps when executing the program stored in the memory 903:
obtaining comment information to be identified;
identifying target keywords to be subjected to information search in the comment information to be identified;
obtaining description information of a search result fed back by the network equipment and aiming at the target keyword, wherein the search result is as follows: the target keyword is used as a search keyword to search information;
when the comment information to be identified is pushed to a client, the target keyword and the description information are pushed to the client, so that the client can display the comment information to be identified in a quick access mode, wherein in the quick access mode: and determining an access mode aiming at the target keyword based on the description information.
The processor 901 executes the program stored in the memory 903 to implement other schemes for pushing information, which are the same as those mentioned in the foregoing method embodiments and are not described herein again.
The embodiment of the present invention further provides another electronic device, which can be used as a client, as shown in fig. 10, and includes a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, where the processor 1001, the communication interface 1002 and the memory 1003 complete mutual communication through the communication bus 1004,
a memory 1003 for storing a computer program;
the processor 1001 is configured to implement the following steps when executing the program stored in the memory 1003:
receiving comment information to be displayed pushed by a server, a target keyword in the comment information to be displayed and description information of a search result for the target keyword, fed back by network equipment, wherein the search result is as follows: the target keyword is used as a search keyword to search information;
displaying the comment information to be displayed in a quick access mode, wherein in the quick access mode: and determining an access mode aiming at the target keyword based on the description information.
The other schemes for implementing information display by the processor 1001 executing the program stored in the memory 1003 are the same as those mentioned in the foregoing method embodiments, and are not described herein again.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the above information pushing or information displaying methods.
In another embodiment of the present invention, a computer program product containing instructions is further provided, which when run on a computer, causes the computer to execute any one of the information pushing or information displaying methods in the foregoing embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, the electronic device, the computer-readable storage medium, and the computer program product embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to them, reference may be made to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. An information pushing method is applied to a server side, and the method comprises the following steps:
obtaining comment information to be identified;
identifying target keywords to be subjected to information search in the comment information to be identified;
obtaining description information of a search result fed back by the network equipment and aiming at the target keyword, wherein the search result is as follows: the target keyword is used as a search keyword to search information;
when the comment information to be identified is pushed to a client, the target keyword and the description information are pushed to the client, so that the client can display the comment information to be identified in a quick access mode, wherein in the quick access mode: and determining an access mode aiming at the target keyword based on the description information.
2. The method of claim 1, wherein the description information comprises: an access link to the search result or content of the search result.
3. The method of claim 2,
under the condition that the description information comprises the access link of the search result, in the quick access mode: the access link is set as a hyperlink associated with the target keyword;
in the case that the description information includes the content of the search result, in the shortcut access mode: the content of the search result is set as additional presentation information of the target keyword.
4. The method according to any one of claims 1 to 3, wherein the identifying a target keyword to be subjected to an information search in the comment information to be identified comprises:
and identifying a target keyword in the comment information to be identified based on a preset keyword table, wherein the target keyword is recorded in the preset keyword table.
5. An information display method is applied to a client, and the method comprises the following steps:
receiving comment information to be displayed pushed by a server, a target keyword in the comment information to be displayed and description information of a search result for the target keyword, fed back by network equipment, wherein the search result is as follows: the target keyword is used as a search keyword to search information;
displaying the comment information to be displayed in a quick access mode, wherein in the quick access mode: and determining an access mode aiming at the target keyword based on the description information.
6. An information pushing apparatus, applied to a server, the apparatus comprising:
the comment information obtaining module is used for obtaining comment information to be identified;
the target identification module is used for identifying a target keyword to be subjected to information search in the comment information to be identified;
the description information obtaining module is configured to obtain description information of a search result for the target keyword, where the description information is fed back by the network device, and the search result is: the target keyword is used as a search keyword to search information;
the information pushing module is used for pushing the target keyword and the description information to a client when the comment information to be identified is pushed to the client, so that the client displays the comment information to be identified in a quick access mode, wherein in the quick access mode: and determining an access mode aiming at the target keyword based on the description information.
7. An information presentation device, applied to a client, the device comprising:
the information receiving module is used for receiving comment information to be displayed pushed by a server, a target keyword in the comment information to be displayed and description information of a search result for the target keyword, which is fed back by network equipment, wherein the search result is: the target keyword is used as a search keyword to search information;
the information display module is used for displaying the comment information to be displayed in a quick access mode, wherein in the quick access mode: and determining an access mode aiming at the target keyword based on the description information.
8. An electronic device is used as a server and is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are used for completing mutual communication through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 4 when executing a program stored in the memory.
9. An electronic device is taken as a client and is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of claim 5 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1-4 or 5.
CN202110602769.0A 2021-05-31 2021-05-31 Information pushing and displaying method and device Pending CN113360755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110602769.0A CN113360755A (en) 2021-05-31 2021-05-31 Information pushing and displaying method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110602769.0A CN113360755A (en) 2021-05-31 2021-05-31 Information pushing and displaying method and device

Publications (1)

Publication Number Publication Date
CN113360755A true CN113360755A (en) 2021-09-07

Family

ID=77530709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110602769.0A Pending CN113360755A (en) 2021-05-31 2021-05-31 Information pushing and displaying method and device

Country Status (1)

Country Link
CN (1) CN113360755A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402519A (en) * 2010-09-09 2012-04-04 腾讯科技(深圳)有限公司 Search method, search result display method, search server and client
CN106294479A (en) * 2015-06-05 2017-01-04 阿里巴巴集团控股有限公司 A kind of information recommendation method and device
CN106874492A (en) * 2017-02-23 2017-06-20 北京京东尚科信息技术有限公司 Searching method and device
CN111259271A (en) * 2018-12-03 2020-06-09 阿里巴巴集团控股有限公司 Comment information display method and device, electronic equipment and computer readable medium
CN112287206A (en) * 2019-07-24 2021-01-29 北京字节跳动网络技术有限公司 Information processing method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402519A (en) * 2010-09-09 2012-04-04 腾讯科技(深圳)有限公司 Search method, search result display method, search server and client
CN106294479A (en) * 2015-06-05 2017-01-04 阿里巴巴集团控股有限公司 A kind of information recommendation method and device
CN106874492A (en) * 2017-02-23 2017-06-20 北京京东尚科信息技术有限公司 Searching method and device
CN111259271A (en) * 2018-12-03 2020-06-09 阿里巴巴集团控股有限公司 Comment information display method and device, electronic equipment and computer readable medium
CN112287206A (en) * 2019-07-24 2021-01-29 北京字节跳动网络技术有限公司 Information processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US10789304B2 (en) Method and system for measuring user engagement with content items
US11474926B2 (en) Method and system for measuring user engagement with content items
US8745067B2 (en) Presenting comments from various sources
US9262459B2 (en) Indexing application pages of native applications
US7974970B2 (en) Detection of undesirable web pages
US8370348B1 (en) Magazine edition recommendations
RU2608668C2 (en) System and method for control and organisation of web-browser cache for offline browsing
CN110209827B (en) Search method, search device, computer-readable storage medium, and computer device
US9304979B2 (en) Authorized syndicated descriptions of linked web content displayed with links in user-generated content
US9418128B2 (en) Linking documents with entities, actions and applications
US8745081B2 (en) Personalization of news articles based on news sources
CN109451333B (en) Bullet screen display method, device, terminal and system
US9594835B2 (en) Lightning search aggregate
US20230047212A1 (en) Assistive browsing using context
US20150278380A1 (en) Direct Search Method and Apparatus
US9367638B2 (en) Surfacing actions from social data
CN107748772B (en) Trademark identification method and device
WO2014059851A1 (en) Search server and search method
CN112836126A (en) Recommendation method and device based on knowledge graph, electronic equipment and storage medium
KR20190109628A (en) Method for providing personalized article contents and apparatus for the same
US9152701B2 (en) Query classification
CN113360755A (en) Information pushing and displaying method and device
US11347929B1 (en) Method and system for linking product page on social media
US20120284327A1 (en) Apparatus and methods for providing real time advice online
US20170193053A1 (en) Searching Based On Application Usage

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination