An inspection data acquisition method and system, a terminal device, and a storage medium

By configuring data identifiers and generating data acquisition strategies, the cumbersome data acquisition process caused by switching between various database links was resolved, achieving efficient and accurate data acquisition.

CN115630069BActive Publication Date: 2026-05-08中科同昌万锦信息技术有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
中科同昌万锦信息技术有限公司
Filing Date
2022-10-27
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

In clinical screening, existing technologies require switching between multiple database links based on different types of test data, making the data acquisition process cumbersome and inefficient.

Method used

By configuring data identifiers for multiple databases, matching the corresponding data identifiers according to the preset data detection type, generating database connection instructions, reading the target data repository, determining the data type, generating data acquisition and classification strategies, and transmitting outlier detection data to the corresponding repository.

Benefits of technology

It improved the efficiency of data acquisition, reduced the error rate, and enhanced the accuracy and security of data acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115630069B_ABST
    Figure CN115630069B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of medical examination, in particular to an examination data acquisition method and system, a terminal device and a storage medium. The method comprises the following steps: acquiring and identifying the data types of corresponding examination data in a plurality of data storage libraries, and configuring data identifiers corresponding to the plurality of data storage libraries; matching the data identifiers according to a preset data detection type, generating a corresponding target data storage library according to a database connection instruction, and connecting the target data storage library; if the examination data in the target data storage library meets a target data type, acquiring corresponding examination data in the target data storage library; if the examination data in the target data storage library does not meet the target data type, acquiring corresponding heterogeneous detection data in the target data storage library; and analyzing the heterogeneous detection data to generate a corresponding data classification strategy. The examination data acquisition method and system, the terminal device and the storage medium provided by the application have the effect of improving the acquisition efficiency of examination data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of medical examination technology, and in particular to a method, system, terminal device and storage medium for acquiring examination data. Background Technology

[0002] In clinical applications, screening involves using specific testing methods to examine certain populations to detect potential diseases or the risk of developing certain diseases.

[0003] Screening premarital examination data is to obtain preconception examination data for women from various medical institutions. Because there are many manufacturers of examination equipment in medical institutions, the databases used to store the examination data include various types of databases such as ACCESS, SqlServer, Oracle, MySQL, sqlite, paradox, and interbase.

[0004] When screening different types of inspection data, it is necessary to switch between multiple database links according to the corresponding data types, which makes the process of obtaining inspection data quite cumbersome. Summary of the Invention

[0005] To improve the efficiency of inspection data acquisition, this application provides an inspection data acquisition method, system, terminal device, and storage medium.

[0006] This application provides a method for obtaining inspection data, including the following steps:

[0007] Obtain and identify the data types of the corresponding inspection data in multiple data repositories, and configure data identifiers corresponding to the multiple data repositories;

[0008] Based on the preset data detection type, match the corresponding data identifier to generate the corresponding database connection instruction;

[0009] Read the database connection instruction and connect to the corresponding target data repository from the multiple data repositories;

[0010] Determine whether the checked data in the target data repository conforms to the target data type;

[0011] If the inspection data in the target data repository matches the target data type, then the corresponding inspection data in the target data repository is obtained;

[0012] If the inspection data in the target data repository does not conform to the target data type, then the corresponding outlier detection data in the target data repository is obtained;

[0013] Analyze the data type of the outlier detection data and generate a corresponding data acquisition strategy;

[0014] The anomaly detection data is transmitted according to the data acquisition strategy.

[0015] By adopting the above technical solution, multiple databases are configured with corresponding data identifiers to match the corresponding data identifiers according to the preset data detection type, thereby obtaining the corresponding detection data in the target data repository. It is then further determined whether the detection data to be obtained in the target data repository belongs to the target data type. Detection data of the target data type is obtained, and outlier detection data in non-target data types is analyzed to generate corresponding data classification strategies. Based on the data acquisition strategy, outlier detection data is transferred to the corresponding data repository, reducing the error rate in the process of obtaining detection data and thus improving the efficiency of obtaining inspection data.

[0016] Optionally, after reading the database connection instruction and connecting to the corresponding target data repository from the plurality of data repositories, the following steps are further included:

[0017] Obtain the current geographical location information corresponding to the target data repository;

[0018] Determine whether the current geographic location information matches the initial location configuration information corresponding to the target data repository;

[0019] If the current geographic location information does not match the initial location configuration information corresponding to the target data repository, then the detection data in the target data repository is cached to the backup cache space;

[0020] Initialize the current geographic location information corresponding to the target data repository according to the initial location configuration information, and generate an initialization signal;

[0021] The initialization signal is read, and the detection data is retrieved from the backup cache space.

[0022] By adopting the above technical solution, when the current geographical location information of the target data repository does not conform to the corresponding initial location configuration information, the detection data in the target data repository is cached to the backup cache space, and the target data repository is further initialized according to the initial location configuration information, thereby improving the security and accuracy of obtaining detection data.

[0023] Optionally, after initializing the current geographic location information corresponding to the target data repository according to the initial location configuration information and generating the initialization signal, the method further includes the following steps:

[0024] Determine whether the initialization signal is abnormal;

[0025] If the initialization signal is abnormal, the check data and the initial location configuration information corresponding to the target data repository are associated and uploaded.

[0026] The current geographic location information is identified as an abnormal geographic identifier;

[0027] Based on the anomalous geographic identifier, the target data repository is deactivated.

[0028] By adopting the above technical solution, if the initialization signal is abnormal, it means that the target data repository initialization has failed. At this time, the corresponding detection data and initialization location configuration information in the target database will be associated and uploaded, thereby improving the accuracy and efficiency of obtaining detection data. Furthermore, the current geographical location of the target data storage is marked as an abnormal geographical identifier, so that staff can repair the target data repository that failed to initialize.

[0029] Optionally, analyzing the data type of the outlier detection data and generating a corresponding data classification strategy includes the following steps:

[0030] Determine the number of different types of the outlier detection data;

[0031] If the number of different types of the outlier detection data is multiple, then the corresponding outlier data repository is obtained according to the data type of the outlier detection data;

