CN113807104A - Electronic bookmark adding method, electronic device and computer storage medium - Google Patents

Electronic bookmark adding method, electronic device and computer storage medium Download PDF

Info

Publication number
CN113807104A
CN113807104A CN202111151922.9A CN202111151922A CN113807104A CN 113807104 A CN113807104 A CN 113807104A CN 202111151922 A CN202111151922 A CN 202111151922A CN 113807104 A CN113807104 A CN 113807104A
Authority
CN
China
Prior art keywords
page
bookmark
electronic
semantic
determining
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
CN202111151922.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.)
Ireader Technology Co Ltd
Zhangyue Technology Co Ltd
Original Assignee
Zhangyue 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 Zhangyue Technology Co Ltd filed Critical Zhangyue Technology Co Ltd
Priority to CN202111151922.9A priority Critical patent/CN113807104A/en
Publication of CN113807104A publication Critical patent/CN113807104A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • 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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an adding method of an electronic bookmark, electronic equipment and a computer storage medium. The method comprises the following steps: responding to a bookmark adding operation, and generating an electronic bookmark; determining a first page corresponding to bookmark adding operation; judging whether the first page is an invalid semantic page or not according to the page content of the first page; and if the first page is an invalid semantic page, determining a second page according to the first page, and determining the second page as the adding position of the electronic bookmark. By adopting the scheme, the adding position of the electronic bookmark can be corrected under the condition of misoperation of the user, the accuracy of the adding position of the electronic bookmark is guaranteed, the actual requirement of the user is met, and the user experience is improved.

Description

