CN104519133A - Method, gateway and system based on multi-serial port transmission medical detection instrument data - Google Patents

Method, gateway and system based on multi-serial port transmission medical detection instrument data Download PDF

Info

Publication number
CN104519133A
CN104519133A CN201410814352.0A CN201410814352A CN104519133A CN 104519133 A CN104519133 A CN 104519133A CN 201410814352 A CN201410814352 A CN 201410814352A CN 104519133 A CN104519133 A CN 104519133A
Authority
CN
China
Prior art keywords
medical
data
serial port
serial
ethernet
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
CN201410814352.0A
Other languages
Chinese (zh)
Other versions
CN104519133B (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.)
Guangzhou Mingqi Electronic Technology Co., Ltd.
Original Assignee
刘俊彪
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 刘俊彪 filed Critical 刘俊彪
Priority to CN201410814352.0A priority Critical patent/CN104519133B/en
Publication of CN104519133A publication Critical patent/CN104519133A/en
Application granted granted Critical
Publication of CN104519133B publication Critical patent/CN104519133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Abstract

The invention discloses a method, gateway and system based on multi-serial port transmission medical detection instrument data. The method comprises the following steps: receiving a serial port data frame of a medical detection instrument which is connected with a serial port line based on a multi-serial port control module, wherein the serial port data frame is packaged with medical detection data; packaging the serial port data frame in an Ethernet data frame so as to form an Ethernet data stream, wherein the Ethernet data stream is packaged with medical detection data; transmitting the Ethernet data stream to a medical data management center through a network. According to the embodiment, a plurality of medical detection instruments can be connected based on multiple serial ports and serial port lines, a plurality of medical detectors are communicated with one piece of equipment, the detection information of the medical detection instrument can be transmitted to the medical data management center based on conversion of the serial port data frame to the Ethernet data frame, and thus doctors on duty can conveniently acquire data of relevant inspection items of patients.

Description

