CN108920610B - Novel indexing method and device - Google Patents

Novel indexing method and device Download PDF

Info

Publication number
CN108920610B
CN108920610B CN201810687624.3A CN201810687624A CN108920610B CN 108920610 B CN108920610 B CN 108920610B CN 201810687624 A CN201810687624 A CN 201810687624A CN 108920610 B CN108920610 B CN 108920610B
Authority
CN
China
Prior art keywords
novel
alternative
novels
user
name
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
CN201810687624.3A
Other languages
Chinese (zh)
Other versions
CN108920610A (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 CN201810687624.3A priority Critical patent/CN108920610B/en
Publication of CN108920610A publication Critical patent/CN108920610A/en
Application granted granted Critical
Publication of CN108920610B publication Critical patent/CN108920610B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application aims to provide a novel indexing method and device, wherein a network device establishes and stores a novel index, and the novel index comprises a mapping relation between at least one character name in a novel and basic information of the novel; when a user needs to retrieve a specific novel to be indexed, the network equipment receives a retrieval request from the user equipment, wherein the retrieval request comprises a character name in the novel to be indexed; retrieving at least one alternative novel for the user equipment based on the stored novel index and the name of the person in the novel to be indexed; the network equipment sends the at least one alternative novel to the user equipment, so that the user can quickly select the novel which the user wants to retrieve from the at least one alternative novel received and presented by the user equipment, the requirement that the user uses the name of the character in the novel to retrieve is met, the efficiency that the user learns the novel corresponding to the name of the character is greatly improved, and the reading experience of the user is improved.

Description

Novel indexing method and device
Technical Field
The present application relates to the field of computers, and in particular, to a novel indexing method and apparatus.
Background
Currently, a novel class APP retrieves novels by using only book names and author names, but when a user forgets the book names and author names and remembers only the names of characters in the novels or wants to search the novel of contents about historical characters, no corresponding search is performed to obtain the desired novels. For example, when a user wants to see a fiction of a historical character (such as a fiction about Zhao cloud) or to recall the fiction by using a character name (such as "Zhouyu" recall "Yuan respect"), there is no corresponding means to meet the user's needs, and the user can only know the name of the fiction or the author of the fiction by other means to retrieve the corresponding fiction, which undoubtedly limits the channel for the user to obtain the fiction, brings a bad experience to the user's timely experience, and increases the time for the user to retrieve a target fiction.
Disclosure of Invention
An object of the present application is to provide a novel indexing method and device, so as to solve the problems of low time cost and low user experience caused in the course of retrieving novel in the prior art.
According to an aspect of the present application, there is provided a novel indexing method, wherein the method includes:
establishing and storing a novel index, wherein the novel index comprises a mapping relation between at least one character name in a novel and the basic information of the novel;
receiving a retrieval request from user equipment, wherein the retrieval request comprises a person name in a novel to be indexed;
retrieving at least one alternative novel matched with the character name in the retrieval request based on the novel index;
and sending the at least one alternative novel to the user equipment.
Further, in the above method for indexing a novel at a network device side, the sending the at least one alternative novel to the user equipment includes:
sorting the at least one alternative novel;
sending the ranked plurality of alternative novels to the user equipment.
Further, in the above method for indexing a novel at a network device side, the sorting the at least one alternative novel includes:
scoring each novel in the at least one part of alternative novel respectively based on a preset scoring model, wherein the preset scoring model comprises the number of times of the character name appearing in the novel and the weight corresponding to the number of times;
and sorting the at least one alternative novel from high to low according to the scoring value.
Further, in the novel indexing method of the network device side, the retrieval request includes a paging presentation requirement when presenting the alternative novel,
when the number of the alternative novels is larger than a preset presentation novels threshold value, the method sends the sorted multiple alternative novels to the user equipment part, and further comprises the following steps:
performing paging presentation processing on the sorted multiple candidate novels based on the paging presentation requirement to obtain a paging presentation result;
and sending the paging presentation results of the plurality of candidate novels to the user equipment.
Further, in the novel indexing method of the network device side, the establishing of the novel index includes:
acquiring text data and novel basic information of a novel;
and establishing a novel index based on the text data of the novel and the basic information of the novel.
Further, in the novel indexing method of the network device side, the establishing of the novel index based on the novel basic information and the text data of the novel includes:
extracting all character names in the novel from text data of the novel;
and establishing a mapping relation between all the character names in the novel and the novel basic information to obtain the novel index.
Further, in the novel indexing method at the network device side, the novel basic information includes at least any one of the following:
the identifier of the novel, the name of the author, and description information.
According to another aspect of the present application, there is also provided a novel indexing method at a user equipment, where the method includes:
sending a retrieval request to network equipment, wherein the retrieval request comprises a character name in a novel to be indexed;
receiving at least one alternative novel from the network equipment, wherein the at least one alternative novel is retrieved for the user equipment by the network equipment according to a locally stored novel index and the names of the characters in the novel to be indexed, and the novel index comprises a mapping relation between at least one name of the characters in the novel and the basic information of the novel;
and presenting the at least one alternative novel to a user so that the user selects the novel to be indexed from the at least one alternative novel.
Further, in the above method for indexing a novel at a ue side, the receiving at least one alternative novel from the network device includes:
receiving the ordered plurality of alternative novels from the network device;
the presenting the plurality of alternative novels to the user includes:
presenting the ordered plurality of alternative novels to the user in sequence.
Further, in the novel indexing method of the user equipment, the retrieval request includes a paging presentation requirement when presenting the alternative novel,
receiving the ranked plurality of alternative novels from the network device when the number of alternative novels is greater than a preset presentation novels threshold, comprising:
receiving paging presentation results of the multiple candidate novels from the network device, wherein the paging presentation results are obtained by paging presentation processing of the multiple candidate novels which are sequenced by the network device based on the paging presentation requirements;
the presenting the plurality of alternative novels to the user includes:
and paging and presenting the multiple candidate novels to the user according to the paging presentation result.
Further, in the novel indexing method at the ue side, the novel basic information includes at least any one of the following:
the identifier of the novel, the name of the author, and description information.
According to another aspect of the present application, there is also provided a computer readable medium having stored thereon computer readable instructions executable by a processor to implement the novel indexing method as described above.
According to another aspect of the present application, there is also provided a network device for novel indexing, wherein the network device comprises:
one or more processors; and
a memory storing computer readable instructions which, when executed, cause the processor to perform the operations of the novel indexing method at the network device side as described above.
According to another aspect of the present application, there is also provided a user equipment for novel indexing, wherein the user equipment comprises:
one or more processors; and
a memory storing computer readable instructions, which when executed, cause the processor to perform the operations of the novel indexing method of the user equipment side as described above.
Compared with the prior art, the embodiment of the application provides a novel indexing method, which comprises the steps that firstly, a network equipment end establishes and stores a novel index, wherein the novel index comprises mapping relations between all character names in the novel and basic information of the novel; when a user needs to retrieve a specific novel to be indexed, the network equipment receives a retrieval request from the user equipment, wherein the retrieval request comprises the name of a person in the novel to be indexed; retrieving at least one alternative novel for the user equipment based on a novel index which is stored and used for indicating the mapping relation between all the character names in the novel and the basic information of the novel and the character names in the novel to be indexed; finally, the network equipment sends the at least one alternative novel to the user equipment, so that the user can quickly select the novel which the user wants to retrieve from the at least one alternative novel received and presented by the user equipment, the requirement that the user uses the name of the character in the novel to retrieve is met, the efficiency that the user learns the novel corresponding to the name of the character is greatly improved, and the reading experience of the user is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flow chart illustrating a novel indexing method on a network device side according to an aspect of the present application;
fig. 2 is a flowchart illustrating a novel indexing method of a network device according to an aspect of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
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 computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), 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, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
As shown in fig. 1, an embodiment of the present application provides a novel indexing method at a network device side, where the method is applied to a network device side in a process where a user retrieves a novel corresponding to a name of a person in a novel, and the method specifically includes the following steps:
step S11, establishing and storing a novel index, wherein the novel index comprises a mapping relation between at least one character name in the novel and the basic information of the novel; here, the novel basic information may include, but is not limited to, one or more of an identifier of a novel for uniquely indicating the novel among numerous novels, for example, a barcode or an image code for uniquely indicating the novel, a name of an author, and description information for indicating brief introduction to specific text data or the like of the novel.
Step S12, receiving a retrieval request from user equipment, wherein the retrieval request comprises the name of a person in the novel to be indexed; for example, when the user knows the name of a person in a novel but does not know which novel the novel is, the user device may send a retrieval request to the network device according to the acquired name of the person input by the user, so that the network device can receive the retrieval request carrying the name of the person in the novel to be indexed from the user device, so that the subsequent network device searches the corresponding novel based on the name of the person in the retrieval request.
Step S13, retrieving at least one alternative novel matched with the character name in the retrieval request based on the novel index; since the same character name appears in different novels in a plurality of novels, the novels searched according to the character names can be one or a plurality of, so when the network equipment searches the novels corresponding to the character names in the novel index which is stored at the network equipment end and used for indicating the mapping relation between all the character names in the novels and the novel basic information according to the character names of the novels to be indexed, one or a plurality of alternative novels can be searched for the user equipment, so that all the novels containing the character names can be searched as much as possible, and the omission of the searched novels can be avoided. Here, the one or more retrieved novels may be, but are not limited to: the novel language comprises a novel to be indexed which needs to be searched by a user, a novel which is related to the novel to be indexed by the user and contains the name of the person, a novel which only contains the name of the person and is not related to the novel to be indexed by the user, and the like.
And step S14, sending the at least one alternative novel to the user equipment, so that the user equipment can present the at least one alternative novel which is retrieved by the network equipment and corresponds to the character name to the user.
In this embodiment, through the above steps S11 to S14, the creation and storage of a novel index for retrieving a corresponding novel from the person name or the novel basic information on the network device side for the user is realized, and searching one or more alternative novels for the user equipment from the stored novel index and sending the one or more alternative novels to the user equipment by the network equipment according to a retrieval request which is sent by the user equipment and contains the name of the person of the novel to be indexed, therefore, the user equipment can quickly select the novel which the user wants to retrieve from the one or more alternative novel received and presented by the user equipment, the requirement that the user uses the name of the character in the novel to retrieve is met, the efficiency that the user learns the novel corresponding to the name of the character is greatly improved, and the reading experience of the user is improved.
In this embodiment, the step S11 of establishing a novel index includes:
acquiring text data and novel basic information of a novel; here, the text data of the novel is used to indicate the preceding content of the novel, the specific text content and the ending chapter content in each chapter, and the like, including characters, time, place, event, story line, and the like throughout the whole novel.
And establishing a novel index based on the text data and the novel basic information of the novel, so that the novel index is established for the novel according to the acquired text data and the novel basic information of the novel. Further, the step S11 of establishing a novel index based on the novel basic information and the text data of the novel specifically includes: extracting all character names in the novel from text data of the novel; and establishing a mapping relation between all the character names in the novel and the novel basic information to obtain the novel index. For example, the text data of the novel is obtained from the data storage device for storing the novel, the names of the characters corresponding to all the characters of the novel are extracted from the text data of the novel through a name recognition technology, the mapping relation between the names of the characters corresponding to all the characters in the novel and the novel basic information of the novel is established to be used as the novel index of the novel, for example, there are 3 characters in the novel a, the names of the characters of the 3 characters are Zhang three, Li four and Wang five respectively, and the novel basic information of the novel A comprises the novel name "nameA" of the novel A, "the identifier" 231245672223 "in a bar code form, the author name" Dongyou "and the description information related to the plot of the novel, and then the novel index of the novel A is { (Zhang three, Li four and Wang five): (nameA, 231245672223, mr. eastern wild, descriptive information) }, implementing the establishment of a novel index for novel a; according to the step of establishing the novel index for the novel A, establishing the novel index corresponding to each novel obtained from the data storage device, so that a subsequent user can quickly find the novel corresponding to the user requirement according to the novel index.
In an embodiment of the application, the step S14 of sending the at least one alternative novel to the user equipment includes:
determining the at least one alternative novel to be sorted;
sending the ranked plurality of alternative novels to the user equipment. For example, if there are a plurality of candidate novels and the number of the candidate novels searched for the user equipment is 5, the 5 candidate novels are: if the determined ordering order of the 5 candidate novels is { candidate novels S, candidate novels Q, candidate novels P, candidate novels T, and candidate novels R }, then the 5 ranked candidate novels are: { alternative novels S, Q, P, T and R } are sent to the user equipment, so that the user equipment can sequentially present the 5 ordered alternative novels to the user, and the user can rapidly select the novels to be indexed which need to be retrieved from the 5 sequentially presented alternative novels; meanwhile, the user equipment can present a plurality of novels corresponding to the character names in the index request to the user, so that the knowledge plane of the user is further increased, and the reading experience of the user is improved.
In this embodiment, the sorting the at least one alternative novel in step S14 includes:
scoring each novel in the at least one part of alternative novel respectively based on a preset scoring model, wherein the preset scoring model comprises the number of times of the character name appearing in the novel and the weight corresponding to the number of times; here, the preset scoring model may include not only the number of times that the person name appears in the novel and the corresponding weight thereof, but also the attributes of the following dimensions of the novel: the name of the author of the novel, the name of the novel, description information, historical visited information of the novel and the like, and the weight corresponding to each dimension attribute, wherein the historical visited information can comprise historical browsing, reading and commenting information of a user on the novel and the like.
And sequencing the at least one alternative novel from high to low according to the scoring value to obtain a sequencing result.
For example, if the network device determines that the candidate novels are multiple parts and the number of the candidate novels is 5, the 5 candidate novels are respectively: the method comprises the following steps of selecting a novel P, a novel Q, a novel R, a novel S and a novel T, wherein the attributes of each dimension of the five novel are as follows: the dimension attributes of the alternative novel P are: { author name 1, nameP, number of occurrences of person 1 26, number of occurrences of person 2 33, description information 1, historical visited information 1}, and dimension attributes of alternative novel Q are: { author name 2, nameQ, number of occurrences of person 3 2, number of occurrences of person 4 12, number of occurrences of person 5, description information 2, historical visited information 2}, and dimension attributes of alternative novel R are: { author name 3, nameR, number of occurrences of person 6 56, person 7 8, person 8, descriptive information 3, historical visited information 3}, and dimension attribute of alternative novel S: { author name 4, nameS, number of occurrences of character 9 12, number of occurrences of character 10, description information 4, historical visited information 4} and alternative novel T have dimensional attributes: { author name 5, nameT, number of occurrences 28 of character 11, 23 occurrences of character 12, 54 occurrences of character 13, 34 occurrences of character 14, descriptive information 5, historical visited information 5 }; and then, respectively scoring the corresponding novel according to all the dimension attributes of each novel and the weight corresponding to each dimension attribute to respectively obtain the 5 alternative novel: scoring values of alternative novel P, alternative novel Q, alternative novel R, alternative novel S and alternative novel T: 83. 83, 12, 98 and 62, sorting the 5 candidate novels from high to low according to the scoring value, and obtaining the sorting order of the 5 candidate novels as follows: { alternative novels S, alternative novels Q, alternative novels P, alternative novels T and alternative novels R }, realizing effective sequencing of a plurality of alternative novels retrieved according to the names of characters at a network equipment end, so that the 5 ordered alternative novels can be presented to a user in sequence by user equipment, the user can quickly select the novels to be indexed which need to be retrieved from the 5 presented alternative novels in sequence, time consumption of the user in retrieving the novels to be indexed is reduced, and reading experience of the user is improved.
In this embodiment, the retrieval request includes a page presentation requirement when presenting the alternative novel,
when the number of the alternative novels is greater than the preset presentation novels threshold, the step S14 sending the sorted multiple alternative novels to the user equipment, further comprising:
performing paging presentation processing on the sorted multiple candidate novels based on the paging presentation requirement to obtain a paging presentation result;
and sending the paging presentation results of the plurality of candidate novels to the user equipment.
Here, the preset presentation fraction threshold may be preset by the user equipment, may be determined by the user according to the browsing requirement of the user on the page presentation, may be limited by the configuration version of the user equipment, and may be set by comprehensively considering the above setting.
For example, when the user equipment presents alternative novels to the user, if the user equipment cannot present all the alternative novels to the user on a current page of a display interface of the user equipment, or the display interface of the user equipment can only display a certain number of alternative novels, or the user needs to preset the number of the alternative novels displayed on each page of the display interface of the user equipment for viewing, that is, the number of the alternative novels is greater than a preset number threshold of the presented novels, the user equipment sends a retrieval request to the network equipment together with a paging presentation requirement when presenting the alternative novels, so that the network equipment retrieves a plurality of alternative novels for the user equipment after receiving the retrieval request carrying the paging presentation requirement; the multiple candidate novels sorted according to the sorting result can be subjected to the sorting process according to the sorting presentation requirement, for example, the retrieved multiple candidate novels are 5, and the sorting results are respectively: the method comprises the following steps of selecting a novel story S, a novel story Q, a novel story P, a novel story T and a novel story R, and if the page presentation requirement is that 2 alternative stories are displayed on each page of a display interface, then the alternative stories are 5 alternative stories in the sequence: the alternative novel S, the alternative novel Q, the alternative novel P, the alternative novel T and the alternative novel R are subjected to paging presentation processing, and the paging presentation result is obtained as follows: the first page of the display interface sequentially displays the following optional novels: the alternative novels S and Q are displayed in sequence on the second page, and the alternative novels displayed in sequence on the second page are as follows: the alternative novel P and the alternative novel T, and the alternative novel displayed on the third page is as follows: finally, the step S14 sends the paging presentation result of the 5 candidate novels to the user equipment, so that the user equipment pages the 5 candidate novels according to the paging presentation result to present to the user, so as to ensure that all the candidate novels retrieved at the network equipment end according to the names of the characters can be paged to the user in sequence, further ensure that the novels to be indexed that the user needs to search can be included in the multiple candidate novels, and further ensure that the novels to be indexed that the user needs can quickly search and find the novels corresponding to the novels to be indexed that the user needs in the multiple candidate novels.
As shown in fig. 2, an embodiment of the present application provides a novel indexing method at a user equipment end, where the method is applied to the user equipment end in a process of retrieving a novel corresponding to a name of a person when the user knows the name of the person in the novel, and the method specifically includes the following steps:
step S21, sending a retrieval request to network equipment, wherein the retrieval request comprises the name of a person in the novel to be indexed; for example, when the user knows the names of the characters in the novel but does not know which novel the novel is, the user equipment may send a retrieval request to the network equipment according to the acquired names of the characters input by the user, so that the network equipment can receive the retrieval request carrying the names of the characters in the novel to be indexed from the user equipment, so that the subsequent network equipment can retrieve at least one candidate novel containing the names of the characters from a novel index which is locally stored in the network equipment and used for indicating the mapping relationship between all the names of the characters in the novel and the basic information of the novel based on the names of the characters in the retrieval request, and send the at least one candidate novel to the user equipment.
Step S22, receiving at least one alternative novel from the network device, wherein the at least one alternative novel is retrieved by the network device for the user device according to a locally stored novel index and the names of the characters in the novel to be indexed, and the novel index comprises the mapping relation between at least one name of the characters in the novel and the basic information of the novel; here, the novel index is consistent with the novel index in step S11, and is not described herein again, the novel basic information may include, but is not limited to, one or more of an identifier, a novel name, an author name, and description information of the novel, and the novel basic information is consistent with the novel basic information in step S11, and is not described herein again.
And step S23, presenting the at least one alternative novel to a user, so that the user can select the novel to be indexed from the at least one alternative novel.
In steps S21 to S23 in this embodiment, the user equipment sends a retrieval request carrying the name of a person in the novel to be indexed to the network equipment, acquires one or more alternative novels returned by the network equipment according to the retrieval request from the network equipment, and presents the one or more alternative novels to the user, so as to retrieve all novels including the name of the person as possible as alternative novels and present the alternative novels to the user, thereby increasing the knowledge of the user on all novels including the task name, further improving the knowledge plane of the novels knowledge of the user, and avoiding the omission of the novels to be indexed which the user needs to search; meanwhile, according to the presented one or more alternative novels, the user can conveniently and quickly select the novel to be indexed which needs to be retrieved by the user from the presented one or more alternative novels, so that the requirement that the user uses the name of the character in the novel to retrieve is met, the efficiency that the user learns the novel corresponding to the name of the character is greatly improved, and the reading experience of the user is improved.
In this embodiment, in order to enable the user to find a needed novel to be indexed from at least one alternative novel sent from the network device as soon as possible, the step S22 of receiving at least one alternative novel from the network device includes: receiving the ordered plurality of alternative novels from the network device; the step S23 presents the multiple alternative novels to the user, including: presenting the ordered plurality of alternative novels to the user in sequence. For example, if the user equipment receives multiple candidate novels from the network device and the number of the candidate novels is 5, the 5 candidate novels are: the alternative novel P, the alternative novel Q, the alternative novel R, the alternative novel S and the alternative novel T, and the 5 alternative novel are sequenced in the order that: { alternative novels S, Q, P, T and R }, the user equipment presents the five sequenced alternative novels to the user in sequence, so that the user can quickly select the novels to be indexed which need to be retrieved from the 5 sequenced presented alternative novels; meanwhile, the user equipment can present a plurality of novels corresponding to the character names in the index request to the user, so that the knowledge plane of the user is further increased, and the reading experience of the user is improved.
In this embodiment, if the search request sent by the user equipment to the network equipment includes a page presentation requirement when presenting the alternative novel,
when the number of the alternative novels is greater than the preset presentation novels threshold, the receiving, from the network device, the sorted results of the plurality of alternative novels in step S22 includes:
receiving paging presentation results of the multiple candidate novels from the network device, wherein the paging presentation results are obtained by performing paging presentation processing on the multiple candidate novels after sorting by the network device based on the paging presentation requirements;
presenting the plurality of alternative novels to the user in the step S23 includes:
and paging and presenting the multiple candidate novels to the user according to the paging presentation result.
Here, the preset presentation fraction threshold may be preset by the user equipment, may be determined by the user according to the browsing requirement of the user on the page presentation, may be limited by the configuration version of the user equipment, and may be set by comprehensively considering the above setting.
For example, when the user equipment presents alternative novels to the user, if the user equipment cannot present all the alternative novels to the user on a current page of a display interface of the user equipment, or the display interface of the user equipment can only display a certain number of alternative novels, or the user needs to preset the number of the alternative novels displayed on each page of the display interface of the user equipment for viewing, that is, the number of the alternative novels is greater than a preset number threshold of the presented novels, the user equipment sends a retrieval request to the network equipment together with a paging presentation requirement when presenting the alternative novels, so that the network equipment retrieves a plurality of alternative novels for the user equipment after receiving the retrieval request carrying the paging presentation requirement; the multiple candidate novels sorted according to the sorting result can be subjected to the sorting process according to the sorting presentation requirement, for example, the multiple candidate novels retrieved by the network device are 5, and the sorting order is as follows: the method comprises the following steps that an alternative novel S, an alternative novel Q, an alternative novel P, an alternative novel T and an alternative novel R are selected, and if the page presentation requirement is that 2 alternative novel are displayed on each page of a display interface, the network equipment displays 5 alternative novel in sequence: the alternative novel S, the alternative novel Q, the alternative novel P, the alternative novel T and the alternative novel R are subjected to paging presentation processing, and the paging presentation result is obtained as follows: the first page of the display interface sequentially displays the following optional novels: the alternative novels S and Q are displayed in sequence on the second page, and the alternative novels displayed in sequence on the second page are as follows: the alternative novel P and the alternative novel T, and the alternative novel displayed on the third page is as follows: and finally, the network equipment sends the paging presentation results of the 5 candidate novels to the user equipment, so that the user equipment can page the 5 candidate novels according to the paging presentation results and present the 5 candidate novels to the user in sequence, further ensuring that the novels to be indexed, which are required to be searched by the user, can be contained in the multiple candidate novels, and further ensuring that the novels corresponding to the novels to be indexed, which are required by the user, can be quickly searched in the multiple candidate novels.
Another embodiment of the present application also provides a computer-readable medium having computer-readable instructions stored thereon, the computer-readable instructions being executable by a processor to implement the novel indexing method as described above.
Another embodiment of the present application further provides a network device for novel indexing, where the network device includes:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the novel indexing method described above.
Here, the details of each embodiment of the network device may specifically refer to the corresponding part of the method embodiment of the network device side, and are not described herein again.
Another embodiment of the present application further provides a user equipment for novel indexing, where the user equipment includes:
one or more processors; and
memory storing computer readable instructions that, when executed, cause the processor to perform operations of the novel indexing method as described above
Here, the details of each embodiment of the user equipment may specifically refer to the corresponding part of the method embodiment of the user equipment side, and are not described herein again.
In summary, an embodiment of the present application provides a novel indexing method, which includes first establishing and storing a novel index at a network device, where the novel index includes mapping relationships between names of all characters in a novel and basic information of the novel; when a user needs to retrieve a specific novel to be indexed, the network equipment receives a retrieval request from the user equipment, wherein the retrieval request comprises the name of a person in the novel to be indexed; retrieving at least one alternative novel for the user equipment based on a novel index which is stored and used for indicating the mapping relation between all the character names in the novel and the basic information of the novel and the character names in the novel to be indexed; finally, the network equipment sends the at least one alternative novel to the user equipment, so that the user can quickly select the novel which the user wants to retrieve from the at least one alternative novel received and presented by the user equipment, the requirement that the user uses the name of the character in the novel to retrieve is met, the efficiency that the user learns the novel corresponding to the name of the character is greatly improved, and the reading experience of the user is improved.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the 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.
In addition, some 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 through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present 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 perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present 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 attributes 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 obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (12)

