A method and system for reading electronic documents based on deep reading recognition

By analyzing the text characteristics of electronic documents and reader gaze information, identifying deep reading fragments and storing the final position, it solves the problem that user focus cannot be accurately reflected in the existing technology, realizes efficient jumps in electronic document reading, and saves user time and energy.

CN117058748BActive Publication Date: 2024-09-24HANGZHOU LIPU TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311154620.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-07
Publication Date
2024-09-24
Estimated Expiration
2043-09-07

AI Technical Summary

Technical Problem

Existing electronic document reading devices cannot effectively analyze the user's in-depth reading behavior, causing the user to jump to the wrong location when closing and reopening, wasting time and energy.

Method used

By obtaining text features and reader gaze information, calculating the gaze influence coefficient, constructing deep reading and shallow reading cluster center points, analyzing gaze point characteristics, dividing deep reading segments and shallow reading segments, and storing the last position of the deep reading segments, realizing automatic Jump.

Benefits of technology

Accurately reflect users' concerns, save users' time and energy, and improve reading efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117058748B
    Figure CN117058748B
Patent Text Reader

Abstract

The present invention discloses an electronic document reading method and system based on deep reading recognition, belonging to the field of data processing technology, and the method comprises: obtaining text features of an electronic document; calculating the gaze influence coefficient of the electronic document when reading according to each text feature; obtaining the gaze information of each gaze point when the reader reads the electronic document; constructing a sample data set; calculating the distance from each cluster center point according to the feature vector of the current gaze point; calculating the classification distance between the current gaze point and each cluster center point according to the gaze influence coefficient of the electronic document; dividing the current gaze point into clusters with smaller classification distances to obtain deep reading segments and shallow reading segments; displaying the user's deep reading time; when the reader closes the electronic document, taking the reading position where the last gaze point in the deep reading segment is located as a memory position and storing it; when the reader reopens the electronic document, automatically jumping to the memory position.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of data processing, and in particular relates to an electronic document reading method and system based on deep reading recognition. Background Art

[0002] With the continuous development of electronic technology, people are increasingly relying on display screens for daily life. Electronic reading has gradually replaced the original paper reading, providing people with a more convenient and quick reading experience. In order to meet the actual needs of users, electronic documents or books are provided to users on various terminals, learning platforms, online public platforms, etc., so that people can quickly check them at any time through computers or mobile terminals.

[0003] When analyzing user reading data, existing electronic document reading devices only record the user's reading time and number of pages read, and lack analysis of the user's in-depth reading behavior.

[0004] Furthermore, when a user closes an electronic document and then reopens it, the existing electronic document reading device will jump to the position where the user last read. However, in some scenarios, such as flipping through a document, the user may have only skimmed through the document in the last period of time, and the position where the document was closed is not the part that the user is most concerned about. Jumping to the position where the document was last read when reopening the document is difficult to accurately reflect the user's focus. The user often needs to re-browse the entire document, resulting in a waste of time and energy. Summary of the invention

[0005] In order to solve the technical problem that the prior art lacks analysis of the user's in-depth reading behavior, and jumps to the position where the user last reads when the electronic document is closed and then reopened, which makes it difficult to accurately reflect the user's focus, and the user often needs to re-browse the entire document, resulting in a waste of time and energy, the present invention provides an electronic document reading method and system based on deep reading recognition.

[0006] First aspect

[0007] The present invention provides an electronic document reading method based on deep reading recognition, comprising:

[0008] S101: Acquire text features of the electronic document, the text features including: text difficulty, text crowding, text attributes, and low-frequency text ratio;

[0009] S102: Calculating the attention influence coefficient ρ of the electronic document when reading according to each text feature;

[0010] S103: Obtaining gaze information of each gaze point when the reader reads the electronic document, the gaze information including: gaze point duration, saccade distance, saccade longitudinal distance, saccade direction and pupil diameter;

[0011] S104: construct a sample data set, the sample data set includes a feature vector x of each fixation point, x={x1, x2, x3, x4, x5}, x1 represents the duration of the fixation point, x2 represents the saccade distance, x3 represents the longitudinal distance of the saccade, x4 represents the saccade direction, and x5 represents the pupil diameter;

