A method for data synchronization transmission of smart rings based on wireless communication

Through the data preprocessing and dynamic transmission strategies of the intelligent ring, the redundancy and stability problems in the synchronous transmission of intelligent ring data are solved, efficient and secure data transmission is achieved, and user experience is improved.

CN118317269BActive Publication Date: 2024-12-20SHENZHEN ZHICAN TECH R&D CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410486390.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-22
Publication Date
2024-12-20
Estimated Expiration
2044-04-22

AI Technical Summary

Technical Problem

During the data synchronization transmission process, the intelligent finger ring has problems such as data redundancy, low transmission efficiency, poor connection stability, and difficult to guarantee data integrity and security.

Method used

By preprocessing and compressing the data collected by the intelligent finger ring, the data packet transmission strategy is optimized, and the packet size and transmission strategy are dynamically adjusted according to the real-time transmission situation to ensure real-time synchronization and sharing of data.

Benefits of technology

It improves the efficiency and stability of data transmission, ensures the accuracy and security of data, improves the user experience, and provides convenient data support for health management and sports training.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118317269B_ABST
    Figure CN118317269B_ABST
Patent Text Reader

Abstract

The present invention proposes a method for synchronous transmission of data of a smart ring based on wireless communication, which belongs to the field of wireless communication technology; the method includes collecting the user's body activity status data through the smart ring; preprocessing the collected data, compressing the feature by obtaining the feature compression ratio through the contribution of the feature; packaging the preprocessed data according to a preset format; forming a data packet to be transmitted, and dynamically adjusting the size of the data packet according to the real-time transmission situation; sending the data packet to be transmitted to an external device through the wireless connection based on the transmission distance and signal strength; after receiving the data packet, the external device performs parsing and verification; and synchronizing the received data with the local data. Through efficient data preprocessing, dynamic data packet adjustment, intelligent transmission strategy and real-time data synchronization, efficient, stable and reliable data transmission is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of wireless communication, and in particular to a method for synchronously transmitting data of a smart ring based on wireless communication. Background Art

[0002] With the rapid development of science and technology, wireless communication technology and wearable devices have been widely used in people's daily lives. As a new type of wearable device, smart rings are portable, comfortable and easy to operate, and are accepted and loved by more and more people. Smart rings can collect real-time data on the user's physical activity status, such as heart rate, number of steps, sleep quality, etc., providing great convenience for users' health management and life monitoring.

[0003] However, there are still some technical challenges in the synchronous transmission of data in smart rings. First of all, since the types of data collected by smart rings are diverse and large in volume, how to reduce data redundancy during transmission and improve transmission efficiency has become an urgent problem to be solved. Secondly, the stability of the wireless communication connection between the smart ring and the external device is affected by many factors, such as transmission distance, signal strength, etc. How to dynamically adjust the transmission strategy according to these factors to ensure the real-time and accuracy of the data is also a technical problem currently faced. In addition, data synchronization and sharing are also key issues that need to be solved in the data transmission of smart rings. How to ensure the integrity and security of data and realize real-time updating and sharing of data is of great significance to improving user experience and meeting user needs.

[0004] Therefore, in order to overcome the shortcomings of the prior art and improve the efficiency and stability of smart ring data synchronization transmission, the present invention proposes a smart ring data synchronization transmission method based on wireless communication. The method preprocesses and compresses the data collected by the smart ring, optimizes the transmission strategy of the data packet, and realizes real-time synchronization and sharing of data, aiming to provide users with a more convenient, efficient and secure smart ring data synchronization transmission solution. Summary of the invention

[0005] The purpose of this application is to provide a smart ring data synchronization transmission method based on wireless communication; through efficient data preprocessing, dynamic data packet adjustment, intelligent transmission strategy and real-time data synchronization, efficient, stable and reliable data transmission is achieved.

[0006] The purpose of this application is achieved by the following technical solutions:

[0007] The present application provides a method for synchronously transmitting data of a smart ring based on wireless communication, the method comprising:

[0008] S1. Collecting the user's physical activity status data through the smart ring;

[0009] S2. Preprocessing the collected data, including feature extraction and compression processing, compressing the feature by obtaining the feature compression ratio according to the contribution of the feature; packaging the preprocessed data according to a preset format; forming a data packet to be transmitted, and dynamically adjusting the size of the data packet according to the real-time transmission situation;

[0010] S3, the smart ring establishes a wireless connection with an external device through a built-in wireless communication module;

[0011] S4, obtaining a transmission distance and a signal strength between the smart ring and the external device, and based on the transmission distance and the signal strength, the smart ring sends the data packet to be transmitted to the external device through the wireless connection;

[0012] S5. After receiving the data packet, the external device parses and verifies the data packet, and synchronizes the received data with the local data.

[0013] Preferably, the smart ring data synchronization transmission method based on wireless communication, S1 comprises:

[0014] S101. Divide different time periods by user historical data and obtain sampling strategies within different time periods;

[0015] S102, collecting the user's physical state data based on the sampling strategies in different time periods, and adjusting the sampling strategies according to the user's physical state data;

[0016] S103. The smart ring enters a sleep state or a sampling state according to the user's activity pattern and sampling strategy; in response to the user being stationary or in a low-activity state, the smart ring enters a sleep mode; in response to the user resuming activity or triggering a specific event, the smart ring quickly wakes up and resumes data collection.

[0017] Preferably, the smart ring data synchronization transmission method based on wireless communication, S101 includes:

[0018] Determine the content of the body state data to be monitored in each time period according to the user's historical data in different time periods; the body state data includes physiological parameters and exercise data;

[0019] Set an appropriate sampling frequency for each time period based on the importance of the sampled content and the user's activity status;

[0020] According to the user's attention to different data contents, the sampling content in each time period is prioritized.

[0021] Preferably, in the smart ring data synchronization transmission method based on wireless communication, S2 comprises:

[0022] S201, preprocessing the raw data collected by the smart ring to obtain preprocessed data; the preprocessing includes removing abnormal values, duplicate values ​​or invalid data, and denoising the signal through a digital filtering algorithm;

[0023] S202, extracting features from the preprocessed data;

[0024] S203, compressing the extracted features to obtain compressed feature data;

[0025] S204, packaging the preprocessed data, the compressed feature data, and related metadata according to a preset data packet format; the related metadata includes a timestamp and a sensor identifier;

[0026] S205: Add a checksum to the packaged data and perform encryption.

[0027] Preferably, in the smart ring data synchronization transmission method based on wireless communication, S203 includes:

[0028] Obtain multiple prediction models through historical data;

[0029] Through the training process of the prediction model, the contribution of each feature to the model prediction results is obtained;

[0030] According to the contribution of each feature to the model prediction results, the importance coefficient of the feature to the model is obtained;

[0031] Obtain the total importance coefficient of the feature through the importance coefficient of the same feature for multiple models;

[0032] G i =w1*G imax +w2*G iz

[0033] Among them, G i is the total importance coefficient of the i-th feature, G imax is the maximum value of the importance coefficient of the i-th feature in multiple prediction models, G iz is the sum of the importance coefficients of the i-th feature in multiple prediction models; w1 and w2 are weight coefficients;

[0034] By normalizing the total importance coefficients of multiple features, a normalized result is obtained;

[0035] According to the normalization processing result and the preset compression ratio, the compression ratio of each feature is obtained.

[0036] Preferably, the method for synchronously transmitting data of a smart ring based on wireless communication, wherein the compression ratio of each feature is obtained according to the normalization processing result and the preset compression ratio; comprises:

[0037] Set the initial compression ratio;

[0038] Calculate the relative importance of features;

[0039] X i =GZ i / GZ s

[0040] Among them, X i is the relative importance of the i-th feature, GZ i is the normalized result of the i-th feature, GZ s is the sum of the normalized results of all features in the compressed set;

[0041] According to the relative importance of the current feature and the initial compression ratio, a preliminary compression ratio of the feature is obtained;

[0042] CR i =X i *IR

[0043] Among them, CR i is the initial compression ratio of the ith feature, and IR is the preset compression ratio;

[0044] After all features in the compression set are compressed according to the initial compression ratio corresponding to the features, the total compression ratio is obtained;

[0045] The ratio of the total compression ratio to the preset compression ratio is calculated, and the preliminary compression ratios of all features are scaled according to the ratio.

[0046] Preferably, in the smart ring data synchronization transmission method based on wireless communication, S204 includes:

[0047] Performing a first classification on the preprocessed data according to data type;

[0048] Forming a preliminary data packet based on a combination of the data in the first category and the metadata;

[0049] Sort the preliminary data packets according to the timestamps of the internal data items;

[0050] The preliminary data packet is reassembled or split according to the size and order of the preliminary data packet to obtain a second data packet, and the size of the second data packet is dynamically adjusted according to the real-time transmission situation.

[0051] Preferably, the method for synchronously transmitting data of a smart ring based on wireless communication, the recombining or splitting according to the size and order of the preliminary data packet to obtain the second data packet, and dynamically adjusting the size of the second data packet according to the real-time transmission situation, comprises:

[0052] Through historical data, the size of the bandwidth and the packet loss rate of the corresponding transmission time period are obtained;

[0053] The size of the data packet is obtained according to the historical average bandwidth size of the corresponding transmission time period, the historical average packet loss rate of the corresponding transmission time period, the current bandwidth size and the packet loss rate; the size of the data packet Q c The following conditions are met:

[0054]

[0055] Among them, α is the current network congestion coefficient, 0<α<1, b c is the current bandwidth size, b a The historical average bandwidth size of the corresponding transmission time period, d c is the current packet loss rate, d a The historical average packet loss rate of the corresponding transmission time period, Q min is the size of the smallest historical data packet in the transmission period, Q max is the size of the smallest historical data packet in this transmission period, and max() is the maximum value.

[0056] Preferably, in the smart ring data synchronization transmission method based on wireless communication, S4 comprises:

[0057] The smart ring detects the transmission distance and signal strength between the smart ring and the external device.

[0058] A transmission strategy is determined according to the transmission distance and signal strength.

[0059] Preferably, the smart ring data synchronization transmission method based on wireless communication, the transmission strategy includes:

[0060] If the transmission distance between the external device and the smart ring is within a preset distance and the signal strength is greater than a preset strength threshold, data transmission is started;

[0061] The transmission power of the smart ring is adjusted according to the signal strength.