Based on the method for Multi-serial port transmission medical detecting Instrument data and gateway and system
Technical field
The present invention relates to digital medical technical field, be specifically related to a kind of method based on Multi-serial port transmission medical detecting Instrument data and gateway and system.
Background technology
Hospitals at Present uses most medical examination equipment to be all separate equipment, and assay can only print or display in the machine display.Dispersion arranged by inspection machine simultaneously, need back and forth several place could obtain whole inspection bills after patient's inspection, make troubles to hospitalize, extend the residence time of patient, cause hospital overstaffed, this has buried hidden danger to safety management, cross-infection, conflict between doctors and patients etc.On the other hand, most of check data presents with the paper-based form printing checklist, wastes time and energy in medical procedure, doctor consults medical history, also seriously hinders the construction of Hospital Electronic Medical Record management data central system simultaneously.
Existing blood testing instrument is divided into red blood cell/blood platelet and leucocyte/hemoglobin two passages, leucocyte/hemoglobin passage need add hemolytic agent makes Measuring hemoglobin, quantity of leucocyte and rude classification after hematoclasis, after being detected by blood testing instrument finished item, result is generally carried by machine or the printer that connects prints result, or show carrying on screen, or be connected with other machine (such as computer etc.) by 232 serial ports.
Biochemical Analyzer is one of important analysis instrument often used in clinical examination, and it is by measuring various biochemical indicator to the analysis of blood or other body fluid: as transaminase, hemoglobin, albumin, total protein, cholesterol, flesh liver, glucose, Phos, amylase, calcium etc.In conjunction with other clinical datas, comprehensively analyze, can assisted diagnosis disease, evaluation is made to organ dysfunction.Existing Biochemical Analyzer is after finished item detects, and phase result is generally carried by machine or the printer that connects prints result, or shows carrying on screen, or is connected with other machine (such as computer etc.) by 232 serial ports.
Urine Analyzer is used for urine PH, urinates detection than the projects such as close, Urine proteins, urine glucose assays, urine ketoboidies inspection, urine bilirubin, UBG, urine nitrite, urinary leukocyte, urine analyzes, urine erythrocyte.Existing Urine Analyzer is after finished item detects, and phase result is generally carried by machine or the printer that connects prints result, or shows carrying on screen, or is connected with other machine (such as computer etc.) by 232 serial ports.
Along with medical detecting Instrument popularizing 232 serial ports, clinical laboratory can be realized to work such as the collection collections of data, but these data cannot feed back to medical data center-side in time, sharing and propagating of real time data cannot be realized between existing inspection section office and sit-in doctor, common processing mode is by data patient to the printing terminal of inspection section office printing Interventions Requested, then inquires the patient's condition to sit-in doctor.And hospital digitisation medical office environment has possessed now, sit-in doctor can be deployed into hospital's related data information in real time, but cannot get relevant patient clinical laboratory order data in time by data sharing.
Existing Multi-serial port transmission data have been applied in each environment, well achieve each isolated point data sharing to network data end.But present stage does not also find to play for the medical detecting Instrument of existing 232 serial ports to act on targetedly, cannot enjoy the convenience of Multi-serial port data to network data, simplify the isolated phenomenon of whole Interventions Requested from technological layer.
Summary of the invention
For the deficiency of existing medical inspection instrument share data, the invention provides a kind of method based on Multi-serial port transmission medical detecting Instrument data and gateway and system, the isolated problem of existing medical inspection instrument image data can be solved, improve the sharing of medical inspection data and propagated, facilitate doctor to understand sufferer related check project information.
The invention provides a kind of method based on Multi-serial port transmission medical detecting Instrument data, comprise the steps:
Receive the serial data frame being connected to medical detecting Instrument on Serial Port Line based on Multi-serial port control module, described serial data frame is packaged with medical treatment and detects data;
Described serial data frame is encapsulated in ethernet data frame, and forms ethernet data stream, be packaged with medical treatment in described ethernet data stream and detect data;
Described Ethernet data is flowed through network and is sent to medical data management center.
Describedly receive based on Multi-serial port control module the serial data frame being connected to medical detecting Instrument on Serial Port Line and comprise:
The interrupt mechanism priority of described Multi-serial port control module employing microcontroller obtains the serial data frame on medical detecting Instrument; Or described Multi-serial port control module adopts polling mode to give to respond the serial data frame obtained on medical detecting Instrument to each substring mouth.
Described described serial data frame to be encapsulated in ethernet data frame, and to form ethernet data stream and comprise:
Carry out UDP packing according to the UDP packing time threshold pre-set or serial data frame threshold value, and form ethernet data stream according to ethernet data frame encapsulation process.
The described network that flowed through by described Ethernet data is sent to medical data management center and comprises:
With WIFI pattern, ethernet data stream is sent to access point, by access point, ethernet data stream is sent to medical data management center; Or
With SMS platform, ethernet data stream is sent to medical data management center; Or
In a wired fashion ethernet data stream is sent to medical data management center.
Described method also comprises:
Receive the feedback information at medical data management center;
And described feedback information is exported by voice mode, or feedback information is fed back on medical detecting Instrument.
Accordingly, the invention also discloses a kind of Multi-serial port medical treatment gateway, comprising:
Multi-serial port control module, can be connected to multiple medical detecting Instrument based on multiple substring mouth, and for receiving the serial data frame being connected to medical detecting Instrument on Serial Port Line, described serial data frame is packaged with medical treatment and detects data;
Protocol conversion module, for being encapsulated in ethernet data frame by described serial data frame, and forms ethernet data stream, is packaged with medical treatment and detects data in described ethernet data stream;
Data communication module, is sent to medical data management center for described Ethernet data is flowed through network.
The interrupt mechanism priority of described Multi-serial port control module employing microcontroller obtains the serial data frame on medical detecting Instrument; Or described Multi-serial port control module adopts polling mode to give to respond the serial data frame obtained on medical detecting Instrument to each substring mouth.
Described protocol conversion module carries out UDP packing according to the UDP packing time threshold pre-set or serial data frame threshold value, and forms ethernet data stream according to ethernet data frame encapsulation process.
Described data communication module is WIFI module, with WIFI pattern, ethernet data stream is sent to access point, by access point, ethernet data stream is sent to medical data management center; Or described data communication module is SMS module, with SMS platform just ethernet data stream be sent to medical data management center; Or described data communication module is wired module, in a wired fashion ethernet data stream is sent to medical data management center.
Described data communication module is also for receiving the feedback information at medical data management center;
Described Multi-serial port medical treatment gateway also comprises a voice module, for being exported by voice mode by described feedback information; Or protocol conversion module converts feedback information to serial data frame, the serial data frame after conversion feeds back on corresponding medical detecting Instrument by Multi-serial port control module.
Accordingly, the invention also discloses a kind of medical detection system, comprising:
At least more than one medical detecting Instrument, detects data for the medical treatment obtaining medical patient, and medical treatment is detected data based on serial port data line and be sent to Multi-serial port medical and health network with serial data frame form and shut;
Multi-serial port medical treatment gateway, for receiving the serial data frame being connected to medical detecting Instrument on Serial Port Line based on Multi-serial port control module, described serial data frame is packaged with medical treatment and detects data; Described serial data frame is encapsulated in ethernet data frame, and forms ethernet data stream, be packaged with medical treatment in described ethernet data stream and detect data; Described Ethernet data is flowed through network and is sent to medical data management center;
Medical data management center, the medical treatment sent based on ethernet data stream for receiving described serial ports medical treatment gateway detects data.
Described medical detecting Instrument is: blood detector or urine detection instrument or bio-chemical detector; At least more than one medical detecting Instrument described is: a kind of in blood detector, urine detection instrument, bio-chemical detector or their combination.
The embodiment of the present invention can connect upper multiple medical detecting Instrument based on Multi-serial port port based on Serial Port Line, thus avoid medical detecting Instrument to isolate phenomenon existence, can realize multiple medical detecting Instrument is switched on an equipment, based on the conversion of serial data frame to ethernet data frame, the Detection Information that can realize medical detecting Instrument to be transferred in medical data management in the heart, thus convenient sit-in doctor directly gets patient's related check project data.The embodiment of the present invention takes plurality of data transmission modes, can realize sharing of data, the medical item inspection under convenient various different application scene, timely feedback-related information, guide field medical treatment phenomenon.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the medical detection system structural representation in the embodiment of the present invention;
Fig. 2 is the medical detection system structural representation of the multiple-workstation in the embodiment of the present invention;
Fig. 3 is the Multi-serial port medical treatment gateway structural representation in the embodiment of the present invention;
Fig. 4 is the Multi-serial port medical treatment gateway hardware configuration principle schematic in the embodiment of the present invention;
Fig. 5 is the serial data frame structure exemplary plot in the embodiment of the present invention;
Fig. 6 is the ethernet data frame topology example figure in the embodiment of the present invention;
Fig. 7 is the encapsulation process schematic diagram that serial data frame in the embodiment of the present invention enters Ethernet protocol stack;
Fig. 8 is the schematic flow sheet of data flow on the serial ports layer in the embodiment of the present invention;
Fig. 9 is that the Multi-serial port Frame in the embodiment of the present invention waits for the schematic flow sheet that packing is transmitted;
Figure 10 is the schematic flow sheet of the ethernet data frame in the embodiment of the present invention to serial data frame;
Figure 11 is another structural representation of the Multi-serial port medical treatment gateway in the embodiment of the present invention;
Figure 12 is the multi-communication mode structural representation of the Multi-serial port medical treatment gateway in the embodiment of the present invention;
Figure 13 is the method flow diagram based on Multi-serial port transmission Medical Instruments data in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention is based on Multi-serial port transmission medical detecting Instrument data, and by receiving the serial data frame being connected to medical detecting Instrument on Serial Port Line based on Multi-serial port control module, this serial data frame is packaged with medical treatment and detects data; Described serial data frame is encapsulated in ethernet data frame, and forms ethernet data stream, be packaged with medical treatment in this ethernet data stream and detect data; Ethernet data is flowed through network and be sent to medical data management center.
Fig. 1 shows the medical detection system structural representation in the embodiment of the present invention, this system includes multiple medical detecting Instrument, medical detecting Instrument 1, medical detecting Instrument 2, medical detecting Instrument 3 have been shown in Fig. 1, and Multi-serial port medical treatment gateway and medical data management center etc., wherein: medical detecting Instrument detects data for the medical treatment obtaining medical patient, and medical treatment detected data based on serial port data line and be sent to Multi-serial port medical and health network with serial data frame form and shut; Multi-serial port medical treatment gateway is for receiving the serial data frame being connected to medical detecting Instrument on Serial Port Line based on Multi-serial port control module, this serial data frame is packaged with medical treatment and detects data; This serial data frame is encapsulated in ethernet data frame, and forms ethernet data stream, be packaged with medical treatment in this ethernet data stream and detect data; Ethernet data is flowed through network and be sent to medical data management center; The medical treatment detection data that medical data management center sends based on ethernet data stream for receiving described serial ports medical treatment gateway.
It should be noted that, Multi-serial port medical treatment gateway can arrange a serial ports according to the actual requirements, also can two or above serial ports, and it is arranged according to the demand of inspection point, meets the practice examining data upload in inspection point.Such as provide the Multi-serial port medical treatment gateway of two serial ports, it can meet the access of maximum two medical detecting Instruments simultaneously, provide the Multi-serial port medical treatment gateway of 4 serial ports, it can meet the access of maximum 4 medical detecting Instruments simultaneously, Multi-serial port medical treatment gateway in Fig. 1 provides 3 serial ports, and it can meet the access of maximum 3 medical detecting Instruments simultaneously.Certainly, the actual demand according to inspection point meets, and is not limited to the performance in Fig. 1.
It should be noted that, medical detecting Instrument in the embodiment of the present invention can be blood detector, also can be urine detection instrument, also can be bio-chemical detector, certainly be also not limited thereto 3 type medical treatment and add survey instrument, be satisfied with detector that serial ports (232 serial ports) accesses and can realize being linked into Multi-serial port medical and health network and shut.For small-sized inspection point, General Requirements medical detecting Instrument complete, when serial ports accesses, detecting instrument all can be linked into Multi-serial port medical and health network to shut, for in situation in Fig. 1, medical detecting Instrument 1 can be blood detector, and medical detecting Instrument 2 can be urine detection instrument, and medical detecting Instrument 3 can be bio-chemical detector.For professional inspection point, when it detects various for project, blood more than such as disposable detection 10,000 people, for situation in Fig. 1, the equipment such as medical detecting Instrument 1, medical detecting Instrument 2, medical detecting Instrument 3 are all concrete blood detectors, thus meet the demand of whole large-scale blood testing project; And when also needing to carry out biochemical project or urine detection project in real needs, a Serial Port Line can be reserved to access urine detection instrument or bio-chemical detector etc.Can seem thus, the medical detecting Instrument in the embodiment of the present invention can be the one in blood detector, urine detection instrument, bio-chemical detector etc., also can be by the combination of these instruments etc.
Need to illustrate time, the medical data management center in the embodiment of the present invention can be a toy data base center, also can be a comprehensive medical data base center.Such as multiple medical detecting Instrument is linked into the Multi-serial port medical and health network Central Shanxi Plain, with WIFI pattern, ethernet data stream can be sent to access point, by access point, ethernet data stream be sent to medical data management center; Or with SMS platform, ethernet data stream is sent to medical data management center; Or in a wired fashion ethernet data stream is sent to medical data management center.In concrete wired mode, can directly be linked on computer by RJ54 line, realize data management, thus decrease existing end-to-end operation, the medical treatment that can simultaneously be obtained on different medical detecting instrument by computer detects data, realize gathering of a database, and relative to existing end-to-end pattern, decrease and gather or the trouble of end-to-end access.
In hospital, each separate medical detecting Instrument disperseed makes it have interconnection network function after increasing this equipment, after medical detecting Instrument detects the situation of patient, data are closed to Multi-serial port medical and health network by 232 Serial Port Transmission of medical detecting Instrument self, the court's Center For Information Management is reached by wired or wireless mode through translated data, carry out the unified management of data, follow-uply doctor can be pushed to, automatic acquisition related data forms the functions such as statistical report form, thus facilitates the construction of Hospital Electronic Medical Record management data central system.
The check data of patient directly enters computer with data mode and feeds back to doctor, and save the paper printing checklist, improve the efficiency that doctor writes case history, in medical procedure, doctor can consult the medical history of patient like a cork, carries out the contrast with normal data.Alleviate the burden that patient waits in line simultaneously, shorten patient in the residence time of hospital, alleviate conflict between doctors and patients, make hospital carry out data management better and for service for patients.
Fig. 2 shows the medical detection system structural representation of the multiple-workstation in the embodiment of the present invention, this system includes several medical inspection stations, illustrate have medical inspection station 1 and medical inspection station 2 etc. in Fig. 2, this system can be applied particularly in large hospital, there are at least two or above medical inspection station in this hospital, each inspection work station has corresponding Interventions Requested, realize gathering of whole hospital inspection data, such as a medical inspection station is for blood testing project, a medical inspection station is for biochemistry detecting item, a medical inspection station is for urine detection project, finally to be aggregated in a medical data management in the heart by Multi-serial port medical treatment gateway, namely on the data platform that hospital is total.Also can be in the layout of in whole health system, a medical inspection station in the medical station in a such as region or hospital, the check data at the medical inspection station in multiple region is aggregated in the medical data management of a large regions in the heart.That specifically can implement has: a medical data management center at county level can cover the medical inspection data at the medical inspection station of all hospitals of County Level Regional; Prefecture-level medical data management center can mulched ground city-level secondary with the medical inspection data at the medical inspection station of going to the hospital.
And general hospital is all provided with branch in strange land at present, sets up network medical treatment inspection point, is connected by the control data corporation of the Internet and total institute, form a dedicated network in each branch.After the network medical treatment inspection point of branch detects the situation of patient, medical inspection data are closed to Multi-serial port medical and health network by the RS232 Serial Port Transmission of medical detecting Instrument, follow-uply reach network by wireless WIFI mode, the data of branch are passed to the data center of hospital of general headquarters by network; If locality does not have network condition, data can be changed through SMS module, the data center of hospital of general headquarters is back to by short message mode, carry out the unified management of data, realize sharing or expert's remote medical consultation with specialists of data resource, give full play to technology and the resources advantage of total institute, thus be patient service better, facilitate the construction of Hospital Electronic Medical Record management data central system simultaneously.
Network medical treatment inspection point also can be applicable to medical emergency rescue, when occurring natural calamity, the human-made disasters of burst, during the situations such as acute epidemic situation, rapidly network medical treatment inspection point can be disposed to disaster relief First Line, the various life index of wound, patient person are sent to central hospital, organize expert consultation, thus provide back-office support for front medical personnel rescue.
Fig. 3 shows the Multi-serial port medical treatment gateway structural representation in the embodiment of the present invention, this Multi-serial port medical treatment gateway includes: Multi-serial port control module, multiple medical detecting Instrument can be connected to based on multiple substring mouth, for receiving the serial data frame being connected to medical detecting Instrument on Serial Port Line, this serial data frame is packaged with medical treatment and detects data; Protocol conversion module, for being encapsulated in ethernet data frame by serial data frame, and forms ethernet data stream, is packaged with medical treatment and detects data in this ethernet data stream; Data communication module, is sent to medical data management center for Ethernet data being flowed through network.
It should be noted that, this medical treatment detects data and has generally comprised user profile and detailed programs detection data etc., after it uploads to control data corporation, realizes gathering of data, is conveniently pushed to doctor or record data etc.
The transmission that Multi-serial port medical treatment gateway makes the serial data in medical detecting Instrument flow to ethernet data stream becomes possibility.This Multi-serial port medical data can connect multiple medical detecting Instrument with RS232 serial ports, and serial data is carried out selecting and processing, the stream compression of RS232 interface is changed into ethernet data stream, so just can carry out the data processing of networking, realize the networking of serial data.
In specific implementation process, its ICP/IP protocol is made up of application layer, UDP layer, IP layer and data link layer.In order to realize transparent transmission in the invention process, increase application process protocol layer---serial ports layer.Serial ports layer is made up of serial ports link layer and serial network layer.Multi-serial port medical treatment gateway, at serial ports layer building, resolves RS232 packet simultaneously, and as the transfer of data of TCP/IP network application layer.Multi-serial port gateway is received and dispatched control module by ICP/IP protocol modular converter and Multi-serial port and is formed, and hardware concrete structure as shown in Figure 4.Protocol conversion module is a miniature Ethernet access module, is made up of microcontroller (MCU), network card interface chip, EEPROM 93C46, the outer 512KBSRAM chip I S6lLV5128 of sheet and auxiliary element.Microprocessor controls network card interface chip carries out network service, realizes parsing and the package of the agreements such as address resolution protocol (ARP), Internet Control Message Protocol (ICMP), IP agreement, User Datagram Protoco (UDP) (UDP).Serial ports frame Ethernet being sent buffering area is encapsulated in UDP bag, and passes to IP layer; Meanwhile, receive ethernet data frame and upwards unpack layer by layer, be separated application layer data, then the dissection process of data transfers to Multi-serial port sending module to complete, and realizes the transparent translation of RS232 serial ports stream and ethernet port stream.
The interrupt mechanism priority of this Multi-serial port control module employing microcontroller obtains the serial data frame on medical detecting Instrument; Or described Multi-serial port control module adopts polling mode to give to respond the serial data frame obtained on medical detecting Instrument to each substring mouth.Multi-serial port control module realizes a receipts/control of multiple RS232 serial data stream, comprises the elements such as microcontroller, serial port extended chip (GM8123), MAX232.Microprocessor controls GM8123 completes Multi-serial port data transmit-receive, receives multiple serial ports source data, and after encapsulation, write Ethernet sends buffering area packing transmission; Meanwhile, receive the data of Ethernet application layer, resolve and send to measuring and controlling equipment.It is indifferent to the concrete meaning of communication data, is only responsible for receiving/sending, and encapsulation/seal off serial ports frame, provides general-purpose interface.In the hardware environment that Fig. 4 adopts, have on the basis of 2 UART in the microcontroller, adopt GM8123, system can provide 2 groups (UARTO, UARTl) totally 4 serial ports (COM1, COM2, C0M3, COM4), utilizes the interrupt requests of two-stage two priority classes UARTO with UARTl and allows nested.Inner in the interruption routine of UARTO, be which substring mouth by inquiry mode determination data source.When two groups of serial ports have request of data simultaneously, first, the interrupt mechanism of MCU judges the priority of interrupt requests, the interrupt requests preferential answering high to priority.System is to priority assign: UART0 is 2, UARTl is 1, i.e. the interrupt requests of MCU preferential answering UART0.When there is request of data in 3 rims of the mouth of UARTO simultaneously, by polling mode, each rim of the mouth is responded, namely responded according to the address in rim of the mouth number is ascending.Like this, the Multi-serial port implementation of 2 grades of interruptions and 4 serial ports is just defined.
Protocol conversion module is used for serial data frame being encapsulated in ethernet data frame, and is formed in ethernet data stream process, is packaged with medical treatment and detects data in this ethernet data stream.In concrete enforcement, for the hardware environment in Fig. 4, system needs the part of the serial data frame in 4 serial ports sources as ethernet data frame, in order to provide transparent interface to equipment and distinguish data source, needs to formulate unified frame format.Shown in frame format Fig. 5, port number fields of wherein going here and there is used for distinguishing data source; Frame head, postamble are as the starting boundary of a serial ports frame; Data division is the original data stream from serial ports.Equally, network interface sends data also will have consistent frame format, as shown in Figure 6.Obviously, serial data frame carries out transmitting as the protocol data of UDP layer.Multi-serial port medical treatment gateway, realize the data transaction between multiple serial ports and a network interface, serial ports link layer completes serial data transmission-receiving function, and serial network layer, as a part for TCP/IP application layer, realizes the encapsulation of serial ports frame.Transmission is the process into protocol stack, and as shown in Figure 7, it enters the encapsulation process schematic diagram of Ethernet protocol stack for serial data frame, and reception is the process protocol stack, and difference is receipts to data/send out process.
Multi-serial port transmits to the data transaction of network interface: serial ports link layer, receives the data from medical treatment detection device, gives serial network layer, and this layer completes the encapsulation of serial data frame and put into the transmission buffering area of Ethernet.When UDP that system specifies pack the time to or had 4 serial data frames time, beat UDP and wrap, and successively send down, until data are served physical medium, complete the transmission of bit stream.
This protocol conversion module carries out UDP packing according to the UDP packing time threshold pre-set or serial data frame threshold value, and forms ethernet data stream according to ethernet data frame encapsulation process.In order to once transmit as far as possible many data, system has made strict difinition to data length: the data segment maximum length of serial data frame is 300 bytes; The data segment of network interface transmission frame allows at most 4 serial data frames.Meanwhile, the requirement of embody rule to real-time to also be met: a longest response time is specified to each serial ports.No matter whether the time then, receive: 300 bytes all will encapsulate serial data, and put people's Ethernet transmission buffering area; Meanwhile, in order to avoid system is owing to waiting for that Ethernet sends buffering area serial ports frame number and reaches 4, and cause serial data not send in real time, require within the regular hour, carry out an ethernet communication, and 4 serial ports frame here just packing transmission need not be waited for.System, to data capacity and the dual regulation of time, can ensure the requirement of embody rule to real-time, and once can transmit as far as possible many data, reduces because temporal " empty etc. " causes the possibility of system real time difference.4 serial ports are identical in the function that serial ports layer completes, and only for COMl, provide data flow on serial ports layer, as shown in Figure 8.Fig. 9 describes the process that Multi-serial port Frame waits for packing transmission.Network interface data, to the data flow of Multi-serial port, are the processes upwards successively unpacked the Frame of ethernet link layer.As shown in Figure 10, by the ethernet frame received, the protocol header removing every layer successively decomposites application layer data, then with 0x24 with OxOa for being separated, according to the value of string port number fields, information being sent to corresponding equipment, completing predetermined control.
It should be noted that, this data communication module is WIFI module, with WIFI pattern, ethernet data stream is sent to access point, by access point, ethernet data stream is sent to medical data management center; Or described data communication module is SMS module, with SMS platform just ethernet data stream be sent to medical data management center; Or described data communication module is wired module, in a wired fashion ethernet data stream is sent to medical data management center.WIFI module adopts UART interface, and support transparent data transfer pattern, and have multimode security capabilities, built-in ICP/IP protocol stack and IEEE802.11 protocol stack, can realize the conversion between user's serial ports to wireless network.SMS module is a kind of equipment being used for receiving and dispatching note, need the support of SIM card, when needs transmitting-receiving note, a SIM card is inserted inside SMS module, plug in, be connected with computer by network interface, data wire, in the application management software of computer, just can realize the function of short message receiving-transmitting.
Accordingly, Figure 11 has also gone out another structural representation of the Multi-serial port medical treatment gateway in the embodiment of the present invention, this Multi-serial port medical treatment gateway includes: Multi-serial port control module, multiple medical detecting Instrument can be connected to based on multiple substring mouth, for receiving the serial data frame being connected to medical detecting Instrument on Serial Port Line, this serial data frame is packaged with medical treatment and detects data; Protocol conversion module, for being encapsulated in ethernet data frame by serial data frame, and forms ethernet data stream, is packaged with medical treatment and detects data in this ethernet data stream; Data communication module, is sent to medical data management center for Ethernet data being flowed through network.This data communication module is also for receiving the feedback information at medical data management center; And Multi-serial port medical treatment gateway also comprises a voice module, for being exported by voice mode by described feedback information; Or protocol conversion module converts feedback information to serial data frame, the serial data frame after conversion feeds back on corresponding medical detecting Instrument by Multi-serial port control module.
Accordingly, Figure 12 has also gone out the multi-communication mode structural representation of the Multi-serial port medical treatment gateway in the embodiment of the present invention, this Multi-serial port medical treatment gateway includes: Multi-serial port control module, multiple medical detecting Instrument can be connected to based on multiple substring mouth, for receiving the serial data frame being connected to medical detecting Instrument on Serial Port Line, this serial data frame is packaged with medical treatment and detects data; Protocol conversion module, for being encapsulated in ethernet data frame by serial data frame, and forms ethernet data stream, is packaged with medical treatment and detects data in this ethernet data stream; Data communication module, flows through network for just Ethernet data and is sent to medical data management center.This data communication module includes WIFI module, SMS module and wired module etc., namely namely ethernet data stream can be sent to medical data management center by Multi-serial port medical treatment gateway in a wired fashion, also WIFI pattern ethernet data stream can be sent to access point, by access point, ethernet data stream be sent to medical data management center; Even can with SMS platform just ethernet data stream be sent to medical data management center.Shut by the Multi-serial port medical and health network that is integrated in of these communication modules, the delivering path of gateway can be increased, be applicable in different situation, realize the transmission that medical treatment detects data.Certainly in actual applications, middle pattern is also not limited thereto.
Accordingly, Figure 13 also show the method flow diagram based on Multi-serial port transmission Medical Instruments data in the embodiment of the present invention, comprises the steps:
S1301, to receive be connected to the serial data frame of medical detecting Instrument on Serial Port Line based on Multi-serial port control module, this serial data frame is packaged with medical treatment and detects data;
It should be noted that, the interrupt mechanism priority of this Multi-serial port control module employing microcontroller obtains the serial data frame on medical detecting Instrument; Or described Multi-serial port control module adopts polling mode to give to respond the serial data frame obtained on medical detecting Instrument to each substring mouth.This implementation process discloses in embodiments of the present invention in detail, repeats no more here.
S1302, described serial data frame to be encapsulated in ethernet data frame, and to form ethernet data stream, be packaged with medical treatment in this ethernet data stream and detect data;
It should be noted that, in the process of encapsulation, carry out UDP packing according to the UDP packing time threshold pre-set or serial data frame threshold value, and form ethernet data stream according to ethernet data frame encapsulation process.This implementation process discloses in embodiments of the present invention in detail, repeats no more here.
S1303, described Ethernet data is flowed through network be sent to medical data management center.
In the mode of transmission data, with WIFI pattern, ethernet data stream is sent to access point, by access point, ethernet data stream is sent to medical data management center; Or with SMS platform, ethernet data stream is sent to medical data management center; Or in a wired fashion ethernet data stream is sent to medical data management center.This implementation process discloses in embodiments of the present invention in detail, repeats no more here.
In embodiment of the present invention process, the feedback information at medical data management center can also be received further; And described feedback information is exported by voice mode, or feedback information is fed back on medical detecting Instrument.
As can be seen here, the whole method based on Multi-serial port transmission Medical Instruments data not only unidirectional transmission data, also can realize data receiver, complete the functions such as correlation command operating or information feed back, facilitate distinct feed-back information to terminal.
To sum up, the embodiment of the present invention can connect upper multiple medical detecting Instrument based on Multi-serial port port based on Serial Port Line, thus avoid medical detecting Instrument to isolate phenomenon existence, can realize multiple medical detecting Instrument is switched on an equipment, based on the conversion of serial data frame to ethernet data frame, the Detection Information that can realize medical detecting Instrument to be transferred in medical data management in the heart, thus convenient sit-in doctor directly gets patient's related check project data.The embodiment of the present invention takes plurality of data transmission modes, can realize sharing of data, the medical item inspection under convenient various different application scene, timely feedback-related information, guide field medical treatment phenomenon.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
The method based on Multi-serial port transmission Medical Instruments data provided the embodiment of the present invention above and gateway and system are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1., based on a method for Multi-serial port transmission medical detecting Instrument data, it is characterized in that, comprise the steps:
Receive the serial data frame being connected to medical detecting Instrument on Serial Port Line based on Multi-serial port control module, described serial data frame is packaged with medical treatment and detects data;
Described serial data frame is encapsulated in ethernet data frame, and forms ethernet data stream, be packaged with medical treatment in described ethernet data stream and detect data;
Described Ethernet data is flowed through network and is sent to medical data management center.
2. as claimed in claim 1 based on the method for Multi-serial port transmission medical detecting Instrument data, it is characterized in that, describedly receive based on Multi-serial port control module the serial data frame being connected to medical detecting Instrument on Serial Port Line and comprise:
The interrupt mechanism priority of described Multi-serial port control module employing microcontroller obtains the serial data frame on medical detecting Instrument; Or described Multi-serial port control module adopts polling mode to give to respond the serial data frame obtained on medical detecting Instrument to each substring mouth.
3. as claimed in claim 1 based on the method for Multi-serial port transmission medical detecting Instrument data, it is characterized in that, described described serial data frame to be encapsulated in ethernet data frame, and form ethernet data stream and comprise:
Carry out UDP packing according to the UDP packing time threshold pre-set or serial data frame threshold value, and form ethernet data stream according to ethernet data frame encapsulation process.
4. as claimed in claim 3 based on the method for Multi-serial port transmission medical detecting Instrument data, it is characterized in that, the described network that flowed through by described Ethernet data is sent to medical data management center and comprises:
With WIFI pattern, ethernet data stream is sent to access point, by access point, ethernet data stream is sent to medical data management center; Or
With SMS platform, ethernet data stream is sent to medical data management center; Or
In a wired fashion ethernet data stream is sent to medical data management center.
5. the method based on Multi-serial port transmission medical detecting Instrument data as described in any one of Claims 1-4, it is characterized in that, described method also comprises:
Receive the feedback information at medical data management center;
And described feedback information is exported by voice mode, or feedback information is fed back on medical detecting Instrument.
6. a Multi-serial port medical treatment gateway, is characterized in that, comprising:
Multi-serial port control module, can be connected to multiple medical detecting Instrument based on multiple substring mouth, and for receiving the serial data frame being connected to medical detecting Instrument on Serial Port Line, described serial data frame is packaged with medical treatment and detects data;
Protocol conversion module, for being encapsulated in ethernet data frame by described serial data frame, and forms ethernet data stream, is packaged with medical treatment and detects data in described ethernet data stream;
Data communication module, is sent to medical data management center for described Ethernet data is flowed through network.
7. Multi-serial port medical treatment gateway as claimed in claim 6, is characterized in that, the interrupt mechanism priority of described Multi-serial port control module employing microcontroller obtains the serial data frame on medical detecting Instrument; Or described Multi-serial port control module adopts polling mode to give to respond the serial data frame obtained on medical detecting Instrument to each substring mouth.
8. Multi-serial port medical treatment gateway as claimed in claim 7, it is characterized in that, described protocol conversion module carries out UDP packing according to the UDP packing time threshold pre-set or serial data frame threshold value, and forms ethernet data stream according to ethernet data frame encapsulation process.
9. Multi-serial port medical treatment gateway as claimed in claim 8, it is characterized in that, described data communication module is WIFI module, with WIFI pattern, ethernet data stream is sent to access point, by access point, ethernet data stream is sent to medical data management center; Or described data communication module is SMS module, with SMS platform just ethernet data stream be sent to medical data management center; Or described data communication module is wired module, in a wired fashion ethernet data stream is sent to medical data management center.
10. the Multi-serial port medical treatment gateway as described in any one of claim 6 to 8, it is characterized in that, described data communication module is also for receiving the feedback information at medical data management center;
Described Multi-serial port medical treatment gateway also comprises a voice module, for being exported by voice mode by described feedback information; Or protocol conversion module converts feedback information to serial data frame, the serial data frame after conversion feeds back on corresponding medical detecting Instrument by Multi-serial port control module.
11. 1 kinds of medical detection system, is characterized in that, comprising:
At least more than one medical detecting Instrument, detects data for the medical treatment obtaining medical patient, and medical treatment is detected data based on serial port data line and be sent to Multi-serial port medical and health network with serial data frame form and shut;
Multi-serial port medical treatment gateway, for receiving the serial data frame being connected to medical detecting Instrument on Serial Port Line based on Multi-serial port control module, described serial data frame is packaged with medical treatment and detects data; Described serial data frame is encapsulated in ethernet data frame, and forms ethernet data stream, be packaged with medical treatment in described ethernet data stream and detect data; Described Ethernet data is flowed through network and is sent to medical data management center;
Medical data management center, the medical treatment sent based on ethernet data stream for receiving described serial ports medical treatment gateway detects data.
12. medical detection system as claimed in claim 11, it is characterized in that, described medical detecting Instrument is: blood detector or urine detection instrument or bio-chemical detector; At least more than one medical detecting Instrument described is: a kind of in blood detector, urine detection instrument, bio-chemical detector or their combination.
CN201410814352.0A 2014-12-24 2014-12-24 Method and gateway based on Multi-serial port transmission medical detecting Instrument data and system Active CN104519133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410814352.0A CN104519133B (en) 2014-12-24 2014-12-24 Method and gateway based on Multi-serial port transmission medical detecting Instrument data and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410814352.0A CN104519133B (en) 2014-12-24 2014-12-24 Method and gateway based on Multi-serial port transmission medical detecting Instrument data and system

