CN117219255A - Data access method and system for different medical examination equipment under universal standard - Google Patents

Data access method and system for different medical examination equipment under universal standard Download PDF

Info

Publication number
CN117219255A
CN117219255A CN202311244787.1A CN202311244787A CN117219255A CN 117219255 A CN117219255 A CN 117219255A CN 202311244787 A CN202311244787 A CN 202311244787A CN 117219255 A CN117219255 A CN 117219255A
Authority
CN
China
Prior art keywords
data
medical examination
equipment
local
cloud
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
Application number
CN202311244787.1A
Other languages
Chinese (zh)
Inventor
高聘成
杨高超
罗宝利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Langchao Intelligent Medical Technology Co ltd
Original Assignee
Shandong Langchao Intelligent Medical Technology Co ltd
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 Shandong Langchao Intelligent Medical Technology Co ltd filed Critical Shandong Langchao Intelligent Medical Technology Co ltd
Priority to CN202311244787.1A priority Critical patent/CN117219255A/en
Publication of CN117219255A publication Critical patent/CN117219255A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method and a system for accessing data of different medical examination equipment under a general standard, belongs to the technical field of medical docking, and aims to solve the technical problem of how to realize the data access of the different medical examination equipment. Based on the data communication mode supported by the medical examination equipment, the local equipment and the medical examination equipment are connected in a relevant butt joint mode, the local equipment monitors the medical examination equipment through a monitoring thread and processes the received data through a business processing thread, the cloud lis is uploaded, the cloud lis converts the received data into standard data after processing the received data, the access of different medical examination equipment data is realized, and the requirements of the data on different businesses are realized.

Description

