Heart rate testing method and system, terminal equipment and computer readable storage medium

By using a signal reflection device in earphone heart rate detection to simulate the signal reflection situation in real applications, and combining the signal processing of the control device and the earphone under test, the problem of insufficient accuracy of earphone heart rate detection in the existing technology is solved, and a more efficient and accurate result is achieved. heart rate test.

CN118697314APending Publication Date: 2024-09-27SHENZHEN GRANDSUN ELECTRONICS CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410871004.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing headphone heart rate detection technology cannot obtain accurate test data, making it impossible to guarantee the accuracy of the headphone heart rate test function.

Method used

By using turntables and reflective surfaces in the signal reflection device to simulate the signal reflection situation in real applications, and combining the signal processing of the control equipment and the headset under test, the accuracy and efficiency of the headset heart rate test can be improved.

Benefits of technology

It improves the authenticity and accuracy of headphone heart rate testing, simplifies the testing process, reduces the need for external equipment, and reduces testing errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118697314A
    Figure CN118697314A
Patent Text Reader

Abstract

The invention is suitable for the technical field of heart rate testing, and provides a heart rate testing method and system, terminal equipment and a computer readable storage medium, and the method comprises the steps that control equipment sends a first signal to a signal reflection device, and the first signal comprises rotation frequency; after receiving the first signal, the signal reflection device reflects a second signal sent by the to-be-tested earphone according to the rotation frequency, so that the to-be-tested earphone obtains a reflected third signal; the earphone to be tested performs signal processing according to the third signal to obtain a fourth signal, and sends the fourth signal to the control device; and after receiving the fourth signal, the control equipment compares the fourth signal with the rotating speed to test the performance of the earphone. According to the method, the test precision of the earphone heart rate test can be improved, the test process is simple and convenient, and the test efficiency of the earphone heart rate test is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of heart rate testing technology, and in particular, relates to a heart rate testing method, system, terminal device and computer-readable storage medium. Background Art

[0002] Heart rate is one of the important indicators that reflect the physiological state of the human body. By monitoring heart rate in real time through headphones, users can better understand their health status, especially when exercising and fitness, they can adjust the intensity of exercise according to heart rate to avoid overtraining. In order to ensure that the heart rate detection function of each headset is normal before leaving the factory, and the heart rate detection accuracy is in line with the product technical specifications, it is particularly important in actual production.

[0003] In related methods, it is impossible to obtain accurate heart rate test data, and the accuracy of the headphone heart rate test function cannot be guaranteed. After a large amount of data research, we selected the auricle area rich in red blood cells as the detection area, effectively reducing the interference of natural light and artificial light sources, and using multi-directional monitoring technology to make the heart rate data more reliable. Summary of the invention

[0004] The embodiment of the present application provides a heart rate testing method, which can improve the test accuracy of the headphone heart rate test, and the test process is simple, thereby improving the test efficiency of the headphone heart rate test.

[0005] In a first aspect, an embodiment of the present application provides a testing method, comprising:

[0006] The control device sends a first signal to the signal reflection device, wherein the first signal includes a rotation frequency;

[0007] After receiving the first signal, the signal reflecting device reflects the second signal sent by the headset to be tested according to the rotation frequency, so that the headset to be tested obtains the reflected third signal;

[0008] The headset to be tested performs signal processing according to the third signal to obtain a fourth signal, and sends the fourth signal to the control device;

[0009] After receiving the fourth signal, the control device tests the performance of the earphone to be tested according to the fourth signal and the rotation frequency.

[0010] In an embodiment of the present application, after the signal reflection device receives the first signal sent by the control device, it adjusts or reflects the second signal sent by the headset to be tested according to the rotation frequency in the first signal, and the adjusted or reflected second signal (third signal) is returned to the headset to be tested by the reflection system, which is equivalent to simulating the reflection of the signal in actual application. The signal processor in the headset to be tested obtains the fourth signal by subjecting the reflected third signal to a series of signal processing. After the control device receives the fourth signal, it analyzes the performance of the headset to be tested in combination with the initial rotation frequency. In other words, the signal reflection device can simulate the reflection of the signal in a real application. The headset to be tested processes the reflected signal to obtain a processed signal (fourth signal). Finally, the control device analyzes the performance of the headset to be tested according to the preset data (revolutions per minute rpm). The above method can improve the test accuracy of the headset heart rate test, and the test process is simple, thereby improving the test efficiency of the headset heart rate test.

[0011] In a possible implementation of the first aspect, the signal reflecting device includes a turntable, and the turntable includes a reflecting surface;

[0012] The step of the signal reflecting device reflecting the second signal sent by the headset to be tested according to the rotation frequency includes:

[0013] The signal reflecting device rotates the turntable according to the rotation frequency, so that the reflecting surface on the turntable reflects the second signal sent by the earphone to be tested.

[0014] In the embodiment of the present application, the turntable is the core component of the signal reflection device, which can rotate under the control of the control device. The turntable is provided with reflection surfaces, which reflect the incident signal when the turntable rotates. The reflection surfaces may be made of different materials to absorb or reflect the signal. The design of the signal reflection device is intended to comprehensively test the performance of the headset by simulating the reflection conditions in actual use. This method not only improves the authenticity and effectiveness of the test, but also improves the efficiency and accuracy of the test.

[0015] In a possible implementation manner of the first aspect, the headset to be tested performs signal processing according to the third signal to obtain a fourth signal, including:

[0016] The headphone to be tested obtains an AC signal in the third signal;

[0017] The earphone under test performs time domain analysis on the AC signal to obtain the time domain characteristics of the AC signal;

[0018] The earphone to be tested generates a detection value according to the time domain characteristics, and the fourth signal is the detection value.

[0019] In the embodiment of the present application, the headset to be tested first needs to extract the AC signal from the third signal. The AC signal refers to a changing signal, which can reflect the reflection of the signal. The AC signal is analyzed in the time domain and the time domain characteristics of the signal are obtained. The detection value can be obtained according to the time domain characteristics. The above method can accurately identify and analyze the performance of the signal at different frequencies. Through internal processing and analysis, the demand for external test equipment can be reduced, the accuracy of the test can be improved, and the test error can be reduced.

