How to automatically download audio resource packages for point reading books

Through the automatic identification and download of the audio resource package of the Dot Reading Book, the problem that the Dot Reading Book cannot preinstall all resource packages is solved, which enables users to obtain and efficient storage, and improves user experience and operational efficiency, especially in noisy environments to optimize the audio playback effect.

CN120416238BActive Publication Date: 2025-09-02SHENZHEN NUFILO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510887673.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-09-02
Estimated Expiration
2045-06-30

AI Technical Summary

Technical Problem

In the prior art, the dot reading pen cannot pre-install all the dot reading audio resource packages for all books, resulting in users needing to upload files offline through manual customer service, which increases labor costs and is not convenient for computers to download without users, affecting user experience and product reputation.

Method used

The specific point reading code is automatically identified through the point reading pen, and the local resource package is retrieved online. If it is not retrieved, it will request download from the server. The server selects the optimal node according to the load situation and returns to the download link. The point reading pen downloads and optimizes the audio playback effect to ensure the automatic acquisition and efficient storage of the resource package.

Benefits of technology

It simplifies user operation processes, reduces manual customer service costs, improves user convenience and learning interest, improves operational efficiency and user experience, and ensures clear audio playback, especially in noisy environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120416238B_ABST
    Figure CN120416238B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for automatically downloading audio resource packages of books through point reading, which relates to the technical field of network communications. The method includes a point reading pen end and a server end. The point reading pen end activates a networking function, and a user reads a specific point reading code on a book through the point reading pen. The built-in program of the point reading pen searches the local storage to find the point reading audio resource package of the corresponding book; if the point reading audio resource package is not retrieved, the server end is requested to download the point reading audio resource package. The present invention automatically downloads the audio resource package of the point reading book through point reading, and the user no longer needs to contact tedious manual customer service or rely on computer USB downloads, which greatly simplifies the operation process. The point reading pen can automatically identify and download the required audio resources, allowing the user to easily obtain the required content at any time and any place, significantly improving the user's convenience of use and overall experience. For child users, this instant gratification learning mode can better stimulate their learning interest and enthusiasm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network communications, and in particular to a method for automatically downloading audio resource packages of point-read books. Background Art

[0002] With the rapid development of educational informatization and intelligent hardware technology, reading pens, as an innovative tool that combines traditional paper books with digital learning resources, have been widely used in the field of education, especially in early childhood education and language learning. Before children are able to recognize words, reading pens are widely used to help children acquire knowledge.

[0003] However, due to the large number of publishers and the sheer number of books, the audio resource package for each book can be as small as tens of MB or as large as over 1 GB. Due to limited storage capacity, it is impossible to pre-install all the audio resource packages for each book into the reading pen when it is produced.

[0004] In this case, the user can only contact manual customer service, who will confirm the user's book with the user and forward the book audio to the user by uploading the file offline. The user will then download it to the reading pen via a computer USB. This is handled by manual customer service, which greatly increases the labor cost. In addition, some ordinary families today do not have computers and cannot download book audio via USB. The existence of the above problems has seriously affected the experience and product reputation of the reading pen. Summary of the Invention

[0005] The present invention aims to provide a method for automatically downloading audio resource packages of point-read books to solve the problems raised in the above-mentioned background technology.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0007] The method for automatically downloading audio resource packages of point-reading books is applicable to network-enabled point-reading pens or other point-reading devices with point-reading functions. It involves downloading book resource packages to the local storage of the point-reading pen during network point-reading, including the point-reading pen end and the server end. The specific steps are as follows:

[0008] S1. The reading pen is connected to the internet. The user reads a specific reading code on a book with the reading pen. The built-in program of the reading pen searches the local storage to find the reading audio resource package of the corresponding book.

[0009] S2. If the reading audio resource package is not found, the reading pen uploads the specific reading code to the server and requests to download the reading audio resource package;

[0010] S3. The server searches for the corresponding book based on the specific point reading code and, based on the current server load, selects the optimal server node to return the download link for the audio resource package.

[0011] S4. The reading pen uses the download link returned by the server to download the reading audio resource package to local storage;

[0012] S5. Read the book again. The reading pen program retrieves and plays the corresponding audio in the corresponding audio resource package from the local storage, and optimizes the audio according to the environmental noise and sound quality requirements to adjust the audio playback effect and improve the user experience.

[0013] A further improvement of the technical solution of the present invention is that: S1 specifically includes:

