CN111897765A - Method and device for generating bookmark, electronic equipment and medium - Google Patents

Method and device for generating bookmark, electronic equipment and medium Download PDF

Info

Publication number
CN111897765A
CN111897765A CN202010701027.9A CN202010701027A CN111897765A CN 111897765 A CN111897765 A CN 111897765A CN 202010701027 A CN202010701027 A CN 202010701027A CN 111897765 A CN111897765 A CN 111897765A
Authority
CN
China
Prior art keywords
bookmark
target
information
content
user
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.)
Pending
Application number
CN202010701027.9A
Other languages
Chinese (zh)
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 CN202010701027.9A priority Critical patent/CN111897765A/en
Publication of CN111897765A publication Critical patent/CN111897765A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/025Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
    • G06F15/0291Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for reading, e.g. e-books
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management

Abstract

The application discloses a method and a device for generating a bookmark, electronic equipment and a medium. In the method, a reading page bookmark is generated in response to receiving a bookmark adding instruction which is sent by user equipment and is used for adding a bookmark to a reading page of a target book, wherein the reading page bookmark comprises reading page position mark information, the bookmark adding instruction comprises bookmark content attaching note information, and the bookmark content attaching note information is used for indicating a server to obtain bookmark content; responding to a bookmark adding instruction, and acquiring user comment content corresponding to a target book; determining target statement information in the user comment content, and taking the target statement information as bookmark content; and sending the reading page bookmark containing the target sentence information to the user equipment. By applying the technical scheme of the application, one sentence can be automatically selected from the user comment contents of the book as the bookmark of the book according to the preset rule. And further the problem of low bookmark adding effect caused by the fact that the bookmark generating mode in the related technology can only be manually generated by a user is solved.

Description

