CN108491502B - News tracking method, terminal, server and storage medium - Google Patents

News tracking method, terminal, server and storage medium Download PDF

Info

Publication number
CN108491502B
CN108491502B CN201810233050.2A CN201810233050A CN108491502B CN 108491502 B CN108491502 B CN 108491502B CN 201810233050 A CN201810233050 A CN 201810233050A CN 108491502 B CN108491502 B CN 108491502B
Authority
CN
China
Prior art keywords
news
target
entity
label
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810233050.2A
Other languages
Chinese (zh)
Other versions
CN108491502A (en
Inventor
李�浩
吴伊竹
黄迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810233050.2A priority Critical patent/CN108491502B/en
Publication of CN108491502A publication Critical patent/CN108491502A/en
Application granted granted Critical
Publication of CN108491502B publication Critical patent/CN108491502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a news tracking method, which comprises the following steps: responding to selection operation of a target entity in a news knowledge graph, wherein the news knowledge graph comprises a corresponding relation between the entity and news, the entity is a participant object in the news, the target entity is one of the entities, sending a news request message aiming at the target entity to a server, and the news request message of the target entity is used for indicating the server to search the news related to the target entity, receiving the news related to the target entity and sent by the server, and displaying the news related to the target entity. The scheme provided by the embodiment of the application can conveniently, quickly and comprehensively find interesting news.

Description

News tracking method, terminal, server and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a news tracking method, a terminal, a server, and a computer-readable storage medium.
Background
Today, with the development of networks, the demand for news reading has long shifted from traditional paper media to network media. News released on large-scale network media portals such as Tencent, network exchange and New wave have the characteristics of large release total amount, high update frequency, more reading users, wide reader distribution and the like.
The news pages on the existing portal websites directly display a plurality of news, so that the content displayed on the news pages is simple and messy. For example, a user only needs to know about the news related to the interested company or person, and needs to search and browse one by one to find the news sporadically. The efficiency is not low, and the searched content is not comprehensive.
Disclosure of Invention
In order to solve the problem that a user cannot quickly and comprehensively search interesting news, the embodiment of the application provides a news tracking method, news related to an entity can be searched in a news knowledge graph mode, the user can conveniently and quickly find the interesting news, and the searched news is comprehensive in content. The embodiment of the application also provides a corresponding terminal, a server and a computer readable storage medium.
An aspect of the present embodiment provides a method for tracking news, including:
responding to a selection operation of a target entity in a news knowledge graph, wherein the news knowledge graph comprises a corresponding relation between an entity and news, the entity is a participant object in the news, and the target entity is one of the entities;
sending a news request message aiming at the target entity to a server, wherein the news request message of the target entity is used for indicating the server to search news associated with the target entity;
receiving news which is sent by the server and is associated with the target entity;
and displaying the news related to the target entity.
Another aspect of the embodiments of the present application provides a method for tracking news, including:
receiving a news request message which is sent by a terminal and aims at a target entity in a news knowledge graph, wherein the news knowledge graph comprises a corresponding relation between the entity and news, the entity is a participant object in the news, and the target entity is one of the entities;
searching news related to the target entity according to the news request message of the target entity;
and sending the news associated with the target entity to the terminal, wherein the news associated with the target entity is used for displaying at the terminal.
Another aspect of the embodiments of the present application provides a terminal, including:
the system comprises an input unit, a selection unit and a display unit, wherein the input unit is used for responding to selection operation of a target entity in a news knowledge graph, the news knowledge graph comprises a corresponding relation between an entity and news, the entity is a participant object in the news, and the target entity is one of the entities;
a sending unit, configured to send, to a server, a news request message for selecting the target entity in response to the input of the input unit, where the news request message of the target entity is used to instruct the server to search for news associated with the target entity;
a receiving unit, configured to receive news associated with the target entity sent by the server;
and the display unit is used for displaying the news received by the receiving unit and associated with the target entity.
With reference to the terminal, in a first possible implementation manner:
and the display unit is also used for highlighting the target entity.
With reference to the terminal, in a second possible implementation manner, the method may include:
the entities are located at a level in the news knowledge graph below a domain to which news belongs, the target entities are located at a level below a target domain, and the target domain is the domain to which news associated with the target entities belongs.
With reference to the terminal, the first possible implementation manner, or the second possible implementation manner, in a third possible implementation manner:
the input unit is further configured to respond to a selection operation of the target tag associated with the target entity when a next hierarchy associated with the entity in the news knowledge base is a category tag of news, where the target tag is one of the category tags associated with the target entity, and the target tag is used for the server to search for the news associated with the target tag.
With reference to the third possible implementation manner of the terminal, in a fourth possible implementation manner:
the sending unit is further configured to send a news request message for the target tag to the server, where the news request message for the target tag is used to instruct the server to search news associated with the target tag among news associated with the target entity;
the receiving unit is further configured to receive the news associated with the target tag sent by the server;
the display unit is further used for displaying the news related to the target tag.
With reference to the fourth possible implementation manner of the terminal, in a fifth possible implementation manner:
the display unit is further configured to highlight the target entity and the target tag, and a position order of the target entity and the target tag when displayed corresponds to a hierarchical relationship between the target entity and the target tag, where the hierarchical relationship between the target entity and the target tag is a hierarchical relationship between the target entity and the target tag in the news knowledge graph.
With reference to the fourth possible implementation manner of the terminal, in a sixth possible implementation manner:
the input unit is further configured to respond to a selection operation of a target keyword associated with the target tag when a next hierarchy associated with the classification tag in the news knowledge graph is a keyword of news, where the target keyword is one of the keywords associated with the target tag, and the target keyword is used for the server to search for the news associated with the target keyword.
With reference to the sixth possible implementation manner of the terminal, in a seventh possible implementation manner:
the sending unit is further configured to send a news request message for the target keyword to the server, where the news request message for the target keyword is used to instruct the server to search news associated with the target keyword from the news associated with the target tag;
the receiving unit is further configured to receive news related to the target keyword sent by the server;
the display unit is further used for displaying news related to the target keywords.
With reference to the seventh possible implementation manner of the terminal, in an eighth possible implementation manner:
the display unit is further configured to prominently display the target entity, the target tag, and the target keyword, and a position sequence of the target entity, the target tag, and the target keyword when displayed corresponds to a hierarchical relationship among the target entity, the target tag, and the target keyword in the news knowledge graph.
In another aspect, an embodiment of the present application provides a server, including:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a news request message which is sent by a terminal and aims at a target entity in a news knowledge graph, the news knowledge graph comprises a corresponding relation between the entity and news, the entity is a participant object in the news, and the target entity is one of the entities;
the processing unit is used for searching news related to the target entity according to the news request message of the target entity received by the receiving unit;
and the sending unit is used for sending the news related to the target entity, which is found by the processing unit, to the terminal, and the news related to the target entity is used for displaying at the terminal.
In combination with the above server, in a first possible implementation,
the receiving unit is further configured to receive a news request message for a target tag sent by the terminal when a next hierarchy associated with the entity in the news knowledge base is a classification tag of news, where the target tag is one of the classification tags associated with the target entity, and the target tag is used to search for the news associated with the target tag.
In combination with the first possible implementation manner of the server, in a second possible implementation manner,
the processing unit is further configured to search news associated with the target tag from the news associated with the target entity according to the news request message of the target tag;
the sending unit is further configured to send the news associated with the target tag to the terminal, where the news associated with the target tag is used for displaying on the terminal.
In combination with the first possible implementation manner of the server or the second possible implementation manner of the server, in a third possible implementation manner,
the receiving unit is further configured to receive a news request message for a target keyword sent by a terminal, where the next hierarchy associated with the classification tag in the news knowledge graph is the keyword of news, and the target keyword is one of the keywords associated with the target tag, and the target keyword is used for the server to search the news associated with the target keyword.
In combination with the third possible implementation manner of the server, in a fourth possible implementation manner,
the processing unit is further configured to search news associated with the target keyword from the news associated with the target tag according to the news request message of the target keyword;
the sending unit is further configured to send the news associated with the target keyword to the terminal, where the news associated with the target keyword is used for displaying on the terminal.
With reference to the server and the first or second possible implementation manner, in a fifth possible implementation manner,
the processing unit is further to:
acquiring new release news;
extracting a core entity of the new released news from the new released news, wherein the core entity is an entity of core description in the new released news;
if the core entity exists in the field to which the new release news belongs, associating the new release news with the existing entity;
and if the core entity does not exist in the field to which the newly released news belongs, adding the core entity into the news knowledge graph, and associating the newly released news with the newly added core entity.
In combination with the fifth possible implementation manner of the server, in a sixth possible implementation manner,
the processing unit is further to:
extracting a plurality of alternative keywords from the newly released news according to the core entity;
determining keywords meeting conditions from the multiple candidate keywords according to the probability of common occurrence of the core entity and each candidate keyword in the multiple candidate keywords in historical news;
determining a label corresponding to the keyword meeting the conditions according to a mapping table of the keyword and the label configured in advance;
if the label corresponding to the key word meeting the condition does not exist under the core entity of the news knowledge graph, adding the label corresponding to the key word meeting the condition under the core entity, and associating the newly released news with the label corresponding to the key word meeting the condition;
and if the label corresponding to the key word meeting the condition exists in the core entity of the news knowledge graph, associating the newly released news with the label corresponding to the key word meeting the condition.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes: the news tracking system comprises an input device, a transceiver, a display, a processor and a memory, wherein the memory stores instructions of the news tracking of the terminal-side method, and the processor is used for controlling the input device, the transceiver and the display to perform corresponding operations;
the input device is used for the selection operation of the terminal side method;
the transceiver is used for executing the steps of message transmission and news reception of the method at the terminal side:
the display is used for showing the target entity and the news of the terminal side method.
In another aspect, an embodiment of the present application provides a server, including: an input/output (I/O) interface, a processor, and a memory, wherein the memory stores instructions for news tracking according to the server-side method;
the I/O interface is used for receiving a news request message sent by a terminal;
the processor is configured to execute the instructions for news tracking stored in the memory, and to perform the steps of the method for news tracking described above in the server-side method.
Yet another aspect of the embodiments of the present application provides a computer-readable storage medium, which stores instructions for news tracking, and when the instructions are executed on a computer, the instructions cause the computer to perform the method described above on the terminal side.
Yet another aspect of the embodiments of the present application provides a computer-readable storage medium, which stores instructions for news tracking, and when the instructions are executed on a computer, the instructions cause the computer to execute the method described above on the server side.
A further aspect of the application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method as described in the terminal side or the server above.
According to the embodiment of the application, news related to one entity is searched in a news knowledge graph mode, a user can conveniently and quickly find the news interested by himself, and the searched news content is comprehensive.
Drawings
FIG. 1 is a schematic diagram of an embodiment of a news tracking system in an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface of a news application in an embodiment of the present application;
FIG. 3 is another schematic diagram of a news interface in an embodiment of the present application;
FIG. 4 is a schematic diagram of an embodiment of a method for news tracking in an embodiment of the present application;
FIG. 5 is a schematic diagram of an embodiment of a method for news tracking in an embodiment of the present application;
FIG. 6 is another schematic diagram of a news interface in an embodiment of the present application;
FIG. 7 is another schematic diagram of a news interface in an embodiment of the present application;
FIG. 8 is another schematic diagram of a news interface in an embodiment of the present application;
FIG. 9 is a schematic diagram of another embodiment of a news tracking method in the embodiment of the present application;
fig. 10 is a schematic diagram of an embodiment of a terminal in the embodiment of the present application;
FIG. 11 is a schematic diagram of an embodiment of a server in an embodiment of the present application;
fig. 12 is a schematic diagram of another embodiment of the terminal in the embodiment of the present application;
fig. 13 is a schematic diagram of another embodiment of the server in the embodiment of the present application.
Detailed Description
Embodiments of the present application will now be described with reference to the accompanying drawings, and it is to be understood that the described embodiments are merely illustrative of some, but not all, embodiments of the present application. As can be known to those skilled in the art, with the development of technology and the emergence of new scenarios, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
The embodiment of the application provides a news tracking method, news related to an entity can be searched in a news knowledge graph mode, a user can conveniently and quickly find interesting news, and the searched news content is comprehensive. The embodiment of the application also provides a corresponding terminal, a server and a computer readable storage medium. The following are detailed below.
Fig. 1 is a schematic diagram of an embodiment of a news tracking system in the embodiment of the present application.
As shown in fig. 1, the news tracking system in the embodiment of the present application includes a terminal 10, a network 20, and a server 30, wherein the terminal 10 and the server 30 are communicatively connected through the network 20.
Wherein, the terminal 10 may be installed with an Application (APP) related to news, and when the user uses the APP, the main page of the news will be shown on the page of the terminal 10, and the main page may show a news knowledge graph as shown in fig. 2. The first level on the news map may be the domain, and science, entertainment, finance, international, military, social, sports, and political as shown in fig. 2 all belong to the domain level. Sub-domains, such as companies and people, may also be included under the domain. One level under a sub-domain may be an entity, which is the next level of the domain if the sub-domain is not included under the domain, and which is the next level of the sub-domain if the sub-domain is included under the domain. The entity may be a company name, or a person name. The company names are, for example, company 1, companies 2, 3, company 4, and company 5 listed in fig. 2. Where companies 1 to 5 are all concrete companies, here only expressed in the manner of companies 1 to 5, for example: company 5 may be in the hundreds of degrees. There are, of course, many companies in the scientific and technical field, and fig. 2 is only described by way of example, and should not be construed as limiting the companies. The person names may be, for example, person 1, person 2, etc., and both person 1 and person 2 are also specific names, for example: person 1 may be couk and person 2 may be bezos. Also, the figures herein are exemplary only and should not be construed as limiting. Of course, the news knowledge graph shown in fig. 2 is also only one presentation form under the concept of the news knowledge graph of the present application, and other presentation forms based on the concept of the domain-entity correspondence hierarchy in the embodiments of the present application are within the scope of the present application.
When the user uses the APP, the user can select in the field through the news knowledge graph shown in fig. 2, and if the user selects the technology, the terminal can display related entities in the technology field. If the user wants to browse the related news under the entity of "hundredths", the "hundredths" under the scene is the target entity. After the user clicks the target entity of "hundredths", the terminal 10 sends a news request message for the target entity of "hundredths" to the server 30 through the network 20, the server 30 searches the news database for the news of "hundredths", and then the server 30 sends the found news to the terminal 10. Typically the server will look for the latest up-to-date message or for a number of news messages to send to the terminal 10. The terminal 10 receives the news and shows the page shown in fig. 3. In the page shown in fig. 3, the target entity may also be highlighted, for example, the target entity is highlighted in "hundredths", and the highlighting may be performed in various ways, such as: the presentation may be in the position of a title, may be in a font size larger than the news text, may be in a font different from the news text, or the like. The target entity is set top and shown enlarged in the example of fig. 3. News related to "hundredths" is presented under the target entity.
In addition, it should be noted that: the fields, sub-fields, entities, news under the entities, corresponding news listings in fig. 2 and 3, which are illustrated by arrows, are all illustrations made for clarity of explanation, and neither of these arrows nor illustrative illustrations are in actual product use.
The process of the terminal interacting with the server for news tracking described in fig. 1 can be understood with reference to the method embodiment of news tracking shown in fig. 4.
As shown in fig. 4, an embodiment of a method for news tracking provided by the embodiment of the present application includes:
101. and the terminal responds to the selection operation of the target entity in the news knowledge graph.
The news knowledge graph comprises a corresponding relation between an entity and news, wherein the entity is a participant object in the news, and the target entity is one of the entities.
102. And the terminal sends a news request message aiming at the target entity to the server.
And the news request message of the target entity is used for indicating the server to search news associated with the target entity.
103. And the server receives news which is sent by the server and is associated with the target entity.
104. And the server sends news related to the target entity to the terminal.
105. And after receiving the news related to the target entity and sent by the server, the terminal displays the news related to the target entity.
According to the embodiment of the application, news related to one entity is searched in a news knowledge graph mode, a user can conveniently and quickly find the news interested by himself, and the searched news content is comprehensive.
Optionally, on the basis of the above embodiment, when the news associated with the target entity is presented, the target entity may be also highlighted.
The manner in which the target entity is highlighted may be understood with reference to the highlighting explained in the previous section of fig. 3.
Optionally, on the basis of the above embodiment, the entities are located at a level below a domain to which news belongs in the news knowledge-graph, and the target entities are located at a level below a target domain to which news associated with the target entities belongs.
The explanation of domain-entity, or domain-sub-domain-entity, can be understood with reference to FIG. 1 in part with respect to the hierarchy of entities in a news knowledge-graph below the domain to which news pertains.
Optionally, on the basis of the foregoing embodiment, as shown in fig. 5, in another embodiment of the method for tracking news provided in the embodiment of the present application, the next level in the news knowledge-graph associated with the entity is a classification label of news;
201. and the terminal responds to the selection operation of the target label associated with the target entity.
The target label is one of the classification labels associated with the target entity, and the target label is used for the server to search news associated with the target label.
As for the category labels, and the relationship between the category labels and the entities, it can be understood by referring to the interface diagram of fig. 6, as shown in fig. 6, the category labels under the target entity of "Baidu" include "dynamic", "buy", "collaborate", "stock price change", "release new product", "repudiation", and "investment", of course, the category labels are not limited to those shown in fig. 6, and the category labels under different entities may be different, and the category labels may be dynamically updated with the change of news.
If the user selects the "invest" tab, the "invest" tab is labeled as the target in the embodiments of the present application.
The user may click on the target label "invest" on the interface shown in fig. 6, or may click on the target label "invest" on the interface shown in fig. 7. The interface shown in fig. 7 is an interface after the user has obtained news by clicking on the target entity. If the user clicks on the interface shown in fig. 2, the interface shown in fig. 7 may be entered, and if the user clicks on the target entity on the interface shown in fig. 6, but does not click on the target tag, the interface shown in fig. 7 may be entered.
202. And the terminal sends a news request message aiming at the target label to the server.
And the news request message of the target tag is used for instructing the server to search news associated with the target tag in the news associated with the target entity.
203. And the server searches news related to the target tag in the news related to the target entity according to the news request message of the target tag.
When the server searches news, the news can be searched not only according to the target entity, but also further according to the target label, so that the found news can be ensured to be more accurate and more accord with the interest of the user.
204. And the server sends the news related to the target label to the terminal.
And the news related to the target tag is used for displaying at the terminal.
205. And after receiving the news related to the target label and sent by the server, the terminal displays the news related to the target label.
Optionally, when the news associated with the target tag is presented, the method may further include:
the target entity and the target label are highlighted, and the position sequence of the target entity and the target label when displayed corresponds to the hierarchical relationship of the target entity and the target label in the news knowledge graph.
As for the interface display after the target tag is introduced, it can be understood with reference to fig. 8, as shown in fig. 8, the target tag of "investment" is added to the original dynamic tracking of the target entity by "hundred degrees", and the manner for adding the target tag of "investment" may be to adjust the position of the target entity and display the target tag behind the target entity. In addition, news under the target label of "investment" can be displayed on the page, because news found through the target entity of "Baidu" (Zhongtong union Baidu) originally also belongs to the "investment" label, the news on the interface of fig. 8 is unchanged, and if the news found through the target entity of "invest" label is different from the news found through the target entity of "Baidu", the news found according to the "invest" label is updated. In addition, the tags may also be hierarchical, as shown in FIG. 8, with lower level tags under the current "investment" tag.
In addition, it should be noted that: the fields, sub-fields, entities, tags, news under the entities, corresponding news lists, post-tag click effects, tags under the current tags, and updating the lists according to the clicked tags, which are explained by arrows in fig. 6, 7, and 8, are all descriptions made for clarity of explanation, and these arrows and explanatory descriptions are not available in actual product use.
According to the embodiment of the application, the news can be searched not only according to the target entity but also further according to the target label, so that the found news can be ensured to be more accurate and more accord with the interest of a user.
Optionally, on the basis of the foregoing embodiment, in another embodiment of the method for tracking news provided in the embodiment of the present application, a next hierarchy associated with the classification tag in the news knowledge base is a keyword of news, and the method may further include, at a terminal side:
responding to the selection operation of a target keyword associated with the target label, wherein the target keyword is one of the keywords associated with the target label, and the target keyword is used for the server to search news associated with the target keyword;
sending a news request message aiming at the target keyword to the server, wherein the news request message of the target keyword is used for indicating the server to search news associated with the target keyword in the news associated with the target label;
receiving news related to the target keywords sent by the server;
and displaying news related to the target keywords.
At the server side, the method may further comprise:
receiving a news request message aiming at a target keyword sent by the terminal, wherein the target keyword is one of keywords associated with the target label, and the target keyword is used for the server to search news associated with the target keyword;
according to the news request message of the target keyword, searching news related to the target keyword in the news related to the target label;
and sending the news associated with the target keyword to the terminal, wherein the news associated with the target keyword is used for displaying at the terminal.
In the embodiment of the application, the keywords can be set under the label, and if the user clicks the keywords again, more precise searching can be realized. The click and display modes of the keywords can be understood by referring to the click and display modes of the labels shown in fig. 6 to 8, and are not repeated herein.
In addition, the method for tracking news provided by the embodiment of the application can also dynamically update the entity in the news knowledge graph according to newly published news, and the scheme for updating the entity can include:
acquiring new release news;
extracting a core entity of the new released news from the new released news, wherein the core entity is an entity of core description in the new released news;
if the core entity exists in the field to which the new release news belongs, associating the new release news with the existing entity;
and if the core entity does not exist in the field to which the newly released news belongs, adding the core entity into the news knowledge graph, and associating the newly released news with the newly added core entity.
In the embodiment of the application, each time a new release news is received on the server, the new release news is analyzed, the entities in the new release news are marked, and the entities described with the core in the new release news are extracted from the new release news as core entities. And then, searching whether the core entity exists in the field to which the new released news belongs, if so, only associating the new released news with the existing entity, and if not, adding the core entity to the field. If the entity is updated, the interface display at the terminal side can be updated, and one more entity is added to the display interface. When there are many entities, a high-frequency entity, that is, an entity which appears frequently, or a new hot entity, that is, an entity which appears recently but appears frequently in a short time, is selected from a plurality of entities and updated to the terminal interface.
Optionally, on the basis of the foregoing embodiment, in the scheme for news tracking provided in the embodiment of the present application, the tag may be dynamically updated, and the scheme for dynamically updating the tag may include:
extracting a plurality of alternative keywords from the newly released news according to the core entity;
determining keywords meeting conditions from the multiple candidate keywords according to the probability of common occurrence of the core entity and each candidate keyword in the multiple candidate keywords in historical news;
determining a label corresponding to the keyword meeting the conditions according to a mapping table of the keyword and the label configured in advance;
if the label corresponding to the key word meeting the condition does not exist under the core entity of the news knowledge graph, adding the label corresponding to the key word meeting the condition under the core entity, and associating the newly released news with the label corresponding to the key word meeting the condition;
and if the label corresponding to the key word meeting the condition exists in the core entity of the news knowledge graph, associating the newly released news with the label corresponding to the key word meeting the condition.
In the embodiment of the application, after the core entity is determined, a plurality of alternative keywords can be extracted from newly released news, and qualified keywords are determined according to the probability of the common occurrence of the core entity and each alternative keyword in a large amount of historical news data, that is, the alternative keywords with low probability score and no information content in the plurality of alternative keywords are deleted, and the remaining keywords are qualified.
The mapping relation between the key words and the labels can be configured in advance, so that the key words can be used as connection, the corresponding relation between the entity and the labels is established, finally, the mapping relation between the entity and the labels and the key words and news is obtained, the mapping relation can be updated into a news knowledge graph, and then when the news knowledge graph is used, a user can click step by step to obtain news to be read.
The process of establishing a mapping between entities and tags in a news knowledge-graph as described in the above embodiments can also be understood with reference to the process of fig. 9.
As shown in fig. 9, the process of establishing a mapping relationship between an entity and a tag in a news knowledge-graph according to the embodiment of the present application may include:
301. a domain knowledge map.
The domain knowledge graph is a knowledge graph corresponding to a domain under a news knowledge graph.
302. A news document is obtained.
303. Entities in news documents are labeled.
In the embodiment of the application, an entity chain technology can be used for labeling the entities in the document. The process of entity chain technical labeling can be to analyze the document and find out the objects related to the participants in the news document such as company name, character name, etc.
304. And excavating the core entity.
And mining and analyzing the entity of the core description of the news document, wherein the entity of the core description of the news document is the core entity.
305. And extracting keywords.
After determining the core entities, keywords are extracted around the core entities, such as in the news in fig. 6 to 8: after the core entity is determined to be ' Baidu ' or ' Zhongtong ', the keywords which can be extracted include ' Xiao Ge express ', ' brush face ', real name authentication ' and the like.
306. And calculating the co-occurrence degree of the entity and the keyword.
The co-occurrence calculation is that the probability of co-occurrence of the entity and the keyword is calculated through historical data.
Determining keywords meeting the conditions according to the probability of the common occurrence of the core entity and each alternative keyword in a large amount of historical news data, namely deleting the alternative keywords with low probability scores and no information content in the plurality of alternative keywords, and finally remaining the keywords meeting the conditions.
For example: if the probability score of the co-occurrence of the Baidu and the real-name authentication is the highest, the real-name authentication can be selected as a keyword meeting the condition.
307. Keyword-tag mapping table.
The mapping table may be preconfigured.
For example: the mapping table contains the mapping relation of the keyword 'real name authentication' -label 'investment'.
308. And outputting the mapping relation of the entity, the label, the key word and the document.
The mapping relation between the entity and the label can be established through the keyword, for example, the mapping relation between the entity 'hundredth' -label 'investment' can be established through the keyword 'real-name authentication'.
Finally, a mapping relation of 'Baidu' -investment '-real name certification' -Zhongtong combined Baidu and 'check and correction' of the express xiaoge by brushing the face can be obtained.
The obtained mapping relation of ' Baidu ' -investment ' -real name authentication ' -Zhongtong combined Baidu ' to the express Xiaoge ' proved body-righting ' by face brushing is updated to the domain knowledge map, so that the whole news knowledge map can be updated.
The news tracking schemes described in the embodiments of the present application can search news related to an entity in a field in a news knowledge map manner, so that a user can conveniently and quickly find the interested news, and the searched news is comprehensive in content.
The above description is about a news tracking method, and the terminal and the server in the embodiment of the present application are described below with reference to the drawings.
As shown in fig. 10, an embodiment of the terminal 40 provided in the embodiment of the present application includes:
an input unit 401, configured to respond to a selection operation on a target entity in a news knowledge graph, where the news knowledge graph includes a corresponding relationship between an entity and news, the entity is a participant object in the news, and the target entity is one of the entities;
a sending unit 402, configured to send, to a server, a news request message for selecting the target entity input by the input unit 40, where the news request message of the target entity is used to instruct the server to search for news associated with the target entity;
a receiving unit 403, configured to receive news sent by the server and associated with the target entity;
a showing unit 404, configured to show that the receiving unit 403 receives the news associated with the target entity.
According to the embodiment of the application, news related to one entity is searched in a news knowledge graph mode, a user can conveniently and quickly find the news interested by himself, and the searched news content is comprehensive.
Alternatively, in another embodiment of the terminal 40 provided in the embodiment of the present application,
the entities are located at a level in the news knowledge graph below a domain to which news belongs, the target entities are located at a level below a target domain, and the target domain is the domain to which news associated with the target entities belongs.
Optionally, in another embodiment of the terminal 40 provided in the embodiment of the present application:
the input unit 401 is further configured to respond to a selection operation of the target tag associated with the target entity when a next hierarchy associated with the entity in the news knowledge graph is a category tag of news, where the target tag is one of the category tags associated with the target entity, and the target tag is used for the server to search for the news associated with the target tag.
Optionally, in another embodiment of the terminal 40 provided in the embodiment of the present application:
the sending unit 402 is further configured to send a news request message for the target tag to the server, where the news request message for the target tag is used to instruct the server to search news associated with the target tag among news associated with the target entity;
the receiving unit 403 is further configured to receive the news associated with the target tag sent by the server;
the displaying unit 404 is further configured to display the news associated with the target tag.
Optionally, in another embodiment of the terminal 40 provided in the embodiment of the present application:
the display unit 404 is further configured to highlight the target entity and the target tag, and the position order of the target entity and the target tag when displayed corresponds to a hierarchical relationship between the target entity and the target tag in the news knowledge graph.
Optionally, in another embodiment of the terminal 40 provided in the embodiment of the present application:
the input unit 401 is further configured to respond to a selection operation of a target keyword associated with the target tag when a next hierarchy associated with the classification tag in the news knowledge graph is a keyword of news, where the target keyword is one of the keywords associated with the target tag, and the target keyword is used for the server to search for the news associated with the target keyword.
Optionally, in another embodiment of the terminal 40 provided in the embodiment of the present application:
the sending unit 402 is further configured to send, to the server, a news request message for the target keyword, where the news request message for the target keyword is used to instruct the server to search news associated with the target keyword from among the news associated with the target tag;
the receiving unit 403 is further configured to receive news related to the target keyword sent by the server;
the display unit 404 is further configured to display news associated with the target keyword.
Optionally, in another embodiment of the terminal 40 provided in the embodiment of the present application:
the display unit 404 is further configured to prominently display the target entity, the target tag, and the target keyword, and a position sequence of the target entity, the target tag, and the target keyword when displayed corresponds to a hierarchical relationship among the target entity, the target tag, and the target keyword in the news knowledge graph.
Referring to fig. 11, an embodiment of the server 50 provided in the embodiment of the present application includes:
a receiving unit 501, configured to receive a news request message sent by a terminal for a target entity in a news knowledge graph, where the news knowledge graph includes a correspondence between an entity and news, the entity is a participant object in the news, and the target entity is one of the entities;
a processing unit 502, configured to search news associated with the target entity according to the news request message of the target entity received by the receiving unit 501;
a sending unit 503, configured to send, to the terminal, the news associated with the target entity found by the processing unit 502, where the news associated with the target entity is used for displaying on the terminal.
The server provided by the embodiment of the application can search corresponding news according to the target entity, so that a user can conveniently and quickly find the news which the user is interested in, and the searched news is comprehensive in content.
Optionally, in another embodiment of the server 50 provided in the embodiment of the present application:
the receiving unit 501 is further configured to receive a news request message for a target tag sent by the terminal when a next hierarchy associated with the entity in the news knowledge base is a classification tag of news, where the target tag is one of the classification tags associated with the target entity, and the target tag is used to search for the news associated with the target tag.
Optionally, in another embodiment of the server 50 provided in the embodiment of the present application:
the processing unit 502 is further configured to search, according to the news request message of the target tag, news associated with the target tag from news associated with the target entity;
the sending unit 503 is further configured to send the news associated with the target tag to the terminal, where the news associated with the target tag is used for displaying on the terminal.
Optionally, in another embodiment of the server 50 provided in the embodiment of the present application:
the receiving unit 501 is further configured to receive a news request message for a target keyword sent by a terminal, where the next hierarchy associated with the classification tag in the news knowledge graph is the keyword of news, and the target keyword is one of the keywords associated with the target tag, and the target keyword is used for the server to search for the news associated with the target keyword.
Optionally, in another embodiment of the server 50 provided in the embodiment of the present application:
the processing unit 502 is further configured to search news associated with the target keyword from the news associated with the target tag according to the news request message of the target keyword;
the sending unit 503 is further configured to send the news associated with the target keyword to the terminal, where the news associated with the target keyword is used for displaying on the terminal.
Optionally, in another embodiment of the server 50 provided in the embodiment of the present application:
the processing unit 502 is further configured to:
acquiring new release news;
extracting a core entity of the new released news from the new released news, wherein the core entity is an entity of core description in the new released news;
if the core entity exists in the field to which the new release news belongs, associating the new release news with the existing entity;
and if the core entity does not exist in the field to which the newly released news belongs, adding the core entity into the news knowledge graph, and associating the newly released news with the newly added core entity.
Alternatively, in another embodiment of the server 50 provided in the embodiment of the present application,
the processing unit 502 is further configured to:
extracting a plurality of alternative keywords from the newly released news according to the core entity;
determining keywords meeting conditions from the multiple candidate keywords according to the probability of common occurrence of the core entity and each candidate keyword in the multiple candidate keywords in historical news;
determining a label corresponding to the keyword meeting the conditions according to a mapping table of the keyword and the label configured in advance;
if the label corresponding to the key word meeting the condition does not exist under the core entity of the news knowledge graph, adding the label corresponding to the key word meeting the condition under the core entity, and associating the newly released news with the label corresponding to the key word meeting the condition;
and if the label corresponding to the key word meeting the condition exists in the core entity of the news knowledge graph, associating the newly released news with the label corresponding to the key word meeting the condition.
The above description of the terminal and the server can be understood by referring to the description of the corresponding parts in the embodiments of fig. 1 to 9, and will not be repeated herein.
The news tracking process is executed by a terminal device, for example, any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), and a vehicle-mounted computer, taking the terminal as a mobile phone:
fig. 12 is a block diagram showing a partial structure of a cellular phone related to a terminal device provided in an embodiment of the present invention. Referring to fig. 12, the cellular phone includes: radio Frequency (RF) circuit 1110, memory 1120, input unit 1130, display unit 1140, sensor 1150, audio circuit 1160, wireless fidelity (WiFi) module 1170, processor 1180, and camera 1190. Those skilled in the art will appreciate that the handset configuration shown in fig. 12 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 12:
the RF circuit 1110 may be used for receiving and transmitting signals during a message transmission or a call, and the RF circuit 1110 is also referred to as a transceiver. Specifically, after receiving downlink information of the base station, the downlink information is processed by the processor 1180; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 1110 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 1120 may be used to store software programs and modules, and the processor 1180 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1120. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1130 may be used to receive a user selection operation and generate a key signal input related to user setting and function control of the cellular phone. For example: responding to the selection operation of the user on the target news event. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. Touch panel 1131, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1131 (for example, operations of the user on or near touch panel 1131 by using any suitable object or accessory such as a finger or a stylus pen), and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1131 may include two parts, namely, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented by using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Display unit 1140 may be used to display news knowledge maps and news. The Display unit 1140 may include a Display panel 1141, and optionally, the Display panel 1141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1131 can cover the display panel 1141, and when the touch panel 1131 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 1180 to determine the type of the touch event, and then the processor 1180 provides a corresponding visual output on the display panel 1141 according to the type of the touch event. Although in fig. 12, the touch panel 1131 and the display panel 1141 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 1160, speakers 1161, and microphone 1162 may provide an audio interface between a user and a cell phone. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signals into electrical signals, which are received by the audio circuit 1160 and converted into audio data, which are then processed by the audio data output processor 1180, and then transmitted to, for example, another cellular phone via the RF circuit 1110, or output to the memory 1120 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the cell phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1170, and provides wireless broadband internet access for the user. Although fig. 12 shows the WiFi module 1170, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1180 is a control center of the mobile phone, and is connected to various parts of the whole mobile phone through various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. Optionally, processor 1180 may include one or more processing units; preferably, the processor 1180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1180.
The camera 1190 is used to collect images.
The mobile phone further includes a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the processor 1180 through a power management system, so that functions of managing charging, discharging, power consumption, and the like are implemented through the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment of the present invention, the processor 1180 included in the terminal further has the following control functions:
responding to a selection operation of a target entity in a news knowledge graph, wherein the news knowledge graph comprises a corresponding relation between an entity and news, the entity is a participant object in the news, and the target entity is one of the entities;
sending a news request message aiming at the target entity to a server, wherein the news request message of the target entity is used for indicating the server to search news associated with the target entity;
receiving the news related to the target entity sent by the server;
and displaying the news related to the target entity.
Optionally, the target entity may also be highlighted.
Optionally, the entities are located at a level below a domain to which news belongs in the news knowledge-graph, and the target entities are located at a level below a target domain to which news associated with the target entities belongs.
Optionally, when the next level associated with the entity in the news knowledge-graph is a classification tag of news, the method may further include:
responding to the selection operation of the target label associated with the target entity, wherein the target label is one of the classification labels associated with the target entity, and the target label is used for the server to search news associated with the target label.
Optionally, it is also possible:
sending a news request message aiming at the target tag to the server, wherein the news request message of the target tag is used for instructing the server to search news associated with the target tag in the news associated with the target entity;
receiving the news related to the target label and sent by the server;
and displaying the news related to the target label.
Optionally, it is also possible:
the target entity and the target label are highlighted, and the position sequence of the target entity and the target label when displayed corresponds to the hierarchical relationship of the target entity and the target label in the news knowledge graph.
Optionally, when the next hierarchy associated with the classification tag in the news knowledge graph is a keyword of news, the next hierarchy may further include:
responding to the selection operation of the target keywords associated with the target label, wherein the target keyword is one of the keywords associated with the target label, and the target keyword is used for the server to search news associated with the target keyword.
Optionally, it is also possible:
sending a news request message aiming at the target keyword to the server, wherein the news request message of the target keyword is used for indicating the server to search news associated with the target keyword in the news associated with the target label;
receiving news related to the target keywords sent by the server;
and displaying news related to the target keywords.
Optionally, it is also possible:
and highlighting the target entity, the target label and the target keyword, wherein the position sequence of the target entity, the target label and the target keyword during display corresponds to the hierarchical relationship of the target entity, the target label and the target keyword in the news knowledge graph.
The above description of the functions of the terminal can also be understood by referring to the relevant contents at the terminal side in the embodiments described in fig. 1 to fig. 9, and will not be repeated herein.
Fig. 13 is a schematic structural diagram of a server 50 according to an embodiment of the present application. The server 50 includes a processor 510, a memory 540, and an input/output (I/O) interface 530, and the memory 540 may include a read-only memory and a random access memory, and provides operating instructions and data to the processor 510. A portion of the memory 540 may also include non-volatile random access memory (NVRAM).
In some embodiments, memory 540 stores elements, executable modules or data structures, or a subset thereof, or an expanded set thereof as follows:
in the embodiment of the present application, in the process of recommending the application data, by calling the operation instruction stored in the memory 540 (the operation instruction may be stored in the operating system),
the I/O interface 530 is configured to receive a news request message, which is sent by a terminal and is addressed to a target entity in a news knowledge graph, where the news knowledge graph includes a correspondence between an entity and news, the entity is a participant object in the news, and the target entity is one of the entities;
processor 510 is configured to search, according to the news request message of the target entity, news associated with the target entity;
I/O interface 530 is configured to send the news associated with the target entity for presentation at the terminal.
According to the embodiment of the application, news related to an entity in one field is searched in a news knowledge graph mode, a user can conveniently and quickly find the interested news, and the searched news is comprehensive in content.
Processor 510 controls the operation of server 50, and processor 510 may also be referred to as a Central Processing Unit (CPU). Memory 540 may include both read-only memory and random-access memory, and provides instructions and data to processor 510. A portion of the memory 540 may also include non-volatile random access memory (NVRAM). The various components of the server 50 in a particular application are coupled together by a bus system 520, wherein the bus system 520 may include a power bus, a control bus, a status signal bus, etc., in addition to a data bus. For clarity of illustration, however, the various buses are designated in the figure as the bus system 520.
The method disclosed in the embodiments of the present application may be applied to the processor 510, or may be implemented by the processor 510. Processor 510 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 510. The processor 510 described above may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 540, and the processor 510 reads the information in the memory 540, and performs the steps of the above method in combination with the hardware thereof.
The I/O interface 530 is further configured to receive a news request message for a target tag sent by the terminal when a next hierarchy associated with the entity in the news knowledge graph is a category tag of news, where the target tag is one of the category tags associated with the target entity, and the target tag is used to search for news associated with the target tag.
Processor 510 is further configured to search news associated with the target tag from news associated with the target entity according to the news request message of the target tag;
the I/O interface 530 is further configured to send the news associated with the target tag to the terminal, where the news associated with the target tag is used for presentation at the terminal.
Optionally, the I/O interface 530 is further configured to receive, when the next hierarchy associated with the category tag in the news knowledge graph is a keyword of news, a news request message for a target keyword sent by the terminal, where the target keyword is one of the keywords associated with the target tag, and the target keyword is used for the server to search for the news associated with the target keyword.
Optionally, the processor 510 is further configured to search news associated with the target keyword from news associated with the target tag according to the news request message of the target keyword;
the I/O interface 530 is further configured to send the news associated with the target keyword to the terminal, where the news associated with the target keyword is used for displaying on the terminal.
Optionally, the processor 510 is further configured to:
acquiring new release news;
extracting a core entity of the new released news from the new released news, wherein the core entity is an entity of core description in the new released news;
if the core entity exists in the field to which the new release news belongs, associating the new release news with the existing entity;
and if the core entity does not exist in the field to which the newly released news belongs, adding the core entity into the news knowledge graph, and associating the newly released news with the newly added core entity.
Optionally, the processor 510 is further configured to:
extracting a plurality of alternative keywords from the newly released news according to the core entity;
determining keywords meeting conditions from the multiple candidate keywords according to the probability of common occurrence of the core entity and each candidate keyword in the multiple candidate keywords in historical news;
determining a label corresponding to the keyword meeting the conditions according to a mapping table of the keyword and the label configured in advance;
if the label corresponding to the key word meeting the condition does not exist under the core entity of the news knowledge graph, adding the label corresponding to the key word meeting the condition under the core entity, and associating the newly released news with the label corresponding to the key word meeting the condition;
and if the label corresponding to the key word meeting the condition exists in the core entity of the news knowledge graph, associating the newly released news with the label corresponding to the key word meeting the condition.
The above description of the functions of the server can also be understood by referring to the relevant contents of the server side in the embodiments described in fig. 1 to fig. 9, and will not be repeated herein.
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 application 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 a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more 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.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: ROM, RAM, magnetic or optical disks, and the like.
The method, the terminal, the server and the computer-readable storage medium for news tracking provided by the embodiments of the present application are introduced in detail, and a specific example is applied to illustrate the principle and the implementation of the present application, and the description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (17)

