Headphone operation test collection method, device, computer equipment and storage medium
By obtaining the running test status parameters of the headphones and calculating the sampling time difference, the problem of inconsistent environment in traditional headphone testing methods is solved, and more accurate and efficient test results are achieved.
Patent Information
- Application Number
- CN202211176238.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-26
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2042-09-26
AI Technical Summary
Traditional headphone testing methods are difficult to ensure the consistency of the product status and environment of the two tests, which affects the accuracy of the test results.
By obtaining the running test status parameters of the headphones, the first sampling time and the second sampling time are determined, and the sampling time difference is obtained through time dissolution processing, and the operation parameter display signal is sent to the headphone monitoring system to display each working status data.
It ensures that the collection of various test parameters is in the same sampling environment, and improves the accuracy and testing efficiency of test results.
Smart Images

Figure CN115426608B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of earphone technology, and in particular to an earphone operation test collection method, device, computer equipment and storage medium. Background Art
[0002] During the design process of Bluetooth headsets, it is necessary to perform hardware testing on them. The operating current and voltage are collected by an external multimeter, and the product hardware is reviewed by observing and analyzing the collected current and voltage value curves. Similarly, Bluetooth headsets can read the power percentage through mobile phones or Bluetooth quick-connect boards, collect power percentage curves, and review the compatibility of product software and the product itself.
[0003] However, the traditional headphone testing method basically adopts separate sampling, which makes it difficult to ensure that the product status and environment of the two tests are consistent, which will have a certain impact on the accuracy of the test results. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide a headphone operation test collection method, device, computer equipment and storage medium that effectively improve the accuracy of the test results.
[0005] The objective of the present invention is achieved through the following technical solutions:
[0006] A headphone operation test collection method, the method comprising:
[0007] Get the running test status parameters of the headset;
[0008] Acquire a first sampling time and a second sampling time according to the running test state parameter;
[0009] Perform time dissolution processing on the first sampling time and the second sampling time to obtain a sampling time difference;
[0010] An operation parameter display signal is sent to the earphone monitoring system according to the sampling time difference to display various working status data of the earphone.
[0011] In one of the embodiments, obtaining the running test status parameters of the headset includes: obtaining the running electrical parameters of the headset.
[0012] In one of the embodiments, the obtaining of the first sampling time and the second sampling time according to the running test state parameter includes: obtaining the corresponding first sampling time according to the running electrical parameter.
[0013] In one of the embodiments, obtaining the running test status parameter of the headset includes: obtaining the running power of the headset.
[0014] In one of the embodiments, obtaining the first sampling time and the second sampling time according to the running test state parameter includes: obtaining the corresponding second sampling time according to the running power.
[0015] In one of the embodiments, sending an operation parameter display signal to the headphone monitoring system based on the sampling time difference to display various working status data of the headphone includes: detecting whether the sampling time difference matches the preset time difference; when the sampling time difference matches the preset time difference, sending an operation parameter display signal to the headphone monitoring system to simultaneously display various operating test status data of the headphone.
[0016] In one of the embodiments, the detecting whether the sampling time difference matches the preset time difference further includes: when the sampling time difference does not match the preset time difference, sending an operational warning signal to the headphone monitoring system.
[0017] A headset operation test collection device, the device comprising:
[0018] Operation parameter sampling module, used to obtain the operation test status parameters of the headset;
[0019] An operation parameter processing module is used to obtain a first sampling time and a second sampling time according to the operation test state parameter; the first sampling time and the second sampling time are time-dissolved to obtain a sampling time difference;
[0020] The operation parameter display module is used to send an operation parameter display signal to the headphone monitoring system according to the sampling time difference to display various working status data of the headphone.
[0021] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0022] Get the running test status parameters of the headset;
[0023] Acquire a first sampling time and a second sampling time according to the running test state parameter;
[0024] Perform time dissolution processing on the first sampling time and the second sampling time to obtain a sampling time difference;
[0025] An operation parameter display signal is sent to the earphone monitoring system according to the sampling time difference to display various working status data of the earphone.
[0026] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0027] Get the running test status parameters of the headset;
[0028] Acquire a first sampling time and a second sampling time according to the running test state parameter;
[0029] Perform time dissolution processing on the first sampling time and the second sampling time to obtain a sampling time difference;
[0030] An operation parameter display signal is sent to the earphone monitoring system according to the sampling time difference to display various working status data of the earphone.
[0031] Compared with the prior art, the present invention has at least the following advantages:
[0032] By determining the time of the running test state parameters, namely the first sampling time and the second sampling time, it is convenient to obtain the difference between the above two sampling times, thereby facilitating the determination of the sampling time intervals between different test parameters of the headset, and further facilitating the determination of the identity of the sampling time of each parameter in the running test state parameters, so that the displayed test parameters of the headset are collected at the same time, ensuring that the collection of each test parameter is under the same sampling environment, effectively improving the accuracy of the test results of the headset, and thus effectively improving the testing efficiency of the headset. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0034] Figure 1 It is a flow chart of a headphone operation test collection method in one embodiment;
[0035] Figure 2 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0036] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thoroughly understood.
[0037] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only and do not represent the only implementation method.
[0038] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0039] The present invention relates to a headphone operation test collection method. In one embodiment, the headphone operation test collection method includes obtaining the headphone operation test state parameters; obtaining the first sampling time and the second sampling time according to the operation test state parameters; performing time dissolution processing on the first sampling time and the second sampling time to obtain a sampling time difference; and sending a parameter display signal to the headphone monitoring system according to the sampling time difference to display various working state data of the headphone. By determining the time of the operation test state parameters, that is, the first sampling time and the second sampling time, it is convenient to obtain the difference between the above two sampling times, so as to facilitate the determination of the sampling time interval between different test parameters of the headphone, and then to facilitate the determination of the identity of the sampling time of each parameter in the operation test state parameters, so that the various test parameters of the displayed headphone are collected at the same time, ensuring that the collection of various test parameters is under the same sampling environment, effectively improving the accuracy of the test results of the headphone, and thus effectively improving the efficiency of the headphone test.
[0040] See also Figure 1 , which is a flow chart of a headphone operation test collection method according to an embodiment of the present invention. The headphone operation test collection method includes part or all of the following steps.
[0041] S100: Obtaining running test status parameters of the headset.
[0042] In this embodiment, the running test state parameter is the current running data of the headset, that is, the running test state parameter is the running parameter corresponding to the current test of the headset, that is, the various running data under the normal working state corresponding to the headset test. Among them, the running test state parameter includes multiple running state parameters of the headset, and all the running state parameters that can be used for testing in the headset are collected to test the current running state of the headset. Specifically, the running test state parameter includes the current hardware running parameters of the headset, so that the hardware working state of the headset can be tested, thereby detecting the hardware running status of the headset.
[0043] S200: Acquire a first sampling time and a second sampling time according to the running test state parameter.
[0044] In this embodiment, the running test state parameter is the current running data of the headset, that is, the running test state parameter is the running parameter corresponding to the current test of the headset, that is, the various running data under the normal working state corresponding to the headset test. Among them, the running test state parameter includes multiple running state parameters of the headset, and all the running state parameters that can be used for testing in the headset are collected, so as to test the current running state of the headset. Specifically, the running test state parameter includes the current hardware running parameters of the headset, so that the hardware working state of the headset can be tested, so that the hardware running status of the headset can be detected. After the running test state parameter is collected, each parameter in the running test state parameter corresponds to a sampling time, that is, the collection and acquisition time of the running test state parameter, and each running state of the headset corresponds to a sampling time when it is collected, so as to facilitate the accurate judgment of the sampling time node of the running test state parameter, so as to facilitate the subsequent determination of the sampling matching degree between the various running parameters of the headset, and then facilitate the subsequent improvement of the accuracy of the test results, and effectively reduce the comparison of the running parameters under different sampling environments. In this way, when the sampling time of the main operating parameters is obtained, that is, the first sampling time and the second sampling time, it is convenient to display the operating parameters that are subsequently used for testing and collected at the same time.
[0045] S300: performing time dissolution processing on the first sampling time and the second sampling time to obtain a sampling time difference.
[0046] In this embodiment, the running test state parameter is the current running data of the headset, that is, the running test state parameter is the running parameter corresponding to the current test of the headset, that is, the various running data under the normal working state corresponding to the headset test. Among them, the running test state parameter includes multiple running state parameters of the headset, and all the running state parameters that can be used for testing in the headset are collected, so as to test the current running state of the headset. Specifically, the running test state parameter includes the current hardware running parameters of the headset, so that the hardware working state of the headset can be tested, so that the hardware running status of the headset can be detected. After the running test state parameter is collected, each parameter in the running test state parameter corresponds to a sampling time, that is, the collection and acquisition time of the running test state parameter, and each running state of the headset corresponds to a sampling time when it is collected, so as to facilitate the accurate judgment of the sampling time node of the running test state parameter, so as to facilitate the subsequent determination of the sampling matching degree between the various running parameters of the headset, and then facilitate the subsequent improvement of the accuracy of the test results, and effectively reduce the comparison of the running parameters under different sampling environments. By acquiring the sampling time of the main operating parameters, i.e., the first sampling time and the second sampling time, it is convenient to acquire the sampling time of the important sampling parameters in the operating test state parameters. In this way, the time dissolution processing of the first sampling time and the second sampling time is to determine the time difference between the first sampling time and the second sampling time, i.e., to determine the time overlap between the first sampling time and the second sampling time, i.e., to determine the sampling time sequence between the important sampling parameters in the operating test state parameters.
[0047] S400: Sending an operating parameter display signal to an earphone monitoring system according to the sampling time difference to display various operating status data of the earphone.
[0048] In this embodiment, the sampling time difference is obtained based on the first sampling time and the second sampling time. By acquiring the sampling time of the main operating parameters, that is, the first sampling time and the second sampling time, it is convenient to obtain the sampling time of the important sampling parameters in the operating test state parameters. The sampling time difference is to determine the degree of time difference between the first sampling time and the second sampling time, that is, the sampling time difference is to determine the time overlap between the first sampling time and the second sampling time, that is, the sampling time difference is to determine the sampling time sequence between the important sampling parameters in the operating test state parameters. After obtaining the specific numerical value of the sampling time difference, the display of the operating test state parameters can be determined according to the size of the sampling time difference, so that the working status data within the same sampling period is displayed, which is convenient for displaying the operating test state parameters under the same sampling environment, and ensures that the displayed data is collected at the same time.
[0049] In the above embodiment, by determining the time of the running test state parameters, that is, the first sampling time and the second sampling time, it is convenient to obtain the difference between the above two sampling times, so as to facilitate the determination of the sampling time intervals between different test parameters of the headset, and further facilitate the determination of the identity of the sampling time of each parameter in the running test state parameters, so that the displayed various test parameters of the headset are collected at the same time, ensuring that the collection of various test parameters is under the same sampling environment, effectively improving the accuracy of the test results of the headset, and thus effectively improving the testing efficiency of the headset.
[0050] In one embodiment, the obtaining of the running test state parameters of the headset includes: obtaining the running electrical parameters of the headset. In this embodiment, the running test state parameters are the current running data of the headset, that is, the running test state parameters are the running parameters corresponding to the current test of the headset, that is, the various running data under the normal working state corresponding to the headset test. Wherein, the running test state parameters include multiple running state parameters of the headset, and all the running state parameters that can be used for testing in the headset are collected to facilitate testing the current running state of the headset. Specifically, the running test state parameters include the current hardware running parameters of the headset, so that the hardware working state of the headset can be tested, thereby enabling the hardware running status of the headset to be detected. Wherein, the running test state parameters include the running electrical parameters of the headset, and specifically, the running test state parameters include the working voltage and working current of the headset in the current test. The working voltage and working current of the headset are collected by connecting the multimeter to the electrodes of the headset, so as to facilitate the simultaneous collection of the running test state parameters of the headset.
[0051] Further, the obtaining of the first sampling time and the second sampling time according to the running test state parameters includes: obtaining the corresponding first sampling time according to the running electrical parameters. In the present embodiment, the running test state parameters are the current running data of the headset, that is, the running test state parameters are the running parameters corresponding to the current test of the headset, that is, the various running data under the normal working state corresponding to the headset test. Among them, the running test state parameters include multiple running state parameters of the headset, and all the running state parameters that can be used for testing in the headset are collected to facilitate testing of the current running state of the headset. Specifically, the running test state parameters include the current hardware running parameters of the headset, so that the hardware working state of the headset can be tested, thereby enabling the hardware running condition of the headset to be detected. After the operation test state parameters are collected, each parameter in the operation test state parameters corresponds to a sampling time, that is, the collection and acquisition time of the operation test state parameters. Moreover, each operation state of the headset corresponds to a sampling time when it is collected, which is convenient for accurately judging the sampling time node of the operation test state parameters, so as to facilitate the subsequent determination of the sampling matching degree between the various operation parameters of the headset, and then facilitate the subsequent improvement of the accuracy of the test results, and effectively reduce the comparison of operation parameters under different sampling environments. In this way, while collecting the operation electrical parameters of the headset, the operation electrical parameters correspond to a sampling time, that is, the first sampling time, that is, the first sampling time corresponds to the operation electrical parameters of the headset, which is convenient for subsequent comparison with the sampling time of other operation test state parameters, so as to facilitate the determination of the sampling time difference between the operation electrical parameters and other operation test state parameters, and then facilitate the processing and display of the operation electrical parameters sampled at the same time and other operation test state parameters.
[0052] In one embodiment, the obtaining of the running test state parameters of the headset includes: obtaining the running power of the headset. In this embodiment, the running test state parameters are the current running data of the headset, that is, the running test state parameters are the running parameters corresponding to the current test of the headset, that is, the various running data under the normal working state corresponding to the headset test. Among them, the running test state parameters include multiple running state parameters of the headset, and all the running state parameters that can be used for testing in the headset are collected to facilitate testing the current running state of the headset. Specifically, the running test state parameters include the current hardware running parameters of the headset, so that the hardware working state of the headset can be tested, thereby enabling the hardware running status of the headset to be detected. Among them, the running test state parameters include the running power of the headset, and specifically, the running test state parameters include the remaining battery capacity of the headset during the current test. Wireless connection is performed with the headset through a wireless device, for example, Bluetooth pairing is performed with the headset through a Bluetooth quick connect board to collect the remaining battery capacity of the headset.
[0053] Further, the obtaining of the first sampling time and the second sampling time according to the running test state parameter includes: obtaining the corresponding second sampling time according to the running power. In the present embodiment, the running test state parameter is the current running data of the headset, that is, the running test state parameter is the running parameter corresponding to the current test of the headset, that is, the various running data under the normal working state corresponding to the headset test. Among them, the running test state parameter includes a plurality of running state parameters of the headset, and all the running state parameters that can be used for testing in the headset are collected to facilitate testing the current running state of the headset. Specifically, the running test state parameter includes the current hardware running parameters of the headset, so that the hardware working state of the headset can be tested, thereby enabling the hardware running condition of the headset to be detected. After the operation test state parameters are collected, each parameter in the operation test state parameters corresponds to a sampling time, that is, the collection and acquisition time of the operation test state parameters. Moreover, each operation state of the headset corresponds to a sampling time when it is collected, which is convenient for accurately judging the sampling time node of the operation test state parameters, so as to facilitate the subsequent determination of the sampling matching degree between the various operation parameters of the headset, and then facilitate the subsequent improvement of the accuracy of the test results, and effectively reduce the comparison of operation parameters under different sampling environments. In this way, while collecting the operation power of the headset, the operation power corresponds to a sampling time, that is, the second sampling time, that is, the second sampling time corresponds to the operation power of the headset, which is convenient for subsequent comparison with the sampling time of the operation electrical parameters, so as to facilitate the determination of the sampling time difference between the operation power and the operation electrical parameters, and then facilitate the processing and display of the operation power and the operation electrical parameters sampled at the same time.
[0054] In one embodiment, the sending of an operation parameter display signal to the headphone monitoring system according to the sampling time difference to display various working status data of the headphone includes: detecting whether the sampling time difference matches the preset time difference; when the sampling time difference matches the preset time difference, sending an operation parameter display signal to the headphone monitoring system to simultaneously display various operation test status data of the headphone. In this embodiment, the sampling time difference is obtained based on the first sampling time and the second sampling time, and the sampling time of the important sampling parameters in the operation test status parameters is obtained by obtaining the sampling time of the main operation parameters, that is, the first sampling time and the second sampling time. The sampling time difference is to determine the degree of time difference between the first sampling time and the second sampling time, that is, the sampling time difference is to determine the time overlap between the first sampling time and the second sampling time, that is, the sampling time difference is to determine the sampling time sequence between the important sampling parameters in the operation test status parameters. After obtaining the specific numerical value of the sampling time difference, the display of the running test state parameters can be determined according to the size of the sampling time difference, so that the working state data within the same sampling period is displayed, which is convenient for displaying the running test state parameters under the same sampling environment, and ensures that the displayed data is collected at the same time. Among them, the preset time difference is the standard time difference of the headset in the test, that is, the preset time difference is the sampling reference time difference of each running test state parameter of the headset in the test, that is, the preset time difference is the time difference of each running test state parameter of the headset in the test. The sampling time difference matches the preset time difference, indicating that the sampling time difference of each current running test state parameter of the headset is within the standard time difference, that is, the sampling time difference of each current running test state parameter of the headset is within a reasonable range, that is, the sampling time of each current running test state parameter of the headset is within the same sampling period, and at this time, the sampling time of each current running test state parameter of the headset is the same. In this way, the headphone monitoring system sends an operation parameter display signal to simultaneously display the operation test status data of the headphone, which is convenient for displaying the operation test status parameters sampled simultaneously, thereby facilitating the display of the operation test status parameters under the simultaneous sampling environment, effectively improving the accuracy of the test results of the headphone, and the simultaneous sampling of the operation test status parameters effectively improves the efficiency of the headphone testing.
[0055] Further, the detection of whether the sampling time difference matches the preset time difference further includes: when the sampling time difference does not match the preset time difference, sending an operation display warning signal to the headphone monitoring system. In this embodiment, the sampling time difference is obtained based on the first sampling time and the second sampling time, and the sampling time of the important sampling parameters in the operation test state parameters is obtained by acquiring the sampling time of the main operation parameters, that is, the first sampling time and the second sampling time. The sampling time difference is to determine the degree of time difference between the first sampling time and the second sampling time, that is, the sampling time difference is to determine the time overlap between the first sampling time and the second sampling time, that is, the sampling time difference is to determine the sampling time sequence between the important sampling parameters in the operation test state parameters. After obtaining the specific numerical value of the sampling time difference, the display of the operation test state parameters can be determined according to the size of the sampling time difference, so that the working state data within the same sampling period is displayed, which is convenient for displaying the operation test state parameters under the same sampling environment, and ensures that the displayed data is collected at the same time. Among them, the preset time difference is the standard time difference of the headset in the test, that is, the preset time difference is the sampling reference time difference of each running test state parameter of the headset in the test, that is, the preset time difference is the time difference of each running test state parameter of the headset in the test. The sampling time difference does not match the preset time difference, indicating that the sampling time difference of each current running test state parameter of the headset is outside the standard time difference, that is, it indicates that the sampling time difference of each current running test state parameter of the headset is within an unreasonable range, that is, it indicates that the sampling time of each current running test state parameter of the headset is in two different sampling cycles, and the sampling time of the current running test state parameter of the headset is different at this time. In this way, the headset monitoring system sends an operation display warning signal to timely warn the sampled running test state parameters, and effectively avoids processing and displaying the running test state parameters under different sampling states.
[0056] It is understandable that the above tests are carried out before the earphones leave the factory. Although the performance of the earphones has been systematically tested, the earphones have the following power requirements during shipping and storage: 1. They cannot be stored at 100% battery level for a long time; 2. The battery level cannot be too low to turn on, causing users to mistakenly judge it as a bad phone. Therefore, during transportation and storage, the earphones and charging box are packaged in a physically isolated manner with a medium battery level. For example, the contact position of the earphones and the charging box is separated by a physical card. However, the use of physical isolation will increase packaging costs on the one hand, and reduce assembly efficiency on the other hand, resulting in a significant increase in the production cost of TWS earphones.
[0057] In order to solve the above problem, the method sends an operation parameter display signal to the earphone monitoring system according to the sampling time difference to display the working status data of the earphone, and then includes part or all of the following steps.
[0058] S501: Obtain pairing identification parameters of the headset.
[0059] In this embodiment, the pairing identification parameter is the current pairing parameter of the headset, that is, the pairing identification parameter is the identification parameter of the headset after the pairing is triggered, that is, the pairing identification parameter corresponds to the current pairing triggering status of the headset. By collecting the pairing identification parameter, it is convenient to monitor the pairing status of the headset, so as to facilitate determining the current pairing triggering status of the headset, and then to facilitate determining whether the headset is currently performing a pairing operation. Specifically, when the pairing module of the headset receives a pairing address or senses a pairing signal of sufficient strength, the pairing identification parameter will change, so as to facilitate determining the current pairing triggering status of the headset.
[0060] S502: Performing an initial matching process on the pairing identification parameter and the preset identification parameter to obtain a matching compensation amount.
[0061] In this embodiment, the pairing identification parameter is the current pairing parameter of the headset, that is, the pairing identification parameter is the identification parameter of the headset after the pairing is triggered, that is, the pairing identification parameter corresponds to the current pairing triggering situation of the headset. By collecting the pairing identification parameter, it is convenient to monitor the pairing status of the headset, so as to facilitate the determination of the current pairing triggering situation of the headset, and then to facilitate the determination of whether the headset is currently performing a pairing operation. Specifically, when the pairing module of the headset receives a pairing address or senses a pairing signal of sufficient strength, the pairing identification parameter will change, so as to facilitate the determination of the current pairing triggering state of the headset. The preset identification parameter is the standard pairing parameter of the headset, that is, the preset identification parameter is the identification parameter of the headset in a predetermined pairing state, that is, the preset identification parameter corresponds to the specified pairing triggering situation of the headset. Specifically, the preset identification parameter is the pairing identification parameter corresponding to the headset during the first pairing after leaving the factory. The pairing identification parameter is initially matched with the preset identification parameter, and the identification parameter is compared with the preset identification parameter to determine the difference between the pairing identification parameter and the preset identification parameter, that is, to determine the difference between the current pairing state of the headset and the standard pairing state, that is, to determine the difference between the current pairing triggering condition of the headset and the specified pairing triggering condition, that is, the matching compensation amount, so as to facilitate the subsequent adjustment of the power control state of the headset according to the matching compensation amount.
[0062] S503: Sending a corresponding power control signal to the earphone monitoring system according to the matching compensation amount to adjust the power control state of the earphone.
[0063] In this embodiment, the matching compensation amount is obtained based on the pairing identification parameter and the preset identification parameter, and the pairing identification parameter is the current pairing parameter of the headset, that is, the pairing identification parameter is the identification parameter of the headset after the pairing is triggered, that is, the pairing identification parameter corresponds to the current pairing triggering situation of the headset. By collecting the pairing identification parameter, it is convenient to monitor the pairing state of the headset, so as to facilitate the determination of the current pairing triggering situation of the headset, and then to facilitate the determination of whether the headset is currently performing a pairing operation. Specifically, when the pairing module of the headset receives a pairing address or senses a pairing signal of sufficient strength, the pairing identification parameter will change, so as to facilitate the determination of the current pairing triggering state of the headset. The preset identification parameter is the standard pairing parameter of the headset, that is, the preset identification parameter is the identification parameter of the headset in a predetermined pairing state, that is, the preset identification parameter corresponds to the specified pairing triggering situation of the headset, and specifically, the preset identification parameter is the pairing identification parameter corresponding to the headset when it is first paired after leaving the factory. The calibration compensation is used to determine the difference between the pairing identification parameter and the preset identification parameter, that is, the calibration compensation is used to determine the difference between the current pairing state of the headset and the standard pairing state, that is, the calibration compensation is used to determine the difference between the current pairing triggering situation of the headset and the specified pairing triggering situation. In this way, after determining the size of the calibration compensation, it is convenient to determine the pairing triggering situation of the headset, thereby facilitating the adjustment of the power control state of the headset, eliminating the need to separately add a physical isolation card, and effectively reducing production costs.
[0064] In this embodiment, by collecting the pairing status of the earphones and comparing it with the preset identification parameters, it is convenient to determine whether the earphones are currently paired. Finally, according to the earphone pairing status reflected by the matching compensation amount, it is convenient to control the power of the earphones, so that the power of the earphones can be controlled, eliminating the need to separately add a physical isolation card, and effectively reducing production costs. Among them, for power control, the power control of the charging box can also be achieved through communication between the earphones and the charging box. The power control method of the charging box is similar to the power control method of the earphones, which will not be repeated here.
[0065] In one embodiment, the obtaining of the pairing identification parameter of the headset includes: obtaining the wireless pairing status parameter of the headset. In this embodiment, the pairing identification parameter is the current pairing parameter of the headset, that is, the pairing identification parameter is the identification parameter of the headset after the pairing is triggered, that is, the pairing identification parameter corresponds to the current pairing triggering status of the headset. By collecting the pairing identification parameter, it is convenient to monitor the pairing status of the headset, so as to facilitate the determination of the current pairing triggering status of the headset, and then to facilitate the determination of whether the headset is currently performing a pairing operation. Specifically, when the pairing module of the headset receives a pairing address or senses a pairing signal of sufficient strength, the pairing identification parameter will change, so as to facilitate the determination of the current pairing triggering status of the headset. Among them, the pairing identification parameter is the wireless pairing status parameter of the headset, so that the pairing identification parameter corresponds to the characteristic identification of the headset in the wireless pairing situation, which is convenient for controlling the power of the headset according to the wireless pairing triggering situation of the headset.
[0066] In another embodiment, the wireless pairing status parameter includes the number of Bluetooth pairings. By detecting the number of Bluetooth pairings of the headset, it is convenient to determine whether the headset has triggered pairing, or to trigger the adjustment of the power control state of the headset when the number of pairings is specified.
[0067] Further, the pairing identification parameter and the preset identification parameter are initially matched to obtain the matching compensation amount, including: obtaining the difference between the number of Bluetooth pairing times and the preset number of pairing times to obtain the matching compensation amount. In this embodiment, the pairing identification parameter is the current pairing parameter of the headset, that is, the pairing identification parameter is the identification parameter of the headset after the pairing is triggered, that is, the pairing identification parameter corresponds to the current pairing triggering situation of the headset. By collecting the pairing identification parameter, it is convenient to monitor the pairing state of the headset, so as to facilitate the determination of the current pairing triggering situation of the headset, and then to facilitate the determination of whether the headset is currently performing a pairing operation. Specifically, when the pairing module of the headset receives a pairing address or senses a pairing signal of sufficient strength, the pairing identification parameter will change, so as to facilitate the determination of the current pairing triggering state of the headset. The preset identification parameter is the standard pairing parameter of the headset, that is, the preset identification parameter is the identification parameter of the headset in a predetermined pairing state, that is, the preset identification parameter corresponds to the specified pairing triggering situation of the headset, and specifically, the preset identification parameter is the pairing identification parameter corresponding to the headset during the first pairing after leaving the factory. The pairing identification parameter is initially matched with the preset identification parameter, and the identification parameter is compared with the preset identification parameter to determine the difference between the pairing identification parameter and the preset identification parameter, that is, to determine the difference between the current pairing state of the headset and the standard pairing state, that is, to determine the difference between the current pairing triggering condition of the headset and the specified pairing triggering condition. The pairing identification parameter corresponds to the Bluetooth pairing state of the headset, and by obtaining the difference between the Bluetooth pairing number and the preset pairing number, it is convenient to determine the current Bluetooth pairing triggering number of the headset, so as to facilitate the adjustment of the power control of the headset under the specified Bluetooth triggering number.
[0068] In another embodiment, the preset number of pairings is 1. In this embodiment, the preset number of pairings corresponds to the initial Bluetooth pairing of the headset, that is, the initial pairing of the headset after leaving the factory is the value corresponding to the preset number of pairings. In this way, after the headset leaves the factory, the initial Bluetooth pairing of the headset is triggered to adjust the power management of the headset. Specifically, after the initial Bluetooth pairing of the headset is triggered, the power management state of the headset is changed from the execution state to the cancellation state, that is, the power of the headset is no longer managed. Among them, the power management of the headset is to control the remaining capacity of the battery in the headset to 55% to 85%, ensuring that the battery of the headset has sufficient power.
[0069] In one embodiment, the sending of a corresponding power control signal to the headset monitoring system according to the matching compensation amount to adjust the power control state of the headset includes: detecting whether the matching compensation amount matches the preset compensation amount; when the matching compensation amount matches the preset compensation amount, sending a power control signal to the headset monitoring system to cancel the power control of the headset. In this embodiment, the matching compensation amount is obtained based on the pairing identification parameter and the preset identification parameter, and the pairing identification parameter is the current pairing parameter of the headset, that is, the pairing identification parameter is the identification parameter of the headset after the pairing is triggered, that is, the pairing identification parameter corresponds to the current pairing triggering state of the headset. By collecting the pairing identification parameter, it is convenient to monitor the pairing state of the headset, so as to facilitate determining the current pairing triggering state of the headset, and then to facilitate determining whether the headset is currently performing a pairing operation. Specifically, when the pairing module of the headset receives a pairing address or senses a pairing signal of sufficient strength, the pairing identification parameter will change, so as to facilitate determining the current pairing triggering state of the headset. The preset identification parameter is the standard pairing parameter of the headset, that is, the preset identification parameter is the identification parameter of the headset in a predetermined pairing state, that is, the preset identification parameter corresponds to the specified pairing triggering situation of the headset, specifically, the preset identification parameter is the pairing identification parameter corresponding to the headset when it is paired for the first time after leaving the factory. The matching compensation amount is used to determine the difference between the pairing identification parameter and the preset identification parameter, that is, the matching compensation amount is used to determine the difference between the current pairing state of the headset and the standard pairing state, that is, the matching compensation amount is used to determine the difference between the current pairing triggering situation of the headset and the specified pairing triggering situation. Among them, the preset compensation amount is the standard matching compensation amount of the headset, that is, the preset compensation amount is the matching compensation amount corresponding to the headset when a pairing trigger occurs, for example, the preset compensation amount is the matching compensation amount corresponding to the headset when the first Bluetooth pairing trigger occurs. The matching compensation amount matches the preset compensation amount, indicating that the headset currently has a pairing triggering situation, that is, indicating that the headset has the first Bluetooth pairing, that is, the headset has performed the first Bluetooth pairing operation. In this way, at this time, a power control cancellation signal is sent to the headset monitoring system to cancel the power control of the headset, so that the headset is in a state of canceling the power control, so that the headset changes the power control after triggering the specified number of pairings. Specifically, the power execution control state of the headset is changed to the power cancellation control state, so as to turn off the power control of the headset. Moreover, at this time, the power control state of the headset has changed after leaving the factory, that is, before the initial Bluetooth pairing connection is triggered, the headset is in a state of continuous power control, and after the initial Bluetooth pairing connection is triggered, the headset is in a state of no power control.
[0070] Furthermore, the detection of whether the matching compensation amount matches the preset compensation amount further includes: when the matching compensation amount does not match the preset compensation amount, sending a power matching and cancellation signal to the headset monitoring system, so that the headset is in a state of pairing triggering the cancellation of power control. In this embodiment, the matching compensation amount is obtained based on the pairing identification parameter and the preset identification parameter, and the pairing identification parameter is the current pairing parameter of the headset, that is, the pairing identification parameter is the identification parameter of the headset after the pairing is triggered, that is, the pairing identification parameter corresponds to the current pairing triggering status of the headset. By collecting the pairing identification parameter, it is convenient to monitor the pairing status of the headset, so as to facilitate the determination of the current pairing triggering status of the headset, and then to facilitate the determination of whether the headset is currently performing a pairing operation. Specifically, when the pairing module of the headset receives a pairing address or senses a pairing signal of sufficient strength, the pairing identification parameter will change, so as to facilitate the determination of the current pairing triggering status of the headset. The preset identification parameter is the standard pairing parameter of the headset, that is, the preset identification parameter is the identification parameter of the headset in a predetermined pairing state, that is, the preset identification parameter corresponds to the specified pairing triggering situation of the headset, specifically, the preset identification parameter is the pairing identification parameter corresponding to the headset when it is paired for the first time after leaving the factory. The matching compensation amount is used to determine the difference between the pairing identification parameter and the preset identification parameter, that is, the matching compensation amount is used to determine the difference between the current pairing state of the headset and the standard pairing state, that is, the matching compensation amount is used to determine the difference between the current pairing triggering situation of the headset and the specified pairing triggering situation. Among them, the preset compensation amount is the standard matching compensation amount of the headset, that is, the preset compensation amount is the matching compensation amount corresponding to the headset when a pairing trigger occurs, for example, the preset compensation amount is the matching compensation amount corresponding to the headset when the first Bluetooth pairing trigger occurs. The matching compensation amount does not match the preset compensation amount, indicating that the headset has not currently been paired. The headset has not performed the first Bluetooth pairing, that is, the headset has not performed the Bluetooth pairing operation. In this way, a power allocation and cancellation signal is sent to the headset monitoring system at this time, so that the headset is in a state of pairing triggering cancellation of power control, so that the power control state of the headset is in a state of changing power control after pairing is triggered. Specifically, the power execution control state of the headset is changed to the power control state after pairing is triggered, so as to facilitate power control of the headset. Moreover, at this time, the headset is in a state set before leaving the factory, that is, before the initial Bluetooth pairing connection is triggered, the headset is in a state of continuous power control. Once the initial Bluetooth pairing connection is triggered, the current control state of the headset is changed to a state of no power control.
[0071] The above-mentioned various preset variables are all set in the database to facilitate timely retrieval, and different preset variables are placed in different storage units, that is, in different storage stacks.
[0072] In one of the embodiments, the present application also provides an earphone operation test acquisition device, which is implemented by the earphone operation test acquisition method described in any of the above embodiments. In one of the embodiments, the earphone operation test acquisition device has a functional module corresponding to each step of the earphone operation test acquisition method. The earphone operation test acquisition device includes an operation parameter sampling module, an operation parameter processing module and an operation parameter display module; the operation parameter sampling module is used to obtain the operation test status parameters of the earphone; the operation parameter processing module is used to obtain a first sampling time and a second sampling time according to the operation test status parameters; the first sampling time and the second sampling time are time-dissolved to obtain a sampling time difference; the operation parameter display module is used to send an operation parameter display signal to the earphone monitoring system according to the sampling time difference to display the various working status data of the earphone.
[0073] In this embodiment, the time of running the test state parameters, i.e., the first sampling time and the second sampling time, is determined by the operation parameter sampling module, so that the operation parameter processing module can obtain the difference between the above two sampling times, thereby facilitating the determination of the sampling time intervals between different test parameters of the headset, and further facilitating the determination of the identity of the sampling time of each parameter in the running test state parameters, so that the various test parameters of the headset displayed by the operation parameter display module are collected at the same time, ensuring that the collection of various test parameters is under the same sampling environment, effectively improving the accuracy of the test results of the headset, thereby effectively improving the testing efficiency of the headset.
[0074] For the specific definition of the headphone operation test collection device, please refer to the definition of the headphone operation test collection device above, which will not be repeated here. Each module in the above-mentioned headphone operation test collection device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0075] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 2As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as operation test state parameters, a first sampling time, a second sampling time, a sampling time difference, and an operation parameter display signal. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a headphone operation test acquisition method is implemented.
[0076] Those skilled in the art will understand that Figure 2 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0077] In one of the embodiments, the present application further provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0078] In one of the embodiments, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0079] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database 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 memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0080] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A headphone operation test collection method, characterized in that: include: Get the running test status parameters of the headset; Acquire a first sampling time and a second sampling time according to the running test state parameter; The first sampling time and the second sampling time are time-dissolved to obtain a sampling time difference, wherein the time-dissolved processing of the first sampling time and the second sampling time is to determine the time difference degree between the first sampling time and the second sampling time; Sending an operation parameter display signal to the earphone monitoring system according to the sampling time difference to display various working status data of the earphone; The method further includes sending an operation parameter display signal to a headphone monitoring system according to the sampling time difference to display various working status data of the headphone, and then: Get the pairing identification parameters of the headset; Performing initial matching processing on the pairing identification parameter and the preset identification parameter to obtain a matching compensation amount, wherein the preset identification parameter is a pairing identification parameter corresponding to the headset during the initial pairing after leaving the factory; A corresponding power control signal is sent to the earphone monitoring system according to the matching compensation amount to adjust the power control state of the earphone.
2. The headphone operation test collection method according to claim 1, characterized in that: The obtaining of the running test status parameters of the headset includes: Obtain the operating electrical parameters of the headset.
3. The headphone operation test collection method according to claim 2, characterized in that: The obtaining of the first sampling time and the second sampling time according to the running test state parameter includes: A corresponding first sampling time is acquired according to the operating electrical parameter.
4. The headphone operation test collection method according to claim 1, characterized in that: The obtaining of the running test status parameters of the headset includes: Obtain the operating power of the headset.
5. The headphone operation test collection method according to claim 4, characterized in that: The obtaining of the first sampling time and the second sampling time according to the running test state parameter includes: A corresponding second sampling time is acquired according to the running power.
6. The headphone operation test collection method according to claim 1, characterized in that: The sending of an operation parameter display signal to the earphone monitoring system according to the sampling time difference to display various working status data of the earphone includes: Detecting whether the sampling time difference matches the preset time difference; When the sampling time difference matches the preset time difference, an operation parameter display signal is sent to the earphone monitoring system to simultaneously display the operation test status data of the earphone.
7. The headphone operation test collection method according to claim 6, characterized in that: The step of detecting whether the sampling time difference matches the preset time difference further includes: When the sampling time difference does not match the preset time difference, an operation display warning signal is sent to the earphone monitoring system.
8. A headphone operation test collection device, characterized in that: include: Operation parameter sampling module, used to obtain the operation test status parameters of the headset and the pairing identification parameters of the headset; An operation parameter processing module, used for obtaining a first sampling time and a second sampling time according to the operation test state parameter; The first sampling time and the second sampling time are time-dissolved to obtain a sampling time difference, and the pairing identification parameter and the preset identification parameter are initially matched to obtain a matching compensation amount, wherein the preset identification parameter is a pairing identification parameter corresponding to the headset during the initial pairing after leaving the factory, wherein the time-dissolved processing of the first sampling time and the second sampling time is to determine the time difference degree between the first sampling time and the second sampling time; An operation parameter display module is used to send an operation parameter display signal to the headphone monitoring system according to the sampling time difference to display the working status data of the headphone, and to send a corresponding power control signal to the headphone monitoring system according to the standard compensation amount to adjust the power control status of the headphone.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Bluetooth earphone power consumption detection device
CN210469738U
Measurement synchronization methods for distributed monitoring systems
US20190112075A1