CN102368287B - 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
CN102368287B
CN102368287B CN 201110344578 CN201110344578A CN102368287B CN 102368287 B CN102368287 B CN 102368287B CN 201110344578 CN201110344578 CN 201110344578 CN 201110344578 A CN201110344578 A CN 201110344578A CN 102368287 B CN102368287 B CN 102368287B
Authority
CN
China
Prior art keywords
data
xml
buffer zone
memory
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.)
Expired - Fee Related
Application number
CN 201110344578
Other languages
Chinese (zh)
Other versions
CN102368287A (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

Disposal route based on the Telemedicine System traditional Chinese medicine data of 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 realization.
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 is equipped with professional remote medical facility mainly based on the Remote Video Conference technology, the equipment performance surplus, and cost is high, and only part hospital and the research institute outfit of having ready conditions has limited the usable range of Telemedicine System.Along with popularizing that 3G network is used, video conference service based on 3G network is arisen at the historic moment, 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 with it supporting as hospital information system (Hospital Information System, HIS), diagnostic clients end 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 Apple.
The Android platform just must reduce hardware resource consumption as far as possible for the consideration to terminal cost and consumer's problems such as consuming capacity.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 Android terminal can be competent at the transformation task to medical data fully as the carrier of Telemedicine System, complies with the growth requirement of tele-medicine.
Based on above-mentioned consideration, the present invention provides a kind of method of handling in Android platform realization Telemedicine System traditional Chinese medicine data, 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 at 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 disposal route of popularizing based on the Telemedicine System traditional Chinese medicine data of Android platform of tele-medicine.
The object of the present invention is achieved like this:
The present invention communicates by letter with 3G network based on operation system of smart phone Android, 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, at 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 in the Telemedicine System of HIS server and Android terminal formation that realize that data are downloaded, data are handled and the data storage, specifically implementation step comprises:
A, in the terminal internal memory 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 terminal internal memory;
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 in 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 3G wireless network and the present most popular Android intelligent operating system of high speed development, at 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 a fixed memory to store each row, refresh the data of this piece internal memory at every turn, these data are pieced together in the internal memory of another piece band buffer zone, avoid producing a plurality of entity object committed memories space.
2, adopt SAX (Simple API for XML) technology analyzing XML data, resolve line by line, namely this object is deposited in the heap memory after reading out an object, this object quoted the generation formation, generate new thread simultaneously and read object in the stack by queue sequence, deposit in the SQLite database, and in time destroy entity object in the heap memory, reach the purpose that reduces EMS memory occupation, the time of routine processes has been saved in two-wire journey operation simultaneously, use SQLite light-type database, reduced storage space.
Description of drawings
Fig. 1 is treatment scheme synoptic diagram of the present invention;
Fig. 2 is 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 example.This example 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 huge medical data to be downloaded to this locality from server end, and effectively organize under the limited hardware resource environment.
Each module working method is as follows:
1, download module
The medical information server externally provides the XML interface, the internal memory of a band of application buffer zone and not with the internal memory of buffer zone in internal memory at first in the Android client, be connected with server with http protocol then, XML medical data in the Download Server, read delegation, and deposit 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, again the data in this internal memory are pieced together the afterbody of the internal memory of band buffer zone, 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, peculiar label according to each medical data object, decomposite each data element, 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, framework according to medical data, generate the medical data table, read mode with formation and read quoting in the buffer zone, and obtain this entity object, each data in this entity object are deposited 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, the XML medical data of downloading is stitched together, in internal memory, only exist a continuous storage space to store this data, 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 by a block buffer quoted, and reducing unnecessary object entity taking memory headroom in efficient the processing.
In conjunction with Fig. 1, particular content of the present invention is as follows:
A, in the terminal internal memory 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 Android terminal internal memory.
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 in 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 disposal route based on the Telemedicine System traditional Chinese medicine data of Android platform is in the Telemedicine System of HIS server and Android terminal formation, realizes that data are downloaded, data are handled and the data storage, it is characterized in that comprising the steps:
A, in the terminal internal memory 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 terminal internal memory;
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 in 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 CN102368287A (en) 2012-03-07
CN102368287B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN107015628B (en) * 2017-03-30 2020-08-28 中国科学院计算技术研究所 Low-overhead DRAM refreshing method and system for approximate application

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
"3G Android应用程序数据存储的实现方法";邹治军;《商业文化》;20111031;第236页 *
"Android平台与Web服务数据交互时运用J a va反射机制解析数据的研究";周辉 等;《软件导刊》;20110531;第10卷(第5期);第14-16页 *
"基于Android的XML解析技术的分析";李瑞花;《计算机时代》;20101231;第31-33页 *
周辉 等."Android平台与Web服务数据交互时运用J a va反射机制解析数据的研究".《软件导刊》.2011,第10卷(第5期),第14-16页.
李瑞花."基于Android的XML解析技术的分析".《计算机时代》.2010,第31-33页.
邹治军."3G Android应用程序数据存储的实现方法".《商业文化》.2011,第236页.

Also Published As

Publication number Publication date
CN102368287A (en) 2012-03-07

Similar Documents

Publication Publication Date Title
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
CN102713848A (en) Methods for interfacing with a virtualized computing service over a network using a lightweight client
CN102520918A (en) Method and device for increasing list refreshing frequency
CN202918341U (en) Geography position sharing system based on intelligent hand-held terminal and two-dimension code
CN104754309A (en) Mobile medical image system
CN103699792A (en) Digital pathological section remote synchronous diagnostic system
TWI530900B (en) Method and system for updating security information
CN103532564B (en) Two-dimensional code data encoding method, decoding method, system and intelligent device
CN104361049A (en) Method and system for quickly expressing data of database
CN103701834A (en) Proxy based mobile cloud service access system and method
CN105487640A (en) Image pre-loading and caching method of Android watch
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
WO2015172497A1 (en) Message pushing and acquisition methods and devices, and computer readable storage medium
CN101149734A (en) Mobile terminal network browser and network browsing method
CN101888393A (en) Non-uniform cooperative system and method based on component middleware platforms under network environment
CN205304923U (en) Realize interactive cell -phone through gesture operation
WO2022016981A1 (en) Image processing methods and apparatus, storage medium, and electronic device
CN104375963B (en) Control system and method based on buffer consistency
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