Prompt tone generation method and apparatus for educational interactive flat panel

By sensing the connection status between the electronic pen and the educational all-in-one machine in real time, acquiring digital audio signals and converting them into analog sine wave signals to generate connection prompt tones, the problem of the educational all-in-one machine being unable to play the electronic pen connection prompt tones has been solved, thus improving the user experience.

WO2026237391A1PCT designated stage Publication Date: 2026-11-19GUANGZHOU LANGO ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/146417
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-16
Filing Date
2025-12-29
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

Existing educational all-in-one machines lack media playback functionality, which prevents the electronic pen from emitting a notification sound when connected, thus affecting the user experience.

Method used

By sensing the connection status between the electronic pen and the educational all-in-one machine in real time, the system acquires digital audio signals and converts them into analog sine wave signals to generate connection prompt tones. The system then uses the display's main control chip and power amplifier chip to drive the speaker to play the prompt tones.

Benefits of technology

It improves the efficiency and accuracy of generating prompt sounds when the electronic pen is connected to the educational all-in-one machine, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025146417_19112026_PF_FP_ABST
    Figure CN2025146417_19112026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present invention are a prompt tone generation method and apparatus for an educational interactive flat panel, applicable to an educational interactive flat panel comprising a display main control chip. The method comprises: sensing a connection state between an electronic pen and the educational interactive flat panel in real time; when it is detected that the electronic pen is connected to the educational interactive flat panel, acquiring a digital audio signal transmitted by the educational interactive flat panel; converting the digital audio signal into an analog voltage waveform to obtain a sine wave signal; and on the basis of the sine wave signal, generating a connection prompt tone when the electronic pen is connected to the educational interactive flat panel. Thus, a prompt is provided for the connection of the electronic pen, thereby improving the use experience of a user.
Need to check novelty before this filing date? Find Prior Art

Description

A method and apparatus for generating prompt sounds for an educational all-in-one machine. Technical Field

[0001] This invention relates to the field of educational interactive whiteboards, and in particular to a method and apparatus for generating prompt sounds for educational interactive whiteboards. Background Technology

[0002] With the development of technology, educational informatization has become an important process for the education field to comprehensively and deeply utilize modern information technology to promote educational reform and development. As teaching models gradually transition from manual blackboard writing to the era of networked and intelligent education, all-in-one educational machines that integrate multiple educational devices into a single management system for centralized management have emerged.

[0003] Most existing educational all-in-one machines employ intelligent interaction, such as smart touchscreens or electronic pens for operations like editing, annotating, and saving documents on the display screen. However, when using an electronic pen to operate an all-in-one machine, because these machines, which use display control chips (such as Monitor chips or MNT Scaler chips), lack media playback functionality, they fail to emit a notification sound when the electronic pen is connected. This prevents users from knowing whether the electronic pen is connected, thus impacting the user experience. Summary of the Invention

[0004] To address the aforementioned technical problems, this invention discloses a method and apparatus for generating prompt sounds for educational all-in-one machines, applicable to educational all-in-one machines containing a display main control chip, to provide prompts for electronic pen connection and improve the user experience.

[0005] To achieve the above objectives, this invention discloses a method for generating prompt sounds for an educational all-in-one machine, applicable to educational all-in-one machines containing a display main control chip, the method comprising:

[0006] Real-time sensing of the connection status between the electronic pen and the educational all-in-one machine;

[0007] When the electronic pen is detected to be connected to the educational all-in-one machine, the digital audio signal transmitted by the educational all-in-one machine is acquired;

[0008] The digital audio signal is converted into an analog voltage waveform to obtain a sine wave signal;

[0009] The connection prompt tone is generated based on the sine wave signal when the electronic pen is connected to the educational all-in-one machine.

[0010] This invention discloses a method for generating prompt sounds for an educational all-in-one machine. First, it improves the efficiency of prompt sound generation by real-time sensing of the connection status between an electronic pen and the all-in-one machine, promptly notifying the user that the pen is connected. Second, upon detecting that the electronic pen is connected to the all-in-one machine, it acquires the digital audio signal transmitted by the machine and converts it into an analog sine wave signal. A prompt sound with a specific frequency is then generated based on this sine wave signal to complete the connection notification between the electronic pen and the all-in-one machine, thereby enhancing the user's experience.

[0011] As a preferred example, the connection status between the real-time sensing electronic pen and the educational all-in-one machine includes:

