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 technology
Internet domestic at present+cloud hospital all more or less exists than larger defect in structure.The widest to be distributed
Domestic first network hospital-Guangdong Province's network hospital as a example, Guangdong Province's network hospital is the network reached the standard grade in the Second Academy of Guangdong Province
Hospital, based on this carrier of network hospital, it is common that this institute builds up first province of the whole province, county, town, village's level Four health care in locality
Body.Villager only need to can accept digerait's diagnosis and treatment by network at home.This platform mainly combines medicine using hospital at present
Shop long-distance video, direct and online doctor's consulting, complete 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 uses the network screen conferencing technology with Flash as core, this is a base
In the Activex plug-in unit of IE core, therefore cannot realize to browser (such as Chrome, the Firefox etc. in addition to IE kernel
The higher browser of market utilization rate) support, also therefore cannot realize current main-stream cell phone system IOS, Android are propped up
Hold;Therefore its APP end software slowly cannot be released always.Even in addition, APP video newly developed, also cannot be with existing base
Video in FLASH also cannot be carried out video calling.So also imply that user has to operating computer, 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, at home
Health control cannot be realized.
In view of this, nowadays in the urgent need to designing a kind of new remote diagnosis mode, to overcome existing diagnosis and treatment mode to deposit
Drawbacks described above.
Content of the invention
The technical problem to be solved is:A kind of remote diagnosis system is provided, can present at an interface multiple
Information;Realize simultaneously cross-platform instant video see the doctor, class wechat instant chat, and achieve 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. are real
Medical cloud;Improve professional platform independence, real-time and the efficiency of interaction.
For solving above-mentioned technical problem, the present invention adopts the following technical scheme that:
A kind of remote diagnosis system, described remote diagnosis system includes:Cloud Server, some clients;
Described Cloud Server includes XML format file storage module, in order to by UI interface, attribute, mathematical logic, data
Collect, file is stored in the high in the clouds code library of Cloud Server code in xml format;
Described XML format file storage module includes UI interface memory cell, attribute storage unit, mathematical logic, data
Collection, code storage unit;
In order to patterned interface is divided into some grid, ranks are entered in the way of form described UI interface memory cell
Row storage;
Described attribute storage unit is in order to by XML tag attribute definition;XML element comprises attribute in starting label,
Similar HTML;Attribute provides the extraneous information with regard to element;
Described mathematical logic, data set, code storage unit in order to using mathematical logic, data set, code as XML value
Incoming, parsed by each client;
Described client includes XML parsing module, in order to parse XML;XML parsing module includes DOM resolution unit, SAX
Resolution unit;
Described DOM resolution unit utilizes DOM technology to parse XML;DOM is with the node of hierarchical structure tissue or information segment
Set;This hierarchical structure allows developer to find customizing messages in tree.Analyze this structure and typically require loading entirely
Document and tectonic remnant basin structure, then just can do any work;Because it is based on level of information, therefore DOM is considered as
Based on tree or object-based;
Described SAX resolution unit utilizes and parses XML for processing the event driven model SAX technology that pushes away of XML;For exceeding
Set the document of capacity, parsing loads whole document and uses SAX technology to parse XML, for not less than the document setting capacity then
Using DOM technology, it is parsed;Analysis can be immediately begun to it is not necessary to wait all of data to be processed;And application program is only
It is to check data when reading data, therefore do not need to store data in internal memory;Application program need not parse whole document,
Stop parsing when certain condition is met;
Described DOM resolution unit includes batch and reads and writes subelement, batch modification subelement;
When needing to obtain a certain attribute, this attribute need to calculate just can obtain and, queue in there is not yet submission
DOM modification operation, then now, the queue of DOM modification operation will be submitted;In order to improve efficiency, reduce and update render
The number of times of tree, reading attributes first unified by described batch read-write subelement, and then unified modification DOM, so can reduce renewal
The number of times of render tree;
When needing DOM is made a large amount of modification, described batch modification subelement first creates virtual nodes, will own
Modification is attached to this node, finally disposably submits in node present on render tree by this dummy node, then quite
Operate in only have submitted once modification;
Described client includes interface display unit, and interface display unit is in order to show display circle of doctor and patient terminal
Face;Interface display unit is in order to show video area, chat area, case history interface, key area;
Described system includes instant messaging module, real-time video module, medical history taking module, remote ecg module, in real time
Image module;
Described instant messaging module includes word, picture, voice, small video in order to transmission content;Node.js filters all
Need to receive the WebSocket of message, then send information;
Described real-time video module is connected in order to realize the video between hospital and patient;WebSocket need with another
WebSocket sets up when connection, and WebSocket transmit a request to NAT, and NAT retransmits request to another WebSocket,
After this WebSocket agrees to request, beam back message to NAT, by NAT being transmitted to the WebSocket initiating request, so latter two
WebSocket sets up video and connects.
Described real-time video module includes signal server, fire wall burrows server;Signal server is used to manage
With a role assisting call terminal to set up the point-to-point call going to center;Fire wall burrow server include Simple Traversal of UDP Through Network Address Translators clothes
Business device, TURN protocol server, ICE protocol server;
Described medical history taking module in order to borrow the powerful data converting function of the preposition working machine of LocalETL, from all kinds of numbers
Extract data according to storehouse, change and be sent on Cloud Server by WebService, then page end sends a request to database
Transfer medical record data, be presented in front end;LocalETL logic realization submits to school's information portion completely using scripted code, realizes
Data extraction process fully transparent is it is ensured that whole extraction process is that monitored offer one is connect based on unified data interaction
Mouthful;The interface of the unified external interface of several standards is provided, if the existing system of data providing can be adjusted, real
The direct docking of existing data;The technical characterstic of data-interface is to support all of software development language at present, therefore existing number
All realized by expanding One function module according to provider;
In order to obtain XML data by interface, parsing XML data preserves to database, inquires about described remote ecg module
To data set front end page is presented in the form of images by the method for increasing income calling Highchart plug-in unit;
Described real-time imaging module is in order to be integrated into system using professional image engine;System is by patient's image data
Reach this image engine, then incoming parameter provides packaged HTML to other side, you can calls and opens local plug-in unit, by this
Plug-in unit diagosis.
A kind of remote diagnosis system, described remote diagnosis system includes:Cloud Server, some clients;
Described Cloud Server includes XML format file storage module, in order to by UI interface, attribute, mathematical logic, data
Collect, file is stored in the high in the clouds code library of Cloud Server code in xml format;
Described XML format file storage module includes UI interface memory cell, attribute storage unit, mathematical logic, data
Collection, code storage unit;
In order to patterned interface is divided into some grid, ranks are entered in the way of form described UI interface memory cell
Row storage;
Described attribute storage unit is in order to by XML tag attribute definition;XML element comprises attribute in starting label,
Similar HTML;Attribute provides the extraneous information with regard to element;
Described mathematical logic, data set, code storage unit in order to using mathematical logic, data set, code as XML value
Incoming, parsed by each client;
Described client includes interface display unit, and interface display unit is in order to show display circle of doctor and patient terminal
Face;Interface display unit is in order to show video area, chat area, case history interface, key area.
As a preferred embodiment of the present invention, described system includes instant messaging module, real-time video module, medical history note
Record module, remote ecg module, real-time imaging module;
Described instant messaging module includes word, picture, voice, small video in order to transmission content;Node.js filters all
Need to receive the WebSocket of message, then send information;
Described real-time video module is connected in order to realize the video between hospital and patient;WebSocket need with another
WebSocket sets up when connection, and WebSocket transmit a request to NAT, and NAT retransmits request to another WebSocket,
After this WebSocket agrees to request, beam back message to NAT, by NAT being transmitted to the WebSocket initiating request, so latter two
WebSocket sets up video and connects;
Described medical history taking module in order to borrow the powerful data converting function of the preposition working machine of LocalETL, from all kinds of numbers
Extract data according to storehouse, change and be sent on Cloud Server by WebService, then page end sends a request to database
Transfer medical record data, be presented in front end;
In order to obtain XML data by interface, parsing XML data preserves to database, inquires about described remote ecg module
To data set front end page is presented in the form of images by the method for increasing income calling Highchart plug-in unit;
Described real-time imaging module is in order to be integrated into system using professional image engine;System is by patient's image data
Reach this image engine, then incoming parameter provides packaged HTML to other side, you can calls and opens local plug-in unit, by this
Plug-in unit diagosis.
As a preferred embodiment of the present invention, described real-time video module includes signal server, fire wall burrows clothes
Business device;Signal server is used to manage and assist call terminal to set up a role of the point-to-point call going to center;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 embodiment of the present invention, in described medical history taking module, LocalETL logic realization uses script
School's information portion submitted to completely by code, realizes the fully transparent of data extraction process it is ensured that whole extraction process is monitored
Offer one based on unified data interaction interface;There is provided the interface of the unified external interface of several standards, if data
The existing system of provider can be adjusted, and realizes the direct docking of data;The technical characterstic of data-interface is to support at present
All of software development language, therefore existing data providing is all realized by expanding One function module.
As a preferred embodiment of the present invention, described client includes XML parsing module, in order to parse XML;XML solves
Analysis module includes DOM resolution unit, SAX resolution unit;
Described DOM resolution unit utilizes DOM technology to parse XML;DOM is with the node of hierarchical structure tissue or information segment
Set;This hierarchical structure allows developer to find customizing messages in tree.Analyze this structure and typically require loading entirely
Document and tectonic remnant basin structure, then just can do any work;Because it is based on level of information, therefore DOM is considered as
Based on tree or object-based.
As a preferred embodiment of the present invention, described SAX resolution unit utilizes that XML is event driven to push away mould for processing
Type SAX technology parses XML;For exceeding the document setting capacity, parsing loads whole document and uses SAX technology to parse XML, right
Then using DOM technology, it is parsed in the document not less than setting capacity;Analysis can be immediately begun to it is not necessary to wait all of
Data is processed;And application program simply checks data when reading data, does not therefore need to store data in internal memory;Should
Whole document need not be parsed with program, stop parsing when certain condition is met.
As a preferred embodiment of the present invention, described DOM resolution unit includes batch and reads and writes subelement, batch modification
Unit;
When needing to obtain a certain attribute, this attribute need to calculate just can obtain and, queue in there is not yet submission
DOM modification operation, then now, the queue of DOM modification operation will be submitted;In order to improve efficiency, reduce and update render
The number of times of tree, reading attributes first unified by described batch read-write subelement, and then unified modification DOM, so can reduce renewal
The number of times of render tree;
When needing DOM is made a large amount of modification, described batch modification subelement first creates virtual nodes, will own
Modification is attached to this node, finally disposably submits in node present on render tree by this dummy node, then quite
Operate in only have submitted once modification.
The beneficial effects of the present invention is:Remote diagnosis system proposed by the present invention, can assume multiple letters at an interface
Breath;Realize simultaneously cross-platform instant video see the doctor, class wechat instant chat, and achieve IDC personal health archives storage/
Have access to, remote image CT/X, remote ecg, long-range screen are seen the doctor, the real medical treatment such as Telepathology, long-range LIS, image cloud
Cloud;Improve professional platform independence, real-time and the efficiency of interaction.
Brief description
Fig. 1 is the composition schematic diagram of remote diagnosis system of the present invention.
Fig. 2 is the schematic diagram of present system cross-platform instant video transmission.
Fig. 3 is the schematic diagram of present system real time remote ECG Data Transmission Based.
The schematic diagram that Fig. 4 transmits for present system real-time imaging.
Fig. 5 is the schematic diagram of present system client display interface.
Specific embodiment
Describe the preferred embodiments of the present invention below in conjunction with the accompanying drawings in detail.
Embodiment one
Refer to Fig. 1, present invention is disclosed a kind of remote diagnosis system, described remote diagnosis system includes:Cloud Server
1st, some clients 2.Meanwhile, described client includes interface display unit, and interface display unit is in order to show doctor and patient
The display interface of terminal;Interface display unit is in order to show video area, chat area, case history interface, key area.
Described system includes instant messaging module, real-time video module, medical history taking module, remote ecg module, in real time
Image module.
Described instant messaging module includes word, picture, voice, small video in order to transmission content;Node.js filters all
Need to receive the WebSocket of message, then send information.
Described real-time video module is connected in order to realize the video between hospital and patient;WebSocket need with another
WebSocket sets up when connection, and WebSocket transmit a request to NAT, and NAT retransmits request to another WebSocket,
After this WebSocket agrees to request, beam back message to NAT, by NAT being transmitted to the WebSocket initiating request, so latter two
WebSocket sets up video and connects.
Described real-time video module includes signal server, fire wall burrows server;Signal server is used to manage
With a role assisting call terminal to set up the point-to-point call going to center;Fire wall burrow server include Simple Traversal of UDP Through Network Address Translators clothes
Business device, TURN protocol server, ICE protocol server.
Described medical history taking module in order to borrow the powerful data converting function of the preposition working machine of LocalETL, from all kinds of numbers
Extract data according to storehouse, change and be sent on Cloud Server by WebService, then page end sends a request to database
Transfer medical record data, be presented in front end;LocalETL logic realization submits to school's information portion completely using scripted code, realizes
Data extraction process fully transparent is it is ensured that whole extraction process is that monitored offer one is connect based on unified data interaction
Mouthful;The interface of the unified external interface of several standards is provided, if the existing system of data providing can be adjusted, real
The direct docking of existing data;The technical characterstic of data-interface is to support all of software development language at present, therefore existing number
All realized by expanding One function module according to provider.
In order to obtain XML data by interface, parsing XML data preserves to database, inquires about described remote ecg module
To data set front end page is presented in the form of images by the method for increasing income calling Highchart plug-in unit.
Described real-time imaging module is in order to be integrated into system using professional image engine;System is by patient's image data
Reach this image engine, then incoming parameter provides packaged HTML to other side, you can calls and opens local plug-in unit, by this
Plug-in unit diagosis.
Refer to Fig. 1, described Cloud Server 1 includes XML format file storage module 10, in order to by UI interface, attribute, number
According to logic, data set, code, file is stored in the high in the clouds code library of Cloud Server in xml format.
Described XML format file storage module 10 includes UI interface memory cell 11, attribute storage unit 12, and data is patrolled
Volume, data set, code storage unit 13.
, in order to patterned interface is divided into some grid, ranks are in the way of form for described UI interface memory cell 11
Stored.
Described attribute storage unit 12 is in order to by XML tag attribute definition;XML element comprises to belong in starting label
Property, similar HTML;Attribute provides the extraneous information with regard to element.
Described mathematical logic, data set, code storage unit 13 in order to using mathematical logic, data set, code as XML's
Value is incoming, is parsed by each client.
Described client 2 includes XML parsing module 20, in order to parse XML;XML parsing module 20 includes DOM resolution unit
21st, SAX resolution unit 22.
Described DOM resolution unit 21 utilizes DOM technology to parse XML;DOM is with the node of hierarchical structure tissue or message slot
The set of section;This hierarchical structure allows developer to find customizing messages in tree.Analyze this structure typically require loading whole
Individual document and tectonic remnant basin structure, then just can do any work;Because it is based on level of information, therefore DOM is considered
It is based on tree or object-based.
Described SAX resolution unit 22 utilizes and parses XML for processing the event driven model SAX technology that pushes away of XML;For super
Cross the document setting capacity, parsing loads whole document and uses SAX technology to parse XML, for not less than the document setting capacity
Then using DOM technology, it is parsed;Analysis can be immediately begun to it is not necessary to wait all of data to be processed;And application program
Simply check data when reading data, therefore do not need to store data in internal memory;Application program need not parse whole literary composition
Shelves, stop parsing when certain condition is met.
Described DOM resolution unit includes batch and reads and writes subelement, batch modification subelement.
When needing to obtain a certain attribute, this attribute need to calculate just can obtain and, queue in there is not yet submission
DOM modification operation, then now, the queue of DOM modification operation will be submitted;In order to improve efficiency, reduce and update render
The number of times of tree, reading attributes first unified by described batch read-write subelement, and then unified modification DOM, so can reduce renewal
The number of times of render tree.
When needing DOM is made a large amount of modification, described batch modification subelement first creates virtual nodes, will own
Modification is attached to this node, finally disposably submits in node present on render tree by this dummy node, then quite
Operate in only have submitted once modification.
Embodiment two
A kind of remote diagnosis system, described remote diagnosis system includes:Cloud Server, some clients;
Described Cloud Server includes XML format file storage module, in order to by UI interface, attribute, mathematical logic, data
Collect, file is stored in the high in the clouds code library of Cloud Server code in xml format;
Described XML format file storage module includes UI interface memory cell, attribute storage unit, mathematical logic, data
Collection, code storage unit;
In order to patterned interface is divided into some grid, ranks are entered in the way of form described UI interface memory cell
Row storage;
Described attribute storage unit is in order to by XML tag attribute definition;XML element comprises attribute in starting label,
Similar HTML;Attribute provides the extraneous information with regard to element;
Described mathematical logic, data set, code storage unit in order to using mathematical logic, data set, code as XML value
Incoming, parsed by each client;
Described client includes interface display unit, and interface display unit is in order to show display circle of doctor and patient terminal
Face;Interface display unit is in order to show video area, chat area, case history interface, key area.
Embodiment three
The present invention discloses a kind of a kind of, remote diagnosis system, and (inclusion is the main interface of remotely seeing a doctor 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
Pass, overturn traditional diagnosis and treatment mode, realize online remote diagnosis, the problem trying hard to realize relaxing " difficulty and high cost of getting medical ".
Described system includes instant messaging module, real-time video module, medical history taking module, remote ecg module, in real time
Image module.
Instant messaging module:Chat transmission content can include word, picture, voice, small video.
Realize principle:Node.js filter institute in need receive message WebSocket, then transmission information.
The input of word and output:
- inlet flow:Upload the word that comes up and be stored directly in database
- output stream:Directly display
Picture, voice, the input of small video and output:
- inlet flow:Uploading the picture file coming up is to be saved in database by binary-coded form
- output stream:Picture is resolved to by binary mode
Refer to Fig. 2, real-time video realizes principle:WebSocket need with another WebSocket foundation be connected when
Wait, WebSocket transmit a request to NAT, NAT retransmits request to another WebSocket, after this WebSocket agrees to request,
Beam back message to NAT, the WebSocket initiating request is being transmitted to by NAT, so latter two WebSocket sets up video and connects.
Accomplish cross-platform instant video, Intranet through-transmission technique will be relied on:
A) signal server (Signaling Server) conversed
Signal server is used to manage and assist call terminal to set up a role of the point-to-point call going to center
B) 2. fire walls burrow server (STUN/TURN/ICE Server)
At present, most people connect internet when all in fire wall after or configure privately owned subnet family
(NAT), after router, the IP address that this results in our computer is not wide area network IP address, so can not be each other
Direct Communication.
STUN (Simple Traversal of UDP over NATs, the UDP simple traversal of NAT);Simple Traversal of UDP Through Network Address Translators takes
Business device is just used to solve these problems
(Traversal Using Relay NAT allows to cross over NAT or fire prevention on the line of TCP or UDP to TURN
Wall
ICE agreement is exactly the comprehensive NAT traversal scheme of 2 kinds of agreements before synthesis.
Simple medical history taking:Borrow the powerful data converting function of the preposition working machine of LocalETL, carry from types of databases
Fetch data, be converted and transmitted on Cloud Server (by WebService), then page end sends a request to database and transfers
Medical record data, is presented in front end.
LocalETL has following functional characteristics:
1) simple to operate, click directly on execution file be " .bat " and file or this document put under windows appoint
Under business plan, timing operation.
2) school's open database and prompting Database field are wanted.
3) logic realization uses script, and this scripted code can submit to school's information portion completely, realizes data pick-up mistake
Journey fully transparent is it is ensured that whole extraction process is monitored
There is provided one based on unified data interaction interface.We provide connecing of the unified external interface of several standards
Mouthful, if the existing system of data providing can be adjusted, then the direct docking of data can be realized.Data-interface
Technical characterstic is to support all of software development language at present, and therefore existing data providing can be by expanding a work(
Can module realizing.
Refer to Fig. 3, real time remote electrocardio:XML data is obtained by interface, parsing XML data preserves to database, looks into
The data set ask can be presented in front end page in the form of images by the method for increasing income calling Highchart plug-in unit.
Refer to Fig. 4, real-time imaging:It is integrated into cloud using professional image engine (quoting the product of other companies) to put down
Platform.Patient's image data is uploaded to this image engine by cloud platform, and then incoming parameter provides packaged HTML to other side, that is,
Can call and open local plug-in unit, can diagosis by this plug-in unit.
Interface is realized
1st, video area:Patient's doctor video clip, initiation/closing video, full frame/cancellation are full frame.
2nd, chat area:As in figure, send information+send human head picture, the information oneself sending is kept right display, other side sends
Information keeps left display.Word, small video, voice, picture can be sent.(mobile terminal can send video and voice).
3rd, case history area:
Case history main interface:
- patient essential information:Personal basic document, social security, allergies, main suit, diagnosis, past medical history;
- inspection checks data area:Height, body weight, blood pressure, heart rate, body temperature, other;
- therapeutic regimen:Medicine, drug specifications, quantity, metering, the frequency, approach;
- reservation and rehabilitation scheme (can preengage or remind patient's points for attention);
Button:
-【History case history】:Cloud hospital history and entity hospital history (the patient history data being obtained by interface);
- obtain【Have a medical check-up data】;
- auxiliary examination:【LIS】、【PACS】、【Shoot function】.
In sum, remote diagnosis system proposed by the present invention, can assume much information at an interface;Realize simultaneously across
The instant video of platform is seen the doctor, class wechat instant chat, and achieves IDC personal health archives storage/have access to, remote image
The medical cloud that CT/X, remote ecg, long-range screen are seen the doctor, Telepathology, long-range LIS, image cloud etc. are real;Improve interaction
Professional platform independence, real-time and efficiency.
Here description of the invention and application are illustrative, are not wishing to limit the scope of the invention to above-described embodiment
In.The deformation of embodiments disclosed herein and change are possible, real for those skilled in the art
It is known for applying the replacement of example and equivalent various parts.It should be appreciated by the person skilled in the art that without departing from the present invention
Spirit or essential characteristics in the case of, the present invention can in other forms, structure, arrangement, ratio, and with other assemblies,
Material and part are realizing.In the case of without departing from scope and spirit of the present invention, embodiments disclosed herein can be entered
The other deformation of row and change.