[0014] On the reading pen side, when the user is ready to use the reading pen for reading, he turns on the reading pen and activates the network function of the reading pen to ensure that the reading pen can communicate with the outside world;

[0015] The user uses the reading pen to read the specific reading code on the book, and the reading pen responds quickly and starts searching the local storage for the reading audio resource package corresponding to the book that the user has clicked on.

[0016] During the local storage retrieval process, if the reading pen retrieves the corresponding reading audio resource package, it will immediately play the audio content for the user to listen to. By playing the reading audio, the user can better understand the content of the book.

[0017] A further improvement of the technical solution of the present invention is that: S2 specifically includes:

[0018] When the reading pen fails to retrieve the corresponding reading audio resource package in the local storage, the network request program is automatically started. The starting of the network request program is the trigger point of the automatic download function of the reading pen, which ensures that when the local storage lacks the required resources;

[0019] The reading pen encodes the recognized specific reading code to ensure the accuracy and integrity of the information and prevent data errors or loss during transmission. It then sends a request to the pre-configured server address through the established network connection, uploading the reading code. In the request, it clearly expresses the need to download the corresponding reading audio resource package to the server so that the server can accurately understand and respond.

[0020] The server receives the specific reading code and download request uploaded by the reading pen and immediately starts the resource retrieval program.

[0021] A further improvement of the technical solution of the present invention is that: S3 specifically includes:

[0022] After the server starts the resource retrieval program, it parses the received specific point reading code and download request, extracts the key point reading code information, and verifies the integrity and accuracy of the request to ensure that subsequent resource retrieval operations can be performed based on valid data;

[0023] After parsing and verifying the request, the server uses a search algorithm to search for the corresponding book and audio resource package in the resource database based on the parsed point reading code. At the same time, it monitors the operating status of each server node, including CPU usage, memory usage, and network bandwidth indicators, evaluates the load of each node, and determines the optimal server node based on the preset load balancing strategy, taking into account the node's geographical location, resource storage location, and network latency factors to ensure the efficiency and stability of the download link.

[0024] After determining the optimal server node, the download link of the audio resource package is obtained from the optimal server node, and the download link is encapsulated to ensure the security and validity of the link and prevent unauthorized access, and then the encapsulated download link is sent back to the reading pen through the network.

[0025] A further improvement of the technical solution of the present invention is that the process of determining the optimal server node is:

[0026] After the server completes request parsing and verification, it uses the parsed point-to-point code as a unique retrieval identifier and employs a hybrid algorithm of multi-level hash mapping and B+ trees to quickly locate the corresponding entry in the resource database, ensuring millisecond-level response times for tens of millions of resources. At the same time, it initiates a node status query command to synchronously obtain real-time operating data for all server nodes.

[0027] A three-level assessment is performed on the collected real-time node operation data. By analyzing CPU usage and memory occupancy, overloaded and underloaded nodes are marked. The real-time network bandwidth and packet loss rate from each node to the user's area are obtained. Combined with resource storage metadata, the distribution status of target resources on each node is confirmed and a comprehensive score for each node is calculated.

[0028] After the evaluation is completed, the comprehensive scores of each node are combined to rank the nodes, and the optimal node with the highest comprehensive score is selected from the candidate nodes. Priority is given to nodes with the same operator and region as the user and whose resources are locally cached.

[0029] If there are multiple nodes with the same score, they are sorted twice by historical response time, and the node with the shortest response time is selected as the optimal server node.

[0030] A further improvement of the technical solution of the present invention is that the expression of the comprehensive score of each node is:

[0031] Divide the node's CPU usage by the maximum CPU usage to calculate the normalized CPU usage value, which represents the ratio of the current CPU usage to the maximum value. Also divide the node's memory usage by the maximum memory usage to calculate the normalized memory usage value, which represents the ratio of the current memory usage to the maximum value.

[0032] The normalized values ​​of CPU usage and memory usage are squared and added together to obtain the sum of squares of the normalized terms. The square root of the sum of squares of the normalized terms is added to 1, and the reciprocal is taken to obtain the normalized term function.

[0033] The real-time network bandwidth from the node to the user's area is divided by the maximum value of the network bandwidth to calculate the normalized value of the network bandwidth, which represents the proportion of the current network bandwidth to the maximum value. The real-time packet loss rate from the node to the user's area is divided by the maximum value of the packet loss rate to calculate the normalized value of the packet loss rate, which represents the proportion of the current packet loss rate to the maximum value.