[0012] The voltage level of the general-purpose input / output interface used to detect the connection of the electronic pen in the educational all-in-one machine is polled in real time.

[0013] The connection status between the electronic pen and the educational all-in-one machine is obtained based on the change in the voltage level.

[0014] In the above scheme, in order to monitor the connection of the electronic pen in a timely manner, the level changes of the general input / output interface used to detect the connection of the electronic pen in the educational all-in-one machine are polled in real time. The connection status between the electronic pen and the educational all-in-one machine is identified according to the changes, thereby improving the efficiency and accuracy of connection identification, and thus improving the efficiency and accuracy of prompt tone generation.

[0015] As a preferred example, the step of acquiring the digital audio signal transmitted by the educational all-in-one machine when it is detected that the electronic pen is connected to the educational all-in-one machine includes:

[0016] When a change in the voltage level is detected, it is determined that the electronic pen is connected to the educational all-in-one machine;

[0017] The educational all-in-one machine is controlled to call trigonometric functions and the sine function of a sine wave through a mathematical function library, so as to control the educational all-in-one machine to generate waveform sampling points according to the trigonometric functions and the sine function;

[0018] Based on the preset synchronization clock and the waveform sampling points, the PCM format digital audio signal transmitted by the educational all-in-one machine is obtained.

[0019] In the above solution, since the educational all-in-one machine does not have the ability to play audio channels, in order to generate prompt sounds, the educational all-in-one machine is first controlled to call preset trigonometric functions and the sine function of a sine wave to generate a PCM format digital audio signal that can play prompt sounds based on the sine function and the trigonometric function. Then, the prompt sounds are played based on the digital audio signal, thereby improving the user experience.

[0020] As a preferred example, the step of converting the digital audio signal into an analog voltage waveform to obtain a sine wave signal includes:

[0021] The PCM format digital audio signal is converted into an analog voltage waveform to obtain an analog signal;

[0022] The analog signal is amplified to obtain a sinusoidal signal.

[0023] In the above scheme, the digital playback device vibrates only when it receives continuously changing analog voltage or current signals. Therefore, the PCM format digital audio signal is converted into an analog voltage waveform to obtain an analog signal that drives the playback device, thereby playing the prompt tone. Furthermore, the analog signal is amplified to improve the playback effect and enhance the user experience.

[0024] On the other hand, the present invention discloses a prompt sound generation device for an educational all-in-one machine, which is applicable to an educational all-in-one machine containing a display main control chip, including an audio bus, a power amplifier chip, a speaker and a controller;

[0025] The controller is connected to the educational all-in-one machine and is used to sense the connection status between the electronic pen and the educational all-in-one machine in real time.

[0026] The audio output interface of the educational all-in-one machine is electrically connected to the audio input interface of the power amplifier chip through the audio bus;

[0027] The output terminal of the power amplifier chip is electrically connected to the input terminal of the speaker;

[0028] The interactive educational device and the power amplifier chip are respectively connected to the controller via signals. The controller is used for:

[0029] When the electronic pen is detected to be connected to the interactive educational device, the interactive educational device is controlled to generate a digital audio signal and send the digital audio signal to the power amplifier chip.

[0030] The power amplifier chip is controlled to convert the digital audio signal into an analog voltage waveform, obtain a sine wave signal, and send the sine wave signal to the speaker;

[0031] The speaker is used to receive the sine wave signal and generate a connection prompt tone when the electronic pen is connected to the educational all-in-one machine based on the sine wave signal.

[0032] This invention discloses a prompt tone generation device for an educational all-in-one machine. First, it improves the efficiency of prompt tone generation by real-time sensing of the connection status between an electronic pen and the all-in-one machine, promptly notifying the user that the pen is connected. Second, upon detecting the connection, it uses an amplifier chip to acquire the digital audio signal transmitted by the all-in-one machine and converts it into an analog sine wave signal. Based on the sine wave signal and the speaker, it generates a prompt tone with a specific frequency, thus confirming the connection between the electronic pen and the all-in-one machine and improving the user experience.

[0033] As a preferred example, the prompt tone generation device for the educational all-in-one machine further includes a Hall sensor; wherein the output terminal of the Hall sensor is electrically connected to the universal input / output interface of the educational all-in-one machine, and is used to output a high level or a low level to the universal input / output interface when the electronic pen is detected to be connected to the educational all-in-one machine.