Electronic bookmark adding method, electronic device and computer storage medium
Technical Field
The invention relates to the technical field of data processing, in particular to an adding method of an electronic bookmark, electronic equipment and a computer storage medium.
Background
With the continuous development of science and technology and society, the reading habits of readers are also changed. Electronic books are increasingly favored by readers due to the characteristics of energy conservation, environmental protection, convenience in reading and the like. In order to improve the reading experience of readers, some electronic book platforms provide the readers with a bookmark function, and the bookmark function supports the readers to add bookmarks to pages of an electronic book, so that the readers can mark key or interested pages of the electronic book conveniently.
In the prior art, after executing bookmark adding operations such as a page pull-down operation, a user directly uses a page corresponding to the current bookmark adding operation as an adding position of a bookmark. However, the bookmark position added in this way has low accuracy, and the user experience is poor.
Disclosure of Invention
In view of the above, the present invention has been made to provide an adding method of an electronic bookmark, an electronic device, and a computer storage medium that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided an adding method of an electronic bookmark, including:
responding to a bookmark adding operation, and generating an electronic bookmark;
determining a first page corresponding to the bookmark adding operation;
judging whether the first page is an invalid semantic page or not according to the page content of the first page;
and if the first page is an invalid semantic page, determining a second page according to the first page, and determining the second page as the adding position of the electronic bookmark.
According to still another aspect of the present invention, there is provided an electronic apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
responding to a bookmark adding operation, and generating an electronic bookmark;
determining a first page corresponding to the bookmark adding operation;
judging whether the first page is an invalid semantic page or not according to the page content of the first page;
and if the first page is an invalid semantic page, determining a second page according to the first page, and determining the second page as the adding position of the electronic bookmark.
According to still another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the above-mentioned electronic bookmark adding method.
The embodiment of the invention discloses an adding method of an electronic bookmark, electronic equipment and a computer storage medium. Generating an electronic bookmark by responding to a bookmark adding operation; determining a first page corresponding to bookmark adding operation; judging whether the first page is an invalid semantic page or not according to the page content of the first page; and if the first page is an invalid semantic page, determining a second page according to the first page, and determining the second page as the adding position of the electronic bookmark. By adopting the scheme, the bookmark position can be corrected under the condition of misoperation of the user, the accuracy of the electronic bookmark adding position is guaranteed, the actual requirement of the user is met, and the user experience is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flow chart illustrating an adding method of an electronic bookmark according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an adding method of an electronic bookmark according to a second embodiment of the present invention;
FIG. 3a is a schematic diagram of a page provided in the second embodiment of the present invention;
FIG. 3b is a diagram illustrating a bookmark content entry provided by a second embodiment of the present invention;
FIG. 3c is a schematic diagram of a page with an electronic bookmark added thereto according to a second embodiment of the present invention;
FIG. 3d is a schematic diagram illustrating content display of a first type of electronic bookmarks according to a second embodiment of the present invention;
fig. 4 shows a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Example one
Fig. 1 shows a flow chart of an adding method of an electronic bookmark according to an embodiment of the present invention. The method for adding the electronic bookmark provided by the embodiment of the invention can be executed on the side of the user terminal.
As shown in fig. 1, the method comprises the steps of:
step S110, responding to the bookmark adding operation, and generating the electronic bookmark.
And after monitoring that the user performs bookmark adding operation, creating a corresponding electronic bookmark. The embodiment of the present invention does not limit the specific type of the bookmark adding operation, for example, the bookmark adding operation may be a page pull-down operation, and the like.
Step S120, determining a first page corresponding to the bookmark adding operation.
And the page corresponding to the bookmark adding operation is the first page. Specifically, if the user performs a bookmark adding operation in a page, the page is the first page. For example, if the user performs a bookmark adding operation on the 5 th page of the electronic book, the first page corresponding to the bookmark adding operation is the 5 th page of the electronic book.
Step S130, judging whether the first page is an invalid semantic page or not according to the page content of the first page; if so; step S140 is performed.
Different from the prior art, in the embodiment of the invention, after the first page corresponding to the bookmark adding operation is determined, the first page is not directly used as the adding position of the electronic bookmark, but the first page is checked, and whether the first page is an invalid semantic page or not is judged to determine whether the misoperation exists in the user or not. In the case where it is determined that the first page is an invalid semantic page, correcting the position of the electronic bookmark by the subsequent step S140; in a case where it is determined that the first page is not an invalid semantic page, the first page is determined as an addition position of the electronic bookmark.
Specifically, in this step, whether the first page is an invalid semantic page is determined according to the page content of the first page. The embodiment of the present invention may, but is not limited to, determine whether the first page is an invalid semantic page in the following manner.
The judgment method is as follows: and extracting semantic keywords from the page content of the first page, and judging whether the first page is an invalid semantic page or not according to the extraction result of the semantic keywords. Specifically, if it is found that the corresponding semantic keyword cannot be extracted after the semantic keyword extraction processing is performed on the page content of the first page, it is determined that the first page is an invalid semantic page. For example, if the page content of the first page is "one". ", and for" one ". In other words, corresponding semantic keywords cannot be extracted from the page content of the first page, and the first page is determined to be an invalid semantic page. Or, although the semantic keyword extraction processing is performed on the page content of the first page, and then the corresponding semantic keyword can be extracted, if the extracted semantic keyword is an invalid keyword, the first page is determined to be an invalid semantic page. In the process of determining whether the extracted semantic keyword is an invalid keyword, an invalid keyword list can be configured in advance, and if the extracted semantic keyword is located in the invalid keyword list, the extracted semantic keyword is determined to be an invalid keyword. For example, if the page content of the first page is "haha". If the extracted semantic keyword is 'haha', and the 'haha' is located in the invalid keyword list, determining that the semantic keyword is an invalid keyword, and then determining that the first page is an invalid semantic page. In the judging mode, whether the first page is an invalid semantic page is determined through semantic analysis of the page content of the first page, so that whether the first page is an invalid semantic page can be accurately judged.
And a second judgment mode: and identifying the character type of the characters in the first page, and judging whether the first page is an invalid semantic page or not according to the character type. Specifically, if the character type only includes the punctuation type, the first page is determined to be an invalid semantic page. For example, the page content of the first page is "… …! ", the characters" … … "and the character"! If the character types of the page are punctuation types, determining that the first page is an invalid semantic page. The judging mode judges whether the first page is an invalid semantic page or not according to the character type of the characters in the first page, and is simple and easy to implement and high in judging efficiency.
And a third judgment mode: identifying the number of characters contained in the first page; and judging whether the first page is an invalid semantic page or not according to the number of the characters. Specifically, if the number of characters included in the first page is smaller than a preset number threshold, the first page is determined to be an invalid semantic page. For example, if the first page contains only one character, the first page is determined to be an invalid semantic page. The judging method judges whether the first page is an invalid semantic page or not according to the number of characters in the first page, and is simple and easy to implement and high in judging efficiency.
The judgment mode is four: and judging whether the first page is an invalid semantic page or not by adopting the combination of at least two judgment modes. Taking the combination of the second judgment mode and the third judgment mode as an example, according to the number of characters and the character type contained in the first page, comprehensively determining whether the first page is an invalid semantic page. Specifically, whether the number of characters included in the first page is smaller than a preset number threshold is judged, if yes, the character types of the characters in the first page are further obtained, and if the character types only include punctuation types, the first page is determined to be an invalid semantic page. By adopting the judging mode, whether the first page is an invalid semantic page can be further accurately judged.
It should be understood herein that the above-described various judgment manners are obtained by a large amount of user behavior data related to bookmarks. Specifically, a wrong electronic bookmark and a wrong page corresponding to the wrong electronic bookmark can be identified from electronic bookmarks which are generated historically according to user behavior data.
The user behavior sequence generating method comprises the steps of generating a list of user behaviors and user behavior occurrence time based on user behavior data, and then generating a corresponding user behavior sequence according to the sequence of the user behavior occurrence time. And if the user behavior sequence is matched with the preset behavior sequence, determining that the user behavior sequence is a target user behavior sequence, and determining the user behavior data corresponding to the target user behavior sequence as the user bookmark correction behavior data.
The preset sequence of behaviors may be "bookmark added in a page → bookmark deleted in a page → bookmark added in B page", and an interval of occurrence time of two adjacent behaviors in the sequence of behaviors is smaller than a preset time interval. For example, if a user adds an electronic bookmark to a certain page, immediately deletes the electronic bookmark in the page, and immediately adds a new electronic bookmark to another page again, the behavior sequence is matched with a preset behavior sequence, the behavior sequence is a target user behavior sequence, and thus, the user behavior data corresponding to the behavior sequence is the user bookmark correction behavior data. And the electronic bookmark corresponding to the first behavior in the behavior sequence of the target user is the error electronic bookmark, and the page corresponding to the first behavior is the error page.
And further analyzing the error page, and determining that the page cannot extract the semantic keywords or the extracted semantic keywords are invalid keywords through analysis, and/or determining that the character types of the characters contained in the page only contain punctuation types, and/or determining that the number of the characters contained in the page is less than the preset number.
And step S140, determining a second page according to the first page, and determining the second page as the adding position of the electronic bookmark.
The invalid semantic page cannot provide effective reading content for a user, and the bookmark inserting operation performed by the user on the invalid semantic page is usually misoperation. If the electronic bookmark is inserted into the invalid semantic page, the electronic bookmark loses the function of identifying key content, so that the actual bookmark adding requirement of a user cannot be met. In view of this, after the first page is determined to be the invalid semantic page, the second page is determined according to the first page, and the second page is used as the adding position of the electronic bookmark. The second page is adjacent to the first page, and for example, a page previous to the first page may be determined as the second page.
Therefore, after the first page corresponding to the bookmark adding operation is determined, the first page is further checked to judge whether the first page is an invalid semantic page. And after determining that the first page is an invalid semantic page, using the second page as the adding position of the electronic bookmark. By adopting the scheme, the bookmark position can be corrected under the condition of misoperation of the user, the accuracy of the electronic bookmark adding position is guaranteed, the actual requirement of the user is met, and the user experience is improved.
Example two
Fig. 2 is a flowchart illustrating an adding method of an electronic bookmark according to a second embodiment of the present invention. The method for adding the electronic bookmark provided by the embodiment of the invention can be executed on the side of the user terminal.
As shown in fig. 2, the method comprises the steps of:
step S210, responding to the first bookmark adding operation, providing a bookmark content input entry; acquiring bookmark content data input through a bookmark content input entry; and generating a first type of electronic bookmark, and recording the mapping relation between the bookmark content data and the first type of electronic bookmark.
In the embodiment of the invention, the first type of electronic bookmarks can be generated based on the first bookmark adding operation of the user. The first type of electronic bookmark can mark key pages, and can be used for adding corresponding remark information and the like by a user, so that the user experience is improved.
Specifically, after a first bookmark adding operation performed by a user is monitored, a bookmark content input entry is provided. Wherein the bookmark content input entry includes at least one of: a voice entry, a text entry, and a picture addition entry.
Bookmark content data input through the bookmark content input entry is acquired and stored. The user may enter voice data through a provided voice entry portal, text data through a text entry portal, and/or add picture data through a picture addition portal, etc. The acquired bookmark content data may be voice data, text data, and/or picture data, etc. And further generating a first type of electronic bookmark, and recording the mapping relation between the bookmark content data and the first type of electronic bookmark, wherein the bookmark content data which has the mapping relation with the first type of electronic bookmark is the bookmark content of the first type of electronic bookmark.
And step S220, responding to the second bookmark adding operation, and generating a second type of electronic bookmark.
In the embodiment of the invention, the second type electronic bookmark can be generated based on the second bookmark adding operation of the user, and the second type electronic bookmark can mark a key page. Specifically, after the fact that the user executes the second bookmark adding operation is monitored, the second type of electronic bookmarks are directly generated, and therefore the generation efficiency of the electronic bookmarks is improved.
The generation process of different categories of electronic bookmarks is set forth in detail below with specific examples:
as shown in fig. 3a, if the user performs a downward sliding operation on the page, and the content page is moved downward by a first preset distance through the sliding operation and then stays for a first preset duration, the user completes the first bookmark adding operation. In response to the first bookmark adding operation, a bookmark content input entry as shown in FIG. 3b is presented. Specifically, as shown in fig. 3b, the user moves the content page downward by a first preset distance d1 by performing a first bookmark adding operation, and a voice entry, a text entry, and a picture adding entry are displayed above the content page. After clicking a voice input entry, a user calls a system microphone function to record user voice data; after clicking a text input entry by a user, displaying a text input box to acquire text data input in the text input box by the user; correspondingly, after clicking the picture adding entry, the user can call the function of the system photo album so that the user can select a picture from the photo album to enter the picture; or after clicking the picture adding entrance, the user calls the system camera function and acquires the picture data shot by the user through the camera function. After the user finishes bookmark content input, generating a first type of electronic bookmark, and storing bookmark content data obtained through a bookmark content input inlet in association with the first type of electronic bookmark.
Still as shown in fig. 3a, if the user performs a downward sliding operation in the page, and after the content page is moved downward by the sliding operation by a first preset distance, the staying time is less than a first preset time length, the user completes the second bookmark adding operation. And generating a second type of electronic bookmark in response to the second bookmark adding operation.
In step S230, the adding position of the electronic bookmark is determined.
The specific implementation process of this step can refer to the description of the corresponding parts in the first embodiment, and is not described herein again.
Step S240, displaying the electronic bookmark in the page corresponding to the adding position of the electronic bookmark.
Specifically, if the first page corresponding to the user bookmark adding operation is an invalid semantic page, the second page is the adding position of the electronic bookmark, and the electronic bookmark is displayed in the second page in the step; and if the first page corresponding to the bookmark adding operation of the user is not an invalid semantic page, the first page is the adding position of the electronic bookmark, and the electronic bookmark is displayed in the first page in the step.
In an alternative mode, if the content viewing operation for the electronic bookmark is monitored, the bookmark type of the electronic bookmark is identified. If the electronic bookmark is the first type of electronic bookmark, displaying bookmark content data which has a mapping relation with the electronic bookmark in response to content viewing operation, so that a user can view the bookmark content of the first type of electronic bookmark; if the electronic bookmark is the second type of electronic bookmark, the content viewing operation is not responded as the second type of electronic bookmark does not have corresponding bookmark content.
Taking fig. 3c as an example, the top right corner of the page shows an electronic bookmark 31. And the user performs a downward sliding operation in the page, and stops the content page for a second preset time after moving the content page downward by a second preset distance d2 through the sliding operation, so that the user completes the content viewing operation for the electronic bookmark in the page. If the electronic bookmark is the first type of electronic bookmark and the bookmark content corresponding to the first type of electronic bookmark is the voice data, a playing interface of the voice data can be displayed as shown in fig. 3 d. Besides displaying the playing interface of the voice data, the text data corresponding to the voice data can be further displayed, so that a user can quickly know the content of the voice data, and the user experience is improved.
In yet another alternative, the presentation style of the electronic bookmark may be determined by at least one of the following information: the page content of the page corresponding to the adding position of the electronic bookmark, the category of the electronic book to which the page belongs, user preference information, bookmark type information and the like. And then, displaying the electronic bookmark according to the display style of the electronic bookmark. By adopting the mode, personalized and diversified electronic bookmark styles can be provided for the user, the reading interest of the user is improved, and the user experience is improved.
Taking the presentation of the electronic bookmark in the second page as an example, the presentation style of the electronic bookmark can be determined by at least one of the following information: page content of the second page, a category of the electronic book to which the second page belongs, user preference information, and bookmark type information. For example, the display style of the first type of electronic bookmark is different from that of the second type of electronic bookmark, so that the user can know the type of the currently displayed electronic bookmark; or, if the page content keyword of the second page is "war" or the category of the electronic book to which the second page belongs is "war", the electronic bookmark display style may be a sword style, and the like; or, if the user prefers the book of the ancient language subject, the electronic bookmark display style can be an ancient cartoon character style and the like.
In yet another alternative, in order to facilitate the user to view and manage the generated electronic bookmarks, the embodiment of the present invention further provides a search entry for electronic bookmarks for the user. The search entry may be located on a bookmark list page, and so on. In a specific implementation process, a user can input a search word through the search entry, and then the search word is obtained, and then the search word is compared with the bookmark contents of the first type of electronic bookmarks, so as to obtain an electronic bookmark matched with the search word. In the searching process, if the bookmark content of the first type of electronic bookmark is text data, comparing the searched word with the text data; if the bookmark content of the first type of electronic bookmark is voice data, text data corresponding to the voice data is generated in advance, and the search word is compared with the text data corresponding to the voice data in the comparison process; if the bookmark content of the first type of electronic bookmark is the picture data, a text label is allocated to the picture data in advance, and the search word is specifically compared with the text label corresponding to the picture data in the comparison process, and the like.
Therefore, the embodiment of the invention can provide a bookmark content input entry for the user, and the user inputs the bookmark content, thereby generating the first type of electronic bookmark which can mark key pages and record remark information; the embodiment of the invention can also directly generate the second type of electronic bookmarks for marking the key pages, thereby improving the reading experience of the user.
EXAMPLE III
The third embodiment of the present invention provides a non-volatile computer storage medium, where at least one executable instruction is stored in the computer storage medium, and the computer executable instruction can execute the method in any of the above method embodiments.
The executable instructions may be specifically configured to cause the processor to:
responding to a bookmark adding operation, and generating an electronic bookmark;
determining a first page corresponding to the bookmark adding operation;
judging whether the first page is an invalid semantic page or not according to the page content of the first page;
and if the first page is an invalid semantic page, determining a second page according to the first page, and determining the second page as the adding position of the electronic bookmark.
In an alternative embodiment, the executable instructions cause the processor to:
extracting semantic keywords from the page content of the first page; judging whether the first page is an invalid semantic page or not according to the extraction result of the semantic keywords;
and if the semantic keywords cannot be extracted or the extracted semantic keywords are invalid keywords, determining that the first page is an invalid semantic page.
In an alternative embodiment, the executable instructions cause the processor to:
identifying the character type of the characters in the first page; judging whether the first page is an invalid semantic page or not according to the character type;
and if the character types only comprise punctuation types, determining that the first page is an invalid semantic page.
In an alternative embodiment, the executable instructions cause the processor to:
identifying the number of characters contained in the first page; judging whether the first page is an invalid semantic page or not according to the number of the characters;
and if the number of the characters is smaller than a preset number threshold value, determining that the first page is an invalid semantic page.
In an alternative embodiment, the executable instructions cause the processor to:
and determining the previous page of the first page as a second page.
In an alternative embodiment, the executable instructions cause the processor to:
and if the first page is not an invalid semantic page, determining the first page as the adding position of the electronic bookmark.
In an alternative embodiment, the executable instructions cause the processor to:
providing a bookmark content input entry in response to the first bookmark adding operation;
acquiring bookmark content data input through the bookmark content input entry;
and generating a first type of electronic bookmark, and recording the mapping relation between the bookmark content data and the first type of electronic bookmark.
In an alternative embodiment, the bookmark content input entry includes at least one of:
a voice entry, a text entry, and a picture addition entry.
In an alternative embodiment, the executable instructions cause the processor to:
and responding to the second bookmark adding operation to generate a second type of electronic bookmark.
In an alternative embodiment, the executable instructions cause the processor to:
after the determining of the second page as the adding position of the electronic bookmark, displaying the electronic bookmark in the second page;
if the content viewing operation aiming at the electronic bookmark is monitored, identifying the bookmark type of the electronic bookmark;
if the electronic bookmark is a first type of electronic bookmark, responding to the content viewing operation, and displaying bookmark content data which has a mapping relation with the electronic bookmark;
and if the electronic bookmark is the second type of electronic bookmark, not responding to the content viewing operation.
In an alternative embodiment, the executable instructions cause the processor to:
determining a presentation style of the electronic bookmark by at least one of the following information: page content of the second page, a category of the electronic book to which the second page belongs, user preference information and bookmark type information;
and displaying the electronic bookmark according to the display style of the electronic bookmark.
Therefore, the bookmark position can be corrected under the condition of misoperation of the user, the accuracy of the adding position of the electronic bookmark is guaranteed, the actual requirement of the user is met, and the user experience is improved.
Example four
Fig. 4 shows a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 4, the electronic device may include: a processor (processor)402, a Communications Interface 404, a memory 406, and a Communications bus 408.
Wherein: the processor 402, communication interface 404, and memory 406 communicate with each other via a communication bus 408. A communication interface 404 for communicating with network elements of other devices, such as clients or other servers. The processor 402, configured to execute the program 410, may specifically perform relevant steps in the above-described embodiment of the method for adding an electronic bookmark.
In particular, program 410 may include program code comprising computer operating instructions.
The processor 402 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 406 for storing a program 410. Memory 406 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 410 may specifically be configured to cause the processor 402 to perform the following operations:
responding to a bookmark adding operation, and generating an electronic bookmark;
determining a first page corresponding to the bookmark adding operation;
judging whether the first page is an invalid semantic page or not according to the page content of the first page;
and if the first page is an invalid semantic page, determining a second page according to the first page, and determining the second page as the adding position of the electronic bookmark.
In an alternative embodiment, the program 410 may be specifically configured to cause the processor 402 to perform the following operations:
extracting semantic keywords from the page content of the first page; judging whether the first page is an invalid semantic page or not according to the extraction result of the semantic keywords;
and if the semantic keywords cannot be extracted or the extracted semantic keywords are invalid keywords, determining that the first page is an invalid semantic page.
In an alternative embodiment, the program 410 may be specifically configured to cause the processor 402 to perform the following operations:
identifying the character type of the characters in the first page; judging whether the first page is an invalid semantic page or not according to the character type;
and if the character types only comprise punctuation types, determining that the first page is an invalid semantic page.
In an alternative embodiment, the program 410 may be specifically configured to cause the processor 402 to perform the following operations:
identifying the number of characters contained in the first page; judging whether the first page is an invalid semantic page or not according to the number of the characters;
and if the number of the characters is smaller than a preset number threshold value, determining that the first page is an invalid semantic page.
In an alternative embodiment, the program 410 may be specifically configured to cause the processor 402 to perform the following operations:
and determining the previous page of the first page as a second page.
In an alternative embodiment, the program 410 may be specifically configured to cause the processor 402 to perform the following operations:
and if the first page is not an invalid semantic page, determining the first page as the adding position of the electronic bookmark.
In an alternative embodiment, the program 410 may be specifically configured to cause the processor 402 to perform the following operations:
providing a bookmark content input entry in response to the first bookmark adding operation;
acquiring bookmark content data input through the bookmark content input entry;
and generating a first type of electronic bookmark, and recording the mapping relation between the bookmark content data and the first type of electronic bookmark.
In an alternative embodiment, the bookmark content input entry includes at least one of:
a voice entry, a text entry, and a picture addition entry.
In an alternative embodiment, the program 410 may be specifically configured to cause the processor 402 to perform the following operations:
and responding to the second bookmark adding operation to generate a second type of electronic bookmark.
In an alternative embodiment, the program 410 may be specifically configured to cause the processor 402 to perform the following operations:
after the determining of the second page as the adding position of the electronic bookmark, displaying the electronic bookmark in the second page;
if the content viewing operation aiming at the electronic bookmark is monitored, identifying the bookmark type of the electronic bookmark;
if the electronic bookmark is a first type of electronic bookmark, responding to the content viewing operation, and displaying bookmark content data which has a mapping relation with the electronic bookmark;
and if the electronic bookmark is the second type of electronic bookmark, not responding to the content viewing operation.
In an alternative embodiment, the program 410 may be specifically configured to cause the processor 402 to perform the following operations:
determining a presentation style of the electronic bookmark by at least one of the following information: page content of the second page, a category of the electronic book to which the second page belongs, user preference information and bookmark type information;
and displaying the electronic bookmark according to the display style of the electronic bookmark.
Therefore, the bookmark position can be corrected under the condition of misoperation of the user, the accuracy of the adding position of the electronic bookmark is guaranteed, the actual requirement of the user is met, and the user experience is improved.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.
The invention discloses: A1. an adding method of an electronic bookmark comprises the following steps:
responding to a bookmark adding operation, and generating an electronic bookmark;
determining a first page corresponding to the bookmark adding operation;
judging whether the first page is an invalid semantic page or not according to the page content of the first page;
and if the first page is an invalid semantic page, determining a second page according to the first page, and determining the second page as the adding position of the electronic bookmark.
A2. The method of a1, wherein the determining whether the first page is an invalid semantic page according to the page content of the first page further comprises:
extracting semantic keywords from the page content of the first page; judging whether the first page is an invalid semantic page or not according to the extraction result of the semantic keywords;
if the first page is an invalid semantic page, the method specifically includes: and if the semantic keywords cannot be extracted or the extracted semantic keywords are invalid keywords, determining that the first page is an invalid semantic page.
A3. The method of A1 or A2, wherein the determining whether the first page is an invalid semantic page according to page content of the first page further comprises:
identifying the character type of the characters in the first page; judging whether the first page is an invalid semantic page or not according to the character type;
if the first page is an invalid semantic page, the method specifically includes: and if the character types only comprise punctuation types, determining that the first page is an invalid semantic page.
A4. The method of any of A1-A3, wherein the determining whether the first page is an invalid semantic page based on page content of the first page further comprises:
identifying the number of characters contained in the first page; judging whether the first page is an invalid semantic page or not according to the number of the characters;
if the first page is an invalid semantic page, the method specifically includes: and if the number of the characters is smaller than a preset number threshold value, determining that the first page is an invalid semantic page.
A5. The method of any of A1-A4, wherein the determining a second page from the first page further comprises:
and determining the previous page of the first page as a second page.
A6. The method of any one of a1-a5, wherein the method further comprises:
and if the first page is not an invalid semantic page, determining the first page as the adding position of the electronic bookmark.
A7. The method of any of A1-A6, wherein the generating an electronic bookmark further comprises, in response to a bookmark addition operation:
providing a bookmark content input entry in response to the first bookmark adding operation;
acquiring bookmark content data input through the bookmark content input entry;
and generating a first type of electronic bookmark, and recording the mapping relation between the bookmark content data and the first type of electronic bookmark.
A8. The method of a7, wherein the bookmark content input entry includes at least one of:
a voice entry, a text entry, and a picture addition entry.
A9. The method of any of A1-A6, wherein the generating an electronic bookmark further comprises, in response to a bookmark addition operation:
and responding to the second bookmark adding operation to generate a second type of electronic bookmark.
A10. The method of any of A7-A9, wherein, after the determining the second page as the added location of the electronic bookmark, the method further comprises:
displaying the electronic bookmark in the second page;
if the content viewing operation aiming at the electronic bookmark is monitored, identifying the bookmark type of the electronic bookmark;
if the electronic bookmark is a first type of electronic bookmark, responding to the content viewing operation, and displaying bookmark content data which has a mapping relation with the electronic bookmark;
and if the electronic bookmark is the second type of electronic bookmark, not responding to the content viewing operation.
A11. The method of a10, wherein, prior to presenting the electronic bookmark in the second page, the method further comprises: determining a presentation style of the electronic bookmark by at least one of the following information: page content of the second page, a category of the electronic book to which the second page belongs, user preference information and bookmark type information;
said presenting said electronic bookmark in said second page further comprises: and displaying the electronic bookmark according to the display style of the electronic bookmark.
The invention also discloses: B12. an electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
responding to a bookmark adding operation, and generating an electronic bookmark;
determining a first page corresponding to the bookmark adding operation;
judging whether the first page is an invalid semantic page or not according to the page content of the first page;
and if the first page is an invalid semantic page, determining a second page according to the first page, and determining the second page as the adding position of the electronic bookmark.
B13. The electronic device of B12, wherein the executable instructions cause the processor to:
extracting semantic keywords from the page content of the first page; judging whether the first page is an invalid semantic page or not according to the extraction result of the semantic keywords;
and if the semantic keywords cannot be extracted or the extracted semantic keywords are invalid keywords, determining that the first page is an invalid semantic page.
B14. The electronic device of B12 or B13, wherein the executable instructions cause the processor to:
identifying the character type of the characters in the first page; judging whether the first page is an invalid semantic page or not according to the character type;
and if the character types only comprise punctuation types, determining that the first page is an invalid semantic page.
B15. The electronic device of any one of B12-B14, wherein the executable instructions cause the processor to:
identifying the number of characters contained in the first page; judging whether the first page is an invalid semantic page or not according to the number of the characters;
and if the number of the characters is smaller than a preset number threshold value, determining that the first page is an invalid semantic page.
B16. The electronic device of any one of B12-B15, wherein the executable instructions cause the processor to:
and determining the previous page of the first page as a second page.
B17. The electronic device of any one of B12-B16, wherein the executable instructions cause the processor to:
and if the first page is not an invalid semantic page, determining the first page as the adding position of the electronic bookmark.
B18. The electronic device of any one of B12-B17, wherein the executable instructions cause the processor to:
providing a bookmark content input entry in response to the first bookmark adding operation;
acquiring bookmark content data input through the bookmark content input entry;
and generating a first type of electronic bookmark, and recording the mapping relation between the bookmark content data and the first type of electronic bookmark.
B19. The electronic device of B18, wherein the bookmark content input entry includes at least one of:
a voice entry, a text entry, and a picture addition entry.
B20. The electronic device of any one of B12-B17, wherein the executable instructions cause the processor to:
and responding to the second bookmark adding operation to generate a second type of electronic bookmark.
B21. The electronic device of any one of B18-B20, wherein the executable instructions cause the processor to:
after the determining of the second page as the adding position of the electronic bookmark, displaying the electronic bookmark in the second page;
if the content viewing operation aiming at the electronic bookmark is monitored, identifying the bookmark type of the electronic bookmark;
if the electronic bookmark is a first type of electronic bookmark, responding to the content viewing operation, and displaying bookmark content data which has a mapping relation with the electronic bookmark;
and if the electronic bookmark is the second type of electronic bookmark, not responding to the content viewing operation.
B22. The electronic device of B21, wherein the executable instructions cause the processor to:
determining a presentation style of the electronic bookmark by at least one of the following information: page content of the second page, a category of the electronic book to which the second page belongs, user preference information and bookmark type information;
and displaying the electronic bookmark according to the display style of the electronic bookmark.
The invention also discloses: C23. a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the method of adding an electronic bookmark as described in any one of a1-a 11.