[0034] Add 1 to the normalized value of network bandwidth and subtract the normalized value of packet loss rate to obtain the network performance function;

[0035] The product of the normalized term function and the network performance term function is calculated to obtain the comprehensive score of each node, which is used to comprehensively evaluate the overall performance of the node.

[0036] A further improvement of the technical solution of the present invention is that: S4 specifically includes:

[0037] The reading pen receives the download link returned from the server and starts the parsing program to parse out the specific information of the download link, including the storage location and access path of the resource;

[0038] The reading pen establishes a network connection through the CDN acceleration domain name of the optimal server node based on the parsed download link information. The reading pen then starts the download process and begins downloading the audio resource package from the server node. During the download process, the reading pen monitors the download progress, network status, and data integrity in real time.

[0039] When the audio resource package for reading is downloaded, the reading pen performs an integrity check on the downloaded file to ensure that the resource package is not damaged during the transmission process. After the check is passed, the reading pen stores the resource package in the designated location of the local storage space, and classifies and names it according to the preset file management rules. After the storage is completed, the reading pen updates the local resource index and records the newly downloaded resource package information to ensure that the user can quickly retrieve and play the corresponding audio content the next time they read.

[0040] A further improvement of the technical solution of the present invention is that: S5 specifically includes:

[0041] When the user uses the reading pen to read a book again, the reading pen program first starts the local search program. By identifying the reading code on the book, it quickly locates the audio resource package corresponding to the specific reading code in the local storage. The search process is based on the preset file index and storage path, ensuring that the required audio file can be found efficiently and accurately, and that the reading pen can quickly respond to the user's reading operation.

[0042] After retrieving the corresponding audio resource package, the reading pen program starts the audio playback function and plays the audio content that matches the specific reading code;

[0043] During playback, the sensor built into the reading pen monitors the surrounding noise level and the current sound quality in real time. By analyzing the intensity and frequency distribution of the ambient noise, as well as the clarity and integrity of the audio signal, it calculates the environmental interference score and analyzes the degree of environmental interference. The reading pen then dynamically adjusts the audio playback parameters to ensure that the audio can be clearly conveyed to the user, ensuring that the user can get a good listening experience even in noisy environments.

[0044] Based on the real-time monitored environmental noise and sound quality data, the reading pen automatically starts the audio optimization program. The optimization program determines the parameter range and optimization direction that need to be adjusted based on the environmental interference score. By adjusting the audio volume, frequency response and dynamic range parameters, the audio is processed in real time to adapt to the current environmental conditions. The optimized audio is clearer and more natural, which can effectively reduce the interference of background noise and enhance the intelligibility of the voice. Finally, the reading pen outputs the optimized audio to the user, thereby significantly improving the user's auditory experience and ensuring the efficiency and comfort of the reading process.

[0045] A further improvement of the technical solution of the present invention is that the calculation process of the environmental interference score is:

[0046] dividing the current environmental noise level by the reference noise level to calculate a normalized value of the noise level, and dividing the frequency distribution of the current environmental noise by the reference frequency distribution to calculate a normalized value of the frequency distribution;

[0047] The normalized value of the noise level and the normalized value of the frequency distribution are squared, added together, and the square root is taken to obtain the noise-frequency interference function;

[0048] Dividing the clarity of the audio signal by the maximum clarity of the audio signal to calculate a normalized value of the clarity of the audio signal, and then subtracting the normalized value of the clarity of the audio signal from 1 to obtain an adjustment item for the clarity of the audio signal;

[0049] The integrity of the audio signal is divided by the integrity of the reference audio signal to calculate a normalized value of the audio signal integrity, and the normalized value of the audio signal integrity is added with 1 and then the natural logarithm is taken to obtain an audio signal interference function;

[0050] The noise-frequency interference function, the audio signal clarity adjustment item, and the audio signal interference function are multiplied together to obtain the final environmental interference score, which quantifies the degree of interference in the playback environment.

[0051] Due to the adoption of the above technical solution, the present invention has the following technical advancements compared to the prior art:

[0052] 1. The present invention provides a method for automatically downloading audio resource packages of point-reading books by point-reading. By automatically downloading audio resource packages of point-reading books by point-reading, users no longer need to contact tedious manual customer service or rely on computer USB downloads, which greatly simplifies the operation process. The reading pen can automatically identify and download the required audio resources, allowing users to easily obtain the required content at any time and any place, significantly improving the user's convenience and overall experience. For child users, this instant gratification learning mode can better stimulate their interest and enthusiasm in learning.

