The content of the invention
A kind of shortcoming in order to overcome above-mentioned technical problem of the invention, there is provided electrocardio based on Android and cloud computing
Interaction process system and method.
Electrocardio interaction process system based on Android and cloud computing of the invention, it is particular in that:Including electrocardio
Figure measurement module, Android master control borads and cloud computing platform, the ecg measurement module is by analog multiplexer, Wei Chu
Reason device, multichannel transducing signal amplifying circuit and multiple crosslinking electrode compositions, crosslinking electrode are placed in human body corresponding site to realize
Electrocardiosignal is measured;After the output of crosslinking electrode is through the treatment of transducing signal amplifying circuit, the defeated of analog multiplexer is connected to
Enter end, the output of analog multiplexer is defeated after signal amplification circuit, filter circuit, the treatment of analog-digital converter successively
Enter to microprocessor;Microprocessor to be input into ECG's data compression after formed EGC waveform data and EGC parameter data, and
Android master control borads are sent it to through serial communication;
The Android master control borads are used to run Android application programs, and with collection, computing and control action,
Android master control borads are connected with LCDs, 3G/4G/WIFI mixed-media network modules mixed-medias and identity card and swipe the card module;Android master controls
Plate shown the electrocardiosignal of collection by LCDs in the form of waveform, is used by identity card module verification of swiping the card
Family identity, by 3G/4G/WIFI mixed-media network modules mixed-medias will receive EGC waveform data and EGC parameter data with the shape of radio communication
Formula is uploaded to cloud computing platform;
Cloud computing platform is managed to subscriber identity information, to Android master control borads upload EGC waveform data and
EGC parameter data are preserved and processed;Camera and speech ciphering equipment are provided with Android master control borads, user utilizes
Android master control borads can carry out video, voice and/or short message and link up by cloud computing platform with doctor, with the disease to user
Feelings carry out distal end guidance.
Electrocardio interaction process system based on Android and cloud computing of the invention, the quantity of the crosslinking electrode is 5
It is individual, to realize that the five lead heart electric wave signals to user are measured.
The processing method of the electrocardio interaction process system based on Android and cloud computing of the invention, its special feature exists
In being realized by following steps:A) fixation of crosslinking electrodes, the fixation of crosslinking electrode when user measures according to electrocardiosignal
Mode, is fixed in the corresponding site of body, tranquil and correct body position is then kept, to be measured to electrocardiosignal;
B) authentications, user is input into ID card information, Android master by way of module that the close identity card of identity card is swiped the card
The ID card information of acquisition is uploaded to cloud computing platform by control plate by 3G/4G/WIFI mixed-media network modules mixed-medias, to ask to log in;C) is tested
Whether card user is legal, after cloud computing platform receives the ID card information of upload, verifies whether it is legal, and returns to checking knot
Really;If the verification passes, then step d) is performed;D) sends electrocardiogram (ECG) data, after the ID card information of user is verified, cloud meter
Calculate platform and return to the network ID of client to Android master control borads, and enter the electrocardiosignal measure interface of Android master control borads,
Ecg measurement module will gather the electrocardiosignal being made up of EGC waveform data and EGC parameter data and send to Android master
Control the serial ports buffering area of plate;If the ecg signal acquiring of ecg measurement module is f again and again;E) reception of electrocardiogram (ECG) datas,
Android master control borads receive the electrocardiosignal that ecg measurement module sends by following steps:E-1) buffering areas are emptied,
Before Android master control borads read data from serial ports buffering area, the historical data in serial ports buffering area is emptied first, to ensure the heart
The real-time of electromyographic data;Since the e-2) reading of electrocardiogram (ECG) datas, read once after calculating Tms serial ports buffering area is cleared
Data, every time all read the data in buffering area, to ensure the continuity of ECG data;Can be calculated by formula (1)
Go out the retrievable electrocardiosignal number k of every TmsAndroid master control borads:
F is frequent for the ecg signal acquiring of ecg measurement module, f=250bps, k=10;
E-3) data storages, Android master control borads set up queue data structure, during by the electrocardiosignal of collection to gather
Between tandem be stored in data queue;F) drafting of electrocardiograms, user can be by Android master control borads to electrocardiogram
Pattern is set, lead is set, gain arrange parameter is set, and the electrocardiogram of oneself requirement is met to show;Android master controls
Plate draws an electrocardiogram per Tms, and each electrocardiogram draws k group electrocardiogram (ECG) datas, and the method for drafting of this electrocardiogram can not only be protected
Data do not spill in card serial ports buffering area, while also ensure that real-time and continuity that electrocardiogram is drawn;G) electrocardiogram (ECG) datas
Upload, the electrocardiogram (ECG) data of acquisition is uploaded to cloud computing platform, passed through by Android master control borads by 3G/4G/WIFI mixed-media network modules mixed-medias
Following steps are realized:G-1) interception electrocardiogram (ECG) data, user by Android master control borads make electrocardiogram preservation function after,
The electrocardiogram (ECG) data of Android master control borads a length of ts when being intercepted from the electrocardiogram (ECG) data of Real-time Collection, electrocardiogram (ECG) data is by ecg wave form
Data and EGC parameter data are constituted;G-2) the encryption of electrocardiogram (ECG) datas, Android master control borads are by step g-1) in interception the heart
Electric-wave-shape enters the EGC parameter data of interception according to type according to base64 codings and public key encryption is carried out according to lead form
Row base64 is encoded and public key encryption;G-3 EGC waveform data, electrocardio ginseng after the) transmission of electrocardiogram (ECG) datas, coding and encryption
Number data and ID are sent to cloud computing platform using http protocol POST modes;G-4) separation of data, cloud computing platform
After receiving the electrocardiogram (ECG) data of Android master control borads transmission, EGC waveform data, EGC parameter data and user are isolated first
ID;G-5) the decryption and decoding of data, cloud computing platform is to step g-4) the middle EGC waveform data and EGC parameter number for obtaining
According to private key decryption and base64 decodings is carried out, electrocardiogram initial data is obtained, and the data that will be obtained are arrived according to ID storage
In the database of cloud computing platform;H) online services, in the case where user needs doctor to current state of an illness real-time instruction, use
Family sends application by Android master control borads Xiang doctor, and application can carry out video, voice and/or letter by rear user with doctor
Breath is linked up, and doctor checks according to the mandate ECG signal current to user, and appropriate medical care guidance is made to user.
The processing method of the electrocardio interaction process system based on Android and cloud computing of the invention, described in step c)
Checking user whether legal realized by following steps:C-1) judges whether user is legal, and cloud computing platform is received
After the ID card information that Android master control borads are uploaded, judged by judging the ID card information of its user that whether is stored with
Whether it is validated user, if user profile is present, performs step c-2);If user profile does not exist, step is performed
c-3);C-2) judges whether user name or password are correct, and cloud computing platform judges username and password and the storage of user input
It is whether consistent, if unanimously, user's checking passes through, send User logs in successful information to Android master control borads;If close
Code is inconsistent, then perform step c-4);C-3) user's registrations, send " user is non-existent " information to Android master control borads,
And point out the user to carry out new user's registration;User is according to step c-3-1) to c-3-3) registered:C-3-1) user passes through
Android master control borads demonstrate,prove information and send new user's registration information, the entitled user's body of user to cloud computing platform according to user identity
Part card number, acquiescence login password is six after identification card number;C-3-2) cloud computing platform receives new user's registration information, by depositing
Storage user profile completes new user's registration, and returns to user's registration result;C-3-3) user receives " user registration success " information
After complete new user's registration, and automated log on enters electrocardio measure interface;C-4) re-enters information, cloud computing platform to
Android master control borads send " user name or code error " information, to point out user to re-enter username and password.
The processing method of the electrocardio interaction process system based on Android and cloud computing of the invention, described in step d)
The frequency acquisition of EGC waveform data be 250bps, every group of data include lead I, lead II, lead III, lead aVR, lead
Connection aVL, lead aVF and lead V wave-shape amplitude values;The frequency acquisition of the EGC parameter data is 1bps, and it includes electrocardio shape
State, heart rate value, respiratory rate value, ST sections of magnitude of voltage and abnormal cardiac rate code, abnormal cardiac rate code includes stopping fighting, room is quivered/room speed,
R ON T, multiple room morning, paired room morning, single chamber morning, bigeminy, trigeminy, tachycardia, bradycardia, leakage are fought.
The processing method of the electrocardio interaction process system based on Android and cloud computing of the invention, use is set in step h)
Family A is wanted to be sent Xiang doctor B and applied, described online service is realized by following steps:H-1) sends and instructs application, user A
According to the actual demand of oneself, being sent Xiang doctor B needs the online VIP for being instructed to apply;H-2) refuses or accepts applications,
After doctor B receives the VIP applications of user A transmissions, according to actual conditions, received message is sent to user A if receiving, if refusal
Then send refuse information;H-3) user authorizes, and after user A turns into the VIP user of doctor, is cured by the mandate of Android master control borads
Raw B checks the electrocardiogram (ECG) data of oneself;H-4) data analyses, doctor B checks the electrocardiogram (ECG) data of user A after being authorized to, and to user
A electrocardiogram (ECG) datas are analyzed, and analysis result is sent to user A in the form of video, voice or information, are realized to the long-range of user
Diagnosis and guidance.
The processing method of the electrocardio interaction process system based on Android and cloud computing of the invention, described in step f)
Pattern set can in guardian mode, diagnostic mode and operative model optionally first, described lead be set to lead I,
Lead II, lead III, lead aVR, lead aVL, lead aVF and n lead of simultaneous selection, 1≤n≤7 in lead V;Described
Gain is set to the selection in 0.5 times of gain, 1 times of gain and 2 times of gains first, electrocardiogram ordinate does corresponding increasing after selected
Benefit is amplified.
The processing method of the electrocardio interaction process system based on Android and cloud computing of the invention, described in step g)
Ts=8s.
The beneficial effects of the invention are as follows:Electrocardio interaction process system based on Android and cloud computing of the invention and its
Processing method, is measured by ecg measurement module to the EGC waveform data and EGC parameter data of user,
Android master control borads obtain ecg signal data in the form of evidence of fetching again is first emptied, then to using to EGC waveform data
It is separately encoded and encrypts with EGC parameter data, data cloud computing platform is uploaded to by wireless network;Due to ecg wave form with
EGC parameter is in the form of being encoded separately and encrypting, it is ensured that reduction of the receiving terminal to ECG data, it is ensured that data are passed
Defeated correctness.Cloud computing platform is stored to the data for receiving, and user is by Android control panels, doctor by online
Equipment can realize the online exchange of user and doctor, and doctor makes rationally doctor to user by checking the heart real time data of user
Treat and instruct.
Electrocardio interaction process system and its processing method based on Android and cloud computing of the invention, by traditional electrocardio
Figure acquisition mode is combined with popular at present Android mobile platforms and cloud computing platform, realizes the real-time solution of electrocardiogram
Analysis, drafting, transmission and mandate are shared, can enter as a kind of effective ambulatory medical device, the positive medical information that promoted
Journey.
Specific embodiment
The invention will be further described with embodiment below in conjunction with the accompanying drawings.
As shown in figure 1, the schematic diagram of the electrocardio interaction process system based on Android and cloud computing of invention is given,
It is made up of ecg measurement module, Android master control borads and cloud computing platform, and ecg measurement module is by crosslinking electrode, biography
Sense signal amplification circuit, analog multiplexer, signal amplifier, filter circuit, analog-digital converter and microprocessor group
Into.The quantity of crosslinking electrode is 5, and each crosslinking electrode by a treatment for transducing signal amplifying circuit, is then connected to
The input of analog multiplexer;The output of analog multiplexer is successively through signal amplifier, filter circuit, simulation numeral
The signal of converter amplifies, after filtering and D/A switch, in output to microprocessor, the electrocardio letter that microprocessor will be input into
EGC waveform data and EGC parameter data are formed after number treatment, and Android master control borads is sent it to through serial communication.
Android master control borads are used to receive the EGC waveform data and EGC parameter data of microprocessor transmission, Android
Master control borad is connected with LCDs, 3G/4G/WIFI mixed-media network modules mixed-medias and identity card and swipes the card module, Android master control borads will connect
The form that the electrocardiogram (ECG) data of receipts is converted into electrocardiographic wave is shown by LCDs, so as to image, intuitively observed
The electrocardio situation of user.Android master control borads are verified by identity card module of swiping the card to the identity of user, with ensure by
The validated user of registration could be used;Android master control borads are by 3G/4G/WIFI networks by by the heart after encryption and coding
Electric data are uploaded to the cloud computing platform of distal end in wireless form.
Cloud computing platform is decrypted and decoding process to the electrocardiogram (ECG) data for receiving, and restores original EGC waveform data
With EGC parameter data, and stored.User is using Android master control borads, doctor using on smart mobile phone, PC etc.
Net equipment, real-time communication can be realized by cloud computing platform, and doctor, can be right online by after the heart real time data for checking user
It makes medical treatment guidance.
The processing method of the electrocardio interaction process system based on Android and cloud computing of the invention, by following steps
To realize:
A) fixation of crosslinking electrodes, the fixed form of crosslinking electrode, is fixed in when user measures according to electrocardiosignal
The corresponding site of body, then keeps tranquil and correct body position, to be measured to electrocardiosignal;
B) authentications, user is input into ID card information by way of module that the close identity card of identity card is swiped the card,
The ID card information of acquisition is uploaded to cloud computing platform by Android master control borads by 3G/4G/WIFI mixed-media network modules mixed-medias, to ask
Log in;
C) whether checkings user is legal, after cloud computing platform receives the ID card information of upload, verifies whether it is legal,
And return to the result;If the verification passes, then step d) is performed;
As shown in Fig. 2 giving the flow chart of the authentication and registration of user in the present invention;In the step, checking is used
Whether family is legal to be realized by following steps:
C-1) judges whether user is legal, and cloud computing platform receives the ID card information of Android master control borads upload
Afterwards, judge whether it is validated user by judging the ID card information of its user that whether is stored with, if user profile is deposited
Then performing step c-2);If user profile does not exist, step c-3 is performed);
C-2) judges whether user name or password correct, cloud computing platform judge user input username and password and
Whether what is stored is consistent, if unanimously, user's checking passes through, sends User logs in successful information to Android master control borads;Such as
Fruit password is inconsistent, then perform step c-4);
C-3) user's registrations, send " user is non-existent " information to Android master control borads, and point out the user to carry out newly
User's registration;User is according to step c-3-1) to c-3-3) registered:
C-3-1) user demonstrate,proves information and sends new user's note to cloud computing platform by Android master control borads according to user identity
Volume information, the entitled user identity card number of user, acquiescence login password is six after identification card number;
C-3-2) cloud computing platform receives new user's registration information, and new user's registration is completed by storing user profile, and
Return to user's registration result;
C-3-3) user completes new user's registration after receiving " user registration success " information, and automated log on is surveyed into electrocardio
Amount interface;
C-4) re-enters information, and cloud computing platform sends " user name or code error " to Android master control borads to be believed
Breath, to point out user to re-enter username and password.
D) sends electrocardiogram (ECG) data, and after the ID card information of user is verified, cloud computing platform returns to the network ID of client
To Android master control borads, and enter the electrocardiosignal measure interface of Android master control borads, ecg measurement module will gather by
The electrocardiosignal of EGC waveform data and EGC parameter data composition is sent to the serial ports buffering area of Android master control borads;If the heart
The ecg signal acquiring of electrograph measurement module is f again and again;
Ecg measurement module has five lead electrocardio ripples, Pyatyi programme-controlled gain, three-level filtering mode (diagnostic mode, prison
Shield mode, modus operandi), lead-fail detector alarm, 15~255BPM of heart rate detection scope, the function such as anti-defibrillation and electric knife interference.
ECG data includes EGC waveform data and EGC parameter data, and wherein EGC waveform data frequency acquisition is 250bps, often
Group data specifically include lead I, lead II, lead III, lead aVR, lead aVL, lead aVF and lead V wave-shape amplitude values;
EGC parameter data acquiring frequency is 1bps, specifically includes electrocardio state, heart rate value, respiratory rate value, ST sections of magnitude of voltage and mould
Block automatically analyzes the abnormal cardiac rate code for obtaining.Heart rate is specifically included extremely:Stop fighting, room quiver/room speed, R ON T, multiple rooms be early,
Paired room morning, single chamber morning, bigeminy, trigeminy, tachycardia, bradycardia, leakage are fought.When carrying out electrocardiosignal measurement,
User need to correctly connect cardiac diagnosis lead, keep tranquil and correct body position, start to measure user's electrocardio.
E) reception of electrocardiogram (ECG) datas, Android master control borads receive the heart that ecg measurement module sends by following steps
Electric signal:
As shown in figure 3, giving the drafting flow chart of the acquisition of electrocardiogram (ECG) data and electrocardiogram in the present invention, it passes through following
Step is realized:
E-1) buffering areas are emptied, and before Android master control borads read data from serial ports buffering area, serial ports are emptied first
Historical data in buffering area, to ensure the real-time of ECG data;
Since the e-2) reading of electrocardiogram (ECG) datas, read a secondary data, every time after calculating Tms serial ports buffering area is cleared
The data in buffering area are all read, to ensure the continuity of ECG data;Can be calculated often by formula (1)
The retrievable electrocardiosignal number k of TmsAndroid master control borads:
F is frequent for the ecg signal acquiring of ecg measurement module, f=250bps, k=10;
E-3) data storages, Android master control borads set up queue data structure, during by the electrocardiosignal of collection to gather
Between tandem be stored in data queue;
F) drafting of electrocardiograms, user can be set by Android master control borads to the pattern of electrocardiogram, lead is set, increasing
Beneficial arrange parameter is set, and the electrocardiogram of oneself requirement is met to show;Android master control borads draw an electrocardio per Tms
Figure, each electrocardiogram draws k group electrocardiogram (ECG) datas, and the method for drafting of this electrocardiogram can not only ensure that data are not in serial ports buffering area
Overflow, while also ensure that real-time and continuity that electrocardiogram is drawn;
In the step, described pattern is set can be in guardian mode, diagnostic mode and operative model optionally first, described
Lead be set in lead I, lead II, lead III, lead aVR, lead aVL, lead aVF and simultaneous selection n in lead V
Individual lead, 1≤n≤7;Described gain is set to the selection in 0.5 times of gain, 1 times of gain and 2 times of gains first, after selected
Electrocardiogram ordinate does corresponding gain and amplifies.As shown in fig. 6, giving Android master control borads in the present invention passes through liquid crystal
Electrocardiographic wave shown by display screen.
G) upload of electrocardiogram (ECG) datas, the electrocardiogram (ECG) data that Android master control borads will be obtained by 3G/4G/WIFI mixed-media network modules mixed-medias
Cloud computing platform is uploaded to, is realized by following steps:
As shown in figure 4, the upload flow chart of DevCenter electricity data is given,
G-1) interception electrocardiogram (ECG) data, user by Android master control borads make electrocardiogram preservation function after, Android master
The electrocardiogram (ECG) data of a length of ts when control plate is intercepted from the electrocardiogram (ECG) data of Real-time Collection, electrocardiogram (ECG) data is by EGC waveform data and electrocardio
Supplemental characteristic is constituted;
G-2) the encryption of electrocardiogram (ECG) datas, Android master control borads are by step g-1) in interception EGC waveform data according to leading
Connection form carries out base64 codings and public key encryption, and the EGC parameter data of interception are carried out into base64 codings and public affairs according to type
Key is encrypted;
G-3 EGC waveform data, EGC parameter data and ID after the) transmission of electrocardiogram (ECG) datas, coding and encryption are adopted
Sent to cloud computing platform with http protocol POST modes;
G-4) the separation of data, after cloud computing platform receives the electrocardiogram (ECG) data of Android master control borads transmission, divides first
Separate out EGC waveform data, EGC parameter data and ID;
G-5) the decryption and decoding of data, cloud computing platform is to step g-4) the middle EGC waveform data and electrocardio for obtaining
Supplemental characteristic carries out private key decryption and base64 decodings, obtains electrocardiogram initial data, and the data that will be obtained according to ID
In storing the database of cloud computing platform;
H) online services, in the case where user needs doctor to current state of an illness real-time instruction, user passes through Android
Master control borad sends application Xiang doctor, and application can carry out video, voice and/or information communication, Yi Shenggen by rear user with doctor
Checked according to the mandate ECG signal current to user, and appropriate medical care guidance is made to user.
As shown in figure 5, give the flow chart of user and doctor's real-time, interactive in the present invention, in the step, in set user A
Want to be sent Xiang doctor B and apply, described online service is realized by following steps:
H-1) sends and instructs application, and user A sends needs and instructed online according to the actual demand of oneself, Xiang doctor B
VIP application;
H-2) refuses or accepts applications, after doctor B receives the VIP applications of user A transmissions, according to actual conditions, if receiving
Received message then is sent to user A, refuse information is sent if refusal;
H-3) user authorizes, and after user A turns into the VIP user of doctor, is looked into by Android master control borad authorized doctors B
See the electrocardiogram (ECG) data of oneself;
H-4) data analyses, doctor B checks the electrocardiogram (ECG) data of user A after being authorized to, and user A electrocardiogram (ECG) datas are carried out
Analysis, analysis result is sent in the form of video, voice or information to user A, realizes the remote diagnosis to user and guidance.