CN106886594B - Method and device for displaying information - Google Patents

Method and device for displaying information Download PDF

Info

Publication number
CN106886594B
CN106886594B CN201710093236.8A CN201710093236A CN106886594B CN 106886594 B CN106886594 B CN 106886594B CN 201710093236 A CN201710093236 A CN 201710093236A CN 106886594 B CN106886594 B CN 106886594B
Authority
CN
China
Prior art keywords
knowledge
terminal
items
item
attribute
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
CN201710093236.8A
Other languages
Chinese (zh)
Other versions
CN106886594A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710093236.8A priority Critical patent/CN106886594B/en
Publication of CN106886594A publication Critical patent/CN106886594A/en
Application granted granted Critical
Publication of CN106886594B publication Critical patent/CN106886594B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking

Abstract

Methods and apparatus for presenting information are disclosed. One embodiment of the method comprises: extracting a knowledge item set from text information displayed by a terminal; performing word segmentation processing on each knowledge item, and analyzing various knowledge attributes of the knowledge item; storing different knowledge items with the same knowledge attribute in an associated manner; and sending the plurality of the knowledge items stored in the association to the terminal so that the terminal can display the plurality of the knowledge items in the association. The embodiment improves the richness of information display.

Description

Method and device for displaying information
Technical Field
The present application relates to the field of computer technologies, and in particular, to the field of internet technologies, and in particular, to a method and an apparatus for displaying information.
Background
With the development of internet technology, people can obtain information more and more conveniently through a fixed terminal or a mobile terminal. Therefore, a large number of users are used to browse information through the terminal to acquire rich knowledge.
However, since the user typically browses information at leisure time, which results in the learned knowledge being of a fragmented nature, it is difficult for the user to associate the learned different knowledge points. Because the knowledge points acquired by the user cannot form a knowledge system, the user can hardly memorize and deeply understand the knowledge points, and the efficiency of acquiring knowledge through reading by the user is greatly reduced.
Disclosure of Invention
It is an object of the present application to propose an improved method and apparatus for presenting information to solve the technical problems mentioned in the background section above.
In a first aspect, the present application provides a method for presenting information, the method comprising: extracting a knowledge item set from text information displayed by a terminal; performing word segmentation processing on each knowledge item, and analyzing various knowledge attributes of the knowledge item; storing different knowledge items with the same knowledge attribute in an associated manner; and sending the plurality of the knowledge items stored in the association to the terminal so that the terminal can display the plurality of the knowledge items in the association.
In some embodiments, the extracting the knowledge item set from the text information browsed by the user through the terminal includes: acquiring text information which is displayed by a terminal and has the display duration longer than the preset duration as text information to be processed; and extracting a knowledge item set from the text information to be processed.
In some embodiments, the associating and storing any different knowledge items with the same knowledge attribute includes: and storing the knowledge item identifications of different knowledge items with the same knowledge attributes in the storage areas corresponding to the knowledge attributes.
In some embodiments, prior to sending the associatively stored plurality of knowledge items to the terminal, the method comprises: and receiving a knowledge item display request sent by a terminal, wherein the knowledge item display request comprises a target knowledge attribute.
In some embodiments, the sending the plurality of knowledge items stored in association to the terminal so that the terminal presents the plurality of knowledge items in association includes: acquiring a plurality of knowledge item identifications from a storage area corresponding to the target knowledge attribute; and sending the acquired knowledge items indicated by the knowledge item identifications to the terminal so that the terminal can display the knowledge items in an associated manner.
In a second aspect, the present application provides a further method for presenting information, the method comprising: responding to the operation of a user on the knowledge attributes displayed on the terminal, and sending a knowledge item display request to a server, wherein the server extracts a knowledge item set from text information browsed by the user through the terminal in advance, performs word segmentation processing on each knowledge item to analyze various knowledge attributes of the knowledge item, and performs associated storage on different knowledge items with the same knowledge attribute; receiving a plurality of associated and stored knowledge items returned by the server according to the knowledge item display request; the association exposes a plurality of knowledge items.
In some embodiments, the association exposes a plurality of knowledge items, including: the associated display is performed by connecting the plurality of knowledge items using the same knowledge attribute between the plurality of knowledge items.
In some embodiments, the knowledge item set is extracted by the server from the text information which is displayed by the terminal and has a display duration longer than a duration threshold.
In a third aspect, the present application provides an apparatus for presenting information, the apparatus comprising: the extraction unit is used for extracting a knowledge item set from the text information displayed by the terminal; the analysis unit is used for performing word segmentation processing on each knowledge item and analyzing various knowledge attributes of the knowledge item; the storage unit is used for storing any different knowledge items with the same knowledge attribute in an associated manner; and the sending unit is used for sending the plurality of the associated and stored knowledge items to the terminal so that the terminal can display the plurality of the knowledge items in an associated manner.
In some embodiments, the extraction unit comprises: the acquiring subunit is used for acquiring the text information which is displayed by the terminal and has the display duration longer than the preset duration as the text information to be processed; and the extraction subunit is used for extracting the knowledge item set from the text information to be processed.
In some embodiments, the memory cell is further to: and storing the knowledge item identifications of different knowledge items with the same knowledge attributes in the storage areas corresponding to the knowledge attributes.
In some embodiments, the above apparatus further comprises: the receiving unit is used for receiving a knowledge item display request sent by the terminal before sending the plurality of the knowledge items stored in the associated manner to the terminal, wherein the knowledge item display request comprises a target knowledge attribute.
In some embodiments, the sending unit is further configured to: acquiring a plurality of knowledge item identifications from a storage area corresponding to the target knowledge attribute; and sending the acquired knowledge items indicated by the knowledge item identifications to the terminal so that the terminal can display the knowledge items in an associated manner.
In a fourth aspect, the present application provides an apparatus for presenting information, the apparatus comprising: the system comprises a sending unit, a server and a display unit, wherein the sending unit is used for responding to the operation of a user on the displayed knowledge attributes on a terminal and sending a knowledge item display request to the server, the server extracts a knowledge item set from text information browsed by the user through the terminal in advance, carries out word segmentation processing on each knowledge item to analyze various knowledge attributes of the knowledge item and stores any different knowledge items with the same knowledge attributes in an associated manner; the receiving unit is used for receiving a plurality of associated and stored knowledge items returned by the server according to the knowledge item display request; and the display unit is used for displaying a plurality of knowledge items in an associated manner.
In some embodiments, the display unit is further for: the associated display is performed by connecting the plurality of knowledge items using the same knowledge attribute between the plurality of knowledge items.
In some embodiments, the knowledge item set is extracted by the server from the text information which is displayed by the terminal and has a display duration longer than a duration threshold.
In a fifth aspect, the present application provides a server, comprising: one or more processors; storage means for storing one or more programs which, when executed by one or more processors, cause the one or more processors to carry out a method as described in any one of the first aspect.
In a sixth aspect, the present application provides a terminal device, including: one or more processors; storage means for storing one or more programs which, when executed by one or more processors, cause the one or more processors to carry out a method as described in any one of the second aspects.
In a seventh aspect, the present application provides a computer readable storage medium having a computer program stored thereon, wherein the program is configured to, when executed by a processor, implement the method as described in any one of the first aspect or the second aspect.
According to the method and the device for displaying the information, the association is established among different knowledge items extracted from the text information displayed by the terminal, and the different knowledge items with the association are displayed on the terminal device in an associated manner, so that the knowledge items in the text information browsed by the user can be displayed to the user systematically, and the richness of the knowledge browsed by the user is enhanced.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for presenting information in accordance with the present application;
FIG. 3 is a schematic diagram of an application scenario of a method for presenting information according to the present application;
FIG. 4 is a flow diagram of yet another embodiment of a method for presenting information in accordance with the present application;
FIG. 5 is a schematic block diagram of one embodiment of an apparatus for displaying information in accordance with the present application;
FIG. 6 is a schematic block diagram of yet another embodiment of an apparatus for presenting information in accordance with the present application;
fig. 7 is a schematic structural diagram of a computer system suitable for implementing the terminal device or the server according to the embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the method or apparatus for presenting information of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a web browser application, a data analysis application, social platform software, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio layer iii, mpeg compression standard Audio layer 3), MP4 players (Moving Picture Experts Group Audio layer IV, mpeg compression standard Audio layer 4), laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for information displayed on the terminal devices 101, 102, 103. The background server can perform analysis and other processing, and sends the processing result to the terminal equipment for display by the terminal equipment.
It should be noted that the method for displaying information provided in the embodiment corresponding to fig. 2 of the present application is generally executed by the server 105, and accordingly, the apparatus for displaying information provided in the embodiment corresponding to fig. 5 is generally disposed in the server 105; the method for presenting information provided in the embodiment corresponding to fig. 4 is generally performed by the terminal devices 101, 102, and 103, and correspondingly, the apparatus for presenting information provided in the embodiment corresponding to fig. 6 is generally disposed in the server 105, and the terminal devices 101, 102, and 103.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for presenting information in accordance with the present application is shown. The method for displaying information comprises the following steps:
step 201, extracting a knowledge item set from the text information displayed by the terminal.
In this embodiment, an electronic device (e.g., a server shown in fig. 1) on which the method for presenting information operates may first determine the text information presented by the terminal. The electronic device may then extract a set of knowledge items from the textual information. The knowledge items can represent knowledge in various fields, for example, social history knowledge items such as 'Xinglong in 1754, grand letter prison, forbidden to pass water and Yangtze university' and '1754, Columbia university' can be represented, and social history knowledge items such as 'sulfuric acid is corrosive' can be represented. In general, a knowledge item typically includes at least two parts, a subject and a predicate. For example, the knowledge item "sulfuric acid is corrosive" includes the subject "sulfuric acid" and the predicate "corrosive". Further, the knowledge item may also have other parts, such as the "1 st-1754 th university of Columbia hold" includes a time characteristic of "1754 th" in addition to the subject "Columbia university" and the predicate "hold".
Step 202, performing word segmentation processing on each knowledge item, and analyzing various knowledge attributes of the knowledge item.
In this embodiment, based on each knowledge item in the knowledge item set obtained in step 201, the electronic device (e.g., the server shown in fig. 1) may analyze various knowledge attributes of the knowledge item. In practice, the knowledge attributes of a knowledge item can be parsed according to its syntactic structure. For example, the knowledge item of "sulfuric acid is corrosive" can resolve two knowledge attributes of "sulfuric acid" and "corrosive" according to the subject and the predicate, and the "college of columbia in 1754" can resolve the knowledge attributes of "college of columbia", "college" and "1754" according to the grammatical structure, and the knowledge attributes of "qianlong in the word prison of great xing in 1754 and banning in the word prison of forbidden water and enteromorphy" can resolve the knowledge attributes of "qianlong", "water and enteromorphy prison", "1974" and the like.
Step 203, storing any different knowledge items with the same knowledge attribute in an associated manner.
In this embodiment, based on the knowledge attributes parsed from the knowledge items in step 202, the electronic device may compare whether there is a same knowledge attribute between different knowledge items. And if the knowledge items have the same knowledge attributes, performing associated storage on the knowledge items. For example, "the university of columbia in 1754" holds and "the university of columbia in 1754" holds both having the same attribute of "1754", the electronic device may store the two knowledge items in association. The manner of associative storage includes, but is not limited to, recording the associative relationship between knowledge items using files, databases, etc.
In some optional implementations of this embodiment, step 203 may include: and storing the knowledge item identification of any different knowledge item with the same knowledge attribute in the storage area corresponding to any knowledge attribute. In this implementation manner, when performing the associative storage of different knowledge items with the same knowledge attribute, a manner of storing knowledge item identifiers of the knowledge items in a storage area corresponding to any knowledge attribute may be used. Therefore, when the mutually associated knowledge items need to be read, the knowledge items which establish the association relationship by the knowledge attributes can be inquired only by positioning to the corresponding storage area according to the knowledge attributes.
And step 204, sending the plurality of knowledge items stored in association to the terminal so that the terminal can display the plurality of knowledge items in association.
In this embodiment, for a plurality of knowledge items stored in association, the electronic device may send the knowledge items to the terminal, and the terminal may store the knowledge items in association after receiving the knowledge items. In practice, for a plurality of knowledge items stored in association, the electronic device may actively push the knowledge items to the user according to a set period, or may send the knowledge items associated with each other to the terminal based on a request of the user. The transmitted plurality of knowledge items stored in association may be a part of or all of the knowledge items stored in association.
In some optional implementations of this embodiment, step 201 may include: acquiring text information which is displayed by a terminal and has the display duration longer than the preset duration as text information to be processed; and extracting a knowledge item set from the text information to be processed. In the implementation mode, the text which is displayed by the terminal and has the display duration longer than the preset duration is set to extract the text which the knowledge item aims at, and the aimed text can be the text of which the user browsing time reaches the preset duration, so that the text which is browsed by the user by mistake is prevented from being processed to extract the invalid knowledge item, and the final knowledge item displayed by the terminal is more targeted.
In some optional implementations of this embodiment, before step 204, the method further includes: and receiving a knowledge item display request sent by a terminal, wherein the knowledge item display request comprises a target knowledge attribute. In this implementation, the electronic device may execute step 204 after receiving the knowledge item exhibition request sent by the terminal to send the associatively stored knowledge item. And the target knowledge attribute in the knowledge item showing request is used for searching a plurality of knowledge items which take the target knowledge attribute as the shared knowledge attribute by the electronic equipment.
In some optional implementations of the previous implementation, step 204 may include: acquiring a plurality of knowledge item identifications from a storage area corresponding to the target knowledge attribute; and sending the acquired knowledge items indicated by the knowledge item identifications to the terminal so that the terminal can display the knowledge items in an associated manner.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for presenting information according to the present embodiment. In the application scenario of fig. 3, text information may be displayed on the terminal device for browsing by the user. The server can extract knowledge items such as 'Qianlong in 1754 Xingxing character prison, banning water and Yangtze river transmission', '1754 Columbia university establishment' and the like from the text information displayed by the terminal; then, the server extracts knowledge attributes such as 'Qianlong', 'Shuihu', 'xing character pris', '1974' and the like from the knowledge item 'Xinglong in 1754 Xinghu character prison' and 'forbidden Shuihu', and extracts knowledge attributes such as '1974', 'Golomis university' and 'university establishment' from '1754 Columbia university establishment'; then, as the two knowledge attributes of 'Qianlong is in the 1754 th Kyoho character prison, banning the water and the Enterprise transfer', 'the 1754 th university of Columbia' are the same, the server stores the two knowledge items in an associated manner; finally, the electronic device can send the two knowledge items stored in the association manner to the terminal device for association presentation. The way in which the terminal device associates and displays the two knowledge items is shown in fig. 3.
According to the method provided by the embodiment of the application, the association is established among different knowledge items extracted from the text information displayed by the terminal, and the different knowledge items with the association are displayed on the terminal device in an associated manner, so that the knowledge items in the text information browsed by the user can be displayed to the user systematically, and the richness of the knowledge browsed by the user is enhanced.
With further reference to FIG. 4, a flow 400 of yet another embodiment of a method for presenting information is shown. The process 400 of the method for presenting information includes the steps of:
step 401, in response to the operation of the user on the displayed knowledge attribute on the terminal, sending a knowledge item display request to the server.
In this embodiment, an electronic device (e.g., the terminal device shown in fig. 1) on which the method for presenting information operates may detect an operation of a user acting on a knowledge attribute presented on the electronic device. When the operation is detected, the electronic device can send a knowledge item showing request to the server in a wired connection mode or a wireless connection mode.
The knowledge attribute can be generated by the server through the following method: firstly, a server extracts a knowledge item set from text information browsed by a user through a terminal in advance; and then, the server performs word segmentation processing on each knowledge item to analyze various knowledge attributes of the knowledge item. As such, the electronic device may receive the knowledge attributes from the server in advance for presentation. In addition, the server also stores any different knowledge items with the same knowledge attribute in an associated manner, so that the terminal equipment can acquire the associated knowledge items from the server in the subsequent step. The electronic device may obtain the knowledge attribute based on active push of the server, or may send a request to the server in advance to obtain the knowledge attribute. For example, the user may issue an operation command for analyzing a history browsing text to the terminal, and the terminal may display one or more category labels after interacting with the server, so that the user may select a knowledge field to be analyzed. For example, a classification label of a history class, a finance class, a technology class, etc. may be presented. After the user selects a certain classification label, the electronic device can interact with the server and then display the knowledge attribute type under the classification label for further selection by the user. The knowledge attribute types may correspond to grammatical structures, such as people, events, times, places, and so forth. After the user selects a certain knowledge attribute type, the electronic device can interact with the server to acquire and display various specific knowledge attributes under the knowledge attribute type. For example, when the user selects a character, the electronic device may present a knowledge attribute for characterizing the character, such as, for example, a red jade article, a Qianlong article, a Lihong article, etc. It should be noted that the above-described multiple interaction processes of the user with the electronic device are not necessary, and one or more of the interaction processes may be absent in practice.
When the electronic equipment displays the knowledge attribute, the knowledge attribute can be displayed in an icon mode, and text information of the knowledge attribute can be displayed on the icon. For example, the display mode of the knowledge attribute of "1754 years" may be to display a circular icon, and the text of "1754 years" may be displayed on the circular icon. The knowledge attribute can be presented alone or in association with some knowledge items having the knowledge attribute. The icon for displaying the knowledge attribute can be operated by a user, and the electronic equipment can send a knowledge item display request to the server after detecting the operation. The operation may be a click operation of a mouse on the knowledge attribute, a touch operation of the display position where the knowledge attribute is located, or other types of operations.
It should be noted that the above presentation of knowledge attributes and the operation on knowledge attributes are only examples, and the present embodiment is not limited to the above-listed manners.
Step 402, receiving a plurality of associated stored knowledge items returned by the server according to the knowledge item display request.
In this embodiment, after receiving the knowledge item presentation request, the server may obtain a plurality of matched and associated stored knowledge items according to the presentation item presentation request and return the knowledge items to the electronic device. Therefore, the electronic equipment can acquire the returned knowledge items.
Step 403, displaying a plurality of knowledge items in an association manner.
In this embodiment, based on the plurality of knowledge items received in step 402, the electronic device may perform an associated presentation on the plurality of knowledge items. The display of the knowledge item can be performed in the form of an icon, and part or all of knowledge information of the knowledge item can be displayed on the icon. Optionally, when the user performs a setting operation on the knowledge items, the electronic device may further obtain articles from the knowledge items from a local or server and display the articles for the user to read. The setting operation may include, but is not limited to, a double click, a long press, etc. Furthermore, the electronic device may be user operable in response to the icon for the presented knowledge item, which may include, but is not limited to, mouse clicks, touches, and the like. And, the electronic device may also present other knowledge attributes of the knowledge item that have not been presented upon detecting these user operations. These other knowledge attributes may also be manipulated by the user so that the method described in steps 401 to 403 may be performed in a loop.
In some optional implementations of this embodiment, the step 403 may include: the associated display is performed by connecting the plurality of knowledge items using the same knowledge attribute between the plurality of knowledge items. In this implementation, the presented knowledge items may be presented in a linked manner with the corresponding knowledge attributes. The same knowledge attribute can be shown as only one icon, so that a plurality of knowledge items all having the same knowledge attribute can be connected by using the knowledge attribute as an intermediary, thereby realizing the associative storage. The association storage mode is clear and concise, and is helpful for users to quickly identify the association relationship of sharing the same knowledge attribute among knowledge items and know the shared specific knowledge attribute, so that the users can understand the association relationship conveniently.
In some optional implementation manners of the embodiment, the knowledge item set is extracted by the server from the text information which is displayed by the terminal and has the display duration longer than the duration threshold. In the implementation mode, the server sets the text which is displayed by the terminal and has the display duration longer than the preset duration to extract the text which the knowledge item aims at, and the aimed text can be the text of which the user browsing time reaches the preset duration, so that the text which is browsed by the user by mistake is prevented from being processed to extract the invalid knowledge item, and the final knowledge item displayed by the terminal is more targeted.
According to the method provided by the embodiment of the application, the association is established among different knowledge items extracted from the text information displayed by the terminal, and the different knowledge items with the association are displayed on the terminal device in an associated manner, so that the knowledge items in the text information browsed by the user can be displayed to the user systematically, and the richness of the knowledge browsed by the user is enhanced.
With further reference to fig. 5, as an implementation of the method shown in the corresponding embodiment of fig. 2, the present application provides an embodiment of an apparatus for presenting information, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various servers.
As shown in fig. 5, the apparatus 500 for displaying information of the present embodiment includes: extraction section 501, analysis section 502, storage section 503, and transmission section 504. The extracting unit 501 is configured to extract a knowledge item set from text information displayed by a terminal; the parsing unit 502 is configured to perform word segmentation processing on each knowledge item to parse various knowledge attributes of the knowledge item; the storage unit 503 is configured to store any different knowledge items with the same knowledge attribute in an associated manner; and the sending unit 504 is configured to send the plurality of knowledge items stored in association to the terminal, so that the terminal presents the plurality of knowledge items in association.
In this embodiment, the specific processing of the extracting unit 501, the analyzing unit 502, the storing unit 503 and the sending unit 504 may refer to step 201, step 202, step 203 and step 204 in the corresponding embodiment of fig. 2, and is not described herein again.
In some optional implementations of this embodiment, the extracting unit 501 may include: an acquiring subunit (not shown) configured to acquire text information that is displayed by the terminal and has a display duration longer than a preset duration as text information to be processed; an extraction subunit (not shown) is configured to extract the set of knowledge items from the text information to be processed. The specific processing of this implementation may refer to a corresponding implementation in the embodiment corresponding to fig. 2, and is not described here again.
In some optional implementations of this embodiment, the storage unit 503 is further configured to: and storing the knowledge item identification of any different knowledge item with the same knowledge attribute in the storage area corresponding to any knowledge attribute. The specific processing of this implementation may refer to a corresponding implementation in the embodiment corresponding to fig. 2, and is not described here again.
In some optional implementations of this embodiment, the apparatus 500 further includes: a receiving unit (not shown) for receiving a knowledge item exhibition request sent by the terminal before sending the plurality of knowledge items stored in association to the terminal, the knowledge item exhibition request including the target knowledge attribute. The specific processing of this implementation may refer to a corresponding implementation in the embodiment corresponding to fig. 2, and is not described here again.
In some optional implementations of the previous implementation, the sending unit 504 is further configured to: acquiring a plurality of knowledge item identifications from a storage area corresponding to the target knowledge attribute; and sending the acquired knowledge items indicated by the knowledge item identifications to the terminal so that the terminal can display the knowledge items in an associated manner. The specific processing of this implementation may refer to a corresponding implementation in the embodiment corresponding to fig. 2, and is not described here again.
With further reference to fig. 6, as an implementation of the method shown in the corresponding embodiment of fig. 4, the present application provides an embodiment of an apparatus for presenting information, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 4, and the apparatus may be specifically applied to various servers.
As shown in fig. 6, the apparatus 600 for displaying information of the present embodiment includes: a sending unit 601, a receiving unit 602 and a presentation unit 603. The sending unit 601 is configured to send a knowledge item display request to the server in response to an operation of a user on a knowledge attribute displayed on the terminal, where the server extracts a knowledge item set from text information browsed by the user through the terminal in advance, performs word segmentation processing on each knowledge item to analyze various knowledge attributes of the knowledge item, and stores different knowledge items with the same knowledge attribute in an associated manner; the receiving unit 602 is configured to receive a plurality of knowledge items stored in association and returned by the server according to the knowledge item presentation request; the presentation unit 503 is used for presenting a plurality of knowledge items in association.
In this embodiment, the specific processing of the sending unit 601, the receiving unit 602, and the presenting unit 603 may refer to step 401, step 402, and step 403 in the embodiment corresponding to fig. 4, which is not described herein again.
In some optional implementations of this embodiment, the presentation unit 603 may be further configured to: the associated display is performed by connecting the plurality of knowledge items using the same knowledge attribute between the plurality of knowledge items. The specific processing of this implementation may refer to a corresponding implementation in the embodiment corresponding to fig. 4, which is not described herein again. The specific processing of this implementation may refer to a corresponding implementation in the embodiment corresponding to fig. 4, and is not described here again.
In some optional implementation manners of the embodiment, the knowledge item set is extracted by the server from the text information which is displayed by the terminal and has the display duration longer than the duration threshold. The specific processing of this implementation may refer to a corresponding implementation in the embodiment corresponding to fig. 4, which is not described herein again.
The present application also provides a server, including: one or more processors; a storage device, configured to store one or more programs, which when executed by one or more processors, cause the one or more processors to implement the method described in the corresponding embodiment of fig. 2 or any alternative implementation of this embodiment. In addition, the present application also provides a terminal, including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method described in the corresponding embodiment of fig. 4. FIG. 7 illustrates a block diagram of a computer system 700 suitable for use in implementing a server or terminal according to embodiments of the present application. The apparatus shown in fig. 7 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present application.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program, when executed by a Central Processing Unit (CPU)701, performs the above-described functions defined in the method of the present application. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes an extraction unit, a parsing unit, a storage unit, and a transmission unit. The names of these units do not in some cases form a limitation to the unit itself, and for example, the receiving unit may also be described as a "unit that extracts a knowledge item set from text information presented by the terminal".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: extracting a knowledge item set from text information displayed by a terminal; performing word segmentation processing on each knowledge item, and analyzing various knowledge attributes of the knowledge item; storing different knowledge items with the same knowledge attribute in an associated manner; and sending the plurality of knowledge items stored in association to the terminal so that the terminal can display the plurality of knowledge items in association. Alternatively, the one or more programs, when executed by the apparatus, cause the apparatus to: responding to the operation of a user on the knowledge attributes displayed on the terminal, and sending a knowledge item display request to a server, wherein the server extracts a knowledge item set from text information browsed by the user through the terminal in advance, performs word segmentation processing on each knowledge item to analyze various knowledge attributes of the knowledge item, and performs associated storage on different knowledge items with the same knowledge attribute; receiving a plurality of associated and stored knowledge items returned by the server according to the knowledge item display request; the association exposes the plurality of knowledge items.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (11)