1. A method of news tracking, comprising:
responding to a selection operation of a target entity in a news knowledge graph, wherein the news knowledge graph comprises a corresponding relation between an entity and news, the entity is a participant object in the news, and the target entity is one of the entities; the next level in the news knowledge-graph associated with the entity is a classification label of news; the classification label is dynamically updated along with the change of the news;
sending a news request message aiming at the target entity to a server, wherein the news request message of the target entity is used for indicating the server to search news associated with the target entity;
receiving the news related to the target entity sent by the server;
displaying news related to the target entity and a classification label related to the target entity;
responding to a selection operation of a target label associated with the target entity, wherein the target label is one of the classification labels associated with the target entity, and the target label is used for the server to search news associated with the target label;
sending a news request message aiming at the target tag to the server, wherein the news request message of the target tag is used for instructing the server to search news associated with the target tag in the news associated with the target entity;
receiving news which is sent by the server and is associated with a target label;
if the news searched by the target entity is different from the news searched by the target label, updating the news displayed on the interface according to the news related to the target label;
and if the news searched by the target entity is the same as the news searched by the target label, not updating the news displayed on the interface.
2. The method of claim 1, further comprising:
highlighting the target entity.
3. The method of claim 1, wherein the entities are located at a level in the news knowledge-graph below a domain to which news belongs, and wherein the target entities are located at a level below a target domain to which news associated with the target entities belongs.
4. The method of claim 1, further comprising:
the target entity and the target label are highlighted, and the position sequence of the target entity and the target label when displayed corresponds to the hierarchical relationship of the target entity and the target label in the news knowledge graph.
5. The method of claim 1, wherein the next level in the news knowledge-graph associated with the category label is a keyword of news, the method further comprising:
responding to the selection operation of the target keywords associated with the target label, wherein the target keyword is one of the keywords associated with the target label, and the target keyword is used for the server to search news associated with the target keyword.
6. The method of claim 5, further comprising:
sending a news request message aiming at the target keyword to the server, wherein the news request message of the target keyword is used for indicating the server to search news associated with the target keyword in the news associated with the target label;
receiving news related to the target keywords sent by the server;
and displaying news related to the target keywords.
7. The method of claim 6, further comprising:
and highlighting the target entity, the target label and the target keyword, wherein the position sequence of the target entity, the target label and the target keyword during display corresponds to the hierarchical relationship of the target entity, the target label and the target keyword in the news knowledge graph.
8. A method of news tracking, comprising:
receiving a news request message which is sent by a terminal and aims at a target entity in a news knowledge graph, wherein the news knowledge graph comprises a corresponding relation between the entity and news, the entity is a participant object in the news, and the target entity is one of the entities; the next level in the news knowledge-graph associated with the entity is a classification label of news; the classification label is dynamically updated along with the change of the news;
searching news related to the target entity according to the news request message of the target entity;
sending the news related to the target entity to the terminal, wherein the news related to the target entity is used for displaying the news related to the target entity and the classification label related to the target entity on the terminal;
receiving a news request message aiming at a target label sent by the terminal, wherein the target label is one of the classification labels associated with the target entity, and the target label is used for searching news associated with the target label;
according to the news request message of the target tag, searching news related to the target tag in the news related to the target entity;
sending news related to a target label to the terminal, so that on the terminal, if the news searched by the target entity is different from the news searched by the target label, the news displayed on an interface is updated according to the news related to the target label; and if the news searched by the target entity is the same as the news searched by the target label, not updating the news displayed on the interface.
9. The method of claim 8, wherein the next level in the news knowledge-graph associated with the category label is a keyword of news, the method further comprising:
and receiving a news request message aiming at a target keyword sent by the terminal, wherein the target keyword is one of the keywords associated with the target label, and the target keyword is used for searching news associated with the target keyword by a server.
10. The method of claim 9, further comprising:
according to the news request message of the target keyword, searching news related to the target keyword in the news related to the target label;
and sending the news associated with the target keyword to the terminal, wherein the news associated with the target keyword is used for displaying at the terminal.
11. The method of claim 8, further comprising:
acquiring new release news;
extracting a core entity of the new released news from the new released news, wherein the core entity is an entity of core description in the new released news;
if the core entity exists in the field to which the new release news belongs, associating the new release news with the existing entity;
and if the core entity does not exist in the field to which the newly released news belongs, adding the core entity into the news knowledge graph, and associating the newly released news with the newly added core entity.
12. The method of claim 11, further comprising:
extracting a plurality of alternative keywords from the newly released news according to the core entity;
determining keywords meeting conditions from the multiple candidate keywords according to the probability of common occurrence of the core entity and each candidate keyword in the multiple candidate keywords in historical news;
determining a label corresponding to the keyword meeting the conditions according to a mapping table of the keyword and the label configured in advance;
if the label corresponding to the key word meeting the condition does not exist under the core entity of the news knowledge graph, adding the label corresponding to the key word meeting the condition under the core entity, and associating the newly released news with the label corresponding to the key word meeting the condition;
and if the label corresponding to the key word meeting the condition exists in the core entity of the news knowledge graph, associating the newly released news with the label corresponding to the key word meeting the condition.
13. A terminal, comprising:
the system comprises an input unit, a selection unit and a display unit, wherein the input unit is used for responding to selection operation of a target entity in a news knowledge graph, the news knowledge graph comprises a corresponding relation between an entity and news, the entity is a participant object in the news, and the target entity is one of the entities;
a sending unit, configured to send, to a server, a news request message for selecting the target entity in response to the input of the input unit, where the news request message of the target entity is used to instruct the server to search for news associated with the target entity;
a receiving unit, configured to receive news associated with the target entity sent by the server;
the display unit is used for displaying the news related to the target entity and the classification label related to the target entity, which are received by the receiving unit;
the input unit is further configured to respond to a selection operation of a target tag associated with a target entity when a next hierarchy associated with the entity in the news knowledge base is a classification tag of news, where the target tag is one of the classification tags associated with the target entity, and the target tag is used for the server to search for the news associated with the target tag; the classification label is dynamically updated along with the change of the news;
the sending unit is further configured to send a news request message for the target tag to the server, where the news request message for the target tag is used to instruct the server to search news associated with the target tag among news associated with the target entity;
the receiving unit is further configured to receive news related to the target tag sent by the server;
the display unit is further used for updating the news displayed on the interface according to the news related to the target label if the news searched by the target entity is different from the news searched by the target label; and if the news searched by the target entity is the same as the news searched by the target label, not updating the news displayed on the interface.
14. A server, comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a news request message which is sent by a terminal and aims at a target entity in a news knowledge graph, the news knowledge graph comprises a corresponding relation between the entity and news, the entity is a participant object in the news, and the target entity is one of the entities;
the processing unit is used for searching news related to the target entity according to the news request message of the target entity received by the receiving unit;
the sending unit is used for sending the news related to the target entity, which is found by the processing unit, to the terminal, and the news related to the target entity is used for displaying the news related to the target entity and the classification label related to the target entity on the terminal;
the receiving unit is further configured to receive a news request message for a target tag sent by the terminal when a next hierarchy associated with the entity in the news knowledge base is a classification tag of news, where the target tag is one of the classification tags associated with the target entity, and the target tag is used to search for the news associated with the target tag; the classification label is dynamically updated along with the change of the news;
the processing unit is further configured to search news associated with the target tag from the news associated with the target entity according to the news request message of the target tag;
the sending unit is further configured to send the news associated with the target tag to the terminal, so that on the terminal, if the news found by the target entity is different from the news found by the target tag, the news displayed on the interface is updated according to the news associated with the target tag; and if the news searched by the target entity is the same as the news searched by the target label, not updating the news displayed on the interface.
15. A terminal, characterized in that the terminal comprises: an input device, a transceiver, a display, a processor, and a memory, the memory having stored therein instructions for the news trace of any one of claims 1-7, the processor for controlling the input device, the transceiver, and the display to perform corresponding operations;
the input device is used for responding to the selection operation of any one of claims 1-7;
the transceiver is adapted to perform the steps of message transmission and news reception as claimed in any one of claims 1-7:
the display is used for showing the target entity and the news in any one of claims 1-7.
16. A server, characterized in that the server comprises: an input/output (I/O) interface, a processor, and a memory having stored therein instructions for the news trace of any one of claims 8-12;
the I/O interface is used for receiving a news request message sent by a terminal;
the processor is configured to execute instructions of the news trace stored in the memory to perform the steps of the method of news trace as claimed in any one of claims 8-12.
17. A computer-readable storage medium having stored therein news tracking instructions, which when run on a computer, cause the computer to perform the method of any one of claims 1-7 or perform the method of any one of claims 8-12.
CN201810233050.2A 2018-03-21 2018-03-21 News tracking method, terminal, server and storage medium Active CN108491502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810233050.2A CN108491502B (en) 2018-03-21 2018-03-21 News tracking method, terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810233050.2A CN108491502B (en) 2018-03-21 2018-03-21 News tracking method, terminal, server and storage medium