[0034] In the above solution, a Hall sensor is connected to the interactive whiteboard to provide a connection area for the electronic pen. The output of the Hall sensor is connected to a GPIO pin of the interactive whiteboard. When the electronic pen approaches the area where the Hall sensor is located, the Hall sensor outputs a high-level or low-level signal to the GPIO pin, i.e., the universal input / output interface of the interactive whiteboard, to change the level of the universal input / output interface, indicating that the electronic pen is connected to the interactive whiteboard.

[0035] As a preferred example, the controller is signal-connected to the general-purpose input / output interface (GPIO) and is used to poll the level of the GPIO in real time.

[0036] The controller is also used to obtain the connection status between the electronic pen and the educational all-in-one machine based on the change in the voltage level.

[0037] In the above scheme, when the Hall sensor detects that the electronic pen is close and changes the level of the general input / output interface, in order to promptly monitor the connection of the electronic pen, the level change of the general input / output interface used to detect the connection of the electronic pen in the educational all-in-one machine is polled in real time to identify the connection status between the electronic pen and the educational all-in-one machine based on the change, thereby improving the efficiency and accuracy of connection identification, and thus improving the efficiency and accuracy of prompt tone generation.

[0038] As a preferred example, the controller is further configured to: control the educational all-in-one machine to call trigonometric functions and the sine function of a sine wave through a mathematical function library, so as to control the educational all-in-one machine to generate waveform sampling points according to the trigonometric functions and the sine function;

[0039] The control unit outputs a PCM format digital audio signal to the power amplifier chip according to the preset synchronization clock and the waveform sampling points.

[0040] In the above solution, since the educational all-in-one machine does not have an audio playback channel, in order to generate prompt sounds, a power amplifier chip is set to receive the PCM format digital audio signal that can play prompt sounds generated by the educational all-in-one machine by calling a preset trigonometric function and a sine wave function, and send the digital audio signal to the power amplifier chip.

[0041] As a preferred example, the power amplifier chip includes a DAC unit and a power amplification unit;

[0042] The input terminal of the DAC unit is electrically connected to the audio output interface of the educational all-in-one machine;

[0043] The input terminal of the power amplifier unit is electrically connected to the output terminal of the DAC unit, and the output terminal of the power amplifier unit is electrically connected to the input terminal of the speaker.

[0044] The DAC unit and the power amplifier unit are respectively connected to the controller. The controller is further configured to:

[0045] The DAC unit is controlled to convert the PCM format digital audio signal into an analog voltage waveform, so as to output an analog signal to the power amplifier unit;

[0046] The power amplification unit is controlled to amplify the analog signal to output a sine wave signal to the loudspeaker.

[0047] In the above scheme, the digital playback device vibrates only when it receives continuously changing analog voltage or current signals. Therefore, the PCM format digital audio signal is converted into an analog voltage waveform to obtain an analog signal that drives the playback device, thereby playing the prompt tone. Furthermore, the analog signal is amplified to improve the playback effect and enhance the user experience.

[0048] As a preferred example, the controller is used to obtain the output configuration information of the audio output interface of the educational all-in-one machine and the input configuration information of the audio input interface of the power amplifier chip;

[0049] The controller obtains the audio abnormality configuration detection results of the educational all-in-one machine and the power amplifier chip based on the output configuration information and the input configuration information, and modifies the output configuration information and the input configuration information according to the audio abnormality configuration detection results.

[0050] In the above scheme, the controller obtains the output configuration information of the audio output interface of the educational all-in-one machine and the input configuration information of the audio input interface of the power amplifier chip in real time, so as to ensure that the controller can send the generated digital audio signal to the power amplifier chip through the audio bus by detecting the accuracy of the configuration information, thus ensuring the playback of the prompt tone. Attached Figure Description

[0051] To more clearly illustrate the technical solution of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0052] Figure 1 is a flowchart illustrating a method for generating prompts for an educational all-in-one machine according to an embodiment of the present invention;

[0053] Figure 2 is a schematic diagram of the structure of a prompt sound generation device for an educational all-in-one machine provided in an embodiment of the present invention;

[0054] Figure 3 is a schematic diagram of a prompt sound generation device for an educational all-in-one machine according to another embodiment of the present invention. Detailed Implementation

[0055] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0057] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.

[0058] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0059] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0060] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).