Method and device for generating bookmark, electronic equipment and medium
Technical Field
The present application relates to data processing technologies, and in particular, to a method, an apparatus, an electronic device, and a medium for generating a bookmark.
Background
Due to the rise of the communications era and society, smart devices have been continuously developed with the use of more and more users.
With the rapid development of the internet, it has become a normal state that a user reads books interested in the user by using an intelligent device. Further, with the rapid development of computer technology, existing books can generally realize the function of adding bookmarks. For example, the user can manually add a bookmark to each book to be read according to the selection of the user, so that the user can quickly locate the position specified by the bookmark when reading next time.
However, the bookmark generation method existing in the related art requires manual generation by the user, which also results in low efficiency in adding bookmarks.
Disclosure of Invention
The embodiment of the application provides a method, a device, an electronic device and a medium for generating a bookmark, and is used for solving the problem that the bookmark adding effect is low because a bookmark generating mode in the related technology can only be manually generated by a user.
According to an aspect of the embodiments of the present application, there is provided a method for generating a bookmark, which is applied to a server, including:
generating a reading page bookmark in response to receiving a bookmark adding instruction which is sent by user equipment and is used for adding a bookmark on a reading page of a target book, wherein the reading page bookmark comprises reading page position mark information, the bookmark adding instruction comprises bookmark content remark information, and the bookmark content remark information is used for indicating the server to acquire bookmark content;
responding to the bookmark adding instruction, and acquiring user comment content corresponding to the target book;
determining target statement information in the user comment content, and taking the target statement information as bookmark content;
and sending the reading page bookmark containing the target statement information to the user equipment.
Optionally, in another embodiment of the method according to the present application, after receiving an instruction of adding a bookmark to a reading page of a target book sent by a user equipment, the method further includes:
and when detecting that the bookmark content annotation information contains the additional sentence information generated by the user equipment, adding the additional sentence information as bookmark content to the reading page bookmark.
Optionally, in another embodiment based on the foregoing method of the present application, the determining target sentence information in the user comment content includes:
acquiring the occurrence frequency corresponding to each statement in the comment content;
and taking the corresponding statement with the largest occurrence number as the target statement information.
Optionally, in another embodiment based on the foregoing method of the present application, the taking the corresponding sentence with the largest number of occurrences as the target sentence information includes:
when detecting that the number of the corresponding sentences with the largest occurrence times is multiple, determining the number of characters of each corresponding sentence;
and taking the corresponding sentence with the number of characters meeting the first range in the corresponding sentences with the maximum occurrence times as the target sentence information.
Optionally, in another embodiment based on the foregoing method of the present application, the taking the corresponding sentence with the largest number of occurrences as the target sentence information includes:
when detecting that the number of the corresponding sentences the occurrence times of which are the most is a plurality, determining the praise number of each corresponding sentence;
and taking the corresponding sentences of which the praise number meets a second range in the corresponding sentences with the maximum occurrence times as the target sentence information.
Optionally, in another embodiment based on the foregoing method of the present application, the taking the corresponding sentence with the largest number of occurrences as the target sentence information includes:
acquiring reading parameters of a user;
generating a user tag based on the reading parameters of the user;
and merging the user tag and the corresponding statement with the maximum occurrence number to serve as the target statement information.
Optionally, in another embodiment based on the foregoing method of the present application, the taking the corresponding sentence with the largest number of occurrences as the target sentence information includes:
acquiring the current reading page number and the current reading duration;
generating a reading label based on the current reading page number and the current reading time length;
and merging the reading label and the corresponding statement with the maximum occurrence frequency to serve as the target statement information.
Optionally, in another embodiment based on the foregoing method of the present application, the determining target sentence information in the user comment content includes:
obtaining a sentence with a preset mark in the comment content, wherein the preset mark comprises at least any one of an expression mark, an animation mark, a symbol mark and a digital mark;
and selecting the target statement information from the comment content based on the statement with the preset mark.
Optionally, in another embodiment based on the foregoing method of the present application, after the taking the target sentence information as the bookmark content, the method further includes:
determining to send the reading page bookmark containing the target statement information to at least one user generating the bookmark adding instruction based on at least one information of user attributes and historical reading data;
and adding the users obtaining the same reading page bookmark to the same reading group from at least one user generating the bookmark adding instruction.
Optionally, in another embodiment based on the foregoing method of the present application, after the taking the target sentence information as the bookmark content, the method further includes:
when detecting that the number of the reading page bookmarks containing the target statement information is multiple, acquiring user information, wherein the user is a user generating the bookmark adding instruction;
and randomly allocating one bookmark of the target book to the user from the bookmarks of a plurality of target books.
Optionally, in another embodiment based on the foregoing method of the present application, after the obtaining of the comment content corresponding to the target book, the method further includes:
detecting whether the comment content contains illegal field content or not based on a preset field database;
when the inclusion is determined, the illegal field content is cleared from the comment content.
According to an aspect of the embodiments of the present application, there is provided a method for generating a bookmark, which is applied to a user device, the method including:
responding to bookmark adding operation on a reading page of a target book, and sending a bookmark adding instruction to a server, wherein the bookmark adding instruction comprises bookmark content remark information which is used for indicating a server to acquire bookmark content;
receiving a reading page bookmark containing target statement information sent by the server, wherein the target statement information is statement information generated based on user comment content corresponding to the target book;
and displaying the reading page bookmark containing the target sentence information.
Optionally, in another embodiment of the method according to the present application, the sending a bookmark adding instruction to the server in response to a bookmark adding operation on a reading page of the target book includes:
and sending a book adding instruction to a server when detecting that bookmark adding operation is carried out on the reading page of the target book or an event of stopping reading the target book is detected.
Alternatively, in another embodiment based on the method described herein,
acquiring bookmark content additional statement information, and adding the bookmark content additional statement information into the bookmark content additional statement information, wherein the additional statement information is used for generating the content of the reading page bookmark.
According to another aspect of the embodiments of the present application, there is provided an apparatus for generating a bookmark, which is applied to a server, including:
the acquisition module is configured to generate a reading page bookmark in response to receiving a bookmark adding instruction sent by user equipment on a reading page of a target book, wherein the reading page bookmark comprises reading page position mark information, the bookmark adding instruction comprises bookmark content annotation information, and the bookmark content annotation information is used for indicating the server to acquire bookmark content;
the first response module is used for responding to the bookmark adding instruction and acquiring user comment content corresponding to the target book;
the determining module is used for determining target statement information in the user comment content and taking the target statement information as bookmark content;
a first sending module configured to send the reading page bookmark containing the target sentence information to the user equipment.
According to another aspect of the embodiments of the present application, there is provided an apparatus for generating a bookmark, which is applied to a user device, including:
the second response module is used for responding to bookmark adding operation on a reading page of a target book and sending a bookmark adding instruction to the server, wherein the bookmark adding instruction comprises bookmark content remark information which is used for indicating the server to acquire bookmark content;
the second sending module is used for receiving the reading page bookmark which is sent by the server and contains target statement information, wherein the target statement information is statement information generated on the basis of user comment content corresponding to the target book;
and the display module is used for displaying the reading page bookmark containing the target statement information.
According to another aspect of the embodiments of the present application, there is provided an electronic device including:
a memory for storing executable instructions; and
a display for displaying with the memory to execute the executable instructions to perform the operations of any of the above-described methods of generating bookmarks.
According to a further aspect of the embodiments of the present application, there is provided a computer-readable storage medium for storing computer-readable instructions, which when executed, perform the operations of any one of the above-mentioned methods for generating a bookmark.
In the method, a bookmark adding instruction sent by user equipment on a reading page of a target book is received, a reading page bookmark is generated, the reading page bookmark comprises reading page position mark information, the bookmark adding instruction comprises bookmark content attaching note information, and the bookmark content attaching note information is used for indicating a server to obtain bookmark content; responding to a bookmark adding instruction, and acquiring user comment content corresponding to a target book; determining target statement information in the user comment content, and taking the target statement information as bookmark content; and sending the reading page bookmark containing the target sentence information to the user equipment. By applying the technical scheme of the application, one sentence can be automatically selected from the user comment contents of the book as the bookmark of the book according to the preset rule. And further the problem of low bookmark adding effect caused by the fact that the bookmark generating mode in the related technology can only be manually generated by a user is solved.
The technical solution of the present application is further described in detail by the accompanying drawings and examples.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
The present application may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
FIG. 1 is a schematic diagram of a system architecture for generating bookmarks proposed in the present application;
FIG. 2 is a schematic diagram of a method for generating a bookmark proposed in the present application;
FIGS. 3a-3e are illustrations of a display screen of an apparatus according to the present disclosure;
FIG. 4 is a schematic diagram of a method for generating bookmarks proposed herein;
FIG. 5 is a complete flow chart for generating bookmarks provided herein;
6a-6b are schematic structural diagrams of the bookmark generating apparatus of the present application;
fig. 7 is a schematic view of an electronic device according to the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In addition, technical solutions between the various embodiments of the present application may be combined with each other, but it must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should be considered to be absent and not within the protection scope of the present application.
It should be noted that all the directional indicators (such as upper, lower, left, right, front and rear … …) in the embodiment of the present application are only used to explain the relative position relationship between the components, the motion situation, etc. in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly.
A method for performing bookmark generation according to an exemplary embodiment of the present application is described below in conjunction with fig. 1-5. It should be noted that the following application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
Fig. 1 shows a schematic diagram of an exemplary system architecture 100 to which a video processing method or a video processing apparatus of an embodiment of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, portable computers, desktop computers, and the like.
The terminal apparatuses 101, 102, 103 in the present application may be terminal apparatuses that provide various services. For example, in response to receiving a bookmark adding instruction sent by a user device on a reading page of a target book, a user generates a reading page bookmark through a terminal device 103 (which may also be the terminal device 101 or 102), where the reading page bookmark includes the reading page position mark information, the bookmark adding instruction includes bookmark content annotation information, and the bookmark content annotation information is used to instruct the server to obtain bookmark content; responding to the bookmark adding instruction, and acquiring user comment content corresponding to the target book; determining target statement information in the user comment content, and taking the target statement information as bookmark content; and sending the reading page bookmark containing the target statement information to the user equipment.
It should be noted that the method for generating a bookmark provided in the embodiments of the present application may be executed by one or more of the terminal devices 101, 102, and 103, and/or the server 105, and accordingly, the apparatus for generating a bookmark provided in the embodiments of the present application is generally disposed in the corresponding terminal device, and/or the server 105, but the present application is not limited thereto.
The application also provides a method, a device, a target terminal and a medium for generating the bookmark.
Fig. 2 schematically shows a flow chart of a method for generating a bookmark according to an embodiment of the present application. As shown in fig. 2, the method includes:
s101, responding to a received bookmark adding instruction sent by user equipment on a reading page of a target book, generating a reading page bookmark, wherein the reading page bookmark comprises reading page position mark information, the bookmark adding instruction comprises bookmark content attaching note information, and the bookmark content attaching note information is used for indicating a server to obtain bookmark content.
First, it should be noted that, in the present application, a device for obtaining a bookmark adding instruction is not specifically limited, and for example, the device may be an intelligent device or a server. The smart device may be a PC (Personal Computer), a smart phone, a tablet PC, an e-book reader, an MP3(Moving Picture Experts group Audio Layer III, motion Picture Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4) player, a portable Computer, or a mobile terminal device with a display function, and the like.
Similarly, the comment content is not specifically limited, and in one mode, the comment content may be a comment content that is posted in a region such as a comment area or a narrative discussion after one or more users read the target book. The comment content may be published by an author, or published by any user who has read the book.
It is understood that the target book in the present application may be any book, for example, a book composed of different languages, a comic book, and the like.
In addition, the generation mode of the bookmark adding instruction is not specifically limited in the present application, and the bookmark adding instruction may be actively generated by the user, or may be automatically generated by the device when a preset event such as closing the book by the user is detected.
And S102, responding to the bookmark adding instruction, and acquiring user comment content corresponding to the target book.
S103, determining target statement information in the user comment content, and taking the target statement information as bookmark content.
Further, according to different strategies, different target statement information can be selected from the comment content, so that a corresponding bookmark can be generated according to the target statement information subsequently.
For example, the target sentence information may be selected according to the number of characters, the target sentence information may be selected according to the number of times of occurrence of each comment, and the target sentence information may be selected according to the number of times of approval of each comment.
In one embodiment, the number of target term information is not particularly limited, and may be one or more. It is understood that the target sentence may be a word, a sentence, or the like.
And S104, sending the reading page bookmark containing the target statement information to the user equipment.
Further, after the target sentence information is determined, the sentence information can be used as a bookmark of the target book. It is also understood that when the number of target sentence information is plural, the number of bookmarks of the book is also plural.
Further, when there are a plurality of bookmarks for the book, one or more bookmarks may be randomly assigned to each user reading the book, or one or more bookmarks may be assigned to each user reading the book according to a certain rule.
In the method, a bookmark adding instruction sent by user equipment on a reading page of a target book is received, a reading page bookmark is generated, the reading page bookmark comprises reading page position mark information, the bookmark adding instruction comprises bookmark content attaching note information, and the bookmark content attaching note information is used for indicating a server to obtain bookmark content; responding to a bookmark adding instruction, and acquiring user comment content corresponding to a target book; determining target statement information in the user comment content, and taking the target statement information as bookmark content; and sending the reading page bookmark containing the target sentence information to the user equipment. By applying the technical scheme of the application, one sentence can be automatically selected from the user comment contents of the book as the bookmark of the book according to the preset rule. And further the problem of low bookmark adding effect caused by the fact that the bookmark generating mode in the related technology can only be manually generated by a user is solved.
Optionally, in a possible implementation manner of the present application, after S101 (receiving a bookmark adding instruction on a reading page of a target book sent by a user device), the following steps may be implemented:
and when detecting that the bookmark content annotation information contains the additional sentence information generated by the user equipment, adding the additional sentence information as bookmark content to the reading page bookmark.
Further, after receiving a bookmark adding instruction sent by a user, the method and the device can further detect whether the additional statement information generated by the user is contained. It can be understood that the additional statement information is the label content that the user needs to generate. Therefore, after the additional sentence information is acquired, the additional sentence information can be directly used as a part of the bookmark content and added to the reading page bookmark.
Optionally, in a possible implementation manner of the present application, in S102 (determining target sentence information in the user comment content), the following steps may be performed:
acquiring the occurrence frequency corresponding to each statement in the comment content;
the sentence with the largest number of occurrences is taken as the target sentence information.
Further, in the process of selecting the target sentence information based on the comment content of the target book, the target sentence can be determined according to the occurrence frequency of each sentence appearing in the comment content. It is understood that the target sentence may be a word, a sentence, or the like.
The occurrence frequency corresponding to each sentence in the comment content represents the popularity of the corresponding sentence, so that the sentence with the largest occurrence frequency can be selected as the sentence information of the subsequent generated tag.
For example, as shown in fig. 3a, for a target book "XX legend", when the content of a comment area corresponding to the book is detected, the occurrence frequency of a "beautiful" word is 1 time, the occurrence frequency of a "zhangsan" word is 3 times, and the occurrence frequency of a sentence you return to have starlight is 3 times. Then it can be determined that the sentence with the largest number of occurrences in the review content of the book is "you are willing to have starlight". Therefore, the sentence can be used as the target sentence information. And as shown in fig. 3b, so that "you want to have a starlight" is subsequently used as the bookmark content of the target book "XX legend".
Further optionally, in the present application, in a process of using a corresponding statement with a largest occurrence number as the target statement information, the following four cases may be included:
in the first case:
when detecting that the number of the corresponding sentences with the largest occurrence times is multiple, determining the number of characters of each corresponding sentence;
and taking the corresponding sentence with the number of characters meeting the first range in the corresponding sentences with the largest occurrence times as target sentence information.
In the present application, the number of characters of the target sentence information may be limited, and for example, sentence information having a large number of characters may be selected as the target sentence information. Sentence information having a small number of characters may be selected as the target sentence information.
For example, taking the first range as greater than 5 as an example, when it is detected that the number of corresponding sentences with the largest number of occurrences in the comment content of the target book is 3, and the corresponding sentences are respectively the sentence a, the sentence B, and the sentence C, the number of characters of each corresponding sentence with the largest number of occurrences may be determined as 2 for the sentence a, 5 for the sentence B, and 10 for the sentence C. And further, selecting the statement C as target statement information according to a preset first range.
It should be noted that the first range is not specifically limited in this application, that is, the first range may be any number of ranges.
In the second case:
when detecting that the number of the corresponding sentences with the largest occurrence times is multiple, determining the praise number of each corresponding sentence;
and taking the corresponding sentences of which the praise number meets the second range in the corresponding sentences with the maximum occurrence times as target sentence information.
The method and the device for selecting the target statement information can limit the number of words of the target statement information, and can select the target statement information according to the number of praise corresponding to each statement in the comment content. For example, sentence information having a large number of praise may be selected as the target sentence information.
For example, a second range of greater than 10 is illustrated. As shown in fig. 3C, when it is detected that, in the comment content for the target book, the number of the corresponding sentences with the largest number of occurrences is 4, and the corresponding sentences are respectively the sentence a, the sentence B, and the sentence C, it can be determined that the number of praise for each corresponding sentence with the largest number of occurrences is 2, 5, 6, and 20. And further, selecting the statement D as target statement information according to a preset first range.
It should be noted that the second range is not specifically limited in this application, that is, the second range may be any number of ranges. And the second range may or may not be the same as the first range.
In the third case:
acquiring reading parameters of a user;
generating a user label based on the reading parameters of the user;
and merging the user tag and the corresponding statement with the maximum occurrence frequency to serve as target statement information.
Further, in order to improve user experience, in the embodiment of the present application, a bookmark for each reading user may be generated according to the reading parameter corresponding to the reading user. The reading parameters include, but are not limited to, a nickname ID of the reading user, information of a geographic location where the reading user is currently reading the book, and the like.
For example, as shown in fig. 3d, for the target book "XX legend", when the content of the comment area corresponding to the book is detected, the occurrence frequency of the "beautiful" word is 1 time, the occurrence frequency of the "zhang san" word is 3 times, and the occurrence frequency of the sentence "you return to have starlight" is 3 times. Then it can be determined that the sentence with the largest number of occurrences in the review content of the book is "you are willing to have starlight". Therefore, the sentence can be used as the target sentence information. Further, in order to enhance the experience of the user, the nickname information of the user can be acquired as Xiaoming, and the geographical position where the user reads XX legend is the reading parameter of Shanghai. And generating a label special for the user according to the reading parameter, and combining the user label and the corresponding statement with the largest occurrence frequency to be used as target statement information. So that the 'you want to come with a starlight' and the user label are combined as the bookmark content of the target book 'XX legend' in the follow-up process.
In a fourth case:
acquiring the current reading page number and the current reading duration;
generating a reading label based on the current reading page number and the current reading time length;
and merging the reading label and the corresponding sentence with the maximum occurrence frequency to serve as target sentence information.
Furthermore, in order to improve the user experience, in the embodiment of the present application, a reading tag for each reading user may be generated according to the current reading page number and the current reading duration corresponding to each reading user, and a bookmark of the book is generated according to the reading tag.
For example, as shown in fig. 3e, also for the target book "XX legend", when the content of the comment area corresponding to the book is detected, the occurrence frequency of the "beautiful" word is 1 time, the occurrence frequency of the "zhangsan" word is 3 times, and the occurrence frequency of the "you return to have starlight" sentence is 3 times. Then it can be determined that the sentence with the largest number of occurrences in the review content of the book is "you are willing to have starlight". Therefore, the sentence can be used as the target sentence information. Further, in order to enhance the experience of the user, the reading page number of the current book is "168/2002 page", and the time length for reading "XX legend" is 2 hours and 15 minutes. And generating a label which is exclusive to the target user according to the reading label, and combining the reading label and the corresponding statement with the largest occurrence frequency to be used as target statement information. So that the subsequent combination of "you want to come with a starlight" and reading label is used as the bookmark content of the target book "XX legend".
Further optionally, in a possible implementation manner of the present application, in S102 (determining the target sentence information in the user comment content), the following method may also be used to obtain:
obtaining sentences with preset marks in the comment content, wherein the preset marks comprise at least any one of expression marks, animation marks, symbol marks and digital marks;
and selecting target statement information from the comment content based on the statements with the preset marks.
The preset identifier is not specifically limited in the embodiment of the application, and may be at least any one of an expression identifier, a symbol identifier, and a number identifier, for example. By taking the preset identifier as the label identifier, it can be understood that when the emoticon appears in the comment content, the comment content can be prompted more vividly, so that the browsing experience of the user is better. Therefore, in the process of selecting the target sentence information from the comment content, the sentence information in which the emoticon appears is selected as the target sentence information, so that the bookmark of the target book is generated according to the target sentence information carrying the emoticon.
Still further, the method and the device for obtaining the comment content of the target book can also select to obtain comment contents of other users generated for the target book, and obtain the sentence with the largest occurrence frequency in the comment contents of the other users generated for the target book as target sentence information. The other users may be authors of the target book, and the other users may also be other friend users or users of interest of the currently generated bookmarking instruction user, and so on. Similarly, the number of other users is not specifically limited in the present application.
Furthermore, in the embodiment of the application, a sentence with the largest number of occurrences may be selected as the target sentence information from the comment contents generated by the second page user for the target book in the comment area. It can be understood that, since the other users are the users who currently generate the bookmarking instruction or the users who are interested in the bookmarking instruction, the comment content generated by the other users for the target book may also be the content that is interested in the users who currently generate the bookmarking instruction. Therefore, the sentence with the largest number of times in the comment content generated by the second page user for the target book in the comment area is selected as the target sentence information, and the bookmark for the target book is generated according to the target sentence information, so that the reading experience of the user can be greatly improved.
Similarly, in the process that the sentence with the largest number of times in the comment contents generated by the second page user in the comment area for the target book is taken as the target sentence information, the reading parameters including at least one of the user nickname information and the geographical location information can be read according to the number of characters and the number of praise of each sentence. And reading tags including the current reading page number and the current reading time length to jointly generate the bookmark of the target book.
Further optionally, in a possible implementation manner of the present application, after S104 (taking the target sentence information as the bookmark content of the target book), the following steps may also be implemented:
determining to send the reading page bookmark containing the target statement information to at least one user generating a bookmark adding instruction based on at least one information of the user attribute and the historical reading data;
and adding the users which obtain the same reading page bookmark into the same reading group from at least one user which generates the bookmark adding instruction.
In addition, after the target sentence information is used as the bookmark content, the method further comprises the following steps:
when the number of the read page bookmarks containing the target statement information is detected to be multiple, acquiring user information, wherein the user is a user for generating a bookmark adding instruction;
and randomly allocating the bookmark of one target book to the user from the bookmarks of a plurality of target books.
In the application, after generating the bookmark of the target book, a plurality of users can be grouped into the same reading group. It should be noted that users in the same reading group should have the same or corresponding personal parameters.
For example, when the personal parameter corresponds to gender, all male users reading the target book may be classified into the same reading group, or all female users reading the target book may be classified into the same reading group. Or, when the personal parameter corresponds to age, all users reading the target book in the age range of 20-30 years may be classified into the same reading group, or all users reading the target book in the age range of 40-50 years may be classified into the same reading group. Or, when the personal parameter corresponds to the geographic location, all users reading the target book in the beijing area may be classified into the same reading group, all users reading the target book in the shanghai area may be classified into the same reading group, and so on.
Furthermore, after the corresponding reading groups are allocated to a plurality of users, the bookmarks of the same target book can be allocated to the users in the same reading group. So that users with the same bookmark can communicate with each other subsequently.
Further optionally, the method can detect whether the comment content contains illegal field content based on a preset field database;
when containment is determined, illegal field content is purged from the comment content.
Further, after the comment content for the target book is obtained, whether the comment content contains illegal field content or not can be detected based on a preset field database. And when the inclusion is determined, the detected illegal field content is cleared.
The field database generation method is not specifically limited in the present application, and may be, for example, a database to which an illegal identification field is added and transmitted from a server is received. When the corresponding field appears in the comment content according to the field marked with the illegal identification, the comment content can be determined to contain the illegal field content, and then the comment content is cleared.
The application also provides a method, a device, a target terminal and a medium for generating the bookmark.
Fig. 4 schematically shows a flowchart of a method for generating a bookmark according to an embodiment of the present application. As shown in fig. 4, the method is applied to a user equipment, and includes:
s201, responding to the operation of adding the bookmark to the reading page of the target book, and sending a bookmark adding instruction to the server, wherein the bookmark adding instruction comprises bookmark content remark information which is used for indicating the server to acquire the bookmark content.
The generation mode of the bookmark adding instruction is not specifically limited in the embodiment of the application, and for example, the bookmark adding instruction may be actively generated by a user, or may be automatically generated by a device when a preset event such as closing of the book by the user is detected.
Further, the event of stopping reading the target book may be generated, for example, when an operation instruction for the target book is not received after a preset time period elapses. Alternatively, when the user generates an exit instruction for the target book, an event or the like for stopping reading the target book may be generated.
S202, receiving the reading page bookmark containing target statement information sent by the server, wherein the target statement information is statement information generated based on user comment content corresponding to the target book.
S203, displaying the reading page bookmark containing the target statement information.
Furthermore, after the user equipment receives the reading page bookmark containing the target sentence information sent by the server, the reading page bookmark containing the target sentence information can be displayed.
Optionally, in response to the operation of adding a bookmark on the reading page of the target book, the embodiment of the application sends a bookmark adding instruction to the server, and the bookmark adding instruction includes:
and when detecting that the bookmark adding operation is carried out on the reading page of the target book or an event of stopping reading the target book is detected, sending a book adding instruction to the server.
Further optionally, in the embodiment of the application, additional sentence information of the bookmark content may also be obtained, and the additional sentence information of the bookmark content is added to the additional sentence information of the bookmark content, where the additional sentence information is used to generate the content of the bookmark of the reading page.
Further, in the present application, when a bookmark adding instruction is generated by a user, corresponding additional statement information may be further added thereto. It can be understood that the additional statement information is the label content that the user needs to generate. Therefore, after acquiring the additional sentence information, the server can directly take the additional sentence information as a part of the bookmark content and add the additional sentence information to the reading page bookmark.
Further, as shown in fig. 5, it is a flowchart of the complete technical solution of the present application. Firstly, a bookmark adding instruction generated by a user for a target book needs to be received, or when an event of stopping reading the target book is detected, whether illegal field content is contained in comment content or not is detected based on a preset field database. And when the content is determined to be contained, removing illegal field content from the comment content, determining target statement information in the user comment content, and taking the target statement information as bookmark content of the target book. The determining of the target statement information in the user comment content may include acquiring occurrence times corresponding to each statement in the comment content, determining a number of characters/a number of praise for each corresponding statement when it is detected that the number of corresponding statements with the largest occurrence times is plural, and taking a corresponding statement with the largest occurrence times, in which the number of characters/the number of praise satisfies a range, as the target statement information.
Further, when the number of bookmarks of the target book is detected to be multiple, the user information is obtained. And randomly allocating a bookmark of a target book to a user from the bookmarks of a plurality of target books, or allocating a reading group to a plurality of users based on the personal parameters of each user, so that the subsequent users in the same reading group are allocated with the bookmark of the same target book.
In another embodiment of the present application, as shown in fig. 6a, the present application further provides an apparatus for generating a bookmark. The device is applied to a server and comprises an acquisition module 301, a first response module 302, a determination module 303, and a first sending module 304, wherein,
the obtaining module 301 is configured to generate a reading page bookmark in response to receiving a bookmark adding instruction sent by user equipment on a reading page of a target book, where the reading page bookmark includes reading page position mark information, the bookmark adding instruction includes bookmark content annotation information, and the bookmark content annotation information is used to instruct a server to obtain bookmark content;
a first response module 302, configured to, in response to the bookmark adding instruction, obtain user comment content corresponding to the target book;
a determining module 303, configured to determine target statement information in the user comment content, and use the target statement information as bookmark content;
a first sending module 304, configured to send the reading page bookmark containing the target sentence information to the user equipment.
In the method, a bookmark adding instruction sent by user equipment on a reading page of a target book is received, a reading page bookmark is generated, the reading page bookmark comprises reading page position mark information, the bookmark adding instruction comprises bookmark content attaching note information, and the bookmark content attaching note information is used for indicating a server to obtain bookmark content; responding to a bookmark adding instruction, and acquiring user comment content corresponding to a target book; determining target statement information in the user comment content, and taking the target statement information as bookmark content; and sending the reading page bookmark containing the target sentence information to the user equipment. By applying the technical scheme of the application, one sentence can be automatically selected from the user comment contents of the book as the bookmark of the book according to the preset rule. And further the problem of low bookmark adding effect caused by the fact that the bookmark generating mode in the related technology can only be manually generated by a user is solved.
In another embodiment of the present application, the obtaining module 301 further includes:
an obtaining module 301, configured to, when it is detected that the bookmark content annotation information includes additional sentence information generated by the user equipment, add the additional sentence information as bookmark content to the reading page bookmark.
In another embodiment of the present application, the obtaining module 301 further includes:
an obtaining module 301, configured to obtain the number of occurrences corresponding to each sentence in the comment content;
an obtaining module 301 configured to take the corresponding statement with the largest occurrence number as the target statement information.
In another embodiment of the present application, the obtaining module 301 further includes:
an obtaining module 301 configured to determine, when it is detected that the number of corresponding sentences having the largest occurrence number is multiple, the number of characters of each corresponding sentence;
an obtaining module 301, configured to take, as the target sentence information, a corresponding sentence in which the number of characters satisfies a first range in the corresponding sentence with the largest occurrence number.
In another embodiment of the present application, the determining module 303 further includes:
a determining module 303, configured to determine, when the number of the corresponding statements with the largest occurrence number is detected to be multiple, the number of praise for each corresponding statement;
a determining module 303, configured to take, as the target statement information, a statement whose number of prawns in the corresponding statement with the largest occurrence number satisfies a second range.
In another embodiment of the present application, the determining module 303 further includes:
a determining module 303 configured to obtain reading parameters of the user;
a determination module 303 configured to generate a user tag based on the reading parameters of the user;
a determining module 303 configured to merge the user tag and the corresponding sentence with the largest number of occurrences as the target sentence information.
In another embodiment of the present application, the generating module 304 further includes:
a generating module 304 configured to obtain a current reading page number and a current reading duration;
a generating module 304 configured to generate a reading label based on the current reading page number and the current reading time length;
a generating module 304 configured to merge the reading tag with the corresponding sentence with the largest occurrence number as the target sentence information.
In another embodiment of the present application, the determining module 303 further includes:
a determining module 303, configured to acquire a sentence in the comment content, where a preset identifier appears, where the preset identifier includes at least any one of an expression identifier, an animation identifier, a symbol identifier, and a number identifier;
a determining module 303, configured to select the target sentence information from the comment content based on the sentence in which the preset identifier appears.
In another embodiment of the present application, the determining module 303 further includes:
a determining module 303, configured to determine to send the reading page bookmark containing the target sentence information to at least one user generating the bookmark adding instruction based on at least one of user attributes and historical reading data;
a determining module 303, configured to add, to the same reading group, the user who obtains the same reading page bookmark from the at least one user who generates the bookmark adding instruction.
In another embodiment of the present application, the determining module 303 further includes:
a determining module 303, configured to detect whether the comment content contains illegal field content based on a preset field database;
a determining module 303 configured to remove the illegal field content from the comment content when the inclusion is determined.
In another embodiment of the present application, as shown in fig. 6b, the present application further provides an apparatus for generating a bookmark. Wherein the apparatus is applied to a user equipment, and comprises a second response module 305, a second sending module 306, and a presentation module 307, wherein,
a second response module 305, configured to send a bookmark adding instruction to the server in response to a bookmark adding operation on a reading page of the target book, where the bookmark adding instruction includes bookmark content remark information, and the bookmark content remark information is used for instructing the server to acquire bookmark content;
a second sending module 306, configured to receive the read page bookmark containing target statement information sent by the server, where the target statement information is statement information generated based on user comment content corresponding to the target book;
a presentation module 307 configured to present the reading page bookmark containing the target sentence information.
In the method, a bookmark adding instruction sent by user equipment on a reading page of a target book is received, a reading page bookmark is generated, the reading page bookmark comprises reading page position mark information, the bookmark adding instruction comprises bookmark content attaching note information, and the bookmark content attaching note information is used for indicating a server to obtain bookmark content; responding to a bookmark adding instruction, and acquiring user comment content corresponding to a target book; determining target statement information in the user comment content, and taking the target statement information as bookmark content; and sending the reading page bookmark containing the target sentence information to the user equipment. By applying the technical scheme of the application, one sentence can be automatically selected from the user comment contents of the book as the bookmark of the book according to the preset rule. And further the problem of low bookmark adding effect caused by the fact that the bookmark generating mode in the related technology can only be manually generated by a user is solved.
In another embodiment of the present application, the second sending module 306 further includes:
a second sending module 306, configured to send a book adding instruction to the server when detecting that a bookmark adding operation is performed on the reading page of the target book or detecting an event of stopping reading the target book.
In another embodiment of the present application, the second sending module 306 further includes:
a second sending module 306, configured to obtain bookmark content additional statement information, and add the bookmark content additional statement information to the bookmark content additional statement information, where the additional statement information is used to generate the content of the reading page bookmark.
Fig. 7 is a block diagram illustrating a logical structure of an electronic device in accordance with an exemplary embodiment. For example, the electronic device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, electronic device 400 may include one or more of the following components: a processor 401 and a memory 402.
Processor 401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 401 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 401 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 402 may include one or more computer-readable storage media, which may be non-transitory. Memory 402 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 402 is configured to store at least one instruction for execution by the processor 401 to implement the interactive special effect calibration method provided by the method embodiments of the present application.
In some embodiments, the electronic device 400 may further optionally include: a peripheral interface 403 and at least one peripheral. The processor 401, memory 402 and peripheral interface 403 may be connected by bus or signal lines. Each peripheral may be connected to the peripheral interface 403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 404, touch screen display 405, camera 406, audio circuitry 407, positioning components 408, and power supply 409.
The peripheral interface 403 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 401 and the memory 402. In some embodiments, processor 401, memory 402, and peripheral interface 403 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 401, the memory 402 and the peripheral interface 403 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 404 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 404 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 405 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 405 is a touch display screen, the display screen 405 also has the ability to capture touch signals on or over the surface of the display screen 405. The touch signal may be input to the processor 401 as a control signal for processing. At this point, the display screen 405 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 405 may be one, providing the front panel of the electronic device 400; in other embodiments, the display screen 405 may be at least two, respectively disposed on different surfaces of the electronic device 400 or in a folded design; in still other embodiments, the display screen 405 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device 400. Even further, the display screen 405 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 405 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 406 is used to capture images or video. Optionally, camera assembly 406 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 406 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 407 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 401 for processing, or inputting the electric signals to the radio frequency circuit 404 for realizing voice communication. For stereo capture or noise reduction purposes, the microphones may be multiple and disposed at different locations of the electronic device 400. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 401 or the radio frequency circuit 404 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 407 may also include a headphone jack.
The positioning component 408 is used to locate a current geographic location of the electronic device 400 to implement navigation or LBS (location based Service). The positioning component 408 may be a positioning component based on the GPS (global positioning System) of the united states, the beidou System of china, the graves System of russia, or the galileo System of the european union.
The power supply 409 is used to supply power to the various components in the electronic device 400. The power source 409 may be alternating current, direct current, disposable or rechargeable. When power source 409 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the electronic device 400 also includes one or more sensors 410. The one or more sensors 410 include, but are not limited to: acceleration sensor 411, gyro sensor 412, pressure sensor 413, fingerprint sensor 414, optical sensor 415, and proximity sensor 416.
The acceleration sensor 411 may detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the electronic apparatus 400. For example, the acceleration sensor 411 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 401 may control the touch display screen 405 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 411. The acceleration sensor 411 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 412 may detect a body direction and a rotation angle of the electronic device 400, and the gyro sensor 412 may cooperate with the acceleration sensor 411 to acquire a 3D motion of the user on the electronic device 400. From the data collected by the gyro sensor 412, the processor 401 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensors 413 may be disposed on a side bezel of the electronic device 400 and/or on a lower layer of the touch display screen 405. When the pressure sensor 413 is arranged on the side frame of the electronic device 400, a holding signal of the user to the electronic device 400 can be detected, and the processor 401 performs left-right hand identification or shortcut operation according to the holding signal collected by the pressure sensor 413. When the pressure sensor 413 is disposed at the lower layer of the touch display screen 405, the processor 401 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 405. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 414 is used for collecting a fingerprint of the user, and the processor 401 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 414, or the fingerprint sensor 414 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, processor 401 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 414 may be disposed on the front, back, or side of the electronic device 400. When a physical button or vendor Logo is provided on the electronic device 400, the fingerprint sensor 414 may be integrated with the physical button or vendor Logo.
The optical sensor 415 is used to collect the ambient light intensity. In one embodiment, the processor 401 may control the display brightness of the touch display screen 405 based on the ambient light intensity collected by the optical sensor 415. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 405 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 405 is turned down. In another embodiment, the processor 401 may also dynamically adjust the shooting parameters of the camera assembly 406 according to the ambient light intensity collected by the optical sensor 415.
Proximity sensor 416, also known as a distance sensor, is typically disposed on the front panel of electronic device 400. The proximity sensor 416 is used to capture the distance between the user and the front of the electronic device 400. In one embodiment, the processor 401 controls the touch display screen 405 to switch from the bright screen state to the dark screen state when the proximity sensor 416 detects that the distance between the user and the front surface of the electronic device 400 gradually decreases; when the proximity sensor 416 detects that the distance between the user and the front of the electronic device 400 is gradually increased, the processor 401 controls the touch display screen 405 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 does not constitute a limitation of the electronic device 400, and may include more or fewer components than those shown, or combine certain components, or employ a different arrangement of components.
In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium, such as the memory 404, comprising instructions executable by the processor 420 of the electronic device 400 to perform the above-described method of generating a bookmark, the method comprising: generating a reading page bookmark in response to receiving a bookmark adding instruction which is sent by user equipment and is used for adding a bookmark on a reading page of a target book, wherein the reading page bookmark comprises reading page position mark information, the bookmark adding instruction comprises bookmark content remark information, and the bookmark content remark information is used for indicating the server to acquire bookmark content; responding to the bookmark adding instruction, and acquiring user comment content corresponding to the target book; determining target statement information in the user comment content, and taking the target statement information as bookmark content; and sending the reading page bookmark containing the target statement information to the user equipment. Optionally, the instructions may also be executable by the processor 420 of the electronic device 400 to perform other steps involved in the exemplary embodiments described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided an application/computer program product comprising one or more instructions executable by the processor 420 of the electronic device 400 to perform the above-described method of generating bookmarks, the method comprising: generating a reading page bookmark in response to receiving a bookmark adding instruction which is sent by user equipment and is used for adding a bookmark on a reading page of a target book, wherein the reading page bookmark comprises reading page position mark information, the bookmark adding instruction comprises bookmark content remark information, and the bookmark content remark information is used for indicating the server to acquire bookmark content; responding to the bookmark adding instruction, and acquiring user comment content corresponding to the target book; determining target statement information in the user comment content, and taking the target statement information as bookmark content; and sending the reading page bookmark containing the target statement information to the user equipment. Optionally, the instructions may also be executable by the processor 420 of the electronic device 400 to perform other steps involved in the exemplary embodiments described above.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (16)

