Page turning control method and system for electronic reader
By analyzing the page content and ambient light intensity, and dynamically adjusting the page-turning speed based on the click frequency, the problem of mismatched page-turning speeds in e-readers is solved, and stable and smooth reading is achieved under different lighting and user habits.
Patent Information
- Application Number
- CN202510954903.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-11
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2045-07-11
AI Technical Summary
Existing page turning control methods of electronic readers cannot dynamically adjust the page turning speed according to changes in ambient light and user reading habits, resulting in poor reading fluency and stability.
By analyzing the page content to extract keywords, combining the ambient light intensity and click frequency, dynamically adjusting the page turning speed, using the traversal page turning mode or model page turning mode, using historical data and the illumination page turning model to determine the page turning speed, and using natural language processing technology and combined ambient optical analysis, precise control of the page turning speed is achieved.
The page-turning accuracy and stability of the e-reader under different lighting conditions and user habits have been improved, ensuring smooth and stable reading.
Smart Images

Figure CN120447748B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a page turning control method and system for an electronic reader. Background Art
[0002] With the rapid development of information technology, e-readers, as portable, environmentally friendly devices that provide a vast amount of reading resources, have become popular among users. When using an e-reader, page turning is an important part of the interaction between the user and the device. Currently, the page turning control of e-readers usually uses a fixed page turning speed and cannot dynamically adjust the page turning speed according to changes in ambient light. Furthermore, different users have different reading habits and reading speeds. Some users read faster and click more frequently, while others read slower and click less frequently. Existing page turning controls for e-readers fail to fully consider these factors, resulting in a mismatch between the page turning speed and actual needs, which in turn affects the fluency and stability of reading.
[0003] Therefore, it is necessary to design a page turning control method and system for an electronic reader to solve the problems existing in the current technology. Summary of the Invention
[0004] In view of this, the present invention proposes a page turning control method and system for an electronic reader, aiming to solve the problem that the current page turning control of the electronic reader usually adopts a fixed page turning speed and cannot dynamically adjust the page turning speed according to the changes in ambient light. In addition, there are certain differences in the reading habits and reading speeds of different users, resulting in the page turning speed not matching the actual needs, thereby affecting the fluency and stability of reading.
[0005] In one aspect, the present invention provides a page turning control method for an electronic reader, comprising:
[0006] Obtaining the page content of the current page of the electronic reader, analyzing the page content, extracting keywords from the page content, and determining a page turning impact value based on a relationship between the number of keywords and the page content;
[0007] collecting ambient light intensity, determining a traversal page turning mode or a model page turning mode based on the ambient light intensity, determining a first page turning speed based on the page turning impact value and a historical data set when the traversal page turning mode is determined, and obtaining an ambient light data set when the model page turning mode is determined, and determining a second page turning speed based on the ambient light data set and a light page turning model;
[0008] obtaining a click frequency on the current page, determining whether to adjust the first page turning speed or the second page turning speed based on the click frequency, and when it is determined that the first page turning speed or the second page turning speed is to be adjusted, determining a page turning adjustment factor for the first page turning speed or the second page turning speed based on a rate of change of the click frequency;
[0009] The first page turning speed or the second page turning speed is adjusted according to the page turning adjustment factor, and page turning is completed according to the adjusted first page turning speed or the second page turning speed.
[0010] Furthermore, when obtaining the page content of the current page of the electronic reader, analyzing the page content, and extracting keywords from the page content, the following steps are included:
[0011] Analyze the page content based on NLP, perform word segmentation, remove stop words, and extract stems on the page content to determine the target page content, use dependency parsing to parse the relationship between words in the target page content, and extract noun phrases;
[0012] The noun phrase that conforms to the syntactic structure is used as a keyword of the target page content.
[0013] Furthermore, when determining the page turning impact value based on the relationship between the number of keywords and the page content, the method includes:
[0014] Counting the number of words in the target page content and counting the number of keyword words in all keywords;
[0015] The ratio of the number of keyword characters to the number of characters is determined as the fixed page turning impact value.
[0016] Furthermore, when determining the traversal page turning mode or the model page turning mode based on the ambient light intensity, the method includes:
[0017] determining an ambient light intensity threshold, and determining that the electronic reader is in the model page turning mode when the ambient light intensity is greater than the ambient light intensity threshold;
[0018] When the ambient light intensity is less than or equal to the ambient light intensity threshold, it is determined that the electronic reader is in the traversal page turning mode.
[0019] Furthermore, when the traversal page turning mode is determined, determining a first page turning speed according to the page turning impact value and the historical data set includes:
[0020] The historical data set includes a plurality of historical impact sets and a plurality of historical page turning speeds, and each historical impact set corresponds to a historical page turning speed, and the historical impact set includes a historical ambient light intensity and a historical page turning impact value;
[0021] Traversing the page turning impact value and the ambient light intensity in a historical data set, and determining the first page turning speed according to the traversal result;
[0022] When there is a historical impact set in the historical data set that has the same page turning impact value and ambient light intensity as the page turning impact value, the historical page turning speed corresponding to the historical impact set is used as the first page turning speed;
[0023] When there is no historical impact set in the historical data set that is identical to the page turning impact value and ambient light intensity, the historical data set, the page turning impact value and the ambient light intensity are used as the data set to be clustered, and a similar set corresponding to the page turning impact value and the ambient light intensity is determined based on the data set to be clustered and the clustering algorithm, and the average of the historical page turning speeds in the similar set is used as the first page turning speed.
[0024] Furthermore, when the model page turning mode is determined, obtaining an ambient light dataset, and determining a second page turning speed based on the ambient light dataset and the illumination page turning model include:
[0025] Dividing the ambient light dataset into a training set and a test set according to a sampling ratio, using grid search to find model parameters, establishing a decision tree model based on the model parameters, training the decision tree model using the training set, substituting the test set into the trained decision tree model and determining the accuracy of the model prediction;
[0026] When the accuracy rate is greater than the accuracy rate threshold, the trained decision tree model is determined as the illumination page-turning model, and the ambient light intensity and the page-turning impact value are substituted into the illumination page-turning model to determine the second page-turning speed; otherwise, the decision tree model is continued to be trained until the accuracy rate is greater than the accuracy rate threshold.
[0027] Furthermore, when determining whether to adjust the first page turning speed or the second page turning speed based on the click frequency, the method includes:
[0028] Get the click frequency per unit time and determine the historical average click frequency;
[0029] When the click frequency is greater than the historical click frequency average, determining whether to adjust the first page turning speed or the second page turning speed;
[0030] When the click frequency is less than or equal to the historical click frequency average, it is determined that the first page turning speed or the second page turning speed is not adjusted, and the page turning is completed at the first page turning speed or the second page turning speed.
[0031] Furthermore, when determining to adjust the first page turning speed or the second page turning speed, determining the page turning adjustment factor of the first page turning speed or the second page turning speed according to the click frequency change rate includes:
[0032] Obtaining a difference between the click frequency and an average of historical click frequencies, and determining a ratio of the difference to the average of historical click frequencies as an offset value;
[0033] Setting a first offset value and a second offset value, wherein the first offset value is greater than the second offset value;
[0034] When the offset value is greater than or equal to the first offset value, the first page turning adjustment factor is determined as the page turning adjustment factor of the first page turning speed or the second page turning speed;
[0035] When the offset value is smaller than the first offset value and larger than the second offset value, the second page turning adjustment factor is determined as the page turning adjustment factor of the first page turning speed or the second page turning speed;
[0036] When the offset value is less than or equal to the second offset value, the third page turning adjustment factor is determined as the page turning adjustment factor of the first page turning speed or the second page turning speed;
[0037] The first page turning adjustment factor is smaller than the second page turning adjustment factor, the second page turning adjustment factor is smaller than the third page turning adjustment factor, and the first page turning adjustment factor is greater than 0, and the third page turning adjustment factor is less than 1.
[0038] Furthermore, when adjusting the first page turning speed or the second page turning speed according to the page turning adjustment factor, the method includes:
[0039] The first page turning speed or the second page turning speed is in direct proportion to the page turning adjustment factor.
[0040] Compared with the prior art, the present invention has the following advantages: by extracting the number of keywords and combining them with the content structure relationship, it can identify the information density and reading complexity of a page, thereby generating a page turning impact value. This allows the electronic reader's page turning speed to be deeply coupled with the page content of the current page, ensuring the control accuracy of the electronic reader. The traversal page turning mode or model page turning mode determined according to the ambient light intensity effectively improves the electronic reader's page turning accuracy in different lighting scenarios. Under extreme lighting conditions such as strong light or weak light, the traversal page turning mode combines the page turning impact value with a historical data set to quickly respond based on statistical laws to determine a first page turning speed. The model page turning mode uses a historical ambient light data set and an illumination page turning model to determine a second page turning speed, allowing the electronic reader to maintain a stable page turning effect under different ambient light intensities. By obtaining the click frequency of the current page in real time and determining the click frequency change rate, the corresponding page turning adjustment factor is generated, achieving reliable and precise control of the electronic reader, allowing the electronic reader to be adjusted according to actual needs, thereby ensuring smooth and stable reading.
[0041] On the other hand, the present application also provides a page turning control system for an electronic reader, which is used to apply the above-mentioned page turning control method for an electronic reader, including:
[0042] a page turning acquisition unit configured to obtain the page content of the current page of the electronic reader, analyze the page content, extract keywords from the page content, and determine a page turning impact value based on a relationship between the number of keywords and the page content;
[0043] a first processing unit configured to collect ambient light intensity, determine a traversal page turning mode or a model page turning mode based on the ambient light intensity, determine a first page turning speed according to the page turning impact value and a historical data set when the traversal page turning mode is determined, and obtain an ambient light data set when the model page turning mode is determined, and determine a second page turning speed based on the ambient light data set and a light page turning model;
[0044] a second processing unit configured to obtain a click frequency on the current page, determine whether to adjust the first page turning speed or the second page turning speed based on the click frequency, and when it is determined that the first page turning speed or the second page turning speed is to be adjusted, determine a page turning adjustment factor for the first page turning speed or the second page turning speed based on a rate of change of the click frequency;
[0045] The page turning control unit is configured to adjust the first page turning speed or the second page turning speed according to the page turning adjustment factor, and complete the page turning according to the adjusted first page turning speed or the second page turning speed.
[0046] It is understandable that the above-mentioned page turning control method and system for an electronic reader have the same beneficial effects, and will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present invention. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:
[0048] Figure 1 A flow chart of a page turning control method for an electronic reader provided by an embodiment of the present invention;
[0049] Figure 2 This is a functional block diagram of a page turning control system for an electronic reader provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, unless there is a conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
[0051] In some embodiments of this application, see Figure 1 As shown, a page turning control method for an electronic reader includes:
[0052] S100: Obtaining the page content of the current page of the electronic reader, analyzing the page content, extracting keywords from the page content, and determining a page turning impact value based on the relationship between the number of keywords and the page content.
[0053] S200: Collect ambient light intensity, determine traversal page turning mode or model page turning mode based on the ambient light intensity, when it is determined to be traversal page turning mode, determine the first page turning speed according to the page turning impact value and the historical data set, when it is determined to be model page turning mode, obtain the ambient light data set, and determine the second page turning speed based on the ambient light data set and the illumination page turning model.
[0054] S300: Obtain the click frequency on the current page, and determine whether to adjust the first page turning speed or the second page turning speed based on the click frequency. When it is determined that the first page turning speed or the second page turning speed is to be adjusted, determine the page turning adjustment factor of the first page turning speed or the second page turning speed according to the click frequency change rate.
[0055] S400: adjusting the first page turning speed or the second page turning speed according to the page turning adjustment factor, and completing page turning according to the adjusted first page turning speed or the second page turning speed.
[0056] Specifically, the page flipping impact value is determined by analyzing the current page's content, extracting keywords, and counting their number. The information density and comprehension level of the page content directly influence the user's reading pace. For example, pages containing a large number of technical terms and complex concepts (high number of keywords) require longer to comprehend, while simple, accessible content (fewer keywords) has a lower page flipping impact value and is read more quickly. This quantitative analysis of content characteristics lays the foundation for subsequent intelligent adjustment of page flipping speed at the content level. Ambient light intensity is collected in real time, and this parameter is used to select between traversal and model-based page flipping modes. The traversal page flipping mode primarily relies on a historical dataset, analyzing ambient light data under past conditions to generate a first page flipping speed that suits the user's habits. The model-based page flipping mode, on the other hand, uses a light flipping model based on the ambient light dataset to determine a second page flipping speed that adapts to the environment's characteristics. The impact of ambient light is that the user's visual fatigue and reading concentration will vary under different lighting conditions. Strong light environments may cause increased visual fatigue, requiring a moderately slow page-turning speed to reduce eye strain. In low-light environments, the user's attention is easily distracted, requiring a steady page-turning rhythm to maintain reading continuity. Furthermore, the frequency of clicks on the current page is monitored in real time to determine the actual reading speed. A high click frequency indicates that the user prefers the current page, while a low click frequency indicates that the user dislikes the current page. By determining the rate of change in click frequency, a corresponding page-turning adjustment factor is generated, dynamically correcting the first or second page-turning speed determined based on the content and environment, ensuring that the e-reader can respond to the user's personalized reading needs in real time.
[0057] It is understandable that whether reading in strong light or low light, the page-turning speed that adapts to the environmental characteristics can be determined through historical data learning or models to reduce visual discomfort and reading interference caused by environmental changes, effectively improving the versatility and stability of e-readers in different usage scenarios. E-readers can actively adapt to content characteristics, environmental changes and user habits, thereby ensuring the smoothness and stability of reading.
[0058] In some embodiments of the present application, when obtaining the page content of the current page of the e-reader and analyzing the page content to extract the keywords of the page content, it includes: analyzing the page content based on NLP, performing word segmentation, removing stop words, and stemming extraction on the page content to determine the target page content, using dependency syntax analysis to parse the relationships between the words in the target page content, and extracting noun phrases, and taking the noun phrases that conform to the syntactic structure as the keywords of the target page content.
[0059] In some embodiments of the present application, when determining the page-turning influence value based on the relationship between the number of keywords and the page content, it includes: counting the number of words in the target page content, and counting the number of keyword words of all keywords, and determining the ratio of the number of keyword words to the number of words as the page-turning influence value.
[0060] Specifically, the page content of the current page is analyzed through natural language processing technology, and the target page content is determined by three steps of word segmentation, removing stop words, and stemming extraction on the page content. Word segmentation: The continuous content in the page content is segmented into independent words or phrases for convenient subsequent processing. Removing stop words: Removing common words (such as "is", "in", etc.) that do not affect the actual semantics in the page content to improve the reliability of the analysis. Stemming extraction: Reducing the semantic redundancy of the page content by reducing words to their root forms (such as "lovely" and "loveliness" unified as "lovely"), ensuring the stability and reliability of the target page content. Dependency syntax analysis is used to parse the grammatical and semantic relationships between the words in the target page content, and noun phrases are extracted from the target page content. Dependency syntax analysis can accurately identify noun phrases (such as "case clues", "evidence chain"), and these phrases reflect the theme of the target page content and are important bases for keyword extraction. Through NLP technology and dependency syntax analysis, the accurate extraction and recognition of keywords are achieved. The keyword extraction is based on the syntactic structure, ensuring the semantic value of the extracted target page content.
[0061] It can be understood that the number of words in the target page content is counted, and the number of keyword words of all keywords is counted. For example, if the keywords are "case clues", "evidence chain", and "eyewitness", the number of keyword words is represented as eleven. The ratio of the number of keyword words to the number of words is determined as the page-turning influence value. The larger the page-turning influence value, the closer the content of the target page content is to the main theme of the e-book, indicating that the target page content is more important and a specific page-turning speed needs to be adopted to ensure the stability and reliability of its reading.
[0062] In some embodiments of the present application, when determining the traversal page turning mode or the model page turning mode based on the ambient light intensity, it includes: determining the ambient light intensity threshold, when the ambient light intensity is greater than the ambient light intensity threshold, determining that the electronic reader is in the model page turning mode, when the ambient light intensity is less than or equal to the ambient light intensity threshold, determining that the electronic reader is in the traversal page turning mode.
[0063] Specifically, the ambient light intensity threshold, used as data to distinguish between the two page-turning modes, essentially reflects the differences in reading requirements under different lighting conditions. When the ambient light intensity is higher than the threshold (such as in strong outdoor light and high-brightness lighting scenarios), the dynamic fluctuations in light are large, and high-brightness environments can easily lead to increased visual fatigue, making data processing more complex. In this case, the model page-turning mode is triggered, and the illumination page-turning model is used to determine the page-turning speed adapted to the current lighting characteristics in real time. When the ambient light intensity is lower than or equal to the threshold (such as in low-light indoor and nighttime reading scenarios), the lighting conditions are relatively stable, and data processing is relatively simple. The traversal page-turning mode is triggered, and the page-turning speed is determined by analyzing historical data sets. This avoids complex and multi-dimensional data analysis while quickly determining the corresponding page-turning speed. While ensuring decision accuracy, it reduces computational complexity and further enhances the smoothness and stability of the reading process.
[0064] In some embodiments of the present application, when it is determined to be a traversal page turning mode, the first page turning speed is determined according to the page turning impact value and the historical data set, including: the historical data set includes several historical impact sets and several historical page turning speeds, and each historical impact set corresponds to a historical page turning speed, the historical impact set includes historical ambient light intensity and historical page turning impact value, the page turning impact value and ambient light intensity are traversed in the historical data set, and the first page turning speed is determined according to the traversal result, when there is a historical impact set with the same page turning impact value and ambient light intensity in the historical data set, the historical page turning speed corresponding to the historical impact set is used as the first page turning speed, when there is no historical impact set with the same page turning impact value and ambient light intensity in the historical data set, the historical data set, the page turning impact value and ambient light intensity are used as the data set to be clustered, and based on the data set to be clustered and the clustering algorithm, a similar set corresponding to the page turning impact value and ambient light intensity is determined, and the average of the historical page turning speeds in the similar set is used as the first page turning speed.
[0065] Specifically, by determining the degree of match between current conditions (page turning impact value and ambient light intensity) and historical conditions, when a matching historical impact set is found, the historical impact set can be directly used to determine the first page turning speed, thus ensuring control reliability and consistency. If the current conditions do not match the historical conditions, the historical dataset, page turning impact value, and ambient light intensity are used as the dataset to be clustered. Based on the dataset to be clustered and the clustering algorithm, a similar set corresponding to the page turning impact value and ambient light intensity is determined. Here, a clustering method is used as an example: the historical page turning speeds corresponding to each historical impact set in the dataset to be clustered are extracted, the expected number of clusters k is determined to be 2, and the parameters of the Gaussian distribution are initialized. The probability of each data point in the dataset to be clustered belonging to each Gaussian distribution is calculated to obtain a responsibility value. Based on the responsibility value, a similar set corresponding to the page turning impact value and ambient light intensity is obtained, and the mean of the historical page turning speeds in the similar set is used as the first page turning speed. By analyzing historical data sets through clustering algorithms, the closest similar set to the current conditions is found, which improves the accuracy of determining the first page turning speed. Through data-driven determination, the automation level and accuracy of electronic reader control are improved.
[0066] In some embodiments of the present application, when a model page turning mode is determined, an ambient light data set is obtained, and the second page turning speed is determined based on the ambient light data set and the lighting page turning model, including: dividing the ambient light data set into a training set and a test set according to a sampling ratio, using grid search to find model parameters, establishing a decision tree model based on the model parameters, using the training set to train the decision tree model, and substituting the test set into the trained decision tree model and determining the accuracy of the model prediction; when the accuracy is greater than the accuracy threshold, the trained decision tree model is determined as the lighting page turning model, and the ambient light intensity and the page turning impact value are substituted into the lighting page turning model to determine the second page turning speed; otherwise, continue to train the decision tree model until the accuracy is greater than the accuracy threshold.
[0067] Specifically, the ambient light dataset records data such as the ambient light intensity, page turning impact, and page turning speed of the e-reader at different times. The dataset is divided into training and test sets, typically with a sampling ratio of 4:1, to ensure that both contain diverse data, thereby improving the model's generalization ability. A grid search is used to build a decision tree model by exhaustively searching the parameter space for model parameters (such as the learning rate). The decision tree model is trained using the training set. By integrating multiple decision trees and averaging their predictions, the decision tree model reduces the risk of overfitting and improves model accuracy and stability. The test set is then fed into the trained decision tree model to determine its accuracy. Accuracy reflects the model's performance on unknown data and is an important metric for evaluating model performance. When the accuracy rate exceeds the accuracy threshold, the model is deemed to be able to stably output the global optimal solution. The trained decision tree model is then designated as the illumination page-turning model. This model is able to capture connections and underlying data patterns. By substituting ambient light intensity and page-turning influence values into the illumination page-turning model, it outputs a second page-turning speed, ensuring reliable control of the e-reader and, consequently, smooth and stable reading. If the accuracy rate is not greater than the accuracy threshold, the decision tree model is trained again until the accuracy rate exceeds the threshold, guaranteeing the model's reliability and accuracy.
[0068] In some embodiments of the present application, when determining whether to adjust the first page turning speed or the second page turning speed based on the click frequency, it includes: obtaining the click frequency per unit time and determining the historical click frequency average; when the click frequency is greater than the historical click frequency average, it is determined that the first page turning speed or the second page turning speed is adjusted; when the click frequency is less than or equal to the historical click frequency average, it is determined that the first page turning speed or the second page turning speed is not adjusted, and the page turning is completed at the first page turning speed or the second page turning speed.
[0069] In some embodiments of the present application, when it is determined that the first page turning speed or the second page turning speed is adjusted, the page turning adjustment factor of the first page turning speed or the second page turning speed is determined according to the click frequency change rate, including: obtaining the difference between the click frequency and the historical click frequency average, and determining the ratio of the difference to the historical click frequency average as the offset value, setting the first offset value and the second offset value, the first offset value is greater than the second offset value, when the offset value is greater than or equal to the first offset value, the first page turning adjustment factor is determined as the page turning adjustment factor of the first page turning speed or the second page turning speed, when the offset value is less than the first offset value and greater than the second offset value, the second page turning adjustment factor is determined as the page turning adjustment factor of the first page turning speed or the second page turning speed, when the offset value is less than or equal to the second offset value, the third page turning adjustment factor is determined as the page turning adjustment factor of the first page turning speed or the second page turning speed, the first page turning adjustment factor is less than the second page turning adjustment factor, the second page turning adjustment factor is less than the third page turning adjustment factor, and the first page turning adjustment factor is greater than 0 and the third page turning adjustment factor is less than 1.
[0070] Specifically, by establishing the average value of historical click frequencies as a benchmark reference value, an objective evaluation of the current click frequency is achieved, ensuring the stability of the adjustment of the first page turning speed or the second page turning speed. When the click frequency is greater than the average value of historical click frequencies, it is determined that the first page turning speed or the second page turning speed is adjusted. When the click frequency is greater than the average value of historical click frequencies, it indicates that the user has a high degree of liking for the page content of the current page, and the first page turning speed or the second page turning speed needs to be adjusted. When the click frequency is less than or equal to the average value of historical click frequencies, it indicates that the user has a low degree of liking for the page content of the current page, and it is determined that the first page turning speed or the second page turning speed is not adjusted, and the page turning can be completed directly with the first page turning speed or the second page turning speed. The offset value is used as the basis for adjustment, and three levels of intervals are set to correspond to different adjustment intensities, thereby forming a progressive adjustment response mechanism. When the offset value is greater than or equal to the first offset value, it indicates that the click frequency has been If it is much greater than the average of historical click frequencies and the preference level is high, the first page-turning speed or the second page-turning speed will be slowed down, and a smaller first page-turning adjustment factor will be used as the page-turning adjustment factor. When the offset value is less than the first offset value and greater than the second offset value, it indicates that the click frequency is relatively greater than the average of historical click frequencies, and a medium second page-turning adjustment factor will be used as the page-turning adjustment factor. When the offset value is less than or equal to the second offset value, it indicates that the click frequency is close to the average of historical click frequencies, and a relatively larger third page-turning adjustment factor will be used as the page-turning adjustment factor. The hierarchical control method can not only adjust the first page-turning speed or the second page-turning speed in a timely manner, but also avoid the adjustment risk caused by over-adjustment, thereby ensuring the reliability of the control of the e-reader and thus ensuring the fluency and stability of reading.
[0071] In some embodiments of the present application, when the first page turning speed or the second page turning speed is adjusted according to the page turning adjustment factor, it includes: the first page turning speed or the second page turning speed is proportional to the page turning adjustment factor.
[0072] Specifically, the first page turning speed or the second page turning speed is adjusted according to the page turning adjustment factor. Assuming that the first page turning speed or the second page turning speed is V and the page turning adjustment factor is K, the adjusted first page turning speed or the second page turning speed is determined to be V*K. By adjusting the first page turning speed or the second page turning speed by the page turning adjustment factor, the reliability of precise control of the e-reader is achieved, so that the e-reader can be adjusted according to actual needs, thereby ensuring the fluency and stability of reading.
[0073] In summary, the present invention has the following beneficial effects: by extracting the number of keywords and combining them with the content structure relationship, it is possible to identify the information density and reading complexity of a page, thereby generating a page turning influence value, so that the page turning speed of the electronic reader can be deeply coupled with the page content of the current page, ensuring the control accuracy of the electronic reader. The traversal page turning mode or model page turning mode determined according to the ambient light intensity effectively improves the page turning accuracy of the electronic reader in different lighting scenarios. Under extreme lighting conditions such as strong light or weak light, the traversal page turning mode combines the page turning influence value with the historical data set to determine the first page turning speed based on the rapid response of statistical laws. The model page turning mode uses the historical ambient light data set and the illumination page turning model to determine the second page turning speed, so that the electronic reader can maintain a stable page turning effect under different ambient light intensities. By obtaining the click frequency of the current page in real time and determining the click frequency change rate, the corresponding page turning adjustment factor is generated, achieving the reliability of precise control of the electronic reader, allowing the electronic reader to adjust according to actual needs, thereby ensuring the smoothness and stability of reading.
[0074] In another preferred embodiment based on the above embodiment, refer to Figure 2 As shown, this embodiment provides a page turning control system for an electronic reader, which is used to apply the above-mentioned page turning control method for an electronic reader, including:
[0075] The page turning acquisition unit is configured to obtain the page content of the current page of the electronic reader, analyze the page content, extract keywords from the page content, and determine the page turning impact value based on the relationship between the number of keywords and the page content.
[0076] The first processing unit is configured to collect ambient light intensity, determine a traversal page turning mode or a model page turning mode based on the ambient light intensity, and when it is determined to be the traversal page turning mode, determine a first page turning speed according to the page turning impact value and the historical data set; when it is determined to be the model page turning mode, obtain the ambient light data set, and determine the second page turning speed based on the ambient light data set and the lighting page turning model.
[0077] The second processing unit is configured to obtain the click frequency on the current page, determine whether to adjust the first page turning speed or the second page turning speed based on the click frequency, and when it is determined that the first page turning speed or the second page turning speed is adjusted, determine the page turning adjustment factor of the first page turning speed or the second page turning speed according to the change rate of the click frequency.
[0078] The page turning control unit is configured to adjust the first page turning speed or the second page turning speed according to the page turning adjustment factor, and complete the page turning according to the adjusted first page turning speed or the second page turning speed.
[0079] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0080] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0081] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0082] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.
[0083] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered by the scope of protection of the claims of the present invention.
Claims
1. A page turning control method for an electronic reader, characterized in that: include: Obtaining the page content of the current page of the electronic reader, analyzing the page content, extracting keywords from the page content, and determining a page turning impact value based on a relationship between the number of keywords and the page content; collecting ambient light intensity, determining a traversal page turning mode or a model page turning mode based on the ambient light intensity, determining a first page turning speed based on the page turning impact value and a historical data set when the traversal page turning mode is determined, and obtaining an ambient light data set when the model page turning mode is determined, and determining a second page turning speed based on the ambient light data set and a light page turning model; obtaining a click frequency on the current page, determining whether to adjust the first page turning speed or the second page turning speed based on the click frequency, and when it is determined that the first page turning speed or the second page turning speed is to be adjusted, determining a page turning adjustment factor for the first page turning speed or the second page turning speed based on a rate of change of the click frequency; The first page turning speed or the second page turning speed is adjusted according to the page turning adjustment factor, and page turning is completed according to the adjusted first page turning speed or the second page turning speed.
2. The page turning control method for an electronic reader according to claim 1, characterized in that: When obtaining the page content of the current page of the electronic reader, analyzing the page content, and extracting keywords from the page content, the method includes: Analyze the page content based on NLP, perform word segmentation, remove stop words, and extract stems on the page content to determine the target page content, use dependency parsing to parse the relationship between words in the target page content, and extract noun phrases; The noun phrase that conforms to the syntactic structure is used as a keyword of the target page content.
3. The page turning control method for an electronic reader according to claim 2, characterized in that: When determining the page turning impact value based on the relationship between the number of keywords and the page content, it includes: Counting the number of words in the target page content and counting the number of keyword words in all keywords; The ratio of the number of keyword characters to the number of characters is determined as the fixed page turning impact value.
4. The page turning control method for an electronic reader according to claim 3, characterized in that: When determining the traversal page turning mode or the model page turning mode based on the ambient light intensity, the method includes: determining an ambient light intensity threshold, and determining that the electronic reader is in the model page turning mode when the ambient light intensity is greater than the ambient light intensity threshold; When the ambient light intensity is less than or equal to the ambient light intensity threshold, it is determined that the electronic reader is in the traversal page turning mode.
5. The page turning control method for an electronic reader according to claim 4, characterized in that: When the traversal page turning mode is determined, determining a first page turning speed according to the page turning impact value and the historical data set includes: The historical data set includes a plurality of historical impact sets and a plurality of historical page turning speeds, and each historical impact set corresponds to a historical page turning speed, and the historical impact set includes a historical ambient light intensity and a historical page turning impact value; Traversing the page turning impact value and the ambient light intensity in a historical data set, and determining the first page turning speed according to the traversal result; When there is a historical impact set in the historical data set that has the same page turning impact value and ambient light intensity as the page turning impact value, the historical page turning speed corresponding to the historical impact set is used as the first page turning speed; When there is no historical impact set in the historical data set that is identical to the page turning impact value and ambient light intensity, the historical data set, the page turning impact value and the ambient light intensity are used as the data set to be clustered, and a similar set corresponding to the page turning impact value and the ambient light intensity is determined based on the data set to be clustered and the clustering algorithm, and the average of the historical page turning speeds in the similar set is used as the first page turning speed.
6. The page turning control method for an electronic reader according to claim 5, characterized in that: When the model page turning mode is determined, obtaining an ambient light dataset, and determining a second page turning speed based on the ambient light dataset and the illumination page turning model include: Dividing the ambient light dataset into a training set and a test set according to a sampling ratio, using grid search to find model parameters, establishing a decision tree model based on the model parameters, training the decision tree model using the training set, substituting the test set into the trained decision tree model and determining the accuracy of the model prediction; When the accuracy rate is greater than the accuracy rate threshold, the trained decision tree model is determined as the illumination page-turning model, and the ambient light intensity and the page-turning impact value are substituted into the illumination page-turning model to determine the second page-turning speed; otherwise, the decision tree model is continued to be trained until the accuracy rate is greater than the accuracy rate threshold.
7. The page turning control method for an electronic reader according to claim 6, characterized in that: When determining whether to adjust the first page turning speed or the second page turning speed based on the click frequency, the method includes: Get the click frequency per unit time and determine the historical average click frequency; When the click frequency is greater than the historical click frequency average, determining whether to adjust the first page turning speed or the second page turning speed; When the click frequency is less than or equal to the historical click frequency average, it is determined that the first page turning speed or the second page turning speed is not adjusted, and the page turning is completed at the first page turning speed or the second page turning speed.
8. The page turning control method for an electronic reader according to claim 7, characterized in that: When determining to adjust the first page turning speed or the second page turning speed, determining the page turning adjustment factor of the first page turning speed or the second page turning speed according to the click frequency change rate includes: Obtaining a difference between the click frequency and an average of historical click frequencies, and determining a ratio of the difference to the average of historical click frequencies as an offset value; Setting a first offset value and a second offset value, wherein the first offset value is greater than the second offset value; When the offset value is greater than or equal to the first offset value, the first page turning adjustment factor is determined as the page turning adjustment factor of the first page turning speed or the second page turning speed; When the offset value is smaller than the first offset value and larger than the second offset value, the second page turning adjustment factor is determined as the page turning adjustment factor of the first page turning speed or the second page turning speed; When the offset value is less than or equal to the second offset value, the third page turning adjustment factor is determined as the page turning adjustment factor of the first page turning speed or the second page turning speed; The first page turning adjustment factor is smaller than the second page turning adjustment factor, the second page turning adjustment factor is smaller than the third page turning adjustment factor, and the first page turning adjustment factor is greater than 0, and the third page turning adjustment factor is less than 1.
9. The page turning control method for an electronic reader according to claim 8, characterized in that: When adjusting the first page turning speed or the second page turning speed according to the page turning adjustment factor, the method includes: The first page turning speed or the second page turning speed is in direct proportion to the page turning adjustment factor.
10. A page turning control system for an electronic reader, adapted to apply the page turning control method for an electronic reader according to any one of claims 1 to 9, characterized in that: include: a page turning acquisition unit configured to obtain the page content of the current page of the electronic reader, analyze the page content, extract keywords from the page content, and determine a page turning impact value based on a relationship between the number of keywords and the page content; a first processing unit configured to collect ambient light intensity, determine a traversal page turning mode or a model page turning mode based on the ambient light intensity, determine a first page turning speed according to the page turning impact value and a historical data set when the traversal page turning mode is determined, and obtain an ambient light data set when the model page turning mode is determined, and determine a second page turning speed based on the ambient light data set and a light page turning model; a second processing unit configured to obtain a click frequency on the current page, determine whether to adjust the first page turning speed or the second page turning speed based on the click frequency, and when it is determined that the first page turning speed or the second page turning speed is to be adjusted, determine a page turning adjustment factor for the first page turning speed or the second page turning speed based on a rate of change of the click frequency; The page turning control unit is configured to adjust the first page turning speed or the second page turning speed according to the page turning adjustment factor, and complete the page turning according to the adjusted first page turning speed or the second page turning speed.
Citation Information
Patent Citations
Electronic book management method and system
CN120256629A
Automatic ebook page turning system
US20230236711A1