CN115633414A - Automatic Bluetooth connection method, device, equipment and storage medium for AED and communicator - Google Patents

Automatic Bluetooth connection method, device, equipment and storage medium for AED and communicator Download PDF

Info

Publication number
CN115633414A
CN115633414A CN202211648101.0A CN202211648101A CN115633414A CN 115633414 A CN115633414 A CN 115633414A CN 202211648101 A CN202211648101 A CN 202211648101A CN 115633414 A CN115633414 A CN 115633414A
Authority
CN
China
Prior art keywords
bluetooth
communicator
aed
connection
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211648101.0A
Other languages
Chinese (zh)
Other versions
CN115633414B (en
Inventor
任泓安
陈吴笋
梁胜锦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Weisi Medical Technology Co ltd
Original Assignee
Suzhou Weisi Medical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Weisi Medical Technology Co ltd filed Critical Suzhou Weisi Medical Technology Co ltd
Priority to CN202211648101.0A priority Critical patent/CN115633414B/en
Publication of CN115633414A publication Critical patent/CN115633414A/en
Application granted granted Critical
Publication of CN115633414B publication Critical patent/CN115633414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/38Applying electric currents by contact electrodes alternating or intermittent currents for producing shock effects
    • A61N1/39Heart defibrillators
    • A61N1/3904External heart defibrillators [EHD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention relates to the technical field of communication, and discloses a Bluetooth automatic connection method, a device, equipment and a storage medium of an AED and a communicator, wherein the method comprises the following steps: entering a wakeup state at preset communicator wakeup time to acquire a Bluetooth device list of the communicator; sending a bluetooth connection request to a target AED in the bluetooth device list; updating the communicator wakeup time by using the success time of the Bluetooth connection; uploading a self-checking result sent by the target AED based on Bluetooth connection to a cloud server, then entering a dormant state, and returning to the step of entering the awakening state at the preset communicator awakening time when the target AED is dormant to the updated communicator awakening time. Through selecting target AED from the bluetooth signal list and carrying out the bluetooth and connect, avoided AED and communicator's fixed bluetooth to match, flexibility when can improving AED bluetooth and connect.

Description

Automatic Bluetooth connection method, device, equipment and storage medium for AED and communicator
Technical Field
The invention relates to the technical field of communication, in particular to an automatic Bluetooth connection method, device, equipment and storage medium for an AED and a communicator.
Background
The automatic External Defibrillator is also called automatic External Defibrillator, called AED for short, and is portable medical equipment which can diagnose specific arrhythmia and give electric shock to defibrillation, and is medical equipment which can be used by non-professionals for rescuing patients with sudden cardiac death, when the patients are in sudden cardiac death, the defibrillation and cardiopulmonary resuscitation are carried out on the patients by using the AED only within 'gold 4 minutes' of the optimal rescue time, and the method for effectively preventing sudden death is the most effective method, and the AED is required to be connected with a special communicator every day, so that a self-checking report is sent to a cloud server by using the special communicator, and workers can conveniently judge the working state of the AED according to the self-checking report.
The automatic connection technology of bluetooth of current AED and communicator is mostly based on the connection mode that leaves factory one-to-one pairs, just will preset the communicator that corresponds with information such as the boot time of AED, bluetooth signal name before leaving factory promptly in the middle of, among the practical application, if AED equipment is changed, then need get into the factory again and set up the communicator that corresponds, limitation when probably leading to AED bluetooth to connect is great to flexibility when leading to carrying out AED bluetooth and connecting is lower.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for automatically connecting an AED (automatic external equipment) and a communicator by Bluetooth, and mainly aims to solve the problem of low flexibility in connection of the AED by Bluetooth.
The invention provides an automatic Bluetooth connection method of an AED and a communicator, which is applied to the communicator and comprises the steps of entering a wakeup state at preset communicator wakeup time and generating a Bluetooth equipment list according to a Bluetooth broadcast signal sent by the AED; sending a bluetooth connection request to a target AED in the bluetooth device list; when the Bluetooth connection is successful, the successful time of the Bluetooth connection is utilized to update the awakening time of the communicator; uploading a self-checking result sent by the target AED based on Bluetooth connection to a cloud server and then entering a dormant state; returning to the step of entering a wake-up state at the preset communicator wake-up time when the communicator is in a sleep state to the updated communicator wake-up time; when the Bluetooth connection fails, establishing the Bluetooth connection with the target AED through a target connection strategy; wherein the target connection policy comprises at least one of inquiry, polling, manual and infrared.
The invention provides a Bluetooth automatic connection method of an AED and a communicator, which is applied to the AED and comprises the steps of entering an awakening state at preset AED awakening time and sending a Bluetooth broadcast signal; establishing Bluetooth connection with the communicator according to a Bluetooth connection request sent by the communicator; when the Bluetooth connection is successful, performing equipment self-checking, sending a self-checking result to the communicator through the Bluetooth connection, and then entering a dormant state; when the AED is in a sleep time, returning to the step of entering a wake-up state at the preset AED wake-up time; when the Bluetooth connection fails, establishing Bluetooth connection with the communicator through a target connection strategy; wherein the target connection policy includes at least one of inquiry, polling, manual and infrared.
The invention also provides a Bluetooth automatic connecting device of the AED and the communicator, which is applied to the communicator and comprises a Bluetooth list module, a Bluetooth module and a Bluetooth module, wherein the Bluetooth list module is used for entering a wakeup state at the preset communicator wakeup time and generating a Bluetooth equipment list according to Bluetooth broadcast sent by the AED; a first connection module for sending a Bluetooth connection request to a target AED in a Bluetooth device list; the first success module is used for updating the communicator awakening time by utilizing the success time of the Bluetooth connection when the Bluetooth connection is successful; uploading a self-checking result sent by the target AED based on Bluetooth connection to a cloud server and then entering a dormant state; when the communication device is in a dormant state to the updated communication device awakening time, triggering the Bluetooth list module to re-execute the step of entering the awakening state at the preset communication device awakening time; a first failure module for establishing a Bluetooth connection with the target AED through a target connection policy when the Bluetooth connection fails; wherein the target connection policy includes at least one of inquiry, polling, manual and infrared.
The invention also provides a Bluetooth automatic connecting device of the AED and the communicator, which is applied to the AED and comprises an automatic awakening module, a Bluetooth broadcasting module and a Bluetooth module, wherein the automatic awakening module is used for entering an awakening state at the preset AED awakening time and sending a Bluetooth broadcast signal; the second connection module is used for carrying out Bluetooth connection with the communicator according to a Bluetooth connection request sent by the communicator; the second power module is used for performing self-checking on the equipment when the Bluetooth connection is successful, sending a self-checking result to the communicator through the Bluetooth connection and then entering a dormant state; when the AED is in dormancy to wake up time, triggering the automatic wake-up module to re-execute the step of entering the wake-up state at the preset AED wake-up time; the second failure module is used for establishing Bluetooth connection with the communicator through a target connection strategy when the Bluetooth connection fails; wherein the target connection policy comprises at least one of inquiry, polling, manual and infrared.
The invention also provides an electronic device comprising at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the above-described method of bluetooth automatic connection of an AED and a communicator.
The present invention also provides a computer-readable storage medium having at least one computer program stored therein, the at least one computer program being executed to implement the above-described method for bluetooth automatic connection of an AED and a communicator.
According to the embodiment of the invention, the communicator is awakened at the preset communicator awakening time by utilizing the communicator awakening module and the storage module, the time polling module can repeatedly try after the Bluetooth connection fails, the normal work of the communicator is ensured, the Bluetooth device list of the communicator is obtained through the communicator Bluetooth module and the AED Bluetooth module, the Bluetooth signals can be primarily screened, so that the Bluetooth signal list only containing the AED is obtained, the Bluetooth connection efficiency is improved, the AED with the best signal quality is selected through the Bluetooth device list to carry out the Bluetooth connection, the communicator is ensured to be connected with the AED device with the nearest distance, the stability of the Bluetooth connection is ensured, meanwhile, the free connection of the communicator and the AED device is realized, namely, the strict matching of the communicator and the AED is not required to be ensured, and the flexibility of the Bluetooth connection is improved.
The communicator and the AED can be ensured to be awakened at the same time by updating the awakening time of the communicator and the awakening time of the AED through the successful time of Bluetooth connection, so that the power consumption of the communicator is saved, the self-checking result of the AED after Bluetooth connection is obtained through the self-checking module and the information transmission module, and the daily self-checking of the AED can be realized. The communicator is dormant after the self-checking result is uploaded to the cloud server, so that the cloud server can be ensured to acquire the equipment condition of each AED grid, and the abnormal equipment can be conveniently positioned. Therefore, the automatic connection method, the device, the equipment and the storage medium for the Bluetooth of the AED and the communicator, which are provided by the invention, can improve the flexibility of the Bluetooth connection of the AED.
Drawings
Fig. 1 is a signaling diagram of a method for bluetooth automatic connection of an AED and a communicator in accordance with an embodiment of the present invention;
fig. 2 is a flowchart illustrating an AED and a bluetooth automatic connection method of a communicator according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an AED to which a bluetooth automatic connection method of an AED and a communicator according to an embodiment of the present invention is applied;
fig. 4 is a functional block diagram of an automatic bluetooth connection apparatus for an AED and a communicator, according to an embodiment of the present invention;
fig. 5 is a functional block diagram of an automatic bluetooth connection apparatus for an AED and a communicator according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In order to solve the problems that the awakening time is not matched with the approximate Bluetooth connection failure and the AED and the communicator are strictly matched in the automatic Bluetooth connection method of the AED and the communicator provided by the prior art, an embodiment of the invention provides a signal selection and time polling automatic Bluetooth connection method of the AED and the communicator.
Fig. 1 is a data interaction diagram of a bluetooth automatic connection method of an AED and a communicator according to an embodiment of the present invention.
Waking up the AED at a preset AED wake-up time, waking up the communicator at a preset communicator wake-up time, and sending a Bluetooth broadcast signal to the communicator by using the woken-up AED; the communicator generates a Bluetooth equipment list according to a Bluetooth broadcast signal sent by the AED, and selects a target AED to generate a Bluetooth connection request according to the Bluetooth equipment list; the AED carries out Bluetooth connection with the communicator according to a Bluetooth connection request sent by the communicator, and carries out equipment self-checking on the AED; the communicator updates the communicator awakening time by using the success time of the Bluetooth connection; the AED sends the self-checking result of the AED equipment to the communicator, and the AED is dormant; the communicator uploads a self-checking result sent by the AED after Bluetooth connection to a cloud server, and the communicator is dormant; when the Bluetooth connection fails, the AED establishes the Bluetooth connection with the communicator through the target connection strategy; the target connection strategy comprises at least one mode of inquiry, polling, manual operation and infrared operation; when the Bluetooth connection fails, the communicator establishes the Bluetooth connection with the AED through a target connection strategy; wherein the target connection policy includes at least one of inquiry, polling, manual and infrared.
Example one
Referring to fig. 2, a flowchart illustrating a method for bluetooth connection between an AED and a communicator when a wakeup time of the communicator coincides with a wakeup time of the AED is shown. In this embodiment, the method for automatically connecting an AED to a communicator via bluetooth is applied to a communicator, and includes:
and S21, entering a wakeup state at preset communicator wakeup time, and generating a Bluetooth equipment list according to a Bluetooth broadcast signal sent by the AED.
In the embodiment of the invention, the communicator wake-up time is preset time when the communicator leaves a factory, and can be each hour from 0 to 23.
In detail, when the communicator wakeup time is not preset, the communicator which can enter the wakeup state at the whole time between 0 and 23 is an AED communicator which is used for carrying out bluetooth communication with an AED and uploading the self-test result of the AED to a cloud server, wherein the time polling module of the communicator is used for entering the wakeup state communicator at the whole time between.
In the embodiment of the invention, the entering of the awakening state at the preset awakening time of the communicator comprises the following steps: acquiring preset communicator awakening time from a storage module; and the communicator awakening module is used for entering an awakening state at the awakening time of the communicator.
In detail, before the communicator enters the wake-up state, the communicator is in the dormant state; generating a Bluetooth device list according to a Bluetooth broadcast signal sent by the AED, comprising: searching all the surrounding Bluetooth broadcast signals by using a communicator Bluetooth module; generating a Bluetooth broadcast list by using the Bluetooth broadcast signal; and performing signal screening on the Bluetooth broadcast list to obtain a Bluetooth equipment list.
Specifically, the bluetooth broadcast list refers to a list of all searchable bluetooth devices, where the bluetooth devices include devices such as a mobile phone, an earphone, and an AED; the generation of the bluetooth broadcast list using all the bluetooth broadcast signals means that the names of the bluetooth broadcast signals and elements such as the bluetooth connection addresses are added to the bluetooth broadcast list one by one, and may be implemented by calling a bluetooth connection function using a system such as getbluetooth devices, cbperpheralmanage, and the like.
Specifically, the signal screening is performed on the bluetooth broadcast list to obtain a bluetooth device list, which includes: and screening out the Bluetooth broadcast signals of the preset type in the Bluetooth broadcast list, and collecting the screened out Bluetooth broadcast signals into a Bluetooth equipment list, wherein the Bluetooth broadcast signals of the preset type comprise at least one of the Bluetooth broadcast signals of which the Bluetooth names are AED serial numbers and the Bluetooth broadcast signals of which the Bluetooth names start with equipment information character strings.
In detail, the AED serial number can be a number type character such as PBXA220901001 or PBXA220901002, and the AED serial number is set in the production process, and is never changed once delivered from a factory, so that the AED serial number is used for distinguishing AED equipment and is convenient to manage.
Specifically, a bluetooth broadcast signal with a bluetooth name of AED serial number in a bluetooth broadcast list may be added to a bluetooth device list by using a regular expression or an indexing algorithm lookup language such as index, the bluetooth device list refers to a bluetooth device list only containing AED devices, and the device information string may be a string such as "PBX" or "MED", which is generally an abbreviation of a name of a manufacturer.
In the embodiment of the invention, the normal work of the communicator can be ensured by entering the awakening state at the preset communicator awakening time, the Bluetooth signal can be primarily screened by generating the Bluetooth equipment list according to the Bluetooth broadcast signal sent by the AED, so that the Bluetooth signal list only containing the AED is obtained, and the Bluetooth connection efficiency is improved.
And S22, sending a Bluetooth connection request to the target AEDs in the Bluetooth device list.
In an embodiment of the present invention, sending a bluetooth connection request to a target AED in a bluetooth device list includes: selecting Bluetooth broadcast signals in a Bluetooth device list one by one as target Bluetooth signals, and taking an AED (automatic program reader) corresponding to the target Bluetooth signals as a standard AED (automatic equipment reader); the communication test is carried out on the standard AED by utilizing the Bluetooth module of the communicator, and a standard spectrogram, communication time, communication delay and Bluetooth packet loss rate are obtained; and calculating the signal intensity of the standard AED according to the standard spectrogram, the communication time, the communication delay and the Bluetooth packet loss rate by using the following Bluetooth signal algorithm:
Figure 656414DEST_PATH_IMAGE001
wherein, H is signal intensity of standard AED, mu is preset power coefficient, d is communication delay, t is communication time length, l is packet loss ratio, m is total time length of standard spectrogram, i is ith time of standard spectrogram, c i Refers to the signal frequency at the i-th time in the standard spectrogram.
Next, the standard AED with the greatest signal strength is selected as the target AED, and a bluetooth connection request is sent to the target AED using the communicator bluetooth module.
In the embodiment of the invention, the signal strength of the target Bluetooth signal is calculated by utilizing the Bluetooth signal algorithm according to the communication time length, the communication delay, the packet loss rate and the target spectrogram, so that the signal response speed, the signal delay, the signal stability and the transmission safety of the target Bluetooth signal can be comprehensively evaluated, and the accuracy and the universality of the signal strength are ensured.
In detail, a system call bluetooth request send function such as bluetooth gattcallback and connectGatt may be used to send a connection request to the AED bluetooth module of the target AED using the communicator bluetooth module, wherein the bluetooth gattcallback method may return a bluetooth gatt object, responsible for bluetooth communications, providing a number of bluetooth communication interfaces.
In the embodiment of the invention, the connection request is generated according to the Bluetooth device list and is used for indicating the communicator to perform Bluetooth connection with the target AED, so that the stability of Bluetooth connection is ensured, meanwhile, the free connection between the communicator and the AED is realized, namely, the strict matching between the communicator and the AED is not required to be ensured, and the flexibility of Bluetooth connection is improved.
S23, judging whether the Bluetooth connection is successful; if so, executing S24, otherwise, executing S27.
And S24, updating the communicator awakening time by utilizing the success time of the Bluetooth connection.
In the embodiment of the invention, the success time refers to the time when the Bluetooth connection is successful, namely the time when the target AED is successfully connected with the communicator by Bluetooth, and the success time of the Bluetooth connection can be acquired by utilizing a crystal oscillator timer of the communicator.
In the embodiment of the invention, the updating of the communicator wakeup time by using the success time comprises the following steps: selecting the hour time closest to the success time as the target hour time; and replacing the communicator wake-up time in the storage module by the target hour time.
In the embodiment of the invention, the communicator awakening time is updated by utilizing the successful time of Bluetooth connection, so that the communicator and the AED can be ensured to be awakened at the same time every time, and the power consumption of the communicator is saved.
And S25, uploading a self-checking result sent by the target AED based on Bluetooth connection to a cloud server and then entering a dormant state.
S26, judging whether the communication device is dormant to the updated communication device awakening time; if so, the process returns to step S21, and if not, the process continues to step S26.
In detail, the cloud server is used for receiving self-checking results uploaded by all matched communicators and analyzing all the self-checking results, so that the working state of each AED is known, and the working stability of the AED is ensured.
S27, establishing Bluetooth connection with the target AED through a target connection strategy; wherein the target connection policy comprises at least one of inquiry, polling, manual and infrared.
In the embodiment of the present invention, when the target connection policy is inquiry, establishing bluetooth connection with the target AED through the target connection policy includes: sending a query request to a cloud server, and acquiring query feedback of the cloud server for the query request; extracting the AED wake-up time of the target AED from the inquiry feedback; updating the communicator awakening time by using the AED awakening time, then entering a dormant state, and judging whether the communicator is dormant to the updated communicator awakening time; if not, continuing to execute the step of judging whether the communicator is dormant to the updated communicator awakening time; if yes, returning to the step of entering the awakening state at the preset awakening time of the communicator.
In detail, when the target connection policy is inquiry, it is a scheme used in a case where a bluetooth connection fails and a timely connection is required, in which the cloud server stores AED wakeup times corresponding to a large number of AEDs.
In detail, when the target connection policy is polling, establishing a bluetooth connection with the target AED through the target connection policy includes: polling and updating the communicator awakening time, entering a dormant state, and judging whether the communicator is dormant to the updated communicator awakening time; if not, continuing to execute the step of judging whether the communicator is dormant to the updated communicator awakening time; if yes, returning to the step of entering the awakening state at the preset awakening time of the communicator.
In detail, the polling update of the communicator wakeup time refers to that the communicator wakeup time is added with a preset time interval by using the communicator polling module as a new communicator wakeup time, wherein the preset time interval can be one quarter of a clock, half of a hour or one hour.
In the embodiment of the invention, the time polling module can repeatedly try after the Bluetooth connection fails to ensure the normal work of the communicator, thereby solving the problem of connection failure when the wakeup time of the communicator is inconsistent with the wakeup time of the AED.
Specifically, when the target connection policy is infrared, establishing a bluetooth connection with the target AED through the target connection policy includes: entering a wake-up state according to infrared pulses of the target AED; generating a Bluetooth connection request according to a Bluetooth broadcast signal of the target AED; uploading a self-checking result sent by the target AED based on Bluetooth connection to a cloud server, then entering a dormant state, and judging whether an infrared pulse is received; if not, continuing to execute the step of judging whether the infrared pulse is received or not; and if so, returning to the step of entering the awakening state according to the infrared pulse of the target AED.
Referring to fig. 3, a flowchart of a method for automatically connecting an AED to a communicator via bluetooth is shown according to an embodiment of the present invention. In this embodiment, the method for automatically connecting the AED and the communicator by bluetooth is applied to the AED, and comprises the following steps:
and S31, entering a wake-up state at the preset AED wake-up time, and sending a Bluetooth broadcast signal.
In the embodiment of the present invention, the AED wakeup time is a time preset by the AED when it leaves the factory, and may be each hour between 0 and 6.
In the embodiment of the invention, the AED can be used for waking up the AED at the AED wake-up time, and the AED Bluetooth module can be used for sending Bluetooth broadcast signals.
And S32, performing Bluetooth connection with the communicator according to the Bluetooth connection request sent by the communicator.
In the embodiment of the invention, the establishing of the Bluetooth connection with the communicator according to the Bluetooth connection request sent by the communicator comprises the following steps: and the AED Bluetooth module is used for acquiring a Bluetooth connection request sent by the communicator, generating connection characteristics according to the connection request, and establishing Bluetooth connection with the communicator Bluetooth module of the communicator by using the connection characteristics.
S33, judging whether the Bluetooth connection is successful; if yes, go to step S34, otherwise go to step S36.
And S34, carrying out equipment self-checking, and sending a self-checking result to the communicator through Bluetooth connection and then entering a dormant state.
S35, judging whether the AED is in dormancy to the AED awakening time; if so, the process returns to step S31, and if not, the process continues to step S35.
In the embodiment of the invention, the AED can be subjected to equipment self-test by using the self-test module to obtain a self-test result, and the self-test result can be sent to the communicator by using the data transmission module.
According to the embodiment of the invention, the AED equipment can be self-checked every day by acquiring the self-checking result of the AED after Bluetooth connection, and the cloud server can be ensured to acquire the equipment condition of each AED grid by uploading the self-checking result to the cloud server and sleeping the communicator, so that the abnormal equipment can be conveniently positioned.
S36, establishing Bluetooth connection with the communicator through a target connection strategy; wherein the target connection policy comprises at least one of inquiry, polling, manual and infrared.
In the embodiment of the invention, when the target connection strategy is infrared, the establishing of the Bluetooth connection with the communicator through the target connection strategy comprises the following steps: sending infrared pulse to the communicator by using an infrared sending device; sending a Bluetooth broadcast signal, and establishing Bluetooth connection with the communicator according to a Bluetooth connection request sent by the communicator; carrying out equipment self-checking, sending a self-checking result to the communicator through Bluetooth connection, entering a dormant state, and judging whether the communicator is dormant to the AED (automatic Electron microscope) wake-up time; if not, continuing to execute the step of judging whether the AED is in the sleep time or not; if not, returning to the step of entering the awakening state at the preset AED awakening time.
In detail, the infrared transmitting device can be an HX-M704 infrared transmitter or an IF-2081 infrared transmitter, and no shielding object exists between the infrared transmitting device and an infrared sensor of the communicator, wherein the infrared sensor can be a si1143 infrared sensor.
According to the embodiment of the invention, the communicator is awakened at the preset communicator awakening time by utilizing the communicator awakening module and the storage module, the Bluetooth equipment list of the communicator is obtained by the communicator Bluetooth module and the AED Bluetooth module, and the Bluetooth signals can be primarily screened, so that the Bluetooth signal list only containing the AED is obtained, the Bluetooth connection efficiency is improved, the target AED is selected by the Bluetooth equipment list to be connected, the communicator can be ensured to be connected with the AED equipment closest to the target, the stability of Bluetooth connection is ensured, meanwhile, the free connection of the communicator and the AED equipment is realized, namely, the strict matching of the communicator and the AED is not required to be ensured, and the flexibility of Bluetooth connection is improved.
The communicator and the AED can be ensured to be awakened at the same time by updating the awakening time of the communicator and the awakening time of the AED through the successful time of Bluetooth connection, so that the power consumption of the communicator is saved, the self-checking result of the AED after Bluetooth connection is obtained through the self-checking module and the information transmission module, and the daily self-checking of the AED can be realized. Through carrying out dormancy to the communicator after uploading the self-checking result to the cloud ware, can ensure that the cloud ware obtains the equipment condition of every AED net, also made things convenient for the location to unusual equipment. Therefore, the automatic connection method of the AED and the communicator provided by the invention can improve the flexibility of the AED during Bluetooth connection.
Referring to fig. 4, there is shown a functional block diagram of an automatic bluetooth connection apparatus for an AED and a communicator according to an embodiment of the present invention.
The automatic bluetooth connection apparatus 400 of the AED and communicator of the present invention may be installed in an electronic device. Depending on the functionality implemented, the AED and communicator Bluetooth automatic connection apparatus 400 may include a Bluetooth List module 401, a first connection module 402, a first success module 403, and a first fail module 404. The modules of the invention, which may also be referred to as units, refer to a series of computer programs that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the Bluetooth list module 401 is configured to enter an awake state at a preset communicator awake time, and generate a Bluetooth device list according to a Bluetooth broadcast sent by the AED;
a first connection module 402 for sending a bluetooth connection request to a target AED in the bluetooth device list;
a first success module 403, configured to update the communicator wake-up time by using a success time of the bluetooth connection when the bluetooth connection is successful; uploading a self-checking result sent by the target AED based on Bluetooth connection to a cloud server and then entering a dormant state; when the communication device is in a sleep state to the updated communication device wake-up time, triggering the Bluetooth list module 401 to re-execute the function of entering the wake-up state at the preset communication device wake-up time;
a first failure module to establish a Bluetooth connection with the target AED through a target connection policy when the Bluetooth connection fails; wherein the target connection policy comprises at least one of inquiry, polling, manual and infrared.
In detail, when the embodiment of the present invention is applied to a communicator, each module in the automatic bluetooth connection apparatus 400 for an AED and a communicator adopts the same technical means as the automatic bluetooth connection method for the AED and the communicator in the drawings, and can produce the same technical effect, and the details are not repeated herein.
Referring to fig. 5, there is provided a functional block diagram of a bluetooth automatic connection apparatus of an AED and a communicator according to an embodiment of the present invention.
The automatic bluetooth connection apparatus 500 of the AED and communicator of the present invention may be installed in an electronic device. Depending on the functionality implemented, the AED and communicator bluetooth automatic connect 500 may include an automatic wake-up module 501, a second connect module 502, a second power module 503, and a second fail module 504. The module of the invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
an automatic wake-up module 501, configured to enter a wake-up state at a preset AED wake-up time and send a bluetooth broadcast signal;
the second connection module 502 is used for performing bluetooth connection with the communicator according to a bluetooth connection request sent by the communicator;
the second power module 503 is configured to perform device self-inspection when the bluetooth connection is successful, send a self-inspection result to the communicator through the bluetooth connection, and then enter a sleep state; when the AED is in sleep for the wake-up time, the automatic wake-up module 501 is triggered to re-execute the function of entering the wake-up state at the preset AED wake-up time;
the second failure module is used for establishing Bluetooth connection with the communicator through a target connection strategy when the Bluetooth connection fails; wherein the target connection policy includes at least one of inquiry, polling, manual and infrared.
In detail, when the embodiment of the present invention is applied to an AED, each module in the automatic bluetooth connection apparatus 500 of an AED and a communicator adopts the same technical means as the automatic bluetooth connection method of the AED and the communicator in the drawings, and can produce the same technical effects, and the detailed description thereof is omitted.
The present invention also provides an electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the above-described method of bluetooth automatic connection of an AED and a communicator.
The present invention also provides a storage medium readable by a user, the storage medium storing a computer program which, when executed by a processor of a system, can implement the method for bluetooth automatic connection of an AED and a communicator according to one or more embodiments provided herein.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only intended to illustrate the technical solutions of the present invention and not to limit the same, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (15)

1. A Bluetooth automatic connection method of an AED and a communicator, which is applied to the communicator, is characterized in that the method comprises the following steps:
entering a wakeup state at preset communicator wakeup time, and generating a Bluetooth equipment list according to a Bluetooth broadcast signal sent by the AED;
sending a Bluetooth connection request to a target AED in the Bluetooth device list;
when the Bluetooth connection is successful, updating the communicator awakening time by using the successful time of the Bluetooth connection;
uploading a self-checking result sent by the target AED based on Bluetooth connection to a cloud server and then entering a dormant state;
when the communicator is in a dormant state to the updated communicator awakening time, returning to the step of entering the awakening state at the preset communicator awakening time;
when a Bluetooth connection fails, establishing a Bluetooth connection with the target AED through a target connection policy; wherein the target connection policy comprises at least one of inquiry, polling, manual and infrared.
2. The method of claim 1, wherein the entering of the wake-up state at the predetermined communicator wake-up time comprises:
acquiring preset communicator awakening time from a storage module;
and the communicator awakening module is utilized to enter an awakening state when the communicator awakens time.
3. The method of claim 1, wherein the generating a bluetooth device list based on a bluetooth broadcast signal transmitted from the AED comprises:
searching all the surrounding Bluetooth broadcast signals by using a communicator Bluetooth module;
generating a Bluetooth broadcast list by using the Bluetooth broadcast signal;
and performing signal screening on the Bluetooth broadcast list to obtain a Bluetooth equipment list.
4. The method of claim 3 wherein the signal filtering the bluetooth broadcast list to obtain a bluetooth device list comprises:
and screening out the Bluetooth broadcast signals of the preset type in the Bluetooth broadcast list, and collecting the screened out Bluetooth broadcast signals into a Bluetooth equipment list, wherein the Bluetooth broadcast signals of the preset type comprise at least one of the Bluetooth broadcast signals of which the Bluetooth names are AED serial numbers and the Bluetooth broadcast signals of which the Bluetooth names start with equipment information character strings.
5. The method of claim 3 wherein the sending a bluetooth connection request to a target AED in the bluetooth device list comprises:
selecting Bluetooth broadcast signals in the Bluetooth device list one by one as target Bluetooth signals, and taking an AED (automatic program reader) corresponding to the target Bluetooth signals as a standard AED (automatic equipment reader);
performing communication test on the standard AED by using a communicator Bluetooth module to obtain a standard spectrogram, communication time, communication delay and Bluetooth packet loss rate;
calculating the signal strength of the standard AED according to the standard spectrogram, the communication time, the communication delay and the Bluetooth packet loss ratio by using the following Bluetooth signal algorithm:
Figure 22863DEST_PATH_IMAGE001
wherein H is a signal strength of the standard AED, μ is a preset power coefficient, d is the communication delay, t is the communication duration, l is the packet loss ratio, m is a total duration of the standard spectrogram, i is an ith time of the standard spectrogram, c i The signal frequency at the ith moment in the standard spectrogram is referred to as the reference frequency spectrum;
and selecting the standard AED corresponding to the maximum signal intensity as a target AED, and sending a Bluetooth connection request to the target AED by utilizing the communicator Bluetooth module.
6. The method of claim 1 wherein the updating the communicator wakeup time with a success time for a bluetooth connection comprises:
selecting the hour time nearest to the success time of the Bluetooth connection as a target hour time;
and replacing the communicator awakening time in the storage module by using the target integral point time.
7. The method of claim 1 wherein the establishing a bluetooth connection with the target AED via a target connection policy when the target connection policy is inquiry comprises:
sending a query request to the cloud server, and acquiring query feedback of the cloud server for the query request;
extracting an AED wake-up time of the target AED from the query feedback;
updating the communicator awakening time by utilizing the AED awakening time and then entering a dormant state;
and returning to the step of entering the awakening state at the preset communicator awakening time when the communicator is in the dormant state to the updated communicator awakening time.
8. The method of claim 1 wherein the establishing a bluetooth connection with the target AED via a target connection policy when the target connection policy is polling comprises:
polling and updating the communicator awakening time and then entering a dormant state;
and returning to the step of entering the awakening state at the preset communicator awakening time when the communicator is in the dormant state to the updated communicator awakening time.
9. The method of claim 1 wherein the establishing a bluetooth connection with the target AED via a target connection policy when the target connection policy is infrared comprises:
entering a wake-up state based on infrared pulses of the target AED;
generating a Bluetooth connection request according to a Bluetooth broadcast signal of the target AED;
uploading a self-checking result sent by the target AED based on the Bluetooth connection to the cloud server and then entering a dormant state;
and returning to the step of entering a wake-up state according to the infrared pulse of the target AED when the infrared pulse is received.
10. A method for bluetooth automatic connection of an AED and a communicator, the method comprising, for use with the AED:
the method comprises the steps of entering a wake-up state at preset AED (automatic guided equipment) wake-up time and sending a Bluetooth broadcast signal;
performing Bluetooth connection with the communicator according to a Bluetooth connection request sent by the communicator;
when the Bluetooth connection is successful, carrying out equipment self-check, sending a self-check result to the communicator through the Bluetooth connection, and then entering a dormant state;
when the AED is in a sleep state for the awakening time, returning to the step of entering the awakening state at the preset AED awakening time;
when the Bluetooth connection fails, establishing the Bluetooth connection with the communicator through a target connection strategy; wherein the target connection policy comprises at least one of inquiry, polling, manual and infrared.
11. The method of claim 10 wherein the establishing a bluetooth connection with the communicator via a target connection policy when the target connection policy is infrared comprises:
transmitting infrared pulses to the communicator by using an infrared transmitting device;
sending a Bluetooth broadcast signal, and establishing Bluetooth connection with the communicator according to a Bluetooth connection request sent by the communicator;
carrying out equipment self-checking, sending a self-checking result to the communicator through Bluetooth connection, and then entering a dormant state;
and when the AED sleeps to the AED awakening time, returning to the step of entering the awakening state at the preset AED awakening time.
12. An automatic bluetooth connection device for an AED and a communicator, which is applied to the communicator, comprising:
the Bluetooth list module is used for entering a wakeup state at preset communicator wakeup time and generating a Bluetooth equipment list according to Bluetooth broadcast sent by the AED;
a first connection module for sending a Bluetooth connection request to a target AED in the Bluetooth device list;
the first success module is used for updating the communicator awakening time by utilizing the Bluetooth connection success time when the Bluetooth connection is successful, uploading a self-checking result sent by the target AED based on the Bluetooth connection to a cloud server, and then entering a dormant state; when the communicator is in a dormant state to the updated communicator awakening time, triggering a Bluetooth list module to re-execute the function of entering an awakening state at the preset communicator awakening time;
a first failure module to establish a Bluetooth connection with the target AED via a target connection policy when the Bluetooth connection fails; wherein the target connection policy comprises at least one of inquiry, polling, manual and infrared.
13. An automatic bluetooth connection device for an AED and a communicator, applied to the AED, comprising:
the automatic wake-up module is used for entering a wake-up state at preset AED wake-up time and sending a Bluetooth broadcast signal;
the second connection module is used for carrying out Bluetooth connection with the communicator according to a Bluetooth connection request sent by the communicator;
the second power module is used for performing self-checking on the equipment when the Bluetooth connection is successful, sending a self-checking result to the communicator through the Bluetooth connection and then entering a dormant state; when the AED is in dormancy to wake up time, triggering an automatic wake-up module to re-execute the function of entering a wake-up state at the preset AED wake-up time;
the second failure module is used for establishing Bluetooth connection with the communicator through a target connection strategy when the Bluetooth connection fails; wherein the target connection policy comprises at least one of inquiry, polling, manual and infrared.
14. An electronic device, characterized in that the electronic device comprises:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the processor is to execute a first computer program or a second computer program stored on the memory;
the processor when executing the first computer program realizes the steps of the method of any of claims 1 to 9, and the processor when executing the second computer program realizes the steps of the method of claim 10 or 11.
15. A computer-readable storage medium, on which a first computer program or a second computer program is stored, which first computer program, when being executed by a processor, carries out the steps of the method of one of the claims 1 to 9, and which second computer program, when being executed by a processor, carries out the steps of the method of claim 10 or 11.
CN202211648101.0A 2022-12-21 2022-12-21 Bluetooth automatic connection method, device, equipment and storage medium for AED and communicator Active CN115633414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211648101.0A CN115633414B (en) 2022-12-21 2022-12-21 Bluetooth automatic connection method, device, equipment and storage medium for AED and communicator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211648101.0A CN115633414B (en) 2022-12-21 2022-12-21 Bluetooth automatic connection method, device, equipment and storage medium for AED and communicator

Publications (2)

Publication Number Publication Date
CN115633414A true CN115633414A (en) 2023-01-20
CN115633414B CN115633414B (en) 2023-04-28

Family

ID=84909625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211648101.0A Active CN115633414B (en) 2022-12-21 2022-12-21 Bluetooth automatic connection method, device, equipment and storage medium for AED and communicator

Country Status (1)

Country Link
CN (1) CN115633414B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103690159A (en) * 2013-12-26 2014-04-02 上海交通大学 Portable cardiogram monitor
CN105915250A (en) * 2016-05-31 2016-08-31 青岛海信移动通信技术股份有限公司 Method, device and system for wearable device to synchronize with information in mobile terminal
CN106108886A (en) * 2016-06-21 2016-11-16 中国科学院深圳先进技术研究院 Electrocardiogram acquisition and the system of analysis
CN106730352A (en) * 2016-12-16 2017-05-31 辽宁工业大学 A kind of portable heart defibrillator and ecg signal acquiring method based on bluetooth
CN112583939A (en) * 2021-01-05 2021-03-30 北京麦邦光电仪器有限公司 Remote maintenance method and remote maintenance device for defibrillator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103690159A (en) * 2013-12-26 2014-04-02 上海交通大学 Portable cardiogram monitor
CN105915250A (en) * 2016-05-31 2016-08-31 青岛海信移动通信技术股份有限公司 Method, device and system for wearable device to synchronize with information in mobile terminal
CN106108886A (en) * 2016-06-21 2016-11-16 中国科学院深圳先进技术研究院 Electrocardiogram acquisition and the system of analysis
CN106730352A (en) * 2016-12-16 2017-05-31 辽宁工业大学 A kind of portable heart defibrillator and ecg signal acquiring method based on bluetooth
CN112583939A (en) * 2021-01-05 2021-03-30 北京麦邦光电仪器有限公司 Remote maintenance method and remote maintenance device for defibrillator

Also Published As

Publication number Publication date
CN115633414B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
US7237712B2 (en) Implantable device and communication integrated circuit implementable therein
CN111558120B (en) Sleep wake-up method, device, computer equipment and computer readable storage medium
USRE42934E1 (en) World wide patient location and data telemetry system for implantable medical devices
DE69627900T2 (en) WORLDWIDE PATIENT LOCATION AND DATA TELEMETRY SYSTEM FOR IMPLANTABLE MEDICAL DEVICES
CN104822174B (en) A kind of communication pattern method of adjustment
CN103150017B (en) Based on the brain-computer interface means of communication of space, time and frequency combined coding
CN101048195A (en) Method and apparatus for providing safe long-range telemetry with implantable medical devices
CN105116345B (en) The power testing system and method for implantable nerve stimulating apparatus
CN108464823A (en) A kind of laolaohengyan system based on intelligent wristwatch
CN101234227A (en) Implantation type wireless limbs sport control nerve stimulation network system and control method
CN107911139A (en) The wireless telecommunication system and method for a kind of implantable medical devices
US20220225879A1 (en) System and method for managing bluetooth low energy advertising
CN109429313B (en) Information interaction method, functional equipment, terminal, server and storage medium
CN112235742A (en) Gas meter with NB-IoT communication module embedded with program and data processing method
CN104461233A (en) Method and mobile terminal for displaying applications through widget
CN115633414A (en) Automatic Bluetooth connection method, device, equipment and storage medium for AED and communicator
CN109166617B (en) Defibrillation equipment management system, method and device
CN110860041B (en) Active awakening device and method for defibrillator
CN205041399U (en) Intelligent electrocardiogram monitoring system
CN102118739A (en) MTC (machine type communication) device and method and system for updating report cycle of MTC device
CN114035477A (en) Equipment awakening method, device and system
CN111494802A (en) Defibrillator, server, method for managing defibrillator, and related computer product
Capuzzo et al. An ns-3 implementation of a battery-less node for energy-harvesting internet of things
CN110569141B (en) Control method for realizing ultralow power consumption based on watchdog reset and heartbeat circuit
CN114009066A (en) Defibrillator and management server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant