Data detection method and device and electronic equipment
By using light emission and image acquisition technologies, combined with skin feature comparison, the position of smart wearable devices can be monitored and adjusted in real time, solving the problem of signal quality degradation caused by device movement during wear and improving the accuracy and real-time performance of health data measurements.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGDONG JIUZHI TECH CO LTD
- Filing Date
- 2026-01-23
- Publication Date
- 2026-04-28
AI Technical Summary
When existing wearable health monitoring devices move during the user's wear, the quality of physiological signals received by the sensors decreases, affecting the measurement results of key health data such as heart rate and blood oxygen.
The device employs a combination of a light emission module and an image acquisition module. It emits light and collects reflected light to form an image. By comparing the skin features of the initial wear image with those of subsequent images, it dynamically calculates the device's offset data, including the offset amount, angle, and trajectory, and adjusts the sensors in real time or prompts the user to adjust the position.
It enables direct and objective identification of the actual positional changes of smart wearable terminals on the skin surface, improving the accuracy and real-time performance of health data measurement and reducing measurement errors.
Smart Images

Figure CN121926565A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, and more specifically, to a data detection method, apparatus, and electronic device. Background Technology
[0002] For wearable health monitoring devices such as health trackers, heart rate rings, and smartwatches, their detection accuracy highly depends on the precise alignment of the sensor with the human body's characteristic measurement points. If the device moves during wear, the quality of the physiological signals received by the sensor (such as photoplethysmography signals) will decrease, directly affecting the measurement results of key health data such as heart rate and blood oxygen.
[0003] For example, in the use case of smart rings, if the ring rotates or slips from its standard wearing position to a position that is difficult to measure due to exercise or daily activities, the accuracy of its measurement data will decrease significantly. Similarly, for smartwatches, if the back of the watch shifts from the initial calibrated position on the wrist to other areas, its ECG or blood oxygen monitoring results will also produce unreliable deviations.
[0004] Therefore, a solution is needed. Summary of the Invention
[0005] In view of this, embodiments of this application provide a data detection method, apparatus, and electronic device to solve the problem of inaccurate detection data caused by the inability of existing wearable devices to sense wearing offset in real time.
[0006] In a first aspect, embodiments of this application provide a data detection method applied to a smart wearable terminal, wherein the smart wearable terminal is equipped with a light emitting module and an image acquisition module, and the method includes: In response to detecting that a user is wearing the smart wearable terminal, the light emitting module of the smart wearable terminal is controlled to emit a first light beam according to a preset period; The image acquisition module acquires multiple frames of wearable images sequentially, and uses the first frame of wearable image as the initial wearable image; the wearable image is generated by the image acquisition module based on the second ray reflected back from the first ray. Based on the skin feature comparison results of the initial wearable image and the remaining multiple frames of wearable images, the offset data of the smart wearable terminal is determined.
[0007] In one feasible implementation, determining the offset data of the smart wearable terminal based on the skin feature comparison results of the initial wearable image and the remaining multi-frame wearable images includes: For every two adjacent wearable images, the offset between them is calculated based on the skin feature comparison results of the two adjacent wearable images; The offset data is obtained by calculating the cumulative offset between the initial wearable image and the last frame of the wearable image acquired at present based on the digital integral algorithm.
[0008] In one feasible implementation, the offset is a two-dimensional offset; The cumulative offset between the initial wearable image and the last acquired wearable image is calculated based on a digital integral algorithm to obtain the offset data, including: Based on a preset relationship model between two-dimensional displacement and three-dimensional rotation angle, the three-dimensional offset angle corresponding to each two-dimensional offset is determined. Based on a digital integral algorithm, the cumulative offset angle between the initial wearable image and the last frame of the currently acquired wearable image is calculated to obtain the offset data; The offset data also includes: a temporal offset trajectory determined based on the three-dimensional offset angle between every two adjacent wearable images.
[0009] In one feasible implementation, the method further includes: If the cumulative offset angle between the initial wearable image and the last wearable image is determined to meet a preset condition based on the offset data, then an operation matching the preset condition is executed.
[0010] In one feasible implementation, the preset conditions include: a first preset condition; the first preset condition includes: the cumulative offset angle is greater than a first threshold and less than a second threshold; Performing operations that match the preset conditions includes: adjusting the target sensor of the smart wearable terminal based on the cumulative offset angle.
[0011] In one feasible implementation, the preset condition includes: a second preset condition; the second preset condition includes: the cumulative offset angle is greater than a second threshold; Performing an operation matching the preset conditions includes: outputting a prompt message; the prompt message is used to remind the user to adjust the wearing position of the smart ring.
[0012] In one feasible implementation, the step of controlling the light-emitting module of the smart wearable terminal to emit a first light beam according to a preset period in response to detecting that a user is wearing the smart wearable terminal includes: The light emitting module is controlled to emit a third light beam according to a first cycle; The image acquisition module is controlled to receive the fourth ray reflected from the third ray; If it is determined based on the fourth ray that the user is wearing the smart wearable terminal, then the light emitting module is controlled to emit the first ray according to the second cycle; the second cycle is shorter than the first cycle.
[0013] In one feasible implementation, after controlling the light emitting module to emit the first light beam according to the second cycle, the method further includes: For each frame of the currently acquired wearable image, if the wearable image does not meet the preset wearable requirements, a prompt message is output; the prompt message is used to remind the user to adjust the wearable position of the smart wearable terminal, and the wearable requirements include: the difference between the wearable position corresponding to the wearable image and the preset wearable position is less than the preset difference. The step of using the first frame of the acquired wearable image as the initial wearable image includes: After the user adjusts according to the prompts and an image that meets the requirements is captured, the first frame of the wearable image captured by the image acquisition module that meets the wearable requirements is determined as the initial wearable image.
[0014] Secondly, this application also provides a data detection device mounted on a smart wearable terminal. The smart wearable terminal is equipped with a light emitting module and an image acquisition module. The field of view of the image acquisition module at least covers the area illuminated by the light emitting module on the surface of the object to be measured.
[0015] The image acquisition module is used to acquire multiple frames of wearable images sequentially acquired by the image acquisition module, and to use the first frame of wearable image acquired as the initial wearable image; the wearable image is generated by the image acquisition module based on the second light reflected back from the first light; The device further includes: The first control module is used to control the light emitting module of the smart wearable terminal to emit first light according to a preset period in response to detecting that the user has worn the smart wearable terminal; The comparison module is used to determine the offset data of the smart wearable terminal based on the skin feature comparison results between the initial wearable image and the remaining multi-frame wearable images in the multi-frame wearable images acquired by the image acquisition module.
[0016] In one feasible implementation, the comparison module is used to determine the offset data of the smart wearable terminal based on the skin feature comparison results of the initial wearable image and the remaining multi-frame wearable images, for the following purposes: For every two adjacent wearable images, the offset between them is calculated based on the skin feature comparison results of the two adjacent wearable images; The offset data is obtained by calculating the cumulative offset between the initial wearable image and the last frame of the wearable image acquired at present based on the digital integral algorithm.
[0017] In one feasible implementation, the offset is a two-dimensional offset; The comparison module is used to calculate the cumulative offset between the initial wearable image and the last currently acquired wearable image based on a digital integration algorithm, and to obtain the offset data, which is used for: Based on a preset relationship model between two-dimensional displacement and three-dimensional rotation angle, the three-dimensional offset angle corresponding to each two-dimensional offset is determined. Based on a digital integral algorithm, the cumulative offset angle between the initial wearable image and the last frame of the currently acquired wearable image is calculated to obtain the offset data; The offset data also includes: a temporal offset trajectory determined based on the three-dimensional offset angle between every two adjacent wearable images.
[0018] In one feasible implementation, the device further includes: The execution module is configured to perform an operation matching the preset condition if the cumulative offset angle between the initial wear image and the last frame wear image is determined to meet the preset condition based on the offset data.
[0019] In one feasible implementation, the preset conditions include: a first preset condition; the first preset condition includes: the cumulative offset angle is greater than a first threshold and less than a second threshold; The execution module is used to perform an operation that matches the preset conditions, and is used to: adjust the target sensor of the smart wearable terminal based on the cumulative offset angle.
[0020] In one feasible implementation, the preset condition includes: a second preset condition; the second preset condition includes: the cumulative offset angle is greater than a second threshold; The execution module is used to perform operations matching the preset conditions, and is used to: output prompt information; the prompt information includes: first information to remind the user to adjust the wearing position of the smart wearable terminal, and / or, signal quality prompt information determined based on the cumulative offset angle.
[0021] In one feasible implementation, the first control module is configured to, in response to detecting that a user is wearing the smart wearable terminal, control the light emitting module of the smart wearable terminal to emit first light according to a preset period, for the following purposes: The light emitting module is controlled to emit a third light beam according to a first cycle; The image acquisition module is controlled to receive the fourth ray reflected from the third ray; If it is determined based on the fourth ray that the user is wearing the smart wearable terminal, then the light emitting module is controlled to emit the first ray according to the second cycle; the second cycle is shorter than the first cycle.
[0022] In one feasible implementation, the device further includes: The prompting module is used to output a prompt message for each currently acquired wearable image after controlling the light emitting module to emit the first light according to the second cycle. If the wearable image does not meet the preset wearable requirements, the prompt message is used to remind the user to adjust the wearable position of the smart wearable terminal. The wearable requirements include: the difference between the wearable position corresponding to the wearable image and the preset wearable position is less than the preset difference. The image acquisition module is used to take the acquired first frame of the wearable image as the initial wearable image, and is used for: After the user adjusts according to the prompts and an image that meets the requirements is captured, the first frame of the wearable image captured by the image acquisition module that meets the wearable requirements is determined as the initial wearable image.
[0023] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the data detection method as described in any one of the first aspects.
[0024] This application provides a data detection method, device, and electronic device that employs light emission and image acquisition technology. After detecting that a user is wearing the smart wearable terminal, it emits a first light beam onto the user's skin surface at a preset cycle and collects the second light beam formed by its reflection. It sequentially acquires multiple frames of wearable images and compares the skin features of the initial wearable image with those of subsequent wearable images to dynamically calculate the offset data of the smart wearable terminal.
[0025] Compared with existing technologies that rely solely on signal strength for indirect inference or physical constraints, this method can directly and objectively reflect the actual positional changes of the wearable terminal on the skin surface, thereby accurately and in real time identifying the offset of the smart wearable terminal.
[0026] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0027] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 A flowchart of a data detection method provided in an embodiment of this application is shown.
[0029] Figure 2 A flowchart of another data detection method provided in an embodiment of this application is shown.
[0030] Figure 3 A schematic diagram of the structure of a smart wearable terminal provided in an embodiment of this application is shown.
[0031] Figure 4 A schematic diagram of the structure of a data detection device provided in an embodiment of this application is shown.
[0032] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0034] For wearable health monitoring devices such as rings and watches, the accuracy of detecting key physiological parameters like heart rate and blood oxygen fundamentally depends on whether the optical sensor module (such as the PPG module) can be continuously and stably aligned with specific measurement sites on the body (such as the fingertips or the radial artery in the wrist). The principle of optical sensing is to emit light of a specific wavelength onto the skin and receive the reflected light signal modulated by changes in subcutaneous blood volume, thereby calculating the pulse waveform and physiological indicators. Therefore, the relative position, angle, and fit between the sensor and the skin surface are the primary physical conditions determining signal quality and the accuracy of the final results.
[0035] In practical use, wearable devices rarely maintain the ideal position and posture they were initially designed for due to daily activities, joint bending, and sweating. For example, smart rings may rotate circumferentially or slide axially on the finger, causing their PPG sensors to shift from the fingertip area with the best signal quality to the back of the finger or knuckle. Smartwatches may also move on the wrist, causing their sensors to deviate from the initially calibrated vascularized area. Once such a shift occurs, the geometric relationship between the incident light and the receiving optical path changes, significantly attenuating the intensity of the reflected light signal and reducing the signal-to-noise ratio. This directly manifests as distorted, weak, or unstable photoplethysmography (PPG) signals. This inevitably introduces measurement errors, leading to inaccurate heart rate and blood oxygen readings, and severely impacting the reliability of advanced functions such as motion state recognition and sleep staging that rely on high-quality PPG waveforms.
[0036] Currently, the main approach to addressing this issue relies on physical restraint through structural design, such as setting directional protrusions on the inside of the ring to limit its rotation. However, this method sacrifices wearing comfort and versatility, and cannot cope with micro-displacements in all activity scenarios.
[0037] Based on this, embodiments of this application provide a data detection method, apparatus, and electronic device, which are described below through embodiments.
[0038] To facilitate understanding of this embodiment, a data detection method disclosed in this application embodiment will first be described in detail. This method is applied to a smart wearable terminal, which is equipped with a light emission module and an image acquisition module.
[0039] like Figure 1 As shown, it includes the following steps: Step 101: In response to detecting that the user is wearing the smart wearable terminal, control the light emitting module of the smart wearable terminal to emit first light according to a preset period.
[0040] Smart wearable devices confirm that they have made effective contact with the human skin and are in a working state through one or more built-in sensing mechanisms. This detection can be achieved in various ways, such as using contact sensors to detect changes in pressure or capacitance, or automatically determining that the smart wearable device (hereinafter referred to as the device or terminal device) has correctly worn the device when it detects a specific physiological signal (such as a stable PPG waveform) exceeding a preset threshold.
[0041] Once the wear status is confirmed, the device initiates an active sensing process, which controls its internal or integrated light emission module to send the first light to the skin area in contact with it at a preset cycle, for example, requiring 500 times per second (this value is only an example value), in order to provide a stable lighting foundation for subsequent image sequence acquisition.
[0042] For example, such as Figure 2 As shown, at this point, step 101 includes the following steps: Step 201: Control the light emitting module to emit the third light beam according to the first cycle.
[0043] Typically, when the user is not wearing the device, the third ray is emitted at a relatively low frequency (first cycle). This strikes a balance between device power consumption and functional detection.
[0044] Step 202: Control the image acquisition module to receive the fourth ray reflected by the third ray.
[0045] The image acquisition module receives the fourth ray reflected back from the outside by the third ray. The fourth ray reflected back from the third ray is different when the user is wearing the device and not wearing the device. When the user is wearing the device, the third ray enters the user's skin, and the light is absorbed, reflected, and refracted, making it significantly different from the light when the user is not wearing the device. Therefore, the received fourth ray can be used to analyze whether the user is wearing the device, thus proceeding to step 203.
[0046] It should be noted that the fourth ray can also be collected by other non-camera modules, such as light receiving modules. This way, no complicated processing is required, and it can directly determine whether the user is wearing a device. After confirming that the user is wearing a device, the image acquisition module can be activated to collect the subsequent second ray and generate the corresponding wear image.
[0047] In addition, the smart wearable terminal described here is equipped with a light emitting module and an image acquisition module. The field of view of the image acquisition module at least covers the area illuminated by the light emitting module on the surface of the object to be tested. Only through the cooperation of the two can the image acquisition module acquire a usable signal in the illuminated area.
[0048] Step 203: If it is determined based on the fourth light ray that the user is wearing the smart wearable terminal, then control the light emitting module to emit the first light ray according to the second cycle; the second cycle is shorter than the first cycle.
[0049] If, after determining that the user is wearing a smart wearable terminal based on the fourth ray, the acquisition frequency needs to be increased to improve response speed and acquisition accuracy, then the ray emission module needs to be adjusted to emit the first ray according to the second cycle (i.e., corresponding to step 101). For example, the second cycle could be: emitting the first ray 1000 times per second (meaning the second cycle emits faster and consumes more power), which ensures that the image acquisition module in subsequent steps can acquire enough wearable images.
[0050] Next, proceed with step 102.
[0051] Step 102: Acquire multiple frames of wearable images sequentially acquired by the image acquisition module, and use the first frame of wearable image acquired as the initial wearable image; the wearable image is generated by the image acquisition module based on the second light reflected back from the first light.
[0052] Under the illumination conditions created in step 101, optical signals are received in step 102. Once the device confirms that it is in a wearable state, its internal light source (such as an LED of a specific wavelength) emits "first rays" towards the skin surface in contact. After these rays hit the skin, they undergo complex reflection and scattering due to the unique micro-texture, wrinkles, and subcutaneous tissue structure of the skin surface.
[0053] Smart wearable terminals have built-in acquisition modules, such as image acquisition modules (typically including optical lenses and image sensors), which simultaneously capture reflected light signals and reconstruct digital images. For example, the photosensitive array of an image sensor (such as a CMOS sensor) receives the light intensity distribution reflected from the skin area covered by the outgoing light path and converts it into corresponding electrical signals. After analog-to-digital conversion, signal conditioning, and other processing, a series of clear digital "wearable images" reflecting the details of the skin surface texture under the current sensor's field of view are finally formed. This process is continuous or periodic. Since multiple frames of wearable images are acquired sequentially by the image acquisition device, they are also arranged in chronological order, forming a complete wearable image sequence.
[0054] After obtaining this sequence of wearable images, a static spatial reference frame needs to be established for comparison. To this end, an image acquired at a specific moment in the sequence is established as the baseline, called the "initial wearable image." The selection logic for this initial wearable image is related to the specific application scenario: it can be the first image automatically captured when the wear is determined to be complete. For example, since users usually wear the device correctly according to the wearing prompts or instructions when they first start wearing it, the first frame of the wearable image can be used as the initial wearable image, and the position of this initial wearable image can be used as a reference position without any offset. By comparing this initial wearable image with other subsequent wearable images, it is possible to determine whether the user's wear has shifted.
[0055] Alternatively, this initial wear image can be captured by the user through an interactive command after confirming that the device is comfortable to wear and correctly positioned. This initial wear image is a "snapshot" of the skin features corresponding to the ideal wear position (as determined), providing the raw coordinates for comparison in all subsequent calculations.
[0056] For example, in certain special cases, the user's initial wearing position on the device may not be the most accurate. To address this issue, an exemplary solution is provided. In this case, after controlling the light-emitting module to emit the first light in a second cycle, the method further includes the following steps: For each frame of the currently acquired wearable image, if the wearable image does not meet the preset wearable requirements, a prompt message is output; the prompt message is used to remind the user to adjust the wearable position of the smart wearable terminal, and the wearable requirements include: the difference between the wearable position corresponding to the wearable image and the preset wearable position is less than the preset difference.
[0057] The preset wearing position in the pre-defined wearing requirements is set based on the optimal detection position determined through pre-testing. Taking a smart wearable terminal like a smart ring as an example, the optimal detection position for the smart ring is the fingertip. Therefore, the position where the detection module in the ring faces the fingertip is the preset wearing position for this smart ring. The preset difference is determined based on the allowable error. Assuming the difference is the difference in the rotation angle of the smart ring, the preset difference can be set to 0.5 degrees (this value is only an example). If the difference between the current wearing position and the preset wearing position is greater than or equal to this preset difference, it indicates that the user is not wearing the ring correctly. In this case, the user terminal (such as a mobile phone) needs to prompt the user to adjust the wearing position (for example, the correct wearing position can be displayed on the interface). Conversely, if the difference is less than this preset difference, it indicates that the user is wearing the ring correctly, and no prompting is needed.
[0058] At this point, using the first frame of the acquired wearable image as the initial wearable image includes: After the user adjusts according to the prompts and an image that meets the requirements is captured, the first frame of the wearable image captured by the image acquisition module that meets the wearable requirements is determined as the initial wearable image.
[0059] If the user wears the standard clothing from the beginning, or obtains a suitable wearing image after adjustments based on prompts, then the first frame of the captured image that meets the wearing requirements is designated as the initial wearing image. This ensures that the initial wearing image always meets the requirements, guaranteeing the device's detection accuracy.
[0060] Through the above steps, the physical positional relationship between the device and the skin, which is difficult to measure directly, can be transformed into a series of image data that can be directly processed by the algorithm and contains rich spatial features (texture). At the same time, a benchmark for comparison is established, laying the data foundation for subsequent offset analysis.
[0061] Step 103: Based on the skin feature comparison results of the initial wearable image and the remaining multi-frame wearable images, determine the offset data of the smart wearable terminal.
[0062] Using the initial wearable image as the baseline, comparisons are made based on multiple acquired wearable images. The core basis for comparison is the difference in skin features presented in the wearable images. The surface of human skin, especially commonly monitored areas such as fingertips, inner wrists, and palms, has unique and relatively stable microscopic textures and macroscopic wrinkle patterns. When the device moves (e.g., slides or rotates) on the skin surface, the skin features "seen" by its optical sensors will also undergo corresponding translation, rotation, or deformation. By analyzing the changes of these texture features in continuous images through image processing and pattern recognition algorithms, such as calculating the displacement vector of feature points or the transformation matrix of the overall image, the offset data generated by the smart wearable terminal since its initial position can be quantified. This offset data can include translation distance, rotation angle, etc., thus objectively and directly reflecting the dynamic changes in the device's wearing position, without relying on indirect inferences based on physiological signal quality. Taking the detected skin as a fingerprint on the fingertip as an example, the skin features mainly include key feature points such as ridge intersections and special texture patterns. These feature points can effectively determine the offset data between images. At this time, the feature point matching accuracy can reach 0.1 pixels.
[0063] This method innovatively achieves direct measurement of the displacement of wearable devices by using "skin features" as a natural, stable, and device-directly related spatial marker, providing a forward-looking and objective means of state perception to improve the data reliability of wearable health monitoring.
[0064] This application provides a data detection method, device, and electronic device that employs light emission and image acquisition technology. After detecting that a user is wearing the smart wearable terminal, it emits a first light beam onto the user's skin surface at a preset cycle and collects the second light beam formed by its reflection. It sequentially acquires multiple frames of wearable images and compares the skin features of the initial wearable image with those of subsequent wearable images to dynamically calculate the offset data of the smart wearable terminal.
[0065] Compared with existing technologies that rely solely on signal strength for indirect inference or physical constraints, this method can directly and objectively reflect the actual positional changes of the wearable terminal on the skin surface, thereby accurately and in real time identifying the offset of the smart wearable terminal.
[0066] In one feasible implementation, determining the offset data of the smart wearable terminal based on the skin feature comparison results of the initial wearable image and the remaining multi-frame wearable images includes: For every two adjacent wearable images, the offset between them is calculated based on the skin feature comparison results of the two adjacent wearable images; the cumulative offset between the initial wearable image and the last frame of the currently acquired wearable image is calculated based on the digital integral algorithm to obtain the offset data.
[0067] In this embodiment, a fine-grained texture comparison analysis is performed for every two temporally adjacent wearable images (e.g., frame t and frame t+1). Here, "adjacent" means that they were acquired at consecutive acquisition time points with relatively small changes in device position between them, which helps to ensure the accuracy and convergence of the comparison algorithm.
[0068] During the computation, the algorithm first extracts visual features that characterize the uniqueness of the skin surface from the two images. These features can be corner points, texture keypoints, local binary patterns, or deep features extracted through a deep learning model. Subsequently, the algorithm establishes a correspondence between the feature sets of the two images, that is, it finds the new position of a feature point in the previous image in the next image.
[0069] Subsequently, based on the positional changes between a large number of successfully matched feature point pairs, a mathematical transformation model describing the overall relative motion between the two image frames can be estimated. This model can be a simple translation model, or a more complex affine or perspective transformation model, to accommodate possible translations, rotations, and slight deformations of the device.
[0070] That is, assuming a total of n frames of wearable images are acquired, then n-1 comparison results will be obtained, and then n-1 offsets will be obtained. Here, the offset can be a two-dimensional feature offset between wearable images, or a three-dimensional offset corresponding to the two-dimensional feature offset between wearable images (such as the offset angle under a three-dimensional rotation angle).
[0071] Using a digital integration algorithm, n-1 offsets can be accumulated to obtain the cumulative offset between the initial wearable image and the last acquired wearable image frame. To save resources during calculation, previous offsets can be deleted after accumulation.
[0072] For example, assuming there are four wearable images, calculating offsets in pairs will yield 3 offsets. If the offset between the first and second wearable images is 1 (this is just an example, the specific offset unit is not limited), the offset between the second and third wearable images is 2, and the offset between the third and fourth wearable images is 2, then the accumulation method is as follows: After obtaining an offset of 2 between the second and third wearable images, the first offset (1) and the second offset (2) are accumulated to obtain 1+2=3. After obtaining the third offset (2), the total accumulated offset is accumulated again to obtain a total accumulated offset of 3+2=5. This accumulated offset is used as the offset data.
[0073] Furthermore, the offset is a two-dimensional offset; therefore, the cumulative offset from the initial wearable image to the last acquired wearable image is calculated based on a digital integration algorithm to obtain the offset data, including: Based on a preset relationship model between two-dimensional displacement and three-dimensional rotation angle, the three-dimensional offset angle corresponding to each two-dimensional offset is determined; based on a digital integration algorithm, the cumulative offset angle between the initial wear image and the last frame of the currently acquired wear image is calculated to obtain the offset data.
[0074] This section uses a smart ring as an example of a smart wearable device. If the previously calculated offset was a two-dimensional offset, then when the smart wearable device is a smart ring, the ring's offset is mainly reflected in the rotation of the angle at which the user wears it. Therefore, it is necessary to determine the three-dimensional deflection angle corresponding to each two-dimensional offset in three-dimensional space.
[0075] Through the embodiments of this application, the cumulative offset angle of the ring can be used as the correction parameter of the attitude sensor (accelerometer, gyroscope) to dynamically compensate for the coordinate system offset.
[0076] Furthermore, different sampling frame rates can be used for different states. For example, the sampling frame rate can be automatically reduced to 100 frames per second in static scenes and increased to 1000 frames per second in motion scenes, achieving on-demand allocation of system resources. Average power consumption is reduced to 35% of traditional continuous high frame rate solutions. Through dynamic frame rate adjustment, the system operates in low-power mode (100 frames per second) in 90% of daily use scenarios, only activating high-speed sampling when a rapid offset is detected (offset angle > 1° / second), achieving an optimal balance between performance and power consumption.
[0077] In one embodiment, the offset data further includes a temporal offset trajectory determined based on the three-dimensional offset angle between every two adjacent wearable images.
[0078] Here, the time-series offset trajectory fully records and reconstructs the changes in the device during the user's wearing process, that is, the changes from the first frame of the wear image to the last frame of the currently acquired wear image. For example: first rotated from 0 to -4 degrees, then rotated to -3 degrees, and then rotated to 6 degrees. (Positive and negative values represent different rotation directions).
[0079] In other words, this series of cumulative offset angles, connected sequentially in the time domain, naturally form a path describing the continuous change in the device's position, i.e., the offset trajectory. This trajectory can intuitively and quantitatively reveal the dynamic behavior of the device during wear, for example: Trajectory pattern: Is it a slight tremor that basically stays in place, a continuous unidirectional slip, or a periodic reciprocating rotation?
[0080] Motion parameters: Deeper information such as average offset velocity, acceleration, and main direction of motion can be derived from them.
[0081] Therefore, the offset trajectory determined in this step goes beyond a single-dimensional scalar value (such as "offset by 10 degrees" represented by cumulative offset angle). It is a comprehensive dataset that can indicate the offset trajectory of the smart wearable terminal. This trajectory information has significant application value: First, high-precision offset judgment: Compared to single-point judgment, continuous trajectories can more reliably distinguish between "temporary interference" and "trend offset," reducing misjudgments. Second, motion pattern recognition: Combined with time information, typical wearing motion patterns triggered by specific activities (such as typing, handwashing) can be identified. Third, prediction and compensation: Based on trajectory trends, it is possible to predict the short-term future position of the device, thereby providing better timing control for advance compensation of physiological signal acquisition. Finally, it enables user experience optimization: Trajectory data can be used to analyze which activities are most likely to cause device displacement, thereby guiding improvements in product structure or wearing methods.
[0082] In one feasible implementation, the method further includes: If the cumulative offset angle between the initial wearable image and the last wearable image is determined to meet a preset condition based on the offset data, then an operation matching the preset condition is executed.
[0083] Generally speaking, when a smart wearable device shifts, it will affect the detection accuracy of the smart wearable device. Therefore, when the cumulative shift angle reaches different levels, different levels of operation will be used to adjust it.
[0084] The smart wearable terminal described in this application is primarily used to collect and analyze user body data, such as heart rate, blood oxygen saturation, electrocardiogram waveforms, and body temperature, by integrating various biosensors (e.g., photoplethysmography sensors, electrocardiogram electrodes, temperature sensors, etc.). This body data forms the basis for health monitoring, exercise analysis, and sleep assessment.
[0085] It is important to emphasize that the accuracy of the body data collected by the smart wearable terminal is highly dependent on its wearing position. In particular, when the smart wearable terminal is a smart ring, the sensor's measurement principle requires it to maintain a stable and accurate fit with specific anatomical locations on the human body (such as the capillary bed of the fingertips or the radial artery in the wrist). Any shift or rotation in the wearing position will change the geometric coupling relationship between the sensor and the skin surface and subcutaneous tissue, leading to changes in the incident and received signal paths, thus introducing systematic measurement errors and causing the final output body data to deviate from the true physiological state.
[0086] To ensure the reliability of body data acquisition and enable appropriate measures to be taken when wear-related offsets are detected, this method further includes a judgment and operation step: the subsequent action logic based on the offset analysis results. Its core idea is to implement a tiered and targeted response strategy based on objective offset data. Specifically, it first quantifies the degree of deviation (cumulative offset angle) between the current worn image and the initial worn image using the offset data calculated in the aforementioned steps (e.g., translation vector, rotation angle), and presets conditional thresholds corresponding to different cumulative offset angles. This allows for the use of different offset remedial measures in different situations to improve measurement accuracy.
[0087] The following will illustrate this with two typical scenarios: 1. Slight offset scenario: In this case, the preset conditions include: a first preset condition; the first preset condition includes: the cumulative offset angle is greater than a first threshold and less than a second threshold.
[0088] At this time, an operation matching the preset conditions is performed, including: adjusting the target sensor of the smart wearable terminal based on the cumulative offset angle.
[0089] That is, a correction parameter is generated based on the cumulative offset angle, and the data detected by the target sensor of the smart wearable terminal is adjusted according to the correction parameter.
[0090] For example, the target sensor may be at least one of the following: Photoelectric volumetric spectroscopy (PPG) sensor and light emission module.
[0091] At this time, the data detected by the target sensor of the smart wearable terminal is corrected, including but not limited to: Adjust the emission current of the light emitting module, and / or adjust the acquisition time (acquisition frequency, etc.) of the photoplethysmography (PPG) sensor. In this step, the adjustment magnitude is positively correlated with the magnitude of the cumulative offset angle; that is, the larger the cumulative offset angle, the greater the magnitude of the current adjustment or the acquisition time adjustment.
[0092] Generally speaking, when the cumulative offset angle increases, the transmission current is set to be larger and the acquisition time to be longer (or the acquisition frequency to be faster) so that the acquired signal is better and the detection error caused by the offset of the smart wearable terminal is reduced.
[0093] The following is a brief introduction, assuming that the first threshold is 5 degrees and the second threshold is 10 degrees (these two values are exemplary and can be adjusted according to actual needs).
[0094] When the cumulative offset angle is between 5 and 10 degrees, it is considered that only a slight offset has occurred, which does not significantly affect the detection accuracy. The operation performed at this time, matching the first preset condition, is to adjust the current of the light emitting module to increase the intensity of the first light ray. Here, the "first light ray" refers to the aforementioned active illumination source used to generate the wearable image.
[0095] Enhancing illumination in a visual imaging system can improve the contrast and signal-to-noise ratio of subsequently acquired images, thereby ensuring that the core monitoring method of skin feature comparison remains highly reliable even after slight device movement. Alternatively, in another implementation, when the smart wearable terminal integrates independent physiological sensors (e.g., PPG sensors) for detecting body data (such as PPG signals), this operation can also be manifested as automatically enhancing the signal amplification gain, acquisition time, and / or acquisition frequency of these sensors.
[0096] In this way, by automatically increasing the LED emission intensity to compensate for the signal attenuation caused by the increased optical path, the signal-to-noise ratio of the PPG signal is maintained. When the LED emission power is dynamically adjusted according to the offset angle (increasing power by 3% for every 1° offset), the effective light flux reaching the blood vessel layer remains stable, keeping the PPG signal-to-noise ratio constant and thus ensuring measurement accuracy. Actively maintaining the quality and stability of physiological signal acquisition without the user's awareness ensures the accuracy of body data and helps to improve the problem of low acquisition accuracy caused by offset.
[0097] 2. Severe offset scenario: In this case, the preset conditions include: a second preset condition; the second preset condition includes: the cumulative offset angle is greater than a second threshold (still assumed to be 10 degrees).
[0098] At this time, an operation matching the preset conditions is performed, including: outputting prompt information; the prompt information includes: first information for reminding the user to adjust the wearing position of the smart wearable terminal, and / or, signal quality prompt information determined based on the cumulative offset angle.
[0099] If the second preset condition is met, it is considered that the smart wearable terminal (such as a smart ring) has been severely misaligned. At this time, adjusting the data of the target sensor usually cannot improve the detection accuracy. Therefore, the user can be prompted to cooperate in adjusting the position of the smart ring so that it can be worn again in the standard position.
[0100] Simultaneously, the cumulative offset angle is correlated with the evaluation of the PPG signal quality detected by the PPG sensor. A larger cumulative offset angle results in a lower PPG signal quality evaluation value, while a smaller cumulative offset angle results in a higher PPG signal quality evaluation value. This allows for the output of a prompt message indicating the PPG signal quality status (e.g., poor signal quality) determined by the cumulative offset angle.
[0101] This notification can be implemented through various human-computer interaction interfaces. For example, it can control the vibration motor of the smart wearable terminal to generate vibration, light up the screen to display warning icons or text, or send notification messages to paired external devices such as smartphones and tablets via wireless communication (such as Bluetooth), so that the accompanying application can provide clear visual or auditory reminders to the user.
[0102] Through the aforementioned tiered response mechanism, this application's embodiments achieve an evolution from "passive monitoring" to "proactive management." It not only accurately senses changes in wearing status but also adopts differentiated strategies—from "automatic device-side compensation" to "requesting user intervention"—based on the severity of the misalignment. This ensures a consistent and seamless user experience during minor misalignments, while providing timely intervention during severe misalignments. This effectively prevents the continuous collection of inaccurate body data under incorrect wearing conditions, thereby comprehensively improving device reliability, data quality, and user trust.
[0103] It should be noted that the first and second thresholds mentioned above can be set according to requirements, with the first threshold being smaller than the second threshold. Generally speaking, if the cumulative offset angle is less than the first threshold, it is considered that although there is some offset, it does not affect the detection result, and no corresponding operation needs to be performed.
[0104] For example, the colors of the first ray and the third ray are any of the following: red, blue, or green.
[0105] Through the different implementation methods described above, this method can be flexibly adapted to smart wearable terminals with different product forms and performance requirements, and provides a variety of optimization options for system design while ensuring the effectiveness of the offset monitoring function.
[0106] Red, blue, and green light all fall within the visible light spectrum, and their light sources (such as LEDs) are mature, inexpensive, and easily miniaturized. The interaction characteristics between different wavelengths of light and skin tissue vary slightly (e.g., green light is more sensitive to changes in blood oxygenation in epidermal capillaries and is often used for PPG heart rate measurement; red light penetrates deeper), allowing for optimized selection based on the device's primary function (e.g., whether it prioritizes heart rate monitoring or texture imaging). Limiting the colors to this range clarifies the feasibility of the implementation scheme and does not exclude the possibility of using other light sources (such as infrared), but provides specific and reasonable implementation options for this embodiment.
[0107] In one alternative implementation, the smart wearable terminal is a ring; the skin feature includes a fingerprint.
[0108] The ideal wearing position for a smart ring is to align its sensor area with and fit it against the fingertip. The fingertip is the thickest and flattest area of skin on the palmar side of the distal phalanx, and it is also the most sensitive location for collecting physiological signals (such as PPG).
[0109] As a specific and typical example of skin characteristics, the fingertip area happens to cover one of the most unique and stable biological features of humans: fingerprints. Fingerprints are complex and unique patterns formed by the ridges and grooves of the epidermis on the surface of the fingertip. Therefore, when a smart ring is worn correctly, the core content of the image captured by its image acquisition module is precisely the fingerprint texture on the surface of the wearer's fingertip.
[0110] This embodiment brings unique advantages to the method: A leap in feature quality: Fingerprint patterns provide image comparison with denser and higher-contrast feature points (such as ridge endpoints and bifurcation points) that far exceed those of ordinary skin features. This enables the calculation of image deviations to achieve sub-millimeter accuracy, allowing for extremely sensitive detection of minute rotations or slippage of the ring.
[0111] The inherent stability of the reference: The fingerprint structure remains largely unchanged after adulthood and is relatively fixed to the phalanges. Therefore, using the fingerprint image of the fingertip as the initial wearing image is equivalent to establishing a long-term reliable "anchor point," effectively avoiding reference frame drift caused by short-term changes in skin condition (such as slight swelling).
[0112] Direct optimization of application scenarios: Since the health monitoring function of the ring is highly dependent on the fingertip position, this method directly safeguards the measurement foundation of the core function by monitoring the offset of the fingerprint image of the fingertip. Once an offset is detected, the system can immediately trigger compensation (such as enhancing the PPG light source) or reminder, which is highly targeted.
[0113] Therefore, using "fingerprint" as a specific skin feature implementation not only perfectly matches the application scenario of ring-type products, but also elevates the monitoring accuracy and practicality of this method to the highest standard. It demonstrates that by cleverly utilizing the inherent, highly characteristic biotexture of the human body, ultra-precise optical sensing of the wearing status of wearable devices can be achieved without adding any physical constraints.
[0114] It should be noted that in the smart wearable terminal used in the embodiments of this application, if the smart wearable terminal is a smart ring, in order to ensure the cooperation between the light emitting module and the image acquisition module, the two modules will be arranged to maintain a certain spatial relationship. For example, it is required that both modules are located on the inside of the ring (the side close to the user's skin) and are arranged adjacent to each other.
[0115] At the same time, it is required that the angle between the line segment from the light emitting module to the center of the circle and the line segment from the image acquisition module to the center of the circle does not exceed 90 degrees.
[0116] Figure 3 A feasible implementation plan is given, such as Figure 3 As shown, assuming the light emitting module is 301 and the image acquisition module is 302, then the included angle 303 should not exceed 90 degrees.
[0117] Based on the same technical concept, this application also provides a data detection device mounted on a smart wearable terminal. The smart wearable terminal is equipped with a light emitting module and an image acquisition module. The field of view of the image acquisition module (which can be combined here) Figure 3 (Understanding) This means at least covering the area of the light emitting module's illumination on the surface of the object under test. Only through the cooperation of both can the image acquisition module acquire a usable signal in the illuminated area.
[0118] like Figure 4 As shown, the device includes: The first control module 401 is used to control the light emitting module of the smart wearable terminal to emit first light according to a preset period in response to detecting that the user has worn the smart wearable terminal.
[0119] The image acquisition module 402 is used to acquire multiple frames of wearable images sequentially acquired by the image acquisition module, and to use the first frame of wearable image acquired as the initial wearable image; the wearable image is generated by the image acquisition module based on the second light reflected back from the first light.
[0120] The comparison module 403 is used to determine the offset data of the smart wearable terminal based on the skin feature comparison results of the initial wearable image and the remaining multi-frame wearable images in the multi-frame wearable images acquired by the image acquisition module.
[0121] In one feasible implementation, the comparison module is used to determine the offset data of the smart wearable terminal based on the skin feature comparison results of the initial wearable image and the remaining multi-frame wearable images, for the following purposes: For every two adjacent wearable images, the offset between them is calculated based on the skin feature comparison results of the two adjacent wearable images.
[0122] The offset data is obtained by calculating the cumulative offset between the initial wearable image and the last frame of the wearable image acquired at present based on the digital integral algorithm.
[0123] In one feasible implementation, the offset is a two-dimensional offset.
[0124] The comparison module is used to calculate the cumulative offset between the initial wearable image and the last currently acquired wearable image based on a digital integration algorithm, and to obtain the offset data, which is used for: Based on a preset relationship model between two-dimensional displacement and three-dimensional rotation angle, the three-dimensional offset angle corresponding to each two-dimensional offset is determined.
[0125] Based on the digital integral algorithm, the cumulative offset angle between the initial wearable image and the last frame of the currently acquired wearable image is calculated to obtain the offset data.
[0126] The offset data also includes: a temporal offset trajectory determined based on the three-dimensional offset angle between every two adjacent wearable images.
[0127] In one feasible implementation, the device further includes: The execution module is configured to perform an operation matching the preset condition if the cumulative offset angle between the initial wear image and the last frame wear image is determined to meet the preset condition based on the offset data.
[0128] In one feasible implementation, the preset conditions include: a first preset condition; the first preset condition includes: the cumulative offset angle is greater than a first threshold and less than a second threshold.
[0129] The execution module is used to perform an operation that matches the preset conditions, and is used to: adjust the target sensor of the smart wearable terminal based on the cumulative offset angle.
[0130] In one feasible implementation, the preset condition includes: a second preset condition; the second preset condition includes: the cumulative offset angle is greater than a second threshold.
[0131] The execution module is used to perform operations matching the preset conditions, and is used to: output prompt information; the prompt information includes: first information to remind the user to adjust the wearing position of the smart wearable terminal, and / or, signal quality prompt information determined based on the cumulative offset angle.
[0132] In one feasible implementation, the first control module is configured to, in response to detecting that a user is wearing the smart wearable terminal, control the light emitting module of the smart wearable terminal to emit first light according to a preset period, for the following purposes: The light emitting module is controlled to emit a third light beam according to the first cycle.
[0133] The image acquisition module is controlled to receive the fourth ray reflected by the third ray.
[0134] If it is determined based on the fourth ray that the user is wearing the smart wearable terminal, then the light emitting module is controlled to emit the first ray according to the second cycle; the second cycle is shorter than the first cycle.
[0135] In one feasible implementation, the device further includes: The prompting module is used to output a prompt message for each currently acquired wearable image after controlling the light emitting module to emit the first light according to the second cycle. If the wearable image does not meet the preset wearable requirements, the prompt message is used to remind the user to adjust the wear position of the smart wearable terminal. The wearable requirements include: the difference between the wearable position corresponding to the wearable image and the preset wearable position is less than the preset difference.
[0136] The image acquisition module is used to take the acquired first frame of the wearable image as the initial wearable image, and is used for: After the user adjusts according to the prompts and an image that meets the requirements is captured, the first frame of the wearable image captured by the image acquisition module that meets the wearable requirements is determined as the initial wearable image.
[0137] Figure 5 A schematic diagram of an electronic device provided in this application embodiment includes: a processor 501, a storage medium 502, and a bus 503. The storage medium 502 stores machine-readable instructions executable by the processor 501. When the electronic device runs the data detection method as described in the embodiment, the processor 501 communicates with the storage medium 502 through the bus 503, and the processor 501 executes the machine-readable instructions to perform the steps as described in the embodiment.
[0138] In this embodiment, the storage medium 502 may also execute other machine-readable instructions to perform other methods as described in the embodiment. For details on the specific execution steps and principles, please refer to the description of the embodiment, which will not be repeated here.
[0139] This application also provides a computer-readable storage medium storing a computer program that is executed by a processor to perform the steps as described in the embodiments.
[0140] In this embodiment, the computer program, when run by the processor, can also execute other machine-readable instructions to perform other methods as described in the embodiments. For details on the specific execution steps and principles, please refer to the description of the embodiments, which will not be repeated here.
[0141] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the coupling or direct coupling or communication connection shown or discussed may be through some communication interface; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.
[0142] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0143] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0144] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0145] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A data detection method, characterized in that, Applied to a smart wearable terminal, the smart wearable terminal is equipped with a light emitting module and an image acquisition module, the method includes: In response to detecting that a user is wearing the smart wearable terminal, the light emitting module of the smart wearable terminal is controlled to emit a first light beam according to a preset period; The image acquisition module acquires multiple frames of wearable images sequentially, and uses the first frame of wearable image as the initial wearable image; the wearable image is generated by the image acquisition module based on the second ray reflected back from the first ray. Based on the skin feature comparison results of the initial wearable image and the remaining multiple frames of wearable images, the offset data of the smart wearable terminal is determined.
2. The method according to claim 1, characterized in that, The determination of the offset data of the smart wearable terminal based on the skin feature comparison results of the initial wearable image and the remaining multi-frame wearable images includes: For every two adjacent wearable images, the offset between them is calculated based on the skin feature comparison results of the two adjacent wearable images; The offset data is obtained by calculating the cumulative offset between the initial wearable image and the last frame of the wearable image acquired at present based on the digital integral algorithm.
3. The method according to claim 2, characterized in that, The offset is a two-dimensional offset; The cumulative offset between the initial wearable image and the last acquired wearable image is calculated based on a digital integral algorithm to obtain the offset data, including: Based on a preset relationship model between two-dimensional displacement and three-dimensional rotation angle, the three-dimensional offset angle corresponding to each two-dimensional offset is determined. Based on a digital integral algorithm, the cumulative offset angle between the initial wearable image and the last frame of the currently acquired wearable image is calculated to obtain the offset data; The offset data also includes: a temporal offset trajectory determined based on the three-dimensional offset angle between every two adjacent wearable images.
4. The method according to claim 3, characterized in that, The method further includes: If the cumulative offset angle between the initial wearable image and the last wearable image is determined to meet a preset condition based on the offset data, then an operation matching the preset condition is executed.
5. The method according to claim 4, characterized in that, The preset conditions include: a first preset condition; the first preset condition includes: the cumulative offset angle is greater than a first threshold and less than a second threshold; Performing operations that match the preset conditions includes: adjusting the target sensor of the smart wearable terminal based on the cumulative offset angle.
6. The method according to claim 4, characterized in that, The preset conditions include: a second preset condition; the second preset condition includes: the cumulative offset angle is greater than a second threshold. Performing operations that match the preset conditions includes: Output prompt information; the prompt information includes: first information to remind the user to adjust the wearing position of the smart wearable terminal, and / or, signal quality prompt information determined based on the cumulative offset angle.
7. The method according to claim 1, characterized in that, The step of controlling the light-emitting module of the smart wearable terminal to emit a first light beam according to a preset period in response to detecting that a user is wearing the smart wearable terminal includes: The light emitting module is controlled to emit a third light beam according to a first cycle; The image acquisition module is controlled to receive the fourth ray reflected from the third ray; If it is determined based on the fourth ray that the user is wearing the smart wearable terminal, then the light emitting module is controlled to emit the first ray according to the second cycle; the second cycle is shorter than the first cycle.
8. The method according to claim 7, characterized in that, After controlling the light emitting module to emit the first light beam according to the second cycle, the method further includes: For each frame of the currently acquired wearable image, if the wearable image does not meet the preset wearable requirements, a prompt message is output; the prompt message is used to remind the user to adjust the wearable position of the smart wearable terminal, and the wearable requirements include: the difference between the wearable position corresponding to the wearable image and the preset wearable position is less than the preset difference. The step of using the first frame of the acquired wearable image as the initial wearable image includes: After the user adjusts according to the prompts and an image that meets the requirements is captured, the first frame of the wearable image captured by the image acquisition module that meets the wearable requirements is determined as the initial wearable image.
9. A data detection device, characterized in that, Equipped in a smart wearable terminal, the smart wearable terminal includes a light emitting module and an image acquisition module. The field of view of the image acquisition module at least covers the area illuminated by the light emitting module on the surface of the object to be measured. The device also includes: The first control module is used to control the light emitting module of the smart wearable terminal to emit first light according to a preset period in response to detecting that the user has worn the smart wearable terminal; The comparison module is used to determine the offset data of the smart wearable terminal based on the skin feature comparison results between the initial wearable image and the remaining multi-frame wearable images in the multi-frame wearable images acquired by the image acquisition module.
10. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is in operation, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the data detection method as described in any one of claims 1 to 8.