[0012] S105: randomly generating a deep reading cluster center point c1 and a shallow reading cluster center point c2;

[0013] S106: Calculate the distance d from each cluster center point based on the feature vector of the current gaze point ij :

[0014]

[0015] Among them, d ij represents the distance from the i-th fixation point to the j-th cluster center, j = 1 or 2, x ik represents the kth eigenvalue of the i-th fixation point, k = 1, 2, ..., 5;

[0016] S107: Calculate the classification distance between the current gaze point and each cluster center point according to the gaze influence coefficient ρ of the electronic document

[0017]

[0018] in, represents the classification distance from the i-th fixation point to the deep reading cluster center c1, represents the classification distance from the i-th fixation point to the deep reading cluster center c2;

[0019] S108: Divide the current fixation point into clusters with smaller classification distances, and update the deep reading cluster center point c1 and the shallow reading cluster center point c2;

[0020] S109: Continue to select the next fixation point, repeat S106 and S108, until all fixation points are clustered, and deep reading segments and shallow reading segments are obtained;

[0021] S110: Displays the user's deep reading time;

[0022] S111: when the reader closes the electronic document, the reading position of the last fixation point in the deep reading segment is taken as a memory position and stored;

[0023] S112: When the reader reopens the electronic document, it automatically jumps to the memory location.

[0024] Second aspect

[0025] The present invention provides an electronic document reading system based on deep reading recognition, which is used to execute the electronic document reading method based on deep reading recognition in the first aspect.

[0026] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0027] (1) In the present invention, by analyzing the gaze point of the reader's glasses when reading an electronic document, the deep reading segments and shallow reading segments of the reader during the reading process are analyzed according to the duration of the gaze point, the saccade distance, the longitudinal distance of the saccade, the saccade direction and the pupil diameter, and then the deep reading time can be displayed to the user, so that the user can understand his or her own reading habits.

[0028] (2) In the present invention, when the reader closes the electronic document and then reopens it, it automatically jumps to the last moment in the deep reading segment, which can better reflect the reader's actual focus. There is no need to re-browse the entire document, saving the reader's time and energy. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.

[0030] Figure 1 It is a flowchart of an electronic document reading method based on deep reading recognition provided by the present invention;

[0031] Figure 2 It is a structural schematic diagram of an electronic document reading system based on deep reading recognition provided by the present invention. DETAILED DESCRIPTION

[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.

[0033] In order to simplify the drawings, only the parts related to the invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".

[0034] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0035] In this document, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0036] In addition, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0037] Example 1

[0038] In one embodiment, the reference specification Figure 1 , which shows a flow chart of the electronic document reading method based on deep reading recognition provided by the present invention. Figure 2 , showing a structural schematic diagram of an electronic document reading system based on deep reading recognition provided by the present invention.

[0039] The present invention provides an electronic document reading method based on deep reading recognition, comprising:

[0040] S101: Acquire text features of an electronic document.

[0041] Text features include: text difficulty, text crowding, text attributes, and the proportion of low-frequency text.

[0042] In a possible implementation, S101 specifically includes sub-steps S1011 to S1014:

[0043] S1011: Determine text difficulty by calculating an average value of sentence lengths in the electronic document.

[0044] S1012: Determine the text crowding degree by calculating the text spacing and line spacing in the electronic document.

[0045] S1013: Determine text attributes by analyzing the font, font size, and color of the text in the electronic document.

[0046] S1014: Determine the frequency of low-frequency words by calculating the ratio of low-frequency words to total words in the electronic document.

[0047] S102: Calculate the attention influence coefficient ρ of the electronic document when reading according to each text feature.

[0048] The gaze influence coefficient ρ can reflect the difficulty of reading an electronic document. The higher the difficulty of reading an electronic document, the longer the reader needs to focus, and accordingly, the greater the gaze influence coefficient ρ.

[0049] In a possible implementation, S102 specifically includes sub-steps S1021 to S1023:

[0050] S1021: Normalize text difficulty, text crowding, text attributes, and low-frequency text ratio.

[0051] Among them, normalization is a common data preprocessing method that scales data to a specific range. Normalization eliminates the dimensionality effect between features, improves the effect and generalization ability of model training, and facilitates data analysis and visualization. It is an important part of data preprocessing.