[0020] In a possible implementation of the first aspect, when testing the heart rate performance of the headset to be tested, the detection value is a heart rate value;

[0021] The headset under test generates a test value based on the time domain characteristics, including:

[0022] The headset to be tested obtains the number of signal peaks within a preset time according to the time domain characteristics;

[0023] The headset under test determines the heart rate value based on the number of signal peaks.

[0024] In the embodiment of the present application, the headset to be tested uses the time domain feature to determine the number of peaks of the preset time signal. By counting the number of peaks in the signal, the headset to be tested can calculate the heart rate value.

[0025] In a possible implementation manner of the first aspect, the step of controlling the device to test the performance of the headset to be tested according to the fourth signal and the rotation frequency includes:

[0026] The control device calculates the difference between the heart rate value and the preset value corresponding to the rotation frequency;

[0027] If the difference is within the preset error, the performance of the headset under test is determined to be qualified.

[0028] In an embodiment of the present application, after receiving the heart rate value measured by the headset to be tested, the control device compares it with the preset performance standard value and calculates the difference between the two. This preset value may be set based on the design goals and performance requirements of the headset, and the control device compares the calculated difference value with the preset error range. If the difference value is within the preset error, the performance of the headset to be tested is judged to be qualified; if the difference value exceeds the preset error range, the performance is judged to be unqualified. Through the digitized difference value and the preset error range, the performance of the headset can be objectively evaluated, avoiding errors in subjective judgment.

[0029] In a second aspect, an embodiment of the present application provides a heart rate testing system, including:

[0030] The control device and the signal reflection device, the heart rate test system are used to implement any test method as described in the first aspect above.

[0031] In a possible implementation of the second aspect, the heart rate test system further includes a Bluetooth device; the Bluetooth device is connected to the signal reflection device and the control device respectively; and the control device communicates with the signal reflection device through the Bluetooth device.

[0032] In a possible implementation manner of the second aspect, the signal reflecting device includes a turntable, the turntable includes a reflecting surface, and the reflecting surface is used to reflect the signal sent by the headset to be tested.

[0033] In a possible implementation manner of the second aspect, different reflection regions have the same area and different materials.

[0034] In a possible implementation manner of the second aspect, each reflection area includes a transition area, different transition areas have the same area and the same material, and the transition area is used to smooth the reflection signal.

[0035] In a possible implementation manner of the second aspect, the signal reflecting device further includes a driving device, the driving device is connected to the control device and the turntable respectively, and the control device communicates with the signal reflecting device via a Bluetooth device.

[0036] In a possible implementation manner of the second aspect, the signal reflection device includes an earphone fixture, which is fixed above the turntable to fix the earphone to be tested and to transmit the signal.

[0037] In a possible implementation manner of the second aspect, the earphone jig further includes an earphone fixing jig, and the earphone fixing jig is used to fix the earphone to be tested.

[0038] In a possible implementation manner of the second aspect, the earphone fixture further includes a sleeve, the sleeve is connected to the earphone fixing fixture, and the sleeve is used to transmit signals.

[0039] In a possible implementation manner of the second aspect, the sleeve further includes a reflective sticker, which is arranged on the inner wall of the sleeve, and is used to amplify the reflected signal.

[0040] In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a heart rate test method as described in any one of the first aspects above is implemented.

[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the heart rate testing method as described in any one of the first aspects above.

[0042] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes the heart rate testing method of any one of the above-mentioned first aspects.

[0043] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0045] Figure 1 This is a schematic diagram of the heart rate test system provided in the embodiment of the present application. Figure 1 ;

[0046] Figure 2 This is a schematic diagram of the heart rate test system provided in the embodiment of the present application. Figure 2 ;

[0047] Figure 3 This is a schematic diagram of the heart rate test system provided in the embodiment of the present application. Figure 3 ;

[0048] Figure 4 It is a heart rate dial of a headphone heart rate test system provided in an embodiment of the present application;

[0049] Figure 5 is the analog signal waveform provided in the embodiment of the present application;

[0050] Figure 6 This is a schematic diagram of the heart rate test system provided in the embodiment of the present application. Figure 4 ;

[0051] Figure 7 This is a schematic diagram of the heart rate test system provided in the embodiment of the present application. Figure 5 ;

[0052] Figure 8 This is a schematic diagram of the heart rate test system provided in the embodiment of the present application. Figure 6 ;

[0053] Fig. 9 This is a schematic diagram of the heart rate test system provided in the embodiment of the present application. Figure 7 ;

[0054] Fig.10 is a schematic diagram of the overall structure of the heart rate test system provided in an embodiment of the present application;

[0055] Fig.11 It is a flow chart of the testing method provided in the embodiment of the present application;

[0056] Fig.12 is a schematic diagram of obtaining a fourth signal provided in an embodiment of the present application;

[0057] Fig.13 It is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, systems, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0059] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0060] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0061] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0062] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0063] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.

[0064] Heart rate is one of the important indicators that reflect the physiological state of the human body. By monitoring heart rate in real time through headphones, users can better understand their health status, especially when exercising and fitness, they can adjust the intensity of exercise according to heart rate to avoid overtraining. In order to ensure that the heart rate detection function of each headset is normal before leaving the factory, and the heart rate detection accuracy is in line with the product technical specifications, it is particularly important in actual production.

[0065] In related methods, it is impossible to obtain accurate heart rate test data, and the accuracy of the headphone heart rate test function cannot be guaranteed. After a large amount of data research, we selected the auricle area rich in red blood cells as the detection area, effectively reducing the interference of natural light and artificial light sources, and using multi-directional monitoring technology to make the heart rate data more reliable.

