Search

CN-115630069-B - Inspection data acquisition method, system, terminal equipment and storage medium

CN115630069BCN 115630069 BCN115630069 BCN 115630069BCN-115630069-B

Abstract

The present application relates to the field of medical examination technologies, and in particular, to an examination data acquisition method, system, terminal device, and storage medium. The method comprises the steps of obtaining and identifying data types of corresponding inspection data in a plurality of data storage libraries, configuring data identifiers corresponding to the plurality of data storage libraries, matching the corresponding data identifiers according to preset data detection types, generating and connecting the corresponding target data storage libraries according to database connection instructions, obtaining the corresponding inspection data in the target data storage libraries if the inspection data in the target data storage libraries meet target data types, obtaining corresponding heterogeneous detection data in the target data storage libraries if the inspection data in the target data storage libraries do not meet target data types, and analyzing the heterogeneous detection data to generate a corresponding data classification strategy. The method, the system, the terminal equipment and the storage medium for acquiring the inspection data have the effect of improving the acquisition efficiency of the inspection data.

Inventors

  • HAN JIANMING
  • Yang Rimei
  • WU XIAOCHUN
  • JIA YAN

Assignees

  • 中科同昌万锦信息技术股份有限公司

Dates

Publication Date
20260508
Application Date
20221027

Claims (8)

  1. 1. A method of acquiring inspection data, comprising the steps of: Acquiring and identifying data types of corresponding check data in a plurality of data storage libraries, and configuring data identifiers corresponding to the plurality of data storage libraries; Matching the corresponding data identifier according to a preset data detection type, and generating a corresponding database connection instruction; Reading the database connection instruction, and connecting corresponding target data storage libraries from a plurality of data storage libraries; judging whether the check data in the target data storage library accords with a target data type; if the inspection data in the target data storage library accords with the target data type, acquiring the corresponding inspection data in the target data storage library; if the checking data in the target data storage library does not accord with the target data type, acquiring corresponding heterogeneous detection data in the target data storage library; Analyzing the data type of the heterogeneous detection data to generate a corresponding data classification strategy; Transmitting the heterogeneous detection data to the corresponding data storage library according to the data classification strategy; The analyzing the data type of the heterogeneous detection data, and generating a corresponding data classification strategy comprises the following steps: Judging the variety and quantity of the heterogeneous detection data; If the number of the types of the heterogeneous detection data is a plurality of, acquiring a corresponding heterogeneous data storage library according to the data type of the heterogeneous detection data; Judging whether the same heterogeneous detection data exists in the heterogeneous data storage library; if the same heterogeneous detection data does not exist in the heterogeneous data storage library, judging whether the database type of the heterogeneous data storage library is the same as that of the target data storage library; if the database type of the heterogeneous data storage library is the same as that of the target data storage library, acquiring a storage address of the heterogeneous data storage library as the data classification strategy; If the same heterogeneous detection data does not exist in the heterogeneous data storage library, judging whether the database type of the heterogeneous data storage library is the same as the target data storage library or not, and then further comprising the following steps: if the database type of the heterogeneous data storage library is different from that of the target data storage library, acquiring a data conversion mode corresponding to the heterogeneous detection data; transmitting the heterogeneous detection data to the corresponding heterogeneous data storage library according to the data conversion mode; judging whether the heterogeneous detection data in the heterogeneous data storage library is abnormal or not; And if the abnormal detection data in the abnormal data storage library is abnormal, outputting corresponding abnormal transmission information.
  2. 2. The method of claim 1, further comprising the steps of, after said reading said database connection instruction, connecting a corresponding target data repository from a plurality of said data repositories: acquiring current geographic position information corresponding to the target data storage library; Judging whether the current geographic position information accords with initial position configuration information corresponding to the target data storage library; if the current geographic position information does not accord with the initial position configuration information corresponding to the target data storage library, caching the check data in the target data storage library into a backup cache space; initializing the current geographic position information corresponding to the target data storage library according to the initial position configuration information, and generating an initialization signal; and the read initialization signal retrieves the check data from the backup cache space.
  3. 3. The method according to claim 2, further comprising the steps of, after said initializing said current geographical position information corresponding to said target data repository according to said initial position configuration information, generating an initialization signal: Judging whether the initialization signal is abnormal or not; if the initialization signal is abnormal, associating and uploading the inspection data and the initial position configuration information corresponding to the target data storage library; calibrating the current geographic position information as an abnormal geographic mark; according to the abnormal geographic identification, disabling the target data storage library; And if the abnormal detection data in the abnormal data storage library is abnormal, outputting corresponding abnormal transmission information.
  4. 4. The method according to claim 1, further comprising the steps of, after the step of acquiring the corresponding heterogeneous detection data in the target data repository if the inspection data in the target data repository does not match the target data type: acquiring target weights of the heterogeneous detection data; Judging whether the target weight of the heterogeneous detection data exceeds a preset heterogeneous data threshold value or not; if the target weight of the heterogeneous detection data exceeds the preset heterogeneous data threshold, acquiring the data reading authority of the target data storage library; initializing the data read rights of the target data store.
  5. 5. The method of claim 1, further comprising the steps of, after said reading said database connection instruction, connecting a corresponding target data repository from a plurality of said data repositories: acquiring corresponding registration information according to the target data storage library; and sending corresponding heartbeat information according to the registration information.
  6. 6. An inspection data acquisition system for implementing the inspection data acquisition method of any one of claims 1-5, comprising: the configuration module is used for acquiring and identifying the data types of the corresponding check data in the plurality of data storage libraries and configuring the corresponding data identifiers; The generation module is used for generating a corresponding database connection instruction according to the data identifier matched with the preset data detection type; The connection module is used for reading the database connection instruction and connecting corresponding target data storage libraries from a plurality of data storage libraries; the judging module is used for judging whether the check data in the target data storage library accords with the target data type; The first acquisition module is used for acquiring the corresponding check data in the target data storage library if the check data in the target data storage library accords with the target data type; the second acquisition module is used for acquiring corresponding heterogeneous detection data in the target data storage library if the inspection data in the target data storage library does not accord with the target data type; The analysis module is used for analyzing the data type of the heterogeneous detection data and generating a corresponding data classification strategy; And the transmission module is used for transmitting the heterogeneous detection data to the corresponding data storage library according to the data classification strategy.
  7. 7. A terminal device comprising a memory and a processor, wherein the memory has stored therein computer instructions executable on the processor, the processor employing an inspection data acquisition method according to any one of claims 1 to 5 when the computer instructions are loaded and executed by the processor.
  8. 8. A computer readable storage medium having stored therein computer instructions, which when loaded and executed by a processor, employ an inspection data acquisition method according to any one of claims 1 to 5.

