Physiological data transmission method, edge computing device and storage medium

By monitoring communication quality and power consumption, the physiological data receiving device switches communication modes, solving the problems of Bluetooth bandwidth limitations and WiFi high power consumption, and improving the flexibility and reliability of data transmission.

CN121645392APending Publication Date: 2026-03-10KINGFAR INTERNATIONAL INC
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-22
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Physiological data acquisition systems have low data transmission flexibility, limited bandwidth in Bluetooth communication connections leads to network congestion, and high power consumption in WiFi communication mode affects device battery life.

Method used

The physiological data receiving device monitors communication quality and remaining battery power, and sends a mode switching command to the acquisition device to switch from the low-power first communication mode to the high-power second communication mode, thus achieving flexible communication mode switching.

Benefits of technology

It improves the flexibility and reliability of physiological data transmission, avoids excessive power consumption and shutdown caused by blind switching, and ensures long-term monitoring needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121645392A_ABST
    Figure CN121645392A_ABST
Patent Text Reader

Abstract

The invention provides a physiological data transmission method, edge computing equipment and a storage medium, and relates to the technical field of data transmission. The physiological data receiving equipment acquires first communication quality of communication between the physiological data receiving equipment and the physiological data acquisition equipment through a first communication mode, and sends a first mode switching instruction to the physiological data acquisition equipment when the first communication quality is lower than a first quality threshold value and the residual electric quantity of the physiological data acquisition equipment is greater than an electric quantity threshold value, and receiving physiological data sent by the physiological data acquisition equipment based on the second communication mode. The method supports communication through the first communication mode and the second communication mode, the communication mode can be switched based on the first communication quality, and the flexibility of data transmission is improved. When the communication mode is switched, the residual electric quantity can be considered, the situation that the physiological data acquisition equipment cannot acquire the physiological data due to high power consumption caused by blind switching to the second communication mode with relatively high power consumption is avoided, and the reliability of physiological data acquisition and transmission is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of data transmission, and particularly relates to a physiological data transmission method, an edge computing device and a storage medium. BACKGROUND

[0002] At present, a physiological data acquisition system includes a physiological data acquisition device and a physiological data receiving device. The physiological data acquisition device and the physiological data receiving device usually establish a Bluetooth communication connection. After the physiological data acquisition device acquires physiological data, the physiological data acquisition device can send the physiological data to the physiological data receiving device through the Bluetooth communication connection, so as to perform post-processing on the physiological data.

[0003] However, the data volume of physiological data is usually large, and the bandwidth of the Bluetooth communication connection is limited. Transmission of a large amount of physiological data can cause network congestion, thereby resulting in low flexibility of physiological data transmission. SUMMARY

[0004] One technical problem to be solved by the present disclosure is that the data transmission flexibility of a physiological data acquisition system is low.

[0005] To solve the above technical problem, the present disclosure provides a physiological data transmission method, applied to a physiological data receiving device, and the method comprises the following steps. acquiring a first communication quality when the physiological data receiving device and a physiological data acquisition device communicate through a first communication mode; acquiring a remaining power of the physiological data acquisition device; when it is determined that the first communication quality is lower than a first quality threshold and the remaining power is greater than a power threshold, sending a first mode switching instruction to the physiological data acquisition device; The first mode switching instruction is used to instruct the physiological data acquisition device to switch the communication mode from the first communication mode to a second communication mode. The power consumption of the first communication mode is less than the power consumption of the second communication mode. receiving physiological data sent by the physiological data acquisition device based on the second communication mode.

[0006] In some embodiments, when it is determined that a mode switching response sent by the physiological data acquisition device is received, the communication mode is switched from the first communication mode to the second communication mode.

[0007] In some embodiments, the physiological data receiving device comprises a communication interface, a first communication module and a second communication module. The physiological data receiving device communicates with the physiological data acquisition device through the first communication module or the second communication module. Switching the communication mode from the first communication mode to the second communication mode comprises the following steps. resetting an interface pointer of the communication interface; create an implementation object for the second communication module, and make the interface pointer point to the implementation object; initialize the second communication module to switch the communication mode from the first communication mode to the second communication mode; The first communication module communicates in the first communication mode, and the second communication module communicates in the second communication mode.

[0008] In some embodiments, before sending the first mode switching instruction to the physiological data acquisition device, the method further includes: When it is determined that the characterization parameter of the first communication quality meets the preset condition, it is determined that the first communication quality is lower than the first quality threshold; The characterization parameter includes: signal strength, continuity of data packets, and receiving interval of data packets, and the preset condition is at least one of the following conditions: The signal strength is lower than the signal strength threshold; The continuity of data packets is lower than the continuity threshold; The receiving interval of data packets is greater than the interval duration.

[0009] In some embodiments, after switching the communication mode from the first communication mode to the second communication mode, the method further includes: Obtain the communication parameter when communicating with the physiological data acquisition device, wherein the communication parameter includes at least one of the following: signal strength, retransmission number of data packets, round-trip delay of data packets, data transmission jitter, and link interference rate; Based on the communication parameter, it is determined whether the second communication quality of the physiological data acquisition device is lower than the second quality threshold, and if so, a second mode switching instruction is sent to the physiological data acquisition device, wherein the second mode switching instruction is used to instruct the physiological data acquisition device to switch the communication mode from the second communication mode to the first communication mode; Switch the communication mode from the second communication mode to the first communication mode.

[0010] In a second aspect, the embodiments of the present disclosure provide a physiological data transmission method applied to a physiological data acquisition device, and the method includes: Receive a first mode switching instruction sent by a physiological data receiving device, wherein the first mode switching instruction is sent by the physiological data receiving device in a case where it is determined that the first communication quality of the physiological data acquisition device through the first communication mode is lower than the first quality threshold, and the remaining power of the physiological data acquisition device is greater than the power threshold; In response to the first mode switching instruction, switch the communication mode from the first communication mode to the second communication mode, wherein the power consumption of the first communication mode is less than the power consumption of the second communication mode; Send physiological data to the physiological data receiving device based on the second communication mode.

