CN103356228A - Android-based heart sound signal display and storage system - Google Patents
Android-based heart sound signal display and storage system Download PDFInfo
- Publication number
- CN103356228A CN103356228A CN2013102739969A CN201310273996A CN103356228A CN 103356228 A CN103356228 A CN 103356228A CN 2013102739969 A CN2013102739969 A CN 2013102739969A CN 201310273996 A CN201310273996 A CN 201310273996A CN 103356228 A CN103356228 A CN 103356228A
- Authority
- CN
- China
- Prior art keywords
- heart sound
- android
- user
- bluetooth
- cardiechema signals
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Telephone Function (AREA)
Abstract
The invention relates to an Android-based heart sound signal display and an Android-based heart sound signal storage system. The conventional system is larger in size and thus is not easy to carry. The Android-based heart sound signal display and storage system comprises two parts, namely an upper computer and a lower computer; the lower computer is heart sound collection hardware equipment; the upper computer is an Android smartphone. The heart sound collection hardware equipment comprises an electret microphone, a power circuit, a 30 Hz high-pass filter, a 500 Hz low-pass filter, a main control chip and a Bluetooth module. The Android smartphone is applied as the upper computer to the heart sound signal display and storage system implemented on an Android system and mainly comprises three functional modules, namely Bluetooth pairing, user registration and system management. According to the Android-based heart sound signal display and storage system, heart sound signals are received, stored and displayed by the Android smartphone, so that the process of heart sound detection of a user is greatly simplified.
Description
Technical field
The invention belongs to the technical field that cardiechema signals is processed and transmitted, relate to a kind of cardiechema signals based on Android and show and storage system.
Background technology
Cardiechema signals comes from inside of human body, is the reflection of heart and cardiovascular system mechanical movement situation, is one of of paramount importance physiological feature of human body.By analyzing cardiechema signals, extract its main characteristic parameters, help the doctor to understand the basal conditions of heart and make corresponding diagnosis.Therefore, the extraction of cardiechema signals and storage are particularly important for the subsequent analysis of cardiechema signals.
Transmit for the collection of cardiechema signals at present, way commonly used is to gather cardiechema signals by heart sound transducer, sound card by computer stores cardiechema signals in the computer into, then utilizes the player plays hear sounds in the computer, and shows corresponding hear sounds waveform.
Although heart sound data demonstration and the storage system of utilizing these class methods to realize realize simply because the volume of computer is larger, being unfavorable for carrying.So the user can't carry out collection and the detection of cardiechema signals quickly and easily.And people need to hold the physiological situation of self in daily life whenever and wherever possible.For these reasons, people are in the urgent need to a kind of portable hear sounds collection and demonstration, storage new equipment.
Along with the high speed development of network, information technology, improve gradually the status of mobile phone in people's daily life.Carry the smart mobile phone of Android operating system based on the opening of its platform, high user's degree of freedom, conveniently development scheme becomes the mobile phone operating system of present main flow.
In the Android smart mobile phone, finish reception, demonstration and the storage of heart sound data, satisfied the requirement of people for hear sounds collecting device portability.For the development that promotes the hear sounds detection technique certain meaning is arranged.
Summary of the invention
The object of the invention is to propose a kind of cardiechema signals reception, demonstration and memory device based on Android, can finish simply efficiently the collection of cardiechema signals and demonstration, storage.
Technical scheme: the present invention includes host computer and slave computer two parts and form, slave computer is hear sounds acquisition hardware equipment, and host computer is the Android smart mobile phone.
Hear sounds acquisition hardware equipment is made of Electret condenser microphone, power circuit, 30Hz high pass filter, 500Hz low pass filter, main control chip, bluetooth module.
Electret condenser microphone is converted to the signal of telecommunication with the cardiechema signals that receives.
Power circuit provides the 3.3V regulated power supply.
30Hz high pass filter and 500Hz low pass filter are used for the noise of filtering cardiechema signals.In the output signal that heart sound transducer receives, except cardiechema signals, also comprised other noise component(s), such as the friction sound of hear sounds pick-up head and skin medicated clothing, human body respiration sound, the thermal noise that produces in the circuit etc.The effective frequency range of cardiechema signals is at 30Hz-500Hz.The cardiechema signals that Electret condenser microphone is received can the outer noise of filtering hear sounds effective frequency range through the filter circuit of 30Hz-500Hz.
Main control chip adopts the dsPIC33FJ128MC506 chip of Microchip Technology (Microchip).Use this chip to finish the effect of AD conversion.This moment, cardiechema signals was digital signal by analog signal conversion.
Bluetooth module is used for the data communication device after the AD conversion is crossed Bluetooth transmission to the Android smart mobile phone.
The Android smart mobile phone is as host computer, and the cardiechema signals of realizing in the Android system shows, storage system applications mainly comprises three large functional modules: Bluetooth pairing, user's registration, system management.
The major function of Bluetooth pairing module is to finish Bluetooth matching, the receiving bluetooth of Android smart mobile phone and hear sounds collecting device.
User registration module is finished essential information registration, signal acquisition process and waveform and is shown.User basic information mainly comprises name, age, sex, contact method etc.When finish essential information registration and with the Bluetooth matching of slave computer after, gather heart sound data, and show in real time the hear sounds waveform.The heart sound data that is converted to by dsPIC main control chip AD shows that by self-defining SurfaceView control shows after being received by Android mobile phone virtual bluetooth serial ports.In addition, the heart sound data that receives constantly is saved in the txt document, and by the heart sound data after the SQLite data base administration collection, the field among the SQLite data base comprises name, sex, age, telephone number, hear sounds file store path.Make things convenient for the management to the heart sound data that receives.After finishing the heart sound data collection, the user profile that the user is inputted is saved to the SQLite data base.And heart sound data is saved in the txt document of specified path, with tab-delimited each data.
At system management module, the input administrator username and password.This username and password is by Shared Preferences management, and password is by the MD5 algorithm for encryption.Show information of registered users by ListView after the authentication password.After clicking certain ListView clauses and subclauses, enter User Detail and show and the hear sounds playback interfaces.Query SQL ite data base obtains the corresponding cardiechema signals txt file of user path, shows that by self-defined SurfaceView control shows this user's waveform.
Beneficial effect of the present invention: use the Android smart mobile phone to finish reception, storage and the demonstration of cardiechema signals, simplified greatly the user and carried out the process that hear sounds detects.The user uses this application can carry out the detection of cardiechema signals whenever and wherever possible.The real-time demonstration of cardiechema signals can allow the user observe intuitively the waveform of cardiechema signals, makes things convenient for the diagnosis of heart disease.Cardiechema signals after the storage is that follow-up data analysis is provided convenience.
Description of drawings
Fig. 1 is hear sounds acquisition hardware structure chart;
Fig. 2 is hear sounds collection, demonstration and the storage system functionality schematic diagram based on Android;
Fig. 3 is user's register flow path figure;
Fig. 4 is the system management flow chart.
The specific embodiment
Below in conjunction with accompanying drawing this invention is described in further detail:
As shown in Figure 1, be hear sounds acquisition hardware structure chart.Heart sound transducer is converted by stethoscope and Electret condenser microphone.Because the effective frequency range of cardiechema signals is at 30Hz-500Hz, and inevitably can introduce the friction sound, respiratory murmur, circuit thermal noise etc. of various interference noises such as sensor and clothes by the cardiechema signals of self-control hear sounds pick-up head collection, so the cardiechema signals after the reception need to pass through the 30Hz-500Hz active filter.Main control circuit as main control chip, can be finished the functions such as sampling, AD conversion, power management by the dsPIC33FJ128MC506 chip of Microchip Technology (Microchip).The effect of gain control circuit is the height that control exports the hear sounds audio signal of earphone to, is made of LM4811.AD is converted to 12 AD conversions, and the digital signal that obtains transfers to the Android smart mobile phone by the HC-06 bluetooth module.The sample frequency of cardiechema signals is 2000Hz, and baud rate is 115200kbps.
As shown in Figure 2, be hear sounds collection, demonstration and storage system functionality schematic diagram based on Android.This system mainly comprises three large functional modules: Bluetooth pairing, user's registration, system management.
Bluetooth pairing module major function connects for search bluetooth equipment, pairing.The major function of user registration module is that essential information registration, signals collecting and waveform show.The major function of system management module is registered user's inquiry and wave shape playback.The function that the below introduces these three modules in detail realizes.
The Bluetooth pairing module is finished the Android smart mobile phone and is connected with the coupling of hear sounds acquisition hardware equipment, can control bluetooth unlatching, close, search for bluetooth equipment, finish the function of Bluetooth pairing.After the AD conversion through the dsPIC33FJ128MC506 chip, data communication device is crossed the HC-06 module and is sent.The Android mobile phone is at first opened bluetooth as the recipient, and to system registry program UUID.Then begin to search for bluetooth equipment, find device name corresponding to HC-06 bluetooth module, obtain its MAC Address, each HC-06 module possesses an intrinsic MAC Address.Obtain the BluetoothDevice object by this MAC Address.Then use above-mentioned UUID to obtain the BluetoothSocket object.Finish the connection of BluetoothSocket by the connect () method of BluetoothSocket object.If the Android mobile phone before this with HC-06 pairing, finish pairing with the HC-06 module just need to input the pairing password, this pairing password can artificially be revised by the HC-06 module settings.After finishing above-mentioned steps, just finished the connection of Android mobile phone with bluetooth module, can finish transmission and the reception of blue-teeth data.
Be illustrated in figure 3 as user's register flow path figure.
In user registration module, mainly contain essential information registration, signal acquisition process, waveform demonstration three functions.At first show in the control toward EditText and input the information such as user name, age.Click " finishing the essential information registration " Button button, open the Activity of " hear sounds collection and demonstration " by Intent, and import the information such as " user name " just inputted, " age " into toward this Activity.Be connected with the HC-06 bluetooth module after coupling connects if finish, can obtain the BluetoothSocket object.GetInputStream () method by the BluetoothSocket object obtains InputStream inlet flow object.Just can read heart sound data after the AD conversion from this InputStream inlet flow object.The method that waveform shows is that a self-defined SurfaceView shows control.This control can be adjusted at indication range in the screen automatically according to window size.This SurfaceView shows that customizing method addNewDataToDraw () constantly updates the data that will show in the control.In the Activity of " hear sounds collection and demonstration ", whenever receive data, just call above-mentioned addNewDataToDraw () method and show in the control more new data toward SurfaceView, upgrade the purpose that waveform shows thereby reach.After finishing collection, preserve corresponding Wave data in the txt file of specified path, between the data with tab-delimited.In addition, data writing in the SQLite data base.Field is name, sex, age, telephone number, hear sounds registration signal txt file path among the SQLite data base.
Be the system management flow chart such as Fig. 4.At system management interface, at first to finish the manager and log in module, system preserves administrator username and password by Shared Preferences.This administrator's password is by the MD5 algorithm for encryption.In EditText, input username and password, carry out password authentification.For the first time use this module need register manager's account.Finish log in after, show registered users information by ListView.ListView shows is the information such as the address name preserved among the SQLite, age, contact method.Select certain registered user's clauses and subclauses, open " in detail user profile and hear sounds wave shape playback " Activity corresponding to function.By query SQL ite data base, find heart sound data txt file path that should the user, read the cardiechema signals data by this path, show that by self-defined SurfaceView control shows the hear sounds waveform.
Below by reference to the accompanying drawings the specific embodiment of the present invention is described; but these explanations can not be understood to limit scope of the present invention; protection scope of the present invention is limited by the claims of enclosing, and any change on claim of the present invention basis all is protection scope of the present invention.
Claims (1)
1. the cardiechema signals based on Android shows and storage system, and it is characterized in that: be comprised of host computer and slave computer two parts, slave computer is hear sounds acquisition hardware equipment, and host computer is the Android smart mobile phone;
Hear sounds acquisition hardware equipment is made of Electret condenser microphone, power circuit, 30Hz high pass filter, 500Hz low pass filter, main control chip, bluetooth module;
Described Electret condenser microphone is converted to the signal of telecommunication with the cardiechema signals that receives;
Described power circuit provides the 3.3V regulated power supply;
Described 30Hz high pass filter and 500Hz low pass filter are used for the noise of filtering cardiechema signals;
Described main control chip adopts the dsPIC33FJ128MC506 chip of Microchip Technology; Use this chip to finish the AD conversion, being about to cardiechema signals is digital signal by analog signal conversion;
Described bluetooth module is used for the data communication device after the AD conversion is crossed Bluetooth transmission to the Android smart mobile phone;
The Android smart mobile phone is as host computer, and the cardiechema signals of realizing in the Android system shows, storage system applications, mainly comprises three large functional modules: Bluetooth pairing, user's registration, system management;
Described Bluetooth pairing is finished Bluetooth matching, the receiving bluetooth of Android smart mobile phone and hear sounds collecting device;
Described user's registration is finished essential information registration, signal acquisition process and waveform and is shown; User basic information mainly comprises name, age, sex, contact method; When finish essential information registration and with the Bluetooth matching of slave computer after, gather heart sound data, and show in real time the hear sounds waveform; The heart sound data that is converted to by main control chip AD shows that by SurfaceView control shows after Android mobile phone virtual bluetooth serial ports receives; In addition, the heart sound data that receives constantly is saved in the txt document, and by the heart sound data after the SQLite data base administration collection, the field among the SQLite data base comprises name, sex, age, telephone number, hear sounds file store path; Make things convenient for the management to the heart sound data that receives; After finishing the heart sound data collection, the user basic information that the user is inputted is saved to the SQLite data base; And heart sound data is saved in the txt document of specified path, with tab-delimited each data;
Described system management module is used for the input administrator username and password; This username and password is by Shared Preferences management, and password is by the MD5 algorithm for encryption; Show information of registered users by ListView after the authentication password; After clicking certain ListView clauses and subclauses, enter User Detail and show and the hear sounds playback interfaces; Query SQL ite data base obtains the corresponding cardiechema signals txt file of user path, shows that by SurfaceView control shows this user's waveform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102739969A CN103356228A (en) | 2013-07-02 | 2013-07-02 | Android-based heart sound signal display and storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102739969A CN103356228A (en) | 2013-07-02 | 2013-07-02 | Android-based heart sound signal display and storage system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103356228A true CN103356228A (en) | 2013-10-23 |
Family
ID=49359111
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013102739969A Pending CN103356228A (en) | 2013-07-02 | 2013-07-02 | Android-based heart sound signal display and storage system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103356228A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105748099A (en) * | 2016-04-14 | 2016-07-13 | 江苏物联网研究发展中心 | Android-based intelligent electronic auscultation system |
CN107296625A (en) * | 2017-07-10 | 2017-10-27 | 山东朗朗智能科技发展有限公司 | The acquisition method and device of lungs sound figure machine |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2691491Y (en) * | 2004-01-13 | 2005-04-13 | 合世生医科技股份有限公司 | Electronic stethophone having contacting type microphone |
CN102068244A (en) * | 2011-01-13 | 2011-05-25 | 南京邮电大学 | Storing, processing and displaying method for heart sound in intelligent mobile phone visual heart sound examination device |
CN102362810A (en) * | 2011-10-15 | 2012-02-29 | 杭州电子科技大学 | Heart sound identification system and method based on virtual instrument |
CN102499646A (en) * | 2011-11-09 | 2012-06-20 | 南京邮电大学 | Android platform-based method for classifying cardiac sounds and method for displaying cardiac sounds graphically |
-
2013
- 2013-07-02 CN CN2013102739969A patent/CN103356228A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2691491Y (en) * | 2004-01-13 | 2005-04-13 | 合世生医科技股份有限公司 | Electronic stethophone having contacting type microphone |
CN102068244A (en) * | 2011-01-13 | 2011-05-25 | 南京邮电大学 | Storing, processing and displaying method for heart sound in intelligent mobile phone visual heart sound examination device |
CN102362810A (en) * | 2011-10-15 | 2012-02-29 | 杭州电子科技大学 | Heart sound identification system and method based on virtual instrument |
CN102499646A (en) * | 2011-11-09 | 2012-06-20 | 南京邮电大学 | Android platform-based method for classifying cardiac sounds and method for displaying cardiac sounds graphically |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105748099A (en) * | 2016-04-14 | 2016-07-13 | 江苏物联网研究发展中心 | Android-based intelligent electronic auscultation system |
CN107296625A (en) * | 2017-07-10 | 2017-10-27 | 山东朗朗智能科技发展有限公司 | The acquisition method and device of lungs sound figure machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7244666B2 (en) | Screen control method, electronic device, and storage medium | |
CN103431872B (en) | Heart sound transmission and management system based on NFC (Near Field Communication) and Bluetooth | |
US20160287207A1 (en) | Smart medical examination and communication apparatus | |
KR102561414B1 (en) | Electronic device and method for controlling an operation thereof | |
CN108431764A (en) | Electronic equipment and the method operated for control electronics | |
WO2016155331A1 (en) | Wearable-device-based information delivery method and related device | |
KR20170033641A (en) | Electronic device and method for controlling an operation thereof | |
KR102429409B1 (en) | Electronic device and method for controlling an operation thereof | |
CN103889040B (en) | Emission control method, apparatus and system | |
WO2017133190A1 (en) | Headphone-based intelligent apparatus control method, device and system | |
CN107852437A (en) | Method and apparatus for exporting audio in the electronic device | |
WO2010063158A1 (en) | Mobile network terminal device and method for monitoring electrophysiological data and pathological image | |
CN103340650A (en) | Intelligent heart sound auscultation and recognition system based on Android | |
CN109561219A (en) | Music adjusting method, device, mobile terminal and readable storage medium storing program for executing | |
US20140270218A1 (en) | Wireless electronic stethoscope | |
CN204698602U (en) | The long-range hear sounds monitor system of a kind of heart patient based on smart mobile phone | |
WO2020056684A1 (en) | Method and device employing multiple tws earpieces connected in relay mode to realize automatic interpretation | |
CN113116344B (en) | Blood oxygen monitoring method, medium and system based on electronic equipment | |
CN113395382A (en) | Method for data interaction between devices and related devices | |
CN206026350U (en) | Intelligence stethoscope based on bluetooth transmittal technique | |
WO2020051852A1 (en) | Method for recording and displaying information in communication process, and terminals | |
CN203408061U (en) | Heart sound signal display and storage system based on Android | |
CN103356228A (en) | Android-based heart sound signal display and storage system | |
US20230045200A1 (en) | Electronic Device, Method for Controlling Electronic Device to Perform PPG Detection, and Medium | |
RU2644546C1 (en) | Electronic medical stethoscope |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C05 | Deemed withdrawal (patent law before 1993) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20131023 |