Data access method and system for different medical examination equipment under universal standard
Technical Field
The invention relates to the technical field of medical docking, in particular to a method and a system for accessing data of different medical examination equipment under a general standard.
Background
The current test results provide scientific and efficient diagnosis basis for doctors, and as hospitals introduce more and more advanced test equipment, more patients can enjoy the convenience brought by the modern technology.
However, due to the different numbers of test persons and the different required test times, the patient cannot accurately obtain the real-time detection state after the test. Meanwhile, due to the fact that the introduction time of the hospital checking equipment is different, brands, models and functions are also different, part of operations may need to be manually interfered, and therefore some problems of lag of detection results are caused.
How to realize the data access of different medical examination equipment is a technical problem to be solved.
Disclosure of Invention
The technical task of the invention is to provide the data access method and the system for different medical examination equipment under the general standard to solve the technical problem of how to realize the data access of the different medical examination equipment.
In a first aspect, the present invention provides a method for accessing data of different medical examination devices under a general standard, which is applied to a system composed of a local device, a medical examination device and a cloud lis, and the method includes the following steps:
based on a communication mode supported by the medical examination equipment, the local equipment and the medical examination equipment are connected in a relevant docking mode, the local equipment and the cloud lis are connected, and for the connection between the local equipment and the cloud lis and the connection between the local equipment and the medical examination equipment, the connection state is periodically checked, and the connection state is updated, wherein the connection state comprises normal and abnormal;
monitoring the medical examination equipment through a monitoring thread, and when the data uploaded by the medical examination equipment is monitored, uniformly receiving the data started in different modes by a parent class through inheritance and polymorphic characteristics of Java, wherein the received data is processed by a corresponding business processing thread;
for the received data, the data is stored to the local equipment after being packaged and encrypted through a business processing thread, and when the connection state of the local equipment and the cloud lis is normal, the data is sent to the cloud lis, and the data state is updated in real time;
after receiving the data after the encapsulation encryption, the cloud lis allocates a unique identifier for the data, sends the data to a corresponding pre-configured plug-in based on the unique identifier, and performs data processing on the data through the plug-in to obtain standard data meeting a preset standard.
Preferably, for the connection between the local device and the cloud lis and the connection between the local device and the medical examination device, the periodic examination connection state is realized by periodically transmitting heartbeat messages.
Preferably, when the medical examination equipment runs at the Socket server, the medical examination equipment periodically sends heartbeat to the medical examination equipment through a program deployed in the local equipment so as to judge whether the connection is disconnected or not and send out a warning;
when the medical examination equipment runs in a Socket client, the medical examination equipment is accessed, a program deployed in the local equipment is actively connected with the medical examination equipment, and is subjected to delayed reconnection after connection failure, heart beat is monitored after connection success, and reconnection is performed when heart beat and data are not received in a limited interval;
when the medical examination device runs on files, the program deployed on the local device monitors the last change time of all files in the configured folder, records the last modification position in the form of a pointer, and marks the program from the last modification position to the end and again when the files are changed.
Preferably, for data uploaded by medical examination equipment, for Socket type, the monitoring process monitors based on HL7 protocol, and for file type data, the monitoring thread monitors based on data content change;
when the monitoring process monitors based on the HL7 protocol, the following steps are executed: according to the MLLP packaging characteristic, scanning and marking data byte by byte, if the message is incomplete, transmitting a retransmission frame to medical examination equipment, if the message accords with the MLLP characteristic, transmitting the retransmission frame to a business processing thread by a monitoring thread for orderly processing, and suspending the thread after the processing is completed so as to save performance cost and wait for the activation of the monitoring thread;
when the monitoring thread monitors based on the data content change, the file name and the changed content are transferred and transferred to the service processing thread.
Preferably, for the received data, the following processing is performed by a service processing thread:
after the data are packaged and encrypted, the data are stored in a local database, wherein the local database comprises SQLite;
calling a background interface of the local equipment to submit data, and updating the data state into a submitted state;
judging the connection state of the local equipment and the cloud lis when data is submitted;
if the connection state is normal, sending data to the cloud lis and receiving a result returned by the cloud lis, if the result is successful, updating the data state to be successful in sending, and if the result is failed, updating the data state to be failed in sending;
if the connection state is abnormal, the data state is updated to be in a transmitting state, and when the connection state is normal, data is transmitted to the cloud lis and the result returned by the cloud lis is received, if the result is successful, the data state is updated to be successful in transmission, and if the result is failed, the data state is updated to be failed in transmission.
Preferably, after the cloud lis receives the data after the encapsulation encryption, a unique identifier is allocated to the data based on the difference information of the data, the data is sent to a corresponding pre-configured plug-in unit in a plug-in mode through a reflection technology based on the unique identifier, and the data is processed through the plug-in unit, so that the data is converted into data conforming to a preset standard format, and standard data is obtained;
wherein the differential information includes the function, operating logic, format, and communication protocol of the data.
Preferably, based on various different medical examination devices to be docked, pre-configuring corresponding configuration files through cloud lis and issuing the configuration files to the local devices, wherein the configuration files realize docking of the local devices and the medical examination devices based on docking modes supported by the medical examination devices;
based on the communication mode supported by the medical examination equipment, the local equipment reads the configuration file through a preconfigured program and establishes connection with the medical examination equipment in an automatic corresponding docking mode;
if the corresponding configuration file is not found in the local equipment, the local equipment supports a manual mode to select a docking mode and establishes connection with the medical examination equipment.
In a second aspect, the present invention is a system for accessing data of different medical examination devices under a general standard, for implementing dynamic access of data of medical examination devices by accessing data of different medical examination devices under a general standard according to any one of the first aspects, where the system includes a local device, a medical examination device, and a cloud lis;
based on a communication mode supported by the medical examination equipment, the local equipment and the medical examination equipment are connected in a relevant docking mode, the local equipment and the cloud lis are connected, and for the connection between the local equipment and the cloud lis and the connection between the local equipment and the medical examination equipment, the connection state is periodically checked, and the connection state is updated, wherein the connection state comprises normal and abnormal;
the local equipment is used for monitoring the medical examination equipment through the monitoring thread, when the data uploaded by the medical examination equipment is monitored, the data started in different modes are uniformly received by the parent class through the inheritance and polymorphism characteristics of Java, and the received data is processed by the corresponding business processing thread;
for the received data, the local device is used for encapsulating and encrypting the data through a service processing thread and then storing the encrypted data into the local device, and when the connection state of the local device and the cloud lis is normal, the local device sends the data to the cloud lis and updates the data state in real time;
after receiving the encapsulated encrypted data, the cloud lis is configured to perform the following: and (3) allocating a unique identifier for the data, and transmitting the data to a corresponding pre-configured plug-in based on the unique identifier, and performing data processing on the data through the plug-in to obtain standard data meeting the pre-determined standard.
Preferably, for the connection between the local device and the cloud lis and the connection between the local device and the medical examination device, the periodic examination connection state is realized by periodically sending heartbeat messages;
when the medical examination equipment operates at the Socket server, the local equipment is used for periodically sending heartbeat to the medical examination equipment through a deployed program so as to judge whether the connection is disconnected or not and send out a warning;
when the medical examination equipment runs in a Socket client, the local equipment is used for actively connecting the medical examination equipment through a deployed program, carrying out delayed reconnection after connection failure, monitoring heartbeat after connection success, and reconnecting when heartbeat and data are not received in a limited interval;
when the medical examination device runs on files, the local device is used for monitoring the last change time of all files in the configured folder through a deployed program, recording the last modification position in a pointer form, and enabling the program to change from the last modification position to the end and to be marked again each time the files are changed;
for data uploaded by medical examination equipment, for Socket type, the local equipment calls a monitoring thread, and the monitoring process monitors based on HL7 protocol; for file type data, the local device calls a monitoring thread, and the monitoring thread monitors based on the change of the data content;
when the monitoring process monitors based on the HL7 protocol, the following steps are executed: according to the MLLP packaging characteristic, scanning and marking data byte by byte, if the message is incomplete, transmitting a retransmission frame to medical examination equipment, if the message accords with the MLLP characteristic, transmitting the retransmission frame to a business processing thread by a monitoring thread for orderly processing, and suspending the thread after the processing is completed so as to save performance cost and wait for the activation of the monitoring thread;
when the monitoring thread monitors based on the data content change, the file name and the changed content are transferred and transferred to the service processing thread;
for the received data, the local device is configured to perform the following processing by using a service processing thread:
after the data are packaged and encrypted, the data are stored in a local database, wherein the local database comprises SQLite;
calling a background interface of the local equipment to submit data, and updating the data state into a submitted state;
judging the connection state of the local equipment and the cloud lis when data is submitted;
if the connection state is normal, sending data to the cloud lis and receiving a result returned by the cloud lis, if the result is successful, updating the data state to be successful in sending, and if the result is failed, updating the data state to be failed in sending;
if the connection state is abnormal, the data state is updated to be in a transmitting state, and when the connection state is normal, data is transmitted to the cloud lis and the result returned by the cloud lis is received, if the result is successful, the data state is updated to be successful in transmission, and if the result is failed, the data state is updated to be failed in transmission.
Preferably, after receiving the encapsulated encrypted data, the cloud lis is configured to perform the following: based on the difference information of the data, a unique identifier is allocated to the data, the data is sent to a corresponding pre-configured plug-in unit in a plug-in mode through a reflection technology based on the unique identifier, and the data is processed through the plug-in unit, so that the data is converted into data conforming to a preset standard format, and standard data is obtained;
wherein the differential information includes the function, operating logic, format, and communication protocol of the data;
based on various different medical examination devices to be docked, cloud lis is used for pre-configuring corresponding configuration files and issuing the configuration files to the local devices, and the configuration files realize docking of the local devices and the medical examination devices based on docking modes supported by the medical examination devices;
based on the communication mode supported by the medical examination equipment, the local equipment is used for reading the configuration file through a preconfigured program and establishing connection with the medical examination equipment in an automatic corresponding docking mode;
if the corresponding configuration file is not found in the local equipment, the local equipment is used for supporting a manual mode to select a docking mode and establishing connection with the medical examination equipment.
The data access method and system for different medical examination equipment under the general standard have the following advantages:
1. based on a data communication mode supported by the medical examination equipment, the local equipment and the medical examination equipment are connected in a related butt joint mode, the local equipment monitors the medical examination equipment through a monitoring thread and processes the received data through a business processing thread, the cloud lis is uploaded, and the cloud lis converts the received data into standard data after processing the received data, so that the access of the data of different medical examination equipment is realized, and the requirements of the data on different businesses are realized;
2. the local equipment encapsulates and encrypts the received data and stores the encrypted data into a local database, so that the data loss caused by disconnection of the local equipment and the cloud lis is avoided;
3. the connection between the local equipment and the cloud lis and the connection between the local equipment and the medical examination equipment periodically detect the connection state, so that the effective and accurate transmission of data is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
The invention is further described below with reference to the accompanying drawings.
Fig. 1 is a block diagram of the operation flow of the data access method of the different medical examination devices under the general standard in embodiment 1.
Detailed Description
The invention will be further described with reference to the accompanying drawings and specific examples, so that those skilled in the art can better understand the invention and implement it, but the examples are not meant to limit the invention, and the technical features of the embodiments of the invention and the examples can be combined with each other without conflict.
The embodiment of the invention provides a method and a system for accessing data of different medical examination equipment under a general standard, which are used for solving the technical problem of how to realize the data access of the different medical examination equipment.
Example 1:
the invention discloses a data access method of different medical examination equipment under a general standard, which is applied to a system consisting of local equipment, medical examination equipment and cloud lis, and comprises the following steps:
s100, based on a communication mode supported by medical examination equipment, the local equipment and the medical examination equipment are connected in a relevant butt joint mode, the local equipment and the cloud lis are connected, and for connection between the local equipment and the cloud lis and connection between the local equipment and the medical examination equipment, connection states are periodically checked and updated, wherein the connection states comprise normal and abnormal states;
s200, monitoring the medical examination equipment through a monitoring thread, and when the data uploaded by the medical examination equipment is monitored, uniformly receiving the data started in different modes by a parent class through inheritance and polymorphic characteristics of Java, wherein the received data is processed by a corresponding business processing thread;
s300, for the received data, the data are packaged and encrypted through a service processing thread and then stored in local equipment, when the connection state of the local equipment and cloud lis is normal, the data are sent to cloud lis, and the data state is updated in real time;
and S400, after the cloud lis receives the data subjected to package encryption, assigning a unique identifier for the data, and transmitting the data to a corresponding pre-configured plug-in unit based on the unique identifier, and performing data processing on the data through the plug-in unit to obtain standard data meeting a predetermined standard.
In the method of the embodiment, based on various different medical examination devices to be docked, corresponding configuration files are preconfigured through the cloud lis and are issued to the local device, and the configuration files realize docking of the local device and the medical examination device based on a docking mode supported by the medical examination device.
Based on the communication mode supported by the medical examination equipment, the local equipment reads the configuration file through a preconfigured program and establishes connection with the medical examination equipment in an automatic corresponding docking mode.
If the corresponding configuration file is not found in the local equipment, the local equipment supports a manual mode to select a docking mode and establishes connection with the medical examination equipment.
In step S100 of this embodiment, for the connection between the local device and the cloud lis and the connection between the local device and the medical examination device, the periodic examination connection state is realized by periodically transmitting the heartbeat message. The specific implementation mode is as follows:
(1) When the medical examination equipment operates at a Socket server, the medical examination equipment periodically sends heartbeat to the medical examination equipment through a program deployed in the local equipment so as to judge whether the connection is disconnected and send out a warning;
(2) When the medical examination equipment runs in a Socket client, the medical examination equipment is accessed, a program deployed in the local equipment is actively connected with the medical examination equipment, and is subjected to delayed reconnection after connection failure, heart beat is monitored after connection success, and reconnection is performed when heart beat and data are not received in a limited interval;
(3) When the medical examination device runs on files, the program deployed on the local device monitors the last change time of all files in the configured folder, records the last modification position in the form of a pointer, and marks the program from the last modification position to the end and again when the files are changed.
In step S200, for the data uploaded by the medical inspection device, for the Socket type, the monitoring process monitors based on HL7 protocol, and for the file type data, the monitoring thread monitors based on the data content change. The specific implementation is as follows:
(1) When the monitoring process monitors based on the HL7 protocol, the following steps are executed: according to the MLLP packaging characteristic, scanning and marking data byte by byte, if the message is incomplete, transmitting a retransmission frame to medical examination equipment, if the message accords with the MLLP characteristic, transmitting the retransmission frame to a business processing thread by a monitoring thread for orderly processing, and suspending the thread after the processing is completed so as to save performance cost and wait for the activation of the monitoring thread;
(2) When the monitoring thread monitors based on the data content change, the file name and the changed content are transferred and transferred to the service processing thread.
In step S300, the received data is processed by the service processing thread as follows:
(1) After the data are packaged and encrypted, the data are stored in a local database, wherein the local database comprises SQLite;
(2) Calling a background interface of the local equipment to submit data, and updating the data state into a submitted state;
(3) Judging the connection state of the local equipment and the cloud lis when data is submitted;
if the connection state is normal, sending data to the cloud lis and receiving a result returned by the cloud lis, if the result is successful, updating the data state to be successful in sending, and if the result is failed, updating the data state to be failed in sending;
if the connection state is abnormal, the data state is updated to be in a transmitting state, and when the connection state is normal, data is transmitted to the cloud lis and the result returned by the cloud lis is received, if the result is successful, the data state is updated to be successful in transmission, and if the result is failed, the data state is updated to be failed in transmission.
After the cloud lis in step S400 receives the data after the encapsulation and encryption, a unique identifier is allocated to the data based on the difference information of the data, the data is sent to a corresponding pre-configured plug-in unit in a plug-in mode through a reflection technology based on the unique identifier, and the data is processed through the plug-in unit, so that the data is converted into data conforming to a predetermined standard format, and standard data is obtained; the differential information includes the function, operating logic, format, and communication protocol of the data.
When the method of the present embodiment is executed, the above method is executed between the local device, the medical examination device, and the cloud lis based on the above method development program. The program development language selects Java language with cross-platform characteristic, can be used on a Windows, linux, mac platform, is internally provided with jre running environment, and can be directly run without setting up environment in an original system through sh, bat and other scripts.
After the program is started, the local configuration is firstly read, a docking mode is automatically selected according to the configuration (such as a Socket server, a Socket client and a file) program, connection with equipment is established, and monitoring of connection state with the background is realized through periodic communication with the background.
When HL7 data is monitored, the problems caused by sticking and unpacking are avoided, a program scans and marks the data byte by byte according to the MLLP packaging characteristic, if the message is incomplete, a retransmission frame is sent to the inspection equipment, the retransmission frame accords with the MLLP characteristic, the retransmission frame is transmitted to a business processing thread for orderly processing by the monitoring thread, and the thread is suspended after the processing is completed, so that the performance cost is saved, and the activation of the monitoring thread is waited.
When the data of file change is monitored, the program transmits the changed file name and changed content to the service processing thread.
The service processing thread performs encapsulation encryption (including belonging hospitals, inspection equipment information, custom configuration and the like) on the received data, stores the data in a local database (SQLite) and sends the data in a parallel state, submits the data by calling a background interface, marks the submitted state and a return result, and normally pushes the data when the data is connected with the background, and resends the abnormal data when the status bit is abnormal and normally pushes the data. When the data connection is disconnected, only the data juxtaposition status bit is saved.
The back end receives the data, and then generates a unique identifier through configuration of the combination of different information of a hospital, a manufacturer, a model and the like, the unique identifier corresponds to a designated plug-in unit in a plug-in mode by utilizing a reflection technology, the data is transmitted, the plug-in unit processes according to input and outputs the processed data as background standard data, the device is accessed, and the thermal updating and the function expansion can be performed according to real-time conditions.
The method of the embodiment can realize the dynamic access of data of any medical examination equipment in any hospital, and the data are interacted in real time to form the interconnection and intercommunication of the data between the equipment and the equipment, between the equipment and the person and between the person and the equipment; the inspection efficiency is improved, and unnecessary labor expenditure is reduced.
The patient can obtain the inspection state in real time after detecting, can show the queuing condition according to the number of people that detects simultaneously to can in time see electronic version inspection result content when inspection result comes out.
Through the interconnection and intercommunication of the inspection equipment, the energized obstruction of a higher-level hospital is reduced, and effective data support is provided for medical community and bidirectional transfer.
Considering the stability and reliability of the terminal, the log is recorded in the software layer by taking the day as a unit through differentiating grades, meanwhile, the test data is locally stored, the data is marked and recorded when emergency such as network disconnection and background request failure occurs, and the data is automatically processed when the normal state is recovered, and meanwhile, an effective basis is provided for analysis of later technicians.
Example 2:
the invention discloses a data access system of different medical examination equipment under a general standard, which comprises local equipment, medical examination equipment and cloud lis, wherein the system can execute the method disclosed in the embodiment 1 to realize the dynamic access of the data of the medical examination equipment.
Based on the communication mode supported by the medical test device, the local device and the medical test device establish connection through the relevant docking mode, and the local device and the cloud lis establish connection, and for the connection between the local device and the cloud lis and the connection between the local device and the medical test device, the connection state is periodically checked, and the connection state is updated, wherein the connection state includes normal and abnormal.
In this embodiment, based on various different medical test devices to be docked, the cloud lis is configured to pre-configure a corresponding configuration file and send the configuration file to the local device, where the configuration file implements docking between the local device and the medical test device based on a docking manner supported by the medical test device.
Based on the communication mode supported by the medical examination equipment, the local equipment is used for reading the configuration file through a preconfigured program and establishing connection with the medical examination equipment in an automatic corresponding docking mode.
If the corresponding configuration file is not found in the local equipment, the local equipment is used for supporting a manual mode to select a docking mode and establishing connection with the medical examination equipment.
For the connection between the local device and the cloud lis and the connection between the local device and the medical examination device, the system is used to achieve periodic examination of the connection status by periodically sending heartbeat messages. The specific implementation mode is as follows:
(1) When the medical examination equipment operates at the Socket server, the local equipment is used for periodically sending heartbeat to the medical examination equipment through a deployed program so as to judge whether the connection is disconnected or not and send out a warning;
(2) When the medical examination equipment runs in a Socket client, the local equipment is used for actively connecting the medical examination equipment through a deployed program, carrying out delayed reconnection after connection failure, monitoring heartbeat after connection success, and reconnecting when heartbeat and data are not received in a limited interval;
(3) When the medical examination device is running on files, the local device is used for monitoring the last change time of all files in the configured folder through the deployed program, recording the last modification position through a pointer form, and enabling the program to be from the last modification position to the end and to be marked again each time the files are changed.
The local equipment is used for monitoring the medical examination equipment through the monitoring thread, when the data uploaded by the medical examination equipment is monitored, the data started in different modes are uniformly received by the parent class through the inheritance and polymorphism characteristics of Java, and the received data are processed by the corresponding business processing thread.
In this embodiment, for data uploaded by the medical inspection device, for Socket type, the local device is used to call a monitor thread, the monitor process monitors based on HL7 protocol, and for file type data, the monitor thread monitors based on data content change. The specific implementation is as follows:
(1) When the monitoring process monitors based on the HL7 protocol, the following steps are executed: according to the MLLP packaging characteristic, scanning and marking data byte by byte, if the message is incomplete, transmitting a retransmission frame to medical examination equipment, if the message accords with the MLLP characteristic, transmitting the retransmission frame to a business processing thread by a monitoring thread for orderly processing, and suspending the thread after the processing is completed so as to save performance cost and wait for the activation of the monitoring thread;
(2) When the monitoring thread monitors based on the data content change, the file name and the changed content are transferred and transferred to the service processing thread.
For the received data, the local device is configured to package and encrypt the data by using the service processing thread, store the encrypted data in the local device, send the data to the cloud lis when the connection state between the local device and the cloud lis is normal, and update the data state in real time.
As a specific implementation, for the received data, the local device is configured to perform the following processing by using a service processing thread:
(1) After the data are packaged and encrypted, the data are stored in a local database, wherein the local database comprises SQLite;
(2) Calling a background interface of the local equipment to submit data, and updating the data state into a submitted state;
(3) Judging the connection state of the local equipment and the cloud lis when data is submitted;
if the connection state is normal, sending data to the cloud lis and receiving a result returned by the cloud lis, if the result is successful, updating the data state to be successful in sending, and if the result is failed, updating the data state to be failed in sending;
if the connection state is abnormal, the data state is updated to be in a transmitting state, and when the connection state is normal, data is transmitted to the cloud lis and the result returned by the cloud lis is received, if the result is successful, the data state is updated to be successful in transmission, and if the result is failed, the data state is updated to be failed in transmission.
After receiving the encapsulated encrypted data, the cloud lis is configured to perform the following: and (3) allocating a unique identifier for the data, and transmitting the data to a corresponding pre-configured plug-in based on the unique identifier, and performing data processing on the data through the plug-in to obtain standard data meeting the pre-determined standard.
As a specific implementation, after receiving the encapsulated encrypted data, the cloud lis is configured to perform the following: based on the difference information of the data, a unique identifier is allocated to the data, the data is sent to a corresponding pre-configured plug-in unit in a plug-in mode through a reflection technology based on the unique identifier, and the data is processed through the plug-in unit, so that the data is converted into data conforming to a preset standard format, and standard data is obtained; the differential information includes the function, operating logic, format, and communication protocol of the data.
While the invention has been illustrated and described in detail in the drawings and in the preferred embodiments, the invention is not limited to the disclosed embodiments, but it will be apparent to those skilled in the art that many more embodiments of the invention can be made by combining the means of the various embodiments described above and still fall within the scope of the invention.