[0011] In some embodiments, after receiving a first mode switching instruction from a physiological data receiving device, the method further includes: A mode switching response is sent to the physiological data receiving device, wherein the mode switching response indicates that the physiological data acquisition device responds to the first mode switching command and switches the communication mode from the first communication mode to the second communication mode.

[0012] In some embodiments, in response to a first mode switching instruction, the identifier of the first data packet currently being sent is recorded; Once a communication connection in the second communication mode is established with the physiological data receiving device, physiological data is sent starting from the second data packet based on the identifier of the first data packet. The second data packet is the next data packet after the first data packet.

[0013] In some embodiments, after a preset duration has elapsed since the first communication quality is below the first quality threshold, if it is determined that no first mode switching instruction has been received, the collected physiological data is cached.

[0014] Thirdly, embodiments of this disclosure provide an edge computing device, including: a first communication module, a second communication module, a processor, and a memory, wherein the memory stores programs or instructions that can run on the processor, and the programs or instructions, when executed by the processor, implement the method as described in any of the first aspects above, or implement the method as described in any of the second aspects above.

[0015] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing a program or instructions that, when executed by a processor, implement the method as described in any of the first aspects above, or implement the method as described in any of the second aspects above.

[0016] Fifthly, embodiments of this disclosure provide a computer program product that, when executed by a processor of a vehicle or a cloud server, implements the method as described in any of the first aspects above, or implements the method as described in any of the second aspects above.

[0017] Through the above technical solution, the physiological data transmission method, edge computing device, and storage medium provided in this disclosure enable the physiological data receiving device to acquire the first communication quality when communicating with the physiological data acquisition device via a first communication mode. When the first communication quality is determined to be lower than a first quality threshold and the remaining power of the physiological data acquisition device is greater than the power threshold, a first mode switching command is sent to the physiological data acquisition device. In response to this command, the physiological data acquisition device switches from the lower-power first communication mode to a higher-power second communication mode. Subsequently, the physiological data receiving device receives the physiological data sent by the physiological data acquisition device based on the second communication mode. Therefore, the physiological data receiving device and the physiological data acquisition device support communication via both the first and second communication modes, and can switch between them based on the first communication quality. This improves communication flexibility and consequently, the flexibility of physiological data transmission. Furthermore, the remaining power of the physiological data acquisition device is considered when switching communication modes, thus avoiding blindly switching to the higher-power second communication mode, which could lead to the physiological data acquisition device shutting down due to excessive power consumption and being unable to collect and transmit physiological data. This improves the reliability of physiological data acquisition and transmission. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a schematic diagram of the structure of a physiological data acquisition system disclosed in an embodiment of this disclosure; Figure 2 This is a schematic flowchart of a physiological data transmission method disclosed in an embodiment of this disclosure; Figure 3 This is a schematic flowchart of another physiological data transmission method disclosed in this embodiment. Detailed Implementation

[0020] The embodiments of this disclosure will be further described in detail below with reference to the accompanying drawings and examples. The detailed description of the embodiments and the accompanying drawings are used to illustrate the principles of this disclosure by way of example, but should not be used to limit the scope of this disclosure. This disclosure can be implemented in many different forms and is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.

[0021] These embodiments are provided to make the disclosure thorough and complete, and to fully express the scope of the disclosure to those skilled in the art. It should be noted that, unless otherwise specifically stated, the relative arrangement of components and steps, material composition, numerical expressions, and values ​​set forth in these embodiments should be interpreted as exemplary only and not as limiting.

[0022] All terms used in this disclosure have the same meaning as understood by one of ordinary skill in the art to which this disclosure pertains, unless otherwise specifically defined. It should also be understood that terms defined in general dictionaries should be interpreted as having meanings consistent with their meanings in the context of the relevant art, and not as having idealized or highly formalized meanings, unless expressly defined herein.

[0023] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, they should be considered part of the specification.

[0024] The physiological data involved in this disclosure are various measurable data signals in the human body, including but not limited to electrocardiogram (ECG) signals, skin temperature (SKT) signals, photoplethysmogram (PPG) signals, electrodermal activity (EDA) signals, heart rate (HR) signals, electromyogram (EMG) signals, electroencephalogram (EEG) signals, and peripheral capillary oxygen saturation (SPO2) signals.

[0025] Currently, physiological data acquisition systems consist of physiological data acquisition devices and physiological data receiving devices. These devices typically establish a Bluetooth communication connection. After acquiring physiological data, the physiological data acquisition device can transmit the data to the physiological data receiving device via this Bluetooth connection for post-processing.

[0026] However, physiological data is usually large in volume, while Bluetooth communication has limited bandwidth. Transmitting large amounts of physiological data can cause network congestion, resulting in low data transmission flexibility of the physiological data acquisition system.

[0027] To avoid network congestion during data transmission, the communication module between the physiological data acquisition device and the physiological data receiving device can be replaced with a wireless fidelity (WiFi) communication module for data transmission. However, while WiFi can solve the network congestion problem, it consumes more power. Since physiological data acquisition devices are typically small wearable devices with short battery life, transmitting data via high-power WiFi would lead to excessive power consumption, failing to meet the long-term monitoring requirements of the physiological data acquisition system. Therefore, this method results in lower data transmission reliability for the physiological data acquisition system.

[0028] In view of this, the present disclosure provides a method for transmitting physiological data. A physiological data receiving device can acquire a first communication quality when communicating with a physiological data acquisition device via a first communication mode. When the first communication quality is determined to be lower than a first quality threshold and the remaining battery power of the physiological data acquisition device is greater than the battery power threshold, the receiving device sends a first mode switching command to the acquisition device. In response to this command, the acquisition device switches from the lower-power first communication mode to a higher-power second communication mode. The receiving device then receives physiological data transmitted by the acquisition device based on the second communication mode. Thus, the receiving device and the acquisition device support communication via both the first and second communication modes, and can switch between them based on the first communication quality. This improves communication flexibility and consequently, the flexibility of physiological data transmission. Furthermore, the remaining battery power of the acquisition device is considered when switching communication modes, preventing blind switching to the higher-power second communication mode, which could lead to the acquisition device shutting down due to excessive power consumption and thus being unable to collect and transmit physiological data. This improves the reliability of physiological data acquisition and transmission.