[0032] Determine whether identical heterogeneous detection data exists in the heterogeneous data repository;

[0033] If the same heterogeneous detection data does not exist in the heterogeneous data repository, then it is determined whether the database type of the heterogeneous data repository is the same as that of the target data repository;

[0034] If the database type of the heterogeneous data repository is the same as that of the target data repository, then the storage address of the heterogeneous data repository is obtained as the data classification strategy.

[0035] By adopting the above technical solution, if there is no identical heterogeneous detection data in the heterogeneous data repository, the storage address corresponding to the heterogeneous detection data in the heterogeneous data repository is obtained. Then, the heterogeneous detection data in the target data repository can be transferred to the corresponding heterogeneous data repository according to the storage address, thereby reducing the occurrence of data acquisition errors caused by the appearance of heterogeneous detection data during the acquisition of detection data.

[0036] Optionally, after determining whether the database type of the heterogeneous data repository is the same as that of the target data repository if no identical heterogeneous detection data exists in the heterogeneous data repository, the following steps are further included:

[0037] If the database type of the heterogeneous data repository is different from that of the target data repository, then obtain the data transformation mode corresponding to the heterogeneous detection data;

[0038] According to the data conversion mode, the outlier detection data is transmitted to the corresponding outlier data repository;

[0039] Determine whether the anomaly detection data in the anomaly data repository is abnormal;

[0040] If the anomaly detection data in the anomaly data repository is abnormal, the corresponding abnormal transmission information will be output.

[0041] By adopting the above technical solution, if the database type of the heterogeneous data repository is different from that of the target data repository, the data conversion mode corresponding to the heterogeneous detection data is obtained, so as to facilitate data transmission between storage databases of different database types according to the data conversion mode. After the data transmission, it is determined whether the heterogeneous detection data has corresponding format errors or other anomalies, thereby improving the security of the heterogeneous detection data classification and transmission process.

[0042] Optionally, after obtaining the corresponding outlier detection data in the target data repository if the inspected data in the target data repository does not conform to the target data type, the method further includes the following steps:

[0043] Obtain the target weight of the outlier detection data;

[0044] Determine whether the target weight of the outlier detection data exceeds a preset outlier data threshold;

[0045] If the target weight of the outlier detection data exceeds the preset outlier data threshold, then data read permission is obtained from the target data repository;

[0046] Initialize the data read permissions for the target data repository.

[0047] By adopting the above technical solution, the data read permissions of the target data repository that detects outlier data exceeding the corresponding preset outlier data threshold are initialized, thereby reducing the occurrence of errors in the target data repository reading and storing the corresponding detection data.

[0048] Optionally, after reading the database connection instruction and connecting to the corresponding target data repository from the plurality of data repositories, the following steps are further included:

[0049] Based on the target data repository, obtain the corresponding registration information;

[0050] Based on the registration information, send the corresponding heartbeat information.

[0051] By adopting the above technical solution, the working status of multiple data repositories can be easily obtained in real time based on heartbeat information, so as to promptly investigate and handle data repositories that have malfunctions or errors.

[0052] Secondly, this application provides a data acquisition system for inspection, comprising:

[0053] The configuration module is used to obtain and identify the data types of the corresponding inspection data in multiple data repositories and configure the corresponding data identifiers;

[0054] The generation module is used to match the corresponding data identifier according to the preset data detection type and generate the corresponding database connection instruction;

[0055] A connection module is used to read the database connection instructions and connect to the corresponding target data repository from the multiple data repository repositories;

[0056] The judgment module is used to determine whether the checked data in the target data repository conforms to the target data type;

[0057] If the inspection data in the target data repository matches the target data type, the first acquisition module is used to acquire the corresponding inspection data in the target data repository.

[0058] If the inspection data in the target data repository does not conform to the target data type, the second acquisition module is used to acquire the corresponding outlier detection data in the target data repository.

[0059] The analysis module is used to analyze the data type of the outlier detection data and generate a corresponding data classification strategy.

[0060] The transmission module is used to transmit the outlier detection data to the corresponding data repository according to the data classification strategy.

[0061] By adopting the above technical solution, multiple databases are configured with corresponding data identifiers according to the configuration module, so as to match the corresponding data identifiers according to the preset data detection type, and then obtain the corresponding detection data in the target data repository. Further, the judgment module determines whether the detection data to be obtained in the target data repository belongs to the target data type. The first acquisition module obtains the detection data of the target data type, and the second acquisition module obtains the outlier detection data of the non-target data type. The analysis module analyzes the data type of the outlier detection data and generates the corresponding data classification strategy. According to the data acquisition strategy, the outlier detection data is transmitted to the corresponding data repository through the transmission module, which reduces the error rate in the process of obtaining detection data and improves the efficiency of obtaining inspection data.

[0062] Thirdly, this application provides a terminal device, which adopts the following technical solution:

[0063] A terminal device includes a memory and a processor. The memory stores computer instructions that can be executed on the processor. When the processor loads and executes the computer instructions, it employs one of the above-described methods for checking data acquisition.

[0064] By adopting the above technical solution, a computer instruction is generated by the above-mentioned method for obtaining inspection data and stored in the memory for loading and execution by the processor. Thus, a terminal device is made based on the memory and the processor, which is convenient to use.

[0065] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution:

[0066] A computer-readable storage medium storing computer instructions, wherein when the computer instructions are loaded and executed by a processor, the aforementioned data acquisition method is employed.

[0067] By adopting the above technical solution, a method for acquiring inspection data is used to generate computer instructions, which are then stored in a computer-readable storage medium for loading and execution by a processor. The computer-readable storage medium facilitates the reading and storage of computer instructions.

[0068] In summary, this application includes at least one of the following beneficial technical effects: configuring data identifiers corresponding to multiple databases to match the corresponding data identifiers according to the preset data detection type, thereby obtaining the corresponding detection data in the target data repository, further determining whether the detection data to be obtained in the target data repository belongs to the target data type, obtaining the detection data of the target data type, analyzing the outlier detection data in the non-target data type, generating the corresponding data classification strategy, and transferring the outlier detection data to the corresponding data repository according to the data acquisition strategy, thereby reducing the error rate in the process of obtaining detection data and improving the efficiency of obtaining inspection data. Attached Figure Description

