A page processing method, device, electronic device, and storage medium
By displaying the jump mark of high-frequency statements in electronic books, users can quickly jump to the text page where the target high-frequency mark statement is located, solving the problem that users need to manually turn the page to find wonderful statements when reading, and improving reading efficiency.
Patent Information
- Application Number
- CN201910650853.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-18
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2040-01-14
AI Technical Summary
When reading e-books, users need to manually turn pages and find the page where the wonderful statements are located, resulting in inefficiency.
Provides a page processing method. By displaying the jump identifier of the high-frequency statement, the user can quickly jump to the text page where the target high-frequency annotation statement is located.
It improves the efficiency of the terminal device showing the page where the wonderful statements are located to users and reduces the frequency of users' interactions.
Smart Images

Figure CN112241619B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and particularly to a page processing method, apparatus, and related devices. Background Art
[0002] Reading, as an integral part of daily life, has always been an important channel for users to obtain external information. Since entering the intelligent era, the medium of reading has been converted from paper manuscripts to electronic manuscripts, which is convenient for users to carry, and thus can help users read during fragmented time.
[0003] Currently, a reader can not only display book texts to users, but also mark out the wonderful sentences in the book texts on the page, facilitating users to read and appreciate the wonderful sentences in the book texts, where the wonderful sentences can be sentences marked by the author or readers.
[0004] Generally speaking, the wonderful sentences and their context are the highlight segments of the entire book text. Users can understand the outline of the entire book text by reading the wonderful sentences, but they need to manually turn the pages and search for the pages where the wonderful sentences are located to read the wonderful sentences.
[0005] As can be seen from the above, when users manually turn the pages to read the pages where the wonderful sentences are located, it will consume a lot of time for turning pages and searching, resulting in low efficiency of the terminal device to display the pages where the wonderful sentences are located to users. Summary of the Invention
[0006] Embodiments of this application provide a page processing method, apparatus, and related devices, which can improve the efficiency of the terminal to display the pages where the wonderful sentences are located to users.
[0007] On the one hand, embodiments of this application provide a page processing method, including:
[0008] Display a first target text page corresponding to an electronic reading material;
[0009] Display a high-frequency sentence jump identifier in the first target text page;
[0010] In response to a trigger operation on the high-frequency sentence jump identifier, jump to a second target text page where a target high-frequency marked sentence is located; the target high-frequency marked sentence is a high-frequency marked sentence adjacent to the first target text page in the electronic reading material.
[0011] Among them, the jumping to the second target text page where the target high-frequency marked sentence is located includes:
[0012] Search for a target high-frequency marked sentence adjacent to the first target text page in the electronic reading material;
[0013] Obtain at least one text page corresponding to the e - book, and use the text page where the target high - frequency statement is located as the second target text page;
[0014] Display the second target text page, and mark the target high - frequency marked statement in the second target text page.
[0015] Among them, the step of finding the target high - frequency marked statement adjacent to the first target text page in the e - book includes:
[0016] Obtain multiple marked statement position information corresponding to the e - book; each marked statement position information includes a statement start character offset and a statement end character offset;
[0017] Combine the page start character offset and the page end character offset of the first target text page into a target progress interval;
[0018] Among the multiple marked statement position information, find the marked statement position information to which the statement start character offset adjacent to the target progress interval belongs as the target marked statement position information;
[0019] In the e - book, use the characters within the interval of the statement start character offset in the target marked statement position information and the statement end character offset in the target marked statement position information as the target high - frequency marked statement.
[0020] Among them, the step of obtaining at least one text page corresponding to the e - book includes:
[0021] Obtain the character height and the text page height, and determine the number of displayable lines of the page according to the character height and the text page height;
[0022] Create a blank page, and add the characters in the e - book that have not been added to the blank page according to the character width and the text page width. Stop adding characters when the number of character lines corresponding to the blank page after adding characters is equal to the number of displayable lines of the page; the characters that have not been added are the characters in the e - book that have not been added to the blank page;
[0023] Use the blank page after adding characters as the text page.
[0024] Among them, the step of using the text page where the target high - frequency statement is located as the second target text page includes:
[0025] Obtain the target marked statement position information corresponding to the target high - frequency marked statement;
[0026] Obtain the starting character offset and the ending character offset of the text page, and combine the starting character offset and the ending character offset of the text page into the progress interval of the text page;
[0027] Use the text page corresponding to the progress interval to which the starting character offset of the target annotation statement position information belongs as the starting text page, and use the text page corresponding to the progress interval to which the ending character offset of the target annotation statement position information belongs as the ending text page;
[0028] In the at least one text page, starting from the starting text page and ending at the ending text page, extract the text pages, and use the extracted text pages as the second target text pages.
[0029] Among them, the e - book belongs to the resource input type;
[0030] The method further includes:
[0031] Obtain the verification password string, and combine the e - book identifier used to request the e - book with the verification password string into an e - book acquisition request;
[0032] Send the e - book acquisition request to the background server; the verification password string is used for the background server to verify the legality of the e - book acquisition request;
[0033] Receive the e - book corresponding to the e - book identifier returned by the background server when verifying the legality of the e - book.
[0034] Among them, the e - book belongs to the resource input type;
[0035] The method further includes:
[0036] In response to a paging operation for the second target text page, in the at least one text page, use the text pages that satisfy the adjacency relationship with the second target text page as the displayable pages;
[0037] Jump to the displayable page.
[0038] Among them, the step of, in response to a paging operation for the second target text page, in the at least one text page, using the text pages that satisfy the adjacency relationship with the second target text page as the displayable pages includes:
[0039] In response to a forward paging operation for the second target text page, obtain the page limit number;
[0040] According to the page limit number, in the at least one text page, use the text page that is forward adjacent to the second target text page as the second displayable page; the text page identifier of the second displayable page is less than the text page identifier of the second target text page, and the number of the second displayable pages is equal to the page limit number;
[0041] Determine the second displayable page as the text page that satisfies the adjacency relationship with the second target text page; the second displayable page belongs to the displayable pages.
[0042] Wherein, the first target text page contains an original high-frequency marked statement, and the high-frequency statement identifier of the original high-frequency marked statement is adjacent to the high-frequency statement identifier of the target high-frequency marked statement, and the high-frequency statement identifier of the original high-frequency marked statement is less than the high-frequency statement identifier of the target high-frequency marked statement;
[0043] The method further includes:
[0044] In response to a forward page turning operation for the second displayable page, according to the page limit number, in the at least one text page, use the text page that is backward adjacent to the first target text page as the first displayable page; the text page identifier of the first displayable page is greater than the text page identifier of the first target text page, and the number of the first displayable pages is equal to the page limit number;
[0045] Jump to the first displayable page.
[0046] Wherein, the first target text page contains an original high-frequency marked statement, and the high-frequency statement identifier of the original high-frequency marked statement is adjacent to the high-frequency statement identifier of the target high-frequency marked statement;
[0047] The method further includes:
[0048] Display the high-frequency statement jump identifier in the second target text page;
[0049] In response to a trigger operation for the high-frequency statement jump identifier, jump to the first target text page where the original high-frequency marked statement is located.
[0050] Another aspect of the embodiments of the present application provides a page processing device, including:
[0051] A display module, configured to display a first target text page corresponding to an electronic reading material;
[0052] The display module is further configured to display a high-frequency statement jump identifier in the first target text page;
[0053] A response module for responding to a trigger operation for the high-frequency statement jump identifier;
[0054] A jump module for jumping to the second target text page where the target high-frequency marked statement is located; the target high-frequency marked statement is a high-frequency marked statement adjacent to the first target text page in the e-reader.
[0055] Wherein, the jump module includes:
[0056] A statement search unit for searching in the e-reader for a target high-frequency marked statement adjacent to the first target text page;
[0057] A page acquisition unit for acquiring at least one text page corresponding to the e-reader;
[0058] A page determination unit for using the text page where the target high-frequency statement is located as the second target text page;
[0059] A display unit for displaying the second target text page and marking the target high-frequency marked statement in the second target text page.
[0060] Wherein, the statement search unit includes:
[0061] A position information acquisition subunit for acquiring a plurality of marked statement position information corresponding to the e-reader; each marked statement position information includes a statement start character offset and a statement end character offset;
[0062] A progress combination subunit for combining the page start character offset and the page end character offset of the first target text page into a target progress interval;
[0063] A position information search subunit for searching in the plurality of marked statement position information for the marked statement position information to which the statement start character offset adjacent to the target progress interval belongs as the target marked statement position information;
[0064] A statement determination subunit for using, in the e-reader, the characters within the interval between the statement start character offset in the target marked statement position information and the statement end character offset in the target marked statement position information as the target high-frequency marked statement.
[0065] Wherein, the page acquisition unit includes:
[0066] An acquisition subunit for acquiring a character height and a text page height, and determining the number of displayable lines of the page according to the character height and the text page height;
[0067] Create a sub-unit for creating a blank page. Add the characters in the e-book that have not been added to the blank page according to the character width and the text page width. Stop adding characters when the number of character lines corresponding to the blank page after adding characters is equal to the number of displayable lines of the page. The characters not added are the characters in the e-book that have not been added to the blank page.
[0068] Add a sub-unit for using the blank page after adding characters as the text page.
[0069] Among them, the page determination unit includes:
[0070] A combination sub-unit for obtaining the position information of the target annotation statement corresponding to the target high-frequency annotation statement.
[0071] The combination sub-unit is also used to obtain the starting character offset and the ending character offset of the text page, and combine the starting character offset and the ending character offset of the text page into the progress interval of the text page.
[0072] An extraction sub-unit for using the text page corresponding to the progress interval to which the starting character offset in the target annotation statement position information belongs as the starting text page, and using the text page corresponding to the progress interval to which the ending character offset in the target annotation statement position information belongs as the ending text page.
[0073] The extraction sub-unit is also used to extract text pages starting from the starting text page and ending at the ending text page among the at least one text page, and use the extracted text pages as the second target text pages.
[0074] Among them, the e-book belongs to the resource input type.
[0075] The device further includes:
[0076] An acquisition module for obtaining a verification password string, and combining the e-book identifier for requesting the e-book with the verification password string into an e-book acquisition request.
[0077] A sending module for sending the e-book acquisition request to the background server. The verification password string is used for the background server to verify the legality of the e-book acquisition request.
[0078] A receiving module for receiving the e-book corresponding to the e-book identifier returned by the background server when verifying the legality of the e-book.
[0079] Among them, the e-book belongs to the resource input type.
[0080] The device method further includes:
[0081] A page determination module, configured to, in response to a paging operation for the second target text page, use, among the at least one text page, a text page that has an adjacency relationship with the second target text page as a displayable page;
[0082] The jump module is further configured to jump to the displayable page.
[0083] Wherein, the page determination module includes:
[0084] A response unit, configured to, in response to a forward paging operation for the second target text page, obtain a page limit number;
[0085] A page search unit, configured to, according to the page limit number, use, among the at least one text page, a text page that is forward adjacent to the second target text page as a second displayable page; the text page identifier of the second displayable page is less than the text page identifier of the second target text page, and the number of the second displayable pages is equal to the page limit number;
[0086] The page search unit is further configured to determine the second displayable page as a text page that has the adjacency relationship with the second target text page; the second displayable page belongs to the displayable pages.
[0087] Wherein, the first target text page includes an original high-frequency marked statement, and the high-frequency statement identifier of the original high-frequency marked statement is adjacent to the high-frequency statement identifier of the target high-frequency marked statement, and the high-frequency statement identifier of the original high-frequency marked statement is less than the high-frequency statement identifier of the target high-frequency marked statement;
[0088] The device further includes:
[0089] A page search module, configured to, in response to a forward paging operation for the second displayable page, use, according to the page limit number, among the at least one text page, a text page that is backward adjacent to the first target text page as a first displayable page; the text page identifier of the first displayable page is greater than the text page identifier of the first target text page, and the number of the first displayable pages is equal to the page limit number;
[0090] The page search module is further configured to jump to the first displayable page.
[0091] Wherein, the first target text page includes an original high-frequency marked statement, and the high-frequency statement identifier of the original high-frequency marked statement is adjacent to the high-frequency statement identifier of the target high-frequency marked statement;
[0092] The device further includes:
[0093] A response jump module, configured to display the high-frequency statement jump identifier on the second target text page, and respond to a trigger operation on the high-frequency statement jump identifier to jump to the first target text page where the original high-frequency marked statement is located.
[0094] Another aspect of the embodiments of the present application provides an electronic device, including: a processor and a memory;
[0095] The processor is connected to the memory. Wherein, the memory is used to store program codes, and the processor is used to call the program codes to execute the method in one aspect of the embodiments of the present application.
[0096] Another aspect of the embodiments of the present application provides a computer storage medium. The computer storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, the method in one aspect of the embodiments of the present application is executed.
[0097] In the embodiments of the present application, by displaying the first target text page of the e-reader and responding to the trigger operation on the high-frequency statement jump identifier in the first target text page, the target high-frequency marked statement adjacent to the page content of the first target text page is searched in the e-reader, and then jumped to the second target text page where the target high-frequency marked statement is located. As can be seen from the above, the user only needs to click the high-frequency statement jump identifier, and the terminal device can automatically jump to the text page where the high-frequency marked statement is located. Compared with manually turning pages and manually searching for the page where the high-frequency marked statement is located, the automated method can reduce the interaction frequency between the terminal device and the user, thereby improving the efficiency of the terminal device in displaying the page where the high-frequency marked statement is located to the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0098] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0099] Figure 1 It is a system architecture diagram of a page processing provided by an embodiment of the present application;
[0100] Figure 2a It is a schematic diagram of a page processing scenario provided by an embodiment of the present application;
[0101] Figure 2b It is another schematic diagram of a page processing scenario provided by an embodiment of the present application;
[0102] Figure 3a is a schematic flowchart of a page processing method provided by an embodiment of the present application;
[0103] Figure 3b is a schematic flowchart of a page jump provided by an embodiment of the present application;
[0104] Figure 4 is a schematic flowchart of another page processing method provided by an embodiment of the present application;
[0105] Figure 5 is a schematic diagram of determining a displayable page provided by an embodiment of the present application;
[0106] Figure 6 is a schematic structural diagram of a page processing device provided by an embodiment of the present application;
[0107] Figure 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0108] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0109] Please refer to Figure 1 , which is a system architecture diagram of page processing provided by an embodiment of the present application. The present application relates to a background server 10d and a user terminal cluster. The user terminal cluster may include: user terminals 10a, 10b,..., user terminal 10c, etc.
[0110] The book reading client in the user terminal displays the text page of the e - reading material for the user. When the user clicks on the high - frequency statement jump identifier in the current text page. The background server 10d searches for high - frequency marked statements adjacent to the page content of the current text page in the e - reading material. The background server 10d obtains the text page where the found high - frequency marked statement is located, and sends the obtained page to the book reading client. The book reading client displays the text page on the screen.
[0111] Of course, searching for high - frequency marked statements adjacent to the page content of the current text page and obtaining the text page where the high - frequency marked statement is located can also be completed by the book reading client. The following Figures 2a - 2bTake how a book reading client finds high-frequency marked sentences and how to obtain the text page where the high-frequency marked sentences are located as an example for specific illustration.
[0112] Among them, Figure 1 The user terminals 10a, 10b,..., 10c shown can include mobile phones, tablet computers, laptop computers, palm computers, mobile internet devices (MIDs), wearable devices (such as smart watches, smart bracelets, etc.).
[0113] Please refer to Figure 2a , which is a schematic diagram of a page processing scenario provided by an embodiment of this application. As Figure 2a shown in the text page 20a, the user is currently reading the second chapter of the book "Prosecutor", page 8 of the whole book. The user clicks on any blank area in the text page 20a. As shown in the text page 20b, the book reading client displays high-frequency sentence jump identifiers in the text page 20b. It can be seen from the text page 20b that the high-frequency sentence jump identifiers include: a "previous popular underline" button and a "next popular underline" button.
[0114] As shown in the text page 20b, the user clicks the "next popular underline" button in the high-frequency sentence jump identifier. The book reading client obtains the sentence position information of all high-frequency marked sentences in the book "Prosecutor", where each sentence position information includes the starting character offset and the ending character offset of the sentence.
[0115] The starting character offset of a sentence refers to the offset of the starting character of the corresponding high-frequency marked sentence in the book "Prosecutor", and the ending character offset of a sentence refers to the offset of the ending character of the corresponding high-frequency marked sentence in the book "Prosecutor". It can also be understood that: in the book "Prosecutor", the characters located between the starting character offset and the ending character offset of a sentence are a high-frequency marked sentence. The offset refers to the position information of the corresponding character in the whole book. Generally speaking, the offset refers to which character of the whole book the corresponding character is.
[0116] The book reading client obtains the page ending character offset of the text page 20b, and searches for the starting character offset of the sentence adjacent to the page ending character offset among the starting character offsets included in all sentence position information. Since the user wants to read the sentence corresponding to the next popular underline, the found starting character offset of the sentence should also be greater than the page ending character offset.
[0117] The book reading client uses the sentence position information to which the starting character offset of the found sentence belongs as the target sentence position information. It can be known that the high-frequency marked sentence indicated by the target sentence position information is the sentence corresponding to the next popular underline.
[0118] The book reading client obtains all the text pages of the book "Prosecutor", where the text pages are the pages determined by the book reading client after paginating the layout of the book "Prosecutor". Among all the text pages, the book reading client determines the text page where the high-frequency marked sentence indicated by the target sentence position information is located as text page 20c. As Figure 2a shown, the high-frequency marked sentence indicated by the target sentence position information is located in the second chapter of the book "Prosecutor" and on page 12 of the whole book.
[0119] The specific process for the book reading client to determine the text page where the high-frequency marked sentence indicated by the target sentence position information is located is as follows: The book reading client extracts the starting character offset and the ending character offset of the target high-frequency marked sentence. It obtains the progress intervals of all the text pages, and the progress interval includes the starting character offset and the ending character offset of the text page. The book reading client uses the text page corresponding to the progress interval to which the starting character offset of the target high-frequency marked sentence belongs as the starting text page; and uses the text page corresponding to the progress interval to which the ending character offset of the target high-frequency marked sentence belongs as the ending text page. Among all the text pages, starting from the starting text page and ending at the ending text page, it extracts the text pages, and uses the extracted text pages as the text page where the high-frequency marked sentence indicated by the target sentence position information is located, which is text page 20c.
[0120] As Figure 2a shown in text page 20c, after the book reading client determines text page 20c, it renders this text page to display text page 20c on the screen, and marks the high-frequency marked sentence indicated by the target sentence position information in text page 20c. For example, it can highlight this high-frequency marked sentence, or use a rectangular box to mark this high-frequency marked sentence.
[0121] The above Figure 2a corresponding scenario of the embodiment is that the user selects the "Next Popular Underline" button in the high-frequency sentence jump identifier. If the user selects the "Previous Popular Underline" button in the high-frequency sentence jump identifier, please refer to Figure 2b for the text page jump process, which is a schematic diagram of another page processing scenario provided by the embodiments of the present application.
[0122] As Figure 2bAs shown on text page 20d, the user is currently reading the second chapter of the book "Prosecutor", page 8 of the whole book, and the text on page 20d contains frequently marked statements. The book reading client can mark the frequently marked statements on text page 20d. When the user clicks on any blank area of text page 20d, the book reading client displays a frequently used statement jump marker on text page 20d (as shown on page 20e).
[0123] As shown on text page 20e, when the user clicks the "Previous Popular Highlight" button in the frequently used statement jump marker, the book reading client obtains the statement position information of all frequently marked statements in the book "Prosecutor", where each statement position information includes a statement identifier, a statement start character offset, and a statement end character offset. The statement identifier is used to identify that the statement is a frequently marked statement. The specific meanings of the statement start character offset and the statement end character offset can be seen in the description in the corresponding embodiment above Figure 2a corresponding embodiment.
[0124] The book reading client obtains the statement identifier of the frequently marked statement on the currently displayed text page 20e, and searches for the statement identifier adjacent to the statement identifier of the frequently marked statement on text page 20e among the statement identifiers included in all statement position information. Since the user wants to read the statement corresponding to the previous popular highlight, the found statement identifier is smaller than the statement identifier of the frequently marked statement on text page 20e.
[0125] Optionally, the book reading client obtains the page start character offset of text page 20e, and searches for the statement start character offset adjacent to the page start character offset among the statement start character offsets included in all statement position information. Since the user wants to read the statement corresponding to the previous popular highlight, the found statement start character offset is also smaller than the page end character offset.
[0126] The book reading client takes the statement position information to which the found statement identifier belongs as the target statement position information. It can be known that the frequently marked statement indicated by the target statement position information is the previous popular highlight statement.
[0127] Similarly, after the book reading client determines the target statement position information, it can determine that the text page where the statement corresponding to the next popular highlight is located is text page 20f based on the target statement position information. As Figure 2b shown, the frequently marked statement indicated by the target statement position information is located in the second chapter of the book "Prosecutor", page 4 of the whole book.
[0128] The book reading client renders the text page 20f to display the text page 20f on the screen, and marks the high-frequency marked statements indicated by the target statement position information in the text page 20f.
[0129] Among them, the specific process of determining the text page 20f according to the target statement position information can be referred to the above Figure 2a description of determining the text page 20c in the corresponding embodiment.
[0130] Among them, the process of searching for the target high-frequency marked statement (such as the high-frequency marked statement indicated by the target position information in the above Figure 2a , Figure 2b ), and jumping to the second target text page (such as the text page 20c in the above Figure 2a corresponding embodiment, Figure 2b the text page 20f in the corresponding embodiment) can be referred to the following Figures 3a - 5 corresponding embodiment.
[0131] Please refer to Figure 3a , which is a schematic flow chart of a page processing method provided by an embodiment of the present application. As Figure 3a shown, the method may include:
[0132] Step S101, display a first target text page corresponding to the e-reader.
[0133] Specifically, the text page currently displayed in the book reading client is called the first target text page (such as the text page 20a in the above Figure 2a corresponding embodiment, Figure 2a the text page 20d in the corresponding embodiment), and the content displayed in the first target text page is about the e-reader (such as the above Figure 2a , Figure 2b book "Prosecutor" in the corresponding embodiment). Among them, the e-reader may be a book, a public account article, a comic, etc.
[0134] Optionally, the following describes how the book reading client obtains the above e-reader: If the resource type of the e-reader is a free resource type, that is, the e-reader is a free book, then the book reading client can directly send the e-reader identifier used to request the e-reader to the background server. The background server pulls the e-reader corresponding to the e-reader identifier from the database and sends it to the book reading client.
[0135] If the resource type of the e - book is the resource input type, that is, the e - book is a paid book, then the book reading client obtains the verification password string, combines the e - book identifier used to request the e - book and the above - mentioned password string into an e - book acquisition request. The book reading client sends the above - mentioned e - book acquisition request to the background server, and the background server verifies whether the verification password string in the e - book acquisition request is the same as the preset password string. If they are the same, it indicates that the e - book acquisition request is legal.
[0136] If the background server detects that the e - book acquisition request is legal, the background server retrieves the e - book corresponding to the e - book identifier from the database and distributes it to the book reading client.
[0137] Of course, if the background server detects that the e - book acquisition request is illegal, the background server can reject the e - book acquisition request of the book reading client.
[0138] It can be known that when the e - book belongs to the resource input type, the transmission security of the e - book can be improved through the password string.
[0139] Step S102, display a high - frequency statement jump identifier in the first target text page.
[0140] Specifically, the user can click on any blank area in the first target text page, and a high - frequency statement jump identifier (such as the "Previous Popular Underline" button and the "Next Popular Underline" button in the above Figure 2a 、 Figure 2b ) will be displayed in the first target text page.
[0141] Among them, the high - frequency statement jump identifier is a page identifier with the function of jumping to a high - frequency statement page. The high - frequency statement page jump function means jumping from the current page to the page where the high - frequency marked statement adjacent to the page content of the current page is located. The page content refers to the set of statements included in the page, that is, when the user triggers the high - frequency statement jump identifier, the terminal device performs a page jump and jumps to the page where the adjacent high - frequency marked statement is located.
[0142] Among them, the high - frequency marked statement is a statement marked in the e - book, which can be a statement marked by multiple users in the e - book; or a statement marked by the author of the e - book; or a statement marked by the operation administrator; among them, the user mark can be a user comment, a user underline, a user like, a user share, etc. Generally speaking, the high - frequency marked statement is an excellent statement or a classic statement in the e - book. For example, the high - frequency marked statement can be a popular underlined statement.
[0143] In the process of determining high-frequency marked statements based on user markings, the terminal device can count the number of user markings for each statement and use the statements with the number of user markings greater than the preset quantity threshold as high-frequency marked statements.
[0144] For example, in Book A, 200 users performed underlining operations on Statement 1, and the number of user markings 200 is greater than the preset quantity threshold 100. Therefore, Statement 1 can be used as a high-frequency marked statement.
[0145] For another example, in Book A, 300 users commented on Statement 2, and the number of user markings 300 is greater than the preset quantity threshold 100. Therefore, Statement 2 can be used as a high-frequency marked statement.
[0146] Step S103: In response to a trigger operation for the high-frequency statement jump identifier, jump to the second target text page where the target high-frequency marked statement is located; the target high-frequency marked statement is a high-frequency marked statement adjacent to the first target text page in the e-reader.
[0147] Specifically, the user can click on this high-frequency statement jump identifier, and the book reading client responds to this operation, searches in the e-reader for high-frequency marked statements adjacent to the page content in the first target text page, and uses the found high-frequency marked statements as the target high-frequency marked statements. Therefore, the target high-frequency marked statements are high-frequency marked statements adjacent to the page content of the first target text page in the e-reader.
[0148] The high-frequency statement jump identifier includes a high-frequency statement forward jump identifier (such as the "Previous Popular Underline" button in the above Figure 2a 、 Figure 2b ) and a high-frequency statement backward jump identifier (such as the "Next Popular Underline" button in the above Figure 2a 、 Figure 2b ).
[0149] Correspondingly, if the user clicks on the high-frequency statement forward jump identifier, then the book reading client searches in the e-reader for high-frequency marked statements adjacent to the page content of the first target text page in the forward direction as the target high-frequency marked statements. That is, in the e-reader, the target high-frequency marked statements are in the front and the page content of the first target text page is in the back;
[0150] If the user clicks on the high-frequency statement backward jump identifier, then the book reading client searches in the e-reader for high-frequency marked statements adjacent to the page content of the first target text page in the backward direction as the target high-frequency marked statements. That is, in the e-reader, the target high-frequency marked statements are in the back and the page content of the first target text page is in the front.
[0151] The book reading client obtains multiple text pages of the e - book. The multiple text pages are the pages determined after typesetting the e - book. In other words, the page content in the multiple text pages is the content of the e - book.
[0152] The book reading client takes the text page where the target high - frequency marked statement is located as the second target text page, and renders the second target text page so that the second target text page is displayed on the screen. At the same time, the target high - frequency marked statement can be marked in the second target text page. For example, the book reading client not only displays the second target text page, but also can highlight the target high - frequency marked statement, or use a rectangular box to mark the target high - frequency marked statement, etc.
[0153] It should be noted that the first target text page may or may not contain high - frequency marked statements.
[0154] Of course, if the first target text page contains high - frequency marked statements, after the user triggers the high - frequency statement jump identifier, the terminal device jumps from the first target text page containing high - frequency marked statements to the second target text page containing the target high - frequency marked statement, and the high - frequency statement identifier of the high - frequency marked statement in the first target text page is adjacent to the high - frequency statement identifier of the target high - frequency marked statement. In other words, the high - frequency marked statement in the first target text page and the target high - frequency marked statement are two adjacent high - frequency statements;
[0155] If the first target text page does not contain high - frequency marked statements, after the user triggers the high - frequency statement jump identifier, the terminal device jumps from the first target text page without high - frequency marked statements to the second target text page containing the target high - frequency marked statement, and the target high - frequency marked statement is a high - frequency marked statement adjacent to the page content of the first target text page in the e - book.
[0156] Please refer to Figure 3b , which is a schematic flowchart of a page jump provided by an embodiment of the present application. The page jump includes the following steps S1031 - step S1033, and steps S1031 - step S1033 are the specific embodiments of step S103 in the above Figure 3a corresponding embodiment:
[0157] Step S1031, search for the target high - frequency marked statement adjacent to the first target text page in the e - book.
[0158] Specifically, the book reading client obtains the position information of multiple marked statements in the e - book. The marked statement position information may include the starting character offset of the statement and the ending character offset of the statement.
[0159] Among them, the starting character offset of a statement refers to the offset of the first character of the statement in the e - book; the ending character offset of a statement refers to the offset of the last character of the statement in the e - book.
[0160] For example, the first character of the high - frequency marked statement A is the 300th character in the entire e - book, and the last character of the high - frequency marked statement A is the 310th character in the entire e - book; therefore, the marked statement position information of the target high - frequency statement A can be: [300, 310].
[0161] The book reading client obtains the starting character offset and the ending character offset of the first target text page currently displayed, and combines the above - mentioned starting character offset and ending character offset of the page into a progress interval (referred to as the target progress interval).
[0162] Among them, the starting character offset of a page refers to the offset of the first character of the corresponding text page in the e - book, and the ending character offset of a page refers to the offset of the last character of the corresponding text page in the e - book.
[0163] If the user triggers the forward jump identifier of the high - frequency statement in the high - frequency statement jump identifier, then the book reading client searches, among multiple marked statement position information, for the marked statement position information to which the starting character offset of the statement that is forward - adjacent to the starting character offset of the page in the target progress interval belongs, as the target marked statement position information, that is, the starting character offset in the target marked statement position information is less than the starting character offset of the page in the target progress interval.
[0164] If the user triggers the backward jump identifier of the high - frequency statement in the high - frequency statement jump identifier, then the book reading client searches, among multiple marked statement position information, for the marked statement position information to which the starting character offset of the statement that is backward - adjacent to the ending character offset of the page in the target progress interval belongs, as the target marked statement position information, that is, the starting character offset in the target marked statement position information is greater than the ending character offset of the page in the target progress interval.
[0165] For example, the marked statement position information 1: [20, 40], the marked statement position information 2: [55, 83], the marked statement position information 3: [204, 240], and the starting character offset of the first target text page is: 50, and the ending character offset of the first target text page is: 100, that is, the target progress interval is: [50, 100]. It can be known that the high - frequency marked statement indicated by the target marked statement position information 2 is located in the above - mentioned first target text page.
[0166] If the user triggers the forward jump identifier for high-frequency statements, among the three statement start character offsets included in the above three labeled statement position information, the statement start character offset that is forward adjacent to the page start character offset "50" is 20. That is, the labeled statement position information 1 "[20, 40]" is the target high-frequency labeled statement.
[0167] If the user triggers the backward jump identifier for high-frequency statements, among the three statement start character offsets included in the above three labeled statement position information, the statement start character offset that is backward adjacent to the page end character offset "100" is 204. That is, the labeled statement position information 3 "[204, 240]" is the target high-frequency labeled statement.
[0168] In the e-book, the characters within the range of the statement start character offset and the statement end character offset in the target labeled statement position information are used as the target high-frequency labeled statement. It should be noted that the target high-frequency labeled statement includes the character indicated by the statement start character offset in the target labeled statement position information and the character indicated by the statement end character offset in the target labeled statement position information. In other words, the above range is a closed interval.
[0169] For example, if the target high-frequency labeled statement is: [204, 240], then in the e-book, the characters between the 204th and the 240th are used as the target high-frequency labeled statement.
[0170] Step S1032, obtain at least one text page corresponding to the e-book, and use the text page where the target high-frequency statement is located as the second target text page.
[0171] Specifically, the book reading client obtains the full-screen text page size, where the full-screen text page size is the size of the page that can cover the entire screen, and the full-screen text page size includes the text page height and the text page width. Obtain the character height and the character width, where the character height and the character width can be determined according to the character size set by the user or can be the default character height and the default character width.
[0172] The book reading client takes the value obtained by dividing the text page height by the character height and then taking the integer as the number of displayable lines on the page. For example, if the text page height is 10 and the character height is 4, then dividing the text page height by the character height and taking the integer can obtain the value 2, that is, the number of displayable lines on the page is 2.
[0173] The book reading client creates a blank page and sequentially adds the characters that have not been added in the e - book to the blank page. When adding characters, if the number of characters contained in each line multiplied by the character width is greater than the width of the text page, a new line is skipped and the character addition continues; or when the character to be added is a line - skipping identifier, a new line is skipped and the character addition continues.
[0174] When the number of character lines in the blank page after adding characters is equal to the number of displayable lines of the page, stop adding characters to the blank page, and use the blank page with added characters as the text page. The characters that have not been added are the characters in all the characters of the e - book that have not been added to the blank page.
[0175] When all the characters in the e - book have been added to the blank page, that is, when there are no characters that have not been added, use all the determined text pages as the text pages corresponding to the e - book, and the multiple generated text pages are text pages with a sequential position order.
[0176] The book reading client obtains the marked statement position information of the target high - frequency marked statement (i.e., the target marked statement position information mentioned above). Obtain the starting character offset and ending character offset of each text page after typesetting, and combine the starting character offset and ending character offset of each text page into the corresponding progress interval of the text page. That is, through the progress interval, the characters contained in each text page can be determined.
[0177] The book reading client uses the text page corresponding to the progress interval to which the starting character offset in the target marked statement position information belongs as the starting text page; uses the text page corresponding to the progress interval to which the ending character offset in the target marked statement position information belongs as the ending text page.
[0178] The book reading client extracts text pages starting from the starting text page and ending at the ending page among all the text pages corresponding to the e - book, and uses the extracted text pages as the second target text pages. It can be known that there may be more than one text page for the second target text pages. Therefore, when displaying the second target text pages, first display the text page with the smallest text page identifier among the second target text pages.
[0179] For example, the progress interval 1 of text page 1 is: [1,105], the progress interval 2 of text page 2 is: [106,235], the progress interval 3 of text page 3 is: [236,298], the progress interval 4 of text page 4 is: [299,430], the progress interval 5 of text page 5 is: [431,500]. That is, the 1st character - the 105th character in the e - book belongs to text page 1, the 106th character - the 235th character belongs to text page 2...
[0180] If the target annotation statement position information of the target high-frequency annotation statement is: [290, 480], then the progress interval to which the statement start character offset "290" in the target annotation statement position information belongs is progress interval 3, so the starting text page is text page 3; the progress interval to which the statement end character offset "480" in the target annotation statement position information belongs is progress interval 5, so the starting text page is text page 5. Therefore, text page 3, text page 4, and text page 5 are the second target text pages. When displaying the second target text pages, text page 3 can be displayed first.
[0181] Step S1033, display the second target text pages, and identify the target high-frequency annotation statement in the second target text pages.
[0182] Specifically, the terminal device displays the second target text pages containing the target high-frequency annotation statement on the screen, and at the same time, can also identify the target high-frequency annotation statement in the second target text pages. For example, the book reading client not only displays the second target text pages, but also highlights the target high-frequency annotation statement, or uses a rectangular box to identify the target high-frequency annotation statement, etc.
[0183] As can be seen from the above, the user only needs to click on the high-frequency statement jump identifier, and the terminal device can automatically jump to the text page where the high-frequency annotation statement is located. Compared with manually flipping pages and manually searching for the page where the high-frequency annotation statement is located, the automated method can reduce the interaction frequency between the terminal device and the user, thereby improving the efficiency of the terminal device in displaying the page where the high-frequency annotation statement is located to the user.
[0184] Please refer to Figure 4 , which is a schematic flowchart of another page processing method provided by an embodiment of the present application. The page processing method includes the following steps:
[0185] Step S201, display the first target text pages corresponding to the electronic reading material.
[0186] Step S202, display a high-frequency statement jump identifier in the first target text pages.
[0187] Step S203, in response to a trigger operation on the high-frequency statement jump identifier, jump to the second target text pages where the target high-frequency annotation statement is located; the target high-frequency annotation statement is a high-frequency annotation statement adjacent to the first target text pages in the electronic reading material.
[0188] Among them, the specific processes of steps S201 - S203 can refer to steps S101 - S103 in the above Figure 3a corresponding embodiments, and will not be elaborated here.
[0189] Step S204, in response to a paging operation on the second target text page, among the at least one text page, use the text page that has an adjacency relationship with the second target text page as a displayable page, and jump to the displayable page; the displayable page includes a second displayable page.
[0190] Specifically, when the resource type of the e - book is a resource input type, if the user performs a paging operation on the second target text page, the paging operation can be clicking a paging identifier or swiping the screen.
[0191] The book reading client responds to the paging operation, and among the multiple text pages corresponding to the e - book, uses the text page that has an adjacency relationship with the second target text page as a displayable page, and jumps to and displays the displayable page.
[0192] Simply put, when the e - book is a paid e - book and the user has not purchased the e - book, the user can still read the text page where the high - frequency marked sentences in the e - book are located, and can also read the adjacent text pages of the text page where the high - frequency marked sentences are located, and locks the remaining text pages.
[0193] If the user performs a forward paging operation on the second target text page, the book reading client responds to the forward paging operation and obtains the page limit number. Among the multiple text pages corresponding to the e - book, extract the text page that is forward - adjacent to the second target text page as the second displayable text page, where the text page identifier of the extracted second displayable text page is less than the text page identifier of the second target text page, and the number of the second displayable text pages is equal to the page limit number.
[0194] The book reading client uses the extracted second displayable page as the text page that has an adjacency relationship with the second target text page, that is, the second displayable page belongs to the displayable pages mentioned above.
[0195] If the user performs a backward paging operation on the second target text page, the book reading client responds to the backward paging operation and obtains the page limit number. Among the multiple text pages corresponding to the e - book, extract the text page that is backward - adjacent to the second target text page as the third displayable text page, where the text page identifier of the extracted third displayable text page is greater than the text page identifier of the second target text page, and the number of the third displayable text pages is equal to the page limit number.
[0196] The book reading client uses the extracted third displayable page as the text page that has an adjacency relationship with the second target text page, that is, the third displayable page belongs to the displayable pages mentioned above.
[0197] For example, if the second target text page is the 8th page among all the text pages corresponding to an e-book, and the user performs a forward page-turning operation on the second target text page, and if the page limit number is 2, then the book reading client can use the 6th page and the 7th page as the second displayable pages, that is, the user can read the 6th page, the 7th page, and the 8th page. The book reading client jumps from the current 8th page to the 7th page.
[0198] For another example, if the second target text page is the 8th page among all the text pages corresponding to an e-book, and the user performs a backward page-turning operation on the second target text page, and if the page limit number is 2, then the 9th page and the 10th page can be used as the third displayable pages, that is, the user can read the 8th page, the 9th page, and the 10th page. The book reading client jumps from the current 8th page to the 9th page.
[0199] Step S205, in response to a forward page-turning operation on the second displayable page, according to the page limit number, use the text page that is backward adjacent to the first target text page among at least one text page as the first displayable page; the text page identifier of the first displayable page is greater than the text page identifier of the first target text page, and the number of the first displayable pages is equal to the page limit number, and jump to the first displayable page.
[0200] Specifically, the first target text page contains an original high-frequency marked statement, the high-frequency statement identifier of the original high-frequency marked statement is adjacent to the high-frequency statement identifier of the target high-frequency marked statement that belongs to the second target text page, and the high-frequency statement identifier of the original high-frequency marked statement is less than the high-frequency statement identifier of the target high-frequency marked statement. That is to say, the first target text page is in the front, the second target text page is in the back, the first target text page contains the original high-frequency marked statement, the second target text page contains the target high-frequency marked statement, the original high-frequency marked statement and the target high-frequency marked statement are two adjacent high-frequency marked statements, the original high-frequency marked statement is in the front, and the target high-frequency marked statement is in the back.
[0201] The user performs a forward page-turning operation on the second displayable page, and the book reading client responds to this forward page-turning operation to obtain the page limit number. Among the multiple text pages corresponding to the e-book, extract the text page that is backward adjacent to the first target text page as the first displayable text page, where the text page identifier of the extracted first displayable text page is greater than the text page identifier of the first target text page, and the number of the first displayable text pages is equal to the page limit number.
[0202] The book reading client jumps to the first displayable text page; if the first displayable text page contains multiple text pages, then the text page with the largest text page identifier in the first displayable text page can be displayed first.
[0203] For example, the first target text page is the 4th page among all the text pages corresponding to the e - book, and the second target text page is the 8th page among all the text pages corresponding to the e - book. If the page limit number is 1, then the 7th page can be used as the second displayable page. When the user performs a forward page - turning operation on the 7th page, the text page that is backward adjacent to the first target text page is the 5th page, that is, the 5th page is the first displayable page, and the book - reading client can jump from the current 7th page to the 5th page.
[0204] Generally speaking, the 3rd page, the 4th page, the 5th page, the 7th page, the 8th page, and the 9th page are all text pages that can be shown to the user. If the user performs a page - turning operation, the above - mentioned text pages will be shown to the user in sequence, but the 6th page is locked. Without purchasing the e - book, the user cannot read the 6th page.
[0205] That is to say, even if the e - book is a paid e - book and the user has not purchased it, through the page - turning operation, the user can still read the text pages where the high - frequency marked sentences are located, as well as the adjacent text pages of the text pages where the high - frequency marked sentences are located in sequence, but the remaining text pages are locked.
[0206] Optionally, the first target text page contains the original high - frequency marked sentence, and the high - frequency sentence identifier of the original high - frequency marked sentence is adjacent to the high - frequency sentence identifier of the target high - frequency marked sentence belonging to the second target text page. That is to say, the first target text page contains the original high - frequency marked sentence, the second target text page contains the target high - frequency marked sentence, and the original high - frequency marked sentence and the target high - frequency marked sentence are two adjacent high - frequency marked sentences.
[0207] The user can click on any blank area in the second target text page, and a high - frequency sentence jump identifier will be displayed in the second target text page. The user can click on this high - frequency sentence jump identifier, and the book - reading client responds to this operation to find in the e - book the high - frequency marked sentence adjacent to the page content in the second target text page, which is the original high - frequency marked sentence.
[0208] The book - reading client jumps from the second target text page to the first target text page. Briefly speaking, through the triggering operation on the high - frequency sentence jump identifier, the user can quickly jump from the current text page (the current text page may or may not contain high - frequency marked sentences) to the text page where the next (or previous) high - frequency marked sentence is located.
[0209] Please refer to Figure 5 , which is a schematic diagram of a method for determining displayable pages provided by an embodiment of the present application. As Figure 5As shown, the e-book reading client sends the e-book identifier and the password string to the background server to request data. After the background server verifies the password string successfully, it sends the e-book corresponding to the e-book identifier to the e-book reading client. The e-book reading client formats the downloaded e-book to obtain multiple text pages. The background server can also send the annotation statement position information of multiple high-frequency annotation statements. The e-book reading client can determine the text page where each high-frequency annotation statement is located according to the annotation statement position information. As Figure 5 shown, high-frequency annotation statement 1 belongs to text page 1, high-frequency annotation statement 2 belongs to text page 6, and high-frequency annotation statement 3 belongs to text page 7, where the e-book corresponds to a total of 7 text pages.
[0210] The e-book reading client can determine that the text page adjacent to text page 1 is text page 2 according to the page limit number 1, the text pages adjacent to text page 6 are text page 5 and text page 7, and the text page adjacent to text page 7 is text page 6. The e-book reading client can use text page 1, text page 2, text page 5, text page 6, and text page 7 as the displayable pages (the aforementioned displayable pages, the first displayable page, the second displayable page, and the third displayable page all belong to the displayable pages); correspondingly, text page 3 and text page 4 are used as the locked pages.
[0211] That is to say, even if the user does not purchase the e-book, by clicking the high-frequency statement jump identifier or performing a page-turning operation, the user can still read the above displayable pages, but the locked pages cannot be read without purchase.
[0212] As can be seen from the above, the user only needs to click the high-frequency statement jump identifier, and the terminal device can automatically jump to the text page where the high-frequency annotation statement is located. Compared with manual page turning and manually searching for the page where the high-frequency annotation statement is located, the automated method can reduce the interaction frequency between the terminal device and the user, thereby improving the efficiency of the terminal device to display the page where the high-frequency annotation statement is located to the user.
[0213] Further, please refer to Figure 6 , which is a schematic structural diagram of a page processing device provided by an embodiment of the present application. As Figure 6 shown, the page processing device 1 can be applied to the terminal device in the corresponding embodiment above. The page processing device 1 can include: a display module 11, a response module 12, and a jump module 13. Figures 1 - 5 The display module 11 is used to display the first target text page corresponding to the e-book;
[0214] The display module 11 is further used to display the high-frequency statement jump identifier in the first target text page;
[0215] The display module 11 is further used to display the high-frequency statement jump identifier in the first target text page;
[0216] A response module 12, configured to respond to a trigger operation for the high-frequency statement jump identifier;
[0217] A jump module 13, configured to jump to a second target text page where a target high-frequency marked statement is located; the target high-frequency marked statement is a high-frequency marked statement adjacent to the first target text page in the e-reader.
[0218] Among them, for the specific functional implementation manners of the display module 11, the response module 12, and the jump module 13, reference may be made to steps S101 - S103 in the corresponding embodiment above, which will not be elaborated here. Figure 3a Corresponding to steps S101 - S103 in the corresponding embodiment, which will not be elaborated here.
[0219] Please refer to Figure 6 , the jump module 13 may include: a statement search unit 131, a page acquisition unit 132, a page determination unit 133, and a display unit 134.
[0220] The statement search unit 131 is configured to search for a target high-frequency marked statement adjacent to the first target text page in the e-reader;
[0221] The page acquisition unit 132 is configured to acquire at least one text page corresponding to the e-reader;
[0222] The page determination unit 133 is configured to use the text page where the target high-frequency statement is located as the second target text page;
[0223] The display unit 134 is configured to display the second target text page and mark the target high-frequency marked statement in the second target text page.
[0224] Among them, for the specific functional implementation manners of the statement search unit 131, the page acquisition unit 132, the page determination unit 133, and the display unit 134, reference may be made to steps S1031 - S1033 in the corresponding embodiment above, which will not be elaborated here. Figure 3b Corresponding to steps S1031 - S1033 in the corresponding embodiment, which will not be elaborated here.
[0225] Please refer to Figure 6 , the statement search unit 131 may include: a location information acquisition subunit 1311, a progress combination subunit 1312, a location information search subunit 1313, and a statement determination subunit 1314.
[0226] The location information acquisition subunit 1311 is configured to acquire multiple marked statement location information corresponding to the e-reader; each marked statement location information includes a statement start character offset and a statement end character offset;
[0227] A progress combination subunit 1312, configured to combine the page start character offset and the page end character offset of the first target text page into a target progress range;
[0228] A position information search subunit 1313, configured to search, among the position information of the multiple annotation statements, for the position information of the annotation statement to which the start character offset of the statement adjacent to the target progress range belongs, as the target annotation statement position information;
[0229] A statement determination subunit 1314, configured to, in the e - book, use the characters within the range of the start character offset in the target annotation statement position information and the end character offset in the target annotation statement position information as the target high - frequency annotation statement.
[0230] Among them, for the specific functional implementation manners of the position information acquisition subunit 1311, the progress combination subunit 1312, the position information search subunit 1313, and the statement determination subunit 1314, reference can be made to step S1031 in the corresponding Figure 3b embodiment, which will not be elaborated here.
[0231] Please refer to Figure 6 , the page acquisition unit 132 may include: an acquisition subunit 1321, a creation subunit 1322, and an addition subunit 1323.
[0232] The acquisition subunit 1321 is configured to acquire the character height and the text page height, and determine the number of displayable lines of the page according to the character height and the text page height;
[0233] The creation subunit 1322 is configured to create a blank page, and add the characters in the e - book that have not been added to the blank page according to the character width and the text page width. When the number of character lines corresponding to the blank page after adding characters is equal to the number of displayable lines of the page, stop adding characters; the un - added characters are the characters in the e - book that have not been added to the blank page;
[0234] The addition subunit 1323 is configured to use the blank page after adding characters as the text page.
[0235] Among them, for the specific functional implementation manners of the acquisition subunit 1321, the creation subunit 1322, and the addition subunit 1323, reference can be made to Figure 3b step S1032 in the corresponding embodiment, which will not be elaborated here.
[0236] Please refer to Figure 6 , the page determination unit 133 may include: a combination subunit 1331 and an extraction subunit 1332.
[0237] A combined subunit 1331, configured to obtain target annotation statement position information corresponding to the target high-frequency annotated statement;
[0238] The combined subunit 1331 is further configured to obtain a page start character offset and a page end character offset of the text page, and combine the page start character offset and the page end character offset of the text page into a progress interval of the text page;
[0239] An extraction subunit 1332, configured to use the text page corresponding to the progress interval to which the statement start character offset in the target annotation statement position information belongs as a start text page, and use the text page corresponding to the progress interval to which the statement end character offset in the target annotation statement position information belongs as an end text page;
[0240] The extraction subunit 1332 is further configured to extract text pages starting from the start text page and ending at the end text page among the at least one text page, and use the extracted text pages as the second target text pages.
[0241] Among them, the specific functional implementation manners of the combined subunit 1331 and the extraction subunit 1332 can be referred to the step S1032 in the corresponding Figure 3b corresponding embodiment.
[0242] Please refer to Figure 6 , and the electronic reading material belongs to the resource input type;
[0243] The page processing device 1 may include: a display module 11, a response module 12, and a jump module 13; it may further include: an acquisition module 14, a sending module 15, and a receiving module 16.
[0244] The acquisition module 14 is configured to obtain a verification password string, and combine an electronic reading material identifier for requesting an electronic reading material with the verification password string into an electronic reading material acquisition request;
[0245] The sending module 15 is configured to send the electronic reading material acquisition request to the background server; the verification password string is used for the background server to verify the legality of the electronic reading material acquisition request;
[0246] The receiving module 16 is configured to receive the electronic reading material corresponding to the electronic reading material identifier returned by the background server when verifying the legality of the electronic reading material.
[0247] Among them, the specific functional implementation manners of the acquisition module 14, the sending module 15, and the receiving module 16 can be referred to the step S101 in the corresponding Figure 3a corresponding embodiment, which will not be elaborated here.
[0248] Please refer to Figure 6 , and the e - book belongs to the resource input type;
[0249] The page processing device 1 may include: a display module 11, a response module 12, a jump module 13; it may also include: a page determination module 17.
[0250] The page determination module 17 is used to respond to the page - turning operation for the second target text page, and in the at least one text page, take the text page that satisfies the adjacency relationship with the second target text page as the displayable page;
[0251] The display module 11 is further used to jump to the displayable page.
[0252] Among them, the specific function implementation methods of the page determination module 18 and the display module 11 can be referred to the step S204 in the corresponding embodiment above, and will not be elaborated here. Figure 4
[0253] Please refer to Figure 6 , the page determination module 17 may include: a response unit 171, a page search unit 172.
[0254] The response unit 171 is used to respond to the forward page - turning operation for the second target text page and obtain the page limit number;
[0255] The page search unit 172 is used to, according to the page limit number, take the text page that is forward - adjacent to the second target text page in the at least one text page as the second displayable page; the text page identifier of the second displayable page is less than the text page identifier of the second target text page, and the number of the second displayable pages is equal to the page limit number;
[0256] The page search unit 172 is further used to determine the second displayable page as the text page that satisfies the adjacency relationship with the second target text page; the second displayable page belongs to the displayable page.
[0257] Among them, the specific function implementation methods of the response unit 171 and the page search unit 172 can be referred to the step S204 in the corresponding embodiment above, and will not be elaborated here. Figure 4
[0258] Please refer to Figure 6 , the first target text page contains the original high - frequency marked statement, and the high - frequency statement identifier of the original high - frequency marked statement is adjacent to the high - frequency statement identifier of the target high - frequency marked statement, and the high - frequency statement identifier of the original high - frequency marked statement is less than the high - frequency statement identifier of the target high - frequency marked statement;
[0259] The page processing device 1 may include: a display module 11, a response module 12, a jump module 13, and a page determination module 17; it may also include: a page search module 18.
[0260] The page search module 18 is configured to respond to a forward page turning operation for the second displayable page, and according to the page limit quantity, use the text page that is backward adjacent to the first target text page among the at least one text page as the first displayable page; the text page identifier of the first displayable page is greater than the text page identifier of the first target text page, and the quantity of the first displayable pages is equal to the page limit quantity;
[0261] The page search module 18 is further configured to jump to the first displayable page.
[0262] Among them, for the specific functional implementation manner of the page search module 18, reference may be made to step S205 in the corresponding Figure 4 embodiment, which will not be elaborated here.
[0263] Please refer to Figure 6 , the first target text page contains the original high-frequency marked statement, and the high-frequency statement identifier of the original high-frequency marked statement is adjacent to the high-frequency statement identifier of the target high-frequency marked statement;
[0264] The page processing device 1 may include: a display module 11, a response module 12, a jump module 13; it may also include: a response jump module 19.
[0265] The response jump module 19 is configured to display the high-frequency statement jump identifier in the second target text page, and respond to a trigger operation for the high-frequency statement jump identifier to jump to the first target text page where the original high-frequency marked statement is located.
[0266] Among them, for the specific functional implementation manner of the response jump module 19, reference may be made to step S205 in the corresponding Figure 4 embodiment, which will not be elaborated here.
[0267] As can be seen from the above, the user only needs to click the high-frequency statement jump identifier, and the terminal device can automatically jump to the text page where the high-frequency marked statement is located. Compared with manual page turning and manually searching for the page where the high-frequency marked statement is located, the automated method can reduce the interaction frequency between the terminal device and the user, thereby improving the efficiency of the terminal device in displaying the page where the high-frequency marked statement is located to the user.
[0268] Further, please refer to Figure 7 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The above Figures 1 - 5The terminal device in the corresponding embodiment may be the electronic device 1000, such as Figure 7 As shown, the electronic device 1000 may include: a user interface 1002, a processor 1004, an encoder 1006, and a memory 1008. The signal receiver 1016 is used to receive or send data via the cellular interface 1010, WIFI interface 1012,..., or NFC interface 1014. The encoder 1006 encodes the received data into a data format processed by a computer. A computer program is stored in the memory 1008, and the processor 1004 is configured to execute the steps in any of the above method embodiments through the computer program. The memory 1008 may include volatile memory (e.g., dynamic random access memory DRAM), and may also include non-volatile memory (e.g., one-time programmable read-only memory OTPROM). In some instances, the memory 1008 may further include a memory remotely provided with respect to the processor 1004, and these remote memories may be connected to the electronic device 1000 through a network. The user interface 1002 may include: a keyboard 1018 and a display 1020.
[0269] In Figure 7 In the electronic device 1000 shown, the processor 1004 may be used to call the computer program stored in the memory 1008 to implement:
[0270] Display a first target text page corresponding to the e-reader;
[0271] Display a high-frequency statement jump identifier in the first target text page;
[0272] In response to a trigger operation on the high-frequency statement jump identifier, jump to a second target text page where the target high-frequency marked statement is located; the target high-frequency marked statement is a high-frequency marked statement adjacent to the first target text page in the e-reader.
[0273] It should be understood that the electronic device 1000 described in the embodiments of the present application may execute the description of the page processing method in the corresponding embodiments mentioned above, and may also execute the description of the page processing device 1 in the corresponding embodiments mentioned above, which will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated either. Figures 1 to 5 In the corresponding embodiments mentioned above Figure 6 The description of the page processing device 1, which will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated either.
[0274] In addition, it should be pointed out here that: The embodiments of the present application also provide a computer storage medium, and the computer program executed by the page processing device 1 mentioned above is stored in the computer storage medium, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the above-mentioned Figures 1 to 5The description of the page processing method in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of using the same method will not be repeated. For the technical details not disclosed in the computer storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application.
[0275] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.
[0276] The above-disclosed are only the preferred embodiments of this application. Of course, the scope of rights of this application cannot be limited thereby. Therefore, equivalent changes made according to the claims of this application still fall within the scope covered by this application.
Claims
1. A page processing method, characterized in that, Including: Displaying a first target text page corresponding to an e - book in a book - reading client; the e - book belongs to a resource - input type, where the resource - input type means that after paying for the e - book resource, the e - book is allowed to be unlocked for reading, and without paying for the e - book resource, the e - book is not allowed to be unlocked for reading; Displaying a high - frequency statement jump identifier in the first target text page; Responding to a trigger operation on the high - frequency statement jump identifier, and jumping to a second target text page where the target high - frequency marked statement is located for users who have not paid for the resource and users who have paid for the resource to read; the target high - frequency marked statement is a high - frequency marked statement adjacent to the first target text page in the e - book; the target high - frequency marked statement is a statement marked by at least one of multiple users who have read the e - book, the author of the e - book, or the operation administrator; if the target high - frequency marked statement is determined based on user marks, the number of user marks corresponding to the target high - frequency marked statement is greater than a preset number threshold; Responding to a forward - page - turning operation on the second target text page, and obtaining a page limit number; According to the page limit number, using the text page adjacent to the second target text page forward in at least one text page corresponding to the e - book as the second displayable page; the text page identifier of the second displayable page is less than the text page identifier of the second target text page, and the number of the second displayable pages is equal to the page limit number; Jumping to the second displayable page for users who have not paid for the resource and users who have paid for the resource to read.
2. The method according to claim 1, characterized in that, The jumping to the second target text page where the target high - frequency marked statement is located includes: Searching for a target high - frequency marked statement adjacent to the first target text page in the e - book; Obtaining at least one text page corresponding to the e - book, and using the text page where the target high - frequency marked statement is located as the second target text page; Displaying the second target text page and marking the target high - frequency marked statement in the second target text page.
3. The method according to claim 2, characterized in that, The searching for a target high - frequency marked statement adjacent to the first target text page in the e - book includes: Obtaining multiple marked - statement position information corresponding to the e - book; each marked - statement position information includes a statement start character offset and a statement end character offset; Combining the page start character offset and the page end character offset of the first target text page into a target progress interval; Searching in the multiple marked - statement position information for the marked - statement position information to which the statement start character offset adjacent to the target progress interval belongs as the target marked - statement position information; In the e - book, using the characters within the interval of the statement start character offset and the statement end character offset in the target marked - statement position information as the target high - frequency marked statement.
4. The method according to claim 2, wherein The obtaining of at least one text page corresponding to the e - book includes: Obtain the character height and the text page height, and determine the number of displayable lines on the page according to the character height and the text page height; Create a blank page, and add the characters not added in the e - book to the blank page according to the character width and the text page width. Stop adding characters when the number of character lines corresponding to the blank page after adding characters is equal to the number of displayable lines on the page; The characters not added are the characters in the e - book that have not been added to the blank page; Use the blank page after adding characters as the text page.
5. The method according to claim 2, wherein The step of using the text page where the target high - frequency marked statement is located as the second target text page includes: Obtain the position information of the target marked statement corresponding to the target high - frequency marked statement; Obtain the starting character offset and the ending character offset of the text page, and combine the starting character offset and the ending character offset of the text page into the progress interval of the text page; Use the text page corresponding to the progress interval to which the starting character offset of the statement in the target marked statement position information belongs as the starting text page, and use the text page corresponding to the progress interval to which the ending character offset of the statement in the target marked statement position information belongs as the ending text page; In the at least one text page, starting from the starting text page and ending at the ending text page, extract the text pages, and use the extracted text pages as the second target text page.
6. The method according to claim 1, characterized in that The method further includes: Obtain the verification password string, and combine the e - book identifier used to request the e - book with the verification password string to form an e - book acquisition request; Send the e - book acquisition request to the background server; The verification password string is used for the background server to verify the legality of the e - book acquisition request; Receive the e - book corresponding to the e - book identifier returned by the background server when verifying the legality of the e - book.
7. The method according to claim 1, wherein The first target text page contains the original high - frequency marked statement, and the high - frequency statement identifier of the original high - frequency marked statement is adjacent to the high - frequency statement identifier of the target high - frequency marked statement, and the high - frequency statement identifier of the original high - frequency marked statement is less than the high - frequency statement identifier of the target high - frequency marked statement; The method further includes: Respond to the forward page - turning operation for the second displayable page. According to the page limit number, use the text page adjacent backward to the first target text page in the at least one text page as the first displayable page; The text page identifier of the first displayable page is greater than the text page identifier of the first target text page, and the number of the first displayable pages is equal to the page limit number; Jump to the first displayable page.
8. The method according to claim 1, characterized in that The first target text page contains the original high - frequency marked statement, and the high - frequency statement identifier of the original high - frequency marked statement is adjacent to the high - frequency statement identifier of the target high - frequency marked statement; The method further includes: Display the high - frequency statement jump identifier in the second target text page; In response to a trigger operation for the high-frequency statement jump identifier, jump to the first target text page where the original high-frequency marked statement is located.
9. A page processing device, characterized in that, Comprising: A display module, configured to display a first target text page corresponding to an e-book in a book reading client; the e-book belongs to a resource input type, where the resource input type means that the e-book is allowed to be unlocked and read after paying for the e-book, and the e-book is not allowed to be unlocked and read without paying for the e-book; The display module is further configured to display a high-frequency statement jump identifier on the first target text page; A response module, configured to respond to a trigger operation for the high-frequency statement jump identifier; A jump module, configured to jump to a second target text page where a target high-frequency marked statement is located for users who have not paid for the resource and users who have paid for the resource to read; the target high-frequency marked statement is a high-frequency marked statement adjacent to the first target text page in the e-book; the target high-frequency marked statement refers to a statement marked by at least one of multiple users who have read the e-book, the author of the e-book, or the operation administrator; if the target high-frequency marked statement is determined based on user marks, the number of user marks corresponding to the target high-frequency marked statement is greater than a preset number threshold; A page determination module, configured to respond to a forward page-turning operation for the second target text page, obtain a page limit number; according to the page limit number, use a text page adjacent to the second target text page in the forward direction among at least one text page corresponding to the e-book as a second displayable page; the text page identifier of the second displayable page is smaller than the text page identifier of the second target text page, and the number of the second displayable pages is equal to the page limit number; The display module is further configured to jump to the second displayable page for users who have not paid for the resource and users who have paid for the resource to read.
10. An electronic device, characterized in that, Comprising: A processor and a memory; The processor is connected to the memory, wherein the memory is used to store program code, and the processor is used to call the program code to execute the method according to any one of claims 1-8.
11. A computer storage medium, characterized in that, The computer storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1-8 is executed.
Citation Information
Patent Citations
Note management system and method for electronic document
CN103246635A
Reading control method for electronic book and electronic book
CN105045487A
Page skip method, data processing method and device and page skip control system
CN108153768A