[0061] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.

[0062] Referring to Figure 1, to address the problem in the prior art that educational all-in-one machines based on display main control chips cannot play the prompt sound when an electronic pen is connected to the educational all-in-one machine, this embodiment provides a prompt sound generation method for educational all-in-one machines, applicable to educational all-in-one machines containing display main control chips, including:

[0063] Step 101: Real-time sensing of the connection status between the electronic pen and the educational all-in-one machine.

[0064] In this embodiment, the step mainly includes: polling the level of the general input / output interface used to detect the electronic pen connection in the educational all-in-one machine in real time; and obtaining the connection status between the electronic pen and the educational all-in-one machine based on the changes in the level.

[0065] In this embodiment, this step involves timely monitoring of the electronic pen connection and real-time polling of the level changes of the general input / output interface used to detect the electronic pen connection in the educational all-in-one machine. The connection status between the electronic pen and the educational all-in-one machine is identified based on the changes, thereby improving the efficiency and accuracy of connection identification and thus improving the efficiency and accuracy of prompt tone generation.

[0066] Step 102: When the electronic pen is detected to be connected to the educational all-in-one machine, the digital audio signal transmitted by the educational all-in-one machine is acquired.

[0067] In this embodiment, the step mainly includes: when a change in the level is detected, determining that the electronic pen is connected to the educational all-in-one machine; controlling the educational all-in-one machine to call trigonometric functions and the sine function of a sine wave through a mathematical function library, so as to control the educational all-in-one machine to generate waveform sampling points according to the trigonometric functions and the sine function; and obtaining the PCM format digital audio signal transmitted by the educational all-in-one machine according to the preset synchronization clock and the waveform sampling points.

[0068] In this embodiment, this step is based on the fact that the educational all-in-one machine does not have the ability to play audio channels. Therefore, in order to generate prompt sounds, the educational all-in-one machine is first controlled to call preset trigonometric functions and the sine function of a sine wave to generate a PCM format digital audio signal that can play prompt sounds based on the sine function and the trigonometric function. Then, the prompt sounds are played based on the digital audio signal, thereby improving the user experience.

[0069] Step 103: Convert the digital audio signal into an analog voltage waveform to obtain a sine wave signal.

[0070] In this embodiment, the step mainly includes: converting the PCM format digital audio signal into an analog voltage waveform to obtain an analog signal; and amplifying the power of the analog signal to obtain a sine wave signal.

[0071] In this embodiment, this step is based on the fact that the digital playback device vibrates only when a continuously changing analog voltage or current signal is input. This converts the PCM format digital audio signal into an analog voltage waveform, obtaining an analog signal to drive the playback device and thus play the prompt tone. Furthermore, the analog signal is amplified to improve the playback effect and enhance the user experience.

[0072] Step 104: Generate a connection prompt tone when the electronic pen is connected to the educational all-in-one machine based on the sine wave signal.

[0073] As shown in Figure 2, based on the above method embodiments, a corresponding device embodiment is provided. Specifically, the prompt sound generation device for an educational all-in-one machine provided in this embodiment is applied to an educational all-in-one machine containing a display main control chip, and includes an audio bus 201, a power amplifier chip 202, a speaker 203, and a controller 204.

[0074] The controller 204 is connected to the educational all-in-one machine and is used to sense the connection status between the electronic pen and the educational all-in-one machine in real time.

[0075] The audio output interface of the educational all-in-one machine is electrically connected to the audio input interface of the power amplifier chip 202 through the audio bus 201;

[0076] The output terminal of the power amplifier chip 202 is electrically connected to the input terminal of the speaker 203;

[0077] The interactive educational device and the power amplifier chip 202 are respectively connected to the controller 204 via signals. The controller 204 is used for:

[0078] When the electronic pen is detected to be connected to the educational all-in-one machine, the educational all-in-one machine is controlled to generate a digital audio signal and send the digital audio signal to the power amplifier chip 202.

[0079] The power amplifier chip 202 is controlled to convert the digital audio signal into an analog voltage waveform to obtain a sine wave signal and send the sine wave signal to the speaker 203;

[0080] The speaker 203 is used to receive the sine wave signal and generate a connection prompt tone when the electronic pen is connected to the educational all-in-one machine based on the sine wave signal.