Claims (10)

1. An adding method of an electronic bookmark comprises the following steps:
responding to a bookmark adding operation, and generating an electronic bookmark;
determining a first page corresponding to the bookmark adding operation;
judging whether the first page is an invalid semantic page or not according to the page content of the first page;
and if the first page is an invalid semantic page, determining a second page according to the first page, and determining the second page as the adding position of the electronic bookmark.
2. The method of claim 1, wherein said determining whether the first page is an invalid semantic page based on page content of the first page further comprises:
extracting semantic keywords from the page content of the first page; judging whether the first page is an invalid semantic page or not according to the extraction result of the semantic keywords;
if the first page is an invalid semantic page, the method specifically includes: and if the semantic keywords cannot be extracted or the extracted semantic keywords are invalid keywords, determining that the first page is an invalid semantic page.
3. The method of claim 1 or 2, wherein said determining whether the first page is an invalid semantic page according to the page content of the first page further comprises:
identifying the character type of the characters in the first page; judging whether the first page is an invalid semantic page or not according to the character type;
if the first page is an invalid semantic page, the method specifically includes: and if the character types only comprise punctuation types, determining that the first page is an invalid semantic page.
4. The method of any of claims 1-3, wherein said determining whether the first page is an invalid semantic page based on page content of the first page further comprises:
identifying the number of characters contained in the first page; judging whether the first page is an invalid semantic page or not according to the number of the characters;
if the first page is an invalid semantic page, the method specifically includes: and if the number of the characters is smaller than a preset number threshold value, determining that the first page is an invalid semantic page.
5. The method of any of claims 1-4, wherein the determining a second page from the first page further comprises:
and determining the previous page of the first page as a second page.
6. The method according to any one of claims 1-5, wherein the method further comprises:
and if the first page is not an invalid semantic page, determining the first page as the adding position of the electronic bookmark.
7. The method of any of claims 1-6, wherein generating an electronic bookmark further comprises, in response to a bookmark addition operation:
providing a bookmark content input entry in response to the first bookmark adding operation;
acquiring bookmark content data input through the bookmark content input entry;
and generating a first type of electronic bookmark, and recording the mapping relation between the bookmark content data and the first type of electronic bookmark.
8. The method of claim 7, wherein the bookmark content input entry comprises at least one of:
a voice entry, a text entry, and a picture addition entry.
9. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
responding to a bookmark adding operation, and generating an electronic bookmark;
determining a first page corresponding to the bookmark adding operation;
judging whether the first page is an invalid semantic page or not according to the page content of the first page;
and if the first page is an invalid semantic page, determining a second page according to the first page, and determining the second page as the adding position of the electronic bookmark.
10. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the method of adding an electronic bookmark as recited in any one of claims 1-8.
CN202111151922.9A 2021-09-29 2021-09-29 Electronic bookmark adding method, electronic device and computer storage medium Pending CN113807104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111151922.9A CN113807104A (en) 2021-09-29 2021-09-29 Electronic bookmark adding method, electronic device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111151922.9A CN113807104A (en) 2021-09-29 2021-09-29 Electronic bookmark adding method, electronic device and computer storage medium

