Examination traceability earphone and control method thereof
By collecting and encrypting audio content in real time, combining the headset's built-in unique ID and traceability interface, the existing USB exam headset cannot monitor in real time and data is easily tampered with, and efficient management and troubleshooting of the headset, ensuring the security and integrity of the audio content.
Patent Information
- Application Number
- CN202510469696.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-15
- Publication Date
- 2025-07-18
AI Technical Summary
Existing USB exam headsets cannot monitor the audio content played by the headphone speaker in real time, and it is difficult to verify whether there are any audio playback abnormalities during the exam. The recording data is easily tampered with or illegally copied, and the candidate's identity and equipment cannot be accurately bound, resulting in difficulty in device management and troubleshooting.
By collecting the audio content played on the left and right channels in real time and encrypting the storage, the headset traceability interface is used to connect to the upper computer software, so that the headset, candidates and the system can be bound one-to-one, with a built-in unique ID, monitoring the audio content in real time, and encrypted storage is used to prevent data tampering.
It realizes efficient management and troubleshooting of headphones, ensures the security and integrity of audio content, prevents data loss, and supports restoration of examination room environments and data traceability.
Smart Images

Figure CN120343452A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of headphones, and in particular, to an exam traceability headphone and a control method thereof. Background Art
[0002] USB exam headphones can provide a more reliable and efficient audio solution for the listening part of an exam. In actual usage scenarios, a large number of computers and external USB devices are usually required to meet the needs of users for practice, testing, exams, etc. And USB exam headphones have the following defects: it is impossible to monitor the audio content played by the headphone speaker in real time, making it difficult to verify whether there are abnormal audio plays during the exam; its recorded data is usually stored in plain text, which is easily tampered with or illegally copied, lacking effective encryption protection; its recorded data depends on the exam system for storage, and once the exam system fails or the network is interrupted, data loss may occur; it is impossible to accurately bind the examinee's identity and the device, making it difficult to achieve efficient management and troubleshooting of the device. Summary of the Invention
[0003] The present invention provides an exam traceability headphone and a control method thereof. By collecting the audio content played on the left and right channels in real time, naming the audio content according to time and saving it to the encrypted storage unit of the headphone, connecting to the host computer software through the traceability interface of the headphone, the audio content can be restored and played. At the same time, each headphone has a unique ID built-in to achieve a one-to-one binding of the headphone, the examinee, and the system, so as to achieve efficient management and troubleshooting of the device.
[0004] To achieve the above object, an embodiment of the present invention provides an exam traceability headphone, including: a central processing unit, an encrypted storage unit, an RTC clock unit, a left speaker, a right speaker, a microphone collector, a left speaker microphone collector, a right speaker microphone collector, an audio interface, and a traceability interface;
[0005] The central processing unit is used for processing and transmitting audio signals, generating the ID of the exam traceability headphone, managing the recorded data and time, encrypting the recorded data, and monitoring the working state of the exam traceability headphone in real time;
[0006] The encrypted storage unit is used for storing encrypted recorded data, with a built-in TF card, and opening the TF card through the exam traceability software using HID commands;
[0007] The RTC clock unit is used for recording the current time and providing a time reference for naming the recorded data;
[0008] The left and right speakers are used for playing audio data;
[0009] The main microphone collector is used for collecting examinee's answer information;
[0010] The left and right horn microphone collectors are used to collect the audio data played in the left and right channels of the exam traceability earphone in real time;
[0011] The audio interface is used for data transmission;
[0012] The traceability interface is used to restore the recorded data and the audio data.
[0013] As an improvement of the above solution, the exam traceability earphone further includes:
[0014] An indicator light unit and a charging management unit;
[0015] The indicator light unit is used to indicate the earphone state of the exam traceability earphone;
[0016] The charging management unit is used to supply power to the RTC clock unit.
[0017] To achieve the above object, an embodiment of the present invention provides a method for controlling an exam traceability earphone. Using the above exam traceability earphone, the method includes:
[0018] Insert the corresponding interface of the exam traceability earphone into the computer through the audio interface, perform USB signaling interaction, and complete device enumeration and configuration according to the UAC protocol;
[0019] When the exam traceability earphone is powered on, obtain the chip internal ID number of the exam traceability earphone, process the ID number, generate the ID serial number of the exam traceability earphone, and assign it to the device descriptor in the UAC protocol, so that the computer end and the exam system can obtain the ID serial number through the UAC protocol, realizing one-to-one binding of the earphone, the candidate and the system.
[0020] As an improvement of the above solution, the method for controlling an exam traceability earphone further includes:
[0021] When a play instruction is detected through the UAC protocol, collect the audio data played in the left and right channels of the exam traceability earphone through the left and right horn microphone collectors, and perform audio signal processing on the audio data to obtain the broadcast digital signal of the audio data;
[0022] Perform PCM encoding and audio synchronization processing on the broadcast digital signal to generate the broadcast audio file of the audio data;
[0023] Name the broadcast audio file according to the time of the current moment, and after encrypting it using an encryption algorithm, store it in the TF card built in the encrypted storage unit of the exam traceability earphone.
[0024] As an improvement to the above solution, the control method of the exam traceability earphone further includes:
[0025] When a recording instruction is detected through the UAC protocol, the answer information of the examinee is collected through the main microphone, and the audio signal of the answer information is processed to obtain the recorded digital signal of the answer information.
[0026] The recorded digital signal is transmitted to the computer end through the USB audio stream, named according to the time of the current moment, and after being encrypted by an encryption algorithm, it is stored in the TF card built in the encrypted storage unit of the exam traceability earphone.
[0027] As an improvement to the above solution, the control method of the exam traceability earphone further includes:
[0028] When it is detected that the working voltage of the main microphone collector is abnormal or the computer end is shut down, the earphone status of the exam traceability earphone is indicated through the indicator light unit to achieve red light alarm.
[0029] As an improvement to the above solution, the control method of the exam traceability earphone further includes:
[0030] When accessing the recorded digital signal or the broadcast audio file in the encrypted storage unit, connect to the exam traceability software of the upper computer through the traceability interface;
[0031] If a viewing instruction sent by the exam traceability software is received, retrieve the recorded digital signal or the broadcast audio file in the encrypted storage unit, and after decrypting the recorded digital signal or the broadcast audio file;
[0032] Query and play the recorded digital signal or the broadcast audio file by time point.
[0033] Compared with the prior art, an exam traceability earphone and its control method disclosed in an embodiment of the present invention. The exam traceability earphone includes a central processing unit, an encrypted storage unit, an RTC clock unit, a left speaker, a right speaker, a microphone collector, a left speaker microphone collector, a right speaker microphone collector, an audio interface, and a traceability interface. By real-time collecting the audio content played in the left and right channels, naming the audio content according to time and saving it to the encrypted storage unit of the earphone, connecting to the upper computer software through the traceability interface of the earphone, the audio content can be restored and played. At the same time, each earphone has a unique ID built in, realizing one-to-one binding of the earphone, the examinee, and the system, so as to achieve efficient management and troubleshooting of the device, and be able to monitor the audio content played by the earphone speaker in real time to verify whether there is abnormal audio playback during the exam; encrypt and store the recording data through the encrypted storage unit to prevent being tampered with or illegally copied, and prevent data loss. Description of the Drawings
[0034] Figure 1 is a schematic structural diagram of an exam traceability earphone provided by an embodiment of the present invention;
[0035] Figure 2 is a schematic flowchart of a control method for an exam traceability earphone provided by an embodiment of the present invention. Detailed implementation manners
[0036] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0037] It should be noted that the terms "including" and "specific" in the present invention and any of their deformations are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those clearly listed steps or units, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or devices.
[0038] Please refer to Figure 1 , Figure 1 is a schematic structural diagram of an exam traceability earphone provided by an embodiment of the present invention. The exam traceability earphone includes: a central processing unit, an encrypted storage unit, an RTC clock unit, a left speaker, a right speaker, a microphone collector, a left speaker microphone collector, a right speaker microphone collector, an audio interface, and a traceability interface;
[0039] The central processing unit is used for processing and transmitting audio signals, generating an ID of the exam traceability earphone, managing recording data and time, encrypting the recording data, and real-time monitoring the working state of the exam traceability earphone;
[0040] The encrypted storage unit is used for storing encrypted recording data, with a built-in TF card, and opening the TF card by using an HID command through exam traceability software;
[0041] The RTC clock unit is used for recording the current time and providing a time reference for naming the recording data;
[0042] The left and right speakers are used for playing audio data;
[0043] The main microphone collector is used for collecting examinee's answer information;
[0044] The left and right speaker microphones are used to collect the audio data played in the left and right channels of the exam traceability earphone in real time;
[0045] The audio interface is used for data transmission;
[0046] The traceability interface is used to restore the recorded data and the audio data.
[0047] Exemplarily, the central processing unit is the core component of the exam traceability earphone, playing key roles in multiple aspects during the operation of the earphone and being decisive for the earphone to achieve various functions. For example, the central processing unit selects a high-performance processor with a 32-bit RISC core, supports DSP instructions, and integrates an FPU to support floating-point operations; the central processing unit has powerful audio processing capabilities, supports multiple audio formats and decoding functions (such as, supports the USB Audio Class 2.0 protocol and the HID standard), can process, convert, and transmit audio signals to ensure clear playback of voices and meet the requirements for audio quality in exams and learning. When playing sound, it directly drives the left and right speakers with the decoded audio data to reduce hearing errors. The central processing unit is responsible for generating the unique ID serial number of the earphone. By obtaining the 12-bit ID number inside the chip and converting it into a 14-bit unique ID serial number through specific operations (such as, crc32), and assigning it to the iSerialNumber in the device descriptor of the UAC protocol, it realizes the one-to-one binding of the device, the candidate, and the system, facilitating device management and fault troubleshooting. The central processing unit undertakes the management work of recording backup. When the candidate is answering questions, it controls the main microphone to collect sound and synchronously saves the collected audio data to the encrypted storage module. At the same time, when the earphone is broadcasting, it manages the collection and storage of the audio content of the left and right channels by the stereo sound collector to ensure the integrity and accuracy of the recorded data. The central processing unit combines with the RTC clock unit to provide a time reference for naming the recording file, accurate to the second. Making the recording file named based on time is convenient for data management and traceability, and after the exam, the corresponding candidate's answer information can be accurately located through the traceability interface and related software. The central processing unit uses the AES encryption algorithm to encrypt the recorded data to ensure data security and anti-tampering. Encrypted storage is in the encrypted storage module built into the earphone, and it cannot be played or converted without specific software, enhancing the confidentiality and reliability of the data. The central processing unit monitors the working status of the earphone in real time, including the working conditions of the main microphone and the stereo sound collector during the recording process, as well as the status of the computer-side mic. Once an abnormality is detected, it immediately controls the indicator unit to light up and alarm, facilitating the invigilator to handle it in a timely manner and ensuring the smooth progress of the exam.
[0048] Encrypted storage unit: built-in TF card, used to store encrypted recording data, simulated as a USB flash drive on the computer side through the central processing unit. By default, the USB flash drive is invisible and can only be opened with the HID command through the test traceability software to ensure data security and tamper-proof. RTC clock unit: using high-precision RTC clock chip, it can continuously record the current year, month, day, hour, minute, and second, providing a benchmark for recording file naming. After the test, the corresponding candidate's answer information can be accurately located through the traceability interface and related software. Left and right speakers: adopting high-fidelity design, the playback content is decoded by the sound card to directly drive the left and right speakers, ensuring clear voice and reducing hearing errors, thus meeting the needs of examinations and learning. Main microphone collector: adopting electret condenser cardioid unidirectional microphone, high-definition sound pickup can effectively suppress environmental noise. The candidate's answer information can be collected by the main microphone input sound card and transmitted to the computer, and the recording is backed up and saved synchronously. When the main microphone collector is open or short-circuited, the level of the corresponding pin will be abnormal, and the fault can be prompted by judging this level.
[0049] The main function of the left and right speaker microphone collector is to collect the audio content played by the left and right channels in real time by installing an omnidirectional high-precision microphone on each speaker, and save the collected data synchronously to the encrypted storage module, which can be used for subsequent examination room restoration playback. For example, each speaker is equipped with a microphone with high sensitivity and wide frequency response range (such as 20Hz-20kHz) to ensure that the audio content played can be accurately captured, and the audio signals of the left and right channels are collected respectively to ensure the integrity and stereo effect of the audio data. The collected audio data is synchronized with the recording of the candidate's oral answer to ensure the time consistency of the data. While collecting the playback content, the background sound in the examination environment (such as the instructions of the invigilator, the sound of the candidate's operation, etc.) is captured to provide comprehensive data support for the restoration of the examination environment. The host computer software can be connected through the traceability interface to restore the real environment of the examination room of any candidate, including the playback content of the listening materials and the background sound of the examination room. Exemplary, if the candidate feedbacks that the playback content is not heard during the examination, the audio data collected by the dual-channel can be retrieved to verify whether there is a device failure, which can be used for post-examination anti-repudiation. The collected audio data is named and encrypted based on time to ensure data security and tamper-proof. The data is stored in the headset's own encrypted storage module, reducing dependence on computer storage and improving data reliability. It supports high sampling rate (48kHz) and high bit depth (24bit) audio collection to ensure the clarity and accuracy of audio data. Digital signal processing and noise suppression technology are used to reduce the interference of environmental noise on collected data.
[0050] Furthermore, the test traceability headset further includes:
[0051] indicator light unit and charge management unit;
[0052] The indicator light unit is used to indicate the headphone status of the exam traceability headphone;
[0053] The charging management unit is used to provide power for the RTC clock unit.
[0054] Exemplarily, the indicator light unit includes a red-blue dual-color indicator light. The indicator light source is clear, facilitating the invigilator to identify the headphone status; it can display the device status and has three states: off, red light always on, and blue light flashing; when the headphone status is abnormal (such as the main microphone being open / short-circuited or muted), the red indicator light is always on, and the blue light flashes during recording or playback. The charging management unit is configured with a single-section polymer battery, mainly providing power management support for the RTC clock unit to ensure that the RTC clock unit can still work normally when the main power supply is disconnected and can supply power to the polymer battery when the audio interface or traceability interface is connected to the computer.
[0055] An exam traceability headphone disclosed in an embodiment of the present invention includes a central processing unit, an encrypted storage unit, an RTC clock unit, a left speaker, a right speaker, a microphone collector, a left speaker microphone collector, a right speaker microphone collector, an audio interface, and a traceability interface. By real-time collecting the audio content played in the left and right channels and naming and saving the audio content according to time to the encrypted storage unit of the headphone, connecting to the upper computer software through the traceability interface of the headphone, the audio content can be restored and played. At the same time, each headphone has a unique ID built-in to achieve a one-to-one binding of the headphone, the candidate, and the system, so as to realize the efficient management and fault troubleshooting of the device, and can real-time monitor the audio content played by the headphone speaker to verify whether there is abnormal audio playback during the exam; the recording data is encrypted and stored through the encrypted storage unit to prevent being tampered with or illegally copied, and to prevent data loss.
[0056] See Figure 2 , Figure 2 is a schematic flowchart of a control method for an exam traceability headphone provided by an embodiment of the present invention. Using the above-mentioned exam traceability headphone, the control method for the exam traceability headphone includes:
[0057] S1, insert it into the corresponding interface of the computer through the audio interface, perform USB signaling interaction, and complete device enumeration and configuration according to the UAC protocol;
[0058] S2, after the exam traceability headphone is powered on, obtain the chip internal ID number of the exam traceability headphone, process the ID number to generate the ID serial number of the exam traceability headphone, and assign it to the device descriptor in the UAC protocol, so that the computer terminal and the exam system can obtain the ID serial number through the UAC protocol to achieve a one-to-one binding of the headphone, the candidate, and the system.
[0059] Exemplarily, the control method of the exam traceability earphone can be implemented by the central processing unit of the exam traceability earphone. The central processing unit can interact with the target user, as well as with the exam system and the computer terminal. When the exam traceability earphone is inserted into the corresponding interface of the computer through the audio interface, the central processing unit conducts USB signaling interaction with the computer and completes device enumeration and configuration according to the UAC protocol; when the exam traceability earphone is powered on, the central processing unit obtains the internal ID number of the chip of the exam traceability earphone, which is generated through an encryption method and a random algorithm, generates a 14-bit ID serial number of the exam traceability earphone, and assigns it to the device descriptor iSerialNumber in the UAC protocol. During the enumeration process, the computer terminal obtains the device descriptor, configuration descriptor, etc., and then loads the driver program after obtaining the unique ID serial number, and then conducts audio function configuration, including audio interface configuration and endpoint configuration; so that the computer terminal and the exam system can obtain the ID serial number through the UAC protocol, realizing a one-to-one binding of the earphone, the examinee and the system.
[0060] Further, the control method of the exam traceability earphone further includes:
[0061] S3, when a play instruction is detected through the UAC protocol, collect the audio data played in the left and right channels of the exam traceability earphone through the left and right speaker microphones, and perform audio signal processing on the audio data to obtain the broadcast digital signal of the audio data;
[0062] S4, perform PCM encoding and audio synchronization processing on the broadcast digital signal to generate the broadcast audio file of the audio data;
[0063] S5, name the broadcast audio file according to the time of the current moment, and after encrypting it using an encryption algorithm, store it in the TF card built in the encrypted storage unit of the exam traceability earphone.
[0064] Exemplarily, when the headphones are broadcasting, the audio content played in the left and right channels is collected in real time through a dual-channel sound collector, and saved to an encrypted storage module based on time naming. The host computer software can be connected through the traceability interface to restore the real environment of the examination room for any candidate, including the playback content of the listening materials and the background sound of the examination room. For example, the headphones monitor the playback position (Alternate Setting) (such as play, pause, stop) in real time through the UAC protocol, and use this as the start and end mark of the recording backup; when a play command is detected, the built-in processor of the headphones parses the command content and obtains the audio data information played (such as sampling rate, bit depth, etc.); when a play command is detected, the built-in processor of the headphones starts the high-precision microphones built into the left and right speakers, and starts to collect the audio content played in the left and right channels in real time, with a sampling rate of 44.1kHz; the collected audio signals are processed by the preamplifier, anti-aliasing filter and analog-to-digital converter (ADC) and converted into broadcast digital signals; the left and right channels are The collected broadcast digital signals are PCM (pulse code modulation) encoded to generate high-fidelity dual-channel broadcast audio files, and the left and right channel broadcast audio files (PCM audio data) are synthesized synchronously; the synthesized PCM audio data is named and encrypted based on time, and the AES (Advanced Encryption Standard) algorithm is used to ensure data security and tamper-proofing. The generated file name format is: xxxx year xx month xx day xx hour xx minute xx second (broadcast audio file). The encrypted broadcast audio file is stored in the TF card that comes with the headset, reducing dependence on computer storage and improving data reliability. When the examination room environment needs to be restored, the host computer traceability software is connected through the traceability interface to retrieve the broadcast audio file in the encrypted storage module to restore the candidate's examination room environment. The broadcast audio file supports querying and playing recording files by time point to ensure data traceability.
[0065] Furthermore, the test traceability headset control method further includes:
[0066] S6, when a recording instruction is detected through the UAC protocol, the examinee's answer information is collected through the main microphone, and the answer information is processed by audio signals to obtain a recording digital signal of the answer information;
[0067] S7, transmitting the recorded digital signal to the computer via a USB audio stream, naming the recorded digital signal according to the current time, encrypting it with an encryption algorithm, and storing it in a TF card built into the encryption storage unit of the test tracing headset.
[0068] Exemplarily, when the headset is recording, the main microphone collector is used to collect the candidate's answers in real time, and the answers are saved in an encrypted storage module based on time naming. The host computer software can be connected through the traceability interface to restore the candidate's answer information. For example, the headset monitors the recording flag (Alternate Setting) (such as start, pause, stop) in real time in the UAC protocol, and uses this as the start and end mark of the recording backup; when the recording start command is detected, the headset's built-in processor parses the command content and obtains the recording data information (such as sampling rate, bit depth, etc.); when the recording command is detected, the headset's built-in processor starts the main microphone and starts to collect the candidate's oral answers in real time; the collected audio signal is processed by a preamplifier, an anti-aliasing filter and an analog-to-digital converter (ADC) and converted into a recording digital signal; the collected recording digital signal is transmitted to the computer via a USB audio stream to ensure the real-time and integrity of the data; when transmitting the recording digital signal At the same time, the built-in processor of the headset will synchronously save the recorded digital signal to the encrypted storage module; the collected recorded digital signal will be named and encrypted based on time, and the AES (Advanced Encryption Standard) algorithm will be used to ensure data security and tamper-proof, and the generated file name format is: xxxx year xx month xx day xx hour xx minute xx second (recorded digital signal); the encrypted recorded digital signal will be stored in the TF card that comes with the headset, reducing the reliance on computer storage and improving data reliability; when it is necessary to backup and restore the recording, the host computer traceability software will be connected through the traceability interface to retrieve the recorded digital signal in the encrypted storage module and restore the candidate's answer information. The recorded digital signal supports querying and playing recorded files by time point to ensure data traceability.
[0069] Furthermore, the test traceability headset control method further includes:
[0070] S8, when it is detected that the working voltage of the main microphone collector is abnormal or the computer end is turned off, the headphone status of the test tracing headphone is indicated by the indicator light unit to realize a red light alarm.
[0071] For example, the test traceability earphones can monitor the working status of the earphones in real time. When the working voltage of the main microphone collector is open or short-circuited, the level of the corresponding pin will be abnormal; at the same time, it will detect whether the mic of the earphones on the computer is turned off. When any abnormality is found, a red light will be turned on to alarm, which is convenient for the invigilator to deal with it in time.
[0072] Furthermore, the test traceability headset control method further includes:
[0073] S9, when accessing the recorded digital signal or the broadcast audio file in the secret storage unit, connecting to the test tracing software of the host computer through the tracing interface;
[0074] S10. If a viewing instruction sent by the exam traceability software is received, retrieve the recorded digital signal or the broadcast audio file in the encrypted storage unit, and after decrypting the recorded digital signal or the broadcast audio file;
[0075] S11. Query and play the recorded digital signal or the broadcast audio file by time point.
[0076] Exemplarily, the exam traceability earphone is built-in with a TF card for storing encrypted recording data. The TF card is simulated as a USB flash drive on the computer side through the central processing unit. By default, the USB flash drive is invisible on the computer side and needs to be opened with the help of the exam traceability software. All recording files are named based on time and cannot be played or converted without a specific software, ensuring data security and anti-tampering. For example, the central processing unit communicates with the TF card through the SPI interface, initializes the TF card and detects its status (such as capacity, file system, etc.); the central processing unit mounts the file system (such as FAT32) on the TF card to ensure that files can be correctly read, written and managed; the central processing unit implements the USB Mass Storage Class protocol to make the TF card recognized as a standard USB flash drive on the computer side; the central processing unit sends a device descriptor to the computer side, including information such as device type, vendor ID, product ID, etc., to make the computer side recognize the device as a USB flash drive; the central processing unit maps the storage space of the TF card to the logical unit (LUN) of the USB flash drive and reports the storage capacity and available space to the computer side. After the initialization of the TF card, the USB flash drive of the TF card is set to an invisible state by default, and the computer side cannot directly access the content of the TF card; by sending a specific HID command through the exam traceability software, the visibility of the USB flash drive can be dynamically controlled. For example: Open the storage area: The exam traceability software sends an instruction of "Open the storage area" to make the USB flash drive visible on the computer side; Close the storage area: The exam traceability software sends an instruction of "Close the storage area" to make the USB flash drive invisible on the computer side. All recording files are named based on time, which is convenient for data management and traceability; the recording files are encrypted and stored using the AES (Advanced Encryption Standard) algorithm to ensure data security and anti-tampering; the exam traceability software communicates with the earphone through the HID protocol and sends an instruction to open the storage area; after receiving the instruction, the earphone unlocks the storage area to make the USB flash drive visible on the computer side; the software controls the access permission of the storage area to ensure that only authorized users can access the recording files; the exam traceability software sends a decryption instruction through the HID protocol, and after receiving the instruction, the earphone decrypts the encrypted audio file; the AES algorithm is used to decrypt the audio file to ensure the security and integrity of the data; the decrypted audio file is played through the exam traceability software to ensure that it cannot be played or converted without a specific software.
[0077] The examination traceability earphone control method provided by the embodiments of the present invention can achieve the functions of each unit in the examination traceability earphone in the above embodiments, and the technical effects achieved are respectively the same as the functions and technical effects of the examination traceability earphone in the above embodiments, which will not be elaborated here.
[0078] The above is the preferred embodiment of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications are also regarded as the protection scope of the present invention.
Claims
1. An exam traceability earphone, characterized in that, Comprising: a central processing unit, an encrypted storage unit, an RTC clock unit, a left speaker, a right speaker, a microphone collector, a left speaker microphone collector, a right speaker microphone collector, an audio interface, and a traceability interface; The central processing unit is used for processing and transmitting audio signals, generating the ID of the exam traceability headset, managing the recording data and time, encrypting the recording data, and monitoring the working state of the exam traceability headset in real time; The encrypted storage unit is used for storing encrypted recording data, with a built-in TF card, and the TF card is opened by using HID commands through exam traceability software; The RTC clock unit is used for recording the current time and providing a time reference for naming the recording data; The left and right speakers are used for playing audio data; The main microphone collector is used for collecting examinee's answer information; The left and right speaker microphone collectors are used for collecting the audio data played in the left and right channels of the exam traceability headset in real time; The audio interface is used for data transmission; The traceability interface is used for restoring the recording data and the audio data.
2. The exam traceability earphone according to claim 1, characterized in that, Further comprising: an indicator unit and a charging management unit; The indicator unit is used for indicating the headset state of the exam traceability headset; The charging management unit is used for supplying power to the RTC clock unit.
3. A method for controlling an exam traceability earphone, which uses the exam traceability earphone as described in any one of claims 1-2, characterized in that, The method includes: Inserting into the corresponding interface of the computer through the audio interface, performing USB signaling interaction, and completing device enumeration and configuration according to the UAC protocol; After the exam traceability headset is powered on, obtaining the chip internal ID number of the exam traceability headset, processing the ID number to generate the ID serial number of the exam traceability headset, and assigning it to the device descriptor in the UAC protocol, so that the computer side and the exam system can obtain the ID serial number through the UAC protocol, realizing one-to-one binding of the headset, the examinee, and the system.
4. The examination traceability earphone control method according to claim 3, wherein, Further comprising: When a play instruction is detected through the UAC protocol, collecting the audio data played in the left and right channels of the exam traceability headset through the left and right speaker microphone collectors, and performing audio signal processing on the audio data to obtain the broadcast digital signal of the audio data; Performing PCM encoding and audio synchronization processing on the broadcast digital signal to generate the broadcast audio file of the audio data; Naming the broadcast audio file according to the time of the current moment, encrypting it by using an encryption algorithm, and storing it in the TF card built in the encrypted storage unit of the exam traceability headset.
5. The exam traceability headphone control method according to claim 3, wherein, Further comprising: When a recording instruction is detected through the UAC protocol, collecting the examinee's answer information through the main microphone, and performing audio signal processing on the answer information to obtain the recording digital signal of the answer information; Transmitting the recording digital signal to the computer side through the USB audio stream, naming the recording digital signal according to the time of the current moment, encrypting it by using an encryption algorithm, and storing it in the TF card built in the encrypted storage unit of the exam traceability headset.
6. The examination traceability headphone control method according to claim 3, wherein, Further comprising: When it is detected that the working voltage of the main microphone collector is abnormal or the computer terminal is turned off, the headphone status of the exam traceability headphone is indicated by the indicator light unit to achieve red light alarm.
7. The examination traceability headphone control method according to claim 3, wherein, It further includes: When accessing the recorded digital signal or the broadcast audio file in the encrypted storage unit, connect to the exam traceability software of the host computer through the traceability interface; If a viewing instruction sent by the exam traceability software is received, retrieve the recorded digital signal or the broadcast audio file in the encrypted storage unit, and after decrypting the recorded digital signal or the broadcast audio file; Query and play the recorded digital signal or the broadcast audio file by time point.