[0029] Figure 1 A physiological data acquisition system is provided as an embodiment of this disclosure. See also: Figure 1 The physiological data acquisition system includes at least: a physiological data acquisition device 10 and a physiological data receiving device 20.

[0030] The physiological data acquisition device 10 is used to collect the user's physiological data at a fixed sampling rate and can send the collected physiological data to the physiological data receiving device 20. The physiological data receiving device 20 is used to receive the physiological data sent by the physiological data acquisition device 10 and upload the physiological data to a host computer for analysis and processing. The physiological data may include electrocardiogram (ECG) data, electromyography (EMG) data, and electroencephalogram (EEG) data, etc.

[0031] Specifically, please see Figure 1 The physiological data acquisition device 10 may include a data acquisition module 01, a data processing module 02, and a data transmission module 03. The data acquisition module 01 acquires physiological data and transmits the acquired physiological data to the data processing module 02. The data processing module 02 packages the physiological data into data packets and transmits the data packets to the data transmission module 03. The data transmission module 03 can then transmit the data packets to the physiological data receiving device 20 via the communication module of the physiological data acquisition device 10.

[0032] The physiological data receiving device 20 may include a data receiving module 21, an interface module 22, and a data transmitting module 23. The data receiving module 21 can receive data packets containing physiological data sent by the physiological data acquisition device 10 through the communication module of the physiological data receiving device 20, and transmit these data packets to the interface module 22. The interface module 22 can encapsulate the received data packets into a unified data structure and write them into a common receiving queue. The data transmitting module 23 then reads these data packets and transmits them to the host computer through a Universal Serial Bus Communication Device Class (USB CDC) channel, thus achieving transparent forwarding of the data packets. Transparent forwarding means that the data content and format are not parsed or modified.

[0033] Optionally, the physiological data acquisition device 10 can be a multimodal portable sensor, such as a smart bracelet.

[0034] In the physiological data acquisition system provided in this embodiment, the data communication process between the physiological data acquisition device 10 and the physiological data receiving device 20 includes: The physiological data receiving device 20 acquires the first communication quality when communicating with the physiological data acquisition device 10 through the first communication mode, and sends a first mode switching command to the physiological data acquisition device 10 when it is determined that the first communication quality is lower than the first quality threshold and the remaining power of the physiological data acquisition device 10 is greater than the power threshold.

[0035] After receiving the first mode switching command sent by the physiological data receiving device 20, the physiological data acquisition device 10 switches the communication mode from the first communication mode to the second communication mode in response to the first mode switching command, and sends a mode switching response to the physiological data receiving device 20.

[0036] Afterwards, the two will transmit data through a second communication mode.

[0037] The method for transmitting physiological data provided in the embodiments of this disclosure will now be described in detail with reference to the accompanying drawings. Figure 2 This disclosure provides a method for transmitting physiological data. The method is applied to a physiological data acquisition system, for example... Figure 1 The physiological data acquisition system shown. For details, see [link to documentation]. Figure 2 : Step 201: The physiological data receiving device acquires the first communication quality when communicating with the physiological data acquisition device through the first communication mode.

[0038] The first communication quality can be characterized by the signal strength, data packet continuity, and data packet reception interval during the communication process between the physiological data receiving device and the physiological data acquisition device. In other words, the physiological data receiving device can monitor the signal strength, data packet continuity, and data packet reception interval of the communication channel with the physiological data acquisition device to obtain the first communication quality when communicating with the physiological data acquisition device.

[0039] Step 202: The physiological data receiving device obtains the remaining battery power of the physiological data acquisition device.

[0040] In one alternative implementation, the physiological data receiving device can periodically send a power query command to the physiological data acquisition device, which instructs the physiological data acquisition device to report its remaining power. The physiological data acquisition device can monitor its own remaining power in real time and, upon receiving the power query command, report its remaining power back to the physiological data receiving device.

[0041] In another alternative implementation, the physiological data acquisition device can periodically broadcast its remaining battery power, and the physiological data receiving device can obtain the remaining battery power of the physiological data acquisition device based on the broadcast data.

[0042] Step 203: When the physiological data receiving device determines that the first communication quality is lower than the first quality threshold and the remaining power is greater than the power threshold, it sends a first mode switching command to the physiological data acquisition device.

[0043] The first mode switching command instructs the physiological data acquisition device to switch the communication mode from the first communication mode to the second communication mode. The power consumption of the first communication mode is less than that of the second communication mode.

[0044] When the first communication quality falls below a first quality threshold, a data transmission error will occur. If the physiological data receiving device determines that the first communication quality is below the first quality threshold and the remaining battery power is greater than the battery power threshold, it can determine that continuing to use the first communication mode to transmit physiological data will result in a data transmission error. Furthermore, the physiological data acquisition device has sufficient remaining battery power, and can then send a first mode switching command to the physiological data acquisition device. The battery power threshold is pre-stored by the physiological data receiving device.

[0045] Step 204: The physiological data acquisition device responds to the first mode switching command and switches the communication mode from the first communication mode to the second communication mode.

[0046] Upon receiving the first mode switching command, the physiological data acquisition device can respond by switching its communication mode from the first communication mode to the second communication mode. In this way, the physiological data acquisition device and the physiological data receiving device can transmit data based on the second communication mode, which improves the reliability of data transmission.

[0047] Step 205: The physiological data receiving device receives the physiological data sent by the physiological data acquisition device based on the second communication mode.