1. A method for presenting information, the method comprising:
extracting a knowledge item set from text information displayed by a terminal, wherein the knowledge items represent knowledge in various fields;
performing word segmentation processing on each knowledge item, and analyzing various knowledge attributes of the knowledge item;
storing different knowledge items with the same knowledge attribute in an associated manner;
sending the plurality of knowledge items stored in association to the terminal so that the terminal can display the plurality of knowledge items in association;
the method for extracting the knowledge item set from the text information browsed by the user through the terminal comprises the following steps:
acquiring text information which is displayed by a terminal and has the display duration longer than the preset duration as text information to be processed;
and extracting a knowledge item set from the text information to be processed.
2. The method according to claim 1, wherein the associating and storing any different knowledge items with the same knowledge attribute comprises:
and storing the knowledge item identification of any different knowledge item with the same knowledge attribute in the storage area corresponding to any knowledge attribute.
3. The method according to claim 2, wherein prior to said sending the associatively stored plurality of knowledge items to the terminal, the method comprises:
and receiving a knowledge item display request sent by the terminal, wherein the knowledge item display request comprises a target knowledge attribute.
4. The method of claim 3, wherein sending the plurality of knowledge items stored in association to the terminal to enable the terminal to expose the plurality of knowledge items in association comprises:
acquiring a plurality of knowledge item identifications from the storage area corresponding to the target knowledge attribute;
and sending the plurality of acquired knowledge items indicated by the plurality of knowledge item identifiers to the terminal so that the terminal can display the plurality of knowledge items in an associated manner.
5. A method for presenting information, the method comprising:
responding to the operation of a user on the knowledge attributes displayed on the terminal, and sending a knowledge item display request to a server, wherein the server extracts a knowledge item set from text information browsed by the user through the terminal in advance, performs word segmentation processing on each knowledge item to analyze various knowledge attributes of the knowledge item, and performs associated storage on different knowledge items with the same knowledge attribute;
receiving a plurality of associated and stored knowledge items returned by the server according to the knowledge item display request;
the plurality of knowledge items are displayed in an associated mode;
wherein the associating exposes the plurality of knowledge items, including:
and performing associated display by using the same knowledge attribute among the knowledge items as an intermediary to connect the knowledge items.
6. The method of claim 5, wherein the set of knowledge items is extracted by the server from text messages that have been presented by the terminal for a period of time greater than a time threshold.
7. An apparatus for presenting information, the apparatus comprising:
the extraction unit is used for extracting a knowledge item set from the text information displayed by the terminal, wherein the knowledge items represent knowledge in various fields;
the analysis unit is used for performing word segmentation processing on each knowledge item and analyzing various knowledge attributes of the knowledge item;
the storage unit is used for storing any different knowledge items with the same knowledge attribute in an associated manner;
the sending unit is used for sending the plurality of the knowledge items stored in the association manner to the terminal so that the terminal can display the plurality of the knowledge items in the association manner;
the extraction unit includes: the acquiring subunit is used for acquiring the text information which is displayed by the terminal and has the display duration longer than the preset duration as the text information to be processed; and the extraction subunit is used for extracting a knowledge item set from the text information to be processed.
8. An apparatus for presenting information, the apparatus comprising:
the system comprises a sending unit, a server and a processing unit, wherein the sending unit is used for responding to the operation of a user on the knowledge attributes displayed on a terminal and sending a knowledge item display request to the server, the server extracts a knowledge item set from text information browsed by the user through the terminal in advance, carries out word segmentation processing on each knowledge item to analyze various knowledge attributes of the knowledge item and stores any different knowledge items with the same knowledge attributes in an associated manner;
the receiving unit is used for receiving a plurality of associated and stored knowledge items returned by the server according to the knowledge item display request;
the display unit is used for displaying the plurality of knowledge items in an associated manner;
the presentation unit is further configured to: and performing associated display by using the same knowledge attribute among the knowledge items as an intermediary to connect the knowledge items.
9. A server, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
10. A terminal device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 5-6.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN201710093236.8A 2017-02-21 2017-02-21 Method and device for displaying information Active CN106886594B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710093236.8A CN106886594B (en) 2017-02-21 2017-02-21 Method and device for displaying information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710093236.8A CN106886594B (en) 2017-02-21 2017-02-21 Method and device for displaying information

