A multi-type multi-protocol sports equipment connection method, intelligent terminal and system
Patent Information
- Application Number
- CN202610815756.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-05
- Publication Date
- 2026-09-22
AI Technical Summary
[0004](1)蓝牙、ANT+、Wahoo通信协议的设备采用不同的连接方式、数据协议和数据格式,需要分别处理,增加了开发和维护成本
[0052]上述可连接多运动设备的智能终端及系统,通过协议适配单元屏蔽了不同通信协议的底层差异,按照预先分配好的时隙接收各运动设备的原始数据,对原始数据进行时间对齐和融合,通过统一的数据接口将融合数据帧上报给上层应用,在用户无感知的情况下,自动完成各运动设备的自动发现、协议适配、无冲突连接、数据时间对齐和统一时间轴的融合数据帧上报,为用户提供了稳定、实时且完整的多运动设备的连接和数据采集体验。
Smart Images

Figure CN122803043A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of data communication technology for intelligent sports equipment. Specifically, it relates to a method for connecting multiple types of multi-protocol sports equipment to solve the problems of concurrent connection and multi-protocol adaptation of multiple devices in indoor sports scenarios. Background Technology
[0002] With the increasing popularity of smart fitness equipment, users often use multiple devices simultaneously when engaging in indoor cycling, rowing, and other similar activities. These devices include smart cycling trainers, power meters, heart rate belts, cadence sensors, speed sensors, exercise bikes, and rowing machines. These devices connect to the terminal device via Bluetooth, ANT+, and Wahoo communication protocols to transmit exercise data in real time.
[0003] Currently, the connection between multiple sports devices and terminals faces the following problems:
[0004] (1) Devices using Bluetooth, ANT+, and Wahoo communication protocols use different connection methods, data protocols, and data formats, which require separate processing, increasing development and maintenance costs.
[0005] (2) When multiple devices transmit data at the same time, signal interference and data packet conflicts are likely to occur, resulting in data loss or delay. Summary of the Invention
[0006] The purpose of this invention is to provide a method, smart terminal and system for connecting multiple types and protocols of sports devices, which achieves stable connection of multiple devices through connection strategy optimization, multi-protocol adaptation and concurrent data processing technology.
[0007] The present invention is implemented using the following technical solutions:
[0008] A method for connecting multiple types and protocols of motion devices is proposed and applied to a smart terminal that connects multiple motion devices, including:
[0009] Scan surrounding motion devices, analyze broadcast data to identify the device type and supported communication protocols of each motion device;
[0010] A connection strategy is generated based on the device type and the supported communication protocols; the connection strategy includes at least a time slot allocation strategy; the time slot allocation strategy is to allocate different time slot offsets and time slot lengths to different motion devices so that each motion device can send data in different time periods;
[0011] After establishing a connection according to the communication protocol of each sports device, the raw data of each sports device is received based on the time slot allocation strategy.
[0012] The raw data from each motion device is time-aligned and merged into a data frame on a unified time axis.
[0013] The fused data frames are reported to the upper-layer application for motion data analysis.
[0014] Compared with existing technologies, the advantages and positive effects of this invention are as follows: The multi-type, multi-protocol motion device connection method proposed in this invention involves a smart terminal scanning surrounding motion devices, identifying the device type and supported communication protocols from the broadcast data of the transport devices, configuring different time slot offsets and time slot lengths for each motion device based on the device type and supported communication protocols, establishing connections according to the communication protocols of each motion device, and receiving the raw data of each motion device at different time periods based on the allocated time slots, avoiding signal interference and data packet conflicts caused by simultaneous data transmission from each motion device; finally, mapping the raw data of each motion device onto a unified time axis and merging the data of each motion device into a data frame at a unified time point, so that the upper-layer application can directly obtain the aligned and merged data without needing to care about the protocol or format of the data sent, eliminating the need for separate processing, and reducing development and maintenance costs.
[0015] In some embodiments of the present invention, the connection strategy further includes the step of configuring a connection pool for each motion device according to device priority, specifically including:
[0016] Allocate independent connection pools to high-priority devices;
[0017] Allocate a shared connection pool to medium-priority devices;
[0018] Connect low-priority devices on demand.
[0019] In this embodiment, high-priority exercise devices are assigned to independent connection pools, such as cycling trainers and power meters, granting them exclusive connection resources and preventing data transmission interference from other devices, thus ensuring latency-free power data transmission. Medium-priority exercise devices are assigned to shared connection pools, such as heart rate monitors, to ensure reliable data transmission while conserving system connection resources. Low-priority exercise devices, such as speed sensors, are configured for on-demand connection, only consuming connection resources when needed, reducing overall system power consumption and channel usage. This priority-based differentiated connection pool configuration allows the entire system to reasonably balance the real-time requirements, stability requirements, and power consumption control of different exercise devices within limited connection resources.
[0020] In some embodiments of the present invention, the step of configuring the connection pool further includes a step of setting connection parameters:
[0021] by Set the connection intervals for each piece of sports equipment; among which... For sports equipment The connection interval time, For sports equipment Minimum connection response time, For sports equipment Maximum connection response time;
[0022] Set the connection latency of each sports device to 0;
[0023] Set a connection timeout threshold. If the motion device is not connected when the connection timeout threshold is exceeded, the device will be reconnected.
[0024] In this embodiment, while configuring the connection pool, a connection interval is set individually for each motion device, taking the midpoint between the minimum and maximum connection times supported by the device. This avoids both the high power consumption and channel congestion caused by frequent communication due to the minimum interval, and the excessive data latency caused by the maximum interval, achieving a balance between real-time performance and power consumption. Furthermore, the connection latency of each motion device is set to 0, ensuring that each device can connect and transmit data immediately, meeting the requirements for real-time analysis of motion data. In addition, by setting a connection timeout threshold, the smart terminal can promptly detect device connection anomalies and automatically trigger reconnection, preventing devices from going offline due to a single connection failure and improving connection robustness.
[0025] In some embodiments of the present invention, while receiving the raw data from each motion device based on a time slot allocation strategy, the method further includes a collision detection and backoff step:
[0026] For a connected motion device, if it fails to receive its data packets N times consecutively, it is determined that the motion device has experienced a data reception conflict; where N is a positive integer greater than or equal to 2.
[0027] Allocate retreat time to the motion equipment The data will be resent after the backoff time has ended.
[0028] In this embodiment, while receiving data in time slots, a collision detection and backoff mechanism is configured. If a motion device fails to receive data within a time window of N consecutive data transmissions, the system determines that a data collision has occurred and the data packet has been lost. This avoids the backoff mechanism being mistakenly triggered by accidental or momentary signal interference and reduces unnecessary retries. When a collision occurs, a random backoff time is allocated to the motion device. When multiple devices experience data collisions, the random backoff time effectively staggers the timing of retransmissions, preventing further collisions and conflicts.
[0029] In some embodiments of the present invention, the conflict detection and backoff step further includes:
[0030] Set the maximum number of retries;
[0031] The number of times the motion device resends data is recorded. If the maximum number of retries is reached and the data is not successfully received, the motion device is marked as abnormal.
[0032] In this embodiment, based on the conflict detection and backoff mechanism, a maximum retry limit is further set. If the number of retries for a certain motion device exceeds the limit and it still fails to receive its data, the system determines that the motion device can no longer resume communication through the backoff mechanism and marks it as an abnormal state. On the one hand, this avoids the waste of resources caused by infinite retries in the case of continuous conflict or equipment failure. On the other hand, the marking allows the system to take subsequent measures accordingly.
[0033] In some embodiments of the present invention, the raw data of each motion device is time-aligned and fused into a data frame on a unified time axis, specifically including:
[0034] Establish a unified system timeline;
[0035] Data generated by various sports equipment at different times is mapped to a unified timeline according to the timestamp of its generation.
[0036] Output a fused data frame containing data from multiple motion devices.
[0037] In this embodiment, when implementing time alignment, a unified system timeline is first established as a global time reference. Then, the raw data generated by each motion device at different times is mapped onto this unified timeline according to the generation timestamp carried by the data itself. Because the data transmission delays of different devices vary, the time when the data arrives at the terminal may not be consistent with the actual generation time order, causing upper-layer applications to be unable to correctly correlate various motion parameters at the same moment. This embodiment rearranges the data according to the generation time rather than the reception time, thus organizing the originally scattered and disordered multi-device data streams into a unified time coordinate system, ultimately outputting a fused data frame containing data from multiple devices at the same time. After the upper-layer application directly obtains this fused data frame, it does not need to handle complex time alignment logic itself, significantly reducing the complexity of application development while ensuring the accuracy and real-time performance of motion data analysis.
[0038] In some embodiments of the present invention, the method further includes:
[0039] The device priority is dynamically adjusted based on the signal strength, data quality, and power information of each device.
[0040] The adjusted device priority is updated into the connection policy at a set update cycle.
[0041] In this embodiment, the signal strength, data quality, and battery level of each connected motion device are continuously monitored. Based on these three indicators, the priority of each device is dynamically adjusted periodically, and the adjusted priority is then fed back into the connection strategy to achieve adaptive optimization. Specifically, when a device's signal weakens, its priority automatically decreases, thereby reducing the data retransmission overhead caused by poor signal strength. When a device's data quality deteriorates, its priority also automatically decreases, preventing invalid data from consuming terminal processing resources. Similarly, when a device's battery is low, its priority automatically decreases, extending its remaining operating time by reducing its communication frequency. This dynamic adjustment mechanism responds to changes in device status in real time, ensuring the connection strategy remains optimally configured at all times.
[0042] In a specific embodiment of the present invention, the device priority is dynamically adjusted based on the signal strength, data quality, and power information of each motion device, specifically including:
[0043] Set dynamic adjustment factors: signal strength factor, data quality factor, and power factor;
[0044] Calculate device priority based on dynamic adjustment factor:
[0045] ;
[0046] in, For the updated device priority, As the current device priority, Signal strength factor For data quality factors, For the charge factor, , , , To update the weights; The received signal strength; For the health indicators of the data link; This refers to the battery level of the sports equipment.
[0047] The present invention also proposes a smart terminal for connecting multiple sports devices, including:
[0048] The device discovery and identification unit is used to scan surrounding moving devices, parse broadcast data to identify the device type and supported communication protocols of each moving device;
[0049] A connection strategy generation unit is used to generate a connection strategy based on the device type and the supported communication protocol; the connection strategy includes at least a time slot allocation strategy; the time slot allocation strategy is to allocate different time slot offsets and time slot lengths to different motion devices so that each motion device can send data in different time periods;
[0050] The protocol adaptation unit is used to establish a connection with each sports device according to its communication protocol, receive the raw data of each sports device based on the time slot allocation strategy, perform time alignment on the raw data of each sports device, and merge them into a data frame on a unified time axis; and report the merged data frame to the upper layer application for sports data analysis through a unified data interface.
[0051] The present invention also proposes a multi-type, multi-protocol sports device connection system, including multiple sports devices and the smart terminal described above.
[0052] The aforementioned smart terminal and system, which can connect to multiple sports devices, shields the underlying differences between different communication protocols through a protocol adaptation unit. It receives raw data from each sports device according to pre-allocated time slots, performs time alignment and fusion of the raw data, and reports the fused data frames to the upper-layer application through a unified data interface. Without the user's awareness, it automatically completes the automatic discovery of each sports device, protocol adaptation, conflict-free connection, data time alignment, and unified time axis fused data frame reporting, providing users with a stable, real-time, and complete multi-sports device connection and data acquisition experience.
[0053] Other features and advantages of the present invention will become clearer after reading the detailed description of the embodiments of the present invention in conjunction with the accompanying drawings. Attached Figure Description
[0054] Figure 1 These are the execution steps of the multi-type, multi-protocol motion device connection method proposed in this invention;
[0055] Figure 2 This is a functional structure diagram of the smart terminal proposed in this invention;
[0056] Figure 3 This invention presents the system architecture for a multi-type, multi-protocol motion device connection system.
[0057] Figure 4 This is a description of the timing sequence for step S4 of the method of the present invention. Detailed Implementation
[0058] The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
[0059] The first embodiment of the present invention provides a method for connecting multiple types and protocols of sports equipment. This method can be applied to smart terminals with wireless communication capabilities, such as smartphones, tablets, and smart fitness hosts, and is used to simultaneously connect and manage multiple sports devices, such as smart cycling trainers, power meters, heart rate belts, cadence sensors, speed sensors, exercise bikes, and rowing machines.
[0060] Reference Figure 1 As shown, the method specifically includes the following steps:
[0061] S1: Scan surrounding motion devices, parse broadcast data to identify the device type and supported communication protocols of each motion device.
[0062] In this embodiment, after the smart terminal is powered on, it will enable wireless scanning functions such as Bluetooth (BLE) and ANT+ to discover surrounding motion devices. For Bluetooth devices, the terminal listens for their broadcast data packets (Advertising Data); for ANT+ devices, it receives their broadcast information through the ANT+ adapter.
[0063] When parsing broadcast data, the terminal identifies the device type by matching the service UUID (Universally Unique Identifier) in the broadcast packet. For example:
[0064] If the service UUID is 0x1826, it is identified as a fitness machine service.
[0065] If the service UUID is 0x1818, it is identified as a power meter (Cycling Power Service).
[0066] If the service UUID is 0x180D, it is identified as a Heart Rate Service.
[0067] If the service UUID is 0x1816, it is identified as a cadence sensor (Cycling Speed and CadenceService).
[0068] Simultaneously, based on the method of receiving broadcasts (such as receiving via Bluetooth scanning or ANT+ channel reception), the communication protocol supported by the device (such as BLE, ANT+, or Wahoo / Srap protocol) is determined. After identification, the terminal establishes a device information table, recording the device identifier (Device_ID), device type (Device_Type), communication protocol (Protocol), and signal strength (RSSI) for each device.
[0069] S2: Generate a connection strategy based on the device type and the supported communication protocols. This connection strategy includes at least a time slot allocation strategy.
[0070] To avoid signal conflicts caused by multiple devices transmitting data simultaneously, this step generates a time slot allocation strategy. The core idea of this strategy is to allocate different time slot offsets and time slot lengths to different moving devices, so that each moving device can transmit data in different specified time periods, thereby achieving time-division multiplexing.
[0071] In a specific example, a time slot allocation period of T=100ms is set. For a identified cycling trainer, a power meter, a heart rate monitor, a cadence sensor, and a speed sensor, the generated time slot allocations are as follows:
[0072] Cycling trainer: time slot offset 0ms, time slot length 10ms;
[0073] Power meter: time slot offset 12ms, time slot length 10ms;
[0074] Heart rate monitor: slot offset 24ms, slot length 10ms;
[0075] Civic sensor: time slot offset 36ms, time slot length 10ms;
[0076] Speed sensor: time slot offset 48ms, time slot length 10ms.
[0077] In this way, the five motion devices transmit data in different time windows, avoiding the collision of air packets caused by simultaneous transmission.
[0078] As a preferred embodiment, the connection strategy further includes the step of configuring a connection pool for each motion device according to device priority, specifically including:
[0079] High-priority devices (such as cycling trainers and power meters, whose data has extremely high real-time requirements) are allocated independent connection pools, allowing them to exclusively use connection resources and not be interfered with by other devices.
[0080] A shared connection pool is allocated to medium-priority devices (such as heart rate monitors), allowing multiple medium-priority devices to share a set of connection resources, thus saving system overhead while ensuring reliability.
[0081] Connect low-priority devices (such as speed sensors and cadence sensors) on demand, that is, only establish a connection when data needs to be collected, thereby reducing power consumption and channel occupancy.
[0082] In addition to configuring the connection pool, connection parameters are further set:
[0083] (1) Connection interval:
[0084]
[0085] The connection intervals of each piece of motion equipment are set using this formula. For sports equipment The connection interval time, For sports equipment Minimum connection response time, For sports equipment The maximum response time of the connection. A good balance between real-time performance and power consumption is achieved by taking the midpoint value.
[0086] (2) Connection delay: Set the connection delay of each sports device to 0 to ensure that the device can respond immediately and meet the needs of real-time analysis of sports data.
[0087] (3) Connection timeout threshold: Set a timeout threshold (e.g., 5000ms). If the motion device fails to connect successfully after the threshold is exceeded, a reconnection mechanism is triggered to improve connection robustness.
[0088] S3: After establishing a connection according to the communication protocol of each motion device, receive the raw data of each motion device based on the time slot allocation strategy.
[0089] In this step, the smart terminal calls the corresponding protocol stack to establish a connection based on the protocols supported by each device:
[0090] (1) For BLE devices: Perform GATT connection, service discovery, and feature discovery, and write CCCD (client feature configuration descriptor) to enable notification, and then set connection parameter update request.
[0091] (2) For ANT+ devices: Initialize the ANT+ adapter, allocate device channels, configure channel parameters (device type, transmission type, device number), and start receiving broadcast data after opening the channel.
[0092] (3) For other private protocols (such as Srap): initialize the corresponding adapter, establish a dual-link channel, configure the channel parameters, and maintain the connection through heartbeat packets.
[0093] After the connection is established, the smart terminal receives raw data packets from different motion devices within the specified time slot window according to the time slot allocation strategy generated in step S2, thereby effectively avoiding signal conflicts.
[0094] As a further improvement to this embodiment, a collision detection and backoff mechanism is implemented while receiving data based on the time slot allocation strategy:
[0095] For a connected motion device, if the smart terminal fails to receive the device's data packets within its allocated time slot N consecutive times (N is a positive integer greater than or equal to 2, for example, N=3), it is determined that the device has experienced a data reception conflict.
[0096] After determining a conflict, allocate retreat time to the sports equipment:
[0097]
[0098] in The unit of retreat time (e.g., 20ms). This represents the current retries. After the backoff time expires, the smart terminal will resume receiving data from the device.
[0099] Simultaneously, a maximum number of retries (e.g., 3 times) is set, and the number of times data is retransmitted is recorded. If data is still not successfully received after reaching the maximum number of retries, the motion device is marked as abnormal. This prevents the unlimited consumption of system resources due to continuous conflicts or malfunctions of individual devices.
[0100] S4: Time-align the raw data of each motion device and merge them into a data frame on a unified time axis.
[0101] Because different motion devices generate data at different times and have different transmission delays, directly reporting raw data would impose a complex timing processing burden on upper-layer applications. Therefore, this step performs time alignment and fusion operations:
[0102] First, a unified system timeline is set within the smart terminal (e.g., based on the terminal's system clock).
[0103] Then, the raw data generated by each sports device at different times is mapped onto this unified timeline according to the hardware-generated timestamp carried in the data packet (or the local reception time combined with known transmission delay compensation).
[0104] Finally, data from multiple devices at the same time point (or within a time window) are assembled into a fused data frame containing data from all devices. For example, at time point t=100ms, the power data from the cycling trainer, the heart rate data from the heart rate belt, and the cadence data from the cadence sensor are packaged into a single fused frame, such as... Figure 4 As shown.
[0105] S5: Report the fused data frames to the upper-layer application for motion data analysis.
[0106] Through a unified data interface, the fused data frame generated in step S4 is reported to the upper-layer application (such as a fitness app or data analysis module). The upper-layer application does not need to care about the communication protocol, data format, and timing details of the underlying device; it can directly obtain the aligned fused data and perform sports data analysis such as power analysis, heart rate zone calculation, and calorie consumption assessment.
[0107] The second embodiment of the present invention, based on the first embodiment, adds a step of dynamically adjusting device priorities and updating the connection strategy according to the adjustment results, so as to achieve adaptive optimization of the connection strategy. Specifically, it includes:
[0108] S6: Dynamically adjust device priority based on the signal strength, data quality, and power information of each motion device.
[0109] The smart terminal continuously monitors the real-time status of each connected sports device:
[0110] Signal strength factor: ;
[0111] Data quality factor: ;
[0112] Charge factor: ;
[0113] The above, The received signal strength; For the health indicators of the data link; This refers to the battery level of the sports equipment.
[0114] Then, the updated device priority is calculated using the following formula:
[0115]
[0116] in, For the updated device priority, Set the priority for the current device (for example, the initial priority can be set based on the device type: cycling trainer = 10, power meter = 9, heart rate belt = 6, cadence sensor = 4). , , , To update the weights. In a specific instance, take... , , , As can be seen, when the signal weakens, the data quality deteriorates, or the battery level is low, the calculated... This will decrease, thereby automatically lowering the priority of the device.
[0117] Step S7: Update the adjusted device priority to the connection policy according to the set update cycle.
[0118] The smart terminal will newly calculate The value is fed back to step S2, where, based on the updated priority, connection pool allocation, time slot allocation (e.g., higher-priority devices can obtain earlier time slot offsets or longer time slot lengths), and connection parameter adjustments are re-executed. Through this closed-loop feedback, the entire system can dynamically adapt to changes in device status and always maintain optimal multi-device connection performance.
[0119] The third embodiment of this invention provides a smart terminal for implementing the multi-type, multi-protocol motion device connection method given in the first and second embodiments above.
[0120] like Figure 2 As shown, the smart terminal includes:
[0121] Device discovery and identification unit: used to scan surrounding sports devices, parse the service UUID and protocol characteristics in the broadcast data, and identify the device type (such as cycling trainer, power meter, heart rate belt, etc.) and the communication protocols supported by each sports device (such as BLE, ANT+, Srap, etc.).
[0122] Connection policy generation unit: This unit generates connection policies based on the device type and communication protocol output by the device discovery and identification unit. The connection policy includes at least a time slot allocation policy, which assigns different time slot offsets and lengths to different moving devices to enable them to send data at different time periods. As a further optimization, this unit also performs connection pool allocation (independent pool, shared pool, on-demand connection) and connection parameter settings (connection interval, connection delay, timeout threshold) based on device priority (initial or dynamically adjusted).
[0123] Protocol adaptation unit: It is used to call the corresponding protocol stack interface to establish a connection with the device according to the communication protocol of each sports device; after the connection is established, it receives the raw data of each sports device in the specified time slot based on the time slot allocation strategy given by the connection strategy generation unit; then it performs time alignment on the raw data of each sports device (mapped to a unified system time axis) and merges them into a data frame on a unified time axis; finally, it reports the merged data frame to the upper layer application through a unified data interface for sports data analysis.
[0124] In this embodiment, the protocol adaptation unit internally encapsulates the BLE protocol stack, the ANT+ protocol stack, and a private protocol stack (such as Srap), providing a consistent data callback interface to the outside world. Upper-layer applications only need to register a listener to receive the aligned and fused data frames, without needing to concern themselves with the specific details of multi-protocol adaptation, time slot scheduling, or conflict backoff at the underlying level.
[0125] The fourth embodiment of the present invention provides a multi-type, multi-protocol motion device connection system, such as... Figure 3As shown, the system includes multiple exercise devices (such as a smart cycling trainer, a power meter, a heart rate belt, and a cadence sensor) and a smart terminal as illustrated in the third embodiment. The smart terminal communicates wirelessly with each exercise device (Bluetooth, ANT+, etc.). When a user is conducting indoor cycling training, the system can automatically detect and stably connect to all exercise devices, collecting data such as power, heart rate, and cadence in real time. Through time alignment and data fusion, it provides the user with a seamless, unified, and low-latency exercise data analysis experience.
[0126] It should be noted that the above description is not intended to limit the present invention, and the present invention is not limited to the examples given above. Any changes, modifications, additions or substitutions made by those skilled in the art within the scope of the present invention should also fall within the protection scope of the present invention.
Claims
1. A method for connecting multiple types and protocols of motion devices, applied in a smart terminal connecting multiple motion devices, characterized in that, include: Scan surrounding motion devices, analyze broadcast data to identify the device type and supported communication protocols of each motion device; A connection strategy is generated based on the device type and the supported communication protocols; the connection strategy includes at least a time slot allocation strategy; the time slot allocation strategy is to allocate different time slot offsets and time slot lengths to different motion devices so that each motion device can send data in different time periods; After establishing a connection according to the communication protocol of each sports device, the raw data of each sports device is received based on the time slot allocation strategy. The raw data from each motion device is time-aligned and merged into a data frame on a unified time axis. The fused data frames are reported to the upper-layer application for motion data analysis.
2. The method for connecting multiple types and multiple protocols of motion devices according to claim 1, characterized in that, The connectivity strategy also includes the step of configuring connectivity pools for each motion device according to device priority, specifically including: Allocate independent connection pools to high-priority devices; Allocate a shared connection pool to medium-priority devices; Connect low-priority devices on demand.
3. The method for connecting multiple types and multiple protocols of motion devices according to claim 2, characterized in that, The steps for configuring a connection pool also include setting connection parameters: by Set the connection intervals for each piece of sports equipment; among which... For sports equipment The connection interval time, For sports equipment Minimum connection response time, For sports equipment Maximum connection response time; Set the connection latency of each sports device to 0; Set a connection timeout threshold. If the motion device is not connected when the connection timeout threshold is exceeded, the device will be reconnected.
4. The method for connecting multiple types and multiple protocols of motion devices according to claim 1, characterized in that, While receiving raw data from each motion device based on a time slot allocation strategy, the method also includes collision detection and backoff steps: For a connected motion device, if it fails to receive its data packets N times consecutively, it is determined that the motion device has experienced a data reception conflict; where N is a positive integer greater than or equal to 2. Allocate retreat time to the motion equipment The data will be resent after the backoff time has ended.
5. The method for connecting multiple types and multiple protocols of motion devices according to claim 4, characterized in that, The conflict detection and backoff steps also include: Set the maximum number of retries; The number of times the motion device resends data is recorded. If the maximum number of retries is reached and the data is not successfully received, the motion device is marked as abnormal.
6. The method for connecting multiple types and multiple protocols of motion devices according to claim 1, characterized in that, The raw data from each motion device is time-aligned and merged into a data frame on a unified timeline, specifically including: Establish a unified system timeline; Data generated by various sports equipment at different times is mapped to a unified timeline according to the timestamp of its generation. Output a fused data frame containing data from multiple motion devices.
7. The method for connecting multiple types and multiple protocols of motion devices according to claim 2, characterized in that, The method further includes: The device priority is dynamically adjusted based on the signal strength, data quality, and power information of each device. The adjusted device priority is updated into the connection policy at a set update cycle.
8. The method for connecting multiple types and multiple protocols of motion devices according to claim 7, characterized in that, The device priority is dynamically adjusted based on the signal strength, data quality, and power information of each device, specifically including: Set dynamic adjustment factors: signal strength factor, data quality factor, and power factor; Calculate device priority based on dynamic adjustment factor: ; in, For the updated device priority, As the current device priority, Signal strength factor For data quality factors, For the charge factor, , , , To update the weights; The received signal strength; For the health indicators of the data link; This refers to the battery level of the sports equipment.
9. A smart terminal for connecting multiple sports devices, characterized in that, include: The device discovery and identification unit is used to scan surrounding moving devices, parse broadcast data to identify the device type and supported communication protocols of each moving device; A connection strategy generation unit is used to generate a connection strategy based on the device type and the supported communication protocol; the connection strategy includes at least a time slot allocation strategy; the time slot allocation strategy is to allocate different time slot offsets and time slot lengths to different motion devices so that each motion device can send data in different time periods; The protocol adaptation unit is used to establish a connection with each motion device according to its communication protocol and to receive raw data from each motion device based on the time slot allocation strategy. The raw data from each motion device is time-aligned and merged into a data frame on a unified time axis. The fused data frames are reported to the upper-layer application for motion data analysis using a unified data interface.
10. A multi-type, multi-protocol motion device connection system, characterized in that, It includes multiple sports devices and the smart terminal as described in claim 9.