[0048] When both the physiological data acquisition device and the physiological data receiving device are switched to the second communication mode, the physiological data receiving device can receive the physiological data sent by the physiological data acquisition device based on the second communication mode.

[0049] In summary, this disclosure provides a method for transmitting physiological data. A physiological data receiving device acquires a first communication quality when communicating with a physiological data acquisition device via a first communication mode. When the first communication quality is determined to be lower than a first quality threshold and the remaining battery power of the physiological data acquisition device is greater than the battery power threshold, the receiving device sends a first mode switching command to the acquisition device. Responding to this command, the acquisition device switches from the lower-power first communication mode to a higher-power second communication mode. The receiving device then receives the physiological data transmitted by the acquisition device based on the second communication mode. Therefore, the receiving device and the acquisition device support communication via both the first and second communication modes, and can switch between them based on the first communication quality. This improves communication flexibility and consequently, the flexibility of physiological data transmission. Furthermore, the remaining battery power of the acquisition device is considered when switching communication modes, preventing blind switching to the higher-power second communication mode, which could lead to the acquisition device shutting down due to excessive power consumption and thus failing to acquire and transmit physiological data. This improves the reliability of physiological data acquisition and transmission.

[0050] Figure 3 Another method for transmitting physiological data is provided as an embodiment of this disclosure. This method can be applied to... Figure 1 The physiological data acquisition system shown. For details, see [link to documentation]. Figure 3 : Step 301: The physiological data receiving device acquires the first communication quality when communicating with the physiological data acquisition device through the first communication mode.

[0051] The physiological data receiving device can periodically acquire the first communication quality when communicating with the physiological data acquisition device through the first communication mode according to the acquisition cycle. The first communication quality in each acquisition cycle can be characterized by the signal strength, the continuity of data packets, and the reception interval of data packets within that acquisition cycle.

[0052] Signal strength is represented by the received signal strength indicator (RSSI). The continuity of data packets is inversely proportional to the packet loss rate. The data packet reception interval refers to the difference in reception time between two adjacent data packets.

[0053] In this embodiment of the disclosure, the physiological data receiving device can acquire the identifier of each data packet, determine the number of missing data packets based on the acquired identifier, and then determine the packet loss rate based on the number of missing packets, thereby obtaining the continuity of the data packets. The identifier of each data packet can uniquely identify the data packet among multiple data packets. The packet loss rate is positively correlated with the number of missing packets.

[0054] Furthermore, the physiological data receiving device can obtain the reception time of each data packet, and then determine the time difference between the reception times of two adjacent data packets as the data packet reception interval.

[0055] Optionally, the first communication mode can be a Bluetooth communication mode, such as Bluetooth Low Energy (BLE) communication mode.

[0056] Step 302: The physiological data receiving device obtains the remaining battery power of the physiological data acquisition device.

[0057] The implementation method of this step is similar to that of step 202, and will not be repeated here.

[0058] Step 303: The physiological data receiving device determines whether the first communication quality is lower than the first quality threshold and whether the remaining power of the physiological data acquisition device is greater than the power threshold.

[0059] The physiological data receiving device can compare the remaining battery power of the physiological data acquisition device with a battery power threshold, and determine whether the first communication quality is lower than a first quality threshold. If the physiological data receiving device determines that the first communication quality is lower than the first quality threshold, and the remaining battery power is greater than the battery power threshold, then it can determine that the first communication quality is poor, and the remaining battery power of the physiological data acquisition device is sufficient, and step 304 can be executed. If the physiological data receiving device determines that the first communication quality is higher than or equal to the first quality threshold, i.e., the current first communication quality is good, and / or the remaining battery power is less than or equal to the battery power threshold, i.e., the remaining battery power of the physiological data acquisition device is insufficient, then it can determine that there is no need to switch the communication mode, and step 303 can be executed. The physiological data receiving device has a battery power threshold pre-stored.

[0060] In this embodiment of the present disclosure, the physiological data receiving device can acquire first communication quality characterization parameters. These characterization parameters include signal strength, data packet continuity, and data packet reception interval. The physiological data receiving device can determine whether the characterization parameters meet preset conditions. When the physiological data receiving device determines that the characterization parameters meet the preset conditions, it can determine that the first communication quality is lower than a first quality threshold. When the physiological data receiving device determines that the characterization parameters do not meet the preset conditions, it can determine that the first communication command is higher than or equal to the first quality threshold.

[0061] The preset condition is at least one of the following: the signal strength is lower than the signal strength threshold; the continuity of data packets is lower than the continuity threshold; and the data packet reception interval is greater than the interval duration.

[0062] In other words, when the physiological data receiving device determines that the signal strength is below a signal strength threshold, and / or the continuity of data packets is below a continuity threshold, and / or the reception interval of data packets is greater than the interval duration, it can determine that the first communication quality is below a first quality threshold. When the physiological data receiving device determines that the signal strength is above or equal to the signal strength threshold, the continuity of data packets is above or equal to the continuity threshold, and the reception interval of data packets is greater than the interval duration, it can determine that the first communication quality is above or equal to the first quality threshold. Here, the signal strength threshold, the continuity threshold, and the interval duration are all pre-stored by the physiological data receiving device.

[0063] Step 304: The physiological data receiving device sends a first mode switching command to the physiological data acquisition device.

[0064] When the physiological data receiving device determines that the first communication quality is lower than the first quality threshold and the remaining power is greater than the power threshold, it can send a first mode switching command to the physiological data acquisition device.

[0065] The first mode switching command instructs the physiological data acquisition device to switch the communication mode from the first communication mode to the second communication mode. The power consumption of the first communication mode is less than that of the second communication mode.

[0066] Optionally, the second communication mode can be WiFi, long-range radio (LoRa), or Zigbee. ZigBee is a short-range, low-power, low-data-rate, and self-organizing wireless communication technology.

