CN112241461B - Method and equipment for generating character relation graph of book - Google Patents

Method and equipment for generating character relation graph of book Download PDF

Info

Publication number
CN112241461B
CN112241461B CN202010968723.6A CN202010968723A CN112241461B CN 112241461 B CN112241461 B CN 112241461B CN 202010968723 A CN202010968723 A CN 202010968723A CN 112241461 B CN112241461 B CN 112241461B
Authority
CN
China
Prior art keywords
target
information
character
keyword
keywords
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
CN202010968723.6A
Other languages
Chinese (zh)
Other versions
CN112241461A (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.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network 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 Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN202010968723.6A priority Critical patent/CN112241461B/en
Publication of CN112241461A publication Critical patent/CN112241461A/en
Priority to PCT/CN2021/118230 priority patent/WO2022057788A1/en
Application granted granted Critical
Publication of CN112241461B publication Critical patent/CN112241461B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/38Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/383Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/338Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/34Browsing; Visualisation therefor

Abstract

The application aims to provide a method and equipment for generating a character relation graph of a book, wherein the method comprises the following steps: responding to reading operation of a user on a target book in reading application, and detecting whether target introduction information exists in a current reading page of the target book; if the target person relation diagram exists, acquiring the target introduction information, and generating or updating a target person relation diagram of the target book according to the target introduction information, wherein the target person relation diagram comprises the target introduction information; and responding to the view operation of the user on the target person relation graph, and presenting the target person relation graph in the reading application. And the user interaction is increased and the user experience is improved while the user is helped to know the target book through the target character relation diagram.

Description

Method and equipment for generating character relation graph of book
Technical Field
The application relates to the field of communication, in particular to a technology for generating a character relation diagram of books.
Background
Reading is the process of acquiring information from visual materials by using language and words to acquire information, recognize the world, develop thinking and acquire aesthetic experience and knowledge. With the development of the age, more and more users form reading habits, and various reading applications and reading devices are generated. People can read by the reading application or the reading device anytime and anywhere.
Disclosure of Invention
An object of the present application is to provide a method and apparatus for generating a character relationship graph of a book.
According to one aspect of the present application, there is provided a method for generating a character relationship graph of a book, the method comprising:
responding to reading operation of a user on a target book in reading application, and detecting whether target introduction information exists in a current reading page of the target book;
if the target person relation diagram exists, acquiring the target introduction information, and generating or updating a target person relation diagram of the target book according to the target introduction information, wherein the target person relation diagram comprises the target introduction information;
and responding to the view operation of the user on the target person relation graph, and presenting the target person relation graph in the reading application.
According to an aspect of the present application, there is provided an apparatus for generating a character relationship diagram of a book, the apparatus comprising:
the system comprises a one-to-one module, a reading module and a reading module, wherein the one-to-one module is used for responding to the reading operation of a user on a target book in reading application and detecting whether the target book has target introduction information in a current reading page;
the second module is used for acquiring the target introduction information and generating or updating a target person relation diagram of the target book according to the target introduction information if the target introduction information exists, wherein the target person relation diagram comprises the target introduction information;
And the three modules are used for responding to the viewing operation of the user on the target person relation graph and presenting the target person relation graph in the reading application.
According to an aspect of the present application, there is provided an apparatus for generating a character relationship diagram of a book, wherein the apparatus includes:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the operations of any of the methods described above.
According to one aspect of the application there is provided a computer readable medium storing instructions that, when executed, cause a system to perform the operations of any of the methods described above.
Compared with the prior art, the method and the device respond to the reading operation of the user on the target book in the reading application, and detect whether the target book has target introduction information in the current reading page; if the target person relation diagram exists, acquiring the target introduction information, and generating or updating a target person relation diagram of the target book according to the target introduction information, wherein the target person relation diagram comprises the target introduction information; and responding to the view operation of the user on the target person relation graph, and presenting the target person relation graph in the reading application. And generating or updating the target person relationship graph based on the target introduction information acquired one by one, so that the generation or updating of the target person relationship graph is associated with the reading operation of the target book by the user. And the user interaction is increased and the user experience is improved while the user is helped to know the target book through the target character relation diagram.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a flow chart of a method for generating a persona relationship graph for a book in accordance with one embodiment of the application;
FIG. 2 illustrates a device configuration diagram of a user device for generating a persona relationship graph of a book, according to one embodiment of the application;
FIG. 3 illustrates an exemplary system that may be used to implement various embodiments described in the present application.
The same or similar reference numbers in the drawings refer to the same or similar parts.
Detailed Description
The application is described in further detail below with reference to the accompanying drawings.
In one exemplary configuration of the application, the terminal, the device of the service network, and the trusted party each include one or more processors (e.g., central processing units (Central Processing Unit, CPU)), input/output interfaces, network interfaces, and memory.
The Memory may include non-volatile Memory in a computer readable medium, random access Memory (Random Access Memory, RAM) and/or non-volatile Memory, etc., such as Read Only Memory (ROM) or Flash Memory (Flash Memory). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase-Change Memory (PCM), programmable Random Access Memory (Programmable Random Access Memory, PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (Dynamic Random Access Memory, DRAM), other types of Random Access Memory (RAM), read-Only Memory (ROM), electrically erasable programmable read-Only Memory (EEPROM), flash Memory or other Memory technology, read-Only Memory (Compact Disc Read-Only Memory, CD-ROM), digital versatile disks (Digital Versatile Disc, DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by the computing device.
The device according to the present application includes, but is not limited to, a terminal, a network device, or a device formed by integrating a terminal and a network device through a network. The terminal includes, but is not limited to, any mobile electronic product capable of performing man-machine interaction with a user (for example, performing man-machine interaction through a touch pad), such as a smart phone, a tablet computer, and the like, and the mobile electronic product can adopt any operating system, such as an Android operating system, an iOS operating system, and the like. The network device includes an electronic device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable logic device (Programmable Logic Device, PLD), a field programmable gate array (Field Programmable Gate Array, FPGA), a digital signal processor (Digital Signal Processor, DSP), an embedded device, and the like. The network device includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a cloud of servers; here, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, a virtual supercomputer composed of a group of loosely coupled computer sets. Including but not limited to the internet, wide area networks, metropolitan area networks, local area networks, VPN networks, wireless Ad Hoc networks (Ad Hoc networks), and the like. Preferably, the device may also be a program running on the terminal, the network device, or a device formed by integrating the terminal with the network device, the touch terminal, or the network device with the touch terminal through a network.
Of course, those skilled in the art will appreciate that the above-described devices are merely examples, and that other devices now known or hereafter may be present as applicable to the present application, and are intended to be within the scope of the present application and are incorporated herein by reference.
In the description of the present application, the meaning of "a plurality" is two or more unless explicitly defined otherwise.
Fig. 1 shows a flowchart of a method for generating a character relationship diagram of a book according to an embodiment of the present application, the method including steps S11, S12, and S13.
Specifically, in step S11, the user device detects whether the target introduction information exists in the current reading page of the target book in response to a reading operation of the user on the target book in the reading application. In some embodiments, the target book includes, but is not limited to, a book that the user is currently reading. In some embodiments, the current reading page includes, but is not limited to, a reading page of the target book that is currently presented to the user, e.g., a reading page of the target book that the user is currently reading. In some embodiments, the reading operation includes, but is not limited to, a page turning or the like reading operation. In some embodiments, the reading application is installed in the user device, for example, the user reads the target book through the reading application. In some embodiments, the user device monitors the reading operation of the user on the target book, and detects whether the target book has target introduction information on a current reading page. In some embodiments, the target introduction information includes, but is not limited to, target persona introduction information (e.g., "persona a gets a weapon at a water curtain in wubi mountain habit", "persona B gets a weapon at a water curtain"), target relationship introduction information (e.g., "persona a and persona B are lovers" and "persona a and persona B are friends"). In some embodiments, the target introduction information is used to generate or update a target persona relationship graph for the target book. For example, the user device may detect whether the target introduction information exists in the read page of each page of the target book by detecting whether the target introduction information exists in the current read page of the target book in response to the page turning operation of the user on the target book.
In step S12, if the target introduction information exists, the user equipment acquires the target introduction information, and generates or updates a target person relationship diagram of the target book according to the target introduction information, wherein the target person relationship diagram includes the target introduction information. In some embodiments, if the target introduction information exists in the current reading page, the user equipment acquires the target introduction information, and generates or updates a target character relationship diagram of the target book according to the target introduction information. For example, the current reading page has target character introduction information, and the user device acquires the target character introduction information and adds the target character introduction information to a target character relationship graph of the target book to generate or update the target character relationship graph. For example, when the target introduction information exists in the current reading page, the user equipment generates or updates a target character relationship diagram of the target book in real time according to the acquired target introduction information. In other words, the target person relationship graph is generated or updated in real time in response to target introduction information acquired from the current reading page.
In step S13, the user device presents the target persona relationship graph in the reading application in response to a viewing operation of the target persona relationship graph by the user. In some embodiments, a view button is provided in the reading application, the user performs the view operation by clicking the view button, and the user device responds to the view operation to present the target person relationship diagram in the reading application. From the perspective of a user, in some embodiments, when the target introduction information exists in the current reading page, the user equipment generates or updates the target person relationship diagram of the target book in real time according to the acquired target introduction information, and the user can view the target person relationship diagram generated or updated in real time through the viewing operation.
For example, the user device of the user a has the reading application Y installed therein. The user a currently reads the target book W through the reading application Y. The user a currently pages 26 of the target book W. The user equipment responds to the page turning operation of the user A on the target book W, and detects whether target introduction information exists on a 26 th page of the target book W, for example, the content information on the 26 th page comprises target character introduction information of 'character A is in Wudangshan handwriting'. The user equipment acquires the target character introduction information. Further, the user device generates or updates a target person relationship diagram of the target book W based on the target person introduction information (e.g., places the target person introduction information on a corresponding position of the target person relationship diagram). And the user A performs the view operation on the target person relationship graph by clicking a view button arranged on the reading application Y, and the user equipment responds to the view operation to present the target person relationship graph in the reading application Y.
In some embodiments, the detecting whether the target book has target introduction information in the current reading page includes: and the user equipment detects whether target introduction information exists in the current reading page of the target book according to the current reading progress of the user on the target book. In some embodiments, the target person relationship graph for the target book is pre-generated. In some embodiments, the user device detects whether the target book has target introduction information on a current reading page by detecting a current reading progress of the user on the target book. In some embodiments, the current reading schedule includes, but is not limited to, "page 1", "page 2", "page 26", "10%" "12%", and the like. For example, each time a user turns through a page of the target book, the user's reading progress of the target book changes accordingly. And the user equipment responds to the reading operation of the user on the target book, and detects whether target introduction information exists on the current reading page of the target book according to the current reading progress of the user on the target book.
In some embodiments, the detecting whether the target book has target introduction information in a current reading page according to the current reading progress of the user on the target book includes: inquiring a target character relation diagram of the target book from a character relation diagram library according to book identification information of the target book by user equipment, wherein the target character relation diagram comprises one or more introduction information, and a mapping relation exists between each introduction information and reading progress of the introduction information in the target book; the user equipment determines the current reading progress of the user on the target book according to the current reading page; and the user equipment inquires whether the introduction information with the mapping relation with the current reading progress exists in the target character relation diagram according to the current reading progress, and takes the introduction information as the target introduction information. In some embodiments, the target person relationship graph for the target book is pre-generated. In some embodiments, a figure relationship gallery is established in the user device, where the figure relationship gallery includes one or more books and a figure relationship diagram for each book. For example, referring to table 1, in the personal relationship gallery, there is a mapping relationship between the book identification information of each book and the personal relationship diagram of the book. In some embodiments, the book identification information includes, but is not limited to, a book name. In some embodiments, the user device obtains book identification information of the target book, and queries a target person relationship graph of the target book from the person relationship graph library according to the book identification information of the target book. In some embodiments, the introduction information includes, but is not limited to, persona introduction information, relationship introduction information. For example, in the figure relationship diagram library, each figure relationship diagram includes one or more pieces of introduction information, and each piece of introduction information has a mapping relationship with the reading progress of the book in which it appears.
Table 1 figure relationship gallery
For example, the user device establishes the character relation library therein, and the user device generates a character relation library according to the book identification information (e.g., R 1 ) Querying the target person relationship graph of the target book from the person relationship graph library (e.g., T 1 ). The user device determines the current reading progress of the target book (e.g., D 11 ) And the user equipment inquires whether the target introduction information with the mapping relation exists in the current reading progress in the target character relation diagram according to the current reading progress. For example, the user device can query from the target persona relationship graph for a current reading progress (e.g., D 11 ) Introduction information of existence of mapping relation (e.g., I 11 ) And determining that the target book has target introduction information on the current reading page, otherwise, determining that the target book does not have the target introduction information on the current reading page.
In some embodiments, the target persona relationship graph further includes one or more icons to be replaced; the generating or updating the target person relation diagram of the target book according to the target introduction information, wherein the target person relation diagram comprises the target introduction information and comprises the following steps: the user equipment inquires an icon to be replaced, which has a mapping relation with the target introduction information, according to the introduction identification information of the target introduction information, and takes the icon to be replaced as a target icon to be replaced; and the user equipment replaces the target icon to be replaced with the target introduction information to generate or update a target character relation diagram of the target book, wherein the target character relation diagram comprises the target introduction information. In some embodiments, the persona relationship graph further includes one or more icons to be replaced, each of which has a mapping relationship with its corresponding introduction information (e.g., refer to table 2 below). In some embodiments, the icons to be replaced include, but are not limited to "? "person? "relationship? "or other shaped icon. In some embodiments, the introduction identification information includes, but is not limited to, numbering information or other identification information that is used to distinguish the target introduction information, e.g., each introduction information has its corresponding numbering information. In some embodiments, the user equipment queries an icon to be replaced having a mapping relationship with the target introduction information according to the introduction identification information of the target introduction information, and takes the icon to be replaced as a target icon to be replaced. Further, the user device replaces the icon to be replaced with the target introduction information, for example, replace target icon "? "replace with the target introduction information" character a is in the wu-bang mountain habit ". In some embodiments, the target person relationship diagram includes a plurality of icons to be replaced in an initial state (for example, when the user has not yet read the corresponding target book), and when it is detected that the target book has target introduction information on a current reading page in response to a reading operation of the user on the target book, the target icons to be replaced corresponding to the target introduction information in the target person relationship diagram are replaced with the target introduction information, so as to achieve the purpose of continuously updating the target person relationship diagram of the target book based on the reading progress of the user on the target book.
Table 2 presents the mapping relationship between information and icons to be replaced
Introduction information (I) Icon to be replaced (G)
I 11 G 11
I 12 G 12
I 13 G 13
In some embodiments, the step S13 includes: and the user equipment responds to the viewing operation of the user on the target character relation diagram, and the target character relation diagram is presented in the reading application, wherein the target position of the target icon to be replaced in the target character relation diagram presents the target introduction information. In some embodiments, a view button is provided in the reading application, the user performs the view operation by clicking the view button, and the user device responds to the view operation to present the target person relationship diagram in the reading application. In some embodiments, the target persona relationship graph is pre-generated, and the target persona relationship graph may present to the user a plurality of icons to be replaced when in the initial state. Further, if the target introduction information of the target book exists in the current reading page in response to the reading operation of the user on the target book, the user equipment inquires and acquires a target icon to be replaced of the target introduction information in the target person relation diagram. Further, in response to a view operation of the user on the target persona relationship graph (for example, the user clicks the view button), the target persona relationship graph is presented in the reading application, and in the updated target persona relationship graph, the target introduction information is presented at a target position where the target icon to be replaced is located. In this embodiment, the pre-generated target person relationship diagram responds to the presence of target introduction information on the current reading page read by the user, and presents the target introduction information in the target person relationship diagram; and if the target introduction information does not exist in the current reading page, the target character relation diagram presented to the user equipment is continuously presented in the form of the target icon to be replaced.
In some embodiments, the method further includes step S14 (not shown), in step S14, the user device sends an unlocking request for unlocking the icon to be replaced to the corresponding network device in response to a triggering operation of the user on the icon to be replaced that is not replaced in the target person relationship diagram; the user equipment receives unlocking authority information about the user returned by the network equipment; if the unlocking authority information is authorized, inquiring introduction identification information with a mapping relation with the replacement identification information from the target person relation diagram according to the replacement identification information of the icon to be replaced, and determining the target introduction information by the introduction information corresponding to the introduction identification information; otherwise, receiving a payment link which is sent by the network equipment and related to the icon to be replaced. For example, the target person relationship diagram is pre-generated, and the target person relationship diagram includes one or more icons to be replaced in the initial state, and then, in response to the reading operation of the target book by the user, the corresponding target icon to be replaced is queried based on the detected target introduction information, and the target icon to be replaced is replaced by the target introduction information. In some embodiments, if the user needs to detect whether the user has unlocking authority when the user triggers the icon to be replaced that is not yet replaced in the target person relationship diagram, the icon to be replaced is unlocked in advance (for example, the icon to be replaced is replaced with the corresponding introduction information) when the user has the unlocking authority. In some embodiments, the triggering operation includes, but is not limited to, a click operation on the icon to be replaced. In some embodiments, if the user equipment receives that the unlocking authority information returned by the network equipment is authorized, the user equipment queries introduction information corresponding to the icon to be replaced according to a mapping relationship between the icon to be replaced and the introduction information, and determines the introduction information as target introduction information so as to replace the icon to be replaced. In some embodiments, the replacement identification information includes, but is not limited to, identification information such as numbering information. In some embodiments, if the network device determines that the unlocking authority of the user is not right, the network device returns a payment link to the user device, and the icon to be replaced can be unlocked after the user pays for payment.
In some embodiments, the detecting whether the target book has target introduction information in the current reading page includes: acquiring reading content information of the current reading page; identifying whether target keywords matched with the keyword information exist in the reading content information of the current reading page according to the keyword information recorded in the keyword identification library, and detecting whether target introduction information exists in the current reading page of the target book by identifying the target keywords; the step S12 includes: if the target character relation diagram exists, generating corresponding target introduction information according to the target keyword, and adding the target introduction information into the target character relation diagram of the target book to generate or update the target character relation diagram; the step S13 includes: and responding to the view operation of the user on the target person relation diagram, and incrementally presenting the target introduction information in the target person relation diagram. In some embodiments, the target persona relationship graph is pre-generated; in other embodiments, the target persona relationship graph is generated in real-time based on the user's reading of the target book. With reference to the embodiment in which the target person relationship diagram is generated in advance, reference is made to the above description, and this embodiment begins to describe in detail a case in which the target person relationship diagram is generated in real time. In some embodiments, the user equipment obtains the reading content information of the current reading page, and detects whether the target introduction information exists in the current reading page by identifying a target keyword. For example, the identified target keyword is used to generate corresponding target introduction information, so if the target keyword exists in the current reading page, the current reading page is indicated to generate target introduction information. In some embodiments, the user equipment establishes the keyword recognition library, the keyword recognition library records a plurality of keyword information, and recognizes whether the target keyword exists in the current reading page according to the keyword information recorded in the keyword recognition library. In some embodiments, the keyword information includes, but is not limited to, persona information (e.g., name, title, etc.), persona attribute information (e.g., gender, persona action, persona habit, etc.). For example, the user device identifies a target keyword such as a "name" in the current reading page according to the keyword information of the "character information", and detects whether the target introduction information exists in the current reading page by identifying the target keyword appearing in the current reading page. And if the target keywords exist, generating corresponding target introduction information in real time according to the identified target keywords, and generating or updating a target character relation diagram of the target book in a mode of adding the generated target introduction information into the target character relation diagram. In some embodiments, the user device incrementally presents the target introduction information in the target persona relationship graph in response to a viewing operation of the user on the target persona relationship graph. In some embodiments, the incremental rendering includes: the target persona relationship graph is incrementally presented in response to the target introduction information being added to the target persona relationship graph in real-time. For example, when the user has not yet read the target book, the target introduction information is not present in the target person relationship diagram presented to the user even if the user performs a viewing operation of the target person relationship diagram. And adding the target introduction information to the target person relation graph one by one along with the generation of one or more target introduction information. In the process of adding one by one, responding to the view operation of the user on the target person relation graph, and correspondingly presenting the view operation in the target person relation graph one by one.
In some embodiments, the keyword information includes character information and character attribute information, the target introduction information includes target character introduction information, the identifying whether a target keyword matched with the keyword information exists in the reading content information of the current reading page according to the keyword information recorded in the keyword identification library, and detecting whether the target introduction information exists in the current reading page of the target book by identifying the target keyword includes: identifying whether a character keyword matched with the character information exists in the reading content information of the current reading page according to the character information; if the character attribute information exists, extracting character attribute keywords related to the character keywords in the reading content information according to the character attribute information; and generating corresponding target character introduction information according to the character keywords and the character attribute keywords. In some embodiments, the target introduction information includes, but is not limited to, target persona introduction information (e.g., "persona a practice" "" persona B obtains a weapon "). In some embodiments, the keyword information recorded in the keyword recognition library includes the personal information (e.g., name, title, etc.), personal attribute information (e.g., gender, personal action, personal habit, etc.). The user device identifies whether or not there is a character keyword (e.g., zhang three) matching the character information in the read content information of the current read page based on the character information (e.g., name). And if the character keywords exist, extracting character attribute keywords (such as learning to use) related to the character keywords (such as Zhang San) in the reading content information according to the character attribute information (such as character actions). Further, the user equipment generates corresponding character introduction information (for example, zhang Sanwu) according to the character keyword (for example, zhang Sanwu) and the character attribute keyword (for example, zhang Wu).
In some embodiments, the extracting the character attribute keywords related to the character keywords in the read content information according to the character attribute information includes: and extracting character attribute keywords related to the character keywords in the reading content information according to the character attribute information, wherein the character attribute keywords are associated with positions of the character keywords in the reading content information. In some embodiments, after the user identifies the character keyword of the current reading page according to the character information, the user identifies and extracts the character attribute keyword related to the character keyword in the reading content information according to the character attribute information. In some embodiments, the persona attribute keywords associated with the persona keywords include, but are not limited to, persona keywords associated with locations in the reading content information and persona attribute keywords. In some embodiments, the location association includes, but is not limited to being located in the same sentence or paragraph.
In some embodiments, the method further includes step S15 (not shown), in which in response to the user' S reading operation on the target book, the user device detects whether there is a character attribute keyword related to the character keyword in a next page of the target book according to the character attribute information in step S15; and if the character attribute keywords exist, extracting the character attribute keywords, and adding the character attribute keywords into target character introduction information of the character keywords. For example, the character keywords include "Zhang Sanu", and the user device identifies the character keyword of "Zhang Sanu" on page 26 and identifies the character attribute keyword related to "Zhang Sanu" on page 26 based on the character attribute information. In some embodiments, there may also be character attribute keywords associated with "Zhang Sanj" in the reading page following page 26. In some embodiments, the user device responds to the reading operation of the user on the target book, and detects whether the character attribute keywords related to the character keywords exist in the next reading page of the target book according to the character attribute information. In some embodiments, the reading operation includes, but is not limited to, paging. Further, if the character attribute keyword related to the character keyword is also present in the next page, the user adds the character attribute keyword identified in the next page to the target character introduction information of the character keyword. For example, the user equipment identifies and generates target introduction information of "Zhang Sanwu" on page 26, identifies character attribute keywords "get a weapon" related to "Zhang Sanwu" on page 38, and adds the character attribute keywords "get a weapon" to the target introduction information "Zhang Sanwu" of "Zhang Sanwu", for example, the added target introduction information includes "Zhang Sanwu; a weapon is obtained. In some embodiments, in order to enrich the target persona relationship graph, the user may better understand the target book through the target persona relationship graph, and may further acquire other related information (e.g., related information of location, time, etc.) to enrich the target introduction information (e.g., the target persona introduction information). For example, identifying the location (e.g., water curtain hole) where the "get a weapon" generates target persona introduction information including: ' Zhangsan is in Wudangshan practice; a weapon is obtained in the water curtain hole.
In some embodiments, the keyword information includes character information and relationship attribute information, the target introduction information includes target relationship introduction information, the identifying whether a target keyword matched with the keyword information exists in the reading content information of the current reading page according to the keyword information recorded in the keyword identification library, and detecting whether the target book exists the target introduction information in the current reading page by identifying the target keyword includes: identifying whether a character keyword matched with the character information exists in the reading content information of the current reading page according to the character information; if so, detecting whether the read content information contains the associated character keywords associated with the character keywords, wherein the associated character keywords are matched with the character information; if the related character keywords exist, extracting the relation attribute keywords of the reading content information, the character keywords and the related character keywords according to the relation attribute information; and generating target relation introduction information of the character keywords and the associated character keywords according to the relation attribute keywords. In some embodiments, the target introduction information includes, but is not limited to, target relationship introduction information (e.g., "person A and person B are lovers" and "person A and person B are friends"). In some embodiments, the keyword information recorded in the keyword recognition library includes the persona information (e.g., name, title, etc.), relationship attribute information (e.g., action information, habit information, etc.). The user device identifies whether or not there is a character keyword (e.g., zhang three) matching the character information in the read content information of the current read page based on the character information (e.g., name). If the character keyword (for example, zhang San) exists, detecting whether an associated character keyword (for example, lifour) associated with the character keyword (for example, zhang San) exists in the reading content information, wherein the associated character keyword (for example, lifour) is matched with the character information (for example, name). And if the associated person keywords (e.g., lifour) exist, extracting the relationship attribute keywords (e.g., kissing) of the reading content information, the person keywords and the associated person keywords according to the relationship attribute information (e.g., action information). Further, target relationship introduction information (e.g., lovers) of the character keyword (e.g., zhang three) and the associated character keyword (e.g., lifour) is generated according to the relationship attribute keyword (e.g., kissing). In some embodiments, the relationship attribute information includes, but is not limited to, the action information, habit information.
In some embodiments, the detecting whether the read content information has an associated character keyword associated with the character keyword, wherein the associated character keyword matches the character information comprises: and detecting whether the read content information contains an associated character keyword associated with the character keyword, wherein the associated character keyword is matched with the character information, and the character keyword is associated with the position of the associated character keyword in the read content information. In some embodiments, the location association includes, but is not limited to, the same sentence or paragraph, e.g., if the persona keyword is in the same sentence or paragraph as the associated persona keyword, then determining that the persona keyword is associated with the associated persona keyword.
In some embodiments, the extracting the relationship attribute key related to the person key and the associated person key according to the relationship attribute information includes: identifying a relationship attribute keyword associated with the position of the character keyword according to the relationship attribute information; and determining target relation introduction information between the character keywords and the associated character keywords according to the relation attribute keywords, wherein a mapping relation exists between the target relation introduction information and the relation attribute keywords. In some embodiments, after identifying the persona keywords and the associated persona keywords, a relationship attribute keyword (e.g., kissing) associated with the persona keywords and the presence locations of the associated persona keywords is identified based on the relationship attribute information (e.g., action information). In some embodiments, the location association includes, but is not limited to, the same sentence or the same paragraph. For example, the reading content information is played together with the sentence of 'Zhang Sanand Liu Fu', the relation attribute information comprises 'action information', the identified character keywords comprise 'Zhang San', the associated character keywords comprise 'Liu Fu', and the relation attribute keywords comprise 'play'. Further, target relationship introduction information (e.g., friends) between the persona keywords and the associated persona keywords is determined based on the relationship property keywords (e.g., play). In some embodiments, mapping relations between a plurality of relation introduction information and relation attribute keywords are stored in the user equipment, the relation introduction information having a mapping relation with the relation attribute keywords is searched according to the relation attribute keywords identified from the reading content information, and the relation introduction information is determined as the target relation introduction information. For example, a mapping relationship exists between relationship introduction information of a friend and relationship attribute keywords such as "hand in hand", "play together", and the like; the relation introduction information of the lovers and the relation attribute keywords of the kiss and the appointments have a mapping relation.
In some embodiments, the generating or updating the target person relationship graph of the target book according to the target introduction information includes: and adding the target character introduction information to the target character relation graph according to the acquisition time of the target character introduction information by a user so as to generate or update the target character relation graph of the target book. For example, when the user does not read the target book and the user device does not acquire the target introduction information, the target person relationship diagram of the target book does not have the target introduction information. When the user equipment acquires the target introduction information, the user equipment adds the acquired target introduction information into a target character relation diagram of the target book. Further, with the generation and acquisition of one or more pieces of the target introduction information, the one or more pieces of the target introduction information are added to the target person relationship graph one by one according to the acquisition time of the target introduction information.
Fig. 2 shows a device configuration diagram of a user device for generating a character relationship diagram of a book according to an embodiment of the present application, the device including one-to-one module, two modules, and three modules.
Specifically, a module is used for responding to the reading operation of a user on a target book in reading application, and detecting whether the target book has target introduction information in a current reading page. In some embodiments, the target book includes, but is not limited to, a book that the user is currently reading. In some embodiments, the current reading page includes, but is not limited to, a reading page of the target book that is currently presented to the user, e.g., a reading page of the target book that the user is currently reading. In some embodiments, the reading operation includes, but is not limited to, a page turning or the like reading operation. In some embodiments, the reading application is installed in the user device, for example, the user reads the target book through the reading application. In some embodiments, the user device monitors the reading operation of the user on the target book, and detects whether the target book has target introduction information on a current reading page. In some embodiments, the target introduction information includes, but is not limited to, target persona introduction information (e.g., "persona a gets a weapon at a water curtain in wubi mountain habit", "persona B gets a weapon at a water curtain"), target relationship introduction information (e.g., "persona a and persona B are lovers" and "persona a and persona B are friends"). In some embodiments, the target introduction information is used to generate or update a target persona relationship graph for the target book. For example, the user device may detect whether the target introduction information exists in the read page of each page of the target book by detecting whether the target introduction information exists in the current read page of the target book in response to the page turning operation of the user on the target book.
And the second module is used for acquiring the target introduction information by the user equipment and generating or updating a target character relation diagram of the target book according to the target introduction information if the target introduction information exists, wherein the target character relation diagram comprises the target introduction information. In some embodiments, if the target introduction information exists in the current reading page, the user equipment acquires the target introduction information, and generates or updates a target character relationship diagram of the target book according to the target introduction information. For example, the current reading page has target character introduction information, and the user device acquires the target character introduction information and adds the target character introduction information to a target character relationship graph of the target book to generate or update the target character relationship graph. For example, when the target introduction information exists in the current reading page, the user equipment generates or updates a target character relationship diagram of the target book in real time according to the acquired target introduction information. In other words, the target person relationship graph is generated or updated in real time in response to target introduction information acquired from the current reading page.
And the three modules are used for responding to the viewing operation of the user on the target person relation graph and presenting the target person relation graph in the reading application. In some embodiments, a view button is provided in the reading application, the user performs the view operation by clicking the view button, and the user device responds to the view operation to present the target person relationship diagram in the reading application. From the perspective of a user, in some embodiments, when the target introduction information exists in the current reading page, the user equipment generates or updates the target person relationship diagram of the target book in real time according to the acquired target introduction information, and the user can view the target person relationship diagram generated or updated in real time through the viewing operation.
For example, the user device of the user a has the reading application Y installed therein. The user a currently reads the target book W through the reading application Y. The user a currently pages 26 of the target book W. The user equipment responds to the page turning operation of the user A on the target book W, and detects whether target introduction information exists on a 26 th page of the target book W, for example, the content information on the 26 th page comprises target character introduction information of 'character A is in Wudangshan handwriting'. The user equipment acquires the target character introduction information. Further, the user device generates or updates a target person relationship diagram of the target book W based on the target person introduction information (e.g., places the target person introduction information on a corresponding position of the target person relationship diagram). And the user A performs the view operation on the target person relationship graph by clicking a view button arranged on the reading application Y, and the user equipment responds to the view operation to present the target person relationship graph in the reading application Y.
In some embodiments, the detecting whether the target book has target introduction information in the current reading page includes: and the user equipment detects whether target introduction information exists in the current reading page of the target book according to the current reading progress of the user on the target book. In some embodiments, the target person relationship graph for the target book is pre-generated. In some embodiments, the user device detects whether the target book has target introduction information on a current reading page by detecting a current reading progress of the user on the target book. In some embodiments, the current reading schedule includes, but is not limited to, "page 1", "page 2", "page 26", "10%" "12%", and the like. For example, each time a user turns through a page of the target book, the user's reading progress of the target book changes accordingly. And the user equipment responds to the reading operation of the user on the target book, and detects whether target introduction information exists on the current reading page of the target book according to the current reading progress of the user on the target book.
In some embodiments, the detecting whether the target book has target introduction information in a current reading page according to the current reading progress of the user on the target book includes: inquiring a target character relation diagram of the target book from a character relation diagram library according to book identification information of the target book by user equipment, wherein the target character relation diagram comprises one or more introduction information, and a mapping relation exists between each introduction information and reading progress of the introduction information in the target book; the user equipment determines the current reading progress of the user on the target book according to the current reading page; and the user equipment inquires whether the introduction information with the mapping relation with the current reading progress exists in the target character relation diagram according to the current reading progress, and takes the introduction information as the target introduction information. In some embodiments, the target person relationship graph for the target book is pre-generated. In some embodiments, a figure relationship gallery is established in the user device, where the figure relationship gallery includes one or more books and a figure relationship diagram for each book. For example, referring to table 1, in the personal relationship gallery, there is a mapping relationship between the book identification information of each book and the personal relationship diagram of the book. In some embodiments, the book identification information includes, but is not limited to, a book name. In some embodiments, the user device obtains book identification information of the target book, and queries a target person relationship graph of the target book from the person relationship graph library according to the book identification information of the target book. In some embodiments, the introduction information includes, but is not limited to, persona introduction information, relationship introduction information. For example, in the figure relationship diagram library, each figure relationship diagram includes one or more pieces of introduction information, and each piece of introduction information has a mapping relationship with the reading progress of the book in which it appears.
Table 1 figure relationship gallery
For example, the user device establishes the figure relation diagram library, and the user device queries a target figure relation diagram (for example, T1) of the target book from the figure relation diagram library according to book identification information (for example, R1) of the target book. And the user equipment determines the current reading progress (e.g. D11) of the user on the target book according to the current reading page (e.g. page 26), and inquires whether target introduction information with a mapping relation exists in the current reading progress in the target character relation diagram according to the current reading progress. For example, the user equipment can query introduction information (for example, I11) having a mapping relationship with the current reading progress (for example, D11) from the target character relationship diagram, and then determine that the target book has target introduction information on the current reading page, or determine that the target book does not have the target introduction information on the current reading page.
In some embodiments, the target persona relationship graph further includes one or more icons to be replaced; the two modules are used for: if yes, acquiring the target introduction information; inquiring an icon to be replaced, which has a mapping relation with the target introduction information, according to the introduction identification information of the target introduction information, and taking the icon to be replaced as a target icon to be replaced; and replacing the target icon to be replaced with the target introduction information to generate or update a target character relation diagram of the target book, wherein the target character relation diagram comprises the target introduction information.
Here, the example of the implementation of the above two modules is the same as or similar to the embodiment of step S12, so that the description is omitted herein for brevity.
In some embodiments, the one three modules are for: and responding to the view operation of the user on the target character relation diagram, and presenting the target character relation diagram in the reading application, wherein the target position of the target icon to be replaced in the target character relation diagram presents the target introduction information.
Here, the example of the implementation of the above-mentioned three modules is the same as or similar to the embodiment of the above-mentioned step S13, so that the description is omitted here and incorporated by reference.
In some embodiments, the device further includes a four-module (not shown), and the four-module is configured to send an unlocking request for unlocking the icon to be replaced to the corresponding network device in response to a triggering operation of the user on the icon to be replaced that is not replaced in the target person relationship diagram; the user equipment receives unlocking authority information about the user returned by the network equipment; if the unlocking authority information is authorized, inquiring introduction identification information with a mapping relation with the replacement identification information from the target person relation diagram according to the replacement identification information of the icon to be replaced, and determining the target introduction information by the introduction information corresponding to the introduction identification information; otherwise, receiving a payment link which is sent by the network equipment and related to the icon to be replaced.
Here, the example of the implementation of the above-mentioned four modules is the same as or similar to the embodiment of the above-mentioned step S14, so that the description is omitted here and incorporated by reference.
In some embodiments, the detecting whether the target book has target introduction information in the current reading page includes: acquiring reading content information of the current reading page; identifying whether target keywords matched with the keyword information exist in the reading content information of the current reading page according to the keyword information recorded in the keyword identification library, and detecting whether target introduction information exists in the current reading page of the target book by identifying the target keywords; the two modules comprise: if the target character relation diagram exists, generating corresponding target introduction information according to the target keyword, and adding the target introduction information into the target character relation diagram of the target book to generate or update the target character relation diagram; the three modules include: and responding to the view operation of the user on the target person relation diagram, and incrementally presenting the target introduction information in the target person relation diagram.
Here, the specific implementation examples of the two modules and the three modules are the same as or similar to those of the embodiments of the step S12 and the step S13, and are not described in detail herein, and are incorporated herein by reference.
In some embodiments, the keyword information includes character information and character attribute information, the target introduction information includes target character introduction information, the identifying whether a target keyword matched with the keyword information exists in the reading content information of the current reading page according to the keyword information recorded in the keyword identification library, and detecting whether the target introduction information exists in the current reading page of the target book by identifying the target keyword includes: identifying whether a character keyword matched with the character information exists in the reading content information of the current reading page according to the character information; if the character attribute information exists, extracting character attribute keywords related to the character keywords in the reading content information according to the character attribute information; and generating corresponding target character introduction information according to the character keywords and the character attribute keywords. In some embodiments, the target introduction information includes, but is not limited to, target persona introduction information (e.g., "persona a practice" "" persona B obtains a weapon "). In some embodiments, the keyword information recorded in the keyword recognition library includes the personal information (e.g., name, title, etc.), personal attribute information (e.g., gender, personal action, personal habit, etc.). The user device identifies whether or not there is a character keyword (e.g., zhang three) matching the character information in the read content information of the current read page based on the character information (e.g., name). And if the character keywords exist, extracting character attribute keywords (such as learning to use) related to the character keywords (such as Zhang San) in the reading content information according to the character attribute information (such as character actions). Further, the user equipment generates corresponding character introduction information (for example, zhang Sanwu) according to the character keyword (for example, zhang Sanwu) and the character attribute keyword (for example, zhang Wu).
In some embodiments, the extracting the character attribute keywords related to the character keywords in the read content information according to the character attribute information includes: and extracting character attribute keywords related to the character keywords in the reading content information according to the character attribute information, wherein the character attribute keywords are associated with positions of the character keywords in the reading content information. In some embodiments, after the user identifies the character keyword of the current reading page according to the character information, the user identifies and extracts the character attribute keyword related to the character keyword in the reading content information according to the character attribute information. In some embodiments, the persona attribute keywords associated with the persona keywords include, but are not limited to, persona keywords associated with locations in the reading content information and persona attribute keywords. In some embodiments, the location association includes, but is not limited to being located in the same sentence or paragraph.
In some embodiments, the apparatus further includes a five module (not shown) for detecting whether or not there is a character attribute keyword related to the character keyword in a next page of the target book according to the character attribute information in response to the user's reading operation on the target book; and if the character attribute keywords exist, extracting the character attribute keywords, and adding the character attribute keywords into target character introduction information of the character keywords.
Here, the example of the implementation of the above-mentioned five modules is the same as or similar to the embodiment of the above-mentioned step S15, so that the detailed description is omitted here, and the disclosure is hereby incorporated by reference.
In some embodiments, the keyword information includes character information and relationship attribute information, the target introduction information includes target relationship introduction information, the identifying whether a target keyword matched with the keyword information exists in the reading content information of the current reading page according to the keyword information recorded in the keyword identification library, and detecting whether the target book exists the target introduction information in the current reading page by identifying the target keyword includes: identifying whether a character keyword matched with the character information exists in the reading content information of the current reading page according to the character information; if so, detecting whether the read content information contains the associated character keywords associated with the character keywords, wherein the associated character keywords are matched with the character information; if the related character keywords exist, extracting the relation attribute keywords of the reading content information, the character keywords and the related character keywords according to the relation attribute information; and generating target relation introduction information of the character keywords and the associated character keywords according to the relation attribute keywords. In some embodiments, the target introduction information includes, but is not limited to, target relationship introduction information (e.g., "person A and person B are lovers" and "person A and person B are friends"). In some embodiments, the keyword information recorded in the keyword recognition library includes the persona information (e.g., name, title, etc.), relationship attribute information (e.g., action information, habit information, etc.). The user device identifies whether or not there is a character keyword (e.g., zhang three) matching the character information in the read content information of the current read page based on the character information (e.g., name). If the character keyword (for example, zhang San) exists, detecting whether an associated character keyword (for example, lifour) associated with the character keyword (for example, zhang San) exists in the reading content information, wherein the associated character keyword (for example, lifour) is matched with the character information (for example, name). And if the associated person keywords (e.g., lifour) exist, extracting the relationship attribute keywords (e.g., kissing) of the reading content information, the person keywords and the associated person keywords according to the relationship attribute information (e.g., action information). Further, target relationship introduction information (e.g., lovers) of the character keyword (e.g., zhang three) and the associated character keyword (e.g., lifour) is generated according to the relationship attribute keyword (e.g., kissing). In some embodiments, the relationship attribute information includes, but is not limited to, the action information, habit information.
In some embodiments, the detecting whether the read content information has an associated character keyword associated with the character keyword, wherein the associated character keyword matches the character information comprises: and detecting whether the read content information contains an associated character keyword associated with the character keyword, wherein the associated character keyword is matched with the character information, and the character keyword is associated with the position of the associated character keyword in the read content information. In some embodiments, the location association includes, but is not limited to, the same sentence or paragraph, e.g., if the persona keyword is in the same sentence or paragraph as the associated persona keyword, then determining that the persona keyword is associated with the associated persona keyword.
In some embodiments, the extracting the relationship attribute key related to the person key and the associated person key according to the relationship attribute information includes: identifying a relationship attribute keyword associated with the position of the character keyword according to the relationship attribute information; and determining target relation introduction information between the character keywords and the associated character keywords according to the relation attribute keywords, wherein a mapping relation exists between the target relation introduction information and the relation attribute keywords. In some embodiments, after identifying the persona keywords and the associated persona keywords, a relationship attribute keyword (e.g., kissing) associated with the persona keywords and the presence locations of the associated persona keywords is identified based on the relationship attribute information (e.g., action information). In some embodiments, the location association includes, but is not limited to, the same sentence or the same paragraph. For example, the reading content information is played together with the sentence of 'Zhang Sanand Liu Fu', the relation attribute information comprises 'action information', the identified character keywords comprise 'Zhang San', the associated character keywords comprise 'Liu Fu', and the relation attribute keywords comprise 'play'. Further, target relationship introduction information (e.g., friends) between the persona keywords and the associated persona keywords is determined based on the relationship property keywords (e.g., play). In some embodiments, mapping relations between a plurality of relation introduction information and relation attribute keywords are stored in the user equipment, the relation introduction information having a mapping relation with the relation attribute keywords is searched according to the relation attribute keywords identified from the reading content information, and the relation introduction information is determined as the target relation introduction information. For example, a mapping relationship exists between relationship introduction information of a friend and relationship attribute keywords such as "hand in hand", "play together", and the like; the relation introduction information of the lovers and the relation attribute keywords of the kiss and the appointments have a mapping relation.
In some embodiments, the generating or updating the target person relationship graph of the target book according to the target introduction information includes: and adding the target character introduction information to the target character relation graph according to the acquisition time of the target character introduction information by a user so as to generate or update the target character relation graph of the target book. For example, when the user does not read the target book and the user device does not acquire the target introduction information, the target person relationship diagram of the target book does not have the target introduction information. When the user equipment acquires the target introduction information, the user equipment adds the acquired target introduction information into a target character relation diagram of the target book. Further, with the generation and acquisition of one or more pieces of the target introduction information, the one or more pieces of the target introduction information are added to the target person relationship graph one by one according to the acquisition time of the target introduction information.
In addition to the methods and apparatus described in the above embodiments, the present application also provides a computer-readable storage medium storing computer code which, when executed, performs a method as described in any one of the preceding claims.
The application also provides a computer program product which, when executed by a computer device, performs a method as claimed in any preceding claim.
The present application also provides a computer device comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
FIG. 3 illustrates an exemplary system that may be used to implement various embodiments described herein;
in some embodiments, as shown in fig. 3, system 300 can function as any of the user devices of the various described embodiments. In some embodiments, system 300 may include one or more computer-readable media (e.g., system memory or NVM/storage 320) having instructions and one or more processors (e.g., processor(s) 305) coupled with the one or more computer-readable media and configured to execute the instructions to implement the modules to perform the actions described in the present application.
For one embodiment, the system control module 310 may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) 305 and/or any suitable device or component in communication with the system control module 310.
The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. Memory controller module 330 may be a hardware module, a software module, and/or a firmware module.
The system memory 315 may be used, for example, to load and store data and/or instructions for the system 300. For one embodiment, system memory 315 may include any suitable volatile memory, such as, for example, a suitable DRAM. In some embodiments, the system memory 315 may comprise a double data rate type four synchronous dynamic random access memory (DDR 4 SDRAM).
For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 320 and communication interface(s) 325.
For example, NVM/storage 320 may be used to store data and/or instructions. NVM/storage 320 may include any suitable nonvolatile memory (e.g., flash memory) and/or may include any suitable nonvolatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 320 may include storage resources that are physically part of the device on which system 300 is installed or which may be accessed by the device without being part of the device. For example, NVM/storage 320 may be accessed over a network via communication interface(s) 325.
Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and/or with any other suitable device. The system 300 may wirelessly communicate with one or more components of a wireless network in accordance with any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) 305 may be packaged together with logic of one or more controllers (e.g., memory controller module 330) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be packaged together with logic of one or more controllers of the system control module 310 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die as logic of one or more controllers of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic of one or more controllers of the system control module 310 to form a system on chip (SoC).
In various embodiments, the system 300 may be, but is not limited to being: a server, workstation, desktop computing device, or mobile computing device (e.g., laptop computing device, handheld computing device, tablet, netbook, etc.). In various embodiments, system 300 may have more or fewer components and/or different architectures. For example, in some embodiments, system 300 includes one or more cameras, keyboards, liquid Crystal Display (LCD) screens (including touch screen displays), non-volatile memory ports, multiple antennas, graphics chips, application Specific Integrated Circuits (ASICs), and speakers.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, e.g., using Application Specific Integrated Circuits (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present application may be executed by a processor to perform the steps or functions described above. Likewise, the software programs of the present application (including associated data structures) may be stored on a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
Furthermore, portions of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application by way of operation of the computer. Those skilled in the art will appreciate that the form of computer program instructions present in a computer readable medium includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Herein, a computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by a computer.
Communication media includes media whereby a communication signal containing, for example, computer readable instructions, data structures, program modules, or other data, is transferred from one system to another. Communication media may include conductive transmission media such as electrical cables and wires (e.g., optical fibers, coaxial, etc.) and wireless (non-conductive transmission) media capable of transmitting energy waves, such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied as a modulated data signal, for example, in a wireless medium, such as a carrier wave or similar mechanism, such as that embodied as part of spread spectrum technology. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory, such as random access memory (RAM, DRAM, SRAM); and nonvolatile memory such as flash memory, various read only memory (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memory (MRAM, feRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed computer-readable information/data that can be stored for use by a computer system.
An embodiment according to the application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to operate a method and/or a solution according to the embodiments of the application as described above.
It will be evident to those skilled in the art that the application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the apparatus claims can also be implemented by means of one unit or means in software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.

Claims (13)

1. The method for generating the character relation diagram of the book is applied to a user equipment side, and comprises the following steps:
responding to reading operation of a user on a target book in reading application, and detecting whether target introduction information exists in a current reading page of the target book;
if the target person relation diagram exists, acquiring the target introduction information, and generating or updating a target person relation diagram of the target book according to the target introduction information, wherein the target person relation diagram comprises the target introduction information;
presenting the target persona relationship graph in the reading application in response to a viewing operation of the target persona relationship graph by the user;
the detecting whether the target book has target introduction information in the current reading page comprises the following steps:
inquiring a target character relation diagram of the target book from a character relation diagram library according to book identification information of the target book, wherein the target character relation diagram comprises one or more introduction information, and a mapping relation exists between each introduction information and reading progress of the introduction information in the target book; determining the current reading progress of the user on the target book according to the current reading page; inquiring whether introduction information with a mapping relation with the current reading progress exists in the target character relation diagram according to the current reading progress, and taking the introduction information as the target introduction information; or alternatively, the process may be performed,
Acquiring reading content information of the current reading page; identifying whether target keywords matched with the keyword information exist in the reading content information of the current reading page according to the keyword information recorded in the keyword identification library, and detecting whether target introduction information exists in the current reading page of the target book by identifying the target keywords; and if the target introduction information exists, acquiring the target introduction information, and generating or updating a target person relation diagram of the target book according to the target introduction information, wherein the target person relation diagram comprises the target introduction information and comprises the following steps: if the target character relation diagram exists, generating corresponding target introduction information according to the target keyword, and adding the target introduction information into the target character relation diagram of the target book to generate or update the target character relation diagram; the responding to the view operation of the user on the target person relation graph, presenting the target person relation graph in the reading application comprises the following steps: and responding to the view operation of the user on the target person relation diagram, and incrementally presenting the target introduction information in the target person relation diagram.
2. The method of claim 1, wherein the target persona relationship graph further includes one or more icons to be replaced; the generating or updating the target person relation diagram of the target book according to the target introduction information, wherein the target person relation diagram comprises the target introduction information and comprises the following steps:
inquiring an icon to be replaced, which has a mapping relation with the target introduction information, according to the introduction identification information of the target introduction information, and taking the icon to be replaced as a target icon to be replaced;
and replacing the target icon to be replaced with the target introduction information to generate or update a target character relation diagram of the target book, wherein the target character relation diagram comprises the target introduction information.
3. The method of claim 2, wherein the presenting the target persona relationship graph in the reading application in response to the user's viewing operation of the target persona relationship graph comprises:
and responding to the view operation of the user on the target character relation diagram, and presenting the target character relation diagram in the reading application, wherein the target position of the target icon to be replaced in the target character relation diagram presents the target introduction information.
4. A method according to claim 3, wherein the method further comprises:
responding to the triggering operation of the user on the non-replaced icon to be replaced in the target character relation diagram, and sending an unlocking request for unlocking the icon to be replaced to corresponding network equipment;
receiving unlocking authority information about the user returned by the network equipment;
if the unlocking authority information is authorized, inquiring introduction identification information with a mapping relation with the replacement identification information from the target person relation diagram according to the replacement identification information of the icon to be replaced, and determining the target introduction information by the introduction information corresponding to the introduction identification information; otherwise, receiving a payment link which is sent by the network equipment and related to the icon to be replaced.
5. The method of claim 1, wherein the keyword information includes character information and character attribute information, the target introduction information includes target character introduction information, the identifying whether there is a target keyword matching the keyword information in the read content information of the current read page according to the keyword information recorded in the keyword recognition library, and detecting whether there is target introduction information in the current read page of the target book by identifying the target keyword includes:
Identifying whether a character keyword matched with the character information exists in the reading content information of the current reading page according to the character information;
if the character attribute information exists, extracting character attribute keywords related to the character keywords in the reading content information according to the character attribute information;
and generating corresponding target character introduction information according to the character keywords and the character attribute keywords.
6. The method of claim 5, wherein the extracting the persona attribute keywords associated with the persona keywords in the read content information from the persona attribute information comprises:
and extracting character attribute keywords related to the character keywords in the reading content information according to the character attribute information, wherein the character attribute keywords are associated with positions of the character keywords in the reading content information.
7. The method of claim 5, wherein the method further comprises:
responding to the reading operation of the user on the target book, and detecting whether a character attribute keyword related to the character keyword exists in a next page reading page of the target book according to the character attribute information;
And if the character attribute keywords exist, extracting the character attribute keywords, and adding the character attribute keywords into target character introduction information of the character keywords.
8. The method of claim 1, wherein the keyword information includes character information, relationship attribute information, the target introduction information includes target relationship introduction information, the identifying whether there is a target keyword matching the keyword information in the read content information of the current read page according to the keyword information recorded in the keyword recognition library, and detecting whether there is target introduction information in the current read page of the target book by identifying the target keyword includes:
identifying whether a character keyword matched with the character information exists in the reading content information of the current reading page according to the character information;
if so, detecting whether the read content information contains the associated character keywords associated with the character keywords, wherein the associated character keywords are matched with the character information;
if the related character keywords exist, extracting the relation attribute keywords of the reading content information, the character keywords and the related character keywords according to the relation attribute information;
And generating target relation introduction information of the character keywords and the associated character keywords according to the relation attribute keywords.
9. The method of claim 8, wherein the detecting whether the read content information has an associated persona keyword associated with the persona keyword, wherein the associated persona keyword matches the persona information comprises:
and detecting whether the read content information contains an associated character keyword associated with the character keyword, wherein the associated character keyword is matched with the character information, and the character keyword is associated with the position of the associated character keyword in the read content information.
10. The method of claim 8, wherein the extracting the relationship-attribute keywords of the read content information related to the persona keywords and the associated persona keywords from the relationship-attribute information comprises:
identifying a relationship attribute keyword associated with the position of the character keyword according to the relationship attribute information;
and determining target relation introduction information between the character keywords and the associated character keywords according to the relation attribute keywords, wherein a mapping relation exists between the target relation introduction information and the relation attribute keywords.
11. The method of claim 1, wherein the generating or updating the target person relationship graph of the target book according to the target introduction information comprises:
adding the target introduction information to the target person relationship graph according to the acquisition time of the target introduction information so as to generate or update the target person relationship graph of the target book.
12. An apparatus for generating a persona relationship graph of a book, wherein the apparatus comprises:
a processor; and
a memory arranged to store computer executable instructions which, when executed, cause the processor to perform the operations of the method of any one of claims 1 to 11.
13. A computer readable medium storing instructions that, when executed, cause a system to perform operations of performing the method of any one of claims 1 to 11.
CN202010968723.6A 2020-09-15 2020-09-15 Method and equipment for generating character relation graph of book Active CN112241461B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010968723.6A CN112241461B (en) 2020-09-15 2020-09-15 Method and equipment for generating character relation graph of book
PCT/CN2021/118230 WO2022057788A1 (en) 2020-09-15 2021-09-14 Method and device for generating character relation map of book

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010968723.6A CN112241461B (en) 2020-09-15 2020-09-15 Method and equipment for generating character relation graph of book

Publications (2)

Publication Number Publication Date
CN112241461A CN112241461A (en) 2021-01-19
CN112241461B true CN112241461B (en) 2023-08-18

Family

ID=74171474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010968723.6A Active CN112241461B (en) 2020-09-15 2020-09-15 Method and equipment for generating character relation graph of book

Country Status (2)

Country Link
CN (1) CN112241461B (en)
WO (1) WO2022057788A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241461B (en) * 2020-09-15 2023-08-18 上海连尚网络科技有限公司 Method and equipment for generating character relation graph of book

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182535A (en) * 2014-08-29 2014-12-03 苏州大学 Method and device for extracting character relation
CN106095748A (en) * 2016-06-06 2016-11-09 东软集团股份有限公司 A kind of method and device generating event relation collection of illustrative plates
CN107526722A (en) * 2017-07-31 2017-12-29 努比亚技术有限公司 A kind of character relation analysis method and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120310956A1 (en) * 2011-06-03 2012-12-06 Huhn Derrick S System and method for processing graphs of user relationships in an online service
US20160063596A1 (en) * 2014-08-27 2016-03-03 Kobo Incorporated Automatically generating reading recommendations based on linguistic difficulty
CN111131419A (en) * 2019-12-13 2020-05-08 掌阅科技股份有限公司 Information pushing method and server based on book pages
CN112241461B (en) * 2020-09-15 2023-08-18 上海连尚网络科技有限公司 Method and equipment for generating character relation graph of book

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182535A (en) * 2014-08-29 2014-12-03 苏州大学 Method and device for extracting character relation
CN106095748A (en) * 2016-06-06 2016-11-09 东软集团股份有限公司 A kind of method and device generating event relation collection of illustrative plates
CN107526722A (en) * 2017-07-31 2017-12-29 努比亚技术有限公司 A kind of character relation analysis method and terminal

Also Published As

Publication number Publication date
WO2022057788A1 (en) 2022-03-24
CN112241461A (en) 2021-01-19

Similar Documents

Publication Publication Date Title
CN109408696B (en) Method and equipment for searching hosted program
CN107463693B (en) Data processing method, device, terminal and computer readable storage medium
KR101854381B1 (en) Providing definitions that are sensitive to the context of a text
CN110502298B (en) Method and equipment for providing update reminding information of electronic book
CN109359237B (en) Method and equipment for searching hosted program
KR20180008480A (en) System and method for extracting and sharing application-related user data
CN110266505B (en) Method and equipment for managing session group
WO2016091095A1 (en) Searching method and system based on touch operation on terminal interface
CN111104507A (en) Method and equipment for providing associated book information
CN110717030A (en) Method and equipment for presenting detail pages of electronic books
US20160077673A1 (en) Intelligent Canvas
CN111930277A (en) Method and equipment for providing presence information
CN110781397A (en) Method and equipment for providing novel information
CN110502299B (en) Method and equipment for providing novel information
CN110768894B (en) Method and equipment for deleting session message
CN111523039A (en) Method and equipment for processing book update prompting request in reading application
CN111488097A (en) Method and equipment for providing reading presentation information
CN112241461B (en) Method and equipment for generating character relation graph of book
CN111796741B (en) Method and equipment for providing recommended books
CN112306606A (en) Method and equipment for presenting control style
CN110765258B (en) Method and equipment for providing electronic books
CN110781269B (en) Method and equipment for searching books in reading application
CN112069116A (en) Method and equipment for generating reading page configuration information
CN111666195A (en) Method and apparatus for providing video information or image information
CN110232155A (en) The information recommendation method and electronic equipment of browser interface

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