Publications (2)

Publication Number Publication Date
CN104519133A true CN104519133A (en) 2015-04-15
CN104519133B CN104519133B (en) 2018-11-06

Family

ID=52793836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410814352.0A Active CN104519133B (en) 2014-12-24 2014-12-24 Method and gateway based on Multi-serial port transmission medical detecting Instrument data and system

Country Status (1)

Country Link
CN (1) CN104519133B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708648A (en) * 2015-07-14 2017-05-24 阿里巴巴集团控股有限公司 Text data storage checking method and system
CN107948043A (en) * 2017-12-25 2018-04-20 上海京颐科技股份有限公司 A kind of bridge
WO2018205204A1 (en) * 2017-05-11 2018-11-15 深圳市柘叶红实业有限公司 System for controlling automated instrument in laboratory based on local area network, and control method therefor
CN109087491A (en) * 2018-07-24 2018-12-25 郑州大学第附属医院 A kind of Medical Devices remote data acquisition device
CN110557609A (en) * 2019-08-27 2019-12-10 北京戴纳实验科技有限公司 tracking type experimental process multi-angle automatic recording equipment
CN111465994A (en) * 2017-12-18 2020-07-28 德尔格制造股份两合公司 Physiological data monitoring using virtual communication bus

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987519A (en) * 1996-09-20 1999-11-16 Georgia Tech Research Corporation Telemedicine system using voice video and data encapsulation and de-encapsulation for communicating medical information between central monitoring stations and remote patient monitoring stations
CN1462129A (en) * 2002-05-30 2003-12-17 深圳市威信智能技术有限公司 Multimedia intelligent monitoring method and system
CN101521880A (en) * 2009-03-26 2009-09-02 中国计量学院 Wireless real-time community medical care monitoring system with security mechanism and wireless real-time community medical care monitoring method
CN201299645Y (en) * 2008-07-10 2009-09-02 深圳先进技术研究院 Medical examination equipment
CN101669818A (en) * 2009-09-25 2010-03-17 上海大学 Multi-functional physiological parameter monitoring instrument based on FPGA
CN201441452U (en) * 2008-12-29 2010-04-28 深圳先进技术研究院 Remotely interactive physical check-up system
CN104142901A (en) * 2013-05-07 2014-11-12 北京化工大学 Implementation method of serial port multiplexer with transmission priority
CN204334633U (en) * 2014-12-24 2015-05-13 刘俊彪 A kind of Multi-serial port medical treatment gateway and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987519A (en) * 1996-09-20 1999-11-16 Georgia Tech Research Corporation Telemedicine system using voice video and data encapsulation and de-encapsulation for communicating medical information between central monitoring stations and remote patient monitoring stations
CN1462129A (en) * 2002-05-30 2003-12-17 深圳市威信智能技术有限公司 Multimedia intelligent monitoring method and system
CN201299645Y (en) * 2008-07-10 2009-09-02 深圳先进技术研究院 Medical examination equipment
CN201441452U (en) * 2008-12-29 2010-04-28 深圳先进技术研究院 Remotely interactive physical check-up system
CN101521880A (en) * 2009-03-26 2009-09-02 中国计量学院 Wireless real-time community medical care monitoring system with security mechanism and wireless real-time community medical care monitoring method
CN101669818A (en) * 2009-09-25 2010-03-17 上海大学 Multi-functional physiological parameter monitoring instrument based on FPGA
CN104142901A (en) * 2013-05-07 2014-11-12 北京化工大学 Implementation method of serial port multiplexer with transmission priority
CN204334633U (en) * 2014-12-24 2015-05-13 刘俊彪 A kind of Multi-serial port medical treatment gateway and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708648A (en) * 2015-07-14 2017-05-24 阿里巴巴集团控股有限公司 Text data storage checking method and system
CN106708648B (en) * 2015-07-14 2019-11-26 阿里巴巴集团控股有限公司 A kind of the storage method of calibration and system of text data
WO2018205204A1 (en) * 2017-05-11 2018-11-15 深圳市柘叶红实业有限公司 System for controlling automated instrument in laboratory based on local area network, and control method therefor
CN111465994A (en) * 2017-12-18 2020-07-28 德尔格制造股份两合公司 Physiological data monitoring using virtual communication bus
CN107948043A (en) * 2017-12-25 2018-04-20 上海京颐科技股份有限公司 A kind of bridge
CN109087491A (en) * 2018-07-24 2018-12-25 郑州大学第附属医院 A kind of Medical Devices remote data acquisition device
CN109087491B (en) * 2018-07-24 2021-04-27 郑州大学第一附属医院 Medical equipment remote data acquisition unit
CN110557609A (en) * 2019-08-27 2019-12-10 北京戴纳实验科技有限公司 tracking type experimental process multi-angle automatic recording equipment