[0067] When the physiological data receiving device determines that the communication quality based on the first communication mode has deteriorated, it sends a first mode switching command to the physiological data acquisition device, instructing the physiological data acquisition device to switch the communication mode from the first communication mode to the second communication mode. In this way, data transmission can be performed using the higher-quality second communication mode, thus avoiding long-term packet loss or data interruption.

[0068] Step 305: In response to the first mode switching command, the physiological data acquisition device switches the communication mode from the first communication mode to the second communication mode and sends a mode switching response to the physiological data receiving device.

[0069] After receiving the first mode switching command, the physiological data acquisition device can first switch the communication mode from the first communication mode to the second communication mode, and then generate a mode switching response (i.e., confirmation signal) and send it to the physiological data receiving device.

[0070] By sending a mode switching response to the physiological data acquisition device, the physiological data receiving device can know that the first mode switching command has been reliably received by the physiological data acquisition device, thereby avoiding erroneous switching or asynchrony between the communication modes of the two parties on an unreliable channel.

[0071] In some embodiments of this disclosure, the physiological data acquisition device, in response to a first mode switching command, can also record the identifier of the currently transmitted first data packet. After determining that a communication connection in a second communication mode has been established with the physiological data receiving device, it transmits physiological data starting from the second data packet based on the identifier of the first data packet. The second data packet is the next data packet after the first data packet. This ensures high accuracy in the transmission of physiological data.

[0072] Specifically, during the communication mode switching process, the physiological data acquisition device continues to collect physiological data. Based on this, in response to the first mode switching command, the physiological data acquisition device records the identifier of the currently sent data packet (i.e., the first data packet) and stores the physiological data collected after that data packet. After establishing a communication connection between the physiological data acquisition device and the physiological data receiving device in the second communication mode, the starting storage location of the stored physiological data is used as the transmission starting point, and physiological data is sent. This ensures the integrity of the physiological data acquired by the host computer.

[0073] It should be understood that the physiological data collected during the switching of the physiological data acquisition device's storage communication mode is sufficient.

[0074] In some embodiments of this disclosure, the acquisition and transmission processes of the physiological data acquisition device can operate independently. That is, even if poor communication quality prevents the physiological data acquisition device from sending physiological data to the physiological data receiving device, the physiological data acquisition device will not interrupt the acquisition of physiological data. Based on this, after determining that the first communication quality has been below the first quality threshold for a preset period of time, the physiological data acquisition device can buffer the acquired physiological data when it determines that it has not received the first mode switching instruction.

[0075] In this embodiment, the preset duration can be pre-stored by the physiological data acquisition device, such as 2 minutes. This ensures the integrity of the collected physiological data, thereby ensuring the high accuracy of the analysis results obtained by the host computer after analyzing the physiological data.

[0076] Optionally, the physiological data acquisition device can cache physiological data using a local circular buffer. See also Figure 1 The physiological data acquisition device 10 also includes a data storage module 04, which stores the acquired physiological data in a storage area (e.g., an SD card) to achieve physiological data caching. In this way, even if real-time data cannot be successfully transmitted to the physiological data receiving device temporarily due to poor communication quality during periods of link instability or brief interruption, the data can still be securely stored in the data storage module to avoid data loss.

[0077] It should be understood that if the communication quality between the physiological data acquisition device and the physiological data receiving device is poor, resulting in the inability to receive the first mode switching command, the user can actively import the physiological data cached by the physiological data acquisition device into the host computer so that the host computer can obtain complete physiological data.

[0078] Step 306: The physiological data receiving device responds to the mode switching response and switches the communication mode from the first communication mode to the second communication mode.

[0079] After receiving the mode switching response sent by the physiological data acquisition device, the physiological data receiving device can determine that the physiological data acquisition device has received the first mode switching instruction, and then can switch the communication mode from the first communication mode to the second communication mode so as to communicate with the physiological data acquisition device through the second communication mode.

[0080] This ensures that both the physiological data receiving device and the physiological data acquisition device switch to the second communication mode synchronously, guaranteeing mode synchronization between the two parties. This reduces communication mode switching failures and data corruption, thereby improving the reliability of data transmission.

[0081] The physiological data receiving device includes: a communication interface, a first communication module (hereinafter referred to as the low-power communication module), and a second communication module (hereinafter referred to as the high-power communication module). The physiological data receiving device communicates with the physiological data acquisition device through either the low-power communication module or the high-power communication module. The low-power communication module uses the first communication mode, and the high-power communication module uses the second communication mode.

[0082] The communication interface is the device_xfer abstract communication layer. This disclosure introduces the device_xfer abstract communication layer (i.e., ...) into the system architecture of the physiological data receiving device. Figure 1 The interface module 22 can unify the underlying differences caused by different communication modes. In this way, the upper layer (i.e., the data sending module 23) does not need to care about how the underlying implementation is, so that different communication modes appear completely consistent at the upper layer, effectively reducing software coupling and improving scalability.

[0083] Furthermore, by setting up a communication interface, the dependence of upper-layer services on the lower-layer communication mode can be reduced. Switching between communication modes can be achieved without modifying the upper-layer logic, thus enabling seamless switching and reducing development complexity. Specifically, by abstracting the communication behaviors of the first and second communication modes into functions and forming a communication interface, the underlying frame formats, connection mechanisms, rate differences, reliability strategies, etc., are all handled internally by the corresponding specific communication modules. Upper-layer modules do not need to distinguish specific communication protocols to function properly. If other communication methods need to be added, interface pointers for those methods can be directly added to the communication interface. This reduces the coupling and scalability of the physiological data acquisition system, improving the clarity of the software structure and its scalability. This upper-layer module can be a host computer pass-through module and a data processing module.

[0084] Based on the above, the process of switching communication modes for physiological data receiving devices is illustrated by example: The physiological data receiving device can first reset the interface pointer of the communication interface, that is, set the interface pointer to null. This interface pointer is a memory address variable that points to the implementation object of the communication module that conforms to the communication rules of the communication interface. This implementation object is an instantiated object.