[0052] S1022: Setting weights of text difficulty, text crowding, text attributes, and low-frequency text ratio according to the influence of text difficulty, text crowding, text attributes, and low-frequency text ratio on in-depth reading.

[0053] Among them, the weight reflects the importance of each text feature in evaluating the attention influence coefficient ρ.

[0054] In a possible implementation manner, S1022 specifically includes:

[0055] By comparing text difficulty, text crowding, text attributes and low-frequency text ratios, combined with the nine-level scaling method, the discriminant matrix B is established:

[0056]

[0057] Among them, b ij Indicates the importance of the i-th text feature relative to the j-th text feature, b ij The value of can be determined by the nine-pole scaling method, n = 4.

[0058] Among them, the nine-level scaling method gives scores for different indicators based on the relative differences between two indicators. The final result can reflect the relative differences of multiple qualitative indicators through numerical values, and then analyze the proportion of each evaluation indicator in the process of evaluating the credit of labor personnel.

[0059] Calculate the eigenvectors and eigenvalues ​​of the discriminant matrix B:

[0060] Bω=λω→(B-λI)ω

[0061] Among them, λ represents the eigenvalue of the discriminant matrix B, ω represents the eigenvector of the discriminant matrix B, and the largest eigenvalue is recorded as λ max , and the corresponding eigenvector is ω max ,ω max =(ω1,ω i ,…,ω n ).

[0062] Normalize the eigenvectors:

[0063]

[0064] ω′ max =(ω′1,ω′2,…,ω′ n )

[0065] Among them, the normalized vector ω′ max The components ω′1, ω′2, …, ω′ n Represent the weights of each text feature, which can be recorded as μ1, μ2, …, μ n .

[0066] S1023: Calculate the attention influence coefficient ρ of the electronic document when reading according to the following formula:

[0067]

[0068] Among them, μ i represents the weight of the i-th text feature, a i Represents the i-th text feature.

[0069] In the present invention, the weights of various text features are determined by the above method, which has the advantages of objectivity, comprehensiveness, scalability and decision-making analysis, and provides a scientific and reliable weight reference for the in-depth reading management method.

[0070] S103: Obtaining gaze information of each gaze point when the reader reads the electronic document, the gaze information including: gaze point duration, saccade distance, saccade longitudinal distance, saccade direction and pupil diameter.

[0071] It should be noted that deep reading usually requires readers to focus on the text and think deeply and understand it. During deep reading, readers' gaze points often stay on the key parts of the text to better understand and absorb the information. Therefore, a longer duration of fixation may indicate that the reader has read deeply at a certain location rather than just skimming.

[0072] Among them, the saccade distance refers to the distance between two adjacent fixation points.

[0073] It should be noted that in the deep reading state, readers tend to make smaller saccades and their gaze is more stable, so as to better capture and process the details of the text. In contrast, in the shallow reading state, the saccade distance and the vertical distance of the saccade may be larger, indicating that the reader's gaze moves farther on the text and does not focus deeply on a specific area.

[0074] Among them, the vertical distance of saccades refers to the difference between the vertical coordinates of two adjacent fixation points. The vertical distance of saccades can better reflect the reader's page-turning behavior.

[0075] It should be noted that the direction of saccades refers to the path of the eyes as they move from one fixation point to the next. When reading deeply, the direction of saccades tends to be horizontal or slightly tilted, because readers read line by line according to the arrangement of the text. In contrast, in a shallow reading state, the direction of saccades may be more random and irregular, because readers are distracted or just quickly scan the text.

[0076] Among them, the calculation method of the eye saccade direction e is:

[0077] e=min(|e0|, |180-e0|, |360-e0|)

[0078] Among them, e0 represents the absolute saccade direction.

[0079] It should be noted that the absolute saccade direction can be understood as the actual saccade distance between 0 and 360 degrees. For deep reading, it is often necessary to read and look back line by line, so it is often concentrated at 0, 180 and 360 degrees. In shallow reading, the gaze point often moves or jumps down along the electronic document, and the gaze point is often concentrated between 45 and 135 degrees and 225 and 315 degrees. The above formula can be used to map the absolute saccade direction value to 0 to 90 degrees, so that deep reading behavior is close to 0 degrees, and shallow reading behavior is close to 90 degrees, so as to intuitively reflect the difference between deep reading and shallow reading.