[0053] 2. The present invention provides a method for automatically downloading audio resource packages of books for point-to-read reading. By downloading audio resources through point-to-read reading, the intervention of manual customer service is effectively reduced, and the cost of manually processing user requests is reduced. In the traditional mode, users need to confirm the book through customer service and manually download the audio resources. This process is not only time-consuming and labor-intensive, but also increases the company's human costs. The introduction of the automatic download function enables the server to automatically process user requests and optimize resource allocation, significantly improving operational efficiency and reducing service costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments described in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0055] Figure 1 Schematic diagram of the method flow of the present invention;

[0056] Figure 2 Schematic diagram of the workflow of the present invention. DETAILED DESCRIPTION

[0057] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0058] Example 1, as Figure 1 As shown, the present invention provides a method for automatically downloading audio resource packages of point-reading books, including a point-reading pen end and a server end, and the specific steps are as follows:

[0059] S1. The reading pen turns on the networking function. The user uses the reading pen to read a specific reading code on a book. The built-in program of the reading pen searches the local storage to find the reading audio resource package for the corresponding book. When the user is ready to use the reading pen for reading, the reading pen turns on the reading pen and activates the networking function of the reading pen to ensure that the reading pen can communicate with the outside world. Only when the network is successfully connected can the reading pen download the required reading audio resource package from the server. The user uses the reading pen to read a specific reading code on a book. The reading pen responds quickly and starts searching its local storage for the reading audio resource package corresponding to the book the user has read. During the local storage retrieval process, if the reading pen retrieves the corresponding reading audio resource package, it immediately plays the audio content for the user to listen to. By playing the reading audio, the user can better understand the content of the book, especially before children can recognize text. This auxiliary function is particularly important;

[0060] S2. If the reading audio resource package is not retrieved, the reading pen uploads the specific reading code to the server and requests to download the reading audio resource package. When the reading pen fails to retrieve the corresponding reading audio resource package in the local storage, the network request program is automatically started. Starting the network request program is the trigger point for the automatic download function of the reading pen, which ensures that when the required resources are missing in the local storage, the reading pen can actively seek external resources. The reading pen encodes the identified specific reading code to ensure the accuracy and integrity of the information and prevent data errors or losses during transmission. It then sends a request to the pre-configured server address through the established network connection to upload the reading code. In the request, the server is clearly expressed the need to download the corresponding reading audio resource package so that the server can accurately understand and respond. The server receives the specific reading code and download request uploaded by the reading pen and immediately starts the resource retrieval program.

[0061] S3. The server searches for the corresponding book based on the specific point reading code, and selects the optimal server node to return the download link of the audio resource package based on the current server load. After the server starts the resource retrieval program, it parses the received specific point reading code and download request, extracts the key point reading code information, and verifies the integrity and accuracy of the request to ensure that subsequent resource retrieval operations can be based on valid data. After parsing and verifying the request, the server uses the retrieval algorithm to search for the corresponding book audio resource package in the resource database based on the parsed point reading code. At the same time, it monitors the operating status of each server node, including CPU usage and memory usage. and network bandwidth indicators, evaluate the load of each node, and determine the optimal server node based on the preset load balancing strategy, the geographical location of the node, the resource storage location, and the network delay factor to ensure the efficiency and stability of the download link. After determining the optimal server node, obtain the download link of the audio resource package from the optimal server node, and encapsulate the download link to ensure the security and effectiveness of the link and prevent unauthorized access. Then, send the encapsulated download link back to the reading pen through the network to ensure that the reading pen can receive the correct download address so that subsequent download operations can proceed smoothly, thereby achieving rapid acquisition and local storage of resources;

[0062] In addition, the process of determining the optimal server node is:

[0063] After the server completes the request parsing and verification, it uses the parsed dot reading code as the unique retrieval identifier and adopts a multi-level hash mapping and B+ tree hybrid algorithm to quickly locate the corresponding entry in the resource database, ensuring millisecond-level response in tens of millions of resources. At the same time, it initiates a node status query instruction to synchronously obtain the real-time operation data of all server nodes. Among them, in the resource retrieval dimension, the parsed dot reading code is used as the unique key to activate the hybrid index engine. The hybrid index engine adopts a multi-level hash mapping architecture at the bottom layer. Through pre-calculated hash values, resource entries are stored in three-level partitions according to subject classification, publishing house, and publication year. The upper layer is superimposed with a B+ tree dynamic balance structure to establish a tree-shaped accelerated index for frequently accessed popular resources. When the retrieval instruction is triggered, hash sharding positioning and B+ tree depth-first are executed synchronously. Traversal achieves an average of 23ms precise entry locking in a resource pool of tens of millions. A three-level evaluation is performed on the collected real-time operation data of the nodes. By analyzing the CPU usage and memory occupancy indicators, overloaded and underloaded nodes are marked, and the real-time network bandwidth and packet loss rate from each node to the user's area are obtained. Then, combined with the resource storage metadata, the distribution status of the target resources in each node is confirmed, and the comprehensive score of each node is calculated. After the evaluation is completed, the comprehensive score of each node is combined to perform scoring and sorting, and the optimal node with the highest comprehensive score is selected from the candidate nodes. Nodes with the same operator and region as the user and local resource cache are given priority. If there are multiple nodes with the same score, they are sorted again by historical response time, and the node with the shortest response time is selected as the optimal server node.

[0064] The expression of the comprehensive score of each node is:

[0065] Divide the CPU usage of the node by the maximum value of the CPU usage to calculate the normalized value of the CPU usage, which represents the proportion of the current CPU usage to the maximum value. Divide the memory usage of the node by the maximum value of the memory usage to calculate the normalized value of the memory usage, which represents the proportion of the current memory usage to the maximum value. Square the normalized value of the CPU usage and the normalized value of the memory usage respectively and add them together to obtain the sum of the squares of the normalized terms. Then add 1 to the sum of the squares of the normalized terms and take the square root. Then take the inverse to obtain the normalized term function, which is used to limit the influence of the CPU usage and memory usage to between 0 and 1 to reflect the negative impact of the node. Based on the load situation, the real-time network bandwidth from the node to the user's area is divided by the maximum value of the network bandwidth to calculate the normalized value of the network bandwidth, which represents the proportion of the current network bandwidth to the maximum value. The real-time packet loss rate from the node to the user's area is divided by the maximum value of the packet loss rate to calculate the normalized value of the packet loss rate, which represents the proportion of the current packet loss rate to the maximum value. The normalized value of the network bandwidth is added by 1, and then the normalized value of the packet loss rate is subtracted to obtain the network performance term function, which is used to reflect the impact of the node's network bandwidth and packet loss rate on the comprehensive score. The product of the normalized term function and the network performance term function is calculated to obtain the comprehensive score of each node, which is used to comprehensively evaluate the overall performance of the node.

[0066] The calculation expression of the comprehensive score of each node is:

[0067] ;

[0068] In the formula, S is the comprehensive score of each node, C CPU is the CPU usage of the node, is the maximum value of CPU usage, M is the memory usage of the node, is the maximum memory usage, K is the real-time network bandwidth from the node to the user’s area, is the maximum value of the network bandwidth, L is the real-time packet loss rate from the node to the user’s area, is the maximum value of the packet loss rate. When the CPU usage and memory usage of the node decrease, the network bandwidth increases, and the packet loss rate decreases, S will increase. Conversely, when the CPU usage and memory usage of the node increase, the network bandwidth decreases, and the packet loss rate increases, S will decrease.

[0069] S4. The reading pen uses the download link returned by the server to download the reading audio resource package to local storage;

[0070] S5. Read the book again. The reading pen program retrieves and plays the corresponding audio in the corresponding audio resource package from the local storage, and optimizes the audio according to the environmental noise and sound quality requirements to adjust the audio playback effect and improve the user experience.

[0071] Example 2, as Figure 1 As shown, based on Example 1, the present invention provides a technical solution: preferably, S4 specifically includes:

[0072] The reading pen receives the download link returned from the server and starts the parsing program to parse out the specific information of the download link, including the storage location and access path of the resource. The reading pen establishes a network connection through the CDN acceleration domain name of the optimal server node based on the parsed download link information. The reading pen starts the download program and begins to download the reading audio resource package from the server node. During the download process, the reading pen monitors the download progress, network status and data integrity in real time to ensure a smooth download process. If a network anomaly or data loss is detected, the reading pen automatically attempts to reconnect or resume the download. When the reading audio resource package is downloaded, the reading pen performs an integrity check on the downloaded file to ensure that the resource package is not damaged during transmission. After the check passes, the reading pen stores the resource package in a designated location in the local storage space, and classifies and names it according to the preset file management rules. After the storage is completed, the reading pen updates the local resource index and records the newly downloaded resource package information to ensure that the user can quickly retrieve and play the corresponding audio content the next time they read.