[0069] Figure 1 This is a flowchart illustrating steps S101 to S108 of a data acquisition method provided in this application.

[0070] Figure 2 This is a flowchart illustrating steps S201 to S205 of a data acquisition method provided in this application.

[0071] Figure 3 This is a flowchart illustrating steps S301 to S304 of a data acquisition method provided in this application.

[0072] Figure 4 This is a flowchart illustrating steps S401 to S405 of a data acquisition method provided in this application.

[0073] Figure 5 This is a flowchart illustrating steps S501 to S504 of a data acquisition method provided in this application.

[0074] Figure 6 This is a flowchart illustrating steps S601 to S604 of a data acquisition method provided in this application.

[0075] Figure 7 This is a flowchart illustrating steps S701 to S702 in a data acquisition method provided in this application.

[0076] Figure 8 This is a schematic diagram of a data acquisition system for inspection provided in this application.

[0077] Explanation of reference numerals in the attached figures:

[0078] 1. Configuration module; 2. Generation module; 3. Connection module; 4. Judgment module; 5. First acquisition module; 6. Second acquisition module; 7. Analysis module; 8. Transmission module. Detailed Implementation

[0079] The following is in conjunction with the appendix Figure 1-8 This application will be described in further detail.

[0080] This application discloses a method for obtaining inspection data, such as... Figure 1 As shown, it includes the following steps:

[0081] S101. Obtain and identify the data types of the corresponding inspection data in multiple data repositories, and configure the data identifiers corresponding to the multiple data repositories;

[0082] S102. Match the corresponding data identifier according to the preset data detection type and generate the corresponding database connection command;

[0083] S103. Read database connection instructions and connect to the corresponding target data repository from multiple data repositories;

[0084] S104. Determine whether the check data in the target data repository matches the target data type;

[0085] S105. If the inspection data in the target data repository matches the target data type, then obtain the corresponding inspection data from the target data repository;

[0086] S106. If the inspection data in the target data repository does not conform to the target data type, then obtain the corresponding outlier detection data in the target data repository;

[0087] S107. Analyze the data type of outlier detection data and generate corresponding data classification strategies;

[0088] S108. Based on the data classification strategy, transmit the outlier detection data to the corresponding data repository.

[0089] The data repository in step S101, also known as the data management system, is a collection of data that needs to be processed, stored together in a certain way, and shared by multiple users to minimize redundancy. In short, it can be viewed as an electronic filing cabinet. The inspection data refers to various types of data stored in different data repositories, and the data identifier is an identification symbol assigned to the data repository storing the inspection data based on its specific data type.

[0090] In practical applications, various medical institutions set up multiple data repositories to classify and store women's various pre-pregnancy examination data. The various pre-pregnancy examination data mentioned here refers to the examination data in the aforementioned data repositories. Furthermore, to facilitate the retrieval of examination data from multiple data repositories, data identifiers corresponding to multiple data repositories are configured according to the specific data types of various pre-pregnancy examination data.

[0091] For example, the data repository includes a colposcopy data repository, a complete blood count data repository, a breast data repository, and a color Doppler ultrasound data repository. The colposcopy data repository stores data related to examinations performed on the vaginal biological environment, vaginal epithelium, and polyps. The complete blood count data repository stores data related to cell examinations performed on the white blood cells, red blood cells, and platelets. The breast data repository stores data related to examinations performed on the breast, such as ultrasound and MRI. The color Doppler ultrasound data repository stores data related to examinations performed on the cervix and uterine growth.

[0092] It should be noted that the vaginal data identifier for the colposcopy data repository is configured based on relevant examination data such as vaginal biological environment, vaginal epithelium, and polyps; the blood routine cell data identifier for the blood routine data repository is configured based on relevant cell examination data such as white blood cells, red blood cells, and platelets; the breast data identifier for the breast data repository is configured based on relevant examination data such as breast ultrasound and MRI; and the color Doppler ultrasound data identifier for the color Doppler ultrasound data repository is configured based on relevant examination data such as cervical and uterine growth.

[0093] Furthermore, in order to facilitate meeting the data screening needs of screening personnel and thereby obtain the corresponding examination data, a corresponding preset data detection type is set according to the data screening needs of screening personnel. The preset data detection type in step S102 refers to the specific examination data type that the staff needs to screen.

[0094] In practical applications, the system can identify preset data detection types, match corresponding data identifiers from multiple data repositories, and further generate data connection instructions for the data repository corresponding to the data identifier, i.e., the database connection instructions in step S102.

[0095] For example, if the system can obtain relevant examination data for colposcopy based on the preset data detection type, the system will identify the corresponding vaginal data identifier from multiple data repositories and then generate a database connection instruction for the corresponding colposcopy data repository based on the vaginal data identifier.

[0096] For example, based on the preset data detection type, the system can obtain and screen the corresponding colposcopy and blood routine related examination data. After the system identifies the data, it matches the corresponding vaginal data identifier and blood routine cell data identifier from multiple data repositories. Then, it generates the database connection instruction for the corresponding colposcopy data repository based on the vaginal data identifier and the database connection instruction for the corresponding blood routine data repository based on the blood routine cell data identifier.

[0097] The system can recognize database connection commands, retrieve the corresponding data repository to establish a connection, and the data repository to which the connection is established is the target data repository in step S103.

[0098] For example, the system establishes a data connection with the colposcopy data repository by reading the database connection command that identifies the colposcopy data repository, which is the target data repository mentioned above.

[0099] For example, the system reads and identifies the database connection instructions of the colposcopy data repository and the blood routine data repository, and establishes a data connection with the colposcopy data repository and the blood routine data repository, which are the target data repositories mentioned above.

[0100] In practical applications, data storage errors are inevitable in the data storage repository. To reduce the occurrence of such errors and further improve the accuracy of the inspection data, it is necessary to determine whether the inspection data in the target data repository conforms to the target data type after establishing a connection to the target data repository. The target data type refers to the data type corresponding to the preset data detection type.