[0080] Among them, pupil diameter refers to the size of the pupil, which can also be used as an indicator of attention and cognitive load. In the deep reading state, the pupil may have a smaller diameter because the reader needs to make a higher level of cognitive effort and concentration. In the shallow reading state, the pupil diameter may be larger, indicating that the reader pays less attention to the reading content.

[0081] S104: Construct a sample data set, where the sample data set includes a feature vector x of each gaze point, where x = {x1, x2, x3, x4, x5}.

[0082] Among them, x1 represents the duration of the fixation point, x2 represents the distance of the saccade, x3 represents the longitudinal distance of the saccade, x4 represents the direction of the saccade, and x5 represents the pupil diameter.

[0083] The process of collecting the sample data set allows subjects to participate in the experiment. During the experiment, an eye tracking module or a camera module equipped with an electronic document reading system is used to capture the reader's gaze point, and then the gaze point duration, saccade distance, saccade longitudinal distance, saccade direction and pupil diameter are determined.

[0084] S105: Randomly generate a deep reading cluster center point c1 and a shallow reading cluster center point c2.

[0085] S106: Calculate the distance d from each cluster center point based on the feature vector of the current gaze point ij :

[0086]

[0087] Among them, d ij represents the distance from the i-th fixation point to the j-th cluster center, j = 1 or 2, x ik represents the kth eigenvalue of the ith fixation point, c jk Represents the kth eigenvalue of the jth cluster center, k = 1, 2, …, 5.

[0088] S107: Calculate the classification distance between the current gaze point and each cluster center point according to the gaze influence coefficient ρ of the electronic document

[0089]

[0090] in, represents the classification distance from the i-th fixation point to the deep reading cluster center c1, Represents the classification distance from the i-th fixation point to the shallow reading cluster center c2.

[0091] In the present invention, the gaze influence coefficient ρ is introduced when calculating the classification distance between the current gaze point and each cluster center point. This is because electronic documents of different reading difficulties will affect the reader's ability to concentrate. The higher the reading difficulty of an electronic document, the more the reader needs to focus and concentrate, the larger the gaze influence coefficient ρ, and the smaller the classification distance from the gaze point to the deep reading cluster center point c1, the easier it is for the gaze point to be classified into the deep reading cluster.

[0092] S108: Divide the current fixation point into clusters with smaller classification distances, and update the deep reading cluster center point c1 and the shallow reading cluster center point c2.

[0093] S109: Continue to select the next fixation point, and repeat S106 and S108 until all fixation points are clustered to obtain deep reading segments and shallow reading segments.

[0094] Among them, the deep reading segment reflects the time period when readers engage in deep reading behavior, and the shallow reading segment reflects the time period when readers engage in shallow reading behavior.

[0095] S110: Display the user's in-depth reading time.

[0096] Optionally, the duration of deep reading segments is accumulated to obtain the user's deep reading duration.

[0097] In the present invention, calculating and displaying the deep reading time to the user can provide visual reading feedback and guidance, help readers better understand their reading behavior, and promote the practice and development of deep reading. This helps to improve reading effects, monitor learning progress, and promote personalized reading support and cultivate deep reading habits.

[0098] S111: When the reader closes the electronic document, the reading position at which the last fixation point in the deep reading segment is located is taken as a memory position and stored.

[0099] Understandably, the reading position of the last fixation point in the deep reading segment better reflects the reader's actual focus.

[0100] S112: When the reader reopens the electronic document, it automatically jumps to the memory location.

[0101] Among them, when the reader closes the electronic document and reopens it, it automatically jumps to the last moment in the deep reading segment, which can better reflect the reader's actual focus. There is no need to re-browse the entire document, saving the reader's time and energy.

[0102] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0103] (1) In the present invention, by analyzing the gaze point of the reader's glasses when reading an electronic document, the deep reading segments and shallow reading segments of the reader during the reading process are analyzed according to the duration of the gaze point, the saccade distance, the longitudinal distance of the saccade, the saccade direction and the pupil diameter, and then the deep reading time can be displayed to the user, so that the user can understand his or her own reading habits.