[0073] S5 specifically includes:

[0074] When the user uses the reading pen to read a book again, the reading pen program first starts the local retrieval program, and by identifying the reading code on the book, quickly locates the audio resource package corresponding to the specific reading code in the local storage. The retrieval process is based on the preset file index and storage path to ensure that the required audio file can be found efficiently and accurately, and that the reading pen can quickly respond to the user's reading operation. After retrieving the corresponding audio resource package, the reading pen program starts the audio playback function to play the audio content that matches the specific reading code. During the playback process, the built-in sensor of the reading pen monitors the noise level of the surrounding environment and the sound quality status of the current playback in real time. By analyzing the intensity and frequency distribution of the environmental noise, as well as the clarity and integrity of the audio signal, the environmental interference score is calculated, and the degree of environmental interference is analyzed. The reading pen dynamically adjusts the audio playback parameters to ensure that the audio can be clearly conveyed to the user, ensuring that the user can obtain even in a noisy environment. Good listening experience. Based on the real-time monitored environmental noise and sound quality data, the reading pen automatically starts the audio optimization program. The optimization program determines the parameter range and optimization direction that need to be adjusted based on the environmental interference score. By adjusting the audio volume, frequency response and dynamic range parameters, the audio is processed in real time to adapt to the current environmental conditions. The optimized audio is clearer and more natural, which can effectively reduce the interference of background noise and enhance the intelligibility of speech. Finally, the reading pen outputs the optimized audio to the user, thereby significantly improving the user's listening experience and ensuring the efficiency and comfort of the reading process. Among them, the volume adjustment is to gain or attenuate according to the intensity of the environmental noise to ensure that the audio can be clearly conveyed to the user. The frequency response adjustment is to filter the audio according to the frequency distribution of the environmental noise to reduce the interference of background noise. The dynamic range adjustment optimizes the high and low frequency balance of the audio, enhances the intelligibility of speech, and makes the audio more natural.

[0075] In addition, the calculation process of the environmental interference score is:

[0076] Divide the current ambient noise level by the reference noise level to calculate the normalized value of the noise level, which represents the ratio of the current noise level to the reference value. The reference noise level is a reference value set according to the actual application scenario. Divide the frequency distribution of the current ambient noise by the reference frequency distribution to calculate the normalized value of the frequency distribution, which represents the ratio of the current frequency distribution to the reference value. The reference frequency distribution is used to measure the intensity of the frequency distribution. The normalized value of the noise level and the normalized value of the frequency distribution are squared, added, and the square root is taken to obtain the noise-frequency interference function. The influence of the noise level and frequency distribution is normalized to a range of 0 to 1. The influence of the distribution on the environmental interference is comprehensively considered. The clarity of the audio signal is divided by the maximum value of the audio signal clarity to calculate the normalized value of the audio signal clarity, which represents the ratio of the current audio signal clarity to the maximum clarity. The maximum value of the clarity is a theoretical maximum clarity value, which is A preset reference value is used, and the normalized value of the audio signal clarity is subtracted from 1 to obtain an adjustment item for the audio signal clarity. The impact of the audio signal clarity is converted into an adjustment factor. When the clarity is higher, the adjustment factor is smaller, indicating less environmental interference. The audio signal integrity is divided by the reference audio signal integrity to calculate the normalized value of the audio signal integrity, which represents the ratio of the current audio signal integrity to the reference value. The reference integrity is the reference value used to measure the integrity of the audio signal. The normalized value of the audio signal integrity is added by 1 and the natural logarithm is taken to obtain the audio signal interference function. The change in audio signal integrity is converted into a logarithmic function. The logarithmic function grows more slowly and can better reflect the impact of integrity on environmental interference. The noise-frequency interference function, the audio signal clarity adjustment item, and the audio signal interference function are multiplied to obtain the final environmental interference score, which quantifies the degree of interference in the playback environment.

[0077] The calculation expression of environmental interference score is:

[0078] ;

[0079] Where E is the environmental interference score, N is the noise level of the surrounding environment, is the reference noise level, F is the frequency distribution of ambient noise, is the reference frequency distribution, C is the clarity of the audio signal, is the maximum value of audio signal clarity, D is the integrity of the audio signal, For reference, the audio signal integrity is evaluated. When all influencing factors are 0, E is the minimum value of 0. As N and F increase, E increases, indicating increased environmental interference. When C increases, E decreases, indicating improved audio signal quality and reduced environmental interference. When D increases, E increases, indicating decreased audio signal integrity and increased environmental interference.