Description

Inspection data acquisition method, system, terminal equipment and storage medium Technical Field The present application relates to the field of medical examination technologies, and in particular, to an examination data acquisition method, system, terminal device, and storage medium. Background In clinical applications, screening is to examine certain specific groups of people by specific examination methods, thereby examining the possible occurrence of a disease or the risk of a disease. The screening of pre-wedding examination data is performed to obtain pre-pregnancy examination data for females in each medical institution, and since the medical institutions examine equipment manufacturers numerous, various database types such as ACCESS, sqlServer, oracle, mySQL, sqlite, paradox, interbase are available for storing examination data. When screening different types of inspection data, various database link switches are required according to the data types corresponding to the inspection data, so that the acquisition process of the inspection data is complicated. Disclosure of Invention In order to improve the acquisition efficiency of inspection data, the application provides an inspection data acquisition method, an inspection data acquisition system, terminal equipment and a storage medium. The application provides an inspection data acquisition method, which comprises the following steps: Acquiring and identifying data types of corresponding check data in a plurality of data storage libraries, and configuring data identifiers corresponding to the plurality of data storage libraries; Matching the corresponding data identifier according to a preset data detection type, and generating a corresponding database connection instruction; Reading the database connection instruction, and connecting corresponding target data storage libraries from a plurality of data storage libraries; judging whether the check data in the target data storage library accords with a target data type; if the inspection data in the target data storage library accords with the target data type, acquiring the corresponding inspection data in the target data storage library; if the checking data in the target data storage library does not accord with the target data type, acquiring corresponding heterogeneous detection data in the target data storage library; Analyzing the data type of the heterogeneous detection data to generate a corresponding data acquisition strategy; and transmitting the heterogeneous detection data according to the data acquisition strategy. By adopting the technical scheme, the data identifiers corresponding to the databases are configured so as to be matched with the corresponding data identifiers according to the preset data detection types, so that the corresponding detection data in the target data storage library is acquired, whether the detection data required to be acquired in the target data storage library belong to the target data type is further judged, the detection data of the target data type is acquired, the heterogeneous detection data in the non-target data type is analyzed, a corresponding data classification strategy is generated, the heterogeneous detection data is conveniently transmitted to the corresponding data storage library according to the data acquisition strategy, the error rate in the process of acquiring the detection data is reduced, and the acquisition efficiency of the inspection data is improved. Optionally, after the reading the database connection instruction, connecting the corresponding target data repository from the plurality of data repositories, the method further includes the following steps: acquiring current geographic position information corresponding to the target data storage library; Judging whether the current geographic position information accords with initial position configuration information corresponding to the target data storage library; if the current geographic position information does not accord with the initial position configuration information corresponding to the target data storage library, caching the detection data in the target data storage library into a backup cache space; initializing the current geographic position information corresponding to the target data storage library according to the initial position configuration information, and generating an initialization signal; And the read initialization signal retrieves the detection data from the backup cache space. By adopting the technical scheme, when the current geographic position information of the target data storage library does not accord with the corresponding initial position configuration information, the detection data in the target data storage library is cached to the backup cache space, and the target data storage library is further initialized according to the initial position configuration information, so that the safety and accuracy of acquiring the detection data ar