Publications (1)

Publication Number Publication Date
CN113807104A true CN113807104A (en) 2021-12-17

Family

ID=78897061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111151922.9A Pending CN113807104A (en) 2021-09-29 2021-09-29 Electronic bookmark adding method, electronic device and computer storage medium

Country Status (1)

Country Link
CN (1) CN113807104A (en)

Similar Documents

Publication Publication Date Title
CN110362370B (en) Webpage language switching method and device and terminal equipment
CN109271594B (en) Recommendation method of electronic book, electronic equipment and computer storage medium
CN110716991B (en) Method for displaying entity associated information based on electronic book and electronic equipment
US8290925B1 (en) Locating product references in content pages
CN110968998B (en) Intelligent prediction input method and system
CN111090817A (en) Method for displaying book extension information, electronic equipment and computer storage medium
CN108459998B (en) Document updating method, document updating device, document format converting method, document updating format converting device, document format converting device and readable storage medium
CN111125314A (en) Display method of book query page, electronic device and computer storage medium
CN110968789A (en) Electronic book pushing method, electronic equipment and computer storage medium
CN106919593B (en) Searching method and device
CN113010814A (en) Webpage content processing method, computing device and computer storage medium
CN110489032B (en) Dictionary query method for electronic book and electronic equipment
CN113343109A (en) List recommendation method, computing device and computer storage medium
CN110287460B (en) Electronic book display method, computing equipment and computer storage medium
CN111026964B (en) Display method of list page, electronic equipment and computer storage medium
WO2018208412A1 (en) Detection of caption elements in documents
CN109542299B (en) Gold sentence display method for electronic book, electronic equipment and computer storage medium
CN111782603A (en) Video book envelope display method, computing equipment and computer storage medium
CN111008519A (en) Reading page display method, electronic equipment and computer storage medium
CN112270177A (en) News cover mapping method and device based on content similarity and computing equipment
CN113807104A (en) Electronic bookmark adding method, electronic device and computer storage medium
CN113177392B (en) Method for synchronizing row segment information in proofreading interface, computing device and storage medium
CN113177391B (en) Method for redirecting operation cursor in streaming interface, computing equipment and storage medium
CN110990558B (en) Electronic book content display method, computing equipment and computer storage medium
CN113779403A (en) Book information acquisition method, book information display method, server and user terminal

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