[0080] Example 3, as Figure 2 As shown, based on Examples 1-2, the present invention provides an example as follows:

[0081] After the reading pen is connected to the Internet, read the book "The Crow and the Pitcher", the code value is 12345;

[0082] The reading pen program did not retrieve the reading audio resource package for this book in the local storage of the reading pen;

[0083] The reading pen uploads the reading code value 12345 to the server, requesting to download the reading audio resource package of this book;

[0084] The server retrieves the reading code value 12345 uploaded by the reading pen and finds the reading book "The Crow and the Pitcher" and returns the download link for the reading audio resource package of this book.

[0085] The reading pen uses the download link returned by the server to download the reading audio resource package to local storage;

[0086] The reading pen reads the story of "The Crow and the Pitcher" again, and the code value is 12345;

[0087] The reading pen program retrieves the reading audio resource package of the book "The Crow and the Pitcher" from the local storage and plays the audio corresponding to the code value of the resource package.

[0088] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for automatically downloading audio resource packages of point-read books, characterized in that: Including the reading pen and the server, the specific steps are as follows: S1. The reading pen is connected to the internet. The user reads a specific reading code on a book with the reading pen. The built-in program of the reading pen searches the local storage to find the reading audio resource package of the corresponding book. S2. If the audio resource package for reading the audio is not found, request the server to download the audio resource package for reading the audio; S3. The server searches for the specific point reading code and, based on the current server load, selects the optimal server node to return the download link for the audio resource package. After initiating the resource search program, the server parses the received specific point reading code and download request, extracts key point reading code information, and verifies the integrity and accuracy of the request. After parsing and verifying the request, the server uses a search algorithm to search for the corresponding book and audio resource package in the resource database based on the parsed point reading code. At the same time, it monitors the operating status of each server node, including CPU usage, memory usage, and network bandwidth indicators, evaluates the load of each node, and determines the optimal server node based on the preset load balancing strategy, taking into account the node's geographical location, resource storage location, and network latency factors. After determining the optimal server node, obtain the download link of the audio resource package from the optimal server node, encapsulate the download link, and then send the encapsulated download link back to the reading pen through the network; S4. The reading pen uses the returned download link to download the reading audio resource package to local storage; S5. Read the book again. The reading pen program retrieves and plays the corresponding audio from the local storage and optimizes the audio according to the ambient noise and sound quality requirements.

2. The method for automatically downloading audio resource packages of point-read books according to claim 1, characterized in that: Said S1 specifically includes: On the reading pen side, when the user is ready to use the reading pen for reading, he turns on the reading pen and activates the network function of the reading pen; The user uses the reading pen to read the specific reading code on the book, and the reading pen responds quickly and starts searching the local storage for the reading audio resource package corresponding to the book that the user has clicked on. During the local storage retrieval process, if the reading pen retrieves the corresponding reading audio resource package, it will immediately play the audio content for the user to listen to.

3. The method for automatically downloading audio resource packages of point-read books according to claim 1, characterized in that: The S2 specifically includes: When the reading pen fails to retrieve the corresponding reading audio resource package in the local storage, the network request program is automatically started; The reading pen encodes the recognized specific reading code and sends a request to the pre-configured server address through the established network connection to upload the reading code. In the request, it clearly expresses the need to download the corresponding reading audio resource package to the server. The server receives the specific reading code and download request uploaded by the reading pen and immediately starts the resource retrieval program.

4. The method for automatically downloading audio resource packages of point-read books according to claim 1, characterized in that: The process of determining the optimal server node is as follows: After the server completes the request parsing and verification, it uses the parsed point-reading code as a unique retrieval identifier and adopts a multi-level hash map and B+ tree hybrid algorithm to quickly locate the corresponding entry in the resource database. At the same time, it initiates a node status query command to synchronously obtain real-time operating data of all server nodes. A three-level assessment is performed on the collected real-time node operation data. By analyzing CPU usage and memory occupancy, overloaded and underloaded nodes are marked. The real-time network bandwidth and packet loss rate from each node to the user's area are obtained. Combined with resource storage metadata, the distribution status of target resources on each node is confirmed and a comprehensive score for each node is calculated. After the evaluation is completed, the comprehensive scores of each node are combined to rank the nodes, and the optimal node with the highest comprehensive score is selected from the candidate nodes. Priority is given to nodes with the same operator and region as the user and whose resources are locally cached. If there are multiple nodes with the same score, they are sorted twice by historical response time, and the node with the shortest response time is selected as the optimal server node.