Publications (2)

Publication Number Publication Date
CN106886594A CN106886594A (en) 2017-06-23
CN106886594B true CN106886594B (en) 2020-06-02

Family

ID=59180119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710093236.8A Active CN106886594B (en) 2017-02-21 2017-02-21 Method and device for displaying information

Country Status (1)

Country Link
CN (1) CN106886594B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391650B (en) * 2017-07-14 2018-09-07 北京神州泰岳软件股份有限公司 A kind of structuring method for splitting of document, apparatus and system
CN110019906B (en) * 2017-11-22 2022-07-08 百度在线网络技术(北京)有限公司 Method and apparatus for displaying information
CN109271397A (en) * 2018-10-15 2019-01-25 北京字节跳动网络技术有限公司 Method and apparatus for handling information
CN110489032B (en) * 2019-08-14 2021-08-24 掌阅科技股份有限公司 Dictionary query method for electronic book and electronic equipment
CN110597989A (en) * 2019-08-30 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device and computer storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154238A (en) * 2006-09-26 2008-04-02 株式会社东芝 Apparatus, method for processing information
CN101562662A (en) * 2008-04-15 2009-10-21 飞视无限媒体技术(北京)有限公司 System and method for exhibiting information in mobile terminal calling process
CN103019550A (en) * 2012-12-07 2013-04-03 东软集团股份有限公司 Real-time display method and system for associated content
CN103985279A (en) * 2014-05-27 2014-08-13 北京师范大学 Socialized homework evaluation and student learning process information recording system and method
CN105608100A (en) * 2015-08-31 2016-05-25 南京酷派软件技术有限公司 Information extraction method and information extraction device
CN105656664A (en) * 2015-12-23 2016-06-08 小米科技有限责任公司 Information display method and device
CN105786969A (en) * 2016-02-01 2016-07-20 百度在线网络技术(北京)有限公司 Information display method and apparatus
CN106033579A (en) * 2015-03-16 2016-10-19 北京国双科技有限公司 Data processing method and apparatus thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154238A (en) * 2006-09-26 2008-04-02 株式会社东芝 Apparatus, method for processing information
CN101562662A (en) * 2008-04-15 2009-10-21 飞视无限媒体技术(北京)有限公司 System and method for exhibiting information in mobile terminal calling process
CN103019550A (en) * 2012-12-07 2013-04-03 东软集团股份有限公司 Real-time display method and system for associated content
CN103985279A (en) * 2014-05-27 2014-08-13 北京师范大学 Socialized homework evaluation and student learning process information recording system and method
CN106033579A (en) * 2015-03-16 2016-10-19 北京国双科技有限公司 Data processing method and apparatus thereof
CN105608100A (en) * 2015-08-31 2016-05-25 南京酷派软件技术有限公司 Information extraction method and information extraction device
CN105656664A (en) * 2015-12-23 2016-06-08 小米科技有限责任公司 Information display method and device
CN105786969A (en) * 2016-02-01 2016-07-20 百度在线网络技术(北京)有限公司 Information display method and apparatus

