CN108074627A - A kind of interface trigger event response processing method of clinical medical data crawl - Google Patents
A kind of interface trigger event response processing method of clinical medical data crawl Download PDFInfo
- Publication number
- CN108074627A CN108074627A CN201610987237.2A CN201610987237A CN108074627A CN 108074627 A CN108074627 A CN 108074627A CN 201610987237 A CN201610987237 A CN 201610987237A CN 108074627 A CN108074627 A CN 108074627A
- Authority
- CN
- China
- Prior art keywords
- hook
- trigger event
- crawl
- dynamic base
- event
- 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
Landscapes
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The invention discloses a kind of interface trigger event response processing methods of clinical medical data crawl, the present invention includes hook (HOOK) technology provided by Microsoft, Hook Function is encapsulated into dynamic base, then process hook (HOOK) being injected into where medical software windows form controls, system message will be intercepted by the dynamic base, it needs to unload the process where hook from the medical software windows form controls when program exits, suitable for the medical software windows softwares of all C/S structures.The method of the present invention can monitor all medical software interfaces trigger event, and different operations is then carried out according to different trigger events, and versatility is good, easy to operate, and performance is stablized.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of interface trigger event of clinical medical data crawl is rung
Answer processing method.
Background technology
With China's hospital digitisation, the development of informatization, more and more infirmaries are born, but due to doctor
Number is limited, and doctor's number of particularly fine craftsmanship is more limited, and many people is caused to see a doctor and all like large hospital is gone to see a doctor, are led
The situation of patient's the difficulty of getting medical service is caused, so as to derive tele-consultation system, the birth of the system facilitates many people and sees a doctor,
But the core of remote medical consultation with specialists is the source of clinical data, but every hospital is all different with software, by with each family
Interface does to realize the method heavy workload of the acquisition of remote clinical data in medical software company, of high cost, autgmentability is low, it is necessary to one
The method that kind can obtain medical software system window control data automatically has to a certain during data are obtained automatically
A event determines when to carry out crawl data, therefore just needs the interface trigger event processing side of a data grabber
Method.
The content of the invention
In order to solve problem of the prior art, the present invention provides a kind of interface trigger events of clinical medical data crawl
Response processing method.
The technical solution is as follows:Patient information is registered with medical software in doctor, hospital course registration, the state of an illness
During registration, the parameter of event is touched to decide when to have grabbed in the interface operated by xml configuration files configuration doctor
Effect, accurate data.
Specific implementation of the present invention is:
1st, a kind of interface trigger event response processing method of clinical medical data crawl,
A), hook (HOOK) technology provided by Microsoft, Hook Function is encapsulated into dynamic base, then by hook (HOOK)
The process being injected into where medical software windows form controls, the dynamic base can load crawl during injection and match somebody with somebody
All data in xml document are put, include the various parameters of interface trigger event.
B) corresponding hooking systems type of message, is arranged as required in the dynamic base, when the medical software
When windows form controls interface sends system message to the process where medical software windows form controls, this system
Message will be intercepted by the dynamic base, and the dynamic base can obtain parameter all in system message, pass through the dynamic
Original system message is sent to corresponding medical software windows form controls again after the processing of storehouse.
C), need to unload the process where hook from the medical software windows form controls when program exits.
2nd, further, in the parameter and the crawl configuration xml document in the system message that the dynamic base is truncated to
Interface trigger event parameter compared, satisfactory message event is processed, and undesirable message event is direct
It is sent to the medical software Windows form controls.
3rd, further, the parameter of the trigger event function SetWindowsHookEx in the system message is WH_
GETMESSAGE。
4th, further, the interface trigger event includes KeyEvent, mouse event, and target creates event, the mouse
Mark event is clicked including left button, left double click, right button are clicked, and the KeyEvent includes enter key, various shortcuts, the mesh
Marking establishment event includes all crawl interfaces.
5th, further, it is only applicable to the crawl of the medical software windows form control data of C/S structures.
The advantageous effect that technical solution provided by the invention is brought is:
Since the hook is versatile, suitable for the medical software windows softwares of all C/S structures, pass through xml configuration files
All medical software interfaces trigger event can be monitored, different operations is then carried out according to different trigger events, it is general
Property it is good, it is easy to operate, performance stablize.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, embodiment of the present invention is made below further
It is described in detail on ground.
Interface trigger event response processing method:By writing dynamic base, global hook is set, hook is encapsulated into dynamic
Packaged hook communication api function SetWindowsHookEx () is then injected into the medical software for needing to monitor by storehouse
In, then the hooking systems message in dynamic base, is triggered by the parameter for capturing configuration xml document to intercept required interface
Event when required interface trigger event is triggered, will call the data grabber function in dynamic base, by data grabber
Process where trigger event just is returned to medical software windows control interfaces after complete, thus can effectively, accurately
Required data are truncated to, it is basic to realize that process is as follows:
1st, first by writing a DLL dynamic base, start interfaces are realized in dynamic base, for hook is injected into
In process where windows form controls, set and hooked by api function SetWindowsHookEx ().
2nd, configuration crawl configures xml document as needed, includes the various parameters of interface trigger event.The root in dynamic base
According to needing to set corresponding hooking systems type of message, when medical software windows form controls interface is to medical software
When process where windows form controls sends system message, this system message will be intercepted by the dynamic base, dynamic
Storehouse can obtain parameter all in system message, and original system message is sent to corresponding medical treatment again after being handled by dynamic base
Software windows form controls.
3rd, the interface triggering thing in the parameter in the system message that dynamic base is truncated to and the crawl configuration xml document
Part parameter is compared, and satisfactory message event is processed, and it is soft that undesirable message event is transmitted directly to medical treatment
Part Windows form controls.
4th, the parameter of the trigger event function SetWindowsHookEx in system message is WH_GETMESSAGE.
5th, interface trigger event includes KeyEvent, mouse event, and target creates event, and the mouse event includes a left side
Key is clicked, left double click, right button are clicked, and the KeyEvent includes enter key, various shortcuts, and the target creates event package
Include all crawl interfaces.
6th, when program exits, it is necessary to discharge global hook by api function UnhookWindowsHookEx ()
(HOOK), prevent that hook cannot be injected into specified process during next software restarting, and can prevent it is right in abnormal cases
The influence of medical software.
Claims (5)
1. a kind of interface trigger event response processing method of clinical medical data crawl, it is characterised in that:
A) hook (HOOK) technology provided by Microsoft, Hook Function is encapsulated into dynamic base, then by hook (HOOK)
The process being injected into where medical software windows form controls, the dynamic base can load crawl during injection and match somebody with somebody
All data in xml document are put, include the various parameters of interface trigger event;
B) corresponding hooking systems type of message is arranged as required in the dynamic base, as the medical software windows
When form control interface sends system message to the process where medical software windows form controls, this system message is just
It can be intercepted by the dynamic base, the dynamic base can obtain parameter all in system message, be handled by the dynamic base
Original system message is sent to corresponding medical software windows form controls again afterwards;
C) need to unload the process where hook from the medical software windows form controls when program exits.
2. the interface trigger event response processing method of clinical medical data crawl as described in claim 1, which is characterized in that institute
The interface trigger event parameter stated in the parameter in the system message that dynamic base is truncated to and the crawl configuration xml document carries out
Comparison, satisfactory message event are processed, and undesirable message event is transmitted directly to the medical software
Windows form controls.
3. the interface trigger event response processing method of clinical medical data crawl as described in claim 1, which is characterized in that institute
The parameter for stating the trigger event function SetWindowsHookEx in system message is WH_GETMESSAGE.
4. the interface trigger event response processing method of clinical medical data crawl as described in claim 1, which is characterized in that institute
Stating interface trigger event includes KeyEvent, mouse event, and target creates event, and the mouse event is clicked including left button, is left
Key is double-clicked, right button is clicked, and the KeyEvent includes enter key, various shortcuts, and the target creates event including all
Capture interface.
5. the interface trigger event response processing method of clinical medical data crawl as described in claim 1, which is characterized in that only
Suitable for the crawl of the medical software windows form control data of C/S structures.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610987237.2A CN108074627A (en) | 2016-11-10 | 2016-11-10 | A kind of interface trigger event response processing method of clinical medical data crawl |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610987237.2A CN108074627A (en) | 2016-11-10 | 2016-11-10 | A kind of interface trigger event response processing method of clinical medical data crawl |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108074627A true CN108074627A (en) | 2018-05-25 |
Family
ID=62153976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610987237.2A Pending CN108074627A (en) | 2016-11-10 | 2016-11-10 | A kind of interface trigger event response processing method of clinical medical data crawl |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108074627A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857499A (en) * | 2019-01-09 | 2019-06-07 | 北京数衍科技有限公司 | The universal method obtained based on the windows system cash register software screen amount of money |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101604360A (en) * | 2009-07-29 | 2009-12-16 | 湖南科技大学 | Medical information integration interface based on Web service |
-
2016
- 2016-11-10 CN CN201610987237.2A patent/CN108074627A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101604360A (en) * | 2009-07-29 | 2009-12-16 | 湖南科技大学 | Medical information integration interface based on Web service |
Non-Patent Citations (2)
Title |
---|
张勇等: "窗体创建与销毁消息的截获与处理", 《海军航空工程学院学报》 * |
李统林等: "基于钩子技术的操作监控系统设计", 《淮阴工学院学报》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857499A (en) * | 2019-01-09 | 2019-06-07 | 北京数衍科技有限公司 | The universal method obtained based on the windows system cash register software screen amount of money |
CN109857499B (en) * | 2019-01-09 | 2022-05-03 | 北京数衍科技有限公司 | Universal method for acquiring cash register software screen amount based on windows system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105074698B (en) | It is performed in parallel continuous events processing (CEP) inquiry | |
JP5749384B2 (en) | Method and system for providing remote access to the state of an application program | |
US8250540B2 (en) | System and method for administration of mobile application | |
US9286140B2 (en) | Remotely monitoring and scheduling a data integration job | |
US8843930B2 (en) | Thread scheduling and control framework | |
WO2006067725A3 (en) | Medical monitoring method and system | |
WO2008126221A1 (en) | Software modification management program, software modification management device, and software modification management method | |
CN108008992A (en) | One kind input operation processing method, processing unit and computer-readable recording medium | |
US20190347059A1 (en) | Computer-implemented method and system for generating a mobile application from a desktop application | |
CN108074627A (en) | A kind of interface trigger event response processing method of clinical medical data crawl | |
CN110782233A (en) | Authority management method based on OA approval and between business systems | |
CN108089737B (en) | Multi-mouse control method and device for single computer | |
JP5675372B2 (en) | Virus monitoring system and virus monitoring method | |
CN106412123B (en) | Method and system for distributed processing of terminal equipment information by cloud access controller | |
CN108074626A (en) | A kind of Windows form controls data grab method | |
Xu et al. | A methodology for systematic attack trees generation for interoperable medical devices | |
CN102541674B (en) | Control system and method of autonomic element model and server invasion protection and detection system | |
WO2005067403A3 (en) | Integrated alarm manager shared by multiple monitoring processes on an operation and maintenance processor | |
CN102739461B (en) | The method of acquisition back-end data based on FLEX | |
WO2016019732A1 (en) | Method, device, and system for processing operation result | |
CN103618643B (en) | A kind of message queue dynamic alert monitoring method and device | |
US11784969B2 (en) | System for securely monitoring and extracting data through a private network | |
US10528535B2 (en) | Database work file storage limit facility | |
US20200293371A1 (en) | Usecase specification and runtime execution | |
CN108023965A (en) | A kind of information integration method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180525 |
|
WD01 | Invention patent application deemed withdrawn after publication |