[0066] In order to solve the problems arising in the above-mentioned related methods, an embodiment of the present application provides a headphone heart rate test system. In the present application, a heart rate test system is built by finding suitable materials and environments. The heart rate test system is used to simulate the heart rate parameters when wearing headphones in a real human environment. Through the heart rate test system, the headphone to be tested transmits a signal, and the signal is absorbed or reflected by the relevant materials in the system, which can simulate the absorption and reflection function of human skin to light. The signal processor of the headphone to be tested obtains the reflected signal of the signal transmitted by the headphone to be tested according to the heart rate test system, and analyzes the reflected signal, and calculates the heart rate value detected by the headphone to be tested according to the information in the reflected signal. Finally, the calculated heart rate value is compared with the preset value for accuracy to determine the heart rate detection performance of the headphone to be tested. The above method improves the authenticity and effectiveness of the test, and improves the efficiency and accuracy of the test.

[0067] See also Figure 1 , is a schematic diagram of a heart rate test system provided in an embodiment of the present application Figure 1 ,like Figure 1 As shown, the heart rate testing system 5 includes a control device 11 and a signal reflecting device 12 , and the control device 11 is connected to the signal reflecting device 12 .

[0068] In the embodiment of the present application, the control device 11 is a component of the heart rate test system 5, which is responsible for sending control signals, receiving signals and executing corresponding control logic. The control device 11 sends control signals to the signal reflection device 12 to guide the test process. Among them, the control device 11 can be a personal computer (PC), and the PC may run special control software, which can exchange data and command control with field equipment (such as machines, sensors, actuators, etc.) through various communication protocols.

[0069] The signal reflection device 12 is another key part of the heart rate test system 5, which is used to reflect or adjust the signal during the test. This device may include various sensors, reflectors, modulators or other components for processing signals. The signal reflection device 12 receives control signals from the control device 11 and performs specific operations based on these signals. The connection between the control device 11 and the signal reflection device 12 ensures that the control device can effectively send instructions and receive feedback from the signal reflection device.

[0070] Specifically, the connection between the control device 11 and the signal reflection device 12 can be carried out through a hardware interface communication protocol, such as RS32 program control protocol. When using the RS32 protocol for communication, the control device will send specific instructions to the controlled device, and the controlled device will perform corresponding operations according to these instructions. In order to ensure the correct implementation of RS32 protocol communication, the interface hardware and software between the control device 11 and the signal reflection device need to be designed and configured according to the specifications of the protocol. This may include specific hardware interface cards, communication modules, and software tools for configuration and management.

[0071] In the above heart rate test system, the connection method between the control device 11 and the signal reflection device 12 can ensure that the control device 11 can effectively send instructions and receive feedback from the signal reflection device 12.

[0072] In one implementation, see Figure 2 , is a schematic diagram of a heart rate test system provided in an embodiment of the present application Figure 2 ,like Figure 2 As shown, the heart rate test system 5 further includes a Bluetooth device 13 ; the control device 11 communicates with the signal reflection device 12 via the Bluetooth device 13 .

[0073] In the embodiment of the present application, the Bluetooth device 13 is a wireless communication device that allows devices to exchange data within a short distance. Bluetooth technology is an open standard and is widely used in various devices.

[0074] Specifically, the Bluetooth device 13 can be a Bluetooth adapter, and the Bluetooth adapter and the signal reflection device can be connected wirelessly. Its function is to transmit the data collected by the signal reflection device 12 to the Bluetooth adapter through Bluetooth wireless technology, and then the Bluetooth adapter and the monitoring device 11 are connected through a serial port, and the data can be sent to the control device 11 through the serial port. This setting allows the signal reflection device to communicate with the control device within the wireless range, while maintaining the stability and compatibility of the serial port communication.

[0075] It should be noted that the signal reflection device 12 communicates with the Bluetooth adapter via the Bluetooth protocol to send data or receive instructions. This wireless communication method avoids the limitations of physical connections and improves the mobility and flexibility of the device. The Bluetooth adapter converts the received Bluetooth signals into serial port signals so that the control device 11 can read and process these signals.

[0076] In the above-mentioned heart rate test system, the wireless connection between the signal reflection device 12 and the Bluetooth device 13 makes the position of the reflection device more flexible, not restricted by physical cables, and easy to install and deploy. The serial port connection between the control device 11 and the Bluetooth device 13 usually provides higher data transmission stability and reliability, which is conducive to the accurate transmission of control commands.

[0077] In one implementation, see Figure 3 , is a schematic diagram of a heart rate test system provided in an embodiment of the present application Figure 3 ,like Figure 3 As shown, the signal reflection device 12 includes a turntable 121, and the turntable 121 includes a reflection surface 1211, and the reflection surface 1211 is used to reflect the signal sent by the headset to be tested.

[0078] In the embodiment of the present application, the signal reflecting device 12 also includes a turntable 121, where the turntable 121 can be a physical device that can rotate or move. A reflecting surface 1211 is provided on the turntable 121. The reflecting surface 1211 can be a smooth surface, such as made of metal or other highly reflective materials, so that it can effectively reflect the signal. In other applications, the reflecting surface 1211 may be a special coating or film, which can adjust the characteristics of the reflected signal, such as reflectivity, as needed. The position and shape of the reflecting surface 1211 will also affect the effect of reflection.

[0079] Specifically, the turntable 121 can be a motor turntable, which usually refers to a rotating device equipped with a motor, used to drive the rotating part of some mechanical equipment. The reflective surface 1211 can be set as a two-color turntable to simulate the movement trajectory of the heart rate. Find a suitable material, such as gray represents a material with high reflectivity, black represents a material with low reflectivity, and add a reflective material in the intermediate transition area. Driven by the motor, the turntable 121 keeps rotating, and the reflective surface 1211 on the turntable can reflect the infrared light signal sent by the headset to be tested.

[0080] In the above heart rate test system, the rotation of the turntable enables the reflective surface to reflect the signal from different angles, thereby increasing the diversity of signal coverage. The reflective surface is directly arranged on the turntable, which can simplify the structural design of the device and reduce the complexity of the system.

