CN102368287A - Method for processing medical data in remote medical system based on Android platform - Google Patents

Method for processing medical data in remote medical system based on Android platform Download PDF

Info

Publication number
CN102368287A
CN102368287A CN2011103445785A CN201110344578A CN102368287A CN 102368287 A CN102368287 A CN 102368287A CN 2011103445785 A CN2011103445785 A CN 2011103445785A CN 201110344578 A CN201110344578 A CN 201110344578A CN 102368287 A CN102368287 A CN 102368287A
Authority
CN
China
Prior art keywords
data
xml
memory
buffer zone
internal memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103445785A
Other languages
Chinese (zh)
Other versions
CN102368287B (en
Inventor
李金�
梁洪
彭晟
王磊
宋阳
才忠喜
曹伟
徐俊红
Original Assignee
Harbin Engineering University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN 201110344578 priority Critical patent/CN102368287B/en
Publication of CN102368287A publication Critical patent/CN102368287A/en
Application granted granted Critical
Publication of CN102368287B publication Critical patent/CN102368287B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for processing medical data in a remote medical system based on an Android platform. The data downloading, data processing and data storage are realized in the remote medical system composed of a HIS (Hospital Information System) server and an Android terminal. The method comprises the steps of: transferring medical data by using an XML (Extensible Markup Language) document format, wherein each line is stored by using a block of fixed memory, and when the data in the block of memory is refreshed each time, the data is pieced up to another block of memory with a buffer zone so as to avoid the generating of a plurality of entity objects to occupy the space of the memory; and analyzing the XML data by using an SAX (Simple API for XML) technology line by line, reading out an object and storing the object into a heap memory, generating a queue from the quote of the object, simultaneously generating a new thread and reading the objects in a stack according to the sequence of the queue, storing the read objects into an SQLite database and destroying the entity objects in the heap memory to achieve the purpose of reducing memory footprint. Meanwhile, the program processing time is saved by the double thread operation, and the storage space is reduced by using the SQLite lightweight database.

Description

Telemedicine System traditional Chinese medicine processing method of data based on the Android platform
Technical field
What the present invention relates to is a kind of teledata disposal route.Concrete is a kind of towards the 3G wireless network, based on the medical data disposal route in the Telemedicine System of Android Platform Implementation.
Background technology
China's land area is bigger, and the remote mountain areas is more, and the medical service level level is uneven, in order to improve the whole medical level of China, is a kind of feasible solution by means of the tele-medicine technology.Current domestic and international tele-medicine technology mainly is the basis with the Remote Video Conference technology, is equipped with professional remote medical facility, and equipment performance is superfluous, and cost is high, and only part hospitals and the research institute outfit of having ready conditions has limited the usable range of Telemedicine System.Popularize along with what 3G network was used, arise at the historic moment based on the video conference service of 3G network, and just be in the starting stage based on the tele-medicine service of 3G network; In June, 2010; The medical industry of Britain begins to provide a kind of 3G conversation based on IPhone to go to a doctor and serves, and this service only relies on doctor and patient to carry out simple audio frequency and video conversation; Do not have any supporting with it as hospital information system (Hospital Information System, HIS), diagnostic client etc.
On present 3G terminal market; The Android platform leapt to second of market share seniority among brothers and sisters with strong momentum in short 3 years; It is at all levels that this platform mobile phone product is distributed in low-medium-high level, and emerging panel computer almost all adopts this platform except that Apple.
The Android platform is started from the consideration to terminal cost and consumer's problems such as consuming capacity, just must reduce hardware resource consumption as far as possible.Though hardware condition can't be compared with special-purpose Medical Devices, powerful, extensibility is good, and usable range is wide.Medical data comprises information such as data, text, image, video, and the transformation task to medical data can be competent at fully as the carrier of Telemedicine System in the Android terminal, complies with the growth requirement of tele-medicine.
Based on above-mentioned consideration, the present invention provides a kind of method that on the Android platform, realizes Telemedicine System traditional Chinese medicine data processing, with the problem that solves abundant hardware resource deficiency, thus the usable range of expansion Telemedicine System.
Summary of the invention
The object of the present invention is to provide a kind of processing procedure to XML (Extensible Markup Language) form medical data of saving hardware resource more; Make this Telemedicine System can utilize the inadequate 3G terminal of existing hardware resource; Be applied in the 3G wireless network; And can carry out collaborative work with existing hospital information system; Enlarge the usage space scope of Telemedicine System, advance the Telemedicine System traditional Chinese medicine processing method of data of popularizing of tele-medicine based on the Android platform.
The objective of the invention is to realize like this:
The present invention communicates by letter with 3G network with operation system of smart phone Android and is the basis, is made up of HIS server and Android terminal.Comprise patient's personal information, patient's integrated electronics case history and disease database among the HIS; To the medical information multimedia feature of (comprising data, text, picture and acoustic image data); The present invention finally realizes transmission, processing and the storage of medical data, specifically comprises three functional modules: download module, medical data processing module and memory module.
Be to realize data download, data processing and data storage in the Telemedicine System of HIS server and Android terminal formation, the practical implementation step comprises:
A, in the internal memory of terminal application not with the internal memory of the internal memory of buffer zone and band buffer zone;
B, client are sent HTTP (HyperText Transfer Protocol) request to server, and server returns the data of XML form;
C, the download XML of delegation data deposit in the internal memory of not being with buffer zone;
D, not writing in the internal memory of band buffer zone with the internal memory of buffer zone;
The XML of delegation data are downloaded in e, continuation from server, write again in the internal memory of not being with buffer zone;
F, not with the afterbody of data in the memory headroom of band buffer zone of the data splicing in the internal memory of buffer zone;
G, repetition c finish up to whole XML data download to f;
H, client read the framework in the XML data, the construction data object, and application one block buffer generates a new thread in the internal memory of terminal;
I, structure SAX resolver are resolved the XML data, and analysis result is pressed constructed fuction formation object entity in heap memory;
J, repeat i and the buffer zone that deposits application with the formation mode in of quoting of each object entity;
K, in j, in new thread, in memory device, create the SQLite database according to the XML data framework;
L, client deposit the data in the object entity in the database in by queue sequence reading object entity, destroy this object entity simultaneously;
M, the data of repetition l in all object entities all deposit in the database.
The present invention is based on the 3G wireless network and the present most popular Android intelligent operating system of high speed development; To 3G terminal hardware resource condition of limited; A kind of medical data disposal route of saving hardware resource is proposed; By means of existing 3G terminal product, enlarged the coverage of tele-medicine.Comply with the future development demand of tele-medicine, make everybody can obtain medical services whenever and wherever possible.
Technical characterstic of the present invention is mainly reflected in:
1, utilizes the XML document form to transmit medical data, use each row of fixed memory storage, refresh the data of this piece internal memory at every turn, piece together these data in the internal memory of another piece band buffer zone, avoid producing a plurality of entity object committed memories space.
2, adopt the technological analyzing XML data of SAX (Simple API for XML), resolve line by line, promptly deposit this object in the heap memory in after reading out an object; Quote the generation formation to this object; Generate new thread simultaneously and read the object in the stack, deposit in the SQLite database, and in time destroy the entity object in the heap memory by queue sequence; Reach the purpose that reduces EMS memory occupation; The time of routine processes has been saved in two-wire journey operation simultaneously, uses SQLite light-type database, has reduced storage space.
Description of drawings
Fig. 1 is a treatment scheme synoptic diagram of the present invention;
Fig. 2 is a data flow diagram of the present invention;
Fig. 3 is that the applied system of the present invention constitutes signal.
Embodiment
For example the present invention is done more detailed description below:
In conjunction with Fig. 2 and Fig. 3.Obviously the present invention is not restricted to the application in this instance.This instance need be made up of medical information server and the Android terminal that private client is installed, and comprises numerous information such as patient's personal information, patient's integrated electronics case history and disease database in the medical information server.How difficult point of the present invention is under the limited hardware resource environment, to download to this locality to huge medical data from server end, and effectively to organize.
Each module working method is following:
1, download module
The medical information server externally provides the XML interface, in the Android client at first in internal memory the application one the band buffer zone internal memory and not with the internal memory of buffer zone, be connected with server with http protocol then; XML medical data in the Download Server reads delegation, and deposits in the internal memory of not being with buffer zone; Again not with the medical data in the internal memory of buffer zone; Write in the internal memory of band buffer zone, from server, read next line then, and write again in the internal memory of not being with buffer zone; Piece together the data in this internal memory the afterbody of the internal memory of band buffer zone again, repeat above step XML medical data in server and all be read.
2, medical data processing module
Client at first reads the framework information of the XML medical data of download; According to framework information structuring medical data object, adopt SAX technology analyzing XML data, according to the peculiar label of each medical data object; Decomposite each data elements; Each element according to the medical data object model formation object entity stores of structure in heap memory, and quoting of formation object entity in order stored in the block buffer by queue sequence.
3, memory module
When generating medical data object entity, generate a new threading building SQLlite database, according to the framework of medical data; Generate the medical data table; Read mode with formation and read quoting in the buffer zone, and obtain this entity object, be deposited into each data in this entity object in the corresponding medical data table; Call for other functional modules, destroy this entity object simultaneously.
In module 1, in having the internal memory of buffer zone, be stitched together the XML medical data of downloading, in internal memory, only there are continuous these data of storage space storage, increased the reading efficiency of internal memory for follow-up work.Formation object entity in module 2, module 3 read and destroy used object entity in new thread, the middle storage through a block buffer quoted, and in efficient the processing, reducing unnecessary object entity taking memory headroom.
In conjunction with Fig. 1, particular content of the present invention is following:
A, in the internal memory of terminal application not with the internal memory of the internal memory of buffer zone and band buffer zone.
B, client are sent HTTP (HyperText Transfer Protocol) request to server, and server returns the data of XML form.
C, the download XML of delegation data deposit in the internal memory of not being with buffer zone.
D, not writing in the internal memory of band buffer zone with the internal memory of buffer zone.
The XML of delegation data are downloaded in e, continuation from server, write again in the internal memory of not being with buffer zone.
F, not with the afterbody of data in the memory headroom of band buffer zone of the data splicing in the internal memory of buffer zone.
G, repetition c finish up to whole XML data download to f.
H, client read the framework in the XML data, the construction data object, and application one block buffer generates a new thread in the internal memory of Android terminal.
I, structure SAX resolver are resolved the XML data, and analysis result is pressed constructed fuction formation object entity in heap memory.
J, repeat i and the buffer zone that deposits application with the formation mode in of quoting of each object entity.
K, in j, in new thread, in memory device, create the SQLite database according to the XML data framework.
L, client deposit the data in the object entity in the database in by queue sequence reading object entity, destroy this object entity simultaneously.
M, the data of repetition l in all object entities all deposit in the database.

Claims (1)

1. the Telemedicine System traditional Chinese medicine processing method of data based on the Android platform is to realize data download, data processing and data storage in the Telemedicine System of HIS server and Android terminal formation, it is characterized in that comprising the steps:
A, in the internal memory of terminal application not with the internal memory of the internal memory of buffer zone and band buffer zone;
B, client are sent the HTTP request to server, and server returns the data of XML form;
C, the download XML of delegation data deposit in the internal memory of not being with buffer zone;
D, not writing in the internal memory of band buffer zone with the internal memory of buffer zone;
The XML of delegation data are downloaded in e, continuation from server, write again in the internal memory of not being with buffer zone;
F, not with the afterbody of data in the memory headroom of band buffer zone of the data splicing in the internal memory of buffer zone;
G, repetition c finish up to whole XML data download to f;
H, client read the framework in the XML data, the construction data object, and application one block buffer generates a new thread in the internal memory of terminal;
I, structure SAX resolver are resolved the XML data, and analysis result is pressed constructed fuction formation object entity in heap memory;
J, repeat i and the buffer zone that deposits application with the formation mode in of quoting of each object entity;
K, in j, in new thread, in memory device, create the SQLite database according to the XML data framework;
L, client deposit the data in the object entity in the database in by queue sequence reading object entity, destroy this object entity simultaneously;
M, the data of repetition l in all object entities all deposit in the database.
CN 201110344578 2011-11-04 2011-11-04 Method for processing medical data in remote medical system based on Android platform Expired - Fee Related CN102368287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110344578 CN102368287B (en) 2011-11-04 2011-11-04 Method for processing medical data in remote medical system based on Android platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110344578 CN102368287B (en) 2011-11-04 2011-11-04 Method for processing medical data in remote medical system based on Android platform

Publications (2)

Publication Number Publication Date
CN102368287A true CN102368287A (en) 2012-03-07
CN102368287B CN102368287B (en) 2013-08-28

Family

ID=45760851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110344578 Expired - Fee Related CN102368287B (en) 2011-11-04 2011-11-04 Method for processing medical data in remote medical system based on Android platform

Country Status (1)

Country Link
CN (1) CN102368287B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294796A (en) * 2013-05-24 2013-09-11 上海申腾信息技术有限公司 XML (extensive markup language) parsing method and implementation method of custom XML structural forms in medical records
CN107015628A (en) * 2017-03-30 2017-08-04 中国科学院计算技术研究所 It is a kind of towards the low overhead DRAM method for refreshing and system approximately applied

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1887218A (en) * 2006-07-21 2007-01-03 天津大学 Portable multiple-parameter remote monitoring system
CN102231172A (en) * 2011-06-10 2011-11-02 王坦 Remote medical information acquisition system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1887218A (en) * 2006-07-21 2007-01-03 天津大学 Portable multiple-parameter remote monitoring system
CN102231172A (en) * 2011-06-10 2011-11-02 王坦 Remote medical information acquisition system

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
《商业文化》 20111031 邹治军 "3G Android应用程序数据存储的实现方法" 第236页 1 , *
《计算机时代》 20101231 李瑞花 "基于Android的XML解析技术的分析" 第31-33页 1 , *
《软件导刊》 20110531 周辉 等 "Android平台与Web服务数据交互时运用J a va反射机制解析数据的研究" 第14-16页 1 第10卷, 第5期 *
周辉 等: ""Android平台与Web服务数据交互时运用J a va反射机制解析数据的研究"", 《软件导刊》 *
李瑞花: ""基于Android的XML解析技术的分析"", 《计算机时代》 *
邹治军: ""3G Android应用程序数据存储的实现方法"", 《商业文化》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294796A (en) * 2013-05-24 2013-09-11 上海申腾信息技术有限公司 XML (extensive markup language) parsing method and implementation method of custom XML structural forms in medical records
CN103294796B (en) * 2013-05-24 2017-03-01 上海申腾信息技术有限公司 Self-defined XML structure list implementation method in a kind of XML analytic method and medical medical record
CN107015628A (en) * 2017-03-30 2017-08-04 中国科学院计算技术研究所 It is a kind of towards the low overhead DRAM method for refreshing and system approximately applied

Also Published As

Publication number Publication date
CN102368287B (en) 2013-08-28

Similar Documents

Publication Publication Date Title
Zhao et al. A novel pre-cache schema for high performance Android system
CN101316226B (en) Method, device and system for acquiring resources
CN104320406B (en) A kind of communication system based on mobile terminal and wearable device
CN103907113A (en) Method and apparatus for distributed script processing
CN102750086A (en) Method for achieving control of wirelessly shared and displayed pages between electronic devices
CN202918341U (en) Geography position sharing system based on intelligent hand-held terminal and two-dimension code
CN102520918A (en) Method and device for increasing list refreshing frequency
CN104754309A (en) Mobile medical image system
CN103699792A (en) Digital pathological section remote synchronous diagnostic system
TWI530900B (en) Method and system for updating security information
CN103701834A (en) Proxy based mobile cloud service access system and method
CN104361049A (en) Method and system for quickly expressing data of database
CN202261557U (en) System of utilizing cloud storage via wireless WIFI technology by digital camera
CN102368287B (en) Method for processing medical data in remote medical system based on Android platform
CN108881353A (en) A kind of content delivery method, device and computer readable storage medium
CN102868755A (en) Remote medical communication system and working method of remote medical communication system
CN101149734A (en) Mobile terminal network browser and network browsing method
CN205304923U (en) Realize interactive cell -phone through gesture operation
CN104375963B (en) Control system and method based on buffer consistency
CN104407995B (en) Control system based on buffer consistency and method
CN203241620U (en) Head-mounted display
CN109617960B (en) Attribution separation-based web AR data presentation method
CN101997882A (en) Network service of mobile website for mobile terminal to visit
CN112769788A (en) Charging service data processing method and device, electronic equipment and storage medium
CN101714146A (en) Data capturing and applying method and device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
CB03 Change of inventor or designer information

Inventor after: Huang Wan

Inventor before: Li Jin

Inventor before: Liang Hong

Inventor before: Peng Cheng

Inventor before: Wang Lei

Inventor before: Song Yang

Inventor before: Cai Zhongxi

Inventor before: Cao Wei

Inventor before: Xu Junhong

COR Change of bibliographic data
TR01 Transfer of patent right

Effective date of registration: 20170302

Address after: Wuhou District Wu Qing Xisi road Chengdu City, Sichuan province 610000 No. 3 (Wuhou Science & Technology Information Park B building 505)

Patentee after: Huang Wan

Address before: 150001 Heilongjiang, Nangang District, Nantong street,, Harbin Engineering University, Department of Intellectual Property Office

Patentee before: Harbin Engineering Univ.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130828

Termination date: 20181104

CF01 Termination of patent right due to non-payment of annual fee