[0101] For example, if the target data repository is a colposcopy data repository, the system can further determine that the examination data stored in the colposcopy data repository is examination data of the vaginal biological environment, vaginal epithelium and polyps. If so, it can be determined that the above examination data all conform to the same colposcopy data type, that is, conform to the corresponding target data type, and then obtain the corresponding examination data of the vaginal biological environment, vaginal epithelium and polyps in the colposcopy data repository.

[0102] For example, if the target data repository is a blood routine data repository, the system can further determine that the test data stored in the blood routine data repository is test data of white blood cells, red blood cells, and platelets. Then, it can determine that the above test data all conform to the same blood routine data type, that is, conform to the corresponding target data type, and then obtain the corresponding white blood cell, red blood cell, and platelet test data in the blood routine data repository.

[0103] It should be noted that the inspection data in the target data repository should meet the requirements of the preset data detection type. However, due to the inevitable data reading and identification errors that occur in the data repository during the storage of the corresponding inspection data, inspection data of different target data types may be stored in the same data repository, resulting in disordered inspection data storage.

[0104] For example, if the target data repository is a colposcopy data repository, the system can further determine that the examination data stored in the colposcopy data repository is examination data on the vaginal biological environment, vaginal epithelium and polyps, and cervical and uterine growth. If the examination data on cervical and uterine growth does not conform to the target data type of colposcopy, then the system can further obtain the examination data on uterine growth from the colposcopy data repository. The examination data on uterine growth here is the outlier detection data in step S106.

[0105] For example, if the target data repository is a colposcopy data repository, the system can further determine that the examination data stored in the colposcopy data repository is data on the vaginal biological environment, vaginal epithelium and polyps, cervical and uterine growth, and white blood cells. If the data on cervical and uterine growth and white blood cells do not meet the target data types of colposcopy, then the system can further obtain the data on uterine growth and white blood cells from the colposcopy data repository. The data on uterine growth and white blood cells here are the outlier detection data in step S106.

[0106] In order to classify the outlier detection data reasonably, it is necessary to analyze and identify the outlier detection data in the target data repository, determine the data type of the outlier detection data, and transfer it to the corresponding data repository according to the data type of the outlier detection data. The data classification strategy in steps S107 to S108 is the scheme strategy for classifying the outlier detection data into the corresponding data repository according to the data type of the outlier detection data.

[0107] For example, the colposcopy data repository stores examination data on the vaginal biological environment, vaginal epithelium and polyps, and cervical and uterine growth. The examination data on cervical and uterine growth can be identified as outlier data. Further analysis identifies the data on cervical and uterine growth as belonging to the data type of color Doppler ultrasound examination items. Then, a corresponding color Doppler ultrasound data repository classification strategy is generated. According to the color Doppler ultrasound data repository classification strategy, the examination data on cervical and uterine growth is transferred to the color Doppler ultrasound data repository. Here, the color Doppler ultrasound data repository classification strategy is the data classification strategy.

[0108] For example, the colposcopy data repository stores examination data on the vaginal biological environment, vaginal epithelium and polyps, cervical and uterine growth, and white blood cells. The cervical and uterine growth data and the white blood cell data can be identified as outlier data. Further analysis reveals that the cervical and uterine growth data belongs to the data type of color Doppler ultrasound examination, while the white blood cell data belongs to the data type of complete blood count (CBC) examination. Corresponding classification strategies are then generated for the color Doppler ultrasound data repository and the CBC data repository. The cervical and uterine growth data is transferred to the color Doppler ultrasound data repository according to the color Doppler ultrasound data repository classification strategy, and the white blood cell data is transferred to the CBC data repository according to the CBC data repository classification strategy. These color Doppler ultrasound data repository classification strategies and CBC data repository classification strategies are essentially data classification strategies.

[0109] The inspection data acquisition method provided in this embodiment configures data identifiers corresponding to multiple databases to match the corresponding data identifiers according to the preset data detection type, thereby acquiring the corresponding detection data in the target data repository. It further determines whether the detection data to be acquired in the target data repository belongs to the target data type, acquires the detection data of the target data type, analyzes the outlier detection data in the non-target data type, generates the corresponding data classification strategy, and transmits the outlier detection data to the corresponding data repository according to the data acquisition strategy. This reduces the error rate in the process of acquiring detection data and thus improves the efficiency of inspection data acquisition.

[0110] In one embodiment of this example, such as Figure 2 As shown, after step S103, which involves reading the database connection instruction and connecting to the corresponding target data repository from multiple data repositories, the following steps are also included:

[0111] S201. Obtain the current geographical location information corresponding to the target data repository;

[0112] S202. Determine whether the current geographic location information matches the initial location configuration information corresponding to the target data repository;

[0113] S203. If the current geographic location information does not match the initial location configuration information corresponding to the target data repository, then cache the detection data in the target data repository to the backup cache space;

[0114] S204. Initialize the current geographic location information corresponding to the target data repository according to the initial location configuration information, and generate an initialization signal;

[0115] S205. Read the initialization signal and retrieve the detection data from the backup cache space.

[0116] The current geographic location information in steps S201 to S203 refers to the current geographic location recorded in the local medical institution's data repository.

[0117] In practical applications, the examination data stored in the corresponding data repositories of medical institutions in various regions for premarital examinations of women usually represents the physiological health status of women in the local area. It plays an important role in the screening and comparative analysis of subsequent examination data. Therefore, by using the current geographical location information corresponding to the target data repository, we can know the source of the relevant examination data and the geographical range represented by the test data.

[0118] It should be noted that by comparing the current geographic location information corresponding to the target data repository with the initial location configuration information of the target data repository, it can be determined whether the current geographic location information of the target data repository is incorrect.

[0119] For example, based on the current geographic location information of the target data repository, the geographic location displayed for the target data repository is area A. However, the geographic location displayed for the initial location configuration information corresponding to the target data repository is area B. It can be determined that the current geographic location information does not match the initial location configuration information corresponding to the target data repository. Therefore, the detection data in the target data repository is cached to the backup cache space. Then, the current geographic location information of the target data repository is initialized according to the initial location configuration information. Cache the detection data in the target data repository to the backup cache space to reduce the possibility of loss of the inspection data stored in the target data repository during the initialization process of the target data repository.