Also Published As

Publication number Publication date
CN106886594A (en) 2017-06-23

Similar Documents

Publication Publication Date Title
CN106886594B (en) Method and device for displaying information
US11669579B2 (en) Method and apparatus for providing search results
CN108804450B (en) Information pushing method and device
CN107622135B (en) Method and apparatus for displaying information
WO2018192491A1 (en) Information pushing method and device
CN110708346B (en) Information processing system and method
US10878044B2 (en) System and method for providing content recommendation service
CN109325213B (en) Method and device for labeling data
CN106919711B (en) Method and device for labeling information based on artificial intelligence
US9934206B2 (en) Method and apparatus for extracting web page content
CN106681598B (en) Information input method and device
CN110619078B (en) Method and device for pushing information
CN108646972B (en) Method and equipment for displaying information and searching information
CN105094603B (en) Method and device for associated input
US9256696B2 (en) Dynamic selection of one of many available web browsers
CN108600329B (en) Method and equipment for pushing information and displaying information
JP7050857B2 (en) Summary generation method and equipment
CN109413056B (en) Method and apparatus for processing information
KR102151322B1 (en) Information push method and device
CN109951380B (en) Method, electronic device, and computer-readable medium for finding conversation messages
US20230085684A1 (en) Method of recommending data, electronic device, and medium
CN110069186B (en) Method and equipment for displaying operation interface of application
CN111488386A (en) Data query method and device
WO2023115831A1 (en) Application testing method and apparatus, electronic device and storage medium
CN115221290A (en) Label preposed data query method and device, electronic equipment and readable storage medium

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