[0062] The beneficial effects of the present invention include: through feature extraction and compression processing, the redundancy and noise of data are effectively reduced, and the efficiency and accuracy of data transmission are improved; compression is performed according to the contribution of the feature to ensure that key information is retained and unnecessary transmission burden is reduced; the size of the data packet is dynamically adjusted according to the real-time transmission situation to ensure efficient transmission of data under different network conditions; when the network bandwidth is large, larger data packets can be transmitted to improve the data transmission speed; when the network bandwidth is small, the size of the data packet is reduced to reduce the packet loss rate and ensure the integrity of the data; according to the transmission distance and signal strength between the smart ring and the external device, whether to start data transmission and adjust the transmission power are intelligently selected, which effectively improves the stability and reliability of data transmission. When the signal strength is weak, the transmission success rate can be improved by increasing the transmission power; when the signal strength is sufficient, reducing the transmission power can save energy. Through real-time connection and data transmission with external devices, real-time updating and sharing of data are achieved, allowing users to obtain the latest physical activity status information at any time; after receiving the data, the external device parses and verifies it to ensure the accuracy and completeness of the data, providing a reliable foundation for subsequent data analysis and application; the optimized data transmission strategy improves the efficiency and stability of data synchronization, reduces transmission delays and errors, and enhances the user experience; users can more conveniently collect and analyze physical activity data through smart rings, providing strong support for health management, sports training, etc.

[0063] In summary, the smart ring data synchronization transmission method based on wireless communication achieves efficient, stable and reliable data transmission through efficient data preprocessing, dynamic data packet adjustment, intelligent transmission strategy and real-time data synchronization, improves user experience, and provides strong support for the application and development of smart rings. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 It is a schematic diagram of a smart ring data synchronization transmission method based on wireless communication provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] Below, the present application is further described in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.

[0066] See also Figure 1 The present application provides a method for synchronously transmitting data of a smart ring based on wireless communication, the method comprising:

[0067] S1. Collecting the user's physical activity status data through the smart ring;

[0068] S2. Preprocessing the collected data, including feature extraction and compression processing, compressing the feature by obtaining the feature compression ratio based on the contribution of the feature; packaging the preprocessed data according to a preset format; forming a data packet to be transmitted, and dynamically adjusting the size of the data packet according to the real-time transmission situation; wherein the data packet contains information such as the data type, timestamp, and identification of the collection device, so that the external device can accurately identify and process it;

[0069] S3. The smart ring establishes a wireless connection with an external device through a built-in wireless communication module; the wireless connection is a combination of any one or more wireless communication methods such as Bluetooth, Wi-Fi, NFC, etc.;

[0070] S4, obtaining the transmission distance and signal strength between the smart ring and the external device, and based on the transmission distance and signal strength, the smart ring sends the data packet to be transmitted to the external device through the wireless connection; during the transmission process, encryption technology is used to ensure the security of the data to prevent data leakage or illegal interception;

[0071] S5. After receiving the data packet, the external device parses and verifies the data to ensure the integrity and accuracy of the data; and synchronizes the received data with the local data to achieve real-time updating and sharing of the data.

[0072] The working principle and effect of the above technical solution are as follows: the smart ring data synchronization transmission method based on wireless communication proposed by the present invention mainly includes three core steps: data processing, wireless transmission and data synchronization;

[0073] First, in the data processing stage, the smart ring collects the user's physical activity status data in real time through built-in sensors, including heart rate, number of steps, sleep quality, etc.; these data are then preprocessed, including feature extraction and compression processing; the purpose of feature extraction is to identify key information from the original data, such as heart rate variability, step count statistics, etc. These features can reflect the user's health status or activity pattern; compression processing is to reduce the size of the data and improve transmission efficiency; during the compression process, the compression ratio of the feature is obtained according to the contribution of each feature to the model prediction results, thereby achieving effective compression of the data, reducing compression for important features, and increasing the compression ratio for unimportant features.

[0074] Next, in the wireless transmission stage, the smart ring establishes a wireless connection with the external device through the built-in wireless communication module. This connection can be a combination of any one or more wireless communication methods such as Bluetooth, Wi-Fi, NFC, etc., with high flexibility and versatility; the smart ring will dynamically adjust the transmission strategy according to the transmission distance and signal strength to ensure the real-time and accuracy of the data. At the same time, encryption technology is used during the transmission process to ensure the security of the data.

[0075] Finally, in the data synchronization stage, after receiving the data packet, the external device will parse and verify it to ensure the integrity and accuracy of the data. Then, the external device will synchronize the received data with the local data to achieve real-time data update and sharing. This synchronization mechanism allows users to switch seamlessly between different devices and view and analyze their health data at any time.

[0076] In some embodiments of the present application, the smart ring data synchronization transmission method based on wireless communication, S1 includes:

[0077] S101. Divide different time periods according to the user's historical data and obtain sampling strategies within different time periods; the sampling strategies include sampling content, sampling frequency and sampling priority; for example, divide the time periods into different time periods such as early morning, morning, noon, afternoon and evening according to the user's daily life and work schedule; the user may be in different activity states in each time period, such as getting up, going to work, eating and resting; identify specific activity patterns according to the user's historical data, such as exercise, sleep, work meeting, etc., and divide the time periods corresponding to these activity patterns separately;

[0078] S102, based on sampling strategies in different time periods, collect the user's physical state data, and adjust the sampling strategy according to the user's physical state data; first, the smart ring will perform preliminary data collection according to the preset sampling strategy, such as sampling content, sampling frequency and sampling priority; in the process of collecting data, the smart ring will analyze the user's physical state data in real time; the data may include multiple indicators such as heart rate, blood pressure, number of steps, sleep quality, etc.; through the analysis of these data, the smart ring can determine the user's current activity status, health status and possible changes in needs; based on the real-time analysis of the user's physical state data, the smart ring will dynamically adjust the sampling strategy; for example, if the user's heart rate suddenly increases, the smart ring will increase the priority of the heart rate and increase the sampling frequency of the heart rate to more accurately monitor the user's health status; similarly, if the user is in a stationary state for more than a preset time, the smart ring may reduce the sampling frequency to save power;