[0104] (2) In the present invention, when the reader closes the electronic document and then reopens it, it automatically jumps to the last moment in the deep reading segment, which can better reflect the reader's actual focus. There is no need to re-browse the entire document, saving the reader's time and energy.

[0105] In a possible implementation, the electronic document reading method based on deep reading recognition further includes:

[0106] S113: Analyze the reader’s reading pattern based on the reading position of the first fixation point in the deep reading passage.

[0107] Among them, reading modes include text-oriented, problem-oriented, and auxiliary-oriented.

[0108] Among them, the text-oriented type means that the first deep reading focus is on the text area, and the reader starts formal reading from the text.

[0109] Among them, problem-oriented means that the first deep reading focus is on the problem area, and the reader starts formal reading from the problem part.

[0110] Among them, the auxiliary-oriented type means that the first deep reading focus is on the table of contents area, and readers like to read the table of contents first and then start reading.

[0111] S114: When a reader opens a new electronic document, the page automatically jumps to a corresponding area according to the reader's reading mode.

[0112] It should be noted that different readers have different reading preferences and habits. By understanding the readers' reading patterns, we can provide personalized reading experience based on their preferences. Automatically jumping to the area preferred by readers can save readers' time and energy, and improve their satisfaction and usage effect.

[0113] In a possible implementation, S114 specifically includes sub-steps S1041 to S1043:

[0114] S1141: When the reader's reading mode is text-oriented, automatically jump to the text area.

[0115] S1142: When the reader's reading mode is problem-oriented, automatically jump to the problem area.

[0116] S1143: When the reader's reading mode is auxiliary-oriented, automatically jump to the directory area.

[0117] In the present invention, automatically jumping to the corresponding area according to the reader's reading mode can provide a personalized experience, improve efficiency, provide navigation guidance and reduce cognitive load, thereby improving user experience and reading effect.

[0118] In a possible implementation, the electronic document reading method based on deep reading recognition further includes:

[0119] S115: Counting the total time duration of the deep reading segments and the total time duration of the shallow reading segments that the reader reads the current electronic document.

[0120] S116: Calculate the proportion of deep reading time according to the total time of the deep reading segments and the total time of the shallow reading segments.

[0121] S117: Electronic documents whose deep reading time accounts for more than a preset ratio are regarded as documents of interest.

[0122] Among them, classifying electronic documents whose deep reading time exceeds the preset ratio as documents of interest can help screen important content, improve information retrieval efficiency, personalize recommendations and simplify information management, thereby providing a more targeted and efficient reading experience.

[0123] S118: Recommend a list of books to readers based on documents of interest.

[0124] In a possible implementation, S118 specifically includes sub-steps S1181 to S1189:

[0125] S1181: Obtain a reader's interest record, where the reader's interest record includes a plurality of interested documents.

[0126] S1182: Construct a reader interest matrix F based on the reader interest records.

[0127] Where F = [f ij ], i = 1, 2, ..., m, j = 1, 2, ..., n, m represents the number of readers, n represents the number of documents, f ij Indicates whether the i-th reader is interested in the j-th document. If so, f ij =1. Otherwise, a ij =0.

[0128] S1183: Based on the reader interest matrix F, calculate the reader association matrix G and the document association matrix P.

[0129] Where G = [g ij ], i = 1, 2, ..., m, j = 1, 2, ..., m, m represents the number of readers, g ij Represents the number of documents that both the i-th reader and the j-th reader are interested in.

[0130] Among them, the reader association matrix G can measure the interest similarity between different readers. If two readers like more electronic documents in common, the association value between the two readers will be larger, indicating that the interests of the two readers are more similar.

[0131] Where P = [p ij ], i = 1, 2, ..., n, j = 1, 2, ..., n, n represents the number of documents, p ij Represents the number of readers who are interested in both the i-th document and the j-th document.

[0132] Among them, the document association matrix P can measure the similarity between documents. If two documents are liked by many of the same readers, the association value of the two documents will be larger, indicating that the similarity between the two documents is higher.

[0133] Furthermore, the reader association matrix G and document association matrix P are important tools for calculating the common interests of readers and documents in the electronic document reading system based on deep reading recognition. These matrices can help the system identify the similarity and interest intersection between readers, as well as the similarity and audience overlap between documents, thereby providing readers with more accurate personalized recommendations.