Publications (2)

Publication Number Publication Date
CN108491502A CN108491502A (en) 2018-09-04
CN108491502B true CN108491502B (en) 2022-02-08

Family

ID=63318714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810233050.2A Active CN108491502B (en) 2018-03-21 2018-03-21 News tracking method, terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN108491502B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666467A (en) * 2019-03-07 2020-09-15 上海博泰悦臻网络技术服务有限公司 Vehicle, vehicle equipment and vehicle equipment news tracking reporting method thereof
CN110795573B (en) * 2019-10-31 2021-09-28 北京邮电大学 Method and device for predicting geographic position of webpage content
CN113722432B (en) * 2021-08-26 2024-01-09 杭州隆埠科技有限公司 Method and device for associating news with stocks

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462507A (en) * 2014-12-19 2015-03-25 北京奇虎科技有限公司 Method and device for establishing knowledge graph based on movie songs
CN104598556A (en) * 2015-01-04 2015-05-06 百度在线网络技术(北京)有限公司 Search method and search device
CN106095762A (en) * 2016-02-05 2016-11-09 中科鼎富(北京)科技发展有限公司 A kind of news based on ontology model storehouse recommends method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8725739B2 (en) * 2010-11-01 2014-05-13 Evri, Inc. Category-based content recommendation
US20140108561A1 (en) * 2012-10-12 2014-04-17 Gordon Seay Methods for distributing entity news items via a computer system
CN103853822A (en) * 2014-02-24 2014-06-11 北京奇虎科技有限公司 Method and device for pushing news information in browser
CN105550190B (en) * 2015-06-26 2019-03-29 许昌学院 Cross-media retrieval system towards knowledge mapping
CN106776711B (en) * 2016-11-14 2020-04-07 浙江大学 Chinese medical knowledge map construction method based on deep learning

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462507A (en) * 2014-12-19 2015-03-25 北京奇虎科技有限公司 Method and device for establishing knowledge graph based on movie songs
CN104598556A (en) * 2015-01-04 2015-05-06 百度在线网络技术(北京)有限公司 Search method and search device
CN106095762A (en) * 2016-02-05 2016-11-09 中科鼎富(北京)科技发展有限公司 A kind of news based on ontology model storehouse recommends method and device