[0081] In one embodiment, the reflective surface 1211 includes two reflective areas, and different reflective areas have different corresponding reflectivities.

[0082] In the embodiment of the present application, the two reflection areas are used to simulate the absorption or reflection intensity of infrared signals during diastole and systole. For example, one reflection area may be designed to be highly reflective, used to reflect most of the infrared signals. When the reflection area simulates the contraction of the heart, the density of hemoglobin is high during the contraction of the heart, and more infrared light will be reflected. The other reflection area may be low-reflective or translucent, used to allow part of the light to pass through. When the reflection area simulates the diastole of the heart, the density of hemoglobin is low during the diastole of the heart, and more infrared light will be absorbed, which is equivalent to reflecting lower infrared light. Among them, each reflection area is added with a transition area to smooth the reflection signal so that the reflection signal is more consistent with the heart rate trajectory of the human body.

[0083] In one embodiment, different reflection regions have the same area and different materials.

[0084] In the embodiment of the present application, when selecting the material, the two reflection areas can be set to different infrared signal reflectances according to different colors (materials), such as one reflection area can be set to gray, gray represents a material with high reflectivity, and the other reflection area can be set to black, black represents a material with low reflectivity. The areas of the reflection areas are equal, which means that on the entire reflection surface, each area has the same effect on light or sound waves. This design can ensure the uniformity and balance of the system.

[0085] In the above heart rate test system, the design of the reflective surface of the turntable takes into account the functional requirements of different areas. By changing the material (color) setting of the reflective area, the actual environment of the human body is simulated to improve the accuracy of the reflected signal. At the same time, the transition area of ​​the same material is used to ensure the smooth transition and stability of the entire system.

[0086] In one embodiment, each of the reflection regions includes a transition region, and different transition regions have the same area and the same material, and the transition region is used to smooth the reflection signal.

[0087] In the embodiment of the present application, each reflection area has a transition area. The function of the transition area is to smoothly transition between the two reflection areas. The material settings of the transition areas are the same, which means that in the transition area, the infrared light propagation characteristics are uniform, thereby ensuring the performance and stability of the entire system. The reflection areas are equal in area, which means that on the entire reflection surface, each area has the same effect on light or sound waves. This design can ensure the uniformity and balance of the system.

[0088] See also Figure 4 , is a heart rate dial of a headphone heart rate test system provided in an embodiment of the present application, such as Figure 4 As shown, the heart rate dial 121 is divided into two equal reflection areas m and n on the left and right. The colors of the reflection area m and the reflection area n can be set to gray and black respectively. Gray represents a material with low infrared light absorption rate, and black represents a material with high infrared light absorption rate. A transition reflectivity material (whose reflectivity is in the middle) is found between these two extreme reflectivity materials, as shown in FIG. Figure 4 The transition region j and the transition region k are shown in FIG. Among them, the reflection region m and the reflection region n have the same area and different reflectivities, and the transition region j and the transition region k have the same area and the same reflectivity.