[0085] Then, the physiological data receiving device can create an implementation object for the second communication module and set the interface pointer to point to the implementation object of the second communication module. Next, the physiological data receiving device can initialize the second communication module to switch the communication mode from the first communication mode to the second communication mode.

[0086] Creating an implementation object involves allocating storage space and data such as module status variables to that object, storing data such as the serial port configuration, AT commands, signal strength data, and module status variables of the second communication module. Initializing the second communication module may include configuring the serial port.

[0087] In this embodiment, during the switching of communication modes, the physiological data receiving device also needs to shut down the communication protocol stack corresponding to the first communication mode and release resources, and start the communication protocol stack corresponding to the second communication mode. This avoids resource conflicts, handle remnants, or instability of the physiological data acquisition system during the switching process, thereby improving the stability of communication mode switching.

[0088] After switching communication modes, the physiological data acquisition device and the physiological data receiving device need to establish a communication connection. Only after the communication connection is established can the physiological data acquisition device and the physiological data receiving device transmit physiological data. The following is an exemplary description of the process of establishing a communication connection between the physiological data acquisition device and the physiological data receiving device in the second communication mode: The physiological data acquisition device broadcasts a broadcast data packet. The physiological data receiving device scans for the broadcast data packet broadcast by the physiological data acquisition device, and upon detecting the broadcast data packet, establishes a communication connection with the physiological data acquisition device in the second communication mode based on the broadcast data packet.

[0089] The broadcast data packet includes the identifier of the physiological data acquisition device. This identifier may include a unique identification code and a physical address of the physiological data acquisition device. In other words, the physiological data receiving module obtains the unique identification code and physical address from the broadcast data packet and establishes a second communication connection with the corresponding physiological data acquisition device based on these unique identification code and physical address.

[0090] The bandwidth and power consumption of the communication mode are positively correlated. Switching from the first communication mode to the second communication mode allows the physiological data acquisition module to send data packets with high bandwidth, thereby improving data transmission efficiency. Optionally, the communication protocol used in the second communication mode can be the Transmission Control Protocol (TCP).

[0091] Step 307: The physiological data receiving device receives the physiological data sent by the physiological data acquisition device based on the second communication mode.

[0092] When both the physiological data acquisition device and the physiological data receiving device are switched to the second communication mode, the physiological data acquisition device can send physiological data to the physiological data receiving device based on the second communication mode, and the physiological data receiving device can receive the physiological data sent by the physiological data acquisition device based on the second communication mode.

[0093] Step 308: The physiological data receiving device acquires the communication parameters when communicating with the physiological data acquisition device using the second communication mode.

[0094] The communication parameters include at least one of the following: signal strength, number of packet retransmissions, round-trip time (RTT) of packets, data transmission jitter, and link interference rate. For example, communication parameters may include: signal strength, number of packet retransmissions, RTT of packets, data transmission jitter, and link interference rate. Data transmission jitter refers to the difference in transmission delay between different data packets during data transmission. Link interference rate refers to the proportion of data packets that fail to transmit, are corrupted, or are lost due to external interference (such as electromagnetic signals) during data transmission.

[0095] Step 309: The physiological data receiving device determines, based on the communication parameters, whether the second communication quality with the physiological data acquisition device is lower than the second quality threshold.

[0096] If the physiological data receiving device determines that the second communication quality with the physiological data acquisition device is lower than the second quality threshold, step 310 is executed. If the physiological data receiving device determines that the second communication quality with the physiological data acquisition device is higher than or equal to the second quality threshold, step 309 is executed. The second quality threshold can be determined based on the normal communication quality of the first communication mode. Furthermore, a second communication quality lower than the second quality threshold indicates that the communication quality of the current second communication mode is lower than the normal communication quality of the first communication mode.

[0097] In this embodiment of the disclosure, when the physiological data receiving device determines that the second communication quality with the physiological data acquisition device is lower than the second quality threshold, and / or, the number of retransmissions of data packets is greater than the number threshold, and / or, the round-trip delay of data packets is greater than the first duration threshold, and / or, the data transmission jitter is greater than the second duration threshold, and / or, the link interference rate is greater than the interference rate threshold, the physiological data receiving device determines that the second communication quality with the physiological data acquisition device is lower than the second quality threshold.

[0098] When the physiological data receiving device determines that the signal strength is higher than or equal to a signal strength threshold, the number of retransmissions of data packets is less than or equal to a number threshold, the round-trip delay of data packets is less than or equal to a first duration threshold, the data transmission jitter is less than or equal to a second duration threshold, and the link interference rate is less than or equal to an interference rate threshold, it can determine that the second communication quality is higher than or equal to a second quality threshold. The signal strength threshold, number of retransmissions threshold, first duration threshold, second duration threshold, and interference rate threshold are all pre-stored by the physiological data receiving device.

[0099] Step 310: Send a second mode switching command to the physiological data acquisition device.

[0100] The second mode switching command is used to instruct the physiological data acquisition device to switch the communication mode from the second communication mode to the first communication mode.

[0101] As described in steps 308 and 309 above, when the second communication mode is interfered with (e.g., the channel is occupied by other processes with higher priority), causing a decrease in the communication quality of the current second communication mode, especially when its communication quality is lower than the normal communication quality of the first communication mode, the communication mode between the physiological data receiving device and the physiological data acquisition device can be switched back to the first communication mode. This can ensure better communication quality between the physiological data acquisition device and the physiological data receiving device, reduce the energy consumption of the physiological data acquisition device, and extend the duration of physiological data acquisition.

[0102] In some embodiments of this disclosure, in order to balance communication quality and physiological data acquisition duration, the above method further includes, before determining whether the second communication quality with the physiological data acquisition device is lower than a second quality threshold: At preset time intervals, the remaining battery power of the physiological data acquisition device is acquired, and it is determined whether the remaining battery power of the physiological data acquisition device is greater than a battery power threshold. If so, the second communication mode is maintained; otherwise, it is determined whether the second communication quality with the physiological data acquisition device is lower than a second quality threshold. The preset time interval can be set according to actual conditions, and this embodiment is not limited thereto.