Claims (10)

1. A method for accessing data of different medical examination devices under a general standard, which is applied to a system consisting of a local device, the medical examination device and cloud lis, the method comprising the following steps:
based on a communication mode supported by the medical examination equipment, the local equipment and the medical examination equipment are connected in a relevant docking mode, the local equipment and the cloud lis are connected, and for the connection between the local equipment and the cloud lis and the connection between the local equipment and the medical examination equipment, the connection state is periodically checked, and the connection state is updated, wherein the connection state comprises normal and abnormal;
monitoring the medical examination equipment through a monitoring thread, and when the data uploaded by the medical examination equipment is monitored, uniformly receiving the data started in different modes by a parent class through inheritance and polymorphic characteristics of Java, wherein the received data is processed by a corresponding business processing thread;
for the received data, the data is stored to the local equipment after being packaged and encrypted through a business processing thread, and when the connection state of the local equipment and the cloud lis is normal, the data is sent to the cloud lis, and the data state is updated in real time;
after receiving the data after the encapsulation encryption, the cloud lis allocates a unique identifier for the data, sends the data to a corresponding pre-configured plug-in based on the unique identifier, and performs data processing on the data through the plug-in to obtain standard data meeting a preset standard.
2. The method according to claim 1, wherein for the connection between the local device and the cloud lis and the connection between the local device and the medical test device, the periodic test connection status is realized by periodically transmitting heartbeat messages.
3. The method for accessing data of different medical examination apparatuses under a general standard according to claim 2, wherein when the medical examination apparatus is operated as a Socket server, the medical examination apparatus periodically transmits a heartbeat to the medical examination apparatus through a program deployed in the local apparatus, thereby judging whether the connection is disconnected, and issuing a warning;
when the medical examination equipment runs in a Socket client, the medical examination equipment is accessed, a program deployed in the local equipment is actively connected with the medical examination equipment, and is subjected to delayed reconnection after connection failure, heart beat is monitored after connection success, and reconnection is performed when heart beat and data are not received in a limited interval;
when the medical examination device runs on files, the program deployed on the local device monitors the last change time of all files in the configured folder, records the last modification position in the form of a pointer, and marks the program from the last modification position to the end and again when the files are changed.
4. The method for accessing data of different medical examination devices under a general standard according to claim 1, wherein for data uploaded by the medical examination devices, for Socket type, a monitoring process monitors based on HL7 protocol, and for file type data, a monitoring thread monitors based on data content change;
when the monitoring process monitors based on the HL7 protocol, the following steps are executed: according to the MLLP packaging characteristic, scanning and marking data byte by byte, if the message is incomplete, transmitting a retransmission frame to medical examination equipment, if the message accords with the MLLP characteristic, transmitting the retransmission frame to a business processing thread by a monitoring thread for orderly processing, and suspending the thread after the processing is completed so as to save performance cost and wait for the activation of the monitoring thread;
when the monitoring thread monitors based on the data content change, the file name and the changed content are transferred and transferred to the service processing thread.
5. The method for accessing data of different medical examination devices under a general standard according to claim 1, wherein for the received data, the following processing is performed by a service processing thread:
after the data are packaged and encrypted, the data are stored in a local database, wherein the local database comprises SQLite;
calling a background interface of the local equipment to submit data, and updating the data state into a submitted state;
judging the connection state of the local equipment and the cloud lis when data is submitted;
if the connection state is normal, sending data to the cloud lis and receiving a result returned by the cloud lis, if the result is successful, updating the data state to be successful in sending, and if the result is failed, updating the data state to be failed in sending;
if the connection state is abnormal, the data state is updated to be in a transmitting state, and when the connection state is normal, data is transmitted to the cloud lis and the result returned by the cloud lis is received, if the result is successful, the data state is updated to be successful in transmission, and if the result is failed, the data state is updated to be failed in transmission.
6. The method for accessing data of different medical examination devices under the general standard according to claim 1, wherein after the cloud lis receives the data after encapsulation and encryption, the cloud allocates a unique identifier for the data based on the difference information of the data, and sends the data to a corresponding pre-configured plug-in unit in a plug-in mode through a reflection technology based on the unique identifier, and the plug-in unit processes the data to convert the data into data conforming to a predetermined standard format to obtain standard data;
wherein the differential information includes the function, operating logic, format, and communication protocol of the data.
7. The method for accessing data of different medical examination devices under a general standard according to claim 1, wherein based on various different medical examination devices to be docked, corresponding configuration files are preconfigured through a cloud lis and are issued to the local device, and the configuration files realize the docking of the local device and the medical examination device based on a docking mode supported by the medical examination device;
based on the communication mode supported by the medical examination equipment, the local equipment reads the configuration file through a preconfigured program and establishes connection with the medical examination equipment in an automatic corresponding docking mode;
if the corresponding configuration file is not found in the local equipment, the local equipment supports a manual mode to select a docking mode and establishes connection with the medical examination equipment.
8. A system for accessing different medical testing device data under a common standard, wherein the system is configured to dynamically access medical testing device data by accessing different medical testing device data under a common standard according to any one of claims 1-7, and comprises a local device, a medical testing device, and a cloud lis;
based on a communication mode supported by the medical examination equipment, the local equipment and the medical examination equipment are connected in a relevant docking mode, the local equipment and the cloud lis are connected, and for the connection between the local equipment and the cloud lis and the connection between the local equipment and the medical examination equipment, the connection state is periodically checked, and the connection state is updated, wherein the connection state comprises normal and abnormal;
the local equipment is used for monitoring the medical examination equipment through the monitoring thread, when the data uploaded by the medical examination equipment is monitored, the data started in different modes are uniformly received by the parent class through the inheritance and polymorphism characteristics of Java, and the received data is processed by the corresponding business processing thread;
for the received data, the local device is used for encapsulating and encrypting the data through a service processing thread and then storing the encrypted data into the local device, and when the connection state of the local device and the cloud lis is normal, the local device sends the data to the cloud lis and updates the data state in real time;
after receiving the encapsulated encrypted data, the cloud lis is configured to perform the following: and (3) allocating a unique identifier for the data, and transmitting the data to a corresponding pre-configured plug-in based on the unique identifier, and performing data processing on the data through the plug-in to obtain standard data meeting the pre-determined standard.
9. The data access system for different medical examination devices under the universal standard according to claim 8, wherein for the connection between the local device and the cloud lis and the connection between the local device and the medical examination device, the periodic examination connection status is realized by periodically transmitting heartbeat messages;
when the medical examination equipment operates at the Socket server, the local equipment is used for periodically sending heartbeat to the medical examination equipment through a deployed program so as to judge whether the connection is disconnected or not and send out a warning;
when the medical examination equipment runs in a Socket client, the local equipment is used for actively connecting the medical examination equipment through a deployed program, carrying out delayed reconnection after connection failure, monitoring heartbeat after connection success, and reconnecting when heartbeat and data are not received in a limited interval;
when the medical examination device runs on files, the local device is used for monitoring the last change time of all files in the configured folder through a deployed program, recording the last modification position in a pointer form, and enabling the program to change from the last modification position to the end and to be marked again each time the files are changed;
for data uploaded by medical examination equipment, for Socket type, the local equipment calls a monitoring thread, and the monitoring process monitors based on HL7 protocol; for file type data, the local device calls a monitoring thread, and the monitoring thread monitors based on the change of the data content;
when the monitoring process monitors based on the HL7 protocol, the following steps are executed: according to the MLLP packaging characteristic, scanning and marking data byte by byte, if the message is incomplete, transmitting a retransmission frame to medical examination equipment, if the message accords with the MLLP characteristic, transmitting the retransmission frame to a business processing thread by a monitoring thread for orderly processing, and suspending the thread after the processing is completed so as to save performance cost and wait for the activation of the monitoring thread;
when the monitoring thread monitors based on the data content change, the file name and the changed content are transferred and transferred to the service processing thread;
for the received data, the local device is configured to perform the following processing by using a service processing thread:
after the data are packaged and encrypted, the data are stored in a local database, wherein the local database comprises SQLite;
calling a background interface of the local equipment to submit data, and updating the data state into a submitted state;
judging the connection state of the local equipment and the cloud lis when data is submitted;
if the connection state is normal, sending data to the cloud lis and receiving a result returned by the cloud lis, if the result is successful, updating the data state to be successful in sending, and if the result is failed, updating the data state to be failed in sending;
if the connection state is abnormal, the data state is updated to be in a transmitting state, and when the connection state is normal, data is transmitted to the cloud lis and the result returned by the cloud lis is received, if the result is successful, the data state is updated to be successful in transmission, and if the result is failed, the data state is updated to be failed in transmission.
10. The universal standard-compliant different medical testing apparatus data access system of claim 8, wherein the cloud lis, upon receiving the encapsulated encrypted data, is configured to perform the following: based on the difference information of the data, a unique identifier is allocated to the data, the data is sent to a corresponding pre-configured plug-in unit in a plug-in mode through a reflection technology based on the unique identifier, and the data is processed through the plug-in unit, so that the data is converted into data conforming to a preset standard format, and standard data is obtained;
wherein the differential information includes the function, operating logic, format, and communication protocol of the data;
based on various different medical examination devices to be docked, cloud lis is used for pre-configuring corresponding configuration files and issuing the configuration files to the local devices, and the configuration files realize docking of the local devices and the medical examination devices based on docking modes supported by the medical examination devices;
based on the communication mode supported by the medical examination equipment, the local equipment is used for reading the configuration file through a preconfigured program and establishing connection with the medical examination equipment in an automatic corresponding docking mode;
if the corresponding configuration file is not found in the local equipment, the local equipment is used for supporting a manual mode to select a docking mode and establishing connection with the medical examination equipment.
CN202311244787.1A 2023-09-26 2023-09-26 Data access method and system for different medical examination equipment under universal standard Pending CN117219255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311244787.1A CN117219255A (en) 2023-09-26 2023-09-26 Data access method and system for different medical examination equipment under universal standard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311244787.1A CN117219255A (en) 2023-09-26 2023-09-26 Data access method and system for different medical examination equipment under universal standard