[0089] See also Figure 5 , is the analog signal waveform provided in the embodiment of the present application, such as Figure 5 As shown in FIG. 1 , when only two reflection areas m and reflection area n are used to reflect the infrared signal, the reflection signal obtained is a square wave signal (such as Figure 5 Therefore, by adding a transition region, a sinusoidal analog signal can be generated instead of a square wave, which is closer to the actual ECG type of the human body (such as Figure 5 (shown in p)

[0090] See also Figure 6 , is a schematic diagram of the earphone heart rate test device provided in the embodiment of the present application Figure 4 ,like Figure 6 As shown, the signal reflecting device 12 includes a driving device 52 , which is connected to the control device 11 and the turntable 121 respectively. The control device 11 drives the signal reflecting device 12 through the driving device 52 .

[0091] In the embodiment of the present application, the driving device 52 is a component in the signal reflection device 12, which is responsible for executing the signals sent by the control device 11. These signals may include start, stop, speed adjustment, and direction control.

[0092] Specifically, the driving device 52 can be a motor, which receives a program-controlled instruction containing a rotation frequency sent by the control device 11. When the motor receives the start signal sent by the control device 11, the motor starts to rotate at the rotation frequency contained in the signal. If the motor receives an RS-232 program-controlled instruction sent by the control device 11, the instruction is to start the motor to rotate, and its rotation frequency is a, then after receiving the instruction, the motor performs the corresponding operation according to the instruction. The turntable 121 and the motor (driving device 52) can be mechanically connected, such as connecting the output shaft of the motor to the input shaft of the turntable, and gears, belts, chains or other transmission devices may be used. The control device 11 sends a control signal to the motor to adjust the operation of the motor to achieve the desired rotation speed or rotation frequency, thereby driving the rotation of the motor turntable.

[0093] In one embodiment, see Figure 7 , is a schematic diagram of the earphone heart rate test device provided in the embodiment of the present application Figure 5 ,like Figure 7 As shown, the heart rate test system further includes an earphone fixture 53, which is fixed above the turntable 121 and is used to fix the earphone to be tested and to transmit signals.

[0094] In the embodiment of the present application, the earphone fixture 53 generally refers to a special tool or device for placing the earphone to be tested, and its fixing method depends on its design and working principle. It may be fixed on the turntable 121 by screws, clamps or other fixing devices to ensure that the earphone to be tested maintains a stable position during the test. The earphone fixture 53 can help the tester to accurately place the earphone, ensure that the position and direction of the earphone are consistent during each test, and ensure that the position and direction of the infrared light sent by the earphone to the turntable by the earphone fixture 53 are also consistent. This helps to reduce test errors and ensure the accuracy of the test results.

[0095] In addition, the earphone fixture 53 can also realize other functions, for example, it can be equipped with sensors or measuring devices to monitor the working status or performance parameters of the earphone, which helps the tester to better understand the working status of the earphone and evaluate and analyze it.

[0096] In the above-mentioned heart rate test system, the earphone fixture is fixed on the turntable, which can conveniently test the earphones in different positions without manually adjusting the position of the earphones, thereby improving the test efficiency. The rotation of the turntable combined with the fixed earphone fixture can accurately control the test position of the earphones to ensure the consistency and accuracy of each test.

[0097] In one embodiment, see Figure 8 , is a schematic diagram of a heart rate test system provided in an embodiment of the present application Figure 6 ,like Figure 8As shown, the earphone fixture 53 includes an earphone fixing fixture 54, and the earphone fixing fixture 54 is used to fix the earphone to be tested.

[0098] In the embodiment of the present application, the earphone fixing fixture 54 is a device for fixing the earphone to be tested, which can be a clamp, a bracket or other fixing device. The function of the earphone fixing fixture 54 is to ensure that the earphone to be tested remains stable during the test process and will not move due to the weight of the earphone or external interference.

[0099] In one embodiment, see Fig. 9 , is a schematic diagram of a blood oxygen test system provided in an embodiment of the present application Figure 7 ,like Fig. 9 As shown, the earphone fixture 53 also includes a sleeve 55, which is connected to the earphone fixing fixture 54. The sleeve 55 is used to transmit signals.

[0100] In the embodiment of the present application, the sleeve 55 may be a hollow cylindrical structure, and the design of the sleeve is to place the signal sent by the test headset in a transmission path to ensure that the signal can be completely transmitted or reflected. It is also used to isolate external noise to ensure the accuracy of the test results.

[0101] There may be many ways to connect the sleeve 55 and the earphone fixing fixture 54. For example, they can be connected together by screws, buckles or other mechanical connection methods, and the sleeve 55 is fixed to the bottom of the earphone fixing fixture 54 to transmit the signal sent by the earphone to be tested. In this way, the sleeve 55 and the earphone fixing fixture 54 can work together to adapt to and fix the earphone to be tested.

[0102] In the above-mentioned heart rate test system, the sleeve, as a medium for signal transmission, can provide a stable signal transmission path, reduce signal loss and interference, thereby improving the accuracy and reliability of the test. The earphone fixing fixture can fix the position of the earphone to ensure that the position of the earphone relative to the test equipment is consistent during each test, thereby improving the accuracy of the test.

[0103] In one embodiment, the sleeve further comprises a reflective sticker, and the reflective sticker is arranged on the inner wall of the sleeve.

[0104] In an embodiment of the present application, the reflective sticker may contain special materials, such as metal powder or metal film, which can reflect signals of a specific frequency. Reflective stickers (also called reflectors or reflective sheets) can be used to enhance the reflection of light. When light shines on the reflective sticker, the sticker reflects the light back into the optical path of the device. This reflection can enhance the intensity of the light, thereby amplifying the reflected signal.

[0105] Specifically, when the earphone to be tested sends an infrared signal to the reflective surface 1211 on the turntable 121 through the sleeve 55, part of the signal is absorbed by the reflective surface 1211, and part of the signal is reflected to the inside of the sleeve 55. The reflective sticker on the inner wall of the sleeve 54 is used to amplify the weak reflected signal so that it can be collected by the sensor of the earphone to be tested.

[0106] In the above heart rate test system, by arranging a reflective sticker on the inner wall of the sleeve, the loss of reflected light can be reduced and the reflected light can be enhanced. This is because the reflective sticker can provide a smooth reflective surface, reduce the scattering and absorption of light, and thus improve the light transmission efficiency.

[0107] See also Fig.10 , is a schematic diagram of the overall structure of the heart rate test system provided in the embodiment of the present application, such as Fig.10 As shown, the heart rate test system includes: a test PC (control device 11), a signal reflection device 12 and a Bluetooth adapter (Bluetooth device 13). The signal reflection device includes a driving device 52, a turntable 121, an earphone fixing fixture 54 and a sleeve 55. The turntable 121 includes two reflection areas of different colors. The heart rate test system can be used to test the heart rate detection function of the earphone to be tested.

[0108] The embodiment of the present application provides a heart rate test method, which is applied to the above-mentioned heart rate test system. The present application adopts photoplethysmography (PPG) to measure the heart rate physiological index detection value of the headset to be tested. The principle is: when light passes through the skin, it passes through the skin tissue, including bones, muscles, veins and arteries. Since blood absorbs light more than surrounding tissues, the contraction and expansion of blood vessels with the beating of the heart will cause the intensity of light passing through the tissue to change. After passing through the skin tissue, the light is reflected on the photosensitive sensor (such as a photodiode PD), and the light intensity change detected by the photosensitive sensor is converted into an electrical signal. These electrical signals contain information about the change in blood volume caused by the beating of the heart. The obtained electrical signal can be divided into a direct current (DC) component and an alternating current (AC) component. The DC component reflects the static characteristics of the tissue, while the AC component is synchronized with the beating of the heart and reflects the characteristics of blood flow. By analyzing the AC component, the waveform of the pulse wave can be obtained, thereby understanding information such as heart rate, blood flow and blood oxygen saturation.

[0109] See also Fig.11 , is a flow chart of a test method provided in an embodiment of the present application. As an example but not a limitation, the method may include the following steps:

[0110] S101, a control device sends a first signal to a signal reflection device, wherein the first signal includes a rotation frequency.

[0111] In an embodiment of the present application, when testing the performance of the earphone, the signal reflecting device is equivalent to simulating a real human body environment, and is used to absorb part of the infrared signal emitted by the earphone to be tested, and the remaining signal is reflected back by the signal reflecting device to test the performance of the earphone to be tested.

[0112] The control device actively sends a signal (first signal) to the motor of the signal reflection device. This signal is designed to contain some specific information, one of which is the rotation frequency. The first signal is not just a simple signal, it is a complex signal that contains the rotation frequency information. The rotation frequency may refer to the rotation speed of a mechanical system or a moving object. The specific implementation method of the control device sending the first signal to the signal reflection device will depend on the type of the signal reflection device, the required signal characteristics, the transmission medium, and the capabilities of the control device.

[0113] In some implementations, if the signal reflection device is directly connected to the control device, such as through an RS-232 interface, the control device can send a signal to the signal reflection device through the RS-232 physical interface. RS-232 communication parameters are configured on the control device, including baud rate, data bit, stop bit, and check bit, and these parameters need to match the configuration of the signal reflection device. The control device generates a corresponding control signal (first signal) according to the operation to be controlled, and the control device sends a predefined control command to the signal reflection device through the RS-232 interface.

[0114] In other implementations, if the signal reflecting device supports wireless communication, the control device can send signals through a wireless protocol (such as Wi-Fi, Bluetooth, LoRa, NFC, etc.), and the control device can be configured as a wireless access point mode to communicate directly with the wireless client of the signal reflecting device.

[0115] In the above method, precise communication with the signal reflection device can be achieved through specific control signals, thereby improving the reliability and stability of data transmission.

[0116] S102: After receiving the first signal, the signal reflecting device reflects the second signal sent by the headset to be tested according to the rotation frequency, so that the headset to be tested obtains a third signal after reflection.

[0117] In the embodiment of the present application, the headset to be tested includes two sets of identical red signals, infrared signals and photodiodes. When the headset is measuring the heart rate, the infrared light LED light signal (second signal) is emitted to the signal reflection device, and the signal is absorbed by the light when passing through the signal reflection device, and part of the second signal is returned to the headset to be tested.

[0118] The signal reflection device analyzes the first signal and extracts the required parameters, such as rotation frequency and other information. These parameters are used to guide the signal reflection device on how to process the second signal sent by the headset to be tested. The signal reflection device reflects the second signal according to the rotation frequency. Since the headset to be tested contains two identical sets of red signals, infrared signals and photodiodes. When the headset is measuring the heart rate, the infrared light LED light signal (second signal) is sensed and emitted to the signal reflection device. The signal is processed by the signal reflection device, and part of the second signal, that is, the third signal, will be returned to the headset to be tested. The signal processor in the headset to be tested will analyze the third signal to determine the performance or status of the headset. For example, the headset to be tested may detect the strength, frequency and other information of the third signal to evaluate the response characteristics of the headset.

[0119] Specifically, after part of the optical signal of the second signal is reflected, it will be received by the photodiode in the headset to be tested and converted into an electrical signal. Since the electrical signal is an analog signal, the electrical signal is then converted into a digital signal (the third signal) through analog conversion. Finally, the signal processor of the headset to be tested processes the third signal.

[0120] In one embodiment, the signal reflection device includes a turntable, the turntable includes a reflection surface, and the step S102 includes:

[0121] The signal reflecting device rotates the turntable according to the rotation frequency, so that the reflecting surface on the turntable reflects the second signal sent by the earphone to be tested.

[0122] In the embodiment of the present application, the reflective surface in the turntable is equivalent to simulating the human body environment, absorbing or reflecting infrared light. The signal reflection device rotates the turntable according to the set rotation frequency, which can change the position of the reflective surface relative to the headset to be tested, thereby affecting the characteristics of the reflected signal.

[0123] Exemplarily, when testing the heart rate function of the headset, the reflective surface of the turntable can be set according to the absorption law of the heart for infrared light when the heart contracts or relaxes. For example, when the heart contracts, the density of hemoglobin is high, which will reflect more infrared light. When the heart relaxes, the density of hemoglobin is low, and more infrared light is absorbed. Therefore, the reflective surface can be set as a two-color turntable with equal left and right colors, and each part has a different color. For example, gray represents materials with high reflectivity, black represents materials with low reflectivity, and the reflective material in the middle transition area is added. The turntable rotates continuously according to the rotation frequency, and the simulated output waveform is similar to the human electrocardiogram. When the turntable rotates continuously according to the rotation frequency, the second signal sent by the headset to be tested to the turntable will be reflected according to the corresponding reflective surface, which is equivalent to simulating the reflection function of the human body to infrared light. Finally, the headset to be tested will be further analyzed according to the reflected signal.

[0124] In the above method, the phase and amplitude of the reflected signal can be dynamically changed by the rotation of the turntable, and the actual human body environment can be simulated to improve the accuracy of the performance detection of the headphone to be tested.

[0125] S103: The headset to be tested performs signal processing according to the third signal to obtain a fourth signal, and sends the fourth signal to the control device.

[0126] In the embodiment of the present application, the headset to be tested receives the third signal reflected back by the signal reflection device. This signal may have undergone some specific modulation or change. The headset to be tested contains a signal processing circuit and algorithm. These circuits and algorithms will process the received signal according to the design. The signal processing may include amplification, filtering, demodulation, sampling, quantization and other operations to ensure that the signal meets the working requirements of the headset. The processed signal, i.e., the fourth signal, is generated by the headset to be tested based on the third signal and its own signal processing logic. The headset to be tested sends the generated fourth signal to the control device, which is usually achieved through a wireless or wired connection.

[0127] In one embodiment, see Fig.12 , is a schematic diagram of obtaining a fourth signal provided in an embodiment of the present application, such as Fig.12 As shown, step S103 includes:

[0128] S201: The headset to be tested obtains an AC signal in a third signal.

[0129] In an embodiment of the present application, the reflected signal (third signal) obtained by the headset to be tested includes an AC signal and a DC signal. In the PPG method, the AC signal can reflect the analysis of the characteristics of blood flow, which can be likened to a process similar to monitoring the heartbeat. In this metaphor, the AC signal is like the diastole and contraction of the heart, which brings about the change in the signal, while the DC signal can be regarded as the average level or baseline of the heartbeat. Therefore, the headset to be tested needs to perform signal separation on the third signal to separate the AC signal.

[0130] S202: The earphone under test analyzes the AC signal to obtain a time domain feature of the AC signal.

[0131] In the embodiment of the present application, the time domain characteristics of the signal can understand the characteristics of the signal from different angles, such as the amplitude, frequency, periodicity, instantaneous change, etc. of the signal, so as to be used for subsequent signal processing and analysis. In practical applications, it may be necessary to select appropriate features according to the characteristics of the specific signal and the purpose of analysis. When obtaining the time domain characteristics of the signal, a variety of different algorithms can be used, such as the wavelet transform algorithm can be used to obtain the time domain characteristics of the AC signal. The time domain characteristics include the peak characteristics, energy characteristics, and signal period of the signal. The distribution information of the signal can be obtained according to the time domain characteristics.

[0132] In the above method, the earphone under test can perform detailed time-frequency analysis on the AC signal and obtain relatively accurate analysis data, thereby improving the accuracy of the performance test of the earphone under test.

[0133] S203: The headset to be tested generates a detection value according to the time domain feature, and the fourth signal is the detection value.

[0134] In an embodiment of the present application, the headset to be tested extracts key information based on time domain features. Using the above features, the headset to be tested may have an algorithm or model to generate a detection value, and this detection value is used for a comprehensive evaluation of the performance of the headset.

[0135] In one embodiment, when testing the heart rate performance of the headset to be tested, the detection value is the heart rate value, and step S203 includes:

[0136] The earphone under test obtains the number of signal peaks within a preset time according to the time domain characteristics; the earphone under test determines the heart rate value according to the number of signal peaks.

[0137] In an embodiment of the present application, the headset to be tested identifies the peaks in the time domain characteristics. The peaks correspond to the peak values ​​of the heart rate signal and represent the cycle of the heart beat. Various algorithms can be used to identify the peaks, such as threshold-based detection, waveform fitting, or machine learning methods. The headset to be tested determines the heart rate value based on the number of peaks detected. The heart rate value is usually directly related to the frequency of the peaks, which can be obtained by counting the number of peaks within a preset time interval.

[0138] In some implementations, when the headset under test detects a peak, the time interval between adjacent peaks can be calculated, and this time interval reflects the heartbeat cycle. Once a peak is detected, the time interval between adjacent peaks is calculated, and then, within one minute, 60 seconds is divided by the calculated time interval between two adjacent peaks to obtain the number of peaks that appear per minute, that is, the heart rate value can be obtained.

[0139] In some other implementations, the number of peaks can be calculated according to the following formula:

[0140]

[0141] Among them, FS is the frequency of peak occurrence, and n_peak_interval_sum is the PPG signal sampling time.

[0142] Assuming that the continuous sampling time is 5 seconds, the number of peaks in 5 seconds is N, and the heart rate value HR = (N*60) / 5 = N*12

[0143] In the above method, the number of peaks is determined by analyzing the time domain characteristics of the signal, which can improve the accuracy of heart rate detection and reduce errors caused by exercise or other factors.

[0144] S104: After receiving the fourth signal, the control device tests the performance of the headset to be tested according to the fourth signal and the rotation frequency.

[0145] In an embodiment of the present application, when testing the heart rate function of the headphones to be tested, the rotation frequency of the turntable is equivalent to the set human heart rate value, and the obtained heart rate value (fourth signal) is compared with the pre-rotation frequency to evaluate the heart rate detection performance of the headphones to be tested.

[0146] In one embodiment, step S104 includes:

[0147] The control device calculates the difference between the heart rate value and the preset value corresponding to the rotation frequency; if the difference is within the preset error, the performance of the headset to be tested is determined to be qualified.

[0148] In the embodiment of the present application, the preset value corresponding to the rotation frequency is equivalent to the preset heart rate value (rotation frequency of the turntable). The control device calculates the difference between the actually measured heart rate value (fourth signal) and the preset revolutions per minute. This difference value can be expressed as an absolute error or a relative error.

[0149] The control device calculates the difference between the actual measured heart rate value and the preset heart rate value. This difference value can be expressed as an absolute error or a relative error. If the difference value is within the preset error range (±2bpm), the performance of the headset to be tested is judged to be qualified. This means that the performance of the headset at the simulated heart rate frequency meets the design requirements. If the difference value exceeds the preset error range, the performance of the headset to be tested is judged to be unqualified. At this time, it is necessary to further analyze the cause and take corresponding measures, such as adjusting the design, repairing or retesting. The above method has a simple test process and can improve the test efficiency of the headphone heart rate test.

[0150] By the above Fig.10 The steps for testing the heart rate detection function of the headset under test in the heart rate test system are as follows:

[0151] 1. Place the headset to be tested on the headset fixing fixture 54. The tester starts the headset to be tested to send an infrared light signal through the test PC (control device 11). The infrared light signal is captured by the reflective surface 1211 in the motor turntable 121 through the sleeve 55.

[0152] 2. The test PC (control device) sends an RS232 program control instruction to the drive device 52 (motor) in the signal reflection device. The program control instruction includes the rotation frequency for controlling the rotation of the motor. After receiving the program control instruction, the motor 52 rotates according to the rotation frequency in the instruction. When the drive device 52 rotates, it drives the motor turntable 121 to rotate.

[0153] 3. When the motor turntable (heart rate turntable) 121 rotates, the infrared light signal will be emitted into the two-color reflection area in the reflection surface 1211 at the rotation frequency. The two-color reflection area in the reflection surface 1211 will absorb and reflect the infrared light signal to different degrees. The reflected infrared signal will return through the sleeve 55 and be collected by the headset to be tested;

[0154] 4. After the headset to be tested collects the reflected signal, it processes the signal to obtain the heart rate detection value;

[0155] 5. The Bluetooth adapter (Bluetooth device 13) reads the heart rate detection value of the headset to be tested through wireless SPP (Bluetooth technology);

[0156] 6. The Bluetooth adapter sends the heart rate detection value to the test PC (control device) through the serial port protocol;

[0157] 7. The test PC determines whether the headset meets the technical specifications by comparing the heart rate detection value with the preset standard value (rotation frequency), and displays the test result PASS or NG, where the rotation frequency of the driving device 52 is equivalent to the set actual human heart rate value.

[0158] Through the above-mentioned heart rate test system, the actual human body environment can be simulated to test the heart rate detection function of the earphone, which can improve the test accuracy of the earphone heart rate test, and the test process is simple, thereby improving the test efficiency of the earphone heart rate test.

[0159] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0160] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0161] Fig.13Schematic diagram of the structure of the terminal device provided in the embodiment of the present application. Fig.13 As shown, the terminal device 14 of this embodiment includes: at least one processor 140 ( Fig.13 Only one is shown in the figure) a processor, a memory 141, and a computer program 142 stored in the memory 141 and executable on at least one processor 140, and when the processor 140 executes the computer program 142, the steps in any of the above-mentioned heart rate test method embodiments are implemented.

