Method for switching bluetooth slave device to bluetooth master device
By using the Bluetooth slave device in the extracorporeal membrane oxygenation system to detect RSSI values and process detection data, and only switching the Bluetooth host device when the detection device is removed, the problems of increased power consumption and misconnection in the existing technology are solved, and Bluetooth is realized The power consumption of slave devices is reduced and data accuracy is guaranteed.
Patent Information
- Application Number
- PCT/CN2024/078586
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-24
- Filing Date
- 2024-02-26
- Publication Date
- 2024-08-29
AI Technical Summary
Existing Technology In an extracorporeal membrane oxygenation system, when a Bluetooth slave device switches to a Bluetooth host device, power consumption will increase, and may cause misconnection, affecting the normal operation and data accuracy of the detection equipment.
The Bluetooth slave device detects the RSSI value of the currently connected Bluetooth host device and caches it to determine whether the location of the detection device has changed. It only performs a preset time broadcast when the detection device is removed. If it receives a signal from the second Bluetooth host device and the RSSI value If the value is greater than the threshold, the Bluetooth host device is switched, and the Dixon detection method and the mean filtering method are used to process outliers to ensure that misconnections are avoided during switching.
While ensuring the real-time upload of detection data, it reduces the power consumption of the Bluetooth slave device, reduces misconnections, and ensures that the detection device only switches the host when it is disassembled to avoid unnecessary increases in power consumption.
Smart Images