1. A method for generating a bookmark is applied to a server side, and the method comprises the following steps:
generating a reading page bookmark in response to receiving a bookmark adding instruction which is sent by user equipment and is used for adding a bookmark on a reading page of a target book, wherein the reading page bookmark comprises reading page position mark information, the bookmark adding instruction comprises bookmark content remark information, and the bookmark content remark information is used for indicating the server to acquire bookmark content;
responding to the bookmark adding instruction, and acquiring user comment content corresponding to the target book;
determining target statement information in the user comment content, and taking the target statement information as bookmark content;
and sending the reading page bookmark containing the target statement information to the user equipment.
2. The method of claim 1, wherein after receiving the instruction of adding the bookmark to the reading page of the target book sent by the user device, the method further comprises:
and when detecting that the bookmark content annotation information contains the additional sentence information generated by the user equipment, adding the additional sentence information as bookmark content to the reading page bookmark.
3. The method of claim 1, wherein said determining target sentence information in said user comment content comprises:
acquiring the occurrence frequency corresponding to each statement in the comment content;
and taking the corresponding statement with the largest occurrence number as the target statement information.
4. The method according to claim 3, wherein the regarding the corresponding sentence having the largest number of occurrences as the target sentence information comprises:
when detecting that the number of the corresponding sentences with the largest occurrence times is multiple, determining the number of characters of each corresponding sentence;
and taking the corresponding sentence with the number of characters meeting the first range in the corresponding sentences with the maximum occurrence times as the target sentence information.
5. The method according to claim 3 or 4, wherein the regarding the corresponding sentence having the largest number of occurrences as the target sentence information comprises:
when detecting that the number of the corresponding sentences the occurrence times of which are the most is a plurality, determining the praise number of each corresponding sentence;
and taking the corresponding sentences of which the praise number meets a second range in the corresponding sentences with the maximum occurrence times as the target sentence information.
6. The method according to claim 5, wherein the regarding the corresponding sentence having the largest number of occurrences as the target sentence information comprises:
acquiring reading parameters of a user;
generating a user tag based on the reading parameters of the user;
and merging the user tag and the corresponding statement with the maximum occurrence number to serve as the target statement information.
7. The method according to claim 5, wherein the regarding the corresponding sentence having the largest number of occurrences as the target sentence information comprises:
acquiring the current reading page number and the current reading duration;
generating a reading label based on the current reading page number and the current reading time length;
and merging the reading label and the corresponding statement with the maximum occurrence frequency to serve as the target statement information.
8. The method of claim 1, wherein said determining target sentence information in said user comment content comprises:
obtaining a sentence with a preset mark in the comment content, wherein the preset mark comprises at least any one of an expression mark, an animation mark, a symbol mark and a digital mark;
and selecting the target statement information from the comment content based on the statement with the preset mark.
9. The method of claim 1, further comprising, after the target sentence information is used as bookmark content:
determining to send the reading page bookmark containing the target statement information to at least one user generating the bookmark adding instruction based on at least one information of user attributes and historical reading data;
and adding the users obtaining the same reading page bookmark to the same reading group from at least one user generating the bookmark adding instruction.
10. The method of claim 1, further comprising, after the target sentence information is used as bookmark content:
when detecting that the number of the reading page bookmarks containing the target statement information is multiple, acquiring user information, wherein the user is a user generating the bookmark adding instruction;
and randomly allocating one bookmark of the target book to the user from the bookmarks of a plurality of target books.
11. The method of claim 1, wherein after the obtaining of the comment content corresponding to the target book, further comprising:
detecting whether the comment content contains illegal field content or not based on a preset field database;
when the inclusion is determined, the illegal field content is cleared from the comment content.
12. A method for generating a bookmark, applied to a user device, comprises the following steps:
responding to bookmark adding operation on a reading page of a target book, and sending a bookmark adding instruction to a server, wherein the bookmark adding instruction comprises bookmark content remark information which is used for indicating a server to acquire bookmark content;
receiving a reading page bookmark containing target statement information sent by the server, wherein the target statement information is statement information generated based on user comment content corresponding to the target book;
and displaying the reading page bookmark containing the target sentence information.
13. The method of claim 15, wherein sending a bookmark instruction to a server in response to a bookmark adding operation on a reading page of a target book comprises:
and sending a book adding instruction to a server when detecting that bookmark adding operation is carried out on the reading page of the target book or an event of stopping reading the target book is detected.
14. The method of claim 15, wherein the method further comprises:
acquiring bookmark content additional statement information, and adding the bookmark content additional statement information into the bookmark content additional statement information, wherein the additional statement information is used for generating the content of the reading page bookmark.
15. An electronic device, comprising:
a memory for storing executable instructions; and the number of the first and second groups,
a processor for display with the memory to execute the executable instructions to perform the operations of the method of generating a bookmark of any of claims 1-14.
16. A computer-readable storage medium storing computer-readable instructions that, when executed, perform the operations of the method of generating a bookmark of any of claims 1-14.
CN202010701027.9A 2020-07-20 2020-07-20 Method and device for generating bookmark, electronic equipment and medium Pending CN111897765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010701027.9A CN111897765A (en) 2020-07-20 2020-07-20 Method and device for generating bookmark, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010701027.9A CN111897765A (en) 2020-07-20 2020-07-20 Method and device for generating bookmark, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN111897765A true CN111897765A (en) 2020-11-06