[0120] Furthermore, when the system recognizes the corresponding initialization signal of the target data repository, it indicates that the current geographical location information of the target data repository has been initialized. Then, the detection data that was originally cached in the backup cache space is retrieved, thereby improving the accuracy of obtaining the geographical location corresponding to the relevant inspection data in the target data repository.

[0121] For example, based on the current geographic location information of the target data repository, the geographic location displayed by the target data repository is area A. The geographic location displayed by the initial location configuration information corresponding to the target data repository is area A. It can be determined that the current geographic location information matches the initial location configuration information corresponding to the target data repository, and the system outputs a prompt message indicating that the current geographic location information is normal.

[0122] The inspection data acquisition method provided in this embodiment caches the detection data in the target data repository to the backup cache space when the current geographical location information of the target data repository does not conform to the corresponding initial location configuration information, and further initializes the target data repository according to the initial location configuration information, thereby improving the security and accuracy of acquiring detection data.

[0123] In one embodiment of this example, such as Figure 3 As shown, after step S204, which initializes the current geographic location information corresponding to the target data repository based on the initial location configuration information and generates the initialization signal, the following steps are also included:

[0124] S301. Determine if the initialization signal is abnormal;

[0125] S302. If the initialization signal is abnormal, associate and upload the check data and initial position configuration information corresponding to the target data repository;

[0126] S303. Identify the current geographic location information as an abnormal geographic identifier;

[0127] S304. Deactivate the target data repository based on the anomalous geographic identifier.

[0128] In practical applications, initialization failures are inevitable during the initialization of the current geographic location information of the target data repository. Therefore, in order to ensure the accuracy of the geographic location of the data to be checked, it is necessary to analyze and judge the initialization signal after the target data repository is initialized again.

[0129] It should be noted that if the system identifies and determines that the initialization signal is in an abnormal state, it indicates that the initialization action of the target data repository has not achieved the expected purpose and has not made initial changes to the current geographical location information of the target data repository according to the initial location configuration information. In this case, the system will directly upload the check data and the corresponding initial location configuration information of the target data repository, and mark the current geographical location information of the target data repository as an abnormal geographical identifier. The system will then deactivate the target data repository based on the abnormal geographical identifier.

[0130] Once the target data repository is deactivated, the initialization signal will no longer be read. After the system recognizes the initialization signal, it will directly output the corresponding deactivation information so that relevant staff can be informed.

[0131] For example, based on the current geographic location information of the target data repository, the displayed geographic location of the target data repository is area A, but the initial location configuration information corresponding to the target data repository displays the geographic location as area B. It can be determined that the current geographic location information does not match the initial location configuration information corresponding to the target data repository. Furthermore, the current geographic location information of the target data repository is initialized and changed according to the initial location configuration information corresponding to the target data repository, and the corresponding initialization signal is output. If the geographic location of the target data repository is still area A according to the initialization signal, it can be determined that the initialization signal is abnormal.

[0132] Furthermore, the inspection data and initial location configuration information of area B corresponding to the target data repository are associated and uploaded, and the current geographical location information of area A is marked as the abnormal geographical identifier of area A. Based on the abnormal geographical identifier of area A, the target data repository is deactivated.

[0133] For example, if the initialization signal indicates that the geographical location displayed by the target data repository has changed to Zone B, then the initialization signal is normal, indicating that the current geographical location information of the target data repository has been successfully initialized, and the system records Zone A to the list of abnormal geographical locations.

[0134] The inspection data acquisition method provided in this embodiment indicates that if the initialization signal is abnormal, it means that the target data repository initialization has failed. At this time, the corresponding detection data and initialization location configuration information in the target database are directly associated and uploaded, so that the staff can obtain accurate inspection data and the initial geographical location of the target data repository in the corresponding initialization location configuration information, thereby improving the accuracy and efficiency of obtaining detection data. Furthermore, the current geographical location of the target data storage is marked as an abnormal geographical identifier, so that the staff can repair the target data repository that failed to initialize.

[0135] In one embodiment of this example, such as Figure 4 As shown, step S107, which involves analyzing the data type of the outlier detection data and generating the corresponding data classification strategy, includes the following steps:

[0136] S401. Determine whether the outlier detection data belongs to the target data type;

[0137] S402. If the outlier detection data is not the target data type, then obtain the corresponding outlier data repository based on the data type of the outlier detection data;

[0138] S403. Determine whether identical outlier detection data exists in the outlier data repository;

[0139] S404. If there is no identical heterogeneous detection data in the heterogeneous data repository, determine whether the database type of the heterogeneous data repository is the same as that of the target data repository;

[0140] S405. If the database type of the heterogeneous data repository is the same as that of the target data repository, then obtain the storage address of the heterogeneous data repository as the data classification strategy.

[0141] In practical applications, due to network errors or other abnormal data reading reasons, the target data repository may contain outlier detection data that is not of the target data type. In order to facilitate the classification and organization of outlier detection data and reduce the waste of storage resources caused by duplicate storage of outlier detection data, it is necessary to determine whether there is the same outlier detection data in the outlier data repository corresponding to the outlier data storage type. Here, the outlier data repository refers to the database that conforms to the outlier data storage type.

[0142] It should be noted that if the heterogeneous data repository does not contain the same heterogeneous detection data as the target data repository, it is further determined whether the database types of the target data repository and the heterogeneous data repository are the same. If they are the same, the storage address of the heterogeneous detection data in the heterogeneous data repository is directly obtained as the data classification strategy. Furthermore, the heterogeneous detection data can be transferred to the corresponding data repository according to the data classification strategy.

[0143] For example, the colposcopy data repository stores examination data on the vaginal biological environment, vaginal epithelium and polyps, cervical and uterine growth, and white blood cells. It can be determined that the examination data on cervical and uterine growth and white blood cells are outlier test data. Further analysis and identification show that the examination data on cervical and uterine growth belongs to the data type of color Doppler ultrasound examination, and the examination data on white blood cells belongs to the data type of routine blood test. It can be determined that the examination data on cervical and uterine growth and white blood cells are not the target data type.