[0134] S1184: Calculate the reader similarity matrix H based on the reader association matrix G and the reader interest matrix F:

[0135]

[0136] H=[h ij ]

[0137] Where i = 1, 2, ..., m, j = 1, 2, ..., m, k = 1, 2, ..., n, m represents the number of readers, n represents the number of documents, h represents the number of documents, and ij Represents the similarity between the i-th reader and the j-th reader.

[0138] In the present invention, the similarity between two readers is calculated based on the number of documents that the i-th reader and the j-th reader are simultaneously interested in. If the documents that two readers like have a lot in common, it means that the two readers have similarities in document tastes, and therefore are more likely to be interested in each other's favorite documents. The algorithm has high transparency and high computational efficiency, and can accurately measure the similarity between two readers in document preferences.

[0139] S1185: Calculate the first recommendation index for recommending the jth document to the target reader θ according to the reader similarity matrix H

[0140]

[0141] Among them, θ represents the target reader number, m represents the number of readers, and h θi represents the similarity between the target reader and the i-th reader, f ij Indicates whether the i-th reader is interested in the j-th document.

[0142] The first recommendation index combines the preferences of multiple other readers similar to the target reader for the document, so as to recommend documents liked by multiple other similar readers to the target reader based on reader similarity.

[0143] S1186: Calculate the document similarity matrix Q based on the document association matrix P and the reader interest matrix F:

[0144]

[0145] Q=[qij ]

[0146] Where i = 1, 2, ..., n, j = 1, 2, ..., n, k = 1, 2, ..., m, m represents the number of readers, n represents the number of documents, q ij Represents the similarity between the i-th document and the j-th document.

[0147] In the present invention, the similarity between two documents is calculated based on the number of readers who are interested in both the i-th document and the j-th document. If two documents are liked by multiple readers, it means that the two documents are similar in style. People who like one of the documents are more likely to be interested in the other document. This avoids mechanically calculating the similarity of documents based on the style of the documents, better reflects the readers' preferences, and has high algorithm transparency and high calculation efficiency, and can accurately measure the similarity between two documents.

[0148] S1187: Calculate the second recommendation index for recommending the jth document to the target reader θ based on the document similarity matrix Q

[0149]

[0150] Among them, θ represents the number of target readers, n represents the number of documents, and f θi Indicates whether the target reader is interested in the i-th document, q ij Represents the similarity between the i-th document and the j-th document.

[0151] Among them, the second recommendation index combines documents with high similarity to multiple documents liked by the target readers, so as to recommend multiple similar documents to the target readers based on document similarity.

[0152] S1188: According to the first recommendation index and the second recommendation index Calculate the joint recommendation index δ of the jth document j :

[0153]

[0154] Among them, η represents the first recommendation index The weight coefficient of .

[0155] Among them, those skilled in the art can set the first recommendation index according to actual conditions. The present invention does not limit the size of the weight coefficient η.

[0156] S1189: Based on the joint recommendation index δ j Generate a list of recommended books.

[0157] In the present invention, when making electronic document recommendations, not only the similarity of documents is considered, but also many factors such as the similarity between readers, whether a document has been recommended before, and the popularity of the document are considered. This can more accurately grasp the readers' preferences, improve the accuracy of document recommendations, and avoid falling into filter bubbles, so that readers can be exposed to other document types and articles that may be of interest based on document recommendations, helping to discover a wider range of document choices to meet the diverse needs of readers.

[0158] Example 2

[0159] In one embodiment, the present invention provides an electronic document reading system based on deep reading recognition, which is used to execute the electronic document reading method based on deep reading recognition in Example 1.

[0160] The electronic document reading system based on deep reading recognition provided by the present invention can realize the steps and effects of the electronic document reading method based on deep reading recognition in the above-mentioned embodiment 1. To avoid repetition, the present invention will not elaborate on them.

[0161] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0162] (1) In the present invention, by analyzing the gaze point of the reader's glasses when reading an electronic document, the deep reading segments and shallow reading segments of the reader during the reading process are analyzed according to the duration of the gaze point, the saccade distance, the longitudinal distance of the saccade, the saccade direction and the pupil diameter, and then the deep reading time can be displayed to the user, so that the user can understand his or her own reading habits.