[0162] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that Fig.13 It is only an example of the terminal device 14 and does not constitute a limitation on the terminal device 14. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0163] The processor 140 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0164] In some embodiments, the memory 141 may be an internal storage unit of the terminal device 14, such as a hard disk or memory of the terminal device 14. In other embodiments, the memory 141 may also be an external storage device of the terminal device 13, such as a plug-in hard disk, a smart memory card (Smart Med i aCard, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device 14. Further, the memory 141 may also include both the internal storage unit of the terminal device 14 and the external storage device. The memory 141 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, such as program codes of computer programs, etc. The memory 141 may also be used to temporarily store data that has been output or is to be output.

[0165] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0166] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0167] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or system that can carry the computer program code to the system / terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0168] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0169] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0170] In the embodiments provided in the present application, it should be understood that the disclosed system / terminal device and method can be implemented in other ways. For example, the system / terminal device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the system or unit can be electrical, mechanical or other forms.

[0171] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0172] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A heart rate testing method, characterized in that: Applied to a heart rate test system, the heart rate test system includes a control device and a signal reflection device; the method includes: The control device sends a first signal to the signal reflection device, wherein the first signal includes a rotation frequency; After receiving the first signal, the signal reflecting device reflects the second signal sent by the headphone to be tested according to the rotation frequency, so that the headphone to be tested obtains a third signal after reflection; The headset to be tested performs signal processing according to the third signal to obtain a fourth signal, and sends the fourth signal to the control device; After receiving the fourth signal, the control device tests the performance of the headset to be tested according to the fourth signal and the rotation frequency.