1. A novel indexing method of a network equipment side, wherein the method comprises the following steps:
establishing and storing a novel index, wherein the novel index comprises a mapping relation between at least one character name in a novel and the basic information of the novel;
receiving a retrieval request from user equipment, wherein the retrieval request comprises a person name in a novel to be indexed;
retrieving at least one alternative novel matched with the character name in the retrieval request based on the novel index; wherein the at least one alternative novel includes the novel to be indexed, a novel related to the novel to be indexed and containing the person name, and a novel only containing the person name and not related to the novel to be indexed;
sending the at least one alternative novel to the user equipment, comprising: sorting the at least one alternative novel; sending the ranked plurality of alternative novels to the user equipment.
2. The method of claim 1, wherein said ranking the at least one alternative novel comprises:
scoring each novel in the at least one part of alternative novel respectively based on a preset scoring model, wherein the preset scoring model comprises the number of times of the character name appearing in the novel and the weight corresponding to the number of times;
and sorting the at least one alternative novel from high to low according to the scoring value.
3. The method of claim 2, wherein the retrieval request includes a paginated presentation requirement in presenting alternative novels,
when the number of the alternative novels is larger than a preset presentation novels threshold value, sending the sorted multiple alternative novels to the user equipment, further comprising:
performing paging presentation processing on the sorted multiple candidate novels based on the paging presentation requirement to obtain a paging presentation result;
and sending the paging presentation results of the plurality of candidate novels to the user equipment.
4. The method of claim 1, wherein the building a novel index comprises:
acquiring text data and novel basic information of a novel;
and establishing a novel index based on the text data of the novel and the basic information of the novel.
5. The method of claim 4, wherein the building a novel index based on the novel basic information and body data of the novel comprises:
extracting all character names in the novel from text data of the novel;
and establishing a mapping relation between all the character names in the novel and the novel basic information to obtain the novel index.
6. The method according to any one of claims 1 to 5, wherein the novel basic information includes at least any one of:
the identifier of the novel, the name of the author, and description information.
7. A novel indexing method of a user equipment side, wherein the method comprises the following steps:
sending a retrieval request to network equipment, wherein the retrieval request comprises a character name in a novel to be indexed;
receiving at least one alternative novel from the network equipment, wherein the at least one alternative novel is retrieved for the user equipment by the network equipment according to a locally stored novel index and the names of the characters in the novel to be indexed, and the novel index comprises a mapping relation between at least one name of the characters in the novel and the basic information of the novel; wherein the at least one alternative novel includes the novel to be indexed, a novel related to the novel to be indexed and containing the person name, and a novel only containing the person name and not related to the novel to be indexed;
presenting the at least one alternative novel to a user so that the user selects the novel to be indexed from the at least one alternative novel;
wherein the receiving at least one alternative novel from the network device comprises: receiving the ordered plurality of alternative novels from the network device; the presenting the plurality of alternative novels to the user includes: presenting the ordered plurality of alternative novels to the user in sequence.
8. The method of claim 7, wherein the retrieval request includes a paginated presentation requirement in presenting alternative novels,
receiving the ranked plurality of alternative novels from the network device when the number of alternative novels is greater than a preset presentation novels threshold, comprising:
receiving paging presentation results of the multiple candidate novels from the network device, wherein the paging presentation results are obtained by paging presentation processing of the multiple candidate novels which are sequenced by the network device based on the paging presentation requirements;
the presenting the plurality of alternative novels to the user includes:
and paging and presenting the multiple candidate novels to the user according to the paging presentation result.
9. The method according to claim 7 or 8, wherein the novel basic information comprises at least any one of:
the identifier of the novel, the name of the author, and description information.
10. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of any one of claims 1 to 9.
11. A network device for novel indexing, wherein the network device comprises:
one or more processors; and
memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 1 to 6.
12. A user equipment for novel indexing, wherein the user equipment comprises:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 7 to 9.
CN201810687624.3A 2018-06-28 2018-06-28 Novel indexing method and device Active CN108920610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810687624.3A CN108920610B (en) 2018-06-28 2018-06-28 Novel indexing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810687624.3A CN108920610B (en) 2018-06-28 2018-06-28 Novel indexing method and device