[0081] As shown in Figure 2, optionally, the audio bus 201 can be an I2S (Inter-IC Sound) bus. Correspondingly, the audio output interface of the educational all-in-one machine can be an I2S output interface, and the audio input interface of the power amplifier chip 202 can be an I2S input interface.

[0082] In this embodiment, a Hall sensor can also be provided in the prompt sound generation device shown in Figure 2. The Hall sensor is fixedly and movably positioned within a sensing area of ​​the interactive whiteboard to detect the proximity of the electronic pen. The output of the Hall sensor is electrically connected to the universal input / output interface of the interactive whiteboard. When the proximity of the electronic pen is detected (i.e., connection to the interactive whiteboard), the sensor outputs a high or low level to the universal input / output interface to indicate the connection of the electronic pen.

[0083] In this embodiment, the Hall sensor is connected to the interactive whiteboard to provide a connection area for the electronic pen. The output of the Hall sensor is connected to a GPIO pin of the interactive whiteboard. When the electronic pen approaches the area where the Hall sensor is located, the Hall sensor outputs a high-level or low-level signal to the GPIO pin, i.e., the universal input / output interface of the interactive whiteboard, to change the level of the universal input / output interface, indicating that the electronic pen is connected to the interactive whiteboard.

[0084] In this first embodiment, the controller 204 is signal-connected to the general-purpose input / output interface and is used to poll the level of the general-purpose input / output interface in real time; the controller 204 is also used to obtain the connection status between the electronic pen and the educational all-in-one machine according to the changes in the level.

[0085] In the above scheme, when the Hall sensor detects that the electronic pen is close and changes the level of the general input / output interface, in order to promptly monitor the connection of the electronic pen, the level change of the general input / output interface used to detect the connection of the electronic pen in the educational all-in-one machine is polled in real time to identify the connection status between the electronic pen and the educational all-in-one machine based on the change, thereby improving the efficiency and accuracy of connection identification, and thus improving the efficiency and accuracy of prompt tone generation.

[0086] In this embodiment, the controller 204 is further configured to: control the educational all-in-one machine to call trigonometric functions and the sine function of a sine wave through a mathematical function library, so as to control the educational all-in-one machine to generate waveform sampling points according to the trigonometric functions and the sine function; and control the educational all-in-one machine to output a PCM format digital audio signal to the power amplifier chip 202 according to a preset synchronization clock and the waveform sampling points.

[0087] In this embodiment, since the educational all-in-one machine does not have an audio playback channel, in order to generate prompt sounds, a power amplifier chip 202 is set to receive a PCM format digital audio signal that can play prompt sounds, generated by the educational all-in-one machine using a preset trigonometric function and a sine wave function, and send the digital audio signal to the power amplifier chip 202.

[0088] In this first embodiment, the power amplifier chip 202 includes a DAC unit and a power amplifier unit; wherein, the input terminal of the DAC unit is electrically connected to the audio output interface of the educational all-in-one machine; the input terminal of the power amplifier unit is electrically connected to the output terminal of the DAC unit, and the output terminal of the power amplifier unit is electrically connected to the input terminal of the speaker 203; the DAC unit and the power amplifier unit are respectively signal-connected to the controller 204, and the controller 204 is further used for:

[0089] The DAC unit is controlled to convert the PCM format digital audio signal into an analog voltage waveform, so as to output an analog signal to the power amplifier unit;

[0090] The power amplification unit is controlled to amplify the analog signal to output a sine wave signal to the speaker 203.

[0091] Optionally, the audio output interface of the educational all-in-one machine can be an I2S output interface. The DAC unit can be a digital-to-analog converter, and the power amplification unit can be a power amplification circuit.

[0092] In this embodiment, the digital playback device vibrates only when a continuously changing analog voltage or current signal is input. Therefore, the PCM format digital audio signal is converted into an analog voltage waveform to obtain an analog signal that drives the playback device, thereby playing a notification tone. Furthermore, the analog signal is amplified to improve playback quality and enhance the user experience.

[0093] In this first embodiment, the controller 204 is used to obtain the output configuration information of the audio output interface of the educational all-in-one machine and the input configuration information of the audio input interface of the power amplifier chip 202;

[0094] The controller 204 is further configured to obtain the audio abnormality configuration detection results of the educational all-in-one machine and the power amplifier chip 202 based on the output configuration information and the input configuration information, so as to modify the output configuration information and the input configuration information based on the audio abnormality configuration detection results.