2. The heart rate testing method according to claim 1, characterized in that: The signal reflection device comprises a turntable, and the turntable comprises a reflection surface; The step of the signal reflecting device reflecting the second signal sent by the headset to be tested according to the rotation frequency comprises: The signal reflecting device rotates the turntable according to the rotation frequency, so that the reflection surface on the turntable reflects the second signal sent by the earphone to be tested.

3. The heart rate testing method according to claim 1, characterized in that: The headset to be tested performs signal processing according to the third signal to obtain a fourth signal, including: The headset to be tested obtains an AC signal in the third signal; The headset to be tested performs time domain analysis on the AC signal to obtain time domain characteristics of the AC signal; The headset to be tested generates a detection value according to the time domain feature, and the fourth signal is the detection value.

4. The heart rate testing method according to claim 3, characterized in that: When testing the heart rate performance of the headset to be tested, the detection value is the heart rate value; The headset to be tested generates a detection value according to the time domain feature, including: The headset to be tested acquires the number of signal peaks within a preset time according to the time domain characteristics; The earphone to be tested determines the heart rate value according to the number of the signal peaks.

5. The heart rate testing method according to claim 4, characterized in that: The step of the control device testing the performance of the headset to be tested according to the fourth signal and the rotation frequency comprises: The control device calculates a difference between the heart rate value and a preset value corresponding to the rotation frequency; If the difference value is within the preset error, the performance of the headset to be tested is determined to be qualified.