[0163] (2) In the present invention, when the reader closes the electronic document and then reopens it, it automatically jumps to the last moment in the deep reading segment, which can better reflect the reader's actual focus. There is no need to re-browse the entire document, saving the reader's time and energy.

[0164] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0165] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. An electronic document reading method based on deep reading recognition, It is characterized in that include: S101: Acquire text features of an electronic document, wherein the text features include: text difficulty, text crowding, text attributes, and low-frequency text ratio; S102: Calculating the gaze influence coefficient ρ of the electronic document when reading according to each of the text features; S103: Obtaining gaze information of each gaze point when the reader reads the electronic document, wherein the gaze information includes: gaze point duration, saccade distance, saccade longitudinal distance, saccade direction and pupil diameter; S104: Construct a sample data set, wherein the sample data set includes a feature vector x of each gaze point, x={x 1 ,x 2 ,x 3 ,x 4 ,x 5 }, x 1 represents the duration of fixation, x 2 represents the eye-saccade distance, x 3 represents the vertical distance of the eye saccade, x 4 represents the direction of eye saccade, x 5 represents the pupil diameter; S105: Randomly generate deep reading cluster center point c 1 and the shallow reading cluster center c 2 ; S106: Calculate the distance d from each cluster center point based on the feature vector of the current gaze point ij : Among them, d ij represents the distance from the i-th fixation point to the j-th cluster center, j = 1 or 2, x ik represents the kth eigenvalue of the ith fixation point, c jk represents the kth eigenvalue of the jth cluster center, k = 1, 2, ..., 5; S107: Calculate the classification distance between the current gaze point and each cluster center point according to the gaze influence coefficient ρ of the electronic document in, Represents the distance from the i-th fixation point to the deep reading cluster center c 1 The classification distance, Indicates the distance from the i-th fixation point to the shallow reading cluster center c 2 The classification distance; S108: Divide the current gaze point into the cluster with the smaller classification distance, and update the deep reading cluster center point c 1 and the shallow reading cluster center point c 2 ; S109: Continue to select the next fixation point, repeat S106 and S108, until all fixation points are clustered, and deep reading segments and shallow reading segments are obtained; S110: Displays the user's deep reading time; S111: When the reader closes the electronic document, the reading position of the last fixation point in the deep reading segment is taken as a memory position and stored; S112: When the reader reopens the electronic document, the electronic document automatically jumps to the memory location; Wherein, the S101 specifically includes: S1011: Determine the text difficulty by calculating the average value of the sentence lengths in the electronic document; S1012: Determine the text crowding degree by calculating the text spacing and line spacing in the electronic document; S1013: Determine the text attributes by analyzing the font, font size, and color of the text in the electronic document; S1014: Determine the low-frequency text ratio by calculating the ratio of low-frequency words to total words in the electronic document; Wherein, the S102 specifically includes: S1021: normalizing the text difficulty, the word crowding degree, the word attributes, and the low-frequency word ratio; S1022: setting weights of the text difficulty, the text crowding degree, the text attributes, and the low-frequency text ratio according to the influence of the text difficulty, the text crowding degree, the text attributes, and the low-frequency text ratio on in-depth reading; S1023: Calculate the gaze influence coefficient ρ of the electronic document when reading according to the following formula: Among them, μ i represents the weight of the i-th text feature, a i represents the i-th text feature; Wherein, S113: analyzing the reader's reading mode according to the reading position of the first fixation point in the deep reading segment, wherein the reading mode includes text-oriented, question-oriented, and auxiliary-oriented; S114: when the reader opens a new electronic document, automatically jump to a corresponding area according to the reader's reading mode; Wherein, the S114 specifically includes: S1141: automatically jump to the main text area when the reader's reading mode is the main text oriented type; S1142: automatically jump to the problem area when the reader's reading mode is problem-oriented; S1143: When the reader's reading mode is auxiliary-oriented, automatically jump to the directory area.