Publications (1)

Publication Number Publication Date
CN117219255A true CN117219255A (en) 2023-12-12

Family

ID=89035126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311244787.1A Pending CN117219255A (en) 2023-09-26 2023-09-26 Data access method and system for different medical examination equipment under universal standard

Country Status (1)

Country Link
CN (1) CN117219255A (en)

Similar Documents

Publication Publication Date Title
US6112224A (en) Patient monitoring station using a single interrupt resource to support multiple measurement devices
US20100205485A1 (en) Medical-information communication-connection management device and a method of managing a medical-information communication connection
EP1316886A1 (en) Method for remotely diagnosing devices
CN107292117B (en) Processing method and device for quality guarantee of mass shared medical images
CN111327662A (en) Communication method and management device for heterogeneous Internet of things platform
JP2013069277A (en) Nfc reader device, nfc tag device, nfc system, and nfc method
JP5084782B2 (en) Apparatus, method, and program for detecting a repeater
US7383358B1 (en) System and method for remote servicing of in-field product
CN117219255A (en) Data access method and system for different medical examination equipment under universal standard
JP2002271361A (en) Communication method, communication protocol interface, remote test device and service diagnostic system
JP3779121B2 (en) Data transmission system
JP4855441B2 (en) COMMUNICATION DEVICE, TELECOMMUNICATION ANALYSIS SYSTEM, AND COMMUNICATION METHOD
CN115941809A (en) Aggregation processing method and system for multiple Internet of Things terminal protocols for DCIM
CN112367411B (en) Intelligent POCT detection equipment and management method thereof
US5220663A (en) Data transmission system with a link problem determination aid (LPDA) support for all ports
CN113722211A (en) BMC (baseboard management controller) debugging method, device and system and embedded equipment
CN106647628B (en) G code executes the real-time collecting method of status data in a kind of NC Machining Process
US20040128548A1 (en) Generic communication server engine
CN110891053A (en) Method for establishing communication connection between android APP and operating system based on local area network
JP3356809B2 (en) LAN fault monitoring apparatus, LAN fault monitoring system, and logging data collection method therefor
CN116610516B (en) Internet of things programming operation and maintenance base system and method based on equipment digital twin
JP2003030064A (en) Network system and communication method
GB2395087A (en) Probing a server
CN115550314A (en) Operation and maintenance method of external equipment, base station and network management of external equipment
CN115604147A (en) Industrial control network-based host testing method, device, equipment and computer medium

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