CN110535953A - A kind of intelligent medical treatment breathing equipment monitoring system based on MQTT agreement - Google Patents
A kind of intelligent medical treatment breathing equipment monitoring system based on MQTT agreement Download PDFInfo
- Publication number
- CN110535953A CN110535953A CN201910819900.1A CN201910819900A CN110535953A CN 110535953 A CN110535953 A CN 110535953A CN 201910819900 A CN201910819900 A CN 201910819900A CN 110535953 A CN110535953 A CN 110535953A
- Authority
- CN
- China
- Prior art keywords
- breathing equipment
- mqtt
- oxygen
- data
- control node
- 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.)
- Pending
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
- A61M16/00—Devices for influencing the respiratory system of patients by gas treatment, e.g. mouth-to-mouth respiration; Tracheal tubes
- A61M16/0003—Accessories therefor, e.g. sensors, vibrators, negative pressure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
- H04L43/045—Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
- A61M2205/00—General characteristics of the apparatus
- A61M2205/35—Communication
- A61M2205/3576—Communication with non implanted data transmission devices, e.g. using external transmitter or receiver
- A61M2205/3584—Communication with non implanted data transmission devices, e.g. using external transmitter or receiver using modem, internet or bluetooth
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Power Engineering (AREA)
- Emergency Medicine (AREA)
- Pulmonology (AREA)
- Anesthesiology (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Hematology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Medical Informatics (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The present invention discloses the intelligent medical treatment breathing equipment monitoring system based on MQTT agreement, the system includes: breathing equipment control node, for controlling breathing equipment switch and switching oxygen cylinder, the real-time oxygen flow data of monitoring and sending the MQTT data packet comprising breathing equipment flow, breathing equipment pressure information and the address breathing equipment control node IPv6;MQTT proxy server for connecting each breathing equipment control node, and saves the MQTT packet content that each breathing equipment control node is sent;Database Systems, for receiving and saving the address IPv6 of breathing equipment information and breathing equipment control node;Client obtains all breathing equipment status informations by access MQTT proxy server and Database Systems.The utility model has the advantages that the system significantly reduces network load, client realizes comprehensive journal function and alarm function, greatly increases the safety index of patient, reduces doctor-patient dispute, and Economy type medicine cost improves the modernization level of management gas.
Description
Technical field
The present invention relates to field of intelligent control more particularly to a kind of intelligent medical treatment breathing equipment monitoring based on MQTT agreement
System.
Background technique
In recent years, higher and higher with hospital modernization degree, medical gas for Case treatment, diagnosis, prevention or
The single or blending constituent gas of Surigical tool is driven, it is indispensable that medical oxygen detecting and controlling system has become hospital
A part.However, the monitoring system in existing medical institutions for medical gas also rests on non intelligent stage, dependency number
According to acquisition still need artificial time sight, it is not only time-consuming and laborious in this way, but also once going wrong can not be timely
It was found that having biggish security risk with solving.
In internet of things field, since link is unstable, packet loss is higher, network delay is higher, application is not all adopted mostly
With based on the network protocol being reliably connected, and in medical monitoring field, to network stabilization, data reliability is more demanding, right
Stability, the reliability of sensor network propose challenge, while according to based on the conventional network protocol being reliably connected, such as
TCP, then will lead to sensor network nodes load it is higher, resource consumption is big, improve system overall cost, therefore the present invention use
Application layer transmission is carried out based on MQTT agreement.
In terms of wireless communication, internet of things field most variations are counted using bluetooth, WiFi and ZigBee at present
According to transmission.Bluetooth can realize that the short-range data between fixed equipment, mobile device and building personal area network exchanges, and bluetooth master sets
It is standby at most can be with seven device talks in a piconet, Bluetooth communication effective distance is shorter.The transmission range of WiFi is reachable
100 meters, but the power consumption of WiFi is larger, calorific value is serious and long-play is unstable.ZigBee is most popular now
Low cost, low-consumption wireless Mesh network standard, but the bridge joint between ZigBee-network and non-ZigBee-network needs very
Complicated application layer gateway.
Due in medical oxygen equipment monitoring system, needing detailed journal function, owner every operation is recorded
Time, action type, user name and IP address, in existing IPv4 network, the IP address of every client is internal address,
Because of the changeability of internal address, record internal address is not significant, when unexpected dispute occurs, is difficult to find operation error people
Member.And since the address IPv4 is limited, greatly limit equipment in network quantity.And with the hair of IPv6 the relevant technologies and standard
Exhibition, in existing mobile network, IPv6 network is entered commercial stage by major operator, since IPv6 address space is big,
Safety is higher, it is no longer necessary to dispose Intranet and penetrate, so that it may realize the address IPv6 of each equipment for global unique ip address.
Summary of the invention
Present invention aims to overcome that above-mentioned the deficiencies in the prior art, propose a kind of intelligent medical treatment based on MQTT agreement
Breathing equipment monitoring system, the system deployment is under pure IPv6 network environment, each breathing equipment control node existence anduniquess
The address IPv6, the address each client ip v6 be it is globally unique, ensure that the safety and reliability of the system significantly,
Specifically it is realized by the following technical scheme:
Intelligent medical treatment breathing equipment monitoring system based on MQTT agreement, the system comprises:
Breathing equipment control node is deployed in 6LoPWAN network, and each breathing equipment control node is owned by uniquely
The address IPv6, for controlling breathing equipment switch and switching oxygen cylinder, the real-time oxygen flow data of monitoring and sending MQTT number
It include the address IPv6, the breathing equipment switch state, breathing equipment stream of the breathing equipment control node according to packet, in MQTT data packet
Amount and pressure data;
MQTT proxy server is deployed in IPv6 network environment, for connecting each breathing equipment control node, and
Save the MQTT packet content that each breathing equipment control node is sent, the IPv6 including each breathing equipment control node
Location, the equipment for being transmitted to client or other application access resources;
Database Systems are deployed in IPv6 network environment, for receiving and saving oxygen described in MQTT proxy server
The historical record for analyzing and client is transferred is established in the address IPv6 of gas facility information and breathing equipment control node;Visitor
Family end obtains all breathing equipment status informations by access MQTT proxy server and Database Systems.
The further design of the intelligent medical treatment breathing equipment monitoring system based on MQTT agreement is that the oxygen is set
Include: for control node
Oxygen pressure information acquisition module, for acquiring the real-time oxygen pressure of breathing equipment pipeline;
Oxygen flow information acquisition module, for acquiring the real-time oxygen flow of breathing equipment pipeline;
Oxygen information data processing module, for obtaining unique address IPv6, the processing oxygen of the breathing equipment control node
Gas facility information data, including oxygen pressure information gathering data, oxygen flow information gathering data, by breathing equipment Information Number
According to being packaged into MQTT data packet;
Radio-frequency module sends the MQTT data packet being packaged in oxygen information data processing module by 6LoPWAN network
To MQTT proxy server;
Breathing equipment control module, for controlling breathing equipment switch and switching breathing equipment.
The intelligent medical treatment breathing equipment monitoring system based on MQTT agreement it is further design be, the oxygen pressure
Using diffusion silicon pressure transmitter, the diffusion silicon pressure transmitter is placed in often pressure sensor in strong information acquisition module
In breathing equipment transmission line, potential circuit is turned by electric current and is connect with oxygen information data processing module, by oxygen flow
Data are with 0~40mA of size of current output, then current value is turned potential circuit by electric current and switchs to voltage value, finally by output
Voltage analog signal is converted to digital signal by ADC to obtain oxygen flow data.
The intelligent medical treatment breathing equipment monitoring system based on MQTT agreement it is further design be, the oxygen stream
Information acquisition module is measured using the oxygen stream magnitude of gas flow meter acquisition extension equipment pipe, the oxygen flow information collection
Module is placed in every oxygen transmission route, is connect by RS485 interface circuit with gas flow meter, RS485 interface circuit
It is communicated to connect by the serial port circuit that RS485 turns serial ports and oxygen information data processing module.
The intelligent medical treatment breathing equipment monitoring system based on MQTT agreement it is further design be, oxygen Information Number
It include low power processor, memory, USB interface, power supply module, indicator light, crystal oscillator unit, antenna according to processing module, it is described
Low power processor is communicated to connect with memory, USB interface, power supply module, indicator light, crystal oscillator unit and memory respectively,
The radio frequency chip is connect with power supply module, crystal oscillator module, antenna communication and crystal oscillator unit respectively.
The further design of the intelligent medical treatment breathing equipment monitoring system based on MQTT agreement is that the oxygen is believed
It ceases data processing module and the MQTT data packet is sent with JSON format, which includes but is not limited to oxygen
The address IPv6 of equipment control node, oxygen flow information acquisition module data, oxygen pressure information acquisition module data, the oxygen
The strong information acquisition module user name of air pressure and connection password parse convenient for MQTT proxy server.
The further design of the intelligent medical treatment breathing equipment monitoring system based on MQTT agreement is that MQTT agency takes
Business device is deployed in the linux system under pure IPv6 network environment, and MQTT proxy server receives breathing equipment control node
MQTT data packet improves security of system according to IPv6 Address Recognition breathing equipment control node position.And pass through subscription
Script is connect with Database Systems, for saving the historical data of breathing equipment control node.
The intelligent medical treatment breathing equipment monitoring system based on MQTT agreement it is further design be, the subscription foot
This is compiled using C code, for the data connection of MQTT proxy server and Database Systems, is subscribed to script parsing and is received often
When one MQTT data packet, after the parsing of JSON format, according to the address IPv6 and user name and password in MQTT data packet, sentence
Whether disconnected is valid data, and message content is then saved if valid data into Database Systems, is otherwise given a warning, and is had illegal
Equipment connects the intelligent medical treatment breathing equipment monitoring system based on MQTT agreement.
The intelligent medical treatment breathing equipment monitoring system based on MQTT agreement it is further design be, the boundary of client
Face includes:
Login page, comprising: medical staff's log-in interface and sufferer log-in interface, for according to the address client ip v6
The identity information of user is determined with user's logon information;
Medical staff shows the page, is divided into realtime curve part and historical data display portion:
Realtime curve part, including hospital bed number, sufferer name, hospital bed information, breathing equipment pressure and flow letter
Breath, the button for switching breathing equipment, breathing equipment remote switch button and historical record button;Historical data display unit
Point, the historical variations of breathing equipment pressure and data on flows are shown in the form of a graph;Switch the breathing equipment page, for cutting
Change breathing equipment currently in use, interface is for reaffirming and inputting again password, and by operating time, client Ipv6
Address is stored in log;
Breathing equipment remote switch interface is used for closing oxygen equipment, and interface is used to reaffirm and inputs password again,
And operating time, the address client Ipv6 are stored in log;
The page is alerted, for alerting in the case where server disconnection occurs, logs in mistake, sufferer calling, data exception
Medical staff;
Sufferer shows the page, is divided into realtime curve part and historical data display portion:
Realtime curve part, sufferer name, hospital bed information, be used and spare breathing equipment pressure and
Flow information;
Historical data display portion, display same day oxygen expense and total oxygen expense.
Advantages of the present invention is as follows:
It is of the invention based on the intelligent medical treatment breathing equipment monitoring system of MQTT agreement by breathing equipment control node, MQTT
Proxy server, MySQL server subscribe to script and border routing composition.The system deployment improves in pure IPv6 network
The safety and reliability of system operation, realizes the long-range monitoring to breathing equipment.The system sends mechanism, In using passive
The variation of breathing equipment generating state, for example when pressure or data on flows variation, MQTT data packet is just sent to MQTT agency service
Device further reduced network load.
The system uses MQTT agreement, and the transport layer protocol of the agreement is TCP, it is possible to provide is reliably connected and passes with authentic data
It is defeated.The system realizes comprehensive journal function, not only records sensing data all the time, while recording user and stepping on every time
Land operation, warning message issuing time and the address client ip v6.
The system realizes comprehensive alarm function, if node disconnects network connection, is considered as and breaks down, and client disconnects clothes
Business device, connection failed database etc. can all prompt error message.Internet of Things medical oxygen equipment is built with MQTT network technology
Intelligent monitor system can provide the monitoring system of safe and reliable automated trans platform, accurate charge system, real-time alarm system
System and data acquisition function, to provide the chart-information data of Long-term analysis.The safety index of patient can be greatly increased, is reduced
Doctor-patient dispute, Economy type medicine cost improve the modernization level of management gas.
Detailed description of the invention
Fig. 1 is the intelligent medical treatment breathing equipment monitoring system block schematic illustration based on MQTT agreement.
Fig. 2 is the hardware circuit schematic diagram of breathing equipment control node.
Fig. 3 is that the MQTT data packet of sensor node uploads flow chart.
Fig. 4 is client end interface design diagram.
Fig. 5 is to subscribe to script work flow diagram.
Fig. 6 is long-range switching and closing oxygen equipment flowsheet.
Fig. 7 is log system schematic diagram.
Fig. 8 is work flow diagram of the node to MQTT proxy server.
Specific embodiment
Below in conjunction with attached drawing, the technical solution in the present invention is clearly and completely described.
It include breathing equipment control node, boundary road in the intelligent medical treatment breathing equipment monitoring system of the present embodiment such as Fig. 1
By device, MQTT proxy server, Database Systems and client.Wherein, breathing equipment control node passes through 6LoWPAN network
It is connect with border router, obtains unique address IPv6, border router converts IP for MQTT data packet by SLIP agreement
Then data packet connects MQTT proxy server.MQTT proxy server is connect by subscribing to script with Database Systems, client
End is connect with MQTT proxy server and Database Systems, obtains breathing equipment control node information.It is transmitted using MQTT agreement
On the one hand breathing equipment status information can provide and be reliably connected, guarantee data reliability, on the one hand reduce the network being reliably connected
Load, reduces the hardware cost of system.
Such as Fig. 2, the present embodiment provides the hardware of breathing equipment control node according to intelligent medical treatment breathing equipment monitoring system
Circuit, the hardware circuit mainly by oxygen information data processing module, Peripheral Interface, RS485 interface circuit, power-supply system, penetrate
Frequency module, uart turn serial port circuit, electric current turns potential circuit, relay module, pressure sensor module, oxygen flow meter module
And breathing equipment composition.Peripheral Interface, RS485 interface circuit, power-supply system, radio-frequency module, uart turn serial port circuit, electric current
Turn potential circuit, relay module is connect with processor communication respectively, RS485 interface circuit, power-supply system and uart turn serial ports
Circuit is connect with oxygen flow meter module, for obtaining real-time oxygen stream magnitude, is turned serial port circuit processor by uart and is sent
Order, enables oxygen flow meter according to format output valve.Electric current turns potential circuit, power-supply system and pressure sensor module and connects,
For obtaining breathing equipment pressure values in real time.The oxygen information data processing module of the present embodiment uses CC2538dk processor,
CC2538dk use Context-M3 kernel, serial ports uart0 Configuration of baud rate be 115200bps, be responsible for and border router it
Between data packet transmission.For the function that the MQTT data packet of breathing equipment control node uploads, process are as follows: breathing equipment control
The numerical value and relay status of node monitoring oxygen flow meter and pressure sensor processed, sensing data change, then remember
Sensing data is recorded, is then added in the load of MQTT data packet, breathing equipment control node sends connection packet
CONNECT obtains issuing subject after the confirmation connection packet of proxy server, is transmitted to MQTT agency by border router
Server keeps connecting with MQTT proxy server, disconnects then reconnection after receiving publication confirmation message.Breathing equipment control section
The detailed process that the MQTT data packet of point uploads, referring to Fig. 3.
Client end interface design includes login page, register interface, medical staff's display page, switching breathing equipment page
Face, breathing equipment remote switch interface, the warning page, sufferer show the page, expense display interface, historical data interface.
Login page logs in my account for medical staff or sufferer and logs in, may be selected medical staff's log-in interface and
Sufferer log-in interface, for determining the identity information of user, different account permissions are different, and medical staff's account can mainly check this
Medical staff is responsible for the breathing equipment situation and sufferer information in region, and sufferer account can only check my breathing equipment situation
And expense;
Register interface registers to use the software client for new medical staff or new sufferers, is divided into medical staff's registration
Interface and sufferer register interface, medical staff's registration need to compare hospital database, and information unanimously then succeeds in registration, and sufferer is infused
Volume, mainly fills in the patient identification information, compares from patient's database, completes registration.
Medical staff shows the page, is used for medical staff's real time inspection sufferer breathing equipment behaviour in service, and control oxygen is set
The functions such as standby and analysis of history data acquisition warning information.Interface is divided into realtime curve part and historical data display unit
Point: different patient's conditions are checked for switching in realtime curve part, including optional hospital bed number.Sufferer name, hospital bed number
Information, for determining sufferer information.Display is used and spare breathing equipment pressure and flow information.For switching oxygen
Gas device button and breathing equipment remote switch button and historical record button;Historical data display portion, with curve graph
Form shows breathing equipment history pressure and flow histories variation.
Switch the breathing equipment page, for switching breathing equipment currently in use, interface is for reaffirming, to prevent from missing
Operation.And it needs to input password again, prevents other people from arbitrarily changing, threaten patients ' lives safety, and switch and whether succeed, meeting
Breathing equipment information is sent come secondary-confirmation by node, and the record is stored in log, it is convenient to check in the future.
Breathing equipment remote switch interface is used for closing oxygen equipment, and interface is for reaffirming, to prevent maloperation.
And it needs to input password again, prevents other people from arbitrarily changing, threaten patients ' lives safety, and switch and whether succeed, it can be by saving
Point transmission breathing equipment information carrys out secondary-confirmation, and the record is stored in log, convenient to check in the future.
The page is alerted, for alerting when server disconnection occurs, logs in mistake, sufferer calling, data exception
Medical staff, since client is for monitoring breathing equipment state, stability and reliability be only most important consideration because
Element, therefore complete alarm function is particularly important, and the connection failure of breathing equipment control node is occurring, data are abnormal, number
According to library connection failure, MQTT proxy server connection failure, data update delay, breathing equipment remotely switches or switch unsuccessfully etc.
Special circumstances can all send warning information, and medical staff is notified to handle abnormal conditions as early as possible.
Sufferer shows the page, is divided into realtime curve part and historical data display portion: realtime curve part,
Sufferer name, hospital bed information, for determining sufferer information.Display is used and spare breathing equipment pressure and flow
Information.Display same day oxygen expense and total oxygen expense, the specific interface of client, referring to fig. 4.
Such as Fig. 5, subscribes to script and compiled using C code, is connect for proxy server with database, script subscribes to all masters
Topic is all parsed using JSON format when often receiving a theme, if data format meets predefined oxygen and sets after parsing
Standby control node data format, then and be saved in database, if database connection failure or network error, save wrong letter
Log system is ceased, and is sent a warning message.
The JSON format of the transmission breathing equipment status information of breathing equipment control node is as follows, and " hospital bed number " refers to
Hospital bed serial number where the breathing equipment;" pressure " refers to the pressure of the breathing equipment;" IPv6Addr " refers to the breathing equipment
The address IPv6 of control node;" flow " refers to the real-time traffic data of the breathing equipment.
{
Hospital bed number: XXX
IPv6Addr:XXX
Flow: XXX
Pressure: XXX
}
If the data fit format, starts to connect Database Systems, obtain current time, be inserted into database.
For remotely switching the function with closing oxygen equipment, process are as follows: client initiates long-range switching or switch oxygen
Gas device request, client pop-up confirmation interface, and need to input password, to prevent other people from accidentally touching, after entering the password, pass through
It is compared with password in database, verifies whether that the user has permission change breathing equipment state and issues MQTT if eligible
Message, and each breathing equipment control node subscribes to the theme always in connected state, after receiving the theme, change is set
Standby state, concurrently the MQTT data packet comprising newest breathing equipment status data to MQTT proxy server, client subscription
The MQTT message subject, prompts successfully modified if successfully modified, otherwise pops up warning message, last turn-off data library connection and
The connection of MQTT proxy server.The detailed process of long-range switching and closing oxygen equipment, referring to Fig. 6.
For the function of log system, wherein saving after breathing equipment control node publication MQTT message to client
All operation informations using whole flow process.Following situations can all save information to log system: save when breathing equipment controls
Point sends connection message to MQTT proxy server, but connection failure;If the message of breathing equipment control node publication is not met
Call format;Subscribe to script connection MQTT proxy server failure;It subscribes to script and connects database thrashing;Subscribe to script solution
Analyse the error of JSON formatted data;Client logs in IP address;Client registers time and user name;Client opens each interface
Time;Client change or closing oxygen equipment;Client connects the failure of MQTT proxy server;Client connects data base set
System failure;Client subscription MQTT message failure.The function of log system, referring to Fig. 7.
Connection, the function that gives out information for breathing equipment control node to MQTT proxy server, process are as follows:
Breathing equipment control node sends CONNECT data packet request first and is connected to MQTT proxy server, boundary road
IP network is forwarded the message to by device, after MQTT proxy server receives the connection request, if meeting the requirements, is replied
CONNACK message establishes connection to breathing equipment control node.Then breathing equipment control node starts to issue MQTT message master
Topic, loads the pressure values for breathing equipment, the message such as oxygen stream magnitude and node address, then be forwarded to IP network through border router
Network, MQTT proxy server save the theme after verifying address, user name, and are forwarded to the main body for subscribing to the theme, finally fixed
When send heartbeat packet and keep long connection, prevent overtime connection failure.Company of the breathing equipment control node to MQTT proxy server
Connect, give out information detail flowchart, referring to Fig. 8.
Claims (9)
1. a kind of intelligent medical treatment breathing equipment monitoring system based on MQTT agreement, which is characterized in that the system comprises:
Breathing equipment control node is deployed in 6LoPWAN network, and each breathing equipment control node is owned by unique IPv6
Address, for controlling breathing equipment switch and switching oxygen cylinder, the real-time oxygen flow data of monitoring and sending MQTT data packet,
In MQTT data packet comprising the address IPv6 of the breathing equipment control node, breathing equipment switch state, breathing equipment flow and
Pressure data;
MQTT proxy server is deployed in IPv6 network environment, for connecting each breathing equipment control node, and is saved
The MQTT packet content that each breathing equipment control node is sent, the address IPv6 including each breathing equipment control node,
Equipment for being transmitted to client or other application access resources;
Database Systems are deployed in IPv6 network environment, are set for receiving and saving oxygen described in MQTT proxy server
The address IPv6 of standby information and breathing equipment control node, establishes the historical record for analyzing and client is transferred;Client,
All breathing equipment status informations are obtained by access MQTT proxy server and Database Systems.
2. the intelligent medical treatment breathing equipment monitoring system according to claim 1 based on MQTT agreement, which is characterized in that institute
Stating breathing equipment control node includes:
Oxygen pressure information acquisition module, for acquiring the real-time oxygen pressure of breathing equipment pipeline;
Oxygen flow information acquisition module, for acquiring the real-time oxygen flow of breathing equipment pipeline;
Oxygen information data processing module, for obtaining unique address IPv6 of the breathing equipment control node, processing oxygen is set
Standby information data, including oxygen pressure information gathering data, oxygen flow information gathering data, breathing equipment information data is beaten
It is bundled into MQTT data packet;
The MQTT data packet being packaged in oxygen information data processing module is sent to by radio-frequency module by 6LoPWAN network
MQTT proxy server;
Breathing equipment control module, for controlling breathing equipment switch and switching breathing equipment.
3. the intelligent medical treatment breathing equipment monitoring system according to claim 2 based on MQTT agreement, which is characterized in that institute
The pressure sensor in oxygen pressure information acquisition module is stated using diffusion silicon pressure transmitter, the diffusion silicon pressure transmitter
It is placed in every breathing equipment transmission line, potential circuit is turned by electric current and is connect with oxygen information data processing module, it will
Oxygen flow data are with 0~40mA of size of current output, then current value is turned potential circuit by electric current and switchs to voltage value, finally
The voltage analog signal of output is converted into digital signal by ADC to obtain oxygen flow data.
4. the intelligent medical treatment breathing equipment monitoring system according to claim 2 based on MQTT agreement, which is characterized in that institute
Oxygen flow information acquisition module is stated using the oxygen stream magnitude of gas flow meter acquisition extension equipment pipe, the oxygen flow
Information acquisition module is placed in every oxygen transmission route, is connect by RS485 interface circuit with gas flow meter, RS485
Interface circuit is communicated to connect by the serial port circuit that RS485 turns serial ports and oxygen information data processing module.
5. the intelligent medical treatment breathing equipment monitoring system according to claim 2 based on MQTT agreement, which is characterized in that oxygen
Gas information data processing module includes low power processor, memory, USB interface, power supply module, indicator light, crystal oscillator unit, day
Line, the low power processor are logical with memory, USB interface, power supply module, indicator light, crystal oscillator unit and memory respectively
Letter connection, the radio frequency chip are connect with power supply module, crystal oscillator module, antenna communication and crystal oscillator unit respectively.
6. the intelligent medical treatment breathing equipment monitoring system according to claim 2 based on MQTT agreement, which is characterized in that institute
It states oxygen information data processing module and the MQTT data packet is sent with JSON format, which includes but not
It is limited to the address IPv6, the oxygen flow information acquisition module data, oxygen pressure information acquisition module of breathing equipment control node
Data, the oxygen pressure information acquisition module user name and connection password parse convenient for MQTT proxy server.
7. the intelligent medical treatment breathing equipment monitoring system according to claim 1 based on MQTT agreement, which is characterized in that
MQTT proxy server is deployed in the linux system under pure IPv6 network environment, and MQTT proxy server receives breathing equipment
The MQTT data packet of control node improves security of system according to IPv6 Address Recognition breathing equipment control node position.
And connect by subscribing to script with Database Systems, for saving the historical data of breathing equipment control node.
8. the intelligent medical treatment breathing equipment monitoring system according to claim 7 based on MQTT agreement, which is characterized in that institute
It states and subscribes to script using C code compiling, for the data connection of MQTT proxy server and Database Systems, subscription script parsing
When receiving each MQTT data packet, after the parsing of JSON format, according to the address IPv6 and user name in MQTT data packet
And password, judge whether it is valid data, message content is then saved if valid data into Database Systems, otherwise issues police
It accuses, there is illegality equipment to connect the intelligent medical treatment breathing equipment monitoring system based on MQTT agreement.
9. the intelligent medical treatment breathing equipment monitoring system according to claim 1 based on MQTT agreement, which is characterized in that visitor
The interface at family end includes:
Login page, comprising: medical staff's log-in interface and sufferer log-in interface, for according to the address client ip v6 and use
Family logon information determines the identity information of user;
Medical staff shows the page, is divided into realtime curve part and historical data display portion:
Realtime curve part, including hospital bed number, sufferer name, hospital bed information, breathing equipment pressure and flow information, use
In button, breathing equipment remote switch button and the historical record button of switching breathing equipment;Historical data display portion, with
The form of curve graph shows the historical variations of breathing equipment pressure and data on flows;Switch the breathing equipment page, for switching just
In the breathing equipment used, interface is for reaffirming and inputting again password, and by operating time, the address client Ipv6
It is stored in log;
Breathing equipment remote switch interface is used for closing oxygen equipment, and interface is used to reaffirm and input password again, and will
Operating time, the address client Ipv6 are stored in log;
The page is alerted, for alerting medical care in the case where server disconnection occurs, logs in mistake, sufferer calling, data exception
Personnel;
Sufferer shows the page, is divided into realtime curve part and historical data display portion:
Realtime curve part, sufferer name, hospital bed information are used and spare breathing equipment pressure and flow
Information;
Historical data display portion, display same day oxygen expense and total oxygen expense.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910819900.1A CN110535953A (en) | 2019-08-31 | 2019-08-31 | A kind of intelligent medical treatment breathing equipment monitoring system based on MQTT agreement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910819900.1A CN110535953A (en) | 2019-08-31 | 2019-08-31 | A kind of intelligent medical treatment breathing equipment monitoring system based on MQTT agreement |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110535953A true CN110535953A (en) | 2019-12-03 |
Family
ID=68665888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910819900.1A Pending CN110535953A (en) | 2019-08-31 | 2019-08-31 | A kind of intelligent medical treatment breathing equipment monitoring system based on MQTT agreement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110535953A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111818129A (en) * | 2020-06-16 | 2020-10-23 | 上海申铁信息工程有限公司 | Equipment monitoring method and device based on MQTT protocol |
CN112073506A (en) * | 2020-09-04 | 2020-12-11 | 哈尔滨工业大学 | IPv6 and message queue-based complex electromagnetic data acquisition method |
CN114531457A (en) * | 2020-11-04 | 2022-05-24 | 南京南瑞继保电气有限公司 | MQTT-based high-voltage cable online monitoring data acquisition device and method |
CN114681731A (en) * | 2020-12-30 | 2022-07-01 | 深圳迈瑞生物医疗电子股份有限公司 | Ventilator, method for remote maintenance of ventilator, and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110060700A1 (en) * | 2007-04-16 | 2011-03-10 | Franck-Stephane Durtschi | Wireless medical gases management system |
JP2017220053A (en) * | 2016-06-08 | 2017-12-14 | 株式会社椿本チエイン | Data collection system, data collection method, plc data transmission device, data collection device, plc data transmission program, and data collection program |
CN206770991U (en) * | 2017-04-07 | 2017-12-19 | 南通大学 | Digital medical oxygen real-time system for monitoring and pre-warning |
CN108600095A (en) * | 2018-04-04 | 2018-09-28 | 南通大学 | A kind of embedded Internet of Things gateway system and its hardware circuit based on IPv6 |
CN109116799A (en) * | 2018-08-30 | 2019-01-01 | 南通大学 | Internet of Things integrated-type medical oxygen monitoring system and its monitoring method |
CN109327493A (en) * | 2017-08-01 | 2019-02-12 | 徐州天荣医疗通讯设备有限公司 | A kind of remote medical monitoring system based on cloud and monitoring method |
CN109451059A (en) * | 2018-12-22 | 2019-03-08 | 广州市赛科自动化控制设备有限公司 | One kind being based on cleaning equipment intelligent management cloud computing mobile terminal |
-
2019
- 2019-08-31 CN CN201910819900.1A patent/CN110535953A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110060700A1 (en) * | 2007-04-16 | 2011-03-10 | Franck-Stephane Durtschi | Wireless medical gases management system |
JP2017220053A (en) * | 2016-06-08 | 2017-12-14 | 株式会社椿本チエイン | Data collection system, data collection method, plc data transmission device, data collection device, plc data transmission program, and data collection program |
CN206770991U (en) * | 2017-04-07 | 2017-12-19 | 南通大学 | Digital medical oxygen real-time system for monitoring and pre-warning |
CN109327493A (en) * | 2017-08-01 | 2019-02-12 | 徐州天荣医疗通讯设备有限公司 | A kind of remote medical monitoring system based on cloud and monitoring method |
CN108600095A (en) * | 2018-04-04 | 2018-09-28 | 南通大学 | A kind of embedded Internet of Things gateway system and its hardware circuit based on IPv6 |
CN109116799A (en) * | 2018-08-30 | 2019-01-01 | 南通大学 | Internet of Things integrated-type medical oxygen monitoring system and its monitoring method |
CN109451059A (en) * | 2018-12-22 | 2019-03-08 | 广州市赛科自动化控制设备有限公司 | One kind being based on cleaning equipment intelligent management cloud computing mobile terminal |
Non-Patent Citations (1)
Title |
---|
袁敏,李明等: ""医用氧气实时监测与预警***设计"", 《南通大学学报(自然科学版)》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111818129A (en) * | 2020-06-16 | 2020-10-23 | 上海申铁信息工程有限公司 | Equipment monitoring method and device based on MQTT protocol |
CN111818129B (en) * | 2020-06-16 | 2023-04-28 | 上海申铁信息工程有限公司 | Equipment monitoring method and device based on MQTT protocol |
CN112073506A (en) * | 2020-09-04 | 2020-12-11 | 哈尔滨工业大学 | IPv6 and message queue-based complex electromagnetic data acquisition method |
CN114531457A (en) * | 2020-11-04 | 2022-05-24 | 南京南瑞继保电气有限公司 | MQTT-based high-voltage cable online monitoring data acquisition device and method |
CN114681731A (en) * | 2020-12-30 | 2022-07-01 | 深圳迈瑞生物医疗电子股份有限公司 | Ventilator, method for remote maintenance of ventilator, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110535953A (en) | A kind of intelligent medical treatment breathing equipment monitoring system based on MQTT agreement | |
CN100468390C (en) | Digital-signal intelligent monitoring method and application system thereof | |
Lin et al. | Wireless health care service system for elderly with dementia | |
CN107909781A (en) | Cloud alarm supplying system and method | |
CN201469259U (en) | Wireless remote monitoring processing system of physiological signals | |
CN105054909A (en) | Method for remotely monitoring old people based on intelligent watch and Bluetooth blood oxygen probe | |
US20100145479A1 (en) | Wireless Portable Sensor Monitoring System | |
US20140316792A1 (en) | Proactive and preventative health care system using remote monitoring and notifications | |
CN112190240A (en) | Old people health monitoring and alarming device and method based on Internet of things | |
CN206618999U (en) | A kind of intelligence endowment nursing system based on location-based service | |
CN106264500A (en) | A kind of telemedicine method and system | |
CN111080860A (en) | Intelligent lock, control method, readable storage medium, server side and system | |
KR20070036836A (en) | Home network service for aged people | |
KR20180106583A (en) | Care device and care system for the old and the infrim | |
CN106850796A (en) | Wireless tracking monitoring method and system based on Internet of Things | |
CN201681475U (en) | Smart monitor and alarm system based on wireless local area network | |
CN204016271U (en) | A kind of telemedicine monitoring system based on Zigbee | |
KR20150083321A (en) | System and method for providing measuring body temperature service | |
CN106407661A (en) | Method for achieving information processing, gateway, terminal, server and system | |
CN204600521U (en) | A kind of recuperation of the house based on heart sound analysis heart patient remote monitoring system | |
CN109920553A (en) | A kind of medical service information system based on cloud computing | |
KR101196228B1 (en) | System and Method for home healthcare management | |
CN109326356A (en) | A kind of virtual ward system of wisdom | |
KR20120091882A (en) | Smartphone-based real-time ecg monitoring system for abnormal ecg signal detection | |
CN102525437A (en) | GPRS (General Packet Radio Service) wireless remote blood pressure monitoring system and monitoring method thereof |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200827 Address after: 226000 Jiangsu city of Nantong province sik Road No. 9 Applicant after: NANTONG University Applicant after: CERNET Co.,Ltd. Address before: 226000 Jiangsu city of Nantong province sik Road No. 9 Applicant before: NANTONG University |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191203 |