Information display method, device and equipment
By receiving related information display instructions in electronic files, determining the location and building a knowledge map, it solves the problem of recalling read content in electronic information reading and improves the reading experience and user satisfaction of complex works.
Patent Information
- Application Number
- CN202011194798.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-10-30
AI Technical Summary
When reading electronic information, it is difficult to quickly recall what has been read, especially in works with complex plots or character relationships, which affects the reading experience.
By receiving the relevant information display instructions of the target object, it determines its location information in the electronic file, and builds a knowledge graph to obtain and display the relevant information related to the target object to help users recall what they have read.
It improves the electronic file reading experience, especially the recallability of complex works, avoids spoilers, and enhances users' reading satisfaction.
Smart Images

Figure CN112417059B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to an information display method, device and equipment. Background Art
[0002] With the development of electronic products and the Internet, the way of obtaining information using mobile phones, computers, etc. has been more and more widely promoted. Many literary works, historical works, etc. have also been disseminated in the form of electronic information, such as e-books and videos. However, one disadvantage of electronic information is that it is not convenient to flip through the parts that have been read at any time like a book. In this way, for works with complex plots or character relationships, the reading experience is relatively poor. For example: when reading an e-book, you will always face such troubles. When reading a character, you will forget whether the character has appeared in the previous chapters, and you can't sort out other characters related to the character or events related to the character. At this time, you usually have to bite the bullet and read on, which greatly affects the reading experience. Summary of the invention
[0003] In order to solve the above problems, the embodiments of the present invention creatively provide an information display method, device and equipment.
[0004] According to a first aspect of the present invention, there is provided an information display method, the method comprising: receiving an associated information display instruction for a target object, the target object being a set subject in an electronic file for continuous viewing; determining position information of the target object in the electronic file in response to the associated information display instruction; and acquiring and displaying associated information for the target object based on the target object and the position information.
[0005] According to an embodiment of the present invention, receiving an instruction to display associated information of a target object includes: receiving at least one of the following operations of the user on the target object: long pressing the target object, double-clicking the target object, and single-clicking the target object.
[0006] According to an embodiment of the present invention, the electronic file is an electronic book; accordingly, determining the location information of the target object in the electronic file includes: determining the reading progress of the target object in the electronic book.
[0007] According to one embodiment of the present invention, the method also includes: constructing a knowledge graph using the following operating steps to obtain and display the associated information for the target object based on the target object and the location information: determining multiple setting subjects in the electronic file that need to display the associated information; determining the location information of each setting subject in the electronic file; determining the association relationship between a first setting subject in the setting subject and an associated second setting subject located before the position shown by the location information in the electronic file; generating a number of four-element knowledge groups based on the first setting subject, the location information, the association relationship and the second setting subject as the knowledge graph.
[0008] According to one embodiment of the present invention, based on the target object and the location information, the associated information for the target object is obtained and displayed, including: determining the first setting subject corresponding to the target object; obtaining from the knowledge graph the four-element knowledge group whose location information is located before the location shown by the location information of the target object; and displaying the obtained four-element knowledge group using a set display method.
[0009] According to the second aspect of the present invention, there is also provided an information display device, which includes: an instruction receiving module, used to receive an associated information display instruction of a target object, wherein the target object is a set subject in an electronic file for continuous viewing; a position determination module, used to determine the position information of the target object in the electronic file in response to the associated information display instruction; and an information display module, used to obtain and display the associated information for the target object based on the target object and the position information.
[0010] According to an embodiment of the present invention, the electronic file is an electronic book; accordingly, the position determination module includes: a progress determination submodule, which is used to determine the reading progress of the target object in the electronic book.
[0011] According to one embodiment of the present invention, the device also includes: a knowledge graph construction module, which is used to construct a knowledge graph using the following operating steps to obtain and display the associated information for the target object based on the target object and the location information: determine multiple setting subjects in the electronic file that need to display the associated information; determine the location information of each setting subject in the electronic file; determine the association relationship between a first setting subject in the setting subject and an associated second setting subject located before the position shown by the location information in the electronic file; generate a number of four-element knowledge groups based on the first setting subject, the location information, the association relationship and the second setting subject as the knowledge graph.
[0012] According to one embodiment of the present invention, the information display module includes: a subject determination submodule, used to determine the first set subject corresponding to the target object; a knowledge acquisition submodule, used to obtain from the knowledge graph the four-element knowledge group whose position information is located before the position shown by the position information of the target object; and an information display submodule, used to display the acquired four-element knowledge group using a set display method.
[0013] According to the third aspect of the present invention, a device is also provided, comprising at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; and the processor is used to call program instructions in the memory to execute the above-mentioned information display method.
[0014] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the storage medium comprises a group of computer-executable instructions, and when the instructions are executed, the instructions are used to execute the above-mentioned information display method.
[0015] The information display method, device and equipment of the embodiment of the present invention first extract the knowledge graph in the electronic file in advance, extract the entity with associated information, generate the knowledge element associated with it, and use it as the target object in the process of viewing the electronic file to obtain the information associated with the target object. In the process of viewing the electronic file, for example, in the process of reading an electronic book or watching a TV series or video file, the position information of the target object in the electronic file can be determined according to the received instruction for displaying the associated information of the target object, and the associated information for the target object can be obtained and displayed according to the target object, the position information and the content before the target position. Therefore, for electronic files with strong association, such as electronic novels and TV series with multiple chapters, dynamic knowledge graphs can be extracted and constructed according to various characters, events and relationships. During the viewing process, the content associated with the object selected by the user in the content that the user has viewed can be displayed according to the user selecting a character, an image, an event name, etc. It can help the user reader quickly recall the content that has been viewed. At the same time, since the dimensional concept of time is shown in the knowledge graph according to the position of the content selected by the user in the electronic file, it can help the reader review the content that has been viewed while avoiding spoilers of the content that has not been viewed.
[0016] It should be understood that the teachings of the present invention are not required to achieve all of the beneficial effects described above, but specific technical solutions can achieve specific technical effects, and other embodiments of the present invention can also achieve beneficial effects not mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, in which:
[0018] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0019] Figure 1 A schematic diagram of the implementation process of the information display method according to an embodiment of the present invention is shown;
[0020] Figure 2 A schematic diagram showing the extraction of a knowledge graph in a specific application example of the information display method according to an embodiment of the present invention Figure 1 ;
[0021] Figure 3 A schematic diagram showing the extraction of a knowledge graph in a specific application example of the information display method according to an embodiment of the present invention Figure 2 ;
[0022] Figure 4 A schematic diagram showing the structure of the information display device according to an embodiment of the present invention is shown;
[0023] Figure 5 A schematic diagram of the structure of the device according to the embodiment of the present invention is shown. DETAILED DESCRIPTION
[0024] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.
[0025] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0026] Figure 1 A schematic diagram of the implementation flow of the information display method according to an embodiment of the present invention is shown.
[0027] refer to Figure 1 The information display method of the embodiment of the present invention at least includes the following operation flow: operation 101, receiving an instruction for displaying associated information of a target object, where the target object is a set subject in an electronic file for continuous viewing; operation 102, determining the position information of the target object in the electronic file in response to the instruction for displaying associated information; operation 103, acquiring and displaying the associated information for the target object based on the target object and the position information.
[0028] In operation 101 , a related information display instruction of a target object is received, where the target object is a set subject in an electronic file for continuous viewing.
[0029] In one embodiment of the present invention, the electronic file may be a continuous text or image such as a novel, a comic book or a TV series, for example, an electronic book such as a novel or a comic book and a video file such as a TV series.
[0030] For example, for an e-book such as a novel, the relationships between characters and the course of events in the book are usually complicated. When a user reads a book, when he reaches a certain position, he tends to forget what he has read before. In the embodiment of the present invention, in order to help the user display characters and events related to a certain character or event,
[0031] In one embodiment of the present invention, at least one of the following operations performed by the user on the target object may be used as an instruction for displaying the associated information of the target object: long pressing the target object, double clicking the target object, and single clicking the target object.
[0032] For example, the target object can be a character image in a video or comic, or a character name in an e-book, and an event name in an e-book, such as the Battle of Red Cliffs. The instruction to display the associated information of a certain target object is essentially a specific operation for the user to select or locate a subject in an electronic file. The subject can be a pre-extracted character name, event name, character avatar, or a frame of a video file, etc., and the corresponding set subject can be displayed in the form of hyperlinks, word markings, annotations, etc. For example: a hyperlink can be pre-built for the set subject, and a label icon can be generated for the set subject with associated information, etc., and it can also be set that when the mouse moves to the target position or clicks the target position, it is determined that the user needs to select or locate the subject. The way to select or locate a set subject can be achieved by single-clicking, double-clicking, or long pressing the set subject.
[0033] In operation 102 , in response to an associated information display instruction, location information of a target object in an electronic file is determined.
[0034] In an embodiment of the present invention, the electronic file is an electronic book, and the position information of the target object in the electronic file is determined by determining the reading progress of the target object in the electronic book.
[0035] For example, the electronic file is an electronic book, the total length of the electronic file is considered to be 100%, and character A appears for the Nth time on the page corresponding to 52% of the total length of the electronic file. When the user reads to this position, he cannot determine the current character relationship of character A through the memory of reading the electronic book. Click character A to display the character relationship associated with character A. At this time, the target object is character A at 52% of the reading progress, and the position information is 52% of the electronic file.
[0036] For a TV series, when the user watches to the 60% position of episode 26, he sees character B and needs to know the character relationship of character B before this through information display. At this time, the user clicks on the picture in the video file and selects character B. The target object for which the related information needs to be displayed is character B at the 60% position of episode 26 of the TV series, and the corresponding position information is the 60% position of episode 26 of the TV series.
[0037] In operation 103, according to the target object and the location information, associated information for the target object is acquired and displayed.
[0038] In one embodiment of the present invention, the following operating steps are used in advance to construct a knowledge graph to obtain and display the associated information for the target object based on the target object and the location information: determine multiple setting subjects in the electronic file whose associated information needs to be displayed; determine the location information of each setting subject in the electronic file; determine the association relationship between a first setting subject in the setting subject and an associated second setting subject located before the position shown by the location information in the electronic file; generate a number of four-element knowledge groups based on the first setting subject, the location information, the association relationship and the second setting subject as a knowledge graph.
[0039] For example, for an e-book, first, multiple setting subjects that need to display related information are extracted, such as: multiple characters in A Dream of Red Mansions, multiple characters in Water Margin, multiple events in Romance of the Three Kingdoms, multiple events in Journey to the West, etc.
[0040] For each setting subject, its reading progress in the e-book is used as its position information, and the position information is associated with the corresponding setting subject. For example, if Jia Baoyu appears multiple times in Dream of Red Mansions, the position in the e-book is different each time he appears. It should be noted that for e-books, the position information of the setting subject can be marked with a chapter or a page as a unit. For video files such as TV series, a video file corresponding to an episode of the TV series can be used as a node of position information, or 10% or 20% of a video file can be used as a node of position information. It can be set according to actual needs, and the embodiment of the present invention does not limit this.
[0041] For example, if a page of an electronic book is used as a location information node, then for a character X that appears multiple times on page N of the electronic book, the associated information of the character X before page N is displayed.
[0042] For each setting subject, it is necessary to determine the relationship between the setting subject and other setting subjects that are associated with the corresponding location information. Thus, several four-tuple knowledge groups based on the first setting subject, location information, association relationship and the second setting subject are generated as a knowledge graph. The knowledge graph can be constructed in the form of a 4-tuple "entity 1; relationship; time; entity 2". Among them, entity 1 is the entity corresponding to the target object, the relationship is the entity relationship extracted according to actual needs, for example: the relationship between the characters of father and son, sisters, friends, etc., time is the location information of the electronic file, for example: for e-books, it can be represented by reading progress, and entity 2 represents the information that has an association relationship with the target object.
[0043] For example, the event relationship of the knowledge graph may include the time relationship shown in Table 1 below. The character relationship of the knowledge graph may be extracted based on the actual relationship between characters appearing in the electronic file, such as: father and son, mother and son, father and daughter, mother and daughter, grandparents and grandchildren, husband and wife, sisters, brothers, friends, lovers, enemies, etc. Other entities with related relationships may also be extracted according to actual needs.
[0044] Table 1
[0045] event meaning Formalization Example Cause and Effect One event leads to another event A leads to B <Earthquake, house collapse> Conditional Matter One event conditional on another event happening If A then B <Restrictions relaxed, immediate production increase> Reversal of facts One event is in opposition to another Although A but B <Starting late and developing rapidly> Follow the truth One event happens immediately after another A followed by B <Planning a trip and buying train tickets> Context One event is a higher or lower event than another event. A is a type of B <Earthquake, geological disaster> Composition One event is part of another event A constitutes B <Fire extinguishing, fire rescue> Concurrency One event happens at the same time as another A and B <Sleep, close eyes>
[0046] In one embodiment of the present invention, based on the target object and the location information, the associated information for the target object is obtained and displayed, including: determining a first set subject corresponding to the target object; obtaining from the knowledge graph a four-element knowledge group whose location information is located before the location shown by the location information of the target object; and displaying the obtained four-element knowledge group using a set display method.
[0047] Figure 2 A schematic diagram showing the extraction of a knowledge graph in a specific application example of the information display method according to an embodiment of the present invention Figure 1 , Figure 3 A knowledge graph showing a specific application example of the information display method according to an embodiment of the present invention Figure 2 .
[0048] refer to Figure 2 and Figure 3 For an e-book, T1, T2, T3, and T4 are the times in the knowledge graph, which can be represented by the reading progress of the e-book, and T1-T4 has a temporal sequence. For example: T1 represents the pages corresponding to 25% of the e-book, T2 represents the pages corresponding to 41% of the e-book, T3 represents the pages corresponding to 60% of the e-book, and T4 represents the pages corresponding to 86% of the e-book.
[0049] At T1, Linghu Chong and Yue Buqun established a master-disciple relationship, at T2, Linghu Chong and his mother-in-law established a friends relationship, at T3, Linghu Chong and Ren Yingying established a lover relationship, and at T4, Linghu Chong and Ren Yingying established a spouse relationship.
[0050] If Linghu Chong appears in the e-book when the user reads 72%, and the user clicks "Linghu Chong", then according to the target object "Linghu Chong" and the location information "72% of the e-book", it is determined that the character relationship of Linghu Chong before 72% of the e-book needs to be displayed. At this time, according to the current location information, it is determined that the related information before the location information of the target object needs to be displayed to avoid showing the content that the user has not read in advance to the user, affecting the reading experience. Filtering the information before the 72% position of the e-book from the knowledge graph can be used to Figure 3 The related information of "Linghu Chong" is displayed in 72% of the positions of the e-book in the form of.
[0051] It should be noted that the information display method can be similar to Figure 2 and Figure 3 The relationship between characters can be displayed in the form of a diagram, a text description, or a table showing the progress of the relationship between characters. For example, the first row of the table shows "Character P1; Chapter 2, Section 8 of the e-book; Master and Apprentice; Character P2", which means that Character P1 becomes a master and apprentice with Character P2 in Chapter 2, Section 8 of the e-book.
[0052] For TV series video files, each episode can be used as a location information node. When clicking on a certain screen in the next episode, the target object, such as the person in the screen, can be determined through image recognition or pre-annotated entity information. Then, the character relationships that have been determined before this episode can be screened in the pre-built knowledge graph.
[0053] In this way, the information that has been viewed is well displayed to the user, which helps the user recall the content before the current position of the electronic file, while avoiding displaying the content that the user has not viewed to the user, thus retaining the suspense of the user reading an e-book or watching a TV series, and significantly improving the user experience.
[0054] The information display method, device and equipment of the embodiment of the present invention first extract the knowledge graph in the electronic file in advance, extract the entity with associated information, generate the knowledge element associated with it, and use it as the target object in the process of viewing the electronic file to obtain the information associated with the target object. In the process of viewing the electronic file, for example, in the process of reading an e-book or watching a TV series or video file, the position information of the target object in the electronic file can be determined according to the received instruction for displaying the associated information of the target object, and the associated information for the target object can be obtained and displayed according to the target object, the position information and the content before the target position. Therefore, for electronic files with strong association, such as electronic novels and TV series with multiple chapters, dynamic knowledge graphs can be extracted and constructed according to various characters, events and relationships. During the viewing process, the content associated with the object selected by the user in the content that the user has viewed can be displayed according to the user selecting a character, an image, an event name, etc. It can help the user reader quickly recall the content that has been viewed. At the same time, since the dimensional concept of time is shown in the knowledge graph according to the position of the content selected by the user in the electronic file, it can help the reader review the content that has been viewed while avoiding spoilers of the content that has not been viewed.
[0055] Similarly, based on the above information display method, an embodiment of the present invention also provides a computer-readable storage medium, which stores a program. When the program is executed by a processor, the processor performs at least the following operation steps: operation 101, receiving an associated information display instruction of a target object, where the target object is a set subject in an electronic file for continuous viewing; operation 102, determining the location information of the target object in the electronic file in response to the associated information display instruction; operation 103, obtaining and displaying the associated information for the target object based on the target object and the location information.
[0056] Further, based on the above information display method, the embodiment of the present invention also provides an information display device, such as Figure 4 The device 40 includes: an instruction receiving module 401, used to receive an instruction for displaying associated information of a target object, where the target object is a set subject in an electronic file for continuous viewing; a position determining module 402, used to determine the position information of the target object in the electronic file in response to the instruction for displaying associated information; and an information display module 403, used to obtain and display associated information for the target object based on the target object and the position information.
[0057] In one embodiment of the present invention, the electronic file is an electronic book; accordingly, the position determination module 402 includes: a progress determination submodule, which is used to determine the reading progress of the target object in the electronic book.
[0058] In one embodiment of the present invention, the device 40 also includes: a knowledge graph construction module, which is used to construct a knowledge graph using the following operating steps to obtain and display the associated information for the target object based on the target object and the location information: determine multiple setting subjects in the electronic file that need to display the associated information; determine the location information of each setting subject in the electronic file; determine the association relationship between the first setting subject in the setting subject and the associated second setting subject located before the position shown by the location information in the electronic file; generate a number of four-element knowledge groups based on the first setting subject, location information, association relationship and second setting subject as a knowledge graph.
[0059] In one embodiment of the present invention, the information display module 403 includes: a subject determination submodule, used to determine a first set subject corresponding to the target object; a knowledge acquisition submodule, used to obtain from the knowledge graph a four-element knowledge group whose position information is located before the position shown by the position information of the target object; and an information display submodule, used to display the acquired four-element knowledge group using a set display method.
[0060] Furthermore, based on the above information display method, a device is also provided, referring to Figure 5 The device 50 includes at least one processor 501, and at least one memory 502 and a bus 503 connected to the processor 501; wherein the processor 501 and the memory 502 communicate with each other through the bus 503; the processor 501 is used to call the program instructions in the memory 502 to execute the above-mentioned information display method.
[0061] It should be noted that: the above description of the information display device and equipment embodiment is different from the above Figures 1 to 3 The description of the method embodiment shown is similar, with the same Figures 1 to 3 The method embodiment shown in the figure has similar beneficial effects, so it will not be described in detail. For technical details not disclosed in the information display device and equipment embodiments of the present invention, please refer to the aforementioned Figures 1 to 3 The description of the method embodiment shown in the figure can be understood, and in order to save space, it will not be repeated.
[0062] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0063] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0064] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0065] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0066] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0067] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0068] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for displaying information, the method comprising: receiving an instruction for displaying associated information of a target object, wherein the target object is a set subject in an electronic file for continuous viewing; In response to the associated information display instruction, determining the location information of the target object in the electronic file; According to the target object and the location information, acquiring and displaying related information for the target object based on the knowledge graph; The knowledge graph includes at least: information associated with the target object; The method further includes: constructing a knowledge graph by using the following operation steps to obtain and display the associated information for the target object according to the target object and the location information: Determine a plurality of setting entities in the electronic file that need to display the associated information; Determine the location information of each of the setting entities in the electronic file; determining an association relationship between a first setting subject in the setting subjects and an associated second setting subject located before the position indicated by the position information in the electronic file; Generate a plurality of four-element knowledge groups based on the first setting subject, the location information, the association relationship and the second setting subject as the knowledge graph.
2. According to the method of claim 1, the step of receiving the target object's associated information display instruction comprises: Receive at least one of the following operations of the user on the target object: Long press the target object, double-click the target object, or single-click the target object.
3. The method according to claim 1, The electronic file is an electronic book; Accordingly, determining the location information of the target object in the electronic file includes: The reading progress of the target object in the electronic book is determined.
4. The method according to claim 1, acquiring and displaying the associated information for the target object according to the target object and the location information, comprising: Determining the first setting subject corresponding to the target object; Acquire, from the knowledge graph, the four-element knowledge group whose position information is located before the position shown by the position information of the target object; The acquired four-element knowledge group is displayed in a set display mode.
5. An information display device, comprising: An instruction receiving module, used to receive an instruction for displaying associated information of a target object, wherein the target object is a set subject in an electronic file for continuous viewing; A location determination module, configured to determine location information of the target object in the electronic file in response to the associated information display instruction; An information display module, used to obtain and display related information for the target object based on the knowledge graph according to the target object and the location information; The knowledge graph includes at least: information associated with the target object; The device further includes: a knowledge graph construction module, which is used to construct a knowledge graph by using the following operation steps to obtain and display the associated information for the target object according to the target object and the location information: Determine a plurality of setting entities in the electronic file that need to display the associated information; Determine the location information of each of the setting entities in the electronic file; determining an association relationship between a first setting subject in the setting subjects and an associated second setting subject located before the position indicated by the position information in the electronic file; Generate a plurality of four-element knowledge groups based on the first setting subject, the location information, the association relationship and the second setting subject as the knowledge graph.
6. The device according to claim 5, wherein the electronic file is an electronic book; Accordingly, the location determination module includes: The progress determination submodule is used to determine the reading progress of the target object in the electronic book.
7. The device according to claim 5, wherein the information display module comprises: A subject determination submodule, used to determine the first set subject corresponding to the target object; A knowledge acquisition submodule, configured to acquire, from the knowledge graph, the four-element knowledge group whose position information is located before the position shown by the position information of the target object; The information display submodule is used to display the acquired four-element knowledge group in a set display mode.
8. A device comprising at least one processor, and at least one memory and a bus connected to the processor; wherein: The processor and the memory communicate with each other via the bus; The processor is used to call the program instructions in the memory to execute the information display method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Information display method and apparatus, and terminal device
CN107704161A