6. A heart rate measurement system, characterized in that: include: Control equipment and signal reflection device, the heart rate test system is used to implement the heart rate test method as described in any one of items 1-5 above.

7. The heart rate measurement system according to claim 6, wherein: The heart rate test system also includes a Bluetooth device; the Bluetooth device is connected to the signal reflection device and the control device respectively; the control device communicates with the signal reflection device through the Bluetooth device.

8. The heart rate measurement system according to claim 6, wherein: The signal reflection device comprises a turntable, and the turntable comprises a reflection surface, and the reflection surface is used to reflect the signal sent by the earphone to be tested.

9. The heart rate measurement system according to claim 6, wherein: The reflective surface includes two reflective areas, and different reflective areas correspond to different reflectivities.

10. The heart rate measurement system according to claim 9, characterized in that: Different reflection areas have the same area but different materials.

11. The heart rate measurement system according to claim 10, wherein: Each of the reflection areas includes a transition area. Different transition areas have the same area and the same material. The transition area is used to smooth the reflection signal.

12. The heart rate measurement system according to claim 8, wherein: The signal reflection device further includes a driving device, wherein the driving device is connected to the control device and the turntable respectively, and the control device drives the signal reflection device through the driving device.

13. The heart rate measurement system according to claim 12, wherein: The signal reflection device also includes an earphone fixture, which is fixed above the turntable and is used to fix the earphone to be tested and to transmit signals.

14. The heart rate measurement system according to claim 13, wherein: The earphone fixture further comprises an earphone fixing fixture, and the earphone fixing fixture is used to fix the earphone to be tested.

15. The heart rate measurement system according to claim 14, wherein: The earphone fixture further includes a sleeve, which is connected to the earphone fixing fixture and is used for transmitting signals.

16. The heart rate measurement system according to claim 15, wherein: The sleeve also includes a reflective sticker, which is arranged on the inner wall of the sleeve and is used to amplify the reflected signal.

17. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.

18. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Wearable device for in-ear test of heart rate, and test method thereof

    CN110464327A

  • Wearable equipment heart rate metering device and method for simulating blood pulsation

    CN111000545A

  • Bluetooth headset testing arrangement

    CN205566642U

  • Heart rate detection device and heart rate detection earphone

    CN211674210U

  • Device for inspecting a photoelectric pulse wave sensor and method for inspecting a photoelectric pulse wave sensor

    US20150116814A1