[0095] In the above scheme, the audio output interface of the educational all-in-one machine can be an I2S output interface, and the audio input interface of the power amplifier chip 202 can be an I2S input interface. The controller 204 acquires the output configuration information of the I2S output interface of the educational all-in-one machine and the input configuration information of the I2S input interface of the power amplifier chip 202 in real time, so as to ensure that the controller 204 can send the generated digital audio signal to the power amplifier chip 202 through the I2S bus by detecting the accuracy of the configuration information, thus ensuring the playback of the prompt tone.

[0096] It is understood that the above-described device embodiments correspond to the method embodiments of the present invention, and can implement the prompt sound generation method for educational all-in-one machines provided by any of the above-described method embodiments of the present invention.

[0097] Based on the above embodiments of the prompt sound generation method for educational all-in-one machines, another embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the prompt sound generation method for educational all-in-one machines according to any embodiment of the present invention.

[0098] For example, in this embodiment, the computer program can be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the terminal device.

[0099] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.

[0100] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting all parts of the terminal device via various interfaces and lines.

[0101] Based on the above-described method embodiments, another embodiment of the present invention provides a computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to execute the prompt sound generation method for an educational all-in-one machine as described in any of the above-described method embodiments of the present invention.

[0102] The modules / units integrated in the device / terminal equipment, if implemented as software functional units and sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.

[0103] This embodiment provides a method for generating prompt sounds for an educational all-in-one machine. First, it improves the efficiency of prompt sound generation by real-time sensing of the connection status between the electronic pen and the all-in-one machine, promptly notifying the user that the electronic pen is connected. Second, upon detecting that the electronic pen is connected to the all-in-one machine, it acquires the digital audio signal transmitted by the all-in-one machine and converts the digital audio signal into an analog sine wave signal. A prompt sound with a specific frequency is then generated based on the sine wave signal to complete the connection notification between the electronic pen and the all-in-one machine, thereby enhancing the user's experience.

[0104] Example 2

[0105] In existing technologies, all-in-one machines that use the main control chip of the display do not have media playback functions, so no prompt sound is emitted when the operation button or pen is connected to the all-in-one machine.

[0106] To address the aforementioned technical issues, this embodiment provides a prompt sound generation device for an educational all-in-one machine, which is connected to an educational all-in-one machine implemented using a display main control chip, to generate a connection prompt sound when an electronic pen is connected to the educational all-in-one machine.

[0107] Specifically, referring to Figure 3, the prompt sound generation device for the educational all-in-one machine includes a Hall sensor 301, an I2S connection cable 302, a power amplifier unit 303, a sound player 304, and a host computer 305.

[0108] As shown in Figure 3, the output terminal of the Hall sensor 301 is electrically connected to the GPIO (General Purpose Input / Output Interface) of the educational all-in-one machine, and is used to send a level signal to the GPIO when the electronic pen is detected to be near it.

[0109] The host computer 305 is connected to the general-purpose input / output interface and is used to control the educational all-in-one machine to generate digital audio signals and output the digital audio signals to the power amplifier unit 303 when the level of the general-purpose input / output interface changes.

[0110] As shown in Figure 3, the I2S output interface of the educational all-in-one machine is connected to the I2S input interface of the power amplifier unit 303 through the I2S connection cable 302, so that the digital audio signal is sent to the power amplifier unit 303 through the I2S connection cable 302.

[0111] The output terminal of the power amplifier unit 303 is electrically connected to the input terminal of the sound player 304;

[0112] The power amplifier unit 303 is connected to the host computer 305 so that the host computer 305 controls the power amplifier unit 303 to convert the digital audio signal into an analog audio signal and controls the power amplifier unit 303 to send the analog audio signal to the sound player 304 so that the sound player 304 plays the corresponding prompt tone according to the analog audio signal.

[0113] In this first embodiment, the Hall sensor 301 is installed in a certain area of ​​the educational all-in-one machine, and this area is designated as the connection area for the electronic pen. When the electronic pen approaches the connection area to connect to the educational all-in-one machine, the Hall sensor 301 will detect the pen connection and then send a high-level signal or a low-level signal to the connected universal input / output interface, causing a change in the voltage level of the universal input / output interface.