Family

ID=73189510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010701027.9A Pending CN111897765A (en) 2020-07-20 2020-07-20 Method and device for generating bookmark, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN111897765A (en)

Similar Documents

Publication Publication Date Title
CN112764608B (en) Message processing method, device, equipment and storage medium
WO2020211607A1 (en) Video generation method, apparatus, electronic device, and medium
CN112965683A (en) Volume adjusting method and device, electronic equipment and medium
CN110109608B (en) Text display method, text display device, text display terminal and storage medium
CN110933468A (en) Playing method, playing device, electronic equipment and medium
CN112667835A (en) Work processing method and device, electronic equipment and storage medium
CN110990341A (en) Method, device, electronic equipment and medium for clearing data
CN112749362A (en) Control creating method, device, equipment and storage medium
CN110769120A (en) Method, device, equipment and storage medium for message reminding
CN109995804B (en) Target resource information display method, information providing method and device
CN110795660B (en) Data analysis method, data analysis device, electronic device, and medium
CN112860046B (en) Method, device, electronic equipment and medium for selecting operation mode
CN112770177A (en) Multimedia file generation method, multimedia file release method and device
CN113051485B (en) Group searching method, device, terminal and storage medium
CN113836426A (en) Information pushing method and device and electronic equipment
CN111158780B (en) Method, device, electronic equipment and medium for storing application data
CN109918566B (en) Query method, query device, electronic equipment and medium
CN109816047B (en) Method, device and equipment for providing label and readable storage medium
CN113204724A (en) Method and device for creating interactive information, electronic equipment and storage medium
CN111010732A (en) Network registration method, device, electronic equipment and medium
CN111897765A (en) Method and device for generating bookmark, electronic equipment and medium
CN110968549A (en) File storage method and device, electronic equipment and medium
CN111125095A (en) Data prefix adding method and device, electronic equipment and medium
CN110933237A (en) Call method, device, electronic equipment and medium
CN110795639A (en) Method, device, electronic equipment and medium for receiving information

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