Earphone volume test monitoring method and device, computer device and storage medium
By obtaining the potential rotation angle setting value of the headphones and performing corner tone difference processing, the problem of inaccurate volume in headphone volume testing is solved, the correspondence between volume and rotation angle is realized, and the testing accuracy is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN HORN AUDIO
- Filing Date
- 2022-12-13
- Publication Date
- 2026-07-24
Smart Images

Figure CN115988400B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of headphone technology, and in particular to a headphone volume testing and monitoring method, apparatus, computer equipment, and storage medium. Background Technology
[0002] Currently, most mainstream headphones on the market use a potentiometer (VR) to adjust the volume of the headphone speaker output. During production testing, we need to apply force to slide the potentiometer knob to change the headphone volume output. The current headphone volume adjustment relies on the tester's adjustment of the knob (VR switch), resulting in different volume levels. Because the VR potentiometer output is a continuous analog signal, the volume level obtained by the headphones varies depending on the degree to which the user or tester rotates the VR knob.
[0003] However, traditional testing processes require manual control of the volume knob. Differences in the force applied by the tester when rotating the VR knob and the position of the knob's slide rail can lead to inaccurate headphone volume output values, resulting in an uneven volume curve in the headphone software settings. Furthermore, the position of the VR knob is difficult to control manually, causing deviations in the measured data and posing potential risks to product quality. Summary of the Invention
[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a headphone volume testing and monitoring method, device, computer equipment, and storage medium that effectively improves the accuracy of volume testing.
[0005] The objective of this invention is achieved through the following technical solution:
[0006] A method for monitoring headphone volume testing, the method comprising:
[0007] Obtain the voltage rotation angle setting value of the headphones;
[0008] The potential rotation angle setting state value and the preset setting state value are subjected to angle-tone difference processing to obtain the rotation angle volume difference value;
[0009] The headphone audio testing system is sent a more detailed signal based on the volume difference of the swivel angle to adjust the test volume output of the headphone.
[0010] In one embodiment, the potentiometer's potentiometer's preset position value includes: acquiring the potential corresponding to the potentiometer's rotation position on the earphone.
[0011] In one embodiment, the potentiometer's potentiometer's potentiometer's preset position value is further defined by rotating the potentiometer's knob to the desired rotation position.
[0012] In one embodiment, obtaining the potential corresponding to the rotation setting of the potentiometer of the earphone includes: obtaining the sound pressure value of the specified rotation setting of the potentiometer.
[0013] In one embodiment, the step of performing angular tone difference processing on the potential rotation angle setting state value and the preset setting state value to obtain the rotation angle volume difference value includes: calculating the rotation angle sound pressure difference value between the potential rotation angle setting state value and the preset setting state value to obtain the rotation angle volume difference value.
[0014] In one embodiment, the step of sending a different signal to the headphone audio testing system based on the angular volume difference to adjust the test volume output of the headphone includes: detecting whether the angular volume difference matches a preset volume difference; when the angular volume difference matches the preset volume difference, sending a volume maintenance signal to the headphone audio testing system to maintain the test volume output of the headphone at the volume corresponding to the preset volume difference.
[0015] In one embodiment, the step of detecting whether the angular volume difference matches a preset volume difference further includes: when the angular volume difference does not match the preset volume difference, sending a volume update signal to the headphone audio testing system to set the test volume output of the headphone to the volume corresponding to the angular volume difference.
[0016] A headphone volume testing and monitoring device includes: a potential acquisition unit and a volume control motherboard; the potential acquisition unit is used to acquire the potential angle setting status value of the headphone; the input terminal of the volume control motherboard is connected to the output terminal of the potential acquisition unit, and the volume control motherboard is used to perform angle-tone difference processing on the potential angle setting status value and a preset setting status value to obtain an angle-volume difference value; and to send a change signal to the headphone audio testing system according to the angle-volume difference value to adjust the test volume output of the headphone.
[0017] A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program performing the following steps:
[0018] Obtain the voltage rotation angle setting value of the headphones;
[0019] The potential rotation angle setting state value and the preset setting state value are subjected to angle-tone difference processing to obtain the rotation angle volume difference value;
[0020] The headphone audio testing system is sent a more detailed signal based on the volume difference of the swivel angle to adjust the test volume output of the headphone.
[0021] A computer-readable storage medium having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0022] Obtain the voltage rotation angle setting value of the headphones;
[0023] The potential rotation angle setting state value and the preset setting state value are subjected to angle-tone difference processing to obtain the rotation angle volume difference value;
[0024] The headphone audio testing system is sent a more detailed signal based on the volume difference of the swivel angle to adjust the test volume output of the headphone.
[0025] Compared with the prior art, the present invention has at least the following advantages:
[0026] By collecting the voltage rotation angle setting value, the voltage rotation angle of the headphones can be determined. Then, the voltage rotation angle setting value is compared with the preset setting value to determine the difference between the voltage rotation angle and the specified voltage rotation angle. Finally, based on the difference in the rotation angle, the current test volume of the headphones is adjusted to correspond the headphone volume with the rotation angle, effectively improving the accuracy of headphone volume testing. Attached Figure Description
[0027] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 This is a flowchart of a headphone volume testing and monitoring method in one embodiment;
[0029] Figure 2 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0030] To facilitate understanding of the present invention, a more complete description will be given below with reference to the accompanying drawings. Preferred embodiments of the invention are shown in the drawings. However, the invention can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a thorough and complete understanding of the disclosure of the invention.
[0031] It should be noted that when an element is referred to as being "fixed to" another element, it can be directly attached to the other element or there may be an intervening element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or there may be an intervening element. The terms "vertical," "horizontal," "left," "right," and similar expressions used herein are for illustrative purposes only and do not represent the only possible implementation.
[0032] 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 invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0033] This invention relates to a method for monitoring and testing headphone volume. In one embodiment, the method includes acquiring the headphone's potential rotation angle setting status value; performing angle-to-tone difference processing on the potential rotation angle setting status value and a preset setting status value to obtain a rotation angle volume difference value; and sending a change signal to the headphone audio measurement system based on the rotation angle volume difference value to adjust the headphone's test volume output. By acquiring the potential rotation angle setting status value, the potential rotation angle of the headphone can be determined. Then, the potential rotation angle setting status value is compared with the preset setting status value to determine the difference between the potential rotation angle and the specified potential rotation angle. Finally, based on the difference in the rotation angle, the current test volume of the headphone is adjusted to ensure a one-to-one correspondence between the headphone volume and the rotation angle, effectively improving the accuracy of headphone volume testing.
[0034] Please see Figure 1 This is a flowchart of a headphone volume testing and monitoring method according to an embodiment of the present invention. The headphone volume testing and monitoring method includes some or all of the following steps.
[0035] S100: Obtain the voltage rotation angle setting status value of the headphone.
[0036] In this embodiment, the voltage angle setting state value is the state value corresponding to the rotation angle of the voltage knob of the earphone. That is, the voltage angle setting state value is the angle from the voltage knob of the earphone to the specified setting, or the voltage state corresponding to the voltage knob of the earphone rotated to the specified angle. By collecting the voltage angle setting state value, the rotation angle of the voltage knob of the earphone can be detected, thereby facilitating the acquisition of volume at the specified rotation angle. This allows for volume adjustment at the specified rotation angle, ensuring that the voltage angle of the earphone corresponds to the volume, thus improving the accuracy of the earphone volume test.
[0037] S200: Perform angle-to-volume difference processing on the voltage rotation angle setting state value and the preset setting state value to obtain the rotation angle volume difference value.
[0038] In this embodiment, the voltage angle setting state value is the state value corresponding to the rotation angle of the voltage knob of the earphone. That is, the voltage angle setting state value is the angle from the voltage knob of the earphone to the specified setting, or the voltage state corresponding to the voltage knob of the earphone rotated to the specified angle. By collecting the voltage angle setting state value, the rotation angle of the voltage knob of the earphone can be detected, thereby facilitating the collection of volume at the specified rotation angle and adjusting the volume at the specified rotation angle to ensure that the voltage knob of the earphone corresponds to the volume, thus improving the accuracy of the earphone volume test. The preset setting state value is the standard state value corresponding to the rotation angle of the voltage knob of the earphone. That is, the preset setting state value is the reference angle from the voltage knob of the earphone to the specified setting, or the specified voltage state corresponding to the voltage knob of the earphone rotated to the specified angle. The angle-to-volume difference processing of the voltage rotation angle setting value and the preset setting value involves comparing the difference between the voltage rotation angle setting value and the preset setting value in terms of the conversion between rotation angle and volume. This facilitates determining the volume deviation corresponding to the current rotation angle of the headphones, and further facilitates determining the degree of difference between the volume measured at the current rotation angle and the standard volume. In another embodiment, the volume corresponding to the preset setting value is the volume to be updated; for example, the volume curve corresponding to the preset setting value is a linear volume curve.
[0039] S300: Send a more detailed signal to the headphone audio testing system based on the volume difference of the swivel angle to adjust the test volume output of the headphone.
[0040] In this embodiment, the volume difference value is obtained based on the voltage angle setting state value and the preset setting state value. The voltage angle setting state value is the state value corresponding to the rotation angle of the voltage knob of the earphone, that is, the voltage angle setting state value is the angle from the voltage angle of the earphone to the specified setting, or the voltage state corresponding to the voltage state when the voltage knob of the earphone is rotated to the specified angle. By collecting the voltage angle setting state value, the rotation angle of the voltage knob of the earphone can be detected, thereby facilitating the collection of volume at the specified rotation angle, and further facilitating the adjustment of the volume at the specified rotation angle, so that the voltage angle of the earphone corresponds to the volume, thereby improving the accuracy of the earphone volume test. The preset setting state value is the standard state value corresponding to the rotation angle of the voltage knob of the earphone, that is, the preset setting state value is the reference angle from the voltage angle of the earphone to the specified setting, or the preset setting state value is the specified voltage state corresponding to the voltage knob of the earphone being rotated to the specified angle. By comparing the voltage angle setting value with the preset setting value to determine the difference between the voltage angle and volume conversion, it is easier to determine the volume deviation corresponding to the current voltage angle of the headphones. This, in turn, facilitates determining the degree of difference between the volume measured at the current voltage angle and the standard volume. Thus, by using the voltage angle-volume difference to reflect the difference between the voltage angle and volume, it is easier to correct the test volume output of the headphones, thereby facilitating the adjustment and updating of the headphone's volume output to achieve accurate volume output and effectively improving the volume output accuracy of the headphones.
[0041] In the above embodiments, by collecting the voltage rotation angle setting value, the voltage rotation angle of the headphones can be determined. Then, the voltage rotation angle setting value is compared with the preset setting value to determine the difference between the voltage rotation angle and the specified voltage rotation angle. Finally, based on the difference in the rotation angle, the current test volume of the headphones is adjusted so that the volume of the headphones corresponds one-to-one with the rotation angle, which effectively improves the accuracy of the headphone volume test.
[0042] In one embodiment, the potentiometer's adjustable angle setting value includes: acquiring the potential corresponding to the rotation position of the potentiometer on the headphones. In this embodiment, the potentiometer's adjustable angle setting value is the state value corresponding to the rotation angle of the potentiometer knob on the headphones, that is, the potentiometer's adjustable angle setting value is the angle from the potentiometer's adjustable angle to the specified position, or the potential state corresponding to the potentiometer knob being rotated to the specified angle. By acquiring the potentiometer's adjustable angle setting value, the rotation angle of the potentiometer knob on the headphones can be detected, thereby facilitating the acquisition of the volume at the specified rotation angle, and further facilitating the adjustment of the volume at the specified rotation angle, so that the potentiometer's adjustable angle corresponds to the volume, thereby improving the accuracy of the headphones' volume test. The potentiometer's adjustable angle setting value is the potential corresponding to the potentiometer's rotation position, that is, at the specified rotation position, the potentiometer has a corresponding resistance value. By acquiring the corresponding potential through the sampling circuit, the conversion between the potentiometer's rotation angle and voltage is realized, thereby facilitating the subsequent conversion of the voltage corresponding to the potentiometer into the headphones' volume.
[0043] Furthermore, the potentiometer's voltage angle setting value is further included by rotating the potentiometer knob to the desired rotation position. In this embodiment, the voltage angle setting value is obtained by collecting data from the variable resistance of the potentiometer. To obtain the voltage angle setting value, the potentiometer knob must be rotated to the specified position, i.e., the rotation position to be tested, so that the headphone volume corresponding to the potentiometer's rotation angle can be converted subsequently.
[0044] Furthermore, obtaining the potential corresponding to the rotation position of the potentiometer of the headphones includes: obtaining the sound pressure level (SPL) value of the specified rotation position of the potentiometer. In this embodiment, the potential angle setting state value is the state value corresponding to the rotation angle of the potentiometer knob of the headphones, that is, the potential angle setting state value is the angle from the potential angle of the headphones to the specified position, or the potential angle setting state value is the potential state corresponding to the rotation angle of the potentiometer knob of the headphones. By acquiring the potential angle setting state value, the rotation angle of the potentiometer knob of the headphones can be detected, thereby facilitating the acquisition of the volume at the specified rotation angle, and further facilitating the adjustment of the volume at the specified rotation angle, so that the potential angle of the headphones corresponds to the volume, thereby improving the accuracy of the headphone volume test. The potential angle setting state value is the SPL value of the specified rotation position of the potentiometer, that is, the equivalent value of the sound voltage output by the headphone speaker at the specified rotation position, realizing the conversion between the rotation angle of the potentiometer and the sound pressure level, thereby facilitating the subsequent conversion of the sound pressure level corresponding to the potentiometer into the volume of the headphones.
[0045] Furthermore, the step of performing angular tone difference processing on the voltage rotation angle setting state value and the preset setting state value to obtain the angular volume difference value includes: calculating the angular sound pressure difference between the voltage rotation angle setting state value and the preset setting state value to obtain the angular volume difference value. In this embodiment, the voltage rotation angle setting state value is the state value corresponding to the rotation angle of the voltage knob of the headphones, that is, the voltage rotation angle setting state value is the angle from the voltage rotation angle of the headphones to the specified setting, or the voltage state corresponding to the voltage knob of the headphones rotated to the specified angle. By collecting the voltage rotation angle setting state value, the rotation angle of the voltage knob of the headphones can be detected, thereby facilitating the collection of volume at the specified rotation angle, and further facilitating the adjustment of the volume at the specified rotation angle, so that the voltage rotation angle of the headphones corresponds to the volume, thereby improving the accuracy of the headphone volume test. The difference between the potentiometer's rotation angle setting value and the preset setting value is determined by analyzing the relationship between the rotation angle and sound pressure. This facilitates the determination of the sound pressure difference of the potentiometer at a specified rotation angle, thereby making it easier to determine the difference between the sound pressure of the headphones and the standard sound pressure at the current rotation setting. This, in turn, facilitates the subsequent correction of the headphones' output volume, thereby improving the accuracy of the headphones' volume output.
[0046] In one embodiment, the step of sending a different signal to the headphone audio testing system based on the rotation angle volume difference to adjust the test volume output of the headphone includes: detecting whether the rotation angle volume difference matches a preset volume difference; when the rotation angle volume difference matches the preset volume difference, sending a volume maintenance signal to the headphone audio testing system to maintain the test volume output of the headphone at the volume corresponding to the preset volume difference. In this embodiment, the rotation angle volume difference is obtained based on the potential rotation angle setting state value and the preset setting state value. The potential rotation angle setting state value is the state value corresponding to the rotation angle of the potential knob of the headphone, that is, the potential rotation angle setting state value is the angle of the potential rotation angle of the headphone to the specified setting, or the potential rotation angle setting state value is the potential state corresponding to the rotation of the potential knob of the headphone to the specified angle. By collecting the voltage angle setting value, the rotation angle of the headphone's voltage knob can be detected, facilitating the acquisition of volume at a specified rotation angle. This allows for volume adjustment at the specified rotation angle, ensuring the voltage angle corresponds to the volume, thus improving the accuracy of the headphone's volume test. The preset setting value is the standard value corresponding to the rotation angle of the headphone's voltage knob; that is, the preset setting value is the reference angle from the headphone's voltage angle to the specified setting, or the specified voltage state corresponding to the headphone's voltage knob rotating to the specified angle. Comparing the voltage angle setting value with the preset setting value to determine the difference between the rotation angle and volume conversion facilitates the determination of the volume deviation corresponding to the current rotation angle of the headphone, and thus the degree of difference between the volume measured at the current rotation angle and the standard volume. In this way, the volume difference of the rotation angle matches the preset volume difference, indicating that the sound pressure corresponding to the rotation angle of the potentiometer is the same as the standard sound pressure. That is, it indicates that the sound pressure of the current rotation angle of the potentiometer is consistent with the original sound pressure, which also indicates that the current output volume of the headphones is the same as the standard volume. At this time, a volume maintenance signal is sent to the headphone audio measurement system to maintain the test volume output of the headphones at the volume corresponding to the preset volume difference, so that the volume output of the headphones is the same as the original output volume. No adjustment is required, and the previous standard volume can be continued.
[0047] Further, the step of detecting whether the rotation angle volume difference matches the preset volume difference includes: when the rotation angle volume difference does not match the preset volume difference, sending a volume update signal to the headphone audio measurement system to set the test volume output of the headphone to the volume corresponding to the rotation angle volume difference. In this embodiment, the rotation angle volume difference is obtained based on the potential rotation angle setting state value and the preset setting state value. The potential rotation angle setting state value is the state value corresponding to the rotation angle of the headphone's potential knob, that is, the potential rotation angle setting state value is the angle from the potential rotation angle of the headphone to the specified setting, or the potential state corresponding to the potential state when the potential knob of the headphone is rotated to the specified angle. By collecting the potential rotation angle setting state value, the rotation angle of the potential knob of the headphone can be detected, thereby facilitating the collection of volume at the specified rotation angle, and further facilitating the adjustment of the volume at the specified rotation angle, so that the potential rotation angle of the headphone corresponds to the volume, thereby improving the accuracy of the headphone volume test. The preset setting state value is the standard state value corresponding to the rotation angle of the headphone's voltage knob. In other words, the preset setting state value is the reference angle from the headphone's voltage knob rotation angle to the specified setting, or the specified voltage state corresponding to the headphone's voltage knob rotation to the specified angle. Comparing the voltage knob rotation angle setting state value with the preset setting state value to determine the difference between the rotation angle and volume conversion facilitates the determination of the volume deviation corresponding to the headphone's current rotation angle, and consequently, the degree of difference between the volume measured at the headphone's current rotation angle and the standard volume. Thus, the mismatch between the rotation angle volume difference and the preset volume difference indicates that the sound pressure corresponding to the rotation angle of the potentiometer is different from the standard sound pressure. This means that the sound pressure at the current rotation angle of the potentiometer deviates from the original sound pressure, and the current output volume of the headphones is not equal to the standard volume. At this time, a volume update signal is sent to the headphone audio measurement system to set the test volume output of the headphones to the volume corresponding to the rotation angle volume difference. This makes the volume output of the headphones based on the currently sampled volume, so as to update and adjust the correspondence between the rotation angle and the volume of the headphones, effectively improving the accuracy of the headphone output volume.
[0048] In the actual volume test of the headphones, the potentiometer adjusts its resistance by rotation, thereby adjusting the speaker output volume. The potentiometer knob has multiple raised sections that define different ranges; these sections are evenly spaced and arranged in a ring, dividing the knob's rotation angle into equal parts. For example, the knob angle can be set from 0 to 200°, with each 20° increment facilitating the acquisition of the corresponding potentiometer rotation angle value at a given range. This also facilitates the calibration of the speaker output volume at that angle, improving the accuracy of the correspondence between the headphone speaker volume and the potentiometer knob angle. However, actual headphone volume output is non-linear; the increase in volume varies with each increment. Furthermore, as the volume increases, the initial increase in volume is slow, which can prevent the desired volume from being reached quickly.
[0049] To facilitate a rapid increase in the volume output of the headphones, the step of sending a different signal to the headphone audio testing system based on the volume difference of the swivel angle to adjust the test volume output of the headphones, followed by the following steps:
[0050] The potential rotation angle is obtained based on the potential rotation angle setting value;
[0051] Detect whether the potential rotation angle is less than a preset rotation angle;
[0052] When the potential rotation angle is less than the preset rotation angle, a pitch-slope signal is sent to the headphone audio measurement system to increase the increment of the headphone's test volume output.
[0053] In this embodiment, the potential rotation angle is based on the potential rotation angle setting value. The potential rotation angle is the angle corresponding to when the potentiometer is rotated to a certain setting, that is, the potential rotation angle corresponds to the potentiometer's setting, and also corresponds to the headphone's volume output. The preset rotation angle is the angle corresponding to when the potentiometer is rotated to a specified setting, that is, the preset rotation angle corresponds to the potentiometer's specified setting, and also corresponds to the headphone's standard volume output. The fact that the potentiometer's rotation angle is less than the preset angle indicates that the potentiometer's rotation angle is below the specified angle. This means that the potentiometer has rotated the knob to a position before the specified level, and that the volume increment corresponding to the current rotation level is small. At this time, a boost angle signal is sent to the headphone audio testing system to increase the increment of the headphone's test volume output. This increases the volume increase corresponding to rotation angles less than the preset angle, thereby increasing the slope of the volume curve corresponding to rotation angles less than the preset angle. Consequently, the volume increase at the start of rotation is larger, allowing the potentiometer to quickly increase the volume to the desired level.
[0054] Further, after detecting whether the potential rotation angle is less than a preset rotation angle, the method further includes the following steps:
[0055] When the potential rotation angle is greater than the preset rotation angle, a volume reduction angle signal is sent to the headphone audio measurement system to reduce the increment of the headphone's test volume output.
[0056] In this embodiment, the potential rotation angle is based on the potential rotation angle setting value. The potential rotation angle is the angle corresponding to when the potentiometer is rotated to a certain setting, that is, the potential rotation angle corresponds to the potentiometer's setting, and also corresponds to the headphone's volume output. The preset rotation angle is the angle corresponding to when the potentiometer is rotated to a specified setting, that is, the preset rotation angle corresponds to the potentiometer's specified setting, and also corresponds to the headphone's standard volume output. The fact that the potentiometer's rotation angle is greater than the preset angle indicates that the potentiometer's rotation angle is greater than the specified angle. This means that the potentiometer has been rotated to a position beyond the specified level, and that the volume increment corresponding to the current rotation level is relatively large. At this time, a volume reduction slope signal is sent to the headphone audio testing system to reduce the increase in the headphone's test volume output. This reduces the volume increment corresponding to rotation angles greater than the preset angle, thereby lowering the slope of the volume curve corresponding to rotation angles greater than the preset angle. Consequently, the volume increase at later rotation levels is smaller, preventing damage to the user's hearing caused by rapid volume increases at high volumes.
[0057] Furthermore, the step of detecting whether the potential rotation angle is less than a preset rotation angle further includes the following steps:
[0058] When the potential rotation angle is equal to the preset rotation angle, the potential direction change is obtained based on the potential rotation angle;
[0059] Detect whether the potential steering amount matches the preset steering amount;
[0060] When the potential turning amount matches the preset turning amount, the potential rotation angle setting value corresponding to the next potential rotation angle is updated to the current potential rotation angle setting value, and a tilting vibration signal is sent to the headphone sound measurement system to trigger the headphone vibrator to start.
[0061] In this embodiment, the potential reversal amount is the rotation direction of the potentiometer knob. Specifically, the potential reversal amount corresponds to the clockwise rotation direction of the potentiometer. For example, when the potential reversal amount is greater than 0, the rotation direction of the potentiometer knob is clockwise, and the rotation angle of the potentiometer knob gradually increases. The preset rotation amount is the standard knob rotation direction of the potentiometer. Matching the potentiometer rotation amount with the preset rotation amount indicates that the knob rotation direction of the potentiometer is a specified clockwise rotation direction, that is, the knob of the potentiometer rotates along a predetermined rotation direction. Specifically, the preset rotation amount corresponds to the clockwise rotation direction of the potentiometer knob. At this time, the potentiometer rotation angle setting value corresponding to the next potentiometer rotation angle is updated to the current potentiometer rotation angle setting value, so that the volume output of the potentiometer at the current setting and the next setting is the same, thereby making the speaker of the headphones output equal volume at the two specified settings, so as to remind the user of the subsequent volume changes. At the same time, a tilting vibration signal is sent to the headphone sound measurement system to trigger the vibrator of the headphones, so that the vibration of the headphones can be felt by the user, thus allowing the user to know the changes in the output volume of the headphones in advance through both hearing and touch.
[0062] All the aforementioned preset variables are set in the database for easy retrieval. Different preset variables are placed in different storage units, i.e., in different storage stacks. Furthermore, the potential rotation angle setting value, potential rotation angle, and potential turning amount can be collected by the corresponding detectors, for example, by a potential acquisition device.
[0063] In one embodiment, this application also provides a headphone volume testing and monitoring device, which is implemented using the headphone volume testing and monitoring method described in any of the above embodiments. In one embodiment, the headphone volume testing and monitoring device has functional modules for implementing each step of the headphone volume testing and monitoring method. The headphone volume testing and monitoring device includes a potential acquisition unit and a volume control mainboard; the potential acquisition unit is used to acquire the potential angle setting status value of the headphone; the input terminal of the volume control mainboard is connected to the output terminal of the potential acquisition unit, and the volume control mainboard is used to perform angle-tone difference processing on the potential angle setting status value and the preset setting status value to obtain the angle volume difference value; and send a change signal to the headphone audio measurement system according to the angle volume difference value to adjust the test volume output of the headphone.
[0064] In this embodiment, the potential rotation angle setting value is collected by the potential acquisition device to determine the potential rotation angle of the headphones. Then, the volume control motherboard compares the potential rotation angle setting value with the preset setting value to determine the difference between the potential rotation angle and the specified potential rotation angle. Finally, the volume control motherboard adjusts the current test volume of the headphones according to the difference in the rotation angle to make the volume of the headphones correspond one-to-one with the rotation angle, effectively improving the accuracy of the headphone volume test.
[0065] Each module in the aforementioned headphone volume testing and monitoring device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0066] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 2 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The database stores data such as voltage rotation angle setting status values, rotation angle volume difference values, and other signals. The network interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a headphone volume testing and monitoring method.
[0067] Those skilled in the art will understand that Figure 2The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0068] In one embodiment, this application also provides a computer device including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0069] In one embodiment, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described method embodiments.
[0070] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0071] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this invention patent should be determined by the appended claims.
Claims
1. A method for testing and monitoring headphone volume, characterized in that, include: Obtain the voltage rotation angle setting value of the headphones; The voltage angle setting state value is the voltage state corresponding to the voltage knob of the earphone being rotated to a specified angle; The volume difference is obtained by performing angle-to-tone difference processing on the voltage rotation angle setting value and the preset setting value. The preset setting value is the voltage state corresponding to the voltage knob of the headphones rotated to a specified angle. The angle-to-tone difference processing is to compare the voltage rotation angle setting value and the preset setting value with the difference between the rotation angle and the volume conversion, so as to facilitate the determination of the volume deviation corresponding to the current rotation angle of the headphones. The headphone audio testing system is sent a volume update signal based on the volume difference to adjust the test volume output of the headphone; the volume update signal includes a volume maintenance signal and a volume update signal. The potential rotation angle is obtained based on the potential rotation angle setting value; Detect whether the potential rotation angle is less than a preset rotation angle; When the potential rotation angle is less than the preset rotation angle, a signal is sent to the headphone audio measurement system to increase the increment of the test volume output of the headphone.
2. The headphone volume testing and monitoring method according to claim 1, characterized in that, The voltage rotation angle setting value of the earphone includes: Obtain the potential corresponding to the rotation position of the potentiometer on the earphone.
3. The headphone volume testing and monitoring method according to claim 2, characterized in that, The voltage rotation angle setting value of the headphones also includes: Rotate the potentiometer knob to the desired rotation setting.
4. The headphone volume testing and monitoring method according to claim 2, characterized in that, The step of obtaining the potential corresponding to the rotation position of the potentiometer of the earphone includes: Obtain the sound pressure value at a specified rotation position of the potentiometer.
5. The headphone volume testing and monitoring method according to claim 4, characterized in that, The step of performing angle-tone difference processing on the voltage rotation angle setting state value and the preset setting state value to obtain the volume difference value includes: The sound pressure difference between the voltage rotation angle setting value and the preset setting value is calculated to obtain the volume difference.
6. The headphone volume testing and monitoring method according to claim 1, characterized in that, The step of sending a different signal to the headphone audio testing system based on the volume difference to adjust the test volume output of the headphone includes: Detect whether the volume difference matches a preset volume difference; When the volume difference matches the preset volume difference, a volume maintenance signal is sent to the headphone audio testing system to maintain the test volume output of the headphone at the volume corresponding to the preset volume difference.
7. The headphone volume testing and monitoring method according to claim 6, characterized in that, The step of detecting whether the volume difference matches a preset volume difference further includes: When the volume difference does not match the preset volume difference, a volume update signal is sent to the headphone audio testing system to set the test volume output of the headphone to the volume corresponding to the volume difference.
8. A headphone volume testing and monitoring device, characterized in that, include: A potential acquisition device is used to acquire the potential rotation angle setting value of the headphones; The voltage angle setting state value is the voltage state corresponding to the voltage knob of the earphone being rotated to a specified angle; A volume control motherboard, whose input terminal is connected to the output terminal of the potential acquisition unit, is used to perform angle-to-tone difference processing on the potential angle setting state value and the preset setting state value to obtain a volume difference value; based on the volume difference value, it sends a dimension signal to the headphone audio testing system to adjust the test volume output of the headphone; the preset setting state value is the potential state corresponding to the specified angle of the headphone's potential knob; the angle-to-tone difference processing compares the difference between the potential angle setting state value and the preset setting state value in terms of the difference between the rotation angle and the volume conversion, thereby facilitating the determination of the volume deviation corresponding to the current rotation angle of the headphone; the dimension signal includes a volume maintenance signal and a volume update signal; the volume control motherboard is also used to obtain the potential rotation angle based on the potential angle setting state value; detect whether the potential rotation angle is less than the preset rotation angle; when the potential rotation angle is less than the preset rotation angle, it sends a signal to the headphone audio testing system to increase the increment of the test volume output of the headphone.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
CN202406283U
KR1020070005360A