Publications (2)

Publication Number Publication Date
CN108920610A CN108920610A (en) 2018-11-30
CN108920610B true CN108920610B (en) 2021-07-16

Family

ID=64421926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810687624.3A Active CN108920610B (en) 2018-06-28 2018-06-28 Novel indexing method and device

Country Status (1)

Country Link
CN (1) CN108920610B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096193A (en) * 2019-04-29 2019-08-06 上海连尚网络科技有限公司 Processing method, equipment and the computer readable storage medium of e-novel
CN110851710A (en) * 2019-10-28 2020-02-28 上海连尚网络科技有限公司 Novel recommendation method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222081A (en) * 2010-04-13 2011-10-19 微软公司 Applying a model of a persona to search results
CN102426589A (en) * 2011-10-31 2012-04-25 合一网络技术(北京)有限公司 Interlayer system used for searching database information and information searching method
CN102880623A (en) * 2011-07-13 2013-01-16 富士通株式会社 Method and device for searching people with same name
CN102982143A (en) * 2012-11-22 2013-03-20 北京奇虎科技有限公司 Searching method for network novel and browsing device
CN103123640A (en) * 2012-02-22 2013-05-29 深圳市谷古科技有限公司 Method and device for searching novel
CN103164484A (en) * 2011-12-16 2013-06-19 上海博泰悦臻电子设备制造有限公司 Establishment method and device for index of name of target point
CN103268345A (en) * 2013-05-27 2013-08-28 慈文传媒集团股份有限公司 Method and device for retrieving film and television data
CN106649738A (en) * 2016-12-23 2017-05-10 北京奇虎科技有限公司 Method and device for aggregating personage information message in search engine result page

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9552344B2 (en) * 2013-12-03 2017-01-24 International Business Machines Corporation Producing visualizations of elements in works of literature

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222081A (en) * 2010-04-13 2011-10-19 微软公司 Applying a model of a persona to search results
CN102880623A (en) * 2011-07-13 2013-01-16 富士通株式会社 Method and device for searching people with same name
CN102426589A (en) * 2011-10-31 2012-04-25 合一网络技术(北京)有限公司 Interlayer system used for searching database information and information searching method
CN103164484A (en) * 2011-12-16 2013-06-19 上海博泰悦臻电子设备制造有限公司 Establishment method and device for index of name of target point
CN103123640A (en) * 2012-02-22 2013-05-29 深圳市谷古科技有限公司 Method and device for searching novel
CN102982143A (en) * 2012-11-22 2013-03-20 北京奇虎科技有限公司 Searching method for network novel and browsing device
CN103268345A (en) * 2013-05-27 2013-08-28 慈文传媒集团股份有限公司 Method and device for retrieving film and television data
CN106649738A (en) * 2016-12-23 2017-05-10 北京奇虎科技有限公司 Method and device for aggregating personage information message in search engine result page