5. The method for automatically downloading audio resource packages of point-read books according to claim 4 is characterized in that: The expression of the comprehensive score of each node is: Calculate the normalized value of CPU usage by dividing the CPU usage of the node by the maximum CPU usage, and calculate the normalized value of memory usage by dividing the memory usage of the node by the maximum memory usage; The normalized values ​​of CPU usage and memory usage are squared and added together to obtain the sum of squares of the normalized terms. The square root of the sum of squares of the normalized terms is added to 1, and the reciprocal is taken to obtain the normalized term function. The real-time network bandwidth from the node to the user's area is divided by the maximum value of the network bandwidth to calculate the normalized value of the network bandwidth. The real-time packet loss rate from the node to the user's area is divided by the maximum value of the packet loss rate to calculate the normalized value of the packet loss rate. Add 1 to the normalized value of network bandwidth and subtract the normalized value of packet loss rate to obtain the network performance function; The product of the normalized term function and the network performance term function is calculated to obtain the comprehensive score of each node.

6. The method for automatically downloading audio resource packages of point-read books according to claim 1, characterized in that: The S4 specifically includes: The reading pen receives the download link returned from the server and starts the parsing program to parse out the specific information of the download link, including the storage location and access path of the resource; The reading pen establishes a network connection through the CDN acceleration domain name of the optimal server node based on the parsed download link information. The reading pen then starts the download process and begins downloading the audio resource package from the server node. During the download process, the reading pen monitors the download progress, network status, and data integrity in real time. When the audio resource package is downloaded, the reading pen performs an integrity check on the downloaded file. After the check is passed, the reading pen stores the resource package in the designated location of the local storage space, and classifies and names it according to the preset file management rules. After the storage is completed, the reading pen updates the local resource index and records the information of the newly downloaded resource package.

7. The method for automatically downloading audio resource packages of point-read books according to claim 6, characterized in that: The S5 specifically includes: When the user uses the reading pen to read a book again, the reading pen program first starts the local search program. By identifying the reading code on the book, it quickly locates the audio resource package corresponding to the specific reading code in the local storage. The search process is based on the preset file index and storage path. After retrieving the corresponding audio resource package, the reading pen program starts the audio playback function and plays the audio content that matches the specific reading code; During playback, the built-in sensor of the reading pen monitors the ambient noise level and the current sound quality in real time. By analyzing the intensity and frequency distribution of the ambient noise, as well as the clarity and integrity of the audio signal, it calculates the environmental interference score and analyzes the degree of environmental interference. Based on the real-time monitored environmental noise and sound quality data, the reading pen automatically starts the audio optimization program. The optimization program determines the parameter range and optimization direction that need to be adjusted based on the environmental interference score. By adjusting the audio volume, frequency response and dynamic range parameters, the audio is processed in real time to adapt to the current environmental conditions. Finally, the reading pen outputs the optimized audio to the user.

8. The method for automatically downloading audio resource packages of point-read books according to claim 7, characterized in that: The calculation process of the environmental interference score is: dividing the current environmental noise level by the reference noise level to calculate a normalized value of the noise level, and dividing the frequency distribution of the current environmental noise by the reference frequency distribution to calculate a normalized value of the frequency distribution; The normalized value of the noise level and the normalized value of the frequency distribution are squared, added together, and the square root is taken to obtain the noise-frequency interference function; Dividing the clarity of the audio signal by the maximum clarity of the audio signal to calculate a normalized value of the clarity of the audio signal, and then subtracting the normalized value of the clarity of the audio signal from 1 to obtain an adjustment item for the clarity of the audio signal; The integrity of the audio signal is divided by the integrity of the reference audio signal to calculate a normalized value of the audio signal integrity, and the normalized value of the audio signal integrity is added with 1 and then the natural logarithm is taken to obtain an audio signal interference function; The noise-frequency interference function, the audio signal clarity adjustment term, and the audio signal interference function are multiplied together to obtain the final environmental interference score.

Citation Information

Patent Citations

  • Reading machine system

    CN102610128A

  • Touch reading method based on intelligent device and system

    CN105243885A