Also Published As

Publication number Publication date
CN104519133B (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN104519133A (en) Method, gateway and system based on multi-serial port transmission medical detection instrument data
Catherwood et al. A community-based IoT personalized wireless healthcare solution trial
CN204334633U (en) A kind of Multi-serial port medical treatment gateway and system
Aghdam et al. The role of the Internet of Things in healthcare: Future trends and challenges
US9648090B2 (en) Dynamic medical object information base
Delmastro Pervasive communications in healthcare
EP1913755B1 (en) System and method for context dependent service discovery for mobile medical devices
Drăgulinescu et al. LoRa-based medical IoT system architecture and testbed
CN101491431A (en) Remote medical system
CN104217117B (en) A kind of wisdom hospital information system using user as core
Verma et al. A review on existing IoT architecture and communication protocols used in healthcare monitoring system
Chehri et al. Survivable and Scalable Wireless Solution for E-health and E-emergency Applications.
CN101791250A (en) Remote medical service system with diagnosis terminal adopting WLAN standard and method thereof
CN101808125A (en) Remote medical service system using WLAN (Wireless Local Area Network) standard and method thereof
CN101795296A (en) Remote medical service system and method thereof based on GPRS network
Galarraga et al. Standards for medical device communication: X73 PoC-MDC
Ahlsén et al. Service-oriented middleware architecture for mobile personal health monitoring
CN103873579A (en) Critically-ill patient real-time monitoring system based on network
CN201658418U (en) Remote medical service system based on GPRS network
CN101800778A (en) Remote medical service system and remote medical service method
Sirisha et al. Real-time multi-patient monitoring system using ARM and wireless sensor network
CN201658419U (en) Remote medical service system
CN103607394A (en) IEEE11073 PHD protocol automatic conversion method and apparatus of physiological parameter patient monitor
Li-Wan et al. Wireless sensor network system for the real-time health monitoring
Antonopoulos et al. On developing a novel versatile framework for heterogeneous home monitoring WSN networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190514

Address after: 510000 Third Floor, Building B, No. 3, Nanpu Bigui Avenue, Luopu Street, Panyu District, Guangzhou City, Guangdong Province (Location 398)

Patentee after: Guangzhou Mingqi Electronic Technology Co., Ltd.

Address before: Room 1205, Room 75, Eastern Garden, Yuexiu District, Guangzhou, Guangdong 510000

Patentee before: Liu Junbiao