Also Published As

Publication number Publication date
CN108920610A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
US10031975B2 (en) Presentation of search results based on the size of the content sources from which they are obtained
JP6141305B2 (en) Image search
US20090112830A1 (en) System and methods for searching images in presentations
US20180144059A1 (en) Animated snippets for search results
JP2013541793A (en) Multi-mode search query input method
US9256649B2 (en) Method and system of filtering and recommending documents
CN106033416A (en) A string processing method and device
US8868598B2 (en) Smart user-centric information aggregation
US20180210961A1 (en) Information search method and apparatus
US9971782B2 (en) Document tagging and retrieval using entity specifiers
US20140181099A1 (en) User management of electronic documents
CN114416667A (en) Method and device for rapidly sharing network disk file, network disk and storage medium
US20150206101A1 (en) System for determining infringement of copyright based on the text reference point and method thereof
CN110750627A (en) Material retrieval method and device, electronic equipment and storage medium
CN108920610B (en) Novel indexing method and device
JP2018504686A (en) Method and apparatus for processing search data
US20090187551A1 (en) Search results when searching for records of a business object
KR20140079398A (en) Proactive delivery of related tasks for identified entities
CN111737443B (en) Answer text processing method and device and key text determining method
CN110489032B (en) Dictionary query method for electronic book and electronic equipment
CN102129454A (en) Method and system for processing encyclopaedia data based on cloud storage
CN106844406B (en) Search method and search device
CN110287338B (en) Industry hotspot determination method, device, equipment and medium
CN111460765B (en) Electronic book labeling processing method, electronic equipment and storage medium
US11669555B2 (en) System and method of creating index

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