ANALYSIS INFORMATION COLLECTION PROGRAM AND ANALYSIS INFORMATION COLLECTION SYSTEM
20210072935 ยท 2021-03-11
Inventors
Cpc classification
H04L67/06
ELECTRICITY
G06F3/1225
PHYSICS
H04L67/1097
ELECTRICITY
G06F3/1203
PHYSICS
G06F3/1276
PHYSICS
International classification
Abstract
A printer driver to be installed on a PC connected to an analysis device has a function of generating a PDF file of an analysis result report generated based on analysis data (postscript printer driver unit 252), a function of extracting text information such as sample information from the PDF file (text information extraction processing unit 253), a function of extracting a file path of an analysis raw data file from the text information and acquiring the analysis raw data file (analysis raw data acquisition processing unit 254), and a function of transmitting a PDF file of an analysis result report, an analysis raw data file, and the like to a database server PC through a LAN and registering them in a database (database registration processing unit 255). With this, the PDF file and/or the analysis raw data file can be registered in the database without outputting it to a network shared folder, which can achieve high security.
Claims
1. A computer-readable non-transitory recording medium storing a printer driver type program to be installed on a computer terminal in an analysis information collection system in which the computer terminal configured to process analysis data collected by an analysis device and a database server configured to accumulate various types of analysis information are connected via a communication line, the program makes the computer terminal operate as: a) a PDF file generation function unit configured to generate a PDF file of an analysis result report in response to an output instruction of the analysis result report generated based on the analysis data; b) a text information extraction function unit configured to extract text information from the generated PDF file; c) an analysis raw data file acquisition function unit configured such that when storage position information of a storage unit in which an analysis raw data file is stored is included in the extracted text information, a storage position is specified based on the storage position information and when the storage position information is not included in the text information, the storage position is specified based on pre-specified information and then the analysis raw data file is acquired from the storage position in the storage unit; and d) a database registration processing function unit configured to transmit the acquired analysis raw data file, the PDF file, and at least a part of the text information to the database server through the communication line to register on a database.
2. An analysis information collection system in which a processing terminal configured to process analysis data collected by an analysis device and a database server configured to accumulate various analysis information are connected via a communication line, the processing terminal comprises: a) a storage unit configured to store an analysis raw data file in which analysis raw data collected by the analysis device is made into a file; b) an analysis result report generation processing unit configured to generate an analysis result report in a predetermined format based on the analysis raw data or an analysis result acquired by performing predetermined processing on the analysis raw data; c) a PDF file generation unit configured to generate a PDF file of the analysis result report in response to an output instruction of the generated analysis result report; d) a text information extraction unit configured to extract text information from the generated PDF file; e) an analysis raw data file acquisition unit configured such that when storage position information in the storage unit in which the analysis raw data file is stored is included in the extracted text information, a storage position is specified based on the storage position information and when the storage position information is not included in the text information, the storage position is specified based on pre-specified information and then the analysis raw data file is acquired from the storage position in the storage unit; and f) a database registration processing unit configured to transmit the acquired analysis raw data file, the PDF file, and at least a part of the text information to the database server through the communication line to register on a database.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0044]
[0045]
[0046]
[0047]
EMBODIMENTS FOR CARRYING OUT THE INVENTION
[0048] Hereinafter, an analysis information collection system which is an example of the present invention will be described in detail with reference to the attached drawings.
[0049]
[0050] In the system of this embodiment, a characteristic printer driver is installed on acquisition controller PC 2A of this example. The main function of a general printer driver is to output documents, figures and tables, etc., based on the data stored in a designated file to a designated printer to print or output to a designated folder. However, the printer driver has a characteristic function in this system. Note that for convenience of explanation, it is assumed that the OS (operating system) used in the acquisition controller PC 2A is Windows.
[0051]
[0052] Next, the process flow at the time of registering the analysis information in the database in the system of this example will be described. Note that in the information setting UI execution unit 250, information related to the communication, such as, e.g., the IP address of the database server PC 5 which is the registration destination of the analysis information, is registered in advance.
[0053] In the data processing unit 20, the data collection unit 21 acquires the data sequentially acquired by performing an analysis on a sample in the analysis device 1. When the analysis device 1 is an LC, this data is chromatogram data acquired over time. The data collection unit 21 generates an analysis raw data file including the collected data and prints it to the analysis raw data storage folder 240 in the data storage unit 24. This analysis raw data storage folder 240 can be specified by a user in advance, or when it is not specified by a user, it may be set by default. Note that it may be configured such that data such as an analytical condition data is included in the analysis raw data file.
[0054] The analysis processing unit 22 performs, for example, a quantitative analysis by performing predetermined waveform processing, arithmetic processing, and the like on the collected data as described above. Specifically, a predetermined wave treatment is performed on a chromatogram generated based on the collected chromatogram data to detect the peak, and the retention time and the area value (or a height value) of the peak are acquired for each detected peak. Then, after identifying or confirming the compound corresponding to the peak based on retention time information, a quantitative value (concentration value) is calculated from the peak area value (or height value) in light of the calibration curve prepared in advance. Thus, it is possible to acquire the quantitative value for each compound included in the sample.
[0055] The analysis result report generation processing unit 23 generates an analysis result report in a predetermined format based on an instruction from a user. As disclosed in Patent Document 1, etc., the analysis result report may include sample information such as a sample name, a graph which is an analysis result such as a chromatogram, a peak area value which is an analysis result, a quantitative value, and the like. Generally speaking, the analysis result report as shown, for example, in
[0056] After the analysis result report is generated as described above, a user instructs to execute the database registration on the generated analysis result report. This instruction can be performed by, for example, selecting the database as the print destination as the print instruction.
[0057] Upon receipt of the above-described instruction in the printer driver unit 25, the print spool processing unit 251 calls the GDI (Graphics Device Interface) API (Application Programming Interface), which is a standard in Windows, in order to draw the data constituting the specified analysis result report to the device context of the printer, and the GDI draws data to the device context of the printer. Thereafter, the print spool processing unit 251 generates the raw data for printing based on a printer language. And the postscript printer driver unit 252 generates a PDF file based on the generated raw data. The processing up to this point is the functions which are also equipped by the printer driver installed in the acquisition controller PC 2 in the conventional systems shown in
[0058] Upon generation of the PDF file, the text information extraction processing unit 253 analyzes the PDF file and refers to the mapping information indicating the correspondence relationship between the position on the report and the type of information to extract the text information, such as, e.g., the sample information and the quantitative value. The mapping information may be acquired from the database server PC 5 as required, or may be registered in advance in the information setting UI execution unit 250. Then, the analysis raw data acquisition processing unit 254 extracts the file path of the analysis raw data file from the extracted text information by referring to the mapping information and acquires the analysis raw data file from the analysis raw data storage folder 240 of the storage unit 24 indicated by the file path. In the example of
[0059] The database registration processing unit 255 transmits, in addition to the acquired analysis raw data file, the PDF file of the analysis result report and the text information extracted from the file to the database server 5 through the network line 3 and registers the information in the database constructed on the server 5. In this case, the information related to the communication registered in the information setting UI execution unit 250 is utilized.
[0060] In the system of this example as described above, when an output instruction to the database of the analysis result report is made, various information related to the analysis is automatically registered in the database on the database server 5 according to the instruction. This database registration processing is executed individually, or for each acquisition controller PC 2A basis, by the printer driver installed on the acquisition controller PC 2A directly connected to the analysis device 1. Therefore, when this printer driver is installed on the PC connected to the analysis device 1, the analysis raw data file, etc., can be registered in the database without relying on the application program for data processing.
[0061] It should be noted that the above-described example is an example of the present invention, and it is apparent that appropriate modifications, changes, and additions are included within the range of the spirit of the present invention
DESCRIPTION OF SYMBOLS
[0062] 1: Analysis device [0063] 2A: Acquisition controller PC [0064] 20: Data processing unit [0065] 21: Data collection unit [0066] 22: Analysis processing unit [0067] 23: Analysis result report generation processing unit [0068] 24: Data storage unit [0069] 240: Analysis raw data storage folder [0070] 25: Printer driver unit [0071] 250: Information setting UI execution unit [0072] 251: Print spool processing unit [0073] 252: Postscript printer driver unit [0074] 253: Text information extraction processing unit [0075] 254: Analysis raw data acquisition processing unit [0076] 255: Database registration processing unit [0077] 3: Network line [0078] 5: Database server PC