Three, summary of the invention
The objective of the invention is to overcome the shortcoming of above-mentioned prior art, provide a kind of safe and reliable, can preserve temperature data, be implemented in the line analysis temperature data, the digital temperature meter and the temperature data analytical approach thereof of centralized management temperature data.
For achieving the above object, the digital temperature meter that the present invention adopts comprises temperature sensor and the LCD that is connected with controller, be characterized in, also comprise microcomputer communication interface that be connected with controller and microcomputer communication, driver input end as the microcomputer communication interface of controller communication is connected with the P1.0 port of controller, receiver output terminal as the microcomputer communication interface [8] of controller communication is connected with the P1.1 port of controller, realizes the EN that microcomputer communication interface duty is controlled, FORCEOFF, FORCEON, the INVALID signal end respectively with the P6.2 of controller, P6.1, P6.0, the P1.2 port is connected.
Be connected with the input end of the microcomputer serial ports input end of the data-interface of communicating by letter as microcomputer serial of the driver output end of the microcomputer communication interface of digital temperature meter of the present invention; The receiver input end of microcomputer communication interface is connected as the data output end of microcomputer serial communication interface with the output terminal of microcomputer serial ports; The P1.7 of controller, P1.6, P1.5 port are connected with the function button of operation control; The P1.3 of controller, P1.4, P2.1 port also connect warning lamp and the caution hummer of realizing sound and light alarm; Also be provided with on the controller and the P6.4 of controller, the growth data storer 9 that the P6.3 port is connected, growth data storer 9 is used for the time clock pin SCL of data transmission and the P6.3 port of controller 1 links; Being used for the pin SDA of data input and output and the P6.4 port of controller 1 links.
Temperature data analytical approach of the present invention is: utilize digital temperature meter to measure a certain amount of temperature data and prepare for Measurement and analysis, and temperature data and thermometric time are kept in the controller of thermometer; The communication interface of thermometer is connected with the serial port of microcomputer, sets digital temperature by function button and count on line state; Start the communication management module A in the body temperature analysis management software in the microcomputer, setting the microcomputer communication port that links to each other with thermometer is online port, guarantees that microcomputer communicates by letter unimpeded with digital temperature meter; The data read that starts in the body temperature analysis management software is preserved module B, all temperature datas of preserving in the digital temperature meter is read in the microcomputer and with document form preserve; Start the temperature data analysis module C in the body temperature analysis management software, read normalized data file, according to different analysis requirements, temperature data is analyzed then; Start the clinical thermometer parameter management module D in the body temperature analysis management software, the result parameter that analysis is obtained is sent in the controller in the digital temperature meter.
Body temperature analysis management software of the present invention also comprises data management module E, and data management module E management gathers the temperature data file that is stored in the microcomputer, data is saved in the file or general database of same form according to different needs; Communication management module A finishes the setting of microcomputer serial port and connects test, guarantees to use correct port and digital temperature meter to communicate; Data read is preserved module B and is finished the temperature data that reads in the digital temperature meter, and the data that read are converted to the data layout that microcomputer can processing and identification; Temperature data analysis module C analyzes the data that read, show with tabulation according to different needs, and draw temperature curve figure, selected data are carried out statistical study calculate, handle the selected data of calculating according to different evaluating objects, parameter bears results; Clinical thermometer parameter management module D analyzes the running parameter that obtains with temperature data analysis module C and is transferred in the controller of digital temperature meter, and thermometer is set and changed.
Because the present invention is connected with the microcomputer communication interface on the controller of digital temperature meter, make digital temperature meter can be directly and microcomputer link, temperature data is transferred in the microcomputer, and realize the analysis of temperature data by the body temperature analysis management software in the microcomputer, the running parameter that analysis is obtained is transferred in the controller of digital temperature meter.Thermometer is realized the on-line analysis of body temperature is diagnosed according to these running parameters.
Five, embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail.
Referring to Fig. 1, digital temperature meter of the present invention comprises temperature sensor 2 and the LCD 3 that is connected with controller 1, also comprise microcomputer communication interface 8 that be connected with controller 1 and microcomputer communication, driver input end as the microcomputer communication interface 8 of controller 1 communication is connected with the P1.0 port of controller 1, receiver output terminal as the microcomputer communication interface 8 of controller 1 communication is connected with the P1.1 port of controller 1, the EN of microcomputer communication interface 8, FORCEOFF, FORCEON, the INVALID signal end respectively with the P6.2 of controller 1, P6.1, P6.0, the P1.2 port is connected, be connected with the input end of the microcomputer serial ports input end of the data-interface of communicating by letter as microcomputer serial of the driver output end of microcomputer communication interface 8; The receiver input end of microcomputer communication interface 8 is connected as the data output end of microcomputer serial communication interface with the output terminal of microcomputer serial ports, and the P1.7 of controller 1, P1.6, P1.5 port are connected with the function button 4 of operation control 1; The P1.3 of controller 1, P1.4, P2.1 port also connect warning lamp 5, warning lamp 6 and the caution hummer 7 of realizing sound and light alarm; Also be provided with on the controller 1 and the P6.4 of controller 1, the growth data storer 9 that the P6.3 port is connected.Growth data storer 9 is used for the time clock pin SCL of data transmission and the P6.3 port of controller 1 links, and is used for the pin SDA of data input and output and the P6.4 port of controller 1 and links.
Referring to Fig. 2, temperature data analysis software of the present invention comprises communication management module A, data read preservation module B, temperature data analysis module C, clinical thermometer parameter management module D and data management module E.
Referring to Fig. 1,2, the step of temperature data analytical approach of the present invention is: utilize digital temperature meter to measure a certain amount of temperature data and prepare for Measurement and analysis, and temperature data and thermometric time are kept in the controller 1 of thermometer; Set digital temperature by function button 4 and count on line state, be connected with the serial port of microcomputer by the communication interface 8 of telecommunication cable with thermometer; Start the body temperature analysis management software in the microcomputer, use communication management module A, setting communication port is online port, guarantees that microcomputer communicates by letter unimpeded with digital temperature meter; The data read that starts in the body temperature analysis management software is preserved module B, all temperature datas of preserving in the digital temperature meter is read in the microcomputer and with document form preserve; Start the temperature data analysis module C in the body temperature analysis management software, read normalized data file, according to different analysis requirements, temperature data is analyzed then; Start the clinical thermometer parameter management module D in the body temperature analysis management software, the result parameter that analysis is obtained is sent in the controller 1 in the digital temperature meter; Digital temperature meter is made as off-line mode, and the disconnection digital temperature meter is connected with microcomputer; Digital body thermometer is according to the online assistant analysis of these running parameters realizations to body temperature.
Referring to Fig. 3, the selection of serial port is finished in communicating by letter between the main management computer of communication management module A in the body temperature analysis management software of the present invention and the thermometer, guarantees to use correct port and thermometer to communicate; When digital temperature meter with after microcomputer connects, by communication management module A read test packet, send test packet and test command, send miscue if communication is undesired, otherwise receive the feedback of digital temperature meter, feedback data is carried out verification, if miscue is sent in the verification failure, otherwise relatively receive and send packet, relatively unanimity then successfully finishes, otherwise failure finishes.
Referring to Fig. 5, data read in the body temperature analysis management software of the present invention is preserved module B and is mainly finished the temperature data that reads in the thermometer, the data that read are converted to the data layout that microcomputer can processing and identification; Finish the selection of communication port as communication management module A after, log-on data reading and saving module B, send the reading of data order, judge whether communication is normal, if garble sends miscue, otherwise the temperature data of reception thermometer, temperature data is carried out verification, check errors sends miscue, otherwise with data-switching and extracting time information, the temperature data that extracts is shown and is saved in the microcomputer.
Referring to Fig. 7, the temperature data analysis module C in the body temperature analysis management software of the present invention is according to the temperature data that reads in the microcomputer, but according to different needs curve plotting figure, analysis foundation body temperature, also can analyze body temperature by the time and the patient that select.Start body temperature analysis module C, open data file, judge whether file layout is correct, if incorrectly send miscue, otherwise the body temperature in the read data files, temporal information, according to different needs can tabulate video data, draw temperature curve figure, analyze women's basal body temperature, by select time, select patient to analyze body temperature.
Referring to Figure 10, clinical thermometer parameter management module D in the body temperature analysis management software of the present invention is transferred to digital temperature meter with the running parameter after the temperature data analysis, the running parameter of thermometer is set and changed, some function of startup or closing temperature meter; After the work of body temperature analysis module C is finished, start body temperature parameter management module D, according to the temperature warning parameter of different needs setting alarm clock parameters, body temperature on-line analysis parameter, thermometer, the identification parameter of thermometer, the above parameter that configures is transferred in the controller of digital temperature meter by microcomputer communication interface 8.Can also finish data dump in the thermometer, alarm clock function start-stop control, temperature warning start-stop control.
Referring to Figure 12, data management module E in the body temperature analysis management software of the present invention mainly manages the data file that has been kept in the microcomputer, according to different requirements data file is handled, log-on data administration module E at first, open data file, judge whether file layout is correct, if incorrectly send miscue, otherwise will be stored in the body temperature in the microcomputer, time data requires to merge same patient's data according to different data management, storage multidigit patient's data, the deletion of data file, data file exports as normal data library format and data security management.
Body temperature analysis management software in the microcomputer of the present invention is to use VC++6.0 to write, and can utilize other visual programming languages to realize equally for this software, as: VB, Delphi or the like.
As the terminal of temperature data analytical equipment, digital temperature meter can independently be worked and be finished the temperature data that temperature survey, collection, storage, rough handling collect.Can also analyze, point out women's the onset of ovulation and other functions according to the parameter of setting to temperature data.
In addition, thermometer can with the microcomputer on-line working, as the terminal of analytical equipment.By management software the two can collaborative work.Thermometer will be finished different tasks according to the different instruction that microcomputer sends, as read the parameter of temperature data, setting relevant caution parameter and the work of storage inside.Temperature is counted data analysis basic data is provided, the parameter of receiving and analyzing then, and then finish online prompting.
Embodiment 1, referring to Fig. 1, and 4,6,8,9,11, to the measurement and the analytical approach of women's basal body temperature:
At first, utilize digital temperature meter to measure and store a physiological period of the women body temperature of every day, since designed 40 groups of temperature data storage spaces in this thermometer, therefore for most women, all data in physiological period of the preservation that this thermometer can be complete;
Secondly, by function button 4 digital temperature meter is set at and the joining communication pattern of microcomputer, by microcomputer communication interface 8 with thermometer and computer interconnection, microcomputer is operated under the communication management module A, move thereafter reading of data in the body temperature analysis management software preserve module B with all data reads in the thermometer in microcomputer, and these data are kept in the microcomputer with document form;
Once more, open the file of preservation, start the temperature data analysis module C in the software.This module will be depicted as a basal body temperature curve to the temperature data of preserving in the file, and show the time that each temperature data is gathered simultaneously;
For the doctor that professional knowledge is arranged, this table can assist him to carry out luteal function diagnosis, and as the pathological data of the auxiliary diagnosis of infertility patient and habitual abortion patients
For common women, this table can assist them to understand the situation of own physiological period, assists autodiagnosis;
And then temperature data analysis module C can calculate this women's basal body temperature value and the body temperature interval of her onset of ovulation according to basal body temperature ultimate principle analysis meter in this table; After this, can with the onset of ovulation body temperature interval parameter by clinical thermometer parameter management module D, download to serial communication mode in the controller 1 of thermometer;
At last, after the onset of ovulation, the body temperature parameter was saved in the thermometer, thermometer just can be as this women's of standard inline diagnosis body temperature situation, and when the body temperature arrival body temperature of the measuring onset of ovulation was interval, she entered the onset of ovulation with red warning lamp 5 flash for prompting; If body temperature from this interval far then be diagnosed as safe period, green warning lamp 6 flash for prompting she in the place of safety; If body temperature closes on this interval, enter the critical section with red green warning lamp while flash for prompting.
By above method, the use of adapting device just can reach the analysis of women's basal body temperature and the inline diagnosis work of the onset of ovulation.
In addition, can utilize the alarm clock in the temperature data analysis management software that submodule is set.Utilize the alarm clock function in this module activationary temperature meter earlier, and set a quarter-bell such as early morning 7:30.Like this early morning every day 7:30, clinical thermometer will be reminded user's take temperature.
Embodiment 2, for the method for chronic patient auxiliary body temperature measurement, analysis:
At first, can utilize the alarm clock in the body temperature analysis management software that submodule is set.Utilize the alarm clock function in the startup function activation thermometer in this module earlier, can set the time that needs take temperature as required then, can set 3 different moment at most.Clinical thermometer just has been equivalent to an alarm clock like this;
After this, after timing arrived, digital temperature meter can be pointed out patient timely take temperature.And the body temperature of measuring is kept in the clinical thermometer together with the time of measuring.So just ceaselessly give patient's take temperature, record measurements by hand every day without the nurse;
After after a while, can be by using data read module B in the temperature data analysis management software with the data read collected and be kept in the computing machine.After this, can utilize the body temperature analysis module C in the software that all data of collecting are analyzed again, as: draw the body temperature change curve, the temperature data of a certain fixed time is carried out statistical study etc.These are analyzed and all to help the diagnosis of doctor to patient's state of an illness, and to the research of pathology.
Utilize above-mentioned method can improve the efficient of carrying out pathological analysis for chronic patient body temperature, reduce doctor and nurse's workload.
Embodiment 3: a large amount of patient temperature data of method measure, manage, analyze to(for) hospital:
At first, can utilize identity management module among the thermometer clinical thermometer parameter management module D in the body temperature analysis management software.The thermometer that utilizes this module to use for each patient is earlier set a specific numbering, helps follow-up data management and identification;
Secondly, can set the prompting thermometric time according to different patients' needs, and the onset of ovulation parameter such as temperature range, to satisfy different patients' different demands;
After this, give patient, allow patient's take temperature on time, and save the data in the clinical thermometer the digital temperature meter that configures;
Once more, patient's thermometer is collected, carry out data processing.Utilize the data read module A in the software can read and preserve each patient's temperature data.And then can log-on data administration module E with the deposit data collected in a database, so that further administrative analysis;
Can use the data analysis module C in the software to carry out analytical work at last, as: body temperature change curve, the temperature data of query processing given patient, the temperature data between the more similar patient or the like drawn;
In addition, the data file of cannonical format helps the doctor and uses other tool software that the data of gathering are analyzed, and has expanded the scope of using.
Utilize above-mentioned method can improve measurement, management and the analysis of hospital for numerous patient temperature data.The ability that has strengthened data analysis and compared mutually assists a physician certain disease is carried out deep pathological study.Also reduce doctor and nurse's workload.