[0103] In this way, the remaining power of the physiological data acquisition device can be monitored, avoiding the increased power consumption of the device due to prolonged use of the second communication mode, which would shorten the sustainable working time of the physiological data acquisition device and affect the acquisition of physiological data.

[0104] Step 311: In response to the second mode switching command, the physiological data acquisition device switches the communication mode from the second communication mode to the first communication mode and sends a confirmation switching response to the physiological data receiving device.

[0105] The implementation method of this step is similar to that of step 305, and will not be repeated here.

[0106] Step 312: The physiological data receiving device responds to the confirmation switching response by switching the communication mode from the second communication mode to the first communication mode.

[0107] When the second communication quality with the physiological data acquisition device is lower than the second quality threshold, the physiological data receiving device controls the switching of the communication mode from the second communication mode to the first communication mode. This enables dynamic adaptation of low power consumption and high bandwidth capabilities at both ends, thereby improving applicability and user experience in different application scenarios.

[0108] The implementation method of this step is similar to that of step 306, and will not be repeated here.

[0109] In summary, this disclosure provides a method for transmitting physiological data. A physiological data receiving device can acquire a first communication quality when communicating with a physiological data acquisition device via a first communication mode. When the first communication quality is determined to be lower than a first quality threshold and the remaining battery power of the physiological data acquisition device is greater than the battery power threshold, the receiving device sends a first mode switching command to the acquisition device. Responding to this command, the acquisition device switches from the lower-power first communication mode to a higher-power second communication mode. The receiving device then receives the physiological data transmitted by the acquisition device based on the second communication mode. Therefore, the physiological data receiving device and the acquisition device support communication via both the first and second communication modes, and can switch between them based on the first communication quality. This improves communication flexibility and consequently, the flexibility of physiological data transmission. Furthermore, the remaining battery power of the acquisition device is considered when switching communication modes, thus avoiding blindly switching to the higher-power second communication mode, which could lead to the acquisition device shutting down due to excessive power consumption and being unable to collect and transmit physiological data. This improves the reliability of physiological data acquisition and transmission.

[0110] This disclosure also provides an edge computing device, which can be a physiological data receiving device or a physiological data acquisition device. It includes: a first communication module, a second communication module, a processor, and a memory. The memory stores programs or instructions that can run on the processor, and when executed by the processor, the programs or instructions implement the physiological data transmission method provided in the above method embodiments. For example, Figure 2 or Figure 3 The method described is shown.

[0111] In the case where the edge computing device is a physiological data receiving device, the edge computing device is used for: The first communication quality is obtained when the physiological data receiving device and the physiological data acquisition device communicate through the first communication mode; Obtain the remaining battery power of the physiological data acquisition device; When the first communication quality is determined to be lower than the first quality threshold and the remaining power is greater than the power threshold, a first mode switching command is sent to the physiological data acquisition device; wherein, the first mode switching command is used to instruct the physiological data acquisition device to switch the communication mode from the first communication mode to the second communication mode; the power consumption of the first communication mode is less than the power consumption of the second communication mode; The system receives physiological data sent by the physiological data acquisition device based on the second communication mode.

[0112] Optionally, the edge computing device is also used for: When a mode switching response is received from the physiological data acquisition device, the communication mode is switched from the first communication mode to the second communication mode.

[0113] Optionally, the edge computing device is used for: Reset the interface pointer of the communication interface; Create an implementation object for the second communication module and make the interface pointer point to the implementation object; Initialize the second communication module to switch the communication mode from the first communication mode to the second communication mode; The first communication module uses the first communication mode, and the second communication module uses the second communication mode.

[0114] Optionally, the edge computing device is also used for: When the characterization parameters of the first communication quality meet the preset conditions, the first communication quality is determined to be lower than the first quality threshold. The characterization parameters include: signal strength, data packet continuity, and data packet reception interval, with at least one of the following preset conditions: The signal strength is below the signal strength threshold; The continuity of data packets is below the continuity threshold; The data packet reception interval is longer than the interval duration.

[0115] Optionally, the edge computing device is also used for: The communication parameters are acquired when communicating with the physiological data acquisition device, wherein the communication parameters include at least one of the following: signal strength, number of retransmissions of data packets, round-trip time of data packets, data transmission jitter, and link interference rate; Based on the communication parameters, it is determined whether the second communication quality of the physiological data acquisition device is lower than the second quality threshold. If so, a second mode switching instruction is sent to the physiological data acquisition device. The second mode switching instruction is used to instruct the physiological data acquisition device to switch the communication mode from the second communication mode to the first communication mode. Switch the communication mode from the second communication mode to the first communication mode.

[0116] In the case where the edge computing device is a physiological data acquisition device, the edge computing device is used for: The device receives a first mode switching instruction sent by a physiological data receiving device. The first mode switching instruction is sent by the physiological data receiving device when it determines that the first communication quality when communicating with the physiological data acquisition device through the first communication mode is lower than a first quality threshold, and the remaining power of the physiological data acquisition device is greater than the power threshold. In response to a first mode switching command, the communication mode is switched from a first communication mode to a second communication mode, wherein the power consumption of the first communication mode is less than the power consumption of the second communication mode. Physiological data is sent to the physiological data receiving device based on the second communication mode.

[0117] Optionally, the edge computing device is also used for: A mode switching response is sent to the physiological data receiving device, wherein the mode switching response indicates that the physiological data acquisition device responds to the first mode switching command and switches the communication mode from the first communication mode to the second communication mode.

[0118] Optionally, the edge computing device is also used for: In response to the first mode switching command, record the identifier of the first data packet currently being sent; Once a communication connection in the second communication mode is established with the physiological data receiving device, physiological data is sent starting from the second data packet based on the identifier of the first data packet. The second data packet is the next data packet after the first data packet.