[0144] Further, the anomalous data repository corresponding to the examination data on cervical and uterine growth was the color Doppler ultrasound data repository, and the anomalous data repository corresponding to the examination data on white blood cells was the complete blood count data repository. After system identification and judgment, it was determined that the color Doppler ultrasound data repository did not contain the examination data on cervical and uterine growth, and the complete blood count data repository also did not contain the examination data on white blood cells.

[0145] The system then determines that the colposcopy data repository, color Doppler ultrasound data repository, and blood routine data repository have the same database type. It then obtains the storage addresses of cervical and uterine growth examination data from the color Doppler ultrasound data repository and the storage addresses of white blood cell examination data from the blood routine data repository. Based on the storage addresses of the cervical and uterine growth examination data, a classification strategy for the cervical and uterine growth examination data is generated, and based on the storage addresses of the white blood cell examination data, a classification strategy for the white blood cell examination data is generated.

[0146] For example, the colposcopy data repository stores examination data on the vaginal biological environment, vaginal epithelium and polyps, red blood cells and white blood cells. It can be determined that the examination data of red blood cells and white blood cells are outlier test data. Further analysis and identification show that the examination data of red blood cells and white blood cells belong to the data type of routine blood test items. It can be determined that the examination data of red blood cells and white blood cells are the target data type. The system then marks the examination data of red blood cells and white blood cells as routine blood test data and outputs the corresponding abnormal examination data.

[0147] The inspection data acquisition method provided in this embodiment can obtain the storage address corresponding to the heterogeneous data repository if there is no identical heterogeneous detection data in the heterogeneous data repository. The heterogeneous detection data in the target data repository can be transferred to the corresponding heterogeneous data repository according to the storage address, thereby reducing the occurrence of data acquisition errors caused by the appearance of heterogeneous detection data during the acquisition of detection data.

[0148] In one embodiment of this example, such as Figure 5 As shown, after step S404, which determines whether the database type of the heterogeneous data repository is the same as that of the target data repository if no identical heterogeneous detection data exists in the heterogeneous data repository, the following steps are also included:

[0149] S501. If the database type of the heterogeneous data repository is different from that of the target data repository, then obtain the data transformation mode corresponding to the heterogeneous detection data;

[0150] S502. According to the data conversion mode, transmit the heterogeneous detection data to the corresponding heterogeneous data repository;

[0151] S503. Determine whether there are any anomalies in the anomaly detection data in the anomaly data repository;

[0152] S504. If the heterogeneous detection data in the heterogeneous data repository is abnormal, the corresponding abnormal transmission information will be output.

[0153] In practical applications, due to the differences in data storage between different database types, data storage errors may occur when transferring data between different database types.

[0154] The data conversion mode in steps S501 to S502 refers to the conversion mode corresponding to data transmission between different database types.

[0155] For example, the target data repository is a colposcopy data repository, which stores examination data on the vaginal biological environment, vaginal epithelium and polyps, and white blood cells. The white blood cell examination data is outlier data, and its corresponding outlier data repository is a blood routine database. The system identifies that the colposcopy data repository and the blood routine database are different database types. The colposcopy data repository is a PostgreSQL database, while the blood routine database is a MySQL database.

[0156] Further, based on the white blood cell count data, the corresponding data transformation mode is obtained. This data transformation mode requires the use of Navicat Premium, a database management tool that allows multiple database connections. It can connect to MySQL, SQLite, Oracle, MariaDB, Mssql, and PostgreSQL databases simultaneously for data interaction in a single program.

[0157] The process of transmitting white blood cell test data according to the data conversion mode is as follows: select the white blood cell test data in the colposcopy data repository, and then transmit the white blood cell test data to the blood routine database through Navicat premium.

[0158] It should be noted that, for the security of outlier detection data storage, after the outlier detection data is transmitted to the corresponding outlier data repository, it is also necessary to check whether the outlier detection data is consistent before and after transmission. If the data is inconsistent, it indicates that the outlier detection data is abnormal and the outlier detection data transmission has failed. The corresponding abnormal transmission information will be output. After the system identifies the abnormal transmission information, it will no longer generate the corresponding data classification strategy, and will prompt relevant personnel to repair it based on the abnormal transmission information.

[0159] The inspection data acquisition method provided in this embodiment obtains a data conversion mode corresponding to the heterogeneous data if the database type of the heterogeneous data repository is different from that of the target data repository. This allows for data transmission between storage databases of different database types based on the data conversion mode. Furthermore, after data transmission, it determines whether the heterogeneous data has any abnormalities such as format errors, thereby improving the security of the heterogeneous data classification and transmission process.

[0160] In one embodiment of this example, such as Figure 6As shown, after obtaining the corresponding outlier detection data from the target data repository in step S106 (i.e., if the inspection data in the target data repository does not conform to the target data type), the following steps are also included:

[0161] S601. Obtain the target weights for outlier detection data;

[0162] S602. Determine whether the target weight of the outlier detection data exceeds the preset outlier data threshold;

[0163] S603. If the target weight of the outlier detection data exceeds the preset outlier data threshold, then obtain data read permission from the target data repository;

[0164] S604. Initialize data read permissions for the target data repository.

[0165] In step S601, the target weight of the outlier detection data refers to the percentage of outlier detection data in the target data storage database.

[0166] In practical applications, if there is too much outlier detection data in the target data repository, it indicates that the read and storage permissions of the target data repository are malfunctioning. In order to reduce the occurrence of this situation, a relevant standard for read and storage permission malfunction is set, namely the preset outlier data threshold in step S602. The preset outlier data threshold refers to the maximum value of the target weight corresponding to the outlier detection data in the target data repository. When the target weight of the outlier detection data in the target data repository exceeds a certain threshold, it indicates that the read and storage permissions of the target data repository are malfunctioning.

[0167] For example, the target data repository is a colposcopy data repository, and the preset outlier threshold for the colposcopy data repository is 30%. The colposcopy data repository stores examination data of the vaginal biological environment, vaginal epithelium and polyps, and white blood cells. It can be seen that the white blood cell examination data is outlier detection data. After relevant calculations by the system, it can be found that the target weight corresponding to the white blood cell examination data is 32%. It can be determined that the target weight of the white blood cell examination data exceeds the corresponding preset outlier threshold.

