A kind of remote diagnosis system
Technical field
The invention belongs to mobile interchange technical field, it is related to a kind of remote diagnosis system, more particularly to a kind of cross-platform remote
Journey diagnosis and therapy system.
Background technique
Domestic internet+cloud hospital all more or less haves the defects that bigger in structure at present.It is most wide to be distributed
Domestic first network hospital-Guangdong Province's network hospital for, Guangdong Province's network hospital is the network online in the Second Academy of Guangdong Province
Hospital, is based on this carrier of network hospital, and it is common which has built up first province of the whole province, county, town, village's level Four health care in locality
Body.Villager only needs that digerait's diagnosis and treatment can be received by network at home.The platform mainly combines medicine using hospital at present
Shop long-distance video directly seeks advice from online doctor, completes treatment process, then patient can be according to prescription, directly in medical centre
Or pharmacy purchases medicine, realization is seen a doctor purchase medicine and is settled at one go.
However, Guangdong Province's network hospital is using using Flash as the network screen conferencing technology of core, this is a base
In the Activex plug-in unit of IE core, therefore cannot achieve to browser (such as Chrome, Firefox etc. in addition to IE kernel
The higher browser of market utilization rate) support, also therefore cannot achieve branch to current main-stream cell phone system IOS, Android
It holds;Therefore its end APP software can not slowly be released always.Even, also can not be with existing base in addition, APP video newly developed
Video calling can not be also carried out in the video of FLASH.Also mean that user has to operation computer in this way, so patient and doctor
Life must hospital, pharmacy etc. layout unit carry out remote medical consultation with specialists.And what patient was expected, house Telemedicine, house
Health control cannot achieve.
In view of this, nowadays there is an urgent need to design a kind of new remote diagnosis mode, to overcome existing diagnosis and treatment mode to deposit
Drawbacks described above.
Summary of the invention
The technical problems to be solved by the present invention are: providing a kind of remote diagnosis system, can be presented at an interface a variety of
Information;Realize simultaneously cross-platform instant video see the doctor, class wechat instant chat, and realize IDC personal health archives and deposit
Store up/have access to, remote image CT/X, remote ecg, long-range screen are seen the doctor, Telepathology, long-range LIS, image cloud etc. really
Medical cloud;Improve professional platform independence, real-time and the efficiency of interaction.
In order to solve the above technical problems, the present invention adopts the following technical scheme:
A kind of remote diagnosis system, the remote diagnosis system include: Cloud Server, several clients;
The Cloud Server includes XML format file storage module, to by the interface UI, attribute, mathematical logic, data
Collection, file is stored in the cloud code library of Cloud Server code in xml format;
The XML format file storage module includes the interface UI storage unit, attribute storage unit, mathematical logic, data
Collection, code storage unit;
The interface UI storage unit patterned interface is divided into several grid, ranks in a manner of table into
Row storage;
The attribute storage unit is to pass through XML tag attribute definition;XML element includes attribute in starting label,
Similar HTML;Attribute provides the additional information about element;
The mathematical logic, data set, code storage unit are to using mathematical logic, data set, code as the value of XML
It is incoming, it is parsed by each client;
The client includes XML parsing module, to parse XML;XML parsing module includes DOM resolution unit, SAX
Resolution unit;
The DOM resolution unit parses XML using DOM technology;DOM is the node or information segment with hierarchical structure tissue
Set;This hierarchical structure allows developer to find specific information in tree.It analyzes the structure and usually requires load entirely
Document and tectonic remnant basin structure, then can just do any work;Since it is based on level of information, DOM is considered as
Based on tree or it is object-based;
The SAX resolution unit, which is utilized, parses XML for handling the event driven model SAX technology that pushes away of XML;For being more than
The document of capacity is set, parsing loads entire document and parses XML using SAX technology, for being less than the document of setting capacity then
It is parsed using DOM technology;It can immediately begin to analyze, it is processed to without waiting for all data;And application program is only
It is to check data when reading data, therefore do not need to store data in memory;Application program need not parse entire document,
Stop parsing when certain condition obtains meeting;
The DOM resolution unit includes batch read-write subelement, batch modification subelement;
When needing to obtain a certain attribute, this attribute, which needs to calculate, can just obtain also, exist in queue not yet to submit
DOM modification operation, the then at this point, queue of DOM modification operation will be submitted;In order to improve efficiency, reduces and update render
The number of tree, the batch read-write subelement first unify reading attributes, then unify modification DOM, can be reduced update in this way
The number of render tree;
When needing to make a large amount of modifications to DOM, the batch modification subelement first creates a virtual nodes, will own
Modification is attached to the node, finally disposably submits to the dummy node in node present on render tree, then quite
It is operated in only having submitted primary modification;
The client includes interface display unit, display circle of the interface display unit to show doctor and patient terminal
Face;Interface display unit is to show video area, chat area, case history interface, key area;
The system comprises instant messaging module, real-time video module, medical history taking module, remote ecg module, in real time
Image module;
The instant messaging module includes text, picture, voice, small video to send content;Node.js filtering is all
The WebSocket for needing to receive message, then sends information;
The real-time video module is to realize that the video between hospital and patient connects;WebSocket need with it is another
When WebSocket establishes connection, WebSocket transmit a request to NAT, and NAT, which is retransmited, to be requested to another WebSocket,
After the WebSocket agrees to request, send back to message to NAT, the WebSocket for initiating request be transmitted to by NAT, so latter two
WebSocket establishes video connection.
The real-time video module includes that signal server, firewall burrow server;Signal server is for managing
A role for going the point-to-point call at center is established with assistance call terminal;Firewall burrow server include Simple Traversal of UDP Through Network Address Translators clothes
Business device, TURN protocol server, ICE protocol server;
Powerful data converting function of the medical history taking module to borrow the preposition working machine of LocalETL, from all kinds of numbers
Data are extracted according to library, converts and is sent on Cloud Server by WebService, then page end send a request to database
Medical record data is transferred, front end is presented in;School's information portion is submitted in the realization of LocalETL logic using scripted code completely, is realized
Data extraction process it is fully transparent, guarantee that entire extraction process is monitored offer one and is connect based on unified data interaction
Mouthful;The interface of the unified external interface of several standards is provided, it is real if the existing system of data providing is able to carry out adjustment
The direct docking of existing data;The technical characterstic of data-interface is to support all software development language, therefore existing number at present
It is all realized by expanding a functional module according to provider;
To obtain XML data by interface, parsing XML data is saved to database, inquiry the remote ecg module
To data set by call Highchart plug-in unit open source method be presented in front end page in the form of images;
The real-time imaging module is to be integrated into system using the image engine of profession;System will be on patient's image data
The image engine is reached, parameter is then passed to and packaged HTML is provided to other side, the local plug-in unit of opening can be called, by this
Plug-in unit diagosis.
A kind of remote diagnosis system, the remote diagnosis system include: Cloud Server, several clients;
The Cloud Server includes XML format file storage module, to by the interface UI, attribute, mathematical logic, data
Collection, file is stored in the cloud code library of Cloud Server code in xml format;
The XML format file storage module includes the interface UI storage unit, attribute storage unit, mathematical logic, data
Collection, code storage unit;
The interface UI storage unit patterned interface is divided into several grid, ranks in a manner of table into
Row storage;
The attribute storage unit is to pass through XML tag attribute definition;XML element includes attribute in starting label,
Similar HTML;Attribute provides the additional information about element;
The mathematical logic, data set, code storage unit are to using mathematical logic, data set, code as the value of XML
It is incoming, it is parsed by each client;
The client includes interface display unit, display circle of the interface display unit to show doctor and patient terminal
Face;Interface display unit is to show video area, chat area, case history interface, key area.
As a preferred solution of the present invention, the system comprises instant messaging module, real-time video module, medical history notes
Record module, remote ecg module, real-time imaging module;
The instant messaging module includes text, picture, voice, small video to send content;Node.js filtering is all
The WebSocket for needing to receive message, then sends information;
The real-time video module is to realize that the video between hospital and patient connects;WebSocket need with it is another
When WebSocket establishes connection, WebSocket transmit a request to NAT, and NAT, which is retransmited, to be requested to another WebSocket,
After the WebSocket agrees to request, send back to message to NAT, the WebSocket for initiating request be transmitted to by NAT, so latter two
WebSocket establishes video connection;
Powerful data converting function of the medical history taking module to borrow the preposition working machine of LocalETL, from all kinds of numbers
Data are extracted according to library, converts and is sent on Cloud Server by WebService, then page end send a request to database
Medical record data is transferred, front end is presented in;
To obtain XML data by interface, parsing XML data is saved to database, inquiry the remote ecg module
To data set by call Highchart plug-in unit open source method be presented in front end page in the form of images;
The real-time imaging module is to be integrated into system using the image engine of profession;System will be on patient's image data
The image engine is reached, parameter is then passed to and packaged HTML is provided to other side, the local plug-in unit of opening can be called, by this
Plug-in unit diagosis.
As a preferred solution of the present invention, the real-time video module includes that signal server, firewall burrow clothes
Business device;Signal server be for manage and assist call terminal establish go center point-to-point call a role;Fire prevention
The wall server that burrows includes Simple Traversal of UDP Through Network Address Translators server, TURN protocol server, ICE protocol server.
As a preferred solution of the present invention, in the medical history taking module, LocalETL logic, which is realized, uses script
Code submits to school's information portion completely, realizes the fully transparent of data extraction process, guarantees that entire extraction process is monitored
Offer one based on unified data interaction interface;The interface of the unified external interface of several standards is provided, if data
The existing system of provider is able to carry out adjustment, realizes the direct docking of data;The technical characterstic of data-interface is to support at present
All software development languages, therefore existing data providing is all realized by expanding a functional module.
As a preferred solution of the present invention, the client includes XML parsing module, to parse XML;XML solution
Analysing module includes DOM resolution unit, SAX resolution unit;
The DOM resolution unit parses XML using DOM technology;DOM is the node or information segment with hierarchical structure tissue
Set;This hierarchical structure allows developer to find specific information in tree.It analyzes the structure and usually requires load entirely
Document and tectonic remnant basin structure, then can just do any work;Since it is based on level of information, DOM is considered as
Based on tree or it is object-based.
As a preferred solution of the present invention, the SAX resolution unit utilizes that XML is event driven to push away mould for handling
Type SAX technology parses XML;For being more than the document of setting capacity, parsing loads entire document and parses XML using SAX technology, right
DOM technology is then used to parse it in the document for being less than setting capacity;It can immediately begin to analyze, without waiting for all
Data are processed;And application program only checks data when reading data, therefore does not need to store data in memory;It answers
Entire document need not be parsed with program, stops parsing when certain condition obtains meeting.
As a preferred solution of the present invention, the DOM resolution unit includes batch read-write subelement, batch modification
Unit;
When needing to obtain a certain attribute, this attribute, which needs to calculate, can just obtain also, exist in queue not yet to submit
DOM modification operation, the then at this point, queue of DOM modification operation will be submitted;In order to improve efficiency, reduces and update render
The number of tree, the batch read-write subelement first unify reading attributes, then unify modification DOM, can be reduced update in this way
The number of render tree;
When needing to make a large amount of modifications to DOM, the batch modification subelement first creates a virtual nodes, will own
Modification is attached to the node, finally disposably submits to the dummy node in node present on render tree, then quite
It is operated in only having submitted primary modification.
The beneficial effects of the present invention are: a variety of letters can be presented at an interface in remote diagnosis system proposed by the present invention
Breath;Simultaneously realize cross-platform instant video see the doctor, class wechat instant chat, and realize IDC personal health archives storage/
It has access to, the really medical treatment such as remote image CT/X, remote ecg, long-range screen are seen the doctor, Telepathology, long-range LIS, image cloud
Cloud;Improve professional platform independence, real-time and the efficiency of interaction.
Detailed description of the invention
Fig. 1 is the composition schematic diagram of remote diagnosis system of the present invention.
Fig. 2 is the schematic diagram of the cross-platform instant video transmission of present system.
Fig. 3 is the schematic diagram of present system real time remote ECG Data Transmission Based.
Fig. 4 is the schematic diagram of present system real-time imaging transmission.
Fig. 5 is the schematic diagram of present system client display interface.
Specific embodiment
The preferred embodiment that the invention will now be described in detail with reference to the accompanying drawings.
Embodiment one
Referring to Fig. 1, the remote diagnosis system includes: Cloud Server present invention discloses a kind of remote diagnosis system
1, several clients 2.Meanwhile the client includes interface display unit, interface display unit is to show doctor and patient
The display interface of terminal;Interface display unit is to show video area, chat area, case history interface, key area.
The system comprises instant messaging module, real-time video module, medical history taking module, remote ecg module, in real time
Image module.
The instant messaging module includes text, picture, voice, small video to send content;Node.js filtering is all
The WebSocket for needing to receive message, then sends information.
The real-time video module is to realize that the video between hospital and patient connects;WebSocket need with it is another
When WebSocket establishes connection, WebSocket transmit a request to NAT, and NAT, which is retransmited, to be requested to another WebSocket,
After the WebSocket agrees to request, send back to message to NAT, the WebSocket for initiating request be transmitted to by NAT, so latter two
WebSocket establishes video connection.
The real-time video module includes that signal server, firewall burrow server;Signal server is for managing
A role for going the point-to-point call at center is established with assistance call terminal;Firewall burrow server include Simple Traversal of UDP Through Network Address Translators clothes
Business device, TURN protocol server, ICE protocol server.
Powerful data converting function of the medical history taking module to borrow the preposition working machine of LocalETL, from all kinds of numbers
Data are extracted according to library, converts and is sent on Cloud Server by WebService, then page end send a request to database
Medical record data is transferred, front end is presented in;School's information portion is submitted in the realization of LocalETL logic using scripted code completely, is realized
Data extraction process it is fully transparent, guarantee that entire extraction process is monitored offer one and is connect based on unified data interaction
Mouthful;The interface of the unified external interface of several standards is provided, it is real if the existing system of data providing is able to carry out adjustment
The direct docking of existing data;The technical characterstic of data-interface is to support all software development language, therefore existing number at present
It is all realized by expanding a functional module according to provider.
To obtain XML data by interface, parsing XML data is saved to database, inquiry the remote ecg module
To data set by call Highchart plug-in unit open source method be presented in front end page in the form of images.
The real-time imaging module is to be integrated into system using the image engine of profession;System will be on patient's image data
The image engine is reached, parameter is then passed to and packaged HTML is provided to other side, the local plug-in unit of opening can be called, by this
Plug-in unit diagosis.
Referring to Fig. 1, the Cloud Server 1 includes XML format file storage module 10, to by the interface UI, attribute, number
According to logic, data set, code, file is stored in the cloud code library of Cloud Server in xml format.
The XML format file storage module 10 includes the interface UI storage unit 11, and attribute storage unit 12, data are patrolled
It collects, data set, code storage unit 13.
Patterned interface be divided into several grid by the interface UI storage unit 11, and ranks are in a manner of table
It is stored.
The attribute storage unit 12 is to pass through XML tag attribute definition;XML element is in starting label comprising belonging to
Property, similar HTML;Attribute provides the additional information about element.
The mathematical logic, data set, code storage unit 13 are to using mathematical logic, data set, code as XML's
Value is incoming, is parsed by each client.
The client 2 includes XML parsing module 20, to parse XML;XML parsing module 20 includes DOM resolution unit
21, SAX resolution unit 22.
The DOM resolution unit 21 parses XML using DOM technology;DOM is the node or message slot with hierarchical structure tissue
The set of section;This hierarchical structure allows developer to find specific information in tree.Analyze the structure usually require to load it is whole
A document and tectonic remnant basin structure, then can just do any work;Since it is based on level of information, DOM is considered
It is to be based on tree or object-based.
The SAX resolution unit 22, which is utilized, parses XML for handling the event driven model SAX technology that pushes away of XML;For super
The document of setting capacity is crossed, parsing loads entire document and parses XML using SAX technology, for being less than the document of setting capacity
Then it is parsed using DOM technology;It can immediately begin to analyze, it is processed to without waiting for all data;And application program
Data only are checked when reading data, therefore do not need to store data in memory;Application program need not parse entire text
Shelves stop parsing when certain condition obtains meeting.
The DOM resolution unit includes batch read-write subelement, batch modification subelement.
When needing to obtain a certain attribute, this attribute, which needs to calculate, can just obtain also, exist in queue not yet to submit
DOM modification operation, the then at this point, queue of DOM modification operation will be submitted;In order to improve efficiency, reduces and update render
The number of tree, the batch read-write subelement first unify reading attributes, then unify modification DOM, can be reduced update in this way
The number of render tree.
When needing to make a large amount of modifications to DOM, the batch modification subelement first creates a virtual nodes, will own
Modification is attached to the node, finally disposably submits to the dummy node in node present on render tree, then quite
It is operated in only having submitted primary modification.
Embodiment two
A kind of remote diagnosis system, the remote diagnosis system include: Cloud Server, several clients;
The Cloud Server includes XML format file storage module, to by the interface UI, attribute, mathematical logic, data
Collection, file is stored in the cloud code library of Cloud Server code in xml format;
The XML format file storage module includes the interface UI storage unit, attribute storage unit, mathematical logic, data
Collection, code storage unit;
The interface UI storage unit patterned interface is divided into several grid, ranks in a manner of table into
Row storage;
The attribute storage unit is to pass through XML tag attribute definition;XML element includes attribute in starting label,
Similar HTML;Attribute provides the additional information about element;
The mathematical logic, data set, code storage unit are to using mathematical logic, data set, code as the value of XML
It is incoming, it is parsed by each client;
The client includes interface display unit, display circle of the interface display unit to show doctor and patient terminal
Face;Interface display unit is to show video area, chat area, case history interface, key area.
Embodiment three
The present invention discloses one kind, a kind of remote diagnosis system, remotely sees a doctor main interface (including i.e. based on mobile Internet
When communication, real-time video, simple medical history taking, the integration of real time remote electrocardio/four pieces of image), realize Medical service information pass
It passs, overturns traditional diagnosis and treatment mode, realize online remote diagnosis, try hard to realize the problem of mitigating " the difficulty of getting medical service ".
The system comprises instant messaging module, real-time video module, medical history taking module, remote ecg module, in real time
Image module.
Instant messaging module: transmittable content of chatting includes text, picture, voice, small video.
Realization principle: Node.js filtering institute it is in need reception message WebSocket, then send information.
The input and output of text:
Inlet flow: it uploads the text that comes up and is stored directly in database
Output stream: it directly displays
The input and output of picture, voice, small video:
Inlet flow: the picture file uploaded up is to be stored in database by binary-coded form
Output stream: picture is resolved to by binary mode
Referring to Fig. 2, real-time video realization principle: WebSocket need with another WebSocket establish connection when
It waiting, WebSocket transmit a request to NAT, and NAT, which is retransmited, to be requested to another WebSocket, the WebSocket to agree to after requesting,
Message is sent back to NAT, the WebSocket for initiating request is being transmitted to by NAT, so latter two WebSocket establishes video connection.
Accomplish cross-platform instant video, to rely on Intranet through-transmission technique:
A) signal server (Signaling Server) conversed
Signal server be for manage and assist call terminal establish go center point-to-point call a role
B) 2. firewalls burrow server (STUN/TURN/ICE Server)
Currently, most people are when connecting internet all in behind firewall or the family of the privately owned subnet of configuration
(NAT) behind router, it is not wide area network IP address that this, which results in the IP address of our computer, so cannot be mutual
Direct Communication
STUN (the UDP simple traversal of Simple Traversal of UDP over NATs, NAT);Simple Traversal of UDP Through Network Address Translators clothes
Business device is exactly for solving these problems
(Traversal Using Relay NAT allows to cross over NAT or fire prevention on the line of TCP or UDP TURN
Wall
ICE agreement is exactly the comprehensive NAT traversal scheme of 2 kinds of comprehensive front agreement
Simple medical history taking: the powerful data converting function of the preposition working machine of LocalETL is borrowed, is mentioned from types of databases
Access evidence, is converted and transmitted on Cloud Server and (passes through WebService), then page end send a request to database and transfer
Medical record data is presented in front end.
LocalETL has functional characteristics below:
1) easy to operate, click directly on execute file be " .bat " file or this document be put under windows appoint
Under business plan, timing operation.
2) school's open database and prompt Database field are wanted.
3) logic, which is realized, uses script, which can submit to school's information portion completely, realize data pick-up mistake
Journey it is fully transparent, ensure that entire extraction process is monitored
One is provided based on unified data interaction interface.We provide connecing for the unified external interface of several standards
Mouthful, if the existing system of data providing is able to carry out adjustment, the direct docking of data may be implemented.Data-interface
Technical characterstic is to support software development languages all at present, therefore existing data providing can be by expanding a function
Can module realize.
Referring to Fig. 3, real time remote electrocardio: obtaining XML data by interface, parsing XML data is saved to database, looked into
The data set ask is by calling the open source method of Highchart plug-in unit that can be presented in front end page in the form of images.
Referring to Fig. 4, real-time imaging: it is flat to be integrated into cloud using the image engine (product for quoting other companies) of profession
Platform.Patient's image data is uploaded to the image engine by cloud platform, is then passed to parameter and is provided packaged HTML to other side, i.e.,
The local plug-in unit of opening can be called, it can diagosis by the plug-in unit.
It realizes at interface
1, video area: patient's doctor video clip, initiation/closing video, full frame/cancellation are full frame.
2, chat area: in figure, issuing information+sending number of people picture, and the information oneself issued is kept right display, other side's sending
Information keeps left display.Transmittable text, small video, voice, picture.(the capable of emitting video in mobile terminal and voice).
3, case history area:
Case history main interface:
Patient's essential information: personal basic document, social security, allergies, main suit, diagnosis, past medical history;
Examine check data area: height, weight, blood pressure, heart rate, body temperature, other;
Therapeutic regimen: drug, drug specifications, quantity, metering, the frequency, approach;
Reservation and rehabilitation scheme (can reserve or remind patient's points for attention);
Button:
[history case history]: cloud hospital history and entity hospital history (the patient history data obtained by interface);
It obtains [physical examination data];
Auxiliary examination: [LIS], [PACS], [shooting function].
In conclusion remote diagnosis system proposed by the present invention, can be presented much information at an interface;Simultaneously realize across
The instant video of platform sees the doctor, class wechat instant chat, and realizes IDC personal health archives storage/have access to, remote image
CT/X, remote ecg, long-range screen see the doctor, the real medical cloud such as Telepathology, long-range LIS, image cloud;Improve interaction
Professional platform independence, real-time and efficiency.
Description and application of the invention herein are illustrative, is not wishing to limit the scope of the invention to above-described embodiment
In.The deformation and change of embodiments disclosed herein are possible, the realities for those skilled in the art
The replacement and equivalent various parts for applying example are well known.It should be appreciated by the person skilled in the art that not departing from the present invention
Spirit or essential characteristics in the case where, the present invention can in other forms, structure, arrangement, ratio, and with other components,
Material and component are realized.Without departing from the scope and spirit of the present invention, can to embodiments disclosed herein into
The other deformations of row and change.