[0119] Optionally, the edge computing device is also used for: After a preset duration has elapsed since the first communication quality is below the first quality threshold, if it is determined that the first mode switching instruction has not been received, the collected physiological data is buffered.

[0120] This disclosure also provides a computer-readable storage medium storing a program or instructions that, when executed by a processor, implement the physiological data transmission method provided in the above-described method embodiments. For example... Figure 2 or Figure 3 The method described is shown.

[0121] This disclosure also provides a computer program product that, when executed by a processor of a vehicle or a cloud server, implements the physiological data transmission method provided in the above-described method embodiments. For example, Figure 2 or Figure 3 The method described is shown.

[0122] The embodiments of this disclosure have now been described in detail. To avoid obscuring the concept of this disclosure, some details known in the art have not been described. Those skilled in the art can fully understand how to implement the technical solutions disclosed herein based on the above description.

[0123] While specific embodiments of this disclosure have been described in detail by way of examples, those skilled in the art should understand that the examples are for illustrative purposes only and not intended to limit the scope of this disclosure. Those skilled in the art should understand that modifications can be made to the above embodiments or equivalent substitutions can be made to some technical features without departing from the scope and spirit of this disclosure. In particular, as long as there is no structural conflict, the technical features mentioned in the various embodiments can be combined in any manner.

Claims

1. A method of transmitting physiological data, characterized by, The method is suitable for the physiological data receiving device, and the method comprises: acquiring a first communication quality when the physiological data receiving device communicates with the physiological data collecting device through a first communication mode; acquiring a remaining power of the physiological data collecting device; when it is determined that the first communication quality is lower than a first quality threshold and the remaining power is greater than a power threshold, sending a first mode switching instruction to the physiological data collecting device; wherein the first mode switching instruction is used to instruct the physiological data collecting device to switch the communication mode from the first communication mode to a second communication mode; the power consumption of the first communication mode is less than the power consumption of the second communication mode; receiving physiological data sent by the physiological data collecting device based on the second communication mode.

2. The method of claim 1, wherein, The method further comprises: when it is determined that a mode switching response sent by the physiological data collecting device is received, switching the communication mode from the first communication mode to the second communication mode.

3. The method of claim 2, wherein, The physiological data receiving device comprises a communication interface, a first communication module, and a second communication module, and the physiological data receiving device communicates with the physiological data collecting device through the first communication module or the second communication module; switching the communication mode from the first communication mode to the second communication mode comprises: resetting an interface pointer of the communication interface; creating an implementation object for the second communication module and making the interface pointer point to the implementation object; initializing the second communication module to switch the communication mode from the first communication mode to the second communication mode; wherein the first communication module communicates in the first communication mode, and the second communication module communicates in the second communication mode.

4. The method according to any one of claims 1 to 3, characterized in that, Before sending the first mode switching instruction to the physiological data collecting device, the method further comprises: when it is determined that a characteristic parameter of the first communication quality meets a preset condition, determining that the first communication quality is lower than the first quality threshold; wherein the characteristic parameter comprises signal strength, continuity of data packets, and receiving interval of data packets, and the preset condition is at least one of the following conditions: the signal strength is lower than a signal strength threshold; the continuity of data packets is lower than a continuity threshold; the receiving interval of data packets is greater than an interval duration.

5. The method according to any one of claims 1 to 3, characterized in that, After switching the communication mode from the first communication mode to the second communication mode, the method further comprises: acquiring a communication parameter when communicating with the physiological data collecting device, wherein the communication parameter comprises at least one of signal strength, retransmission number of data packets, round-trip delay of data packets, data transmission jitter, and link interference rate; based on the communication parameter, determining whether a second communication quality of the physiological data collecting device is lower than a second quality threshold, and if so, sending a second mode switching instruction to the physiological data collecting device, wherein the second mode switching instruction is used to instruct the physiological data collecting device to switch the communication mode from the second communication mode to the first communication mode; switching the communication mode from the second communication mode to the first communication mode.

6. A method of physiological data transmission, characterized by, The method is suitable for a physiological data collection device; the method comprises: receiving a first mode switching instruction sent by a physiological data receiving device, wherein the first mode switching instruction is sent by the physiological data receiving device when it is determined that a first communication quality between the physiological data collection device and the physiological data receiving device through a first communication mode is lower than a first quality threshold, and a remaining power of the physiological data collection device is greater than a power threshold; in response to the first mode switching instruction, switching a communication mode from the first communication mode to a second communication mode, wherein power consumption of the first communication mode is less than that of the second communication mode; sending physiological data to the physiological data receiving device based on the second communication mode.

7. The method of claim 6, wherein, After receiving the first mode switching instruction sent by the physiological data receiving device, the method further comprises: sending a mode switching response to the physiological data receiving device, wherein the mode switching response represents that the physiological data collection device switches the communication mode from the first communication mode to the second communication mode in response to the first mode switching instruction.

8. The method of claim 7, wherein, The method further comprises: in response to the first mode switching instruction, recording an identification of a first data packet currently sent; when it is determined that a communication connection in the second communication mode is established with the physiological data receiving device, sending physiological data starting from a second data packet based on the identification of the first data packet; wherein the second data packet is a next data packet of the first data packet.

9. The method according to any one of claims 6 to 8, characterized in that, The method further comprises: when it is determined that no first mode switching instruction is received after a duration in which the first communication quality is lower than the first quality threshold reaches a preset duration, buffering the collected physiological data.

10. An edge computing device, comprising: comprises: a first communication module, a second communication module, a processor and a memory, the memory stores programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement the method of any one of claims 1 to 5 or the method of any one of claims 6 to 9; wherein the first communication module and the second communication module adopt different communication modes.

11. A computer readable storage medium, characterized in that, The computer readable storage medium stores programs or instructions, and the programs or instructions are executed by the processor to implement the method of any one of claims 1 to 5 or the method of any one of claims 6 to 9.