Also Published As

Publication number Publication date
CN108491502A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
US9241242B2 (en) Information recommendation method and apparatus
WO2016019925A1 (en) Search method, server and client
US20110313859A1 (en) Techniques for advertiser geotargeting using map coordinates
CN106294308B (en) Named entity identification method and device
CN108427761B (en) News event processing method, terminal, server and storage medium
CN106332020B (en) Short message merging method, device and terminal device
CN111125269B (en) Data management method, blood relationship display method and related device
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN104965842B (en) Method and apparatus are recommended in search
CN104112213A (en) Method and apparatus of recommendation information
CN107766548B (en) Information display method and device, mobile terminal and readable storage medium
CN109871524B (en) Chart generation method and device
CN108491502B (en) News tracking method, terminal, server and storage medium
CN110633438B (en) News event processing method, terminal, server and storage medium
CN111078986B (en) Data retrieval method, device and computer readable storage medium
CN113259221A (en) Message display method and device and electronic equipment
CN103577544A (en) Method and device for providing information to be sent
CN107992615B (en) Website recommendation method, server and terminal
JP6915074B2 (en) Message notification method and terminal
CN112749074B (en) Test case recommending method and device
CN106844572B (en) Search result processing method and device for search result processing
CN104965831A (en) Method, server, terminal and system for correcting website addresses
CN104063400A (en) Data search method and data search device
CN112925878B (en) Data processing method and device
CN112445967B (en) Information pushing method and device, readable storage medium and information pushing system

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
GR01 Patent grant
GR01 Patent grant