Wearable device and sensing data transmission method
By dynamically adjusting the sensing data transmission mode of the wearable device and judging the status based on the action sensor, the problem of waste of resources and long restart time under static is solved, and more efficient resource utilization and user experience improvement is achieved.
Patent Information
- Application Number
- CN202411281617.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-02-21
- Filing Date
- 2024-09-13
- Publication Date
- 2025-08-22
AI Technical Summary
The existing wearable devices still transmit small motion sensing data in a static state, resulting in shortening resource consumption and standby time, while the existing shutdown mechanism leads to a long restart time, affecting the user experience.
The device status is judged through the action sensor, and the sensing data transmission mode is dynamically adjusted, including data transmission in the active state and resource retention in the inactive state to avoid interruption of wireless communication connection and sensor shutdown.
It reduces the consumption of transmission and computing resources of wearable devices, extends the standby time, and reduces the restart time and improves the user experience.
Smart Images

Figure CN120523286A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a wearable device, a method for transmitting sensory data, and a non-transitory computer-readable storage medium thereof. Specifically, the present invention relates to a wearable device capable of dynamically adjusting a sensory data transmission mode, a method for transmitting sensory data, and a non-transitory computer-readable storage medium thereof. Background Art
[0002] In recent years, various technologies related to virtual reality have developed rapidly, and various related technologies and applications have been proposed one after another.
[0003] In the prior art, a wearable device may periodically transmit sensory data corresponding to the user to a computing device (eg, a head-mounted display, a computer) so that the computing device can perform corresponding data calculations.
[0004] However, in the prior art, when the user is relatively static, the wearable device still transmits a large amount of sensor data with only minimal movement (i.e., motion sensing values close to zero) to the computing device for calculation. This consumes the wearable device's transmission and computing resources, and results in computational overhead. Since wearable devices typically have low battery capacity, this reduces the device's standby time.
[0005] Furthermore, even if existing technologies offer mechanisms for shutting down wearable devices, such mechanisms disable the functions within the wearable device, turn off its sensors, and disconnect the wearable device from the computing device. In such cases, all functions within the wearable device must be re-enabled upon restart. This requires re-pairing the wearable device with the computing device, which takes additional connection time, and the sensors require additional startup time, resulting in a longer recovery time for the wearable device, thus reducing the user experience.
[0006] In view of this, how to provide a technology that can dynamically adjust the mode of transmitting sensing data is an urgent goal that the industry needs to work hard on. Summary of the Invention
[0007] One object of the present invention is to provide a wearable device. The wearable device includes a motion sensor, a transceiver interface, and a processor, wherein the processor is electrically connected to the transceiver interface and the motion sensor. The motion sensor is used to generate a plurality of motion sensing values. The transceiver interface is used to connect to an external device via a wireless communication connection. The processor determines whether the plurality of motion sensing values exceed a first threshold value to determine whether the wearable device is in an active state or an inactive state. In response to the wearable device being in the active state, the processor transmits sensing data to the external device via the wireless communication connection, wherein the sensing data includes the plurality of motion sensing values. In response to the wearable device being in the inactive state, the processor does not transmit the sensing data to the external device and does not turn off the motion sensor.
[0008] In one embodiment of the present invention, the processor further performs the following operations: in response to the wearable device being in the active state, determining a first data state of the multiple motion sensing values, wherein the first data state is used to indicate a frequency of change of the multiple motion sensing values; and dynamically adjusting a transmission interval length of the sensing data based on the first data state.
[0009] In one embodiment of the present invention, the processor further performs the following operations: determining whether the multiple motion sensing values are lower than a second threshold to determine that the wearable device is in a stop state; and in response to the wearable device being in the stop state, disconnecting the wireless communication connection and turning off the motion sensor.
[0010] In one embodiment of the present invention, the processor further performs the following operations: in response to the wearable device being in the active state at a first time point and the wearable device being in the inactive state at a second time point, recording a last posture of the wearable device at the first time point, wherein the first time point and the second time point are consecutive time points, and the first time point is earlier than the second time point.
[0011] In one embodiment of the present invention, the final posture includes a projection position and a projection direction of the wearable device.
[0012] In one embodiment of the present invention, the processor further performs the following operations: in response to the wearable device being in the inactive state at the first time point and the wearable device being in the active state at the second time point, re-centering the last posture of the wearable device to a center position of a display screen.
[0013] In one embodiment of the present invention, the wearable device further includes: an optical sensor electrically connected to the processor, wherein the optical sensor is configured to generate a plurality of optical sensing values, and the sensing data further includes the plurality of optical sensing values.
[0014] In one embodiment of the present invention, the processor further performs the following operations: in response to the wearable device being in the active state, determining a second data state of the multiple motion sensing values and the multiple optical sensing values, wherein the second data state is used to indicate the frequency of changes in the multiple motion sensing values and the multiple optical sensing values; and dynamically adjusting the transmission interval length of the sensing data based on the second data state.
[0015] In one embodiment of the present invention, the wireless communication connection is a Bluetooth communication connection.
[0016] In one embodiment of the present invention, the wearable device is a smart ring.
[0017] Another object of the present invention is to provide a sensing data transmission method for an electronic device. The sensing data transmission method is used in conjunction with the electronic device. The electronic device includes a motion sensor configured to generate a plurality of motion sensing values. The electronic device is connected to an external device via a wireless communication connection. The sensing data transmission method includes the following steps: determining whether the plurality of motion sensing values exceed a first threshold value to determine whether the electronic device is in an active state or an inactive state; in response to the electronic device being in the active state, transmitting sensing data to the external device via the wireless communication connection, wherein the sensing data includes the plurality of motion sensing values; and in response to the electronic device being in the inactive state, not transmitting the sensing data to the external device and not deactivating the motion sensor.
[0018] In one embodiment of the present invention, the following steps are further included: in response to the electronic device being in the active state, determining a first data state of the multiple motion sensing values, wherein the first data state is used to indicate a frequency of change of the multiple motion sensing values; and dynamically adjusting a transmission interval length of the sensing data based on the first data state.
[0019] In one embodiment of the present invention, the following steps are further included: determining whether the multiple motion sensing values are lower than a second threshold value to determine that the electronic device is in a stop state; and in response to the electronic device being in the stop state, cutting off the wireless communication connection and turning off the motion sensor.
[0020] In one embodiment of the present invention, it further includes the following steps: in response to the electronic device being in the active state at a first time point and the electronic device being in the inactive state at a second time point, recording a last posture of the electronic device at the first time point, wherein the first time point and the second time point are continuous time points, and the first time point is earlier than the second time point.
[0021] In one embodiment of the present invention, the final posture includes a projection position and a projection direction of the electronic device.
[0022] In one embodiment of the present invention, it further includes the following steps: in response to the electronic device being in the inactive state at the first time point and the electronic device being in the active state at the second time point, re-centering the last posture of the electronic device to a center position of a display screen.
[0023] In one embodiment of the present invention, the electronic device further comprises: an optical sensor configured to generate a plurality of optical sensing values, wherein the sensing data further comprises the plurality of optical sensing values.
[0024] In one embodiment of the present invention, the steps are further included: in response to the electronic device being in the active state, determining a second data state of the multiple motion sensing values and the multiple optical sensing values, wherein the second data state is used to indicate the frequency of changes in the multiple motion sensing values and the multiple optical sensing values; and dynamically adjusting the transmission interval length of the sensing data based on the second data state.
[0025] In one embodiment of the present invention, the wireless communication connection is a Bluetooth communication connection.
[0026] Another object of the present invention is to provide a non-transitory computer-readable storage medium, which stores a computer program, wherein the computer program includes multiple program instructions, and the computer program executes a sensing data transmission method after being loaded into an electronic device, wherein the electronic device includes a motion sensor, and the motion sensor is used to generate multiple motion sensing values. The electronic device is connected to an external device via a wireless communication connection, and the sensing data transmission method includes the following steps: determining whether the multiple motion sensing values exceed a first threshold to determine whether the electronic device is in an active state or an inactive state; in response to the electronic device being in the active state, transmitting sensing data to the external device via the wireless communication connection, wherein the sensing data includes the multiple motion sensing values; and in response to the electronic device being in the inactive state, not transmitting the sensing data to the external device and not turning off the motion sensor.
[0027] The sensing data transmission technology provided by the present disclosure (including at least a wearable device, a method, and a non-transitory computer-readable storage medium thereof) determines whether the wearable device is in an active state or an inactive state based on the motion sensing value generated by the motion sensor. The sensing data transmission technology provided by the present disclosure determines whether to transmit the sensing data to an external device via a wireless communication connection in response to the wearable device being in the active state or the inactive state. Because the sensing data transmission technology provided by the present disclosure can reduce the consumption of transmission resources and computing resources of the wearable device, the standby time of the wearable device is improved. In addition, because the sensing data transmission technology provided by the present disclosure does not require restarting the wearable device, the wearable device does not require additional recovery time (for example, the response time of the wearable device 1 can be reduced to less than 0.5 seconds), thereby improving the user's service experience.
[0028] The following describes the detailed technology and implementation methods of the present invention in conjunction with the accompanying drawings so that a person having ordinary knowledge in the technical field to which the present invention belongs can understand the technical features of the invention for which protection is sought. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram showing the architecture of a wearable device according to a first embodiment;
[0030] Figure 2 A schematic diagram illustrating the architecture of a wearable device according to certain embodiments;
[0031] Figure 3 state diagrams illustrating certain embodiments; and
[0032] Figure 4 A partial flow chart showing a sensing data transmission method according to the second embodiment is shown.
[0033] Explanation of symbols:
[0034] 1: Wearable devices
[0035] 11: Motion sensor
[0036] 13: Transceiver interface
[0037] 15: Processor
[0038] WC: Wireless Communication Connection
[0039] ED: External device
[0040] 17: Optical sensor
[0041] DET: Determinant value
[0042] TIM: Time
[0043] 300: Sensing curve
[0044] TH1: first threshold
[0045] TH2: Second threshold
[0046] ATS: Active
[0047] IATS: Inactive
[0048] STS: Stop state
[0049] 400: Sensing Data Transmission Method
[0050] S401, S403, S405: Steps DETAILED DESCRIPTION
[0051] The following will explain a wearable device, a sensing data transmission method, and a non-transitory computer-readable storage medium provided by the present invention through an embodiment. However, the multiple embodiments are not intended to limit the present invention to any environment, application, or method as described in the multiple embodiments. Therefore, the description of the embodiments is only for the purpose of illustrating the present invention and is not intended to limit the scope of the present invention. It should be understood that in the following embodiments and drawings, elements that are not directly related to the present invention have been omitted and are not shown, and the sizes of the elements and the size ratios between the elements are only examples and are not intended to limit the scope of the present invention.
[0052] The first embodiment of the present invention is a wearable device 1, the structure of which is shown in FIG. Figure 1 In this embodiment, the wearable device 1 includes a motion sensor 11 , a transceiver interface 13 , and a processor 15 . The processor 15 is electrically connected to the transceiver interface 13 and the motion sensor 11 .
[0053] In this embodiment, the user uses the wearable device 1 to perform input operations such as control, pressing, dragging, etc., and the wearable device 1 performs corresponding operations of sensing / tracking actions. In some embodiments, the wearable device 1 can be a smart ring.
[0054] In some embodiments, the wearable device 1 may also be a smart bracelet or a smart watch.
[0055] It should be noted that the motion sensor 11 is used to generate a plurality of motion sensing values. The motion sensor 11 can be any sensor that can detect motion sensing values corresponding to the user using the wearable device 1 .
[0056] In some embodiments, the motion sensor 11 may be an inertial sensor that continuously generates a sequence of multiple inertial measurement parameters (e.g., a stream of inertial measurement parameters generated at a frequency of 10 times per second). For example, each of the multiple inertial measurement parameters may include an acceleration, a rotation, and an angular acceleration.
[0057] It should be noted that the transceiver interface 13 is an interface capable of receiving and transmitting data, or any other interface capable of receiving and transmitting data known to those skilled in the art. The processor 15 can be any processing unit, a central processing unit (CPU), a microprocessor, or any other computing device known to those skilled in the art.
[0058] like Figure 1 As shown, the transceiver interface 13 can be directly connected to the external device ED via a wireless communication connection WC. In some embodiments, the wireless communication connection WC can be a Bluetooth communication connection.
[0059] In some embodiments, the wireless communication connection WC may be a Bluetooth Low Energy (BLE) communication connection or a Wi-Fi wireless network connection.
[0060] In some embodiments, the external device ED may be a head-mounted display (HMD) or a device with computing capabilities (eg, a computer).
[0061] In this embodiment, the processor 15 determines whether the plurality of motion sensing values exceed a first threshold value to determine whether the wearable device 1 is in an active state or an inactive state.
[0062] For example, the processor 15 may determine whether the plurality of motion sensing values in a corresponding time interval exceeds the first threshold value using a sliding window. When the plurality of motion sensing values in the time interval exceed the first threshold value, the wearable device 1 is determined to be in an active state. When the plurality of motion sensing values in the time interval do not exceed the first threshold value, the wearable device 1 is determined to be in an inactive state.
[0063] In response to the wearable device 1 being in the active state, the processor 15 transmits sensing data to the external device ED via the wireless communication connection WC, wherein the sensing data includes the plurality of motion sensing values.
[0064] For example, when the wearable device 1 is in the active state, the processor 15 may transmit the motion sensing value sensed by the wearable device 1 to the external device ED via the wireless communication connection WC (e.g., Bluetooth communication connection) based on a transmission interval length or a transmission frequency (e.g., once every 10 ms).
[0065] In response to the wearable device 1 being in the inactive state, the processor 15 does not transmit the sensing data to the external device ED and does not turn off the motion sensor 11 .
[0066] It should be noted that when the wearable device 1 is in the inactive state, the wireless communication connection WC is not disconnected, but only needs to transmit minimum connection data (eg, the minimum transmission data for maintaining the connection in a Bluetooth communication connection).
[0067] In certain embodiments, the processor 15 may also dynamically adjust the frequency of sensor data transmission based on the frequency of changes in the multiple motion sensing values. Specifically, in response to the wearable device 1 being in the active state, the processor 15 determines a first data state of the multiple motion sensing values, where the first data state indicates the frequency of changes in the multiple motion sensing values. Then, based on the first data state, the processor 15 dynamically adjusts the length of a transmission interval for the sensor data.
[0068] For example, when the processor 15 determines that the user is in a relatively intense exercise state, the frequency of transmitting the plurality of sensing data via the wireless communication connection WC (e.g., Bluetooth communication connection) is increased (i.e., the transmission interval length of the sensing data is reduced). When the processor 15 determines that the user is in a relatively calm exercise state, the frequency of transmitting the plurality of sensing data via the wireless communication connection WC is reduced (i.e., the transmission interval length of the sensing data is increased).
[0069] Please refer to Table 1 below for a diagram showing battery standby times corresponding to different transmission interval lengths.
[0070] Transmission interval length Processor drain voltage Battery standby time 15ms 2.188mA 5.518hrs 7.5ms 2.335mA 5.290hrs
[0071] Table 1
[0072] As shown in Table 1 above, when the transmission interval length of the sensing data is increased from 7.5ms to 15ms, the drain voltage of the processor can be reduced and the battery standby time can be increased.
[0073] In some embodiments, when determining the motion levels or data states of the motion sensing values, the processor 15 may calculate a covariance matrix in a corresponding time interval using a sliding window to determine the degree of variation among the X, Y, and Z axes.
[0074] For example, the processor 15 may combine the covariance matrices using the following formula:
[0075]
[0076] For another example, the processor 15 may use the following formula to calculate the covariance of any two variables (taking the X-axis and the Y-axis as an example):
[0077]
[0078] In the above formula, parameter N is the number of samples. Represents the average value of the corresponding x parameter within the time interval, parameter x i The value of the x parameter corresponding to the i-th time point. Represents the average value of the corresponding y parameter within the time interval, parameter y i is the value of the y parameter corresponding to the i-th time point.
[0079] For another example, the processor 15 may calculate the determinant (det) value of the combined covariance matrix using the following formula:
[0080] detvalue=cov(x,x)*cov(y,y)*cov(z,z)+2*cov(x,y)*cov(y,z)
[0081] *cov(z,x)-cov(x,x)*cov(y,z)*cov(z,y)-cov(x,y)*cov(y,x)
[0082] *cov(z,z)-cov(x,z)*cov(y,y)*cov(z,x)
[0083] It should be noted that when the determinant value of the covariance matrix is larger, it means that the user is in a relatively intense exercise state. When the determinant value of the covariance matrix is smaller, it means that the user is in a relatively calm state.
[0084] In certain embodiments, if the measured motion sensing values are relatively low, the processor 15 may also place the wearable device 1 in a stopped state to reduce resource consumption. Specifically, the processor 15 determines whether the motion sensing values are below a second threshold to determine that the wearable device 1 is in a stopped state. Then, in response to the wearable device 1 being in the stopped state, the processor 15 disconnects the wireless communication connection WC and turns off the motion sensor 11.
[0085] For easier understanding, please refer to Figure 3 . Figure 3 A graph 300 corresponding to the plurality of motion sensing values is shown, where the X-axis is represented by time TIM and the Y-axis is represented by the determinant DET. In this example, when the values of the plurality of motion sensing values exceed a first threshold TH1 (i.e., the curve 300 is located above the first threshold TH1), the wearable device 1 is in the active state ATS.
[0086] When the values of the plurality of motion sensing values are between the first threshold TH1 and the second threshold TH2 (ie, the curve 300 is located in the area between the first threshold TH1 and the second threshold TH2), the wearable device 1 is in the inactive state IATS.
[0087] When the values of the plurality of motion sensing values are lower than the second threshold TH2 (ie, the curve 300 is located in a region below the second threshold TH2), the wearable device 1 is in the stop state STS.
[0088] In some embodiments, since the sensor data may have parameter drift due to long periods of non-use / non-calibration, the processor 15 may record the last posture of the wearable device 1 before entering the inactive state to avoid parameter drift errors caused by parameter drift over a subsequent period of time.
[0089] Specifically, in response to the wearable device 1 being in the active state at a first time point and the wearable device 1 being in the inactive state at a second time point, the processor 15 records a last posture of the wearable device 1 at the first time point, wherein the first time point and the second time point are consecutive time points, and the first time point is earlier than the second time point.
[0090] In some embodiments, the processor 15 may also record the parameter drift values of each axis, and when the wearable device 1 is determined to be in an active state, calibrate the plurality of sensing data using the recorded parameter drift values.
[0091] In some embodiments, the final posture includes a projection position and a projection direction of the wearable device 1 . The processor 15 can calculate the accurate projection position and projection direction of the wearable device 1 relative to the external device ED based on the final posture.
[0092] For example, a user may control a ray casting pointer through the wearable device 1. In this example, the final pose may be the final projection position and final projection direction of the ray casting pointer on the virtual screen (i.e., the projection position and projection direction before the wearable device enters the inactive state).
[0093] In some embodiments, the processor 15 may proactively re-center the last pose of the wearable device 1 to the center of a display screen (e.g., a head-mounted display screen) after determining that the wearable device 1 is in an active state. Specifically, the processor 15 re-centers the last pose of the wearable device 1 to the center of a display screen in response to the wearable device 1 being in the inactive state at the first time point and the wearable device 1 being in the active state at the second time point.
[0094] For example, the processor 15 may direct the ray pointer of the ray projection back to the front of the display screen of the head-mounted display through a re-centering operation, so as to facilitate the user to continue subsequent operations.
[0095] In certain embodiments, such as Figure 2 As shown, the wearable device 1 further includes an optical sensor 17. The optical sensor 17 is electrically connected to the processor 15, wherein the optical sensor 17 is configured to generate a plurality of optical sensing values, and the sensing data further includes the plurality of optical sensing values.
[0096] For example, the optical sensor 17 may be a sensor capable of operating optical finger navigation (OFN).
[0097] It should be noted that the optical sensor 17 can be disposed on a touch screen of the wearable device 1. For example, the optical sensor 17 can be used to detect user input operations and can be disposed on a smart ring worn on the user's index finger, with the user operating the touch screen with their thumb to perform input operations.
[0098] For example, the input operation may include touch, slide, and pause operations.
[0099] In certain embodiments, the processor 15 may also dynamically adjust the transmission interval length by referring to the optical sensor data. Specifically, in response to the wearable device 1 being in the active state, the processor 15 determines a second data state of the plurality of motion sensing values and the plurality of optical sensing values, where the second data state indicates the frequency of changes in the plurality of motion sensing values and the plurality of optical sensing values. The processor 15 then dynamically adjusts the transmission interval length of the sensing data based on the second data state.
[0100] For example, when the data from both the motion sensor 11 and the optical sensor 17 fluctuate frequently (e.g., when the optical sensor 17 detects a touch or slide as the user's input operation), the frequency of transmitting the plurality of sensing data via the wireless communication link WC is increased (i.e., the transmission interval length of the sensing data is reduced). When the data from both the motion sensor 11 and the optical sensor 17 indicate a relatively quiet state of motion, the frequency of transmitting the plurality of sensing data via the wireless communication link WC is reduced (i.e., the transmission interval length of the sensing data is increased).
[0101] As can be seen from the above description, the wearable device 1 provided by the present disclosure determines whether the wearable device 1 is in an active state or an inactive state through the motion sensing value generated by the motion sensor. The wearable device 1 provided by the present disclosure determines whether to transmit the sensing data to the external device through a wireless communication connection in response to the wearable device 1 being in the active state or the inactive state. Since the wearable device 1 provided by the present disclosure can reduce the consumption of transmission resources and computing resources of the wearable device 1, the standby time of the wearable device is improved. In addition, since the wearable device 1 provided by the present disclosure does not need to be restarted, the wearable device 1 does not require additional recovery time (the response time of the wearable device 1 can be made less than 0.5 seconds), thereby improving the user's service experience.
[0102] The second embodiment of the present invention is a sensing data transmission method, the flow chart of which is shown in FIG. Figure 4 The sensing data transmission method 400 is applicable to an electronic device, such as the wearable device 1 described in the first embodiment. The electronic device includes a motion sensor, such as the motion sensor 11 described in the first embodiment. The motion sensor is configured to generate a plurality of motion sensing values. The electronic device is connected to an external device, such as the external device ED described in the first embodiment, via a wireless communication link. The sensing data transmission method 400 determines whether to transmit or not transmit the sensing data to the external device, through steps S401 to S405.
[0103] In step S401 , the electronic device determines whether the plurality of motion sensing values exceed a first threshold value to determine whether the electronic device is in an active state or an inactive state.
[0104] In response to the electronic device being in the active state, step S403 is executed. In step S403, the electronic device transmits sensing data to the external device via the wireless communication link in response to the electronic device being in the active state, wherein the sensing data includes the plurality of motion sensing values.
[0105] In response to the electronic device being in the inactive state, step S405 is executed. In step S405, in response to the electronic device being in the inactive state, the electronic device does not transmit the sensing data to the external device and does not turn off the motion sensor.
[0106] In some embodiments, the sensing data transmission method 400 further includes the following steps: in response to the electronic device being in the active state, determining a first data state of the multiple motion sensing values, wherein the first data state is used to indicate a frequency of change of the multiple motion sensing values; and based on the first data state, dynamically adjusting a transmission interval length of the sensing data.
[0107] In some embodiments, the sensing data transmission method 400 further includes the following steps: determining whether the multiple motion sensing values are lower than a second threshold to determine that the wearable device is in a stop state; and in response to the electronic device being in the stop state, disconnecting the wireless communication connection and turning off the motion sensor.
[0108] In some embodiments, the sensing data transmission method 400 further includes the following steps: in response to the electronic device being in the active state at a first time point and the electronic device being in the inactive state at a second time point, recording a last posture of the wearable device at the first time point, wherein the first time point and the second time point are continuous time points, and the first time point is earlier than the second time point.
[0109] In some embodiments, the final posture includes a projection position and a projection direction of the electronic device.
[0110] In some embodiments, the sensing data transmission method 400 further includes the following steps: in response to the electronic device being in the inactive state at the first time point and the electronic device being in the active state at the second time point, re-centering the last posture of the electronic device to a center position of a display screen.
[0111] In some embodiments, the electronic device further comprises: an optical sensor configured to generate a plurality of optical sensing values, wherein the sensing data further comprises the plurality of optical sensing values.
[0112] In some embodiments, the sensing data transmission method 400 further includes the following steps: in response to the electronic device being in the active state, determining a second data state of the multiple motion sensing values and the multiple optical sensing values, wherein the second data state is used to indicate the frequency of changes in the multiple motion sensing values and the multiple optical sensing values; and dynamically adjusting the transmission interval length of the sensing data based on the second data state.
[0113] In some embodiments, the wireless communication link is a Bluetooth communication link.
[0114] In addition to the aforementioned steps, the second embodiment can also perform all operations and steps of the wearable device 1 described in the first embodiment, having the same functions and achieving the same technical effects. A person skilled in the art of the present invention will readily understand how the second embodiment performs these operations and steps based on the first embodiment, having the same functions and achieving the same technical effects, and therefore, a detailed description thereof will not be given.
[0115] The calculation method described in the second embodiment can be implemented by a computer program having multiple instructions. Each computer program can be a file that can be transmitted over a network, or can be stored in a non-transitory computer-readable storage medium. For each computer program, after the multiple instructions contained therein are loaded into an electronic device (e.g., wearable device 1), the computer program executes the sensing data transmission method described in the second embodiment. The non-transitory computer-readable storage medium can be an electronic product, such as a read-only memory (ROM), a flash memory, a floppy disk, a hard disk, a compact disk (CD), a portable disk, a database accessible by a network, or any other storage medium known to a person of ordinary skill in the art to which the present invention belongs and having the same function.
[0116] It should be noted that in the patent specification and claims of this invention, certain terms (including thresholds, time points, data states, etc.) are preceded by "first" or "second." These multiple "first" and "second" terms are used solely to distinguish different terms. For example, the "first" and "second" in the first data state and the second data state are used solely to indicate the data states used during different operations.
[0117] In summary, the sensing data transmission technology provided by the present disclosure (at least including a wearable device, a method, and a non-transitory computer-readable storage medium thereof) determines whether the wearable device is in an active state or an inactive state by judging the motion sensing value generated by the motion sensor. The sensing data transmission technology provided by the present disclosure determines whether to transmit sensing data to an external device via a wireless communication connection in response to whether the wearable device is in the active state or the inactive state. Since the sensing data transmission technology provided by the present disclosure can reduce the consumption of transmission resources and computing resources of the wearable device, the standby time of the wearable device is improved. In addition, since the sensing data transmission technology provided by the present disclosure does not require restarting the wearable device, the wearable device does not require additional recovery time (the response time of the wearable device 1 can be made less than 0.5 seconds), thereby improving the user's service experience.
[0118] The above embodiments are intended only to illustrate some embodiments of the present invention and to illustrate the technical features of the present invention, and are not intended to limit the scope and extent of protection of the present invention. Any modifications or equivalent arrangements that can be easily accomplished by a person having ordinary skill in the art to which the present invention belongs are within the scope claimed by the present invention, and the scope of protection of the present invention is subject to the claims.
Claims
1. A wearable device, characterized in that: Include: a motion sensor for generating a plurality of motion sensing values; a transceiver interface for connecting to an external device via a wireless communication link; as well as a processor electrically connected to the transceiver interface and the motion sensor, and configured to perform the following operations: Determining whether the plurality of motion sensing values exceed a first threshold value to determine whether the wearable device is in an active state or an inactive state; In response to the wearable device being in the active state, transmitting sensing data to the external device via the wireless communication link, wherein the sensing data includes the plurality of motion sensing values; and In response to the wearable device being in the inactive state, the sensing data is not transmitted to the external device, and the motion sensor is not turned off.
2. The wearable device according to claim 1, wherein The processor further performs the following operations: In response to the wearable device being in the active state, determining a first data state of the plurality of motion sensing values, wherein the first data state is used to indicate a frequency of change of the plurality of motion sensing values; as well as Based on the first data state, a transmission interval length of the sensing data is dynamically adjusted.
3. The wearable device according to claim 1, wherein: The processor further performs the following operations: Determining whether the plurality of motion sensing values are lower than a second threshold value to determine that the wearable device is in a stopped state; and In response to the wearable device being in the stopped state, the wireless communication connection is cut off and the motion sensor is turned off.
4. The wearable device according to claim 1, wherein: The processor further performs the following operations: In response to the wearable device being in the active state at a first time point and the wearable device being in the inactive state at a second time point, recording a last posture of the wearable device at the first time point, The first time point and the second time point are consecutive time points, and the first time point is earlier than the second time point.
5. The wearable device according to claim 4, wherein: The final posture includes a projection position and a projection direction of the wearable device.
6. The wearable device according to claim 4, wherein: The processor further performs the following operations: In response to the wearable device being in the inactive state at the first time point and the wearable device being in the active state at the second time point, the last posture of the wearable device is recentered to a center position of a display screen.
7. The wearable device according to claim 2, wherein: The wearable device further comprises: An optical sensor is electrically connected to the processor, wherein the optical sensor is used to generate a plurality of optical sensing values, and the sensing data further includes the plurality of optical sensing values.
8. The wearable device according to claim 7, wherein: The processor further performs the following operations: In response to the wearable device being in the active state, determining a second data state of the plurality of motion sensing values and the plurality of optical sensing values, wherein the second data state is used to indicate a frequency of change of the plurality of motion sensing values and the plurality of optical sensing values; as well as The transmission interval length of the sensing data is dynamically adjusted based on the second data state.
9. The wearable device according to claim 1, wherein: The wireless communication connection is a Bluetooth communication connection.
10. The wearable device according to claim 1, wherein: The wearable device is a smart ring.
11. A sensing data transmission method, characterized in that: For an electronic device, wherein the electronic device includes a motion sensor, the motion sensor is used to generate a plurality of motion sensing values, the electronic device is connected to an external device via a wireless communication link, and the sensing data transmission method includes the following steps: determining whether the plurality of motion sensing values exceed a first threshold value to determine whether the electronic device is in an active state or an inactive state; In response to the electronic device being in the active state, transmitting sensing data to the external device via the wireless communication link, wherein the sensing data includes the plurality of motion sensing values; and In response to the electronic device being in the inactive state, the sensing data is not transmitted to the external device, and the motion sensor is not turned off.
12. The sensing data transmission method according to claim 11, wherein: It also includes the following steps: In response to the electronic device being in the active state, determining a first data state of the plurality of motion sensing values, wherein the first data state is used to indicate a frequency of change of the plurality of motion sensing values; as well as Based on the first data state, a transmission interval length of the sensing data is dynamically adjusted.
13. The sensing data transmission method according to claim 11, wherein: It also includes the following steps: Determining whether the plurality of motion sensing values are lower than a second threshold value to determine that the electronic device is in a stopped state; and In response to the electronic device being in the stopped state, the wireless communication connection is cut off and the motion sensor is turned off.
14. The sensing data transmission method according to claim 11, wherein: It also includes the following steps: In response to the electronic device being in the active state at a first time point and the electronic device being in the inactive state at a second time point, recording a last posture of the electronic device at the first time point, The first time point and the second time point are consecutive time points, and the first time point is earlier than the second time point.
15. The sensing data transmission method according to claim 14, wherein: The final posture includes a projection position and a projection direction of the electronic device.
16. The sensing data transmission method according to claim 14, wherein: It also includes the following steps: In response to the electronic device being in the inactive state at the first time point and the electronic device being in the active state at the second time point, the last posture of the electronic device is recentered to a center position of a display screen.
17. The sensing data transmission method according to claim 12, wherein: The electronic device further comprises: An optical sensor is configured to generate a plurality of optical sensing values, wherein the sensing data further includes the plurality of optical sensing values.
18. The sensing data transmission method according to claim 17, wherein: It also includes the following steps: In response to the electronic device being in the active state, determining a second data state of the plurality of motion sensing values and the plurality of optical sensing values, wherein the second data state is used to indicate a frequency of change of the plurality of motion sensing values and the plurality of optical sensing values; as well as The transmission interval length of the sensing data is dynamically adjusted based on the second data state.
19. The sensing data transmission method according to claim 11, wherein: The wireless communication connection is a Bluetooth communication connection.
20. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores a computer program, the computer program including a plurality of program instructions. When the computer program is loaded into an electronic device, the computer program executes a sensing data transmission method. The electronic device includes a motion sensor configured to generate a plurality of motion sensing values. The electronic device is connected to an external device via a wireless communication connection. The sensing data transmission method includes the following steps: determining whether the plurality of motion sensing values exceed a first threshold value to determine whether the electronic device is in an active state or an inactive state; In response to the electronic device being in the active state, transmitting sensing data to the external device via the wireless communication link, wherein the sensing data includes the plurality of motion sensing values; and In response to the electronic device being in the inactive state, the sensing data is not transmitted to the external device, and the motion sensor is not turned off.