Blood oxygen testing method and system, terminal equipment and computer readable storage medium
Through signal reflection devices and control devices that simulate the human environment, combined with red blood cell abundance and multi-directional monitoring technology in the auricle area, the problem of low blood oxygen testing accuracy is solved, and more efficient blood oxygen detection accuracy is achieved.
Patent Information
- Application Number
- CN202410873722.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing headphone blood oxygen testing methods cannot obtain accurate blood oxygen testing data, resulting in the accuracy of the blood oxygen detection function being unable to be guaranteed.
By simulating the human environment, using signal reflection devices and control devices, combining the rich auricle parts of red blood cells and multi-directional monitoring technology, the design of a turntable and transmission area is used to simulate different usage scenarios and improve the reliability of blood oxygen data.
It improves the accuracy and efficiency of the blood oxygen test of the headphones, ensures the accuracy of the blood oxygen detection function and the product performance complies with the standards.
Smart Images

Figure CN118948267A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of earphone blood oxygen testing, and in particular, relates to an earphone blood oxygen testing method, system, terminal device and computer-readable storage medium. Background Art
[0002] Blood oxygen concentration is one of the important indicators that reflect the physiological state of the human body. By measuring blood oxygen in real time through headphones and monitoring respiratory and cardiac function abnormalities, users can better understand their health status. In order to ensure that the blood oxygen detection function of each headset is normal before leaving the factory, and that the blood oxygen detection accuracy meets the product technical specifications, it is particularly important in actual production.
[0003] In related methods, it is impossible to obtain accurate blood oxygen test data and the accuracy of the headphone blood oxygen 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 site, effectively reducing the interference of natural light and artificial light sources, and using multi-directional monitoring technology to make blood oxygen data more reliable. Summary of the invention
[0004] The embodiments of the present application provide a testing method, system and computer-readable storage medium, which can simulate the human body environment to test the blood oxygen detection function of headphones, improve the test accuracy of the headphone blood oxygen test, and simplify the test process, thereby improving the test efficiency of the headphone blood oxygen test.
[0005] In a first aspect, an embodiment of the present application provides a blood oxygen testing method, comprising:
[0006] The control device sends a first signal to the signal reflection device, wherein the first signal includes a rotation angle;
[0007] After receiving the first signal, the signal reflecting device reflects the second signal sent by the headphone to be tested according to the rotation angle, so that the headphone to be tested obtains a third signal returned after the reflection;
[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 headset to be tested according to the fourth signal and the rotation angle.
[0010] In the embodiment of the present application, after the signal reflection device receives the first signal sent by the control device, it reflects the second signal sent by the headset to be tested according to the rotation angle in the first signal, and the second signal (third signal) is returned to the headset to be tested by the reflection device, which is equivalent to simulating the reflection of the signal in actual application. The signal processor in the headset to be tested processes the reflected third signal to obtain a fourth signal. After the control device receives the fourth signal, it analyzes the performance of the headset to be tested in combination with the preset data corresponding to the initial rotation angle. 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 signal returned after the reflection 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 corresponding to the rotation angle. The above method can improve the test accuracy of the headset blood oxygen test, and the test process is simple, thereby improving the test efficiency of the headset blood oxygen test.
[0011] In a possible implementation manner of the first aspect, the signal reflecting device includes a rotating disk, the transmission surface of the rotating disk includes a plurality of transmission areas, and different transmission areas correspond to different light transmittances;
[0012] The step of the signal reflecting device reflecting the second signal sent by the headset to be tested according to the rotation angle comprises:
[0013] The signal reflecting device rotates the turntable according to the rotation angle, wherein the transmission area corresponding to the preset position after the turntable rotates is used to reflect the second signal sent by the headset to be tested.
[0014] In the embodiment of the present application, the turntable is the core part of the device, and its transmission surface includes multiple transmission areas, each of which has a different light transmittance. Each area has a different influence on the reflected signal. By changing the angle of the turntable, different usage scenarios can be simulated and the performance of the headphones can be comprehensively evaluated.
[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 headset to be tested obtains a fifth signal and a sixth signal according to the third signal, wherein the fifth signal is a reflection signal of red light and the sixth signal is a reflection signal of infrared light;
[0017] The headset to be tested generates a detection value according to the fifth signal and the sixth signal, and the fourth signal is the detection value.
[0018] In an embodiment of the present application, the headset under test can generate a detection value for evaluating its performance by extracting and analyzing the reflection signals of light of different wavelengths. This testing method can assist in quality control and calibration to ensure that the performance of the product meets the standards.
[0019] In a possible implementation of the first aspect, when the headset to be tested detects blood oxygen, the detection value is a blood oxygen value;
[0020] The headset to be tested generates a detection value according to the fifth signal and the sixth signal, including:
[0021] The earphone under test obtains the first component and the second component corresponding to the fifth signal, and obtains the third component and the fourth component corresponding to the sixth signal, wherein the first component and the third component are the AC components in the fifth signal and the sixth signal, and the second component and the fourth component are the DC components in the fifth signal and the sixth signal; the earphone under test obtains the blood oxygen value according to the first component, the second component, the third component and the fourth component.
[0022] In an embodiment of the present application, the headset to be tested generates a blood oxygen value by analyzing the reflection signals of red light and infrared light, and can provide non-invasive health monitoring and track current body data.
[0023] 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 angle includes:
[0024] The control device calculates the difference between the blood oxygen value and the preset value corresponding to the rotation angle;
[0025] If the difference is within the preset error, the performance of the headset under test is determined to be qualified.
[0026] In an embodiment of the present application, after receiving the blood oxygen 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 is 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.
[0027] In a second aspect, an embodiment of the present application provides a blood oxygen testing system, including:
[0028] The control device and the signal reflection device, the test system are used to implement any test method as described in the first aspect above.
[0029] In a possible implementation manner of the second aspect, the signal reflecting device includes a blood oxygen turntable, and the transmission surface of the blood oxygen turntable includes multiple transmission areas, and different transmission areas correspond to different light absorption rates.
[0030] In a possible implementation manner of the second aspect, the signal reflection device further includes a heart rate dial, the heart rate dial includes a reflection surface, and the reflection surface is used to reflect the signal sent by the earphone to be tested.
[0031] In a possible implementation manner of the second aspect, the blood oxygen testing system further includes a Bluetooth device, which is respectively connected to the control device and the signal reflection device; 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 driving device, the driving device is connected to the control device and the turntable respectively, and the control device drives the signal reflecting device through the driving device.
[0033] In a possible implementation manner of the second aspect, areas of different transmission regions are the same.
[0034] In a possible implementation manner of the second aspect, different transmission areas are made of different materials.
[0035] In a possible implementation manner of the second aspect, the blood oxygen testing system further includes an earphone fixture, which is fixed above the turntable and is used to fix the earphone to be tested and to transmit signals.
[0036] 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.
[0037] 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.
[0038] In a possible implementation manner of the second aspect, the sleeve further includes a reflective sticker, and the reflective sticker is arranged on the inner wall of the sleeve.
[0039] 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 blood oxygen testing method as described in any one of the first aspects above is implemented.
[0040] 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 blood oxygen testing method as described in any one of the first aspects above.
[0041] 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 blood oxygen testing method of any one of the above-mentioned first aspects.
[0042] 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
[0043] 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 any creative labor.
[0044] Figure 1 This is a schematic diagram of the blood oxygen test system provided in the embodiment of the present application. Figure 1 ;
[0045] Figure 2 The blood oxygen test system provided in the embodiment of the present application is schematically shown in FIG. Figure 2 ;
[0046] Figure 3 The blood oxygen test system provided in the embodiment of the present application is schematically shown in FIG. Figure 3 ;
[0047] Figure 4 It is a test turntable of the headphone blood oxygen test device provided in an embodiment of the present application;
[0048] Figure 5 The blood oxygen test system provided in the embodiment of the present application is schematically shown in FIG. Figure 4 ;
[0049] Figure 6 This is a schematic diagram of the blood oxygen test system provided in the embodiment of the present application. Figure 5 ;
[0050] Figure 7 The blood oxygen test system provided in the embodiment of the present application is schematically shown in FIG. Figure 6 ;
[0051] Figure 8 The blood oxygen test system provided in the embodiment of the present application is schematically shown in FIG. Figure 7 ;
[0052] Fig. 9 is a schematic diagram of the summary structure of the blood oxygen test system provided in an embodiment of the present application;
[0053] Fig.10 It is a flow chart of the testing method provided in the embodiment of the present application;
[0054] Fig.11 is a schematic diagram of obtaining a fourth signal provided in an embodiment of the present application;
[0055] Fig.12 It is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] 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, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0057] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0058] 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.
[0059] 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.
[0060] 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.
[0061] 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.
[0062] By measuring blood oxygen in real time through headphones, abnormal respiratory and cardiac functions can be monitored, allowing users to better understand their health status. In order to ensure that the blood oxygen detection function of each headset is normal before leaving the factory, and the blood oxygen detection accuracy meets the product technical specifications, it is particularly important in actual production.
[0063] In related methods, it is impossible to obtain accurate blood oxygen test data and the accuracy of the headphone blood oxygen 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 site, effectively reducing the interference of natural light and artificial light sources, and using multi-directional monitoring technology to make blood oxygen data more reliable.
[0064] In order to solve the problems arising in the above-mentioned related methods, an embodiment of the present application provides a blood oxygen testing system. In the present application, by finding suitable materials and environments, a blood oxygen testing system is built to simulate the blood oxygen parameters of headphones worn in a real human environment. Through the blood oxygen testing system, the headphones to be tested obtain the reflected signal of the signal transmitted by the headphones to be tested according to the blood oxygen testing system, and analyze the reflected signal to calculate the blood oxygen value. Then the control device compares the accuracy of the blood oxygen value calculated by the headphones to be tested with the preset value set according to the test system to obtain the blood oxygen test performance of the headphones to be tested. The above method improves the authenticity and effectiveness of the test, and improves the efficiency and accuracy of the test.
[0065] Blood oxygen saturation is the percentage of oxygenated hemoglobin (HbO2) in the blood to the total hemoglobin (Hb) capacity that can be combined, that is, the concentration of blood oxygen in the blood. The principle of obtaining the blood oxygen value detected by the headset using the above test system is: according to the light absorption characteristics of oxygenated hemoglobin HbO2 and hemoglobin Hb to wavelengths of 600-1000nm, Hb has a higher absorption coefficient between wavelengths of 600-800nm, and HbO2 has a higher absorption coefficient between wavelengths of 800-1000nm. Therefore, red light (Red, R) (typical wavelength is 630nm) and near infrared light (Infrared, IR) (typical wavelength is 950nm) can be used to combine with Hb and HbO2 respectively, and the reflected signal can be collected by the photosensitive sensor (Photodiode, PD) in the headset to be tested, and then the reflected signal is analyzed to divide the signal received by the PD into a DC component and an AC component. The DC component represents the light absorption caused by tissue, venous blood and non-pulsating arterial blood, and the AC component represents the absorption of light by pulsating arterial blood, and the changes caused by contraction and relaxation. By collecting the DC and AC value ratios of IR and R reflections and performing corresponding processing by the algorithm, the percentage of blood oxygen concentration can be obtained.
[0066] See also Figure 1 , is a schematic diagram of a blood oxygen test system provided in an embodiment of the present application Figure 1 ,like Figure 1 As shown, the blood oxygen testing system 5 includes a control device 11 and a signal reflection device 12 , and the control device 11 is connected to the signal reflection device 12 .
[0067] In the embodiment of the present application, the control device 11 is a component of the blood oxygen 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.
[0068] The signal reflection device 12 is another key part of the blood oxygen 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 control device 11 and the signal reflection device 12 are connected to ensure that the control device can effectively send instructions and receive feedback from the signal reflection device.
[0069] 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.
[0070] In the above-mentioned blood oxygen test system, the connection method of 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.
[0071] In one implementation, see Figure 2 , is a schematic diagram of a blood oxygen test system provided in an embodiment of the present application Figure 2 ,like Figure 2 As shown, the blood oxygen test system 5 also includes a Bluetooth device 13 ; the control device 11 communicates with the signal reflection device 12 via the Bluetooth device 13 .
[0072] 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.
[0073] Specifically, the Bluetooth device 13 may be a Bluetooth adapter, and the Bluetooth adapter and the signal reflection device may be connected wirelessly, and 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 control device 11 are connected through a serial port, and the data may 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.
[0074] 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.
[0075] In the above-mentioned blood oxygen 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.
[0076] In one implementation, see Figure 3 , is a schematic diagram of a blood oxygen test system provided in an embodiment of the present application Figure 3 ,like Figure 3 As shown, the signal reflecting device 12 includes a heart rate dial 121 and a blood oxygen dial 122. The reflecting surface 1211 of the heart rate dial 121 includes multiple reflecting areas, and different reflecting areas correspond to different light absorption rates. The transmitting surface 1221 of the blood oxygen dial 122 includes multiple transmitting areas, and different transmitting areas correspond to different light reflectivity.
[0077] In an embodiment of the present application, the signal reflecting device 12 includes a heart rate dial 121, and a reflecting surface 1211 is provided on the heart rate dial 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. Specifically, the heart rate dial 121 can be a motor dial, which generally refers to a rotating device equipped with a motor, used to drive the rotating part of certain mechanical equipment. The reflecting surface 1211 can be set as a two-color dial 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, plus a reflectivity material in the intermediate transition area. Driven by the motor, the heart rate dial 121 keeps rotating, and the reflecting surface 1211 on the heart rate dial can reflect the infrared light signal sent by the headset to be tested.
[0078] The signal reflection device 12 also includes a blood oxygen turntable 122, and a transmission surface 1221 is set on the blood oxygen turntable 122. Each transmission surface includes multiple transmission areas. These areas are semi-transparent, which can ensure that IR and R can be transmitted, and can satisfy that the transmission amount of IR and R is different. By finding suitable materials, such as using blue to have a greater absorption rate for R than IR, we can simulate the different absorption rates of HbO2 and Hb. In this way, each area corresponds to a different reflection R and IR reflection ratio, which is used to simulate blood oxygen measurement of blood oxygen value. Similarly, the blood oxygen turntable 122 can also be a motor turntable. Driven by the motor, the turntable can rotate to the corresponding transmission area.
[0079] In the above-mentioned blood oxygen test device, the rotation of the turntable enables the transmission surface and the transmission area to reflect and transmit the signal from different angles, thereby increasing the diversity of signal coverage. The transmission surface is directly arranged on the turntable, which can simplify the structural design of the device and reduce the complexity of the system.
[0080] In one embodiment, the areas of different transmission regions are the same.
[0081] In the embodiment of the present application, the transmission surface is divided into a plurality of transmission areas of equal area. Each transmission area may have different absorption rates for red light and infrared light, and the transmission areas of equal area are set to avoid uneven absorption or reflection of red light and infrared light due to uneven area.
[0082] In one embodiment, different transmission areas are made of different materials.
[0083] In the embodiment of the present application, different transmission areas are used to simulate the different absorption rates of HbO2 and Hb. By finding suitable materials, multiple transmission areas are set to different colors. For example, the absorption rate of blue to R is greater than that of IR, or other special filtering materials are used. In this way, we can simulate the different absorption rates of HbO2 and Hb. By taking this approach, each transmission area corresponds to a different reflection R and IR reflection ratio to simulate the human body's absorption ratio of HbO2 and Hb, thereby simulating the measurement of blood oxygen values.
[0084] See also Figure 4 , is a test dial of the headset blood oxygen test device provided in an embodiment of the present application, including a heart rate dial and a blood oxygen dial, such as Figure 4 As shown, the heart rate dial 121 is divided into two equal reflection areas m and n. 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 a low infrared light absorption rate, and black represents a material with a high infrared light absorption rate. A transition reflectivity material (whose reflectivity is in the middle) is found between these two extreme reflectivity materials, such as 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.
[0085] The blood oxygen turntable 122 is divided into multiple transmission areas, namely transmission area a, transmission area b... transmission area h. These areas are semi-transparent, which can ensure that IR and R can be transmitted, and can satisfy that the transmission amount of IR and R is different. By finding suitable materials, such as using filter materials, only some special wavelengths of light are allowed to pass through, so that we can simulate the different absorption rates of HbO2 and Hb. By taking this approach, different materials in each transmission area correspond to different reflection R and IR reflection ratios to simulate the human body's absorption ratio of HbO2 and Hb (corresponding to the corresponding value of the algorithm calibration), thereby simulating the measurement of blood oxygen values, from high to low, 97%, 92%, 85%, etc., to represent different blood oxygen concentrations.
[0086] It should be noted that each transmission area corresponds to a different material or color, and different materials can be selected according to specific applications.
[0087] In the above-mentioned headphone blood oxygen test device, the design of the transmission surface of the turntable takes into account the functional requirements of different areas. By changing the material setting of the transmission area to simulate the actual environment of the human body, the accuracy of the reflected signal is improved.
[0088] In one implementation, see Figure 5 , is a schematic diagram of a blood oxygen test system provided in an embodiment of the present application Figure 4 ,like Figure 5As shown, the signal reflecting device 12 includes a driving device 52 , which is connected to the control device 11 and the turntable 122 respectively; the control device 11 drives the signal reflecting device 12 through the driving device 52 .
[0089] 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.
[0090] Specifically, the driving device 52 can be a motor, which can receive a program-controlled instruction containing a rotation frequency sent by the control device 11. When the motor receives a 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 angle is β, then after receiving the instruction, the motor performs a corresponding operation according to the instruction. The turntable and the motor (driving device 12) can be mechanically connected, such as connecting the output shaft of the motor to the input shaft of the turntable, which may use gears, belts, chains or other transmission devices. 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.
[0091] In the above-mentioned blood oxygen test device, the introduction of the turntable can enable the signal reflection device to adjust the reflection direction as needed, thereby achieving signal coverage of different areas and improving the coverage range and flexibility of the signal.
[0092] In one embodiment, see Figure 6 , is a schematic diagram of the earphone blood oxygen test device provided in the embodiment of the present application Figure 5 ,like Figure 6 As shown, the blood oxygen test system also includes an earphone fixture 53, which is fixed above the turntable and is used to fix the earphone to be tested and to transmit signals.
[0093] In the embodiment of the present application, the headphone fixture 53 generally refers to a special tool or device for placing the headphone to be tested, and its fixing method depends on its design and working principle. It may be fixed on the turntable by screws, clamps or other fixing devices to ensure that the headphone to be tested maintains a stable position during the test. The headphone fixture 53 can help the tester to accurately place the headphone, ensure that the position and direction of the headphone are consistent during each test, and ensure that the position and direction of the red light and infrared light sent by the headphone fixture 53 to the turntable are also consistent. This helps to reduce test errors and ensure the accuracy of the test results.
[0094] 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.
[0095] In the above-mentioned blood oxygen 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.
[0096] In one embodiment, see Figure 7 , is a schematic diagram of a blood oxygen test system provided in an embodiment of the present application Figure 6 ,like Figure 7 As 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.
[0097] 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.
[0098] In one embodiment, see Figure 8 , is a schematic diagram of a blood oxygen test system provided in an embodiment of the present application Figure 7 ,like Figure 8 As shown, the earphone fixture 53 further includes a sleeve 55 , which is connected to the earphone fixing fixture 54 , and is used to transmit signals.
[0099] 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.
[0100] 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.
[0101] In the above-mentioned blood oxygen 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.
[0102] In one embodiment, the sleeve further comprises a reflective sticker, and the reflective sticker is arranged on the inner wall of the sleeve.
[0103] 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.
[0104] Specifically, when the earphone to be tested sends an infrared signal to the transmission surface 1221 on the blood oxygen dial 122 through the sleeve 55, part of the signal is isolated by the transmission surface 1221 in the blood oxygen dial, and part of the signal is reflected to the inside of the sleeve 55 by the reflection surface 1211 in the heart rate dial. The reflective sticker on the inner wall of the sleeve 55 is used to amplify the weak reflected signal so that it can be collected by the sensor of the earphone to be tested.
[0105] In the above blood oxygen test system, by setting 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 transmission efficiency of light.
[0106] See also Fig. 9 , is a schematic diagram of the overall structure of the blood oxygen test system provided in the embodiment of the present application, such as Fig. 9 As shown, the 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 heart rate dial 121, a blood oxygen dial 122, an earphone fixing fixture 54 and a sleeve 55. The blood oxygen dial 122 includes multiple transmission areas, and the test system can be used to test the blood oxygen detection function of the earphone to be tested.
[0107] It should be noted that when the headphone blood oxygen test device is used to test the blood oxygen value of the headphone, the heart rate dial 121 is arranged below the blood oxygen dial 122. The purpose is to simulate the detection of living things and determine whether the object has life characteristics. On the basis that the object has life characteristics, the blood oxygen value is tested. The heart rate dial can rotate at a constant speed of 80rpm, and the speed is no longer adjusted during the entire blood oxygen measurement to simulate the heart rate value of the human body at rest. This is based on the fact that when measuring blood oxygen in a real environment, the human body needs to remain at rest.
[0108] The embodiment of the present application provides a blood oxygen test method, which is applied to the above-mentioned test system. In the present application, the earphone to be tested obtains the reflected signal of the signal transmitted by the earphone to be tested according to the blood oxygen test system, and analyzes the reflected signal to calculate the blood oxygen value. Then the control device compares the accuracy of the blood oxygen value calculated by the earphone to be tested with the preset value set according to the test system to obtain the blood oxygen test performance of the earphone to be tested.
[0109] See also Fig.10 , 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 angle.
[0111] In an embodiment of the present application, when testing the performance of the earphone, the signal reflection device is equivalent to simulating a real human body environment, and is used to absorb part of the R signal and IR signal emitted by the earphone under test, and the remaining signal is reflected back by the signal reflection device to test the performance of the earphone under test in detecting blood oxygen concentration.
[0112] The control device actively sends a signal (first signal) to the signal reflection device. This signal is designed to contain some specific information, one of which is the rotation angle. The first signal is not just a simple signal, it is a complex signal that contains the rotation angle information.
[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 angle, so that the headset to be tested obtains the reflected third signal.
[0117] In an embodiment of the present application, the signal reflection device analyzes the first signal and extracts the required parameters, such as information such as the rotation angle. 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 angle, wherein the second signal is the R signal and the IR signal sent by the headset to be tested. The headset to be tested is provided with a sensor, and the sensor can collect the reflected second signal, that is, the third signal. Since the headset to be tested analyzes the third signal to determine the performance or status of the headset, 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.
[0118] In one embodiment, the signal reflection device includes a turntable, the transmission surface of the turntable includes a plurality of transmission areas, and different transmission areas correspond to different light transmittances; the step S102 includes:
[0119] The signal reflecting device rotates the turntable according to the rotation angle, wherein the transmission area corresponding to the preset position after the turntable rotates is used to reflect the second signal sent by the headset to be tested.
[0120] In an embodiment of the present application, the signal reflecting device includes a blood oxygen turntable, and a transmission surface is arranged on the blood oxygen turntable. The transmission surface can be provided with a plurality of transmission areas, and each transmission area is usually a special material or structure, which can reflect the incident signal (second signal). The transmission area in the transmission surface is equivalent to simulating the human body environment, absorbing or reflecting the R signal and the IR signal. The signal reflecting device rotates the blood oxygen turntable according to the set rotation angle, so that the position of the transmission surface relative to the headset to be tested can be changed, thereby affecting the characteristics of the reflected signal.
[0121] For example, when testing the blood oxygen function of the headset, according to the light absorption characteristics of oxygenated hemoglobin HbO2 and hemoglobin Hb to wavelengths of 600 to 1000nm. Therefore, the transmission surface can be set as a plurality of transmission area turntables, such as six areas that can be divided. These areas are semi-transparent, which can ensure that IR and R can be reflected, and can satisfy that the transmission amount of IR and R is different. By finding suitable materials, such as using blue to have a greater absorption rate of R than IR, we can simulate the different absorption rates of HbO2 and Hb. By taking this approach, each area corresponds to a different reflection R and IR reflection ratio to simulate the human body's absorption ratio of HbO2 and Hb (corresponding to the corresponding value of the algorithm calibration), thereby simulating the measurement of blood oxygen values, from high to low, 97%, 92%, 85%, etc., and then representing different blood oxygen concentrations.
[0122] In the above method, the angle of the turntable can be dynamically changed by rotating the turntable, and the actual human body environment can be simulated to improve the accuracy of the performance detection of the earphone to be tested.
[0123] 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.
[0124] In the embodiment of the present application, the headset to be tested receives the third signal reflected back by the 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.
[0125] In one embodiment, see Fig.11 , is a schematic diagram of obtaining a fourth signal provided in an embodiment of the present application, such as Fig.11 As shown, step S103 includes:
[0126] S201, the headset to be tested obtains a fifth signal and a sixth signal according to the third signal, wherein the fifth signal is a reflection signal of red light, and the sixth signal is a reflection signal of infrared light.
[0127] In the embodiment of the present application, the reflected signal (third signal) received by the PD in the headset to be tested contains the reflected signals of R and IR, so it is necessary to obtain the reflected signals of R and IR respectively from the third signal to calculate the blood oxygen concentration.
[0128] Exemplarily, when the PD receives the third signal, it first converts it into an electrical signal, then amplifies or filters the electrical signal to convert it into a digital signal, and finally processes the digital signal. When separating the digital signal containing R and IR, the two can be separated by a bandpass filter that allows light within a specific wavelength range to pass, such as the wavelength range of red light and infrared light; or a dispersive element such as a prism or a grating can be used to disperse the light according to wavelength. By adjusting the position of the dispersive element, the red light and the infrared light can be separated in space so that they can be detected by different detectors.
[0129] In the above method, the red light and infrared light signals can be effectively extracted from the mixed signal and provide accurate data for subsequent applications.
[0130] S202: The headset to be tested generates a detection value according to the fifth signal and the sixth signal, where the fourth signal is the detection value.
[0131] In the embodiment of the present application, one step of step S202 may be:
[0132] In one embodiment, when the headset to be tested detects blood oxygen, the detection value is the blood oxygen value;
[0133] The headset to be tested generates a detection value according to the fifth signal and the sixth signal, including:
[0134] The earphone under test obtains the first component and the second component corresponding to the fifth signal, and obtains the third component and the fourth component corresponding to the sixth signal, wherein the first component and the third component are the AC components in the fifth signal and the sixth signal, and the second component and the fourth component are the DC components in the fifth signal and the sixth signal; the earphone under test obtains the blood oxygen value according to the first component, the second component, the third component and the fourth component.
[0135] In the embodiment of the present application, the absorption of red light and infrared light by human tissue mainly depends on the composition and thickness of the tissue. Due to the absorption characteristics of hemoglobin in the blood to light, red light and infrared light will be absorbed by hemoglobin in the blood after passing through the skin and fat layer. The DC component reflects the long-term average absorption of light by the tissue, which is relatively stable because it includes all the absorption contributions of the tissue to light, whether static or dynamic. The AC component is mainly related to the change in the ratio of oxygenated hemoglobin (HbO2) and reduced hemoglobin (Hb) in the blood. This change in ratio is due to the periodic change in blood flow and oxygen content caused by the heartbeat. When the heart beats, the oxygen content in the blood changes periodically, which causes the absorption of red light and infrared light passing through the tissue to change periodically. This change reflects the change in the oxygenation state in the blood and is therefore called the AC component.
[0136] Specifically, red light (typical wavelength is 630nm) is mainly absorbed by hemoglobin (Hb), while infrared light (typical wavelength is 950nm) is mainly absorbed by oxygenated hemoglobin (HbO2). Under different blood oxygen saturation, the relative concentration of these two hemoglobins will change, resulting in changes in the absorption ratio of red light and infrared light. There is a certain ratio between oxygenated hemoglobin HbO2 and hemoglobin Hb in the blood, and the blood oxygen value is the ratio of oxygenated hemoglobin HbO2 to hemoglobin Hb in the blood. Therefore, the DC component and AC component of the red light (fifth signal) and infrared light (sixth signal) in the reflected signal are obtained respectively, and the blood oxygen value can be calculated using the relevant proportional algorithm. The DC component and the AC component can be separated by a high-pass filter or a low-pass filter.
[0137] Finally, we can calculate the AC component of the red light divided by the DC component of the red light: AC red / DC red , and the infrared AC component divided by the infrared DC component is: AC IR / DC IR Then divide the two to get the fitting parameter R of the blood oxygen value. The calculation formula is as follows:
[0138]
[0139] Among them, there is a certain relationship between the fitting parameter R and the blood oxygen saturation (blood oxygen value), and the blood oxygen value can be obtained through calibration and algorithm conversion. The key to this method is that the change in the absorption ratio of red light and infrared light is consistent with the change in blood oxygen value. The calculation formula of the blood oxygen value is as follows:
[0140] Sp02=A*R*R+B*R+c
[0141] Among them, A, B and c can be regarded as constants, and R is a variable. Under different physical conditions of the human body, the reflected R and IR acquisition signals are different. By calculating the proportional factor between the two, the R parameter is obtained, and then the corresponding blood oxygen value SpO2 (the fourth signal) can be calculated.
[0142] The above method can obtain the blood oxygen value based on the signal components in the reflected red light and infrared light.
[0143] 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 angle.
[0144] In an embodiment of the present application, when testing the blood oxygen detection function of the headset to be tested, the rotation angle of the turntable is turned to the corresponding transmission area, and the corresponding preset blood oxygen concentration is set in the transmission area, which is equivalent to the set human blood oxygen value. The obtained blood oxygen value (fourth signal) is compared with the preset blood oxygen concentration of the corresponding transmission area to evaluate the blood oxygen detection performance of the headset to be tested.
[0145] In one embodiment, the step of S104 includes:
[0146] The control device calculates the difference between the blood oxygen value and the preset value corresponding to the rotation angle;
[0147] If the difference is within the preset error, the performance of the headset under test is determined to be qualified.
[0148] In the embodiment of the present application, the preset value corresponding to the rotation angle is a preset blood oxygen concentration set for the transmission area corresponding to the rotation angle (such as the blood oxygen value corresponding to the transmission area on the above-mentioned transmission surface 97%, 92%, 85%, etc.). The control device calculates the difference between the actually measured blood oxygen value (the fourth signal) and the preset blood oxygen value of the corresponding area. 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 blood oxygen value and the preset blood oxygen 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, the performance of the headset to be tested is judged to be qualified. This means that the performance of the headset under the simulated blood oxygen concentration 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 headset blood oxygen testing.
[0150] By the above Fig. 9 The steps for testing the blood oxygen performance of the headset under test by the blood oxygen test system are as follows:
[0151] 1. The tester places the earphone to be tested on the earphone fixing fixture 54;
[0152] 2. The test PC (control device) sends an RS232 program control instruction to the motor 52 (driving device) in the signal reflection device. The program control instruction includes controlling the rotation frequency of the blood oxygen turntable 122 and controlling the rotation angle of the blood oxygen turntable to be β;
[0153] 3. After receiving the program-controlled instruction, the driving device 52 (motor) controls the blood oxygen turntable 122 to rotate at the rotation frequency in the instruction according to the instruction, and controls the blood oxygen turntable to rotate at an angle β, so that the blood oxygen turntable 122 rotates to a certain transmission area, such as the transmission area g in the blood oxygen turntable, and the sleeve 55 is just aligned with the transmission area g;
[0154] 4. The tester starts the headset to be tested through the test PC (control device) to send R signal and IR signal. The R signal and IR signal are emitted into the corresponding transmission area g in the blood oxygen turntable 122 through the sleeve 55. Since the blood oxygen turntable is transmissive, the signal can be emitted into the heart rate turntable 121, so that the heart rate turntable 121 reflects the transmitted signal, simulating the heart rate movement trajectory to ensure the detection of living things.
[0155] 5. When the R signal and the IR signal are incident on the transmission area g, the R signal and the IR signal reflect different signals, and will reflect different R signals and IR signals. Since the material set in the transmission area g can meet the different transmission amounts of IR and R, the reflected R signal and IR signal will return through the sleeve 55 and be collected by the headphone to be tested;
[0156] 4. The headset under test collects the reflected R signal and IR signal, and processes the R signal and IR signal to obtain the blood oxygen detection value;
[0157] 5. The Bluetooth adapter (Bluetooth device) reads the blood oxygen detection value of the headset to be tested through wireless SPP (Bluetooth technology);
[0158] 6. The Bluetooth adapter sends the blood oxygen detection value to the test PC (control device) through the serial port protocol;
[0159] 7. The test PC determines whether the headset meets the technical specifications by comparing the blood oxygen detection value with the preset standard value (the preset blood oxygen value corresponding to the transmission area g, such as 97%), and displays the test result PASS or NG. If the error is within ±3% bpm, the result will be displayed as PASS, otherwise it will be displayed as NG.
[0160] 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.
[0161] The technicians in the relevant field 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 device 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.
[0162] Fig.12 Schematic diagram of the structure of the terminal device provided in the embodiment of the present application. Fig.12 As shown, the terminal device 12 of this embodiment includes: at least one processor 124 ( Fig.12(only one is shown in the figure) a processor, a memory 123, and a computer program 125 stored in the memory 123 and executable on at least one processor 124. When the processor 124 executes the computer program 125, the steps in any of the above-mentioned blood oxygen testing method embodiments are implemented.
[0163] 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.12 It is only an example of the terminal device 12 and does not constitute a limitation on the terminal device 12. 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.
[0164] The processor 124 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.
[0165] In some embodiments, the memory 123 may be an internal storage unit of the terminal device 12, such as a hard disk or memory of the terminal device 12. In other embodiments, the memory 123 may also be an external storage device of the terminal device 12, 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 12. Further, the memory 123 may also include both an internal storage unit of the terminal device 12 and an external storage device. The memory 123 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 123 may also be used to temporarily store data that has been output or is to be output.
[0166] 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.
[0167] 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 can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0168] 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 device that can carry the computer program code to the device / 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.
[0169] 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.
[0170] 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.
[0171] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment 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, such as 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, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0172] 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.
[0173] 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 blood oxygen testing method, characterized in that: Applied to a test system, the 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 angle; After receiving the first signal, the signal reflecting device reflects the second signal sent by the headset to be tested according to the rotation angle, so that the headset to be tested obtains a third signal returned after the 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 angle.
2. The blood oxygen testing method according to claim 1, characterized in that: The signal reflection device comprises a rotating disk, the transmission surface of the rotating disk comprises a plurality of transmission areas, and different transmission areas correspond to different light transmittances; The step of the signal reflecting device reflecting the second signal sent by the headset to be tested according to the rotation angle comprises: The signal reflecting device rotates the turntable according to the rotation angle, wherein the transmission area corresponding to the preset position after the turntable rotates is used to reflect the second signal sent by the headset to be tested.
3. The blood oxygen 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 a fifth signal and a sixth signal according to the third signal, wherein the fifth signal is a reflection signal of red light, and the sixth signal is a reflection signal of infrared light; The headset to be tested generates a detection value according to the fifth signal and the sixth signal, and the fourth signal is the detection value.
4. The blood oxygen testing method according to claim 3, characterized in that: When the headset to be tested detects blood oxygen, the detection value is the blood oxygen value; The headset to be tested generates a detection value according to the fifth signal and the sixth signal, including: The headphone under test obtains a first component and a second component corresponding to the fifth signal, and obtains a third component and a fourth component corresponding to the sixth signal, wherein the first component and the third component are AC components in the fifth signal and the sixth signal, and the second component and the fourth component are DC components in the fifth signal and the sixth signal; The earphone to be tested obtains the blood oxygen value according to the first component, the second component, the third component and the fourth component.
5. The blood oxygen testing method according to claim 1, 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 angle comprises: The control device calculates a difference between the blood oxygen value and a preset value corresponding to the rotation angle; if the difference is within a preset error, it is determined that the performance of the headset to be tested is qualified.
6. A blood oxygen testing system, characterized in that: include: The control device and the signal reflection device are used to implement the blood oxygen testing method as described in any one of claims 1 to 5.
7. The blood oxygen testing system according to claim 6, characterized in that: The blood oxygen testing system also includes a Bluetooth device, which is connected to the control device and the signal reflection device respectively; the control device communicates with the signal reflection device through the Bluetooth device.
8. The blood oxygen testing system according to claim 7, characterized in that: The signal reflecting device includes a blood oxygen turntable, the transmission surface of the blood oxygen turntable includes a plurality of transmission areas, and different transmission areas correspond to different light transmittances.
9. The blood oxygen testing system according to claim 7, characterized in that: The signal reflection device further includes a heart rate dial, and the heart rate dial includes a reflection surface, and the reflection surface is used to reflect the signal sent by the earphone to be tested.
10. The blood oxygen testing system according to claim 8, characterized in that: The different transmission regions have the same area.
11. The blood oxygen testing system according to claim 10, characterized in that: Different transmission areas have different materials.
12. The blood oxygen testing system according to claim 11, characterized in that: 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 blood oxygen testing system according to claim 9, characterized in that: The blood oxygen test system also includes an earphone fixture, which is fixed above the turntable and is used to fix the earphone to be tested and transmit signals.
14. The blood oxygen testing system according to claim 13, characterized in that: 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 blood oxygen testing system according to claim 14, characterized in that: The earphone fixture further includes a sleeve, which is connected to the earphone fixing fixture and is used for transmitting signals.
16. The blood oxygen testing system according to claim 15, characterized in that: The sleeve also includes a reflective sticker, which is arranged on the inner wall of the sleeve.
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.