Figure CN2024078586_29082024_PF_FP_ABST
Abstract
Description
A method for switching a Bluetooth slave device to a Bluetooth host device Technical Field
[0001] The embodiments of the present invention relate to the technical field of extracorporeal blood circulation, and in particular to a method for switching a Bluetooth slave device to a Bluetooth host device. Background Art
[0002] There is only one Bluetooth host device in the extracorporeal membrane oxygenation system (ECMO), which is installed on the display panel side. It receives the detection data sent by each Bluetooth slave device and uploads it to the display panel for display. There may be multiple Bluetooth slave devices. The Bluetooth slave device is installed on the detection device side. The detection device can detect temperature, blood oxygen saturation, etc. The Bluetooth slave device collects the detection data of the detection device and sends it to the Bluetooth host device.
[0003] In hospital wards, multiple extracorporeal membrane oxygenation (ECMO) systems may be used simultaneously. Medical staff can remove the detection device from one ECMO system and install it in another. In this situation, the Bluetooth slave device on the detection device needs to switch its connection to the Bluetooth host device to the other ECMO system. Therefore, while collecting data from the detection device, the Bluetooth slave device also needs to be able to switch to the Bluetooth host device. However, ensuring that the Bluetooth slave device only switches to the Bluetooth host device when medical staff want to switch, preventing accidental connections during normal operation, and ensuring that the Bluetooth slave device does not consume significantly more power due to the added function, remains a challenge.
[0004] Patent No. CN105262512B provides a method for switching masters. This method uses real-time broadcasting from Bluetooth slave devices to detect the RSSI values corresponding to each Bluetooth master device and determine whether the RSSI difference between the Bluetooth master devices exceeds a preset RSSI difference threshold to determine whether to switch the Bluetooth master device. However, if this method for switching Bluetooth master devices is applied to an extracorporeal membrane oxygenation system, two problems arise. First, in order to instantly switch the Bluetooth master device, the Bluetooth slave device needs to broadcast in real time, which increases the power consumption of the Bluetooth slave device by approximately 20% during operation, thus reducing the operating time of the detection devices in the extracorporeal membrane oxygenation system. Second, the detection devices in the extracorporeal membrane oxygenation system are connected to the pipeline, which is movable. It is possible that the detection device in one extracorporeal membrane oxygenation system is closer to the detection device in another extracorporeal membrane oxygenation system. In this case, if the above-mentioned master switching method is used, a normally functioning detection device in one instrument may be connected to another extracorporeal membrane oxygenation system, resulting in data errors and even medical accidents.
[0005] To this end, in order to solve the technical problems existing in the prior art, an embodiment of the present application provides a method for switching a Bluetooth slave device to a Bluetooth host device. The Bluetooth slave device can have the function of switching the Bluetooth host device during normal operation, and is not prone to abnormal misconnection. The Bluetooth slave device can reduce the additional power consumption as much as possible while adding this function.
[0006] In a first aspect, an embodiment of the present application provides a method for switching a Bluetooth slave device to a Bluetooth master device. The method is applied to an extracorporeal membrane oxygenation system, wherein the extracorporeal membrane oxygenation system is provided with a first Bluetooth master device, a Bluetooth slave device, and a detection device that are communicatively connected to each other, the first Bluetooth master device being configured to receive detection data sent by each Bluetooth slave device, and the Bluetooth slave device being configured to obtain data detected by the detection device. The method includes:
[0007] The Bluetooth slave device detects and caches the RSSI value of the first Bluetooth master device currently connected;
[0008] The Bluetooth slave device determines whether the position of the detection device has changed according to the RSSI value;
[0009] Determining, by the Bluetooth slave device, whether the detection device is removed from the extracorporeal membrane oxygenation system;
[0010] When it is determined that the Bluetooth slave device is removed from the extracorporeal membrane oxygenation system, the Bluetooth slave device starts Bluetooth broadcasting for a preset time. If a signal from a second Bluetooth host device is received within the preset time period and the RSSI value of the second Bluetooth host device is greater than a preset switching threshold, the first Bluetooth host device connected to the Bluetooth slave device is switched to the second Bluetooth host device.
[0011] As a preferred embodiment of the present application, the Bluetooth slave device determines whether the detection device is removed from the extracorporeal membrane oxygenation system, including:
[0012] The Bluetooth slave device detects and caches the RSSI value of the first Bluetooth master device currently connected, and collects detection data of the detection device;
[0013] The Bluetooth slave device processes the RSSI value and the detection data of the detection device;
[0014] The Bluetooth slave device determines whether the detection data of the detection device is abnormal. If so, subtract the RSSI value obtained in the processed preset time period from the RSSI value obtained in the previous adjacent preset time period to obtain an absolute value of the difference, and determines whether the absolute value is greater than a preset movement threshold. If so, the Bluetooth slave device determines that the detection device has been removed from the extracorporeal membrane oxygenation system.
[0015] As a preferred embodiment of the present application, the Bluetooth slave device processes the RSSI value and the detection data of the detection device, including:
[0016] The Bluetooth slave device uses the Dixon detection method to test the cached RSSI values, removes abnormal values, and then uses the mean filtering method to average the remaining RSSI values;
[0017] The detection data collected by the detection equipment is processed using the smoothing filter method.
[0018] As a preferred embodiment of the present application, the method further includes:
[0019] After the Bluetooth slave device performs Bluetooth broadcasting for a preset time, if there is no signal from the second Bluetooth host device, the Bluetooth slave device stops broadcasting.
[0020] As a preferred embodiment of the present application, the RSSI value of the second Bluetooth host device is obtained by:
[0021] The Bluetooth slave device detects and caches the RSSI value of the second Bluetooth master device;
[0022] The Bluetooth slave device uses the Dixon detection method to test the cached RSSI values, removes abnormal values, and then uses the mean filtering method to average the remaining RSSI values;
[0023] As a preferred embodiment of the present application, the method further includes:
[0024] When the RSSI value of the second Bluetooth host device is less than a preset switching threshold, the Bluetooth slave device stops broadcasting.
[0025] As a preferred embodiment of the present application, after the Bluetooth slave device starts Bluetooth broadcasting for a preset time, the method includes:
[0026] The second Bluetooth host device starts Bluetooth broadcasting, and after scanning the Bluetooth broadcasting of the Bluetooth slave device, the second Bluetooth host device initiates a connection request with the Bluetooth slave device to switch the first Bluetooth host device to the second Bluetooth host device.
[0027] As a preferred embodiment of the present application, the detection device is selected from a temperature sensor, a blood oxygen saturation sensor or a bubble sensor.
[0028] As a preferred embodiment of the present application, the Bluetooth slave device determines whether the detection data of the detection device is abnormal, including:
[0029] The detection device is a temperature sensor, and if the detection data of the temperature sensor exceeds a preset threshold, it is determined that the temperature sensor is removed from the extracorporeal membrane oxygenation system;
[0030] The detection device is a blood oxygen saturation sensor or a bubble sensor. If the detection data is blank or abnormal, it is determined that the blood oxygen saturation sensor or the bubble sensor is removed from the extracorporeal membrane oxygenation system.
[0031] As a preferred embodiment of the present application, before switching the first Bluetooth host device connected to the Bluetooth slave device to the second Bluetooth host device, the method further includes:
[0032] The Bluetooth slave device switches the first Bluetooth host device connected to the Bluetooth slave device to the second Bluetooth host device only when it detects that the RSSI value of the second Bluetooth host device is greater than a preset switching threshold of -10 to -20 dBm.
[0033] Compared to the prior art, the present invention provides a method for switching a Bluetooth slave device to a Bluetooth master device. The method comprises: detecting and caching the RSSI value of a currently connected first Bluetooth master device; determining whether the detection device has changed location based on the RSSI value; and determining whether the detection device has been removed from the extracorporeal membrane oxygenation system. Upon determining that the Bluetooth slave device has been removed from the extracorporeal membrane oxygenation system, the Bluetooth slave device initiates a Bluetooth broadcast for a preset time. If a signal from a second Bluetooth master device is received within the preset time period and the RSSI value of the second Bluetooth master device is greater than a preset switching threshold, the first Bluetooth master device connected to the Bluetooth slave device is switched to the second Bluetooth master device. This method ensures that detection data from detection devices such as temperature and blood oxygen saturation are uploaded in real time while also providing the function of switching Bluetooth master devices. This method also minimizes the power consumption of the Bluetooth slave device during this process. Furthermore, this method only broadcasts when the detection device is detected to be removed, significantly reducing the power consumption of the Bluetooth slave device. Furthermore, the method ensures that the Bluetooth slave device only switches Bluetooth master devices when the second Bluetooth master device is sufficiently close, thus avoiding misconnections. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] To more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the embodiments or the description of the prior art. Obviously, the drawings described below are merely exemplary, and those skilled in the art can derive other implementation drawings based on the provided drawings without inventive effort.
[0035] The structures, proportions, sizes, etc. illustrated in this specification are intended only to complement the contents disclosed herein and to facilitate understanding and reading by persons familiar with the art. They are not intended to limit the conditions under which the present invention may be implemented and therefore have no substantive technical significance. Any structural modifications, changes in proportions, or adjustments in sizes, without affecting the efficacy and objectives of the present invention, shall still fall within the scope of the technical contents disclosed herein.
[0036] FIG1 is a schematic diagram of a process structure of a method for switching a Bluetooth slave device to a Bluetooth master device provided by an embodiment of the present application;
[0037] FIG2 is a schematic diagram of the flow structure of a method for switching a Bluetooth slave device to a Bluetooth master device provided by another embodiment of the present application;
[0038] FIG3 is a schematic diagram of the flow structure of a method for switching a Bluetooth slave device to a Bluetooth master device provided by another embodiment of the present application;
[0039] FIG4 is a reference diagram of a Bluetooth slave device starting to broadcast provided by an embodiment of the present application. DETAILED DESCRIPTION
[0040] The following describes the implementation of the present invention using specific embodiments. Those skilled in the art will readily understand the other advantages and benefits of the present invention from the disclosure herein. Obviously, the embodiments described are only a portion of the present invention, not all of it. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without inventive effort are intended to fall within the scope of protection of the present invention.
[0041] The embodiment of the present application provides a method for switching a Bluetooth slave device to a Bluetooth master device for application in an extracorporeal membrane oxygenation system. The method is applied to the extracorporeal membrane oxygenation system, wherein the extracorporeal membrane oxygenation system is provided with a first Bluetooth master device, a Bluetooth slave device, and a detection device that are communicatively connected to each other, wherein the first Bluetooth master device is used to receive detection data sent by each Bluetooth slave device, and the Bluetooth slave device is used to obtain data detected by the detection device. The embodiment of the present application is described below using the extracorporeal membrane oxygenation system in the extracorporeal membrane oxygenation system as an example. Specifically, the extracorporeal membrane oxygenation system includes an oxygenator, a blood pump, and a blood pump driver. The oxygenator functions as an artificial lung for oxygenating blood drawn outside the body before transporting it back into the body. The blood pump functions as an artificial heart for providing power to the blood drawn outside the body and then oxygenating it to the oxygenator. The pump driver is mainly used to provide power to the blood pump. The Bluetooth master device is mainly used to monitor the operation of the entire system.
[0042] As shown in FIG1 , an embodiment of the present application provides a method for switching a Bluetooth slave device to a Bluetooth master device, the method comprising:
[0043] Step S01, the Bluetooth slave device detects and caches the RSSI value of the first Bluetooth master device currently connected to it;
[0044] It should be noted that the RSSI value (Received Signal Strength Indicator) is an indication of the strength of the received signal. In this application, the RSSI value of the first Bluetooth host device is detected by a Bluetooth device or a Bluetooth detection chip in the Bluetooth slave device and cached in the Bluetooth slave device.
[0045] Step S02, the Bluetooth slave device determines whether the position of the detection device has changed according to the RSSI value;
[0046] It should be noted that whether the position of the detection device has changed is determined by determining whether the RSSI value has obvious changes, because when the position of the detection device changes, the RSSI value of the Bluetooth slave device will also change.
[0047] Step S03, the Bluetooth slave device determines whether the detection device is removed from the extracorporeal membrane oxygenation system;
[0048] It should be noted that, in step S02, it can be determined whether the position of the detection device has changed. If the position of the detection device has changed, it is also necessary to determine whether the detection device has been removed from the extracorporeal membrane oxygenation system, because a change in the position of the detection device does not necessarily mean that the detection device has been removed from the extracorporeal membrane oxygenation system. Only when the above-mentioned position of the detection device has changed and it has been removed from the extracorporeal membrane oxygenation system can the subsequent switching of the Bluetooth host device be performed.
[0049] Step S03 specifically includes:
[0050] The Bluetooth slave device detects and caches the RSSI value of the first Bluetooth master device currently connected, and collects detection data of the detection device;
[0051] The Bluetooth slave device processes the RSSI value and the detection data of the detection device;
[0052] As shown in FIG2 , the above steps specifically include: the Bluetooth slave device uses the Dixon detection method to test the cached RSSI values, removes abnormal values, and then uses the mean filtering method to average the remaining RSSI values;
[0053] The detection data collected by the detection equipment is processed using the smoothing filter method.
[0054] Specifically, the Dixon detection method and the mean filtering method are both existing technologies and will not be described in detail here.
[0055] The Bluetooth slave device determines whether the detection data of the detection device is abnormal. If so, subtract the RSSI value obtained within the processed preset time period from the RSSI value obtained within the previous adjacent preset time period to obtain an absolute value of the difference, and determines whether the absolute value is greater than a preset movement threshold. If so, the Bluetooth slave device determines that the detection device has been removed from the extracorporeal membrane oxygenation system.
[0056] In the embodiments of the present application, the detection device is selected from a temperature sensor, a blood oxygen saturation sensor, or an air bubble sensor, each of which is disposed at a different location within the extracorporeal membrane oxygenation system. The temperature sensor utilizes infrared light for detection, while the blood oxygen saturation sensor or air bubble sensor utilizes ultrasonic wave detection. All of these sensors are commercially available.
[0057] Specifically, the Bluetooth slave device determines whether the detection data of the detection device is abnormal, including:
[0058] The Bluetooth slave device determines whether the detection data of the detection device is abnormal, including:
[0059] The detection device is a temperature sensor, and if the detection data is blank or the same as the temperature in the environment, it is determined that the temperature sensor is removed from the extracorporeal membrane oxygenation system;
[0060] The detection device is a blood oxygen saturation sensor or a bubble sensor. If the detection data is blank or abnormal, it is determined that the blood oxygen saturation sensor or the bubble sensor is removed from the extracorporeal membrane oxygenation system.
[0061] When the temperature sensor is removed from the extracorporeal membrane oxygenation system, the detection data displayed by the temperature sensor is blank. After a period of time, the detection data of the temperature sensor exceeds a preset threshold, which may be 2 degrees, and then it is determined that the temperature sensor is removed from the extracorporeal membrane oxygenation system. It should be noted that since the blood oxygen saturation sensor or bubble sensor cannot test the blood oxygen saturation after being removed from the extracorporeal membrane oxygenation system, an abnormality will occur if the blood oxygen sensor or bubble sensor has no detection data.
[0062] Step S04: When it is determined that the Bluetooth slave device is removed from the extracorporeal membrane oxygenation system, the Bluetooth slave device starts a Bluetooth broadcast for a preset time. If a signal from a second Bluetooth host device is received within the preset time period and the RSSI value of the second Bluetooth host device is greater than a preset switching threshold, the first Bluetooth host device connected to the Bluetooth slave device is switched to the second Bluetooth host device.
[0063] The method further comprises:
[0064] After the Bluetooth slave device performs Bluetooth broadcasting for a preset time, if there is no signal from the second Bluetooth host device, the Bluetooth slave device stops broadcasting.
[0065] It should be noted that, as shown in FIG3 , when it is determined that the Bluetooth slave device is removed from the extracorporeal membrane oxygenation system, the Bluetooth slave device needs to connect to a new Bluetooth host device, so the Bluetooth slave device starts broadcasting. After the broadcasting is performed for a preset time, if there is no signal from the second Bluetooth host device within the set time, it means that there is no connectable host device within the preset range or the host is switched, the Bluetooth slave device stops broadcasting, which can save power consumption of the Bluetooth slave device.
[0066] Specifically, the RSSI value of the second Bluetooth host device is obtained in the following manner:
[0067] The Bluetooth slave device detects and caches the RSSI value of the second Bluetooth master device;
[0068] The Bluetooth slave device uses the Dixon detection method to test the cached RSSI values, removes abnormal values, and then uses the mean filtering method to average the remaining RSSI values;
[0069] That is, the RSSI value of the second Bluetooth host device is calculated in the same manner as the RSSI value of the first Bluetooth host device.
[0070] The method further comprises:
[0071] When the RSSI value of the second Bluetooth host device is less than a preset switching threshold, the Bluetooth slave device stops broadcasting.
[0072] It should be noted that if the RSSI value of the second Bluetooth host device is less than the preset switching threshold, it means that the strength of the signal received by the second Bluetooth host device is weakened, so it is not suitable for receiving the detection device sent by the Bluetooth slave device. In order to save the power consumption of the Bluetooth slave device, the Bluetooth slave device stops broadcasting.
[0073] The method further includes: before switching the first Bluetooth host device connected to the Bluetooth slave device to the second Bluetooth host device, the Bluetooth slave device needs to be close to the second Bluetooth host device to switch the first Bluetooth host device to the second Bluetooth host device. It should be noted that because Bluetooth is a short-range communication method, the Bluetooth slave device needs to be close to the second Bluetooth host device before the second host device can scan the Bluetooth broadcast of the Bluetooth slave device.
[0074] As an embodiment of the present application, before switching the first Bluetooth host device connected to the Bluetooth slave device to the second Bluetooth host device, the method further includes:
[0075] The Bluetooth slave device switches the first Bluetooth host device connected to the Bluetooth slave device to the second Bluetooth host device only when it detects that the filtered RSSI value of the second Bluetooth host device is greater than a preset switching threshold of -10 to -20 dBm.
[0076] The following describes the use of this application in detail through specific examples:
[0077] This embodiment is illustrated by taking two extracorporeal membrane oxygenation systems as an example, that is, the entire two ECMO instruments introduce the embodiments of the present application in detail. The Bluetooth host devices of the two ECMO instruments are respectively a first Bluetooth host device and a second Bluetooth host device. The Bluetooth slave device in one ECMO instrument is connected to the first Bluetooth host device and is working normally. The Bluetooth slave device reads the blood oxygen saturation data of the blood oxygen saturation sensor in the pipeline.
[0078] Case 1: The Bluetooth slave device does not switch to the Bluetooth host device
[0079] First, place the blood oxygen sensor connection pipe where the Bluetooth slave device is located randomly within the normal working range;
[0080] Subsequently, the Bluetooth slave device detects that the absolute value of the change in the RSSI value after filtering of the first Bluetooth host device is greater than the preset displacement threshold of 5dBm, and determines that the position has changed, but the Bluetooth slave device detects that the blood oxygen value has not changed much, so the Bluetooth slave device does not broadcast; at this time, the detection data of the blood oxygen saturation sensor is still uploaded to the display panel where the Bluetooth slave device is located. When the blood oxygen saturation sensor is working normally, no misconnection will occur.
[0081] In the second case, the Bluetooth slave device switches to the Bluetooth host device
[0082] First, remove the temperature sensor in the extracorporeal membrane oxygenation system where the Bluetooth slave device is located, and place the temperature sensor close to the location where the second Bluetooth master is installed;
[0083] Subsequently, the Bluetooth slave device detects that the target temperature is close to the ambient temperature, and the Bluetooth slave device detects that the absolute value of the change in the filtered RSSI value with the first Bluetooth host device is greater than the preset displacement threshold of 5dBm, then it is determined that the position of the temperature sensor has changed, and the Bluetooth slave device starts broadcasting and receives the signal of the second Bluetooth host device; when the Bluetooth slave device detects that the filtered RSSI value of the second Bluetooth host device is greater than the preset switching threshold of -15dBm, it disconnects from the first Bluetooth host device and connects to the second Bluetooth host device. At this time, the detection data of the temperature sensor begins to be uploaded to the display panel where the second host is located, and the temperature sensor is installed on the pipeline of the extracorporeal membrane oxygenation system where the second Bluetooth host device is located.
[0084] The present application provides a method for switching a Bluetooth slave device to a Bluetooth master device. The Bluetooth slave device detects the RSSI value of a currently connected first Bluetooth master device and performs filtering using a Dickson detection method and a mean filtering method. The method then determines whether the position of the detection device has changed by determining whether there is a significant change in the RSSI value. Furthermore, the method determines whether the detection device has been removed from the pipeline. When the Bluetooth slave device is deemed to have been removed from the pipeline, the Bluetooth slave device begins broadcasting for a period of time. If a signal from a second Bluetooth master device is received during this period, and the RSSI value of the second Bluetooth master after filtering is greater than a set switching threshold, the Bluetooth slave device disconnects from the first Bluetooth master device and connects to the second Bluetooth master device. This method ensures real-time upload of detection data such as temperature and blood oxygen saturation from detection devices while also providing a master switching function and minimizing the power consumption of the Bluetooth slave device during this process. Furthermore, this method only broadcasts when the detection device is detected to have been removed, significantly reducing the slave device's power consumption. Furthermore, the method ensures that the distance between the Bluetooth slave device and the second Bluetooth master device is sufficiently close before switching the first Bluetooth master device connected to the Bluetooth slave device to the second Bluetooth master device.
[0085] Although the present invention has been described in detail above using general descriptions and specific embodiments, it will be apparent to those skilled in the art that modifications and improvements may be made thereto. Therefore, such modifications and improvements, without departing from the spirit of the present invention, are intended to be within the scope of protection claimed herein.
Claims
1. A method for switching a Bluetooth slave device to a Bluetooth master device, characterized in that: The method is applied to an extracorporeal membrane oxygenation system, wherein the extracorporeal membrane oxygenation system is provided with a first Bluetooth host device, a Bluetooth slave device, and a detection device that are communicatively connected to each other, the first Bluetooth host device is used to receive detection data sent by each Bluetooth slave device, and the Bluetooth slave device is used to obtain data detected by the detection device. The method includes: The Bluetooth slave device detects and caches the RSSI value of the first Bluetooth master device currently connected; The Bluetooth slave device determines whether the position of the detection device has changed according to the RSSI value; Determining, by the Bluetooth slave device, whether the detection device is removed from the extracorporeal membrane oxygenation system; When it is determined that the Bluetooth slave device is removed from the extracorporeal membrane oxygenation system, the Bluetooth slave device starts Bluetooth broadcasting for a preset time. If a signal from a second Bluetooth host device is received within the preset time period and the RSSI value of the second Bluetooth host device is greater than a preset switching threshold, the first Bluetooth host device connected to the Bluetooth slave device is switched to the second Bluetooth host device.
2. A method for switching a Bluetooth slave device to a Bluetooth master device as claimed in claim 1, characterized in that: The Bluetooth slave device determines whether the detection device is removed from the extracorporeal membrane oxygenation system, including: The Bluetooth slave device detects and caches the RSSI value of the first Bluetooth master device currently connected, and collects detection data of the detection device; The Bluetooth slave device processes the RSSI value and the detection data of the detection device; The Bluetooth slave device determines whether the detection data of the detection device is abnormal. If so, subtract the RSSI value obtained in the processed preset time period from the RSSI value obtained in the previous adjacent preset time period to obtain an absolute value of the difference, and determines whether the absolute value is greater than a preset movement threshold. If so, the Bluetooth slave device determines that the detection device has been removed from the extracorporeal membrane oxygenation system.
3. A method for switching a Bluetooth slave device to a Bluetooth master device as claimed in claim 2, characterized in that: The Bluetooth slave device processes the RSSI value and the detection data of the detection device, including: The Bluetooth slave device uses the Dixon detection method to test the cached RSSI values, removes abnormal values, and then uses the mean filtering method to average the remaining RSSI values; The detection data collected by the detection equipment is processed using the smoothing filter method.
4. A method for switching a Bluetooth slave device to a Bluetooth master device as claimed in claim 1, characterized in that: The method further comprises: After the Bluetooth slave device performs Bluetooth broadcasting for a preset time, if there is no signal from the second Bluetooth host device, the Bluetooth slave device stops broadcasting.
5. A method for switching a Bluetooth slave device to a Bluetooth master device as claimed in claim 1, characterized in that: The RSSI value of the second Bluetooth host device is obtained by: The Bluetooth slave device detects and caches the RSSI value of the second Bluetooth master device; The Bluetooth slave device uses the Dixon detection method to check the buffered RSSI values, removes abnormal values, and then uses the mean filtering method to average the remaining RSSI values.
6. A method for switching a Bluetooth slave device to a Bluetooth master device as claimed in claim 1, characterized in that: The method further comprises: When the RSSI value of the second Bluetooth host device is less than a preset switching threshold, the Bluetooth slave device stops broadcasting.
7. A method for switching a Bluetooth slave device to a Bluetooth master device as claimed in claim 1, characterized in that: After the Bluetooth slave device starts to perform Bluetooth broadcasting for a preset time, the method includes: The second Bluetooth host device starts Bluetooth broadcasting, and after scanning the Bluetooth broadcasting of the Bluetooth slave device, the second Bluetooth host device initiates a connection request with the Bluetooth slave device to switch the first Bluetooth host device to the second Bluetooth host device.
8. A method for switching a Bluetooth slave device to a Bluetooth master device according to any one of claim 2, characterized in that: The detection device is selected from a temperature sensor, a blood oxygen saturation sensor or a bubble sensor.
9. The method for switching a Bluetooth slave device to a Bluetooth master device according to claim 8, wherein: The Bluetooth slave device determines whether the detection data of the detection device is abnormal, including: The detection device is a temperature sensor, and if the detection data of the temperature sensor exceeds a preset threshold, it is determined that the temperature sensor is removed from the extracorporeal membrane oxygenation system; The detection device is a blood oxygen saturation sensor or a bubble sensor. If the detection data is blank or abnormal, it is determined that the blood oxygen saturation sensor or the bubble sensor is removed from the extracorporeal membrane oxygenation system.
10. The method for switching a Bluetooth slave device to a Bluetooth host device according to claim 1, wherein: Before switching the first Bluetooth host device connected to the Bluetooth slave device to the second Bluetooth host device, the method further includes: The Bluetooth slave device switches the first Bluetooth host device connected to the Bluetooth slave device to the second Bluetooth host device only when it detects that the RSSI value of the second Bluetooth host device is greater than a preset switching threshold of -10 to -20 dBm.
Citation Information
Patent Citations
Method and device for host switching
CN105262512A
Pesticide filling machine, pesticide kits, pesticide filling system, and communication device and method
CN109606839A
Method for switching Bluetooth slave device to Bluetooth host device
CN115955710A
Apparatus and method for handoff in a wireless network
CN1559125A
Mode-switchable bluetooth device, bluetooth connection system, and bluetooth connection method
US20210345082A1
Cited By
Star flash and Bluetooth signal stability detection and improvement method and device
CN120034886A