[0114] In this first embodiment, the host computer 305 can be an external control terminal or a main chip located inside the educational all-in-one machine. Specifically, when the host computer 305 detects a change in the level of the GPIO (General Purpose Input / Output) interface through polling, it determines that the electronic pen is connected to the educational all-in-one machine.

[0115] In this first embodiment, when the host computer 305 determines that the electronic pen is connected to the educational all-in-one machine, the host computer 305 controls the educational all-in-one machine to call the trigonometric function sin() through the mathematical function library and generate waveform sampling points according to the mathematical expression of sine wave, so as to output the generated PCM data stream through a preset synchronization clock and a sequence containing the waveform sampling points.

[0116] In this first embodiment, before the host computer 305 controls the educational all-in-one machine to send the PCM data stream to the power amplifier unit 303 through the I2S connection line 302 to generate an analog audio signal for playing prompt tones, the host computer 305 first checks whether the configuration of the I2S output interface of the educational all-in-one machine and the configuration of the I2S input interface of the power amplifier unit 303 are correct.

[0117] Specifically, the host computer 305 first confirms whether the I2S hardware of the educational all-in-one machine and the power amplifier unit 303 has been correctly initialized. Before initialization confirmation, because the I2S interface has specific data format requirements, including channels and bit width, the power amplifier unit 303 and the educational all-in-one machine need to be correctly configured to work properly. This involves configuring the sampling rate, sine wave frequency, duration, and amplitude of the I2S interface to meet the requirements of sine wave signal transmission. Preferably, the sampling rate is set to 44100Hz, the sine wave frequency is fixed at 3kHz, the duration is 0.5 seconds, and the amplitude is 0.5V.

[0118] After configuration and I2S interface initialization, the initial status confirmation process for the I2S interface is as follows: First, status confirmation is performed. The host computer 305 queries the I2S control register to check if it has entered the "normal transmission state". If the chip supports interrupts or status flags, it should be confirmed whether the clock has started; whether data has been written to the FIFO; whether there is overflow or underload, etc. Next, the communication of the power amplifier unit 303 is confirmed. If the power amplifier unit 303 supports configuration interfaces such as I2C or SPI, the status register can be read to confirm: whether the sampling rate matches (44.1kHz); whether the channel is correct (mono or stereo); whether the volume control is enabled; whether it is in Mute or Standby state, etc.

[0119] In this first embodiment, when the configuration is confirmed to be correct, since the power amplifier unit 303 typically integrates an I2S receiver module to receive the PCM data stream (sequence data + synchronization clock) sent by the educational all-in-one machine, the host computer 305 controls the built-in DAC (Digital to Analog Converter) module of the power amplifier unit 303 to convert the PCM format digital waveform into an analog voltage waveform—that is, a continuously changing electrical signal. Then, the generated analog signal is controlled to pass through an internal power amplifier (class-D or class-AB) to generate an amplified analog signal, so as to control the power amplifier unit 303 to send the amplified analog signal to the sound player 304, so that the sound player 304 receives a drive signal of a fixed frequency sine wave signal, and then emits an audible prompt tone.

[0120] This embodiment provides a prompt tone generation device for an educational all-in-one machine. It utilizes a Hall sensor to detect the approach of an electronic pen, thereby controlling the all-in-one machine to generate a corresponding sine wave signal. To address the lack of an audio playback channel in the all-in-one machine, a power amplifier unit and a sound player are connected in series to generate an analog audio signal corresponding to the sine wave signal. This signal then drives the sound player to generate a corresponding prompt tone, thus establishing a connection notification between the electronic pen and the all-in-one machine.

[0121] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.

Claims

1. A prompt tone generation method for an education all-in-one machine, applied to an education all-in-one machine comprising a display device main control chip, characterized in that, include: Real-time sensing of the connection status between the electronic pen and the educational all-in-one machine; When the electronic pen is detected to be connected to the educational all-in-one machine, the digital audio signal transmitted by the educational all-in-one machine is acquired; The digital audio signal is converted into an analog voltage waveform to obtain a sine wave signal; The connection prompt tone is generated based on the sine wave signal when the electronic pen is connected to the educational all-in-one machine. 2.The prompt tone generation method for an education all-in-one machine according to claim 1, wherein, The connection status between the real-time sensing electronic pen and the educational all-in-one machine includes: The voltage level of the general-purpose input / output interface used to detect the connection of the electronic pen in the educational all-in-one machine is polled in real time. The connection status between the electronic pen and the educational all-in-one machine is obtained based on the change in the voltage level. 3.The prompt tone generation method for an education all-in-one machine according to claim 2, wherein, When it is detected that the electronic pen is connected to the educational all-in-one machine, the step of acquiring the digital audio signal transmitted by the educational all-in-one machine includes: When a change in the voltage level is detected, it is determined that the electronic pen is connected to the educational all-in-one machine; The educational all-in-one machine is controlled to call trigonometric functions and the sine function of a sine wave through a mathematical function library, so as to control the educational all-in-one machine to generate waveform sampling points according to the trigonometric functions and the sine function; Based on the preset synchronization clock and the waveform sampling points, the PCM format digital audio signal transmitted by the educational all-in-one machine is obtained.