[0079] S103. The smart ring enters a sleep state or a sampling state according to the user's activity pattern and sampling strategy; in response to the user being stationary or in a low-activity state, the smart ring enters a sleep mode; in response to the user resuming activity or triggering a specific event, the smart ring quickly wakes up and resumes data collection.

[0080] In some embodiments, the S101 includes:

[0081] According to the user's historical data in different time periods, the content of the physical state data to be monitored in each time period is determined; the physical state data includes physiological parameters and exercise data; the physiological parameters include heart rate, blood pressure, etc., and the exercise data includes steps and calorie consumption; for example, during the exercise time period, it may be necessary to focus on monitoring heart rate, steps and calorie consumption; during the sleep time period, it may be necessary to focus on heart rate, breathing rate and sleep quality;

[0082] According to the importance of the sampled content and the user's activity status, set an appropriate sampling frequency for each time period; in active time periods, such as exercise or work, a higher sampling frequency can be used to obtain more accurate data; in rest or sleep time periods, the sampling frequency can be reduced to save power; for example:

[0083] Heart rate monitoring:

[0084] Static state (such as resting, sleeping): collect data every 30 seconds to 1 minute to save power and maintain basic health monitoring;

[0085] Dynamic state (such as exercise, daily activities): collect data every 5 to 10 seconds to capture heart rate changes and provide real-time feedback;

[0086] Blood pressure monitoring: Usually, high-frequency data collection is not required, because blood pressure usually does not change significantly in a short period of time; data collection can be set to be performed once every hour or every two hours, or when the user actively triggers it;

[0087] Blood oxygen saturation monitoring: For most users, blood oxygen saturation usually remains stable at rest. It can be set to collect data every 5 to 15 minutes;

[0088] For special users (such as those with respiratory diseases), more frequent monitoring may be required to ensure safety;

[0089] Sports data monitoring:

[0090] Step count: collect data every second or every few steps to ensure the accuracy of step count;

[0091] Distance: calculated based on the user's stride length and number of steps, usually synchronized with step count collection;

[0092] Movement trajectory: collected through a built-in positioning module (such as GPS), which usually does not require high-frequency collection and can be updated every few seconds or minutes;

[0093] Calorie consumption: Calculated based on the user's activity level and body parameters, and the collection frequency can be synchronized with heart rate or step count collection;

[0094] Sleep quality monitoring:

[0095] During sleep, you can set a lower heart rate and respiratory rate collection frequency, such as collecting every 1 to 5 minutes, to assess sleep quality and depth;

[0096] According to the user's attention to different data contents, the sampling content in each time period is prioritized; when resources are limited, the collection and transmission of high-priority data are prioritized; first, the smart ring will understand the user's attention to different data contents through various methods such as user feedback, historical data analysis and behavior pattern recognition; the data contents include heart rate, blood pressure, number of steps, sleep quality, skin temperature, etc.; users can customize settings through the supporting application or interface of the smart ring to indicate the degree of concern for different data contents;

[0097] Secondly, the smart ring will set the priority of the sampled content in each time period according to the user's attention. The data content with high priority will be processed first during sampling to ensure that the user's collection needs for important data are met first under limited resources (such as power, storage space, and processing speed). Specifically, the smart ring will set different sampling content priorities for different time periods according to the user's daily routine and activity patterns. For example, during the user's exercise time period, exercise-related data such as heart rate and number of steps will be set to high priority; and during the user's rest time, sleep quality data will be collected first.

[0098] In addition, the smart ring can dynamically adjust the priority of sampling content according to the user's real-time needs and health status; for example, if the user suddenly feels unwell, the smart ring may immediately increase the sampling priority of health-related data such as blood pressure and heart rate in order to monitor the user's physical condition in a timely manner.

[0099] The working principle of the above technical solution is: according to the user's historical data, analyze the user's activity pattern, physiological parameter changes, and motion data in different time periods; based on these analyses, divide different time periods and set corresponding sampling strategies for each time period; these sampling strategies include the content of the body state data to be monitored, the sampling frequency, and the priority of the sampling content; according to the preset sampling strategy, collect the user's body state data in real time. At the same time, according to the data collected in real time, the sampling strategy is dynamically adjusted; for example, if the user suddenly starts to exercise vigorously, the system may temporarily increase the sampling frequency to more accurately capture the user's physical state changes; according to the user's activity pattern and sampling strategy, intelligently enter the sleep state or sampling state; when the user is in a static or low activity state, the smart ring will enter the sleep mode to save energy and extend the service life. When the user resumes the activity or triggers a specific event, the smart ring will quickly wake up and resume data collection to ensure the continuity and integrity of the data.

[0100] The working principle and effect of the above technical solution are as follows: based on the analysis of user historical data, the system can customize personalized sampling strategies for users to ensure that important physical status data can be captured at critical moments; the smart ring can intelligently enter sleep or sampling state according to the user's activity status, thereby effectively saving energy and extending the service life of the equipment; by dynamically adjusting the sampling strategy and the intelligent sleep and wake-up mechanism, it can ensure the continuity and integrity of the data and provide users with accurate and reliable physical status data; through a more intelligent and personalized data collection method, it can reduce unnecessary interference and tedious operations and improve the user experience.

[0101] In summary, by deeply analyzing user historical data and intelligently adjusting the sampling strategy, efficient energy utilization and accurate data collection are achieved, providing users with a better and more convenient smart ring data synchronization transmission experience.

[0102] In some embodiments, the smart ring data synchronization transmission method based on wireless communication, S2 includes:

[0103] S201, preprocessing the raw data collected by the smart ring to obtain preprocessed data; the preprocessing includes removing abnormal values, duplicate values ​​or invalid data, and denoising the signal through a digital filtering algorithm;

[0104] S202, extracting features from the preprocessed data; such as heart rate variability, step count statistics, etc.;

[0105] S203, compressing the extracted features to obtain compressed feature data;

[0106] S204, packaging the preprocessed data, the compressed feature data, and related metadata according to a preset data packet format; the related metadata includes a timestamp and a sensor identifier;

[0107] S205: Add a checksum to the packaged data and perform encryption.

[0108] The working principle and effect of the above technical solution are: preprocessing the raw data collected by the smart ring; the main purpose of preprocessing is to remove abnormal values, duplicate values ​​or invalid data, which may be caused by sensor errors, environmental interference or equipment failure; by removing these data, the accuracy and efficiency of subsequent data processing can be improved; at the same time, a digital filtering algorithm will be used to denoise the signal to further reduce the impact of noise on data quality.

[0109] Next, features are extracted from the preprocessed data; these features are usually key indicators that reflect the user's physical condition, such as heart rate variability, number of steps, sleep quality, etc. By extracting features, the user's physical condition can be better understood and analyzed.

[0110] Then, the extracted features are compressed; the purpose of compression is to reduce the size of the data and reduce the bandwidth requirements during transmission, thereby improving transmission efficiency; during the compression process, the system will determine the compression ratio based on the contribution of the features to ensure that key information is retained as much as possible while compressing the data.

[0111] Next, the preprocessed data, compressed feature data, and related metadata are packaged according to the preset data packet format. The related metadata includes information such as timestamp and sensor identification, which is crucial for external devices to parse and identify data packets. By packaging these data in a specific format, the integrity and consistency of the data can be ensured.

[0112] Finally, the packaged data is encrypted and a checksum is added to it; the checksum is used to detect the integrity of the data during transmission to ensure that the data has not been tampered with or damaged. Encryption is used to protect the security of the data and prevent it from being illegally intercepted or leaked during transmission.

[0113] Through the above steps, the accuracy, efficiency and security of data are ensured.

[0114] In some embodiments, the smart ring data synchronization transmission method based on wireless communication, S203 includes:

[0115] Obtain multiple prediction models through historical data; multiple prediction models are designed to capture different aspects of the data using different model structures and algorithms; this helps to more fully understand the characteristics of the data and how they affect the target variable (for example, the user's behavior or health status);

[0116] Through the training process of the prediction model, the contribution of each feature to the model prediction results is obtained;

[0117] According to the contribution of each feature to the model prediction results, the importance coefficient of the feature to the model is obtained;

[0118] Obtain the total importance coefficient of the feature through the importance coefficient of the same feature for multiple models;

[0119] G i =w1*G imax +w2*G iz

[0120] Among them, G i is the total importance coefficient of the i-th feature, G imax is the maximum value of the importance coefficient of the i-th feature in multiple prediction models, G iz is the sum of the importance coefficients of the i-th feature in multiple prediction models; w1 and w2 are weight coefficients;

[0121] By normalizing the total importance coefficients of multiple features, a normalized result is obtained;

[0122] According to the normalization processing result and the preset compression ratio, the compression ratio of each feature is obtained;

[0123] The feature data is compressed according to the compression ratio corresponding to the feature.

[0124] In some embodiments, the step of obtaining the compression ratio of each feature according to the normalization processing result and the preset compression ratio includes:

[0125] Set the initial compression ratio;

[0126] Calculate the relative importance of features;

[0127] X i =GZ i / GZ s

[0128] Among them, X i is the relative importance of the i-th feature, GZ i is the normalized result of the i-th feature, GZ s is the sum of the normalized results of all features in the compressed set;

[0129] According to the relative importance of the current feature and the initial compression ratio, a preliminary compression ratio of the feature is obtained;

[0130] CR i =X i *IR

[0131] Among them, CR i is the initial compression ratio of the ith feature, and IR is the preset compression ratio;

[0132] After all features in the compression set are compressed according to the initial compression ratio corresponding to the features, the total compression ratio is obtained;

[0133] The ratio of the total compression ratio to the preset compression ratio is calculated, and the preliminary compression ratios of all features are scaled according to the ratio.

[0134] In some embodiments, the preset compression ratio is obtained by:

[0135] Obtain data transmission speed and data accuracy corresponding to different compression ratios;

[0136] Obtaining a corresponding compression ratio as a first compression ratio according to a preset accuracy threshold;

[0137] Obtaining a compression ratio corresponding to a transmission rate threshold as a first compression ratio;

[0138] The preset compression ratio is between the second compression ratio and the first compression ratio.

[0139] The working principle of the above technical solution is: first, multiple prediction models are trained through historical data; these prediction models adopt different structures and algorithms to capture different aspects and potential information of the data; for example, one model may focus on the user's heart rate changes, while another model may pay more attention to the user's movement patterns; through diversified models, we can more comprehensively understand the characteristics of the data and how they affect the target variables, such as the user's behavior or health status.

[0140] Next, evaluate the contribution of each feature in multiple prediction models. This is usually done through the model training process, such as by looking at the proportion of each feature in the model weight, or by observing the performance changes of the model when a feature is included or excluded. In this way, the importance coefficient of each feature for the model prediction result can be obtained. The importance coefficient can be the proportion of each feature in the model weight.

[0141] The importance coefficients of the same feature in multiple models are combined to calculate the total importance coefficient of the feature; this involves weighted summation of multiple coefficients, where the weight coefficients (such as w1 and w2) can be adjusted according to specific application scenarios and requirements.

[0142] In order to perform effective compression, the system then normalizes the total contribution coefficients of multiple features. Normalization is a process of adjusting data of different ranges to a uniform range.

[0143] The normalized result can be combined with the preset compression ratio to determine the compression ratio of each feature; the preset compression ratio is a parameter set according to system requirements and data transmission conditions, which determines the degree of data compression; the system will calculate a preliminary compression ratio based on the relative importance of each feature and the initial compression ratio; then, it will consider the relationship between the total compression ratio of all features after compression and the preset compression ratio, and scale the preliminary compression ratio to ensure that the overall compression effect meets expectations.

[0144] Finally, the feature data is actually compressed according to the compression ratio corresponding to each feature. This step usually uses various data compression algorithms and techniques, such as lossy compression or lossless compression, depending on the nature of the data and transmission requirements.

[0145] The effects of the above technical solution are as follows: by compressing the features, the size of the data is significantly reduced, thereby reducing the bandwidth and time required for transmission and improving the efficiency of data transmission; the importance coefficient of each feature is determined according to its contribution to the model prediction result, and compression is performed accordingly to ensure the retention of key information; even if the data is compressed, it can effectively reflect the user's physical state and behavior pattern, ensuring the availability and accuracy of the data. By using multiple prediction models to capture different aspects of the data, the characteristics of the data and how they affect the target variables can be more fully understood; this helps to more deeply analyze the user's health status and behavior pattern, and provide users with more personalized and accurate services. The method allows parameters such as weight coefficients and preset compression ratios to be adjusted according to actual needs to achieve different degrees of compression effects. At the same time, with the emergence of new prediction models or algorithms, they can be easily incorporated into the framework to further improve the efficiency and accuracy of data compression. By reducing the amount of data transmitted, the energy consumption of the smart ring can be reduced, thereby extending its service life.

[0146] In summary, this method improves the efficiency of data transmission, retains key information, fully understands data characteristics, and has flexibility and scalability by intelligently compressing feature data. At the same time, it also saves energy, extends device life, and improves user experience, providing an effective solution for smart ring data synchronization transmission based on wireless communication.

[0147] In some embodiments, the smart ring data synchronization transmission method based on wireless communication, S204 includes:

[0148] Performing a first classification on the preprocessed data according to data type;

[0149] Forming a preliminary data packet based on a combination of the data in the first category and the metadata;

[0150] Sort the preliminary data packets according to the timestamps of the internal data items;

[0151] The preliminary data packet is reassembled or split according to the size and order of the preliminary data packet to obtain a second data packet, and the size of the second data packet is dynamically adjusted according to the real-time transmission situation.

[0152] In some implementations, the reassembling or splitting according to the size and order of the preliminary data packet to obtain the second data packet, and dynamically adjusting the size of the second data packet according to the real-time transmission situation, includes:

[0153] Through historical data, the size of the bandwidth and the packet loss rate of the corresponding transmission time period are obtained;

[0154] The size of the data packet is obtained according to the historical average bandwidth size of the corresponding transmission time period, the historical average packet loss rate of the corresponding transmission time period, the current bandwidth size and the packet loss rate; the size of the data packet Q c The following conditions are met:

[0155]

[0156] Among them, α is the current network congestion coefficient, 0<α<1, b c is the current bandwidth size, b a The historical average bandwidth size of the corresponding transmission time period, d c is the current packet loss rate, d a The historical average packet loss rate of the corresponding transmission time period, Q min is the size of the smallest historical data packet in the transmission period, Q max is the size of the smallest historical data packet in this transmission period, and max() is the maximum value.

[0157] The working principle of the above technical solution is: the pre-processed data is first classified according to the data type; the purpose of classification is to classify data with similar properties or uses together to facilitate the subsequent data packet construction and transmission; through classification, data can be organized more efficiently and the structure of data transmission can be optimized;

[0158] Based on the first classification, a preliminary data packet is formed according to the combination of the data in the classification and the metadata; the metadata includes information such as timestamp and sensor identification. By combining the data and metadata, a complete and ordered data packet is constructed to prepare for subsequent data transmission;

[0159] Then, the preliminary data packets are sorted; the sorting is based on the timestamps of the data items inside the data packets. By sorting, the system can ensure that the data in the data packets are arranged in chronological order, so that the receiver can parse and process the data in the correct order.

[0160] After obtaining the initially sorted data packets, they will be reassembled or split according to the size and sorting of the data packets to form a second data packet; the purpose is to dynamically adjust the size of the data packet according to the real-time transmission situation to adapt to changes in network bandwidth and packet loss rate; by reassembling or splitting the data packets, it can be ensured that the size of the data packet is moderate, neither too large to cause transmission delays or packet loss, nor too small to cause low transmission efficiency.

[0161] When dynamically adjusting the packet size, multiple factors are considered, including the bandwidth size and packet loss rate in historical data, as well as the current bandwidth size and packet loss rate; by comparing the current conditions with the historical average conditions, the adjustment range of the packet size can be calculated.

[0162] Specifically, the system will calculate a reasonable data packet size range through a series of mathematical operations based on factors such as the network congestion coefficient, the difference between the current broadband size and the historical average broadband size, and the difference between the current packet loss rate and the historical average packet loss rate. Based on the calculated data packet size range, the system will dynamically adjust the size of the second data packet. In this way, the system can adapt to changes in the network environment in real time and ensure the transmission efficiency and stability of data packets.

[0163] In summary, the core of the working principle of the S204 stage is to dynamically build and adjust the size and structure of the data packet according to the data type, metadata, timestamp and real-time transmission situation to achieve efficient and stable data synchronization transmission.

[0164] The effects of the above technical solution are: by analyzing the network status (such as bandwidth size and packet loss rate) in real time, the size of the data packet can be dynamically adjusted to adapt to changes in network conditions; when the bandwidth is large and the packet loss rate is low, the system can increase the size of the data packet, so as to transmit more data at one time, reduce the number of transmissions and waiting time, and improve data transmission efficiency. In the case of small bandwidth or high packet loss rate, the size of the data packet can be reduced to reduce the risk of errors or packet loss during transmission; small data packets are easier to transmit in the network, reducing the possibility of data loss and ensuring the integrity and accuracy of the data; dynamic adjustment of the data packet size can make more reasonable use of network resources. When the network is busy, reducing the size of the data packet can reduce network congestion and avoid long-term waiting or loss of data packets in the network; when the network is idle, increasing the size of the data packet can make full use of network resources and improve the speed and efficiency of data transmission.

[0165] This method can dynamically adjust the data packet size according to the real-time transmission situation, which enables the system to cope with various complex network environments and changes. Whether it is network congestion, bandwidth fluctuations or packet loss rate changes, the data packet size can be adjusted to maintain stable transmission performance, enhancing the flexibility and adaptability of the system; by optimizing the data transmission process and reducing transmission errors and delays, it can provide users with a smoother and more stable data synchronization experience.

[0166] In summary, the above steps can significantly improve data transmission efficiency, reduce errors, optimize resource utilization, enhance system flexibility and adaptability, and improve user experience.

[0167] In some embodiments, the smart ring data synchronization transmission method based on wireless communication, S4 includes:

[0168] The smart ring detects the transmission distance and signal strength between the smart ring and the external device.

[0169] A transmission strategy is determined according to the transmission distance and signal strength.

[0170] The transmission strategy includes:

[0171] If the transmission distance between the external device and the smart ring is within a preset distance and the signal strength is greater than a preset strength threshold, data transmission is started;

[0172] The transmission power of the smart ring is adjusted according to the signal strength; in addition to adjusting the transmission power, the smart ring may also take other measures to optimize data transmission; for example, a suitable encoding method and modulation method are selected according to the signal quality to ensure the integrity and accuracy of the data during the transmission process; in addition, the smart ring also uses error correction technology to detect and correct errors that may occur during the transmission process to improve the reliability of data transmission.

[0173] During the entire data transmission process, the smart ring will continuously monitor the transmission status and signal strength; if any abnormal situation is found, such as sudden signal interruption or a significant drop in data transmission speed, the smart ring will take remedial measures in time, such as re-establishing the connection or adjusting the transmission strategy to ensure stable data transmission.

[0174] The working principle and effect of the above technical solution are as follows: First, the smart ring will connect to the external device through the built-in wireless communication module (such as Bluetooth, Wi-Fi, etc.) and continuously monitor the transmission distance between the two. The transmission distance can usually be estimated by parameters such as the transmission time and signal attenuation of the wireless signal; at the same time, the smart ring will also detect the signal strength between the external device, which is usually measured by the received signal power or signal-to-noise ratio.

[0175] Once the information on transmission distance and signal strength is obtained, the smart ring will compare these data with the preset thresholds to determine whether to start data transmission; the preset distance and strength thresholds are set according to actual application scenarios and transmission requirements, aiming to ensure the reliability and efficiency of data transmission.

[0176] If the transmission distance between the external device and the smart ring is within the preset distance and the signal strength is greater than the preset strength threshold, the smart ring will determine that the current environmental conditions are suitable for data transmission and start the data transmission process; this includes constructing and adjusting the data packet according to the method of the S204 stage mentioned above, and sending the data to the external device through the wireless communication module.

[0177] In addition, the smart ring will dynamically adjust its transmission power according to the signal strength; signal strength is an important indicator of wireless communication quality, which directly affects the reliability and speed of data transmission; if the signal strength is weak, the smart ring may increase the transmission power to improve the signal reception quality; conversely, if the signal strength is strong enough, the smart ring may reduce the transmission power to save energy.

[0178] To sum up, the core of the working principle of the S4 stage is that the smart ring determines the transmission strategy by detecting the transmission distance and signal strength, and dynamically adjusts the transmission power to adapt to different communication environments, thereby achieving efficient and reliable data synchronization transmission.

[0179] This application is explained from the perspectives of purpose of use, effectiveness, progress and novelty, and has met the functional enhancement and usage requirements emphasized by the Patent Law. The above description and drawings of this application are only the preferred embodiments of this application, and are not intended to limit this application. Therefore, all structures, devices, features, etc. that are similar or identical to this application, that is, all equivalent replacements or modifications made in accordance with the scope of the patent application of this application, should fall within the scope of protection of the patent application of this application.

Claims

1. A smart ring data synchronization transmission method based on wireless communication, It is characterized in that The method comprises: S1. Collecting the user's physical activity status data through the smart ring; S2. Preprocessing the collected data, including feature extraction and compression processing, compressing the feature by obtaining the feature compression ratio according to the contribution of the feature; packaging the preprocessed data according to a preset format; forming a data packet to be transmitted, and dynamically adjusting the size of the data packet according to the real-time transmission situation; S3, the smart ring establishes a wireless connection with an external device through a built-in wireless communication module; S4, obtaining a transmission distance and a signal strength between the smart ring and the external device, and based on the transmission distance and the signal strength, the smart ring sends the data packet to be transmitted to the external device through the wireless connection; S5, after receiving the data packet, the external device performs parsing and verification; and synchronizes the received data with the local data; The S2 includes: S201, preprocessing the raw data collected by the smart ring to obtain preprocessed data; the preprocessing includes removing abnormal values, duplicate values ​​or invalid data, and denoising the signal through a digital filtering algorithm; S202, extracting features from the preprocessed data; S203, compressing the extracted features to obtain compressed feature data; S204, packaging the preprocessed data, the compressed feature data, and related metadata according to a preset data packet format; the related metadata includes a timestamp and a sensor identifier; S205, adding a checksum to the packaged data and performing encryption processing; The S203 includes: Obtain multiple prediction models through historical data; Through the training process of the prediction model, the contribution of each feature to the model prediction results is obtained; According to the contribution of each feature to the model prediction results, the importance coefficient of the feature to the model is obtained; Obtain the total importance coefficient of the feature through the importance coefficient of the same feature for multiple models; G i =w1*G imax +w2*G iz Among them, G i is the total importance coefficient of the i-th feature, G imax is the maximum value of the importance coefficient of the i-th feature in multiple prediction models, G iz is the sum of the importance coefficients of the i-th feature in multiple prediction models; w1 and w2 are weight coefficients; By normalizing the total importance coefficients of multiple features, a normalized result is obtained; According to the normalization processing result and the preset compression ratio, the compression ratio of each feature is obtained; The feature data is compressed according to the compression ratio corresponding to the feature.

2. The method for synchronously transmitting data of a smart ring based on wireless communication according to claim 1, It is characterized in that The S1 includes: S101. Divide different time periods by user historical data and obtain sampling strategies within different time periods; S102, collecting the user's physical state data based on the sampling strategies in different time periods, and adjusting the sampling strategies according to the user's physical state data; S103. The smart ring enters a sleep state or a sampling state according to the user's activity pattern and sampling strategy; in response to the user being stationary or in a low-activity state, the smart ring enters a sleep mode; in response to the user resuming activity or triggering a specific event, the smart ring quickly wakes up and resumes data collection.

3. The method for synchronously transmitting data of a smart ring based on wireless communication according to claim 2, It is characterized in that The S101 includes: Determine the content of the body state data to be monitored in each time period according to the user's historical data in different time periods; the body state data includes physiological parameters and exercise data; Set an appropriate sampling frequency for each time period based on the importance of the sampled content and the user's activity status; According to the user's attention to different data contents, the sampling content in each time period is prioritized.

4. The method for synchronously transmitting data of a smart ring based on wireless communication according to claim 1, It is characterized in that The step of obtaining the compression ratio of each feature according to the normalization processing result and the preset compression ratio includes: Set the preset compression ratio; Calculate the relative importance of features; X i =GZ i / GZ s Among them, X i is the relative importance of the i-th feature, GZ i is the normalized result of the i-th feature, GZ s is the sum of the normalized results of all features in the compressed set; According to the relative importance of the current feature and the preset compression ratio, a preliminary compression ratio of the feature is obtained; CR i =X i *GO Among them, CR i is the initial compression ratio of the ith feature, and IR is the preset compression ratio; After all features in the compression set are compressed according to the initial compression ratio corresponding to the features, the total compression ratio is obtained; The ratio of the total compression ratio to the preset compression ratio is calculated, and the preliminary compression ratios of all features are scaled according to the ratio.

5. The method for synchronously transmitting data of a smart ring based on wireless communication according to claim 1, It is characterized in that The S204 includes: Performing a first classification on the preprocessed data according to data type; Forming a preliminary data package based on the combination of the data in the first category and the metadata; Sort the preliminary data packets according to the timestamps of the internal data items; The preliminary data packet is reassembled or split according to the size and order of the preliminary data packet to obtain a second data packet, and the size of the second data packet is dynamically adjusted according to the real-time transmission situation.

6. The method for synchronously transmitting data of a smart ring based on wireless communication according to claim 5, It is characterized in that The step of recombining or splitting the preliminary data packets according to the size and order of the preliminary data packets to obtain the second data packets, and dynamically adjusting the size of the second data packets according to the real-time transmission situation, comprises: Through historical data, the size of the bandwidth and the packet loss rate of the corresponding transmission time period are obtained; The size of the data packet is obtained according to the historical average bandwidth size of the corresponding transmission time period, the historical average packet loss rate of the corresponding transmission time period, the current bandwidth size and the packet loss rate; the size of the data packet The following conditions are met: ; in, is the current network congestion coefficient, , is the current bandwidth size, The historical average bandwidth size of the corresponding transmission time period, is the current packet loss rate, The historical average packet loss rate of the corresponding transmission time period, is the size of the historical minimum data packet in the corresponding transmission time period, is the size of the largest historical data packet in the corresponding transmission time period, and max() is the maximum value.

7. The method for synchronously transmitting data of a smart ring based on wireless communication according to claim 1, It is characterized in that The S4 includes: The smart ring detects the transmission distance and signal strength between the smart ring and the external device. A transmission strategy is determined according to the transmission distance and signal strength.

8. The method for synchronously transmitting data of a smart ring based on wireless communication according to claim 7, It is characterized in that The transmission strategy includes: If the transmission distance between the external device and the smart ring is within a preset distance and the signal strength is greater than a preset strength threshold, data transmission is started; The transmission power of the smart ring is adjusted according to the signal strength.

Citation Information

Patent Citations

  • Dynamic compression prediction control method of continuous monitoring data in unstable network transmission

    CN110769000A

  • Health data sharing method and system based on Internet of Things

    CN116913541A