2. The electronic document reading method based on deep reading recognition according to claim 1, It is characterized in that The S1022 specifically includes: By comparing the text difficulty, the text crowding degree, the text attributes and the low-frequency text ratio in pairs, combined with the nine-level scaling method, a discriminant matrix B is established: Among them, b ij Indicates the importance of the i-th text feature relative to the j-th text feature, b ij The value of can be determined by the nine-pole scaling method, n = 4; Calculate the eigenvectors and eigenvalues ​​of the discriminant matrix B: Bω=λω→(B-λI)ω Among them, λ represents the eigenvalue of the discriminant matrix B, ω represents the eigenvector of the discriminant matrix B, and the largest eigenvalue is recorded as λ max , and the corresponding eigenvector is ω max ,ω max =(ω 1 ,ω i ,...,ω n ); The feature vector is normalized: oh max =(ω 1 ',oh' 2 ,...,oh' n ) Among them, the normalized vector ω' max The components ω 1 ',ω' 2 ,...,ω' n Represent the weights of each text feature, which can be recorded as μ 1 , μ 2 ,…,μ n .

3. The electronic document reading method based on deep reading recognition according to claim 1, It is characterized in that The calculation method of the eye saccade direction e is: e=min(|e 0 |,|180th 0 |,|360-e 0 |) Among them, e 0 Indicates the absolute saccade direction.

4. The electronic document reading method based on deep reading recognition according to claim 1, It is characterized in that Also includes: S115: Counting the total time duration of the deep reading segment and the total time duration of the shallow reading segment that the reader reads the current electronic document; S116: Calculating the proportion of deep reading duration according to the total duration of the deep reading segments and the total duration of the shallow reading segments; S117: The electronic documents whose deep reading time accounts for more than a preset proportion are regarded as documents of interest; S118: Recommending a list of books to the reader based on the document of interest.

5. The electronic document reading method based on deep reading recognition according to claim 4, It is characterized in that The S118 specifically includes: S1181: Acquire a reader's interest record, wherein the reader's interest record includes a plurality of the interested documents; S1182: constructing a reader interest matrix F according to the reader interest records; Where F = [f ij ], i = 1, 2, ..., m, j = 1, 2, ..., n, m represents the number of readers, n represents the number of documents, f ij Indicates whether the i-th reader is interested in the j-th document. If so, f ij =1; otherwise, a ij =0; S1183: Calculate the reader association matrix G and the document association matrix P according to the reader interest matrix F; Where G = [g ij ], i = 1, 2, ..., m, j = 1, 2, ..., m, m represents the number of readers, g ij Indicates the number of documents that both the i-th reader and the j-th reader are interested in; Where P = [p ij ], i = 1, 2, ..., n, j = 1, 2, ..., n, n represents the number of documents, p ij Indicates the number of readers who are interested in both the i-th document and the j-th document; S1184: Calculate the reader similarity matrix H according to the reader association matrix G and the reader interest matrix F: H=[h ij ] Where i = 1, 2, ..., m, j = 1, 2, ..., m, k = 1, 2, ..., n, m represents the number of users, n represents the number of documents, h represents the number of users, and ij represents the similarity between the i-th reader and the j-th reader; S1185: Calculate the first recommendation index for recommending the j-th document to the target reader θ according to the reader similarity matrix H Where θ represents the target reader's ID, m represents the number of readers, and h θi represents the similarity between the target reader and the i-th reader, f ij Indicates whether the i-th reader is interested in the j-th document; S1186: Calculate the document similarity matrix Q based on the document association matrix P and the reader interest matrix F: Q=[q ij ] Where i = 1, 2, ..., n, j = 1, 2, ..., n, k = 1, 2, ..., m, m represents the number of users, n represents the number of documents, q ij Represents the similarity between the i-th document and the j-th document; S1187: Calculate the second recommendation index for recommending the j-th document to the target reader θ according to the document similarity matrix Q Where θ represents the number of the target reader, n represents the number of documents, and f θi Indicates whether the target reader is interested in the i-th document, q ij Represents the similarity between the i-th document and the j-th document; S1188: According to the first recommendation index And the second recommended index Calculate the joint recommendation index δ of the jth document j : Wherein, n represents the first recommendation index The weight coefficient of S1189: According to the joint recommendation index δ j Generate a list of recommended books.

6. An electronic document reading system based on deep reading recognition, It is characterized in that Used to execute the electronic document reading method based on deep reading recognition as described in any one of claims 1 to 5.

Citation Information

Cited By

  • An interactive reading document generation method and system based on optical character recognition

    CN122965445A