4. The prompt tone generation method for an education all-in-one machine according to claim 3, characterized in that, The step of converting the digital audio signal into an analog voltage waveform to obtain a sine wave signal includes: The PCM format digital audio signal is converted into an analog voltage waveform to obtain an analog signal; The analog signal is amplified to obtain a sinusoidal signal.

5. A prompt tone generation device for an education all-in-one machine, applied to an education all-in-one machine comprising a display master control chip, characterized in that, Includes audio bus, power amplifier chip, speaker and controller; The controller is connected to the educational all-in-one machine and is used to sense the connection status between the electronic pen and the educational all-in-one machine in real time. The audio output interface of the educational all-in-one machine is electrically connected to the audio input interface of the power amplifier chip through the audio bus; The output terminal of the power amplifier chip is electrically connected to the input terminal of the speaker; The interactive educational device and the power amplifier chip are respectively connected to the controller via signals. The controller is used for: When the electronic pen is detected to be connected to the interactive educational device, the interactive educational device is controlled to generate a digital audio signal and send the digital audio signal to the power amplifier chip. The power amplifier chip is controlled to convert the digital audio signal into an analog voltage waveform, obtain a sine wave signal, and send the sine wave signal to the speaker; The speaker is used to receive the sine wave signal and generate a connection prompt tone when the electronic pen is connected to the educational all-in-one machine based on the sine wave signal. 6.The prompt tone generating device for an education all-in-one machine according to claim 5, wherein, It also includes a Hall sensor; wherein the output terminal of the Hall sensor is electrically connected to the universal input / output interface of the educational all-in-one machine, and is used to output a high level or low level to the universal input / output interface when the electronic pen is detected to be connected to the educational all-in-one machine.

7. The prompt sound generation device for an educational all-in-one machine according to claim 6, characterized in that, The controller is connected to the general-purpose input / output interface (GPIO) for real-time polling of the GPIO's signal level. The controller is also used to obtain the connection status between the electronic pen and the educational all-in-one machine based on the change in the voltage level.

8. A prompt sound generation device for an educational all-in-one machine according to claim 5, characterized in that, The controller is also used for: The educational all-in-one machine is controlled to call trigonometric functions and the sine function of a sine wave through a mathematical function library, so as to control the educational all-in-one machine to generate waveform sampling points according to the trigonometric functions and the sine function; The control unit outputs a PCM format digital audio signal to the power amplifier chip according to the preset synchronization clock and the waveform sampling points.

9. The prompt tone generating device for an education all-in-one machine according to claim 8, wherein, The power amplifier chip includes a DAC unit and a power amplification unit; The input terminal of the DAC unit is electrically connected to the audio output interface of the educational all-in-one machine; The input terminal of the power amplifier unit is electrically connected to the output terminal of the DAC unit, and the output terminal of the power amplifier unit is electrically connected to the input terminal of the speaker. The DAC unit and the power amplifier unit are respectively connected to the controller. The controller is further configured to: The DAC unit is controlled to convert the PCM format digital audio signal into an analog voltage waveform, so as to output an analog signal to the power amplifier unit; The power amplification unit is controlled to amplify the analog signal to output a sine wave signal to the loudspeaker.

10. The prompt tone generating device for an education all-in-one machine according to claim 5, wherein, The controller is used to acquire the output configuration information of the audio output interface of the educational all-in-one machine and the input configuration information of the audio input interface of the power amplifier chip; The controller is further configured to obtain the audio abnormality configuration detection results of the educational all-in-one machine and the power amplifier chip based on the output configuration information and the input configuration information, so as to modify the output configuration information and the input configuration information based on the audio abnormality configuration detection results.