[0168] Further acquire and initialize the data read permissions of the aforementioned colposcopy data repository. Data read permissions refer to the identification and storage permissions of the data repository when reading the corresponding examination data. After initializing the data read permissions of the aforementioned colposcopy data repository, send a prompt message indicating whether the initialization was successful or failed, so that the operator can keep track of the initialization status of the data read permissions of the colposcopy data repository, i.e., the target data repository, in real time.

[0169] For example, the uploaded examination data includes examination data of related cells such as vaginal biological environment, vaginal epithelium and polyps, white blood cells, red blood cells and platelets. The colposcopy data repository reads and identifies the above examination data according to its data reading permissions, and determines that the examination data of vaginal biological environment and vaginal epithelium and polyps meet the storage permissions of vaginal biological environment, and then captures and stores the examination data of vaginal biological environment and vaginal epithelium and polyps.

[0170] For example, if the target weight of the white blood cell examination data in the colposcopy data repository is 22% after relevant calculations by the system, it can be determined that the target weight of the white blood cell examination data does not exceed the corresponding preset outlier data threshold. Then the system records the target weight of the white blood cell examination data in the colposcopy data repository in real time.

[0171] The inspection data acquisition method provided in this embodiment initializes the corresponding data read permissions of the target data repository for outlier detection data that exceeds the corresponding preset outlier data threshold, thereby reducing the occurrence of errors in the target data repository reading and storing the corresponding detection data.

[0172] In one embodiment of this example, such as Figure 7 As shown, after step S103, which involves reading the database connection instruction and connecting to the corresponding target data repository from multiple data repositories, the following steps are also included:

[0173] S701. Obtain the corresponding registration information based on the target data repository;

[0174] S702. Send the corresponding heartbeat information based on the registration information.

[0175] In actual operation, after the data screening device establishes a connection with the target data repository, it will output the registration information corresponding to the target data repository in step S701. The registration information shows the storage attributes and related parameters of the target data repository. The database type and related storage properties of the target data repository can be specifically identified through the registration information of the target data repository.

[0176] In step S702, in order to monitor the working status of the target data repository in real time, the target data repository continuously sends heartbeat information to the data screening device.

[0177] In practical applications, a heartbeat message refers to a message sent from a source to a receiver. This message allows the receiver to determine whether and when the source has failed or terminated. Here, the target data repository is the source, and the data screening device is the receiver. The data screening device can identify the operational status of the target data repository through the heartbeat message sent by the target data repository and can view the data storage status of the target data repository at any time.

[0178] The inspection data acquisition method provided in this embodiment can easily obtain the working status of multiple data repositories in real time based on heartbeat information, so as to promptly investigate and handle data repositories that have malfunctions or errors.

[0179] This application also discloses a data acquisition system for inspection, such as Figure 8 As shown, it includes:

[0180] Configuration module 1 is used to obtain and identify the data types of the corresponding inspection data in multiple data repositories and configure the corresponding data identifiers;

[0181] Generation module 2 is used to match the corresponding data identifier according to the preset data detection type and generate the corresponding database connection instruction;

[0182] Connection module 3 is used to read database connection instructions and connect to the corresponding target data repository from multiple data repositories;

[0183] Module 4 is used to determine whether the data in the target data repository matches the target data type.

[0184] If the inspection data in the target data repository matches the target data type, the first acquisition module 5 is used to acquire the corresponding inspection data in the target data repository.

[0185] If the inspection data in the target data repository does not conform to the target data type, the second acquisition module 6 is used to acquire the corresponding outlier detection data in the target data repository.

[0186] Analysis module 7 is used to analyze the data type of outlier detection data and generate corresponding data classification strategies;

[0187] The transmission module 8 is used to transmit outlier detection data to the corresponding data repository according to the data classification strategy.

[0188] The inspection data acquisition system provided in this embodiment configures data identifiers corresponding to multiple databases according to the configuration module 1, so as to match the corresponding data identifiers according to the preset data detection type, and then obtain the corresponding detection data in the target data repository. Further, the judgment module 4 determines whether the detection data to be obtained in the target data repository belongs to the target data type. The first acquisition module 5 acquires the detection data of the target data type, and the second acquisition module 6 acquires the outlier detection data of the non-target data type. The analysis module 7 analyzes the data type of the outlier detection data and generates a corresponding data classification strategy. According to the data acquisition strategy, the outlier detection data is transmitted to the corresponding data repository through the transmission module 8, which reduces the error rate in the process of acquiring detection data and thus improves the efficiency of inspection data acquisition.

[0189] It should be noted that the inspection data acquisition system provided in this application embodiment also includes each module and / or corresponding sub-module corresponding to the logical function or logical step of any of the above inspection data acquisition methods, to achieve the same effect as each logical function or logical step, which will not be elaborated here.

[0190] This application also discloses a terminal device, including a memory, a processor, and computer instructions stored in the memory and capable of running on the processor, wherein the processor executes the computer instructions using any of the data acquisition methods described in the above embodiments.

[0191] The terminal device can be a computer device such as a desktop computer, a laptop computer, or a cloud server. The terminal device includes, but is not limited to, a processor and a memory. For example, the terminal device may also include input / output devices, network access devices, and buses.

[0192] The processor can be a central processing unit (CPU). Of course, depending on the actual use, it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc., and this application does not limit it.

[0193] The memory can be an internal storage unit of the terminal device, such as a hard disk or RAM of the terminal device, or an external storage device of the terminal device, such as a plug-in hard disk, smart memory card (SMC), secure digital card (SD), or flash memory card (FC) equipped on the terminal device. Furthermore, the memory can be a combination of internal storage units and external storage devices of the terminal device. The memory is used to store computer instructions and other instructions and data required by the terminal device. The memory can also be used to temporarily store data that has been output or will be output. This application does not limit this.

[0194] In this terminal device, any of the inspection data acquisition methods in the above embodiments are stored in the memory of the terminal device and loaded and executed on the processor of the terminal device for convenient use.

[0195] This application also discloses a computer-readable storage medium, which stores computer instructions, wherein when the computer instructions are executed by a processor, any of the data acquisition methods described in the above embodiments are employed.

[0196] The computer instructions can be stored in a computer-readable medium. The computer instructions include computer instruction code, which can be in the form of source code, object code, executable file, or certain middleware. The computer-readable medium includes any entity or device capable of carrying computer instruction code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the computer-readable medium includes, but is not limited to, the above-mentioned components.

[0197] In this computer-readable storage medium, any of the inspection data acquisition methods in the above embodiments are stored in the computer-readable storage medium and loaded and executed on the processor to facilitate the storage and application of the above methods.

[0198] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.

Claims

1. A method for inspecting data acquisition, characterized in that, Includes the following steps: Obtain and identify the data types of the corresponding inspection data in multiple data repositories, and configure data identifiers corresponding to the multiple data repositories; Based on the preset data detection type, match the corresponding data identifier to generate the corresponding database connection instruction; Read the database connection instruction and connect to the corresponding target data repository from the multiple data repositories; Determine whether the checked data in the target data repository conforms to the target data type; If the inspection data in the target data repository matches the target data type, then the corresponding inspection data in the target data repository is obtained; If the inspection data in the target data repository does not conform to the target data type, then the corresponding outlier detection data in the target data repository is obtained; Analyze the data type of the outlier detection data and generate a corresponding data classification strategy; According to the data classification strategy, the outlier detection data is transmitted to the corresponding data repository. The process of analyzing the data type of the outlier detection data and generating a corresponding data classification strategy includes the following steps: Determine the number of different types of the outlier detection data; If the number of different types of the outlier detection data is multiple, then the corresponding outlier data repository is obtained according to the data type of the outlier detection data; Determine whether identical heterogeneous detection data exists in the heterogeneous data repository; If the same heterogeneous detection data does not exist in the heterogeneous data repository, then it is determined whether the database type of the heterogeneous data repository is the same as that of the target data repository; If the database type of the heterogeneous data repository is the same as that of the target data repository, then the storage address of the heterogeneous data repository is obtained as the data classification strategy. After determining whether the database type of the heterogeneous data repository is the same as that of the target data repository if no identical heterogeneous detection data exists in the heterogeneous data repository, the following steps are also included: If the database type of the heterogeneous data repository is different from that of the target data repository, then obtain the data transformation mode corresponding to the heterogeneous detection data; According to the data conversion mode, the outlier detection data is transmitted to the corresponding outlier data repository; Determine whether the anomaly detection data in the anomaly data repository is abnormal; If the anomaly detection data in the anomaly data repository is abnormal, the corresponding abnormal transmission information will be output.

2. The method for acquiring inspection data according to claim 1, characterized in that, After reading the database connection instruction and connecting to the corresponding target data repository from the plurality of data repositories, the following steps are further included: Obtain the current geographical location information corresponding to the target data repository; Determine whether the current geographic location information matches the initial location configuration information corresponding to the target data repository; If the current geographic location information does not match the initial location configuration information corresponding to the target data repository, then the check data in the target data repository is cached to the backup cache space; Initialize the current geographic location information corresponding to the target data repository according to the initial location configuration information, and generate an initialization signal; The initialization signal is read, and the check data is retrieved from the backup cache space.

3. The method for acquiring inspection data according to claim 2, characterized in that, After initializing the current geographic location information corresponding to the target data repository according to the initial location configuration information and generating the initialization signal, the following steps are further included: Determine whether the initialization signal is abnormal; If the initialization signal is abnormal, the check data and the initial location configuration information corresponding to the target data repository are associated and uploaded. The current geographic location information is identified as an abnormal geographic identifier; Based on the abnormal geographic identifier, deactivate the target data repository; If the anomaly detection data in the anomaly data repository is abnormal, the corresponding abnormal transmission information will be output.

4. The method for acquiring inspection data according to claim 1, characterized in that, After obtaining the corresponding outlier detection data from the target data repository if the inspected data in the target data repository does not conform to the target data type, the process further includes the following steps: Obtain the target weight of the outlier detection data; Determine whether the target weight of the outlier detection data exceeds a preset outlier data threshold; If the target weight of the outlier detection data exceeds the preset outlier data threshold, then data read permission is obtained from the target data repository; Initialize the data read permissions for the target data repository.

5. The method for acquiring inspection data according to claim 1, characterized in that, After reading the database connection instruction and connecting to the corresponding target data repository from the plurality of data repositories, the following steps are further included: Based on the target data repository, obtain the corresponding registration information; Based on the registration information, send the corresponding heartbeat information.

6. A data acquisition system for implementing the data acquisition method according to any one of claims 1-5, characterized in that, include: The configuration module is used to obtain and identify the data types of the corresponding inspection data in multiple data repositories and configure the corresponding data identifiers; The generation module is used to match the corresponding data identifier according to the preset data detection type and generate the corresponding database connection instruction; A connection module is used to read the database connection instructions and connect to the corresponding target data repository from the multiple data repository repositories; The judgment module is used to determine whether the checked data in the target data repository conforms to the target data type; If the inspection data in the target data repository matches the target data type, the first acquisition module is used to acquire the corresponding inspection data in the target data repository. If the inspection data in the target data repository does not conform to the target data type, the second acquisition module is used to acquire the corresponding outlier detection data in the target data repository. The analysis module is used to analyze the data type of the outlier detection data and generate a corresponding data classification strategy. The transmission module is used to transmit the outlier detection data to the corresponding data repository according to the data classification strategy.

7. A terminal device, comprising a memory and a processor, characterized in that, The memory stores computer instructions that can run on the processor, and when the processor loads and executes the computer instructions, it employs a data acquisition method as described in any one of claims 1 to 5.

8. A computer-readable storage medium storing computer instructions, characterized in that, When the computer instructions are loaded and executed by the processor, a data acquisition method as described in any one of claims 1 to 5 is employed.

Citation Information

Patent Citations

  • Network intrusion detection method and system

    CN111209563A

  • Medical information management method, system and device, computer equipment and storage medium

    CN114036223A