A method, system, and storage medium for auditing instrument data records

By using an automated instrument data recording and verification method and comparing screen layout information using an instrument information database, the problem of low efficiency in manual verification in drug development laboratories has been solved. This has enabled automatic verification of instrument models and measurement parameters, improving the accuracy and efficiency of data recording.

CN115757368BActive Publication Date: 2026-07-03MINGDU ZHIYUN (ZHEJIANG) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
MINGDU ZHIYUN (ZHEJIANG) TECH CO LTD
Filing Date
2022-09-28
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

In drug development laboratories, existing technologies require extensive manual verification of the accuracy of instrument data records, leading to inefficiency and a high risk of omissions and errors.

Method used

By acquiring data from the instrument data record table and comparing screen layout information using the instrument information database, the instrument model and measurement parameters are automatically identified and verified, thus achieving automated data auditing.

Benefits of technology

It improves the accuracy and efficiency of data recording, reduces the need for manual verification, and lowers labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115757368B_ABST
    Figure CN115757368B_ABST
Patent Text Reader

Abstract

This invention discloses a method, system, and storage medium for verifying instrument data records. Based on a received data verification command, each record in the instrument data record table is sequentially retrieved. The corresponding screen layout information is retrieved from the instrument information database according to the instrument model. Then, the display features in the screen image are identified and analyzed, and compared with the screen area shape and measurement data layout information stored in the instrument information database. If they are not similar, an instrument model entry error message is triggered. If they are similar, the identified instrument measurement parameters are compared with the recorded parameters in the data record. If they are not the same, a measurement parameter entry error message is triggered. By using screen image content to automatically verify and verify the instrument model and measurement parameters in electronic experimental records, the inefficiency and error-prone nature of existing manual verification methods are overcome.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information technology, and in particular to a method, system, and storage medium for auditing instrument data records. Background Technology

[0002] With the continuous development of modern information technology and computer networks, the use of instruments in various laboratories and factories is also increasing. Due to the increasing participation of electronic and intelligent experimental instruments in the experimental process, a large amount of experimental data is generated.

[0003] In pharmaceutical R&D laboratories, researchers need to record a large number of instrument-related process parameters during drug development. To ensure accuracy, many pharmaceutical companies constantly verify the accuracy of the recorded data against the instrument data, wasting significant labor costs and failing to guarantee compliance. Furthermore, during the completion of experimental records, researchers often need to continuously photograph the instruments, upload the photos to the lab, and then have quality control personnel compare each image against the input fields in the logbook. A single experimental record may involve dozens of instruments, requiring verification personnel to visually compare and verify each image, resulting in enormous labor costs. Summary of the Invention

[0004] This invention addresses the shortcomings of existing technologies by providing a method for auditing instrument data records, comprising the following steps:

[0005] S1. Based on the received data verification instruction, sequentially obtain each record data in the instrument data recording table. The record data includes screen photos, instrument model, recording parameters, and / or preset measurement units.

[0006] S2, retrieve the corresponding screen layout information from the instrument information database according to the instrument model. The screen layout information includes, but is not limited to, the shape of the first screen area and the layout information of the first measurement data.

[0007] S3, identify and analyze the display features in the screen photo and obtain the second screen area shape in the screen photo, the second measurement data layout information including the layout positions of the digital feature area and the non-digital feature area on the screen, compare the second screen area shape and the second measurement data layout information with the first screen area shape and the first measurement data layout information stored in the instrument information database, and if they are not similar, trigger the instrument model entry error information.

[0008] S4. If they are similar, the instrument measurement parameters in the screen photo are identified based on the layout information of the first measurement data. The identified instrument measurement parameters are compared with the recorded parameters in the record data. If they are different, the measurement parameter input error message is triggered.

[0009] Preferably, step S3 specifically includes:

[0010] S31, identify and analyze the display features in the screen photograph, and obtain the shape of the second screen area in the screen photograph, as well as the second measurement data layout information including the layout positions of digital feature areas and non-digital feature areas on the screen.

[0011] S32, compare the shape of the second screen area and the layout information of the second measurement data with the shape of the first screen area and the layout information of the first measurement data of the instrument model stored in the instrument information database;

[0012] S33, If the overlap between the shape of the second screen area and the shape of the first screen area is lower than a preset value, or the similarity between the second measurement data layout information and the first measurement data layout information is lower than a preset value, then an instrument model entry error message is triggered.

[0013] Preferably, step S33 further includes:

[0014] S331, if the overlap between the shape of the second screen area and the shape of the first screen area is lower than a preset value, or the similarity between the second measurement data layout information and the first measurement data layout information is lower than a preset value, then query whether there is still a device photo in the record data, wherein the device photo contains at least part of the instrument screen and the external features of the instrument.

[0015] S332, if a device photo exists, the device photo is displayed after the trigger command is received, and the instrument model entry error information is determined based on the feedback identifier.

[0016] Preferably, step S4 includes:

[0017] S41, if the instrument model information is verified to be correct, the screen area in the screen photo is identified according to the shape of the first screen area, and the area where the digital features and non-digital features are located in the screen area is selected according to the first measurement data layout information and the measurement parameters and corresponding units of measurement are obtained.

[0018] S42, obtain the preset unit of measurement for each measurement parameter in the record data, find and identify the measurement parameter that matches it in the data according to the preset unit of measurement, and compare the identified measurement parameter with the record parameter to which the preset unit of measurement belongs. If they are different, trigger the measurement parameter entry error message.

[0019] This invention also discloses an instrument data recording verification system, comprising: a record acquisition module, used to sequentially acquire each record data in the instrument data recording table according to a received data verification instruction, wherein the record data includes a screen photograph, instrument model, recording parameters, and / or a preset unit of measurement; a screen layout information acquisition module, used to retrieve corresponding screen layout information from an instrument information database according to the instrument model, wherein the screen layout information includes, but is not limited to, the shape of a first screen area and the layout information of a first measurement data; and a model comparison module, used to identify and analyze the display features in the screen photograph and acquire the shape of a second screen area, including areas containing digital features and non-digital features in the screen photograph. The second measurement data layout information, which describes the location of the target area on the screen, is compared with the first screen area shape and the first measurement data layout information stored in the instrument information database. If they are not similar, an instrument model entry error message is triggered. The parameter comparison module is used to identify the instrument measurement parameters in the screen photo based on the first measurement data layout information when the second screen area shape and the second measurement data layout information are similar to the first screen area shape and the first measurement data layout information stored in the instrument information database. The identified instrument measurement parameters are compared with the recorded parameters in the record data. If they are not the same, a measurement parameter entry error message is triggered.

[0020] Preferably, the model comparison module includes: an analysis module, used to identify and analyze the display features in the screen photograph, and obtain the shape of the second screen area in the screen photograph, and the second measurement data layout information including the layout positions of digital feature areas and non-digital feature areas on the screen; a layout information comparison module, used to compare the shape of the second screen area and the second measurement data layout information with the shape of the first screen area and the first measurement data layout information of the instrument model stored in the instrument information database; and an overlap comparison module, used to trigger instrument model entry error information when the overlap between the shape of the second screen area and the shape of the first screen area is lower than a preset value, or when the similarity between the second measurement data layout information and the first measurement data layout information is lower than a preset value.

[0021] Preferably, the overlap comparison module further includes: a device photo query module, used to query whether there is still a device photo in the record data when the overlap between the shape of the second screen area and the shape of the first screen area is lower than a preset value, or the similarity between the second measurement data layout information and the first measurement data layout information is lower than a preset value; the device photo contains at least part of the instrument screen and external features of the instrument; and a photo display module, used to display the device photo after receiving a trigger command when a device photo exists, and to determine whether to trigger the instrument model input error information based on the feedback identifier.

[0022] Preferably, the parameter comparison module includes: a screen area recognition module, used to identify the screen area in the screen photo according to the shape of the first screen area when the instrument model information is verified to be correct, select the area containing the digital features and non-digital features in the screen area according to the first measurement data layout information, and identify and obtain the measurement parameters and corresponding units of measurement; and a comparison module, used to obtain the preset units of measurement for each measurement parameter in the record data, find and identify the measurement parameters that match the preset units of measurement in the data, and compare the identified measurement parameters with the record parameters to which the preset units of measurement belong. If they are different, a measurement parameter entry error message is triggered.

[0023] The present invention also discloses an instrument data recording verification device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any of the methods described above.

[0024] The present invention also discloses a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of any of the methods described above.

[0025] This invention discloses a method, system, and storage medium for verifying instrument data records. Based on a received data verification instruction, each record in the instrument data record table is sequentially retrieved. The corresponding screen layout information is retrieved from the instrument information database according to the instrument model. Then, the display features in the screen photograph are identified and analyzed, and compared with the screen area shape and measurement data layout information stored in the instrument information database. If they are not similar, an instrument model entry error message is triggered. If they are similar, the instrument measurement parameters in the screen photograph are identified based on the first measurement data layout information. The identified instrument measurement parameters are compared with the recorded parameters in the corresponding record data. If they are not the same, a measurement parameter entry error message is triggered. By using screen image content to automatically verify and verify the instrument model and various measurement parameters in electronic experimental records, the inefficiency and error-prone nature of existing manual verification methods are overcome.

[0026] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0027] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0028] Figure 1 This is a flowchart illustrating an instrument data recording verification method disclosed in one embodiment.

[0029] Figure 2 This is a schematic diagram of the specific process of step S3 disclosed in one embodiment.

[0030] Figure 3 This is a schematic diagram of the specific process of step S33 disclosed in one embodiment.

[0031] Figure 4 This is a schematic diagram of the specific process of step S4 disclosed in one embodiment. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the described embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0033] In this invention, unless otherwise expressly specified and limited, the technical or scientific terms used herein shall have the ordinary meaning understood by one of ordinary skill in the art to which this invention pertains. The terms "first," "second," and similar terms used in the specification and claims of this patent application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms "an" or "a," and similar terms, do not indicate a quantity limitation, but rather indicate the presence of at least one.

[0034] In pharmaceutical research and development, numerous instruments and equipment are used. While some smaller devices, such as balances and turbidimeters, can collect data via serial ports or workstations, others cannot. During experiments, researchers manually fill out records, then take pictures of the instrument screens, compress them, and upload them to the electronic lab log. During quality control, researchers manually open and compare these images one by one to ensure the accuracy of the instrument models and data recorded in the electronic lab log—a time-consuming and labor-intensive process. To address these issues, the following measures are proposed: Figure 1 As shown in the figure, this embodiment discloses a method for auditing instrument data records, which may specifically include the following contents.

[0035] Step S1: Based on the received data verification instruction, sequentially obtain each record data in the instrument data recording table. The record data includes a screen photo, instrument model, recording parameters, and / or preset measurement units. The preset measurement units are the measurement units corresponding to each recording parameter in each record data.

[0036] Step S2: Retrieve the corresponding screen layout information from the instrument information database according to the instrument model. The screen layout information includes, but is not limited to, the shape of the first screen area and the layout information of the first measurement data. The measurement data layout information may include the positions of the numeric feature areas and the positions of the non-numeric feature areas on the screen. The non-numeric features are text features or letter features, which are the units of measurement of the measurement parameters displayed on the screen. Depending on the instrument, some units of measurement are expressed in Chinese characters and some in English characters. Therefore, it is necessary to recognize both the text and letters on the screen.

[0037] Specifically, the measurement data layout information can include one or more of the following: the position of the numerical feature area, the position of the text feature area, or the position of the letter feature area on the screen. The numerical feature area refers to the area occupied by the measurement result number displayed on the screen after the instrument completes the test. This area can be the largest rectangular area that can enclose the number. Its position on the screen can be the relative position of this rectangular area within the screen area, the relative coordinates of each vertex of the rectangular area with respect to a reference point on the screen, or other positional information. Of course, the screen reference point can be preset, such as selecting the lower right corner of the screen area, and the relative position of the feature area within the screen area can be obtained by calculating the relative coordinates of each vertex of the feature area with respect to this reference point. The text feature area refers to the corresponding unit of measurement for the measurement parameters displayed on the screen after the test is completed, such as milligrams or grams on an electronic balance. Because the text feature area is the area occupied by the unit of measurement, this area can also be the largest rectangular area that can enclose the text, and its position on the screen can be the relative position of this rectangular area within the screen area. On other experimental instruments, the units of measurement are often displayed in letters, such as kg and g. Therefore, it is necessary to obtain these letter feature areas on the instrument screen and calculate the position of the letter feature areas on the screen.

[0038] In this embodiment, the method also includes the step of identifying and adding the screen data of various types of instruments that may be used in the experiment into the instrument information database in the early stage. The step of adding the screen layout information of the instrument model may include the following.

[0039] Step S21: Obtain the input instrument model information, capture an instrument image of the screen area containing the displayed data, perform image recognition on the instrument image, and identify the screen location area to be analyzed in the instrument image. It is necessary to take a picture of the corresponding instrument screen after the testing is completed, as only then will the instrument screen display the test data. If the instrument screen is taken in a powered-off or standby state, the captured screen image will not show the display features of measurement parameters or units of measurement, making it impossible to identify and analyze the information within the screen in subsequent steps.

[0040] Step S22 involves identifying and classifying the numerical and non-numerical features in the image area marked as a screen location, recording the position of each type of content within the screen area, and binding the identified information to the corresponding instrument model before entering it into the instrument information database. The instrument information database stores one or more of the following information: instrument model, screen area shape associated with each instrument model, measurement data layout information, unit of measurement, or unit conversion relationship group. Non-numerical features are text or English letter features. Measurement data layout information includes one or more of the following: the position of the numerical feature area within the screen, the position of the text feature area within the screen, or the position of the letter feature area within the screen. Step S22 may also include the following:

[0041] Step S221: Divide the regions containing different display features in the image region identified as the screen location.

[0042] Step S222: Perform content recognition and classification on each display feature area to obtain the position information of the digital feature area and the position information of the text or letter feature area on the screen, and then bind them with the corresponding instrument model and enter them into the instrument information database.

[0043] When the instrument can measure multiple sets of parameters with different meanings, it will display multiple sets of measurement parameters and their units of measurement on its screen. Therefore, in the content recognition and classification of each display feature area, it is necessary to identify each measurement parameter and its corresponding unit of measurement and bind them together. The digital feature area representing the measurement parameter can be paired with the non-digital feature area representing the unit of measurement to form a measurement data group. Finally, multiple measurement data groups are formed by combining the identified measurement parameters and their corresponding units of measurement within the screen area. The non-digital feature areas and digital feature areas of each measurement data group are combined into a measurement data display block, and the shape and position of the measurement data display block on the screen are entered into the instrument information database. In other words, when multiple measurement parameters and their corresponding units of measurement are arranged horizontally on the instrument display screen, the areas containing the measurement parameters and their units of measurement are combined into a measurement data display block, and the shape and position of the measurement data display block on the screen are entered into the instrument information database for subsequent parameter recognition and comparison.

[0044] Step S222 may also include the following:

[0045] If multiple display feature areas have a greater spacing than other display feature areas, the closely spaced display feature areas are grouped together to form a measurement data display block. If the first display feature group contains both numeric and text / letter features, it is treated as a measurement data display block. The shape of the display block, its position on the screen, and the text / letter information it contains are bound to the instrument model and recorded as a set of measurement data layout information for that instrument model in the instrument information database. If the first display feature group contains only multiple numeric features, and some of the numeric features are arranged vertically, the first display feature group is divided into multiple vertically arranged numeric display blocks, and the existence of a second display feature group is checked.

[0046] If a second display feature group does not exist, the shape of each display block and its position on the screen are bound to the instrument model and entered into the instrument information database as multiple sets of measurement data layout information for that instrument model. If a second display feature group exists, it is determined whether the second display feature group only contains text / letter features. If so, the second display feature group is also vertically divided into multiple vertically arranged text / letter display blocks, and the number display blocks are merged with the corresponding text / letter display blocks from top to bottom to form a measurement data display block. The shape of each display block, its position on the screen, and the text / letter information it contains are bound to the instrument model and entered into the instrument information database as a set of measurement data layout information for that instrument model.

[0047] The above steps can effectively identify and classify various layouts of multiple measurement parameters and units of measurement in the screen display area, such as horizontal and vertical arrangement. The area where the corresponding parameters and units of measurement are located can be treated as a whole measurement data display block, and the information on the shape and position on the screen can be obtained and entered to facilitate subsequent data identification and analysis.

[0048] Step S223: Identify the displayed information within the text or letter area, and then bind the identified text or letter information as a unit of measurement with the corresponding instrument model and enter it into the instrument information database.

[0049] In another embodiment, step S22 may further include the following: segmenting the regions containing different display features in the image region identified as the screen location. Content recognition and classification are performed on each display feature region. If the screen image region contains only digital feature regions, it is divided into multiple measurement data display blocks based on the spacing and / or arrangement of the digital feature regions, and measurement unit input commands are issued sequentially. Specifically, the distance between the recognized numbers can be used to determine whether they represent the same measurement parameter. When the numbers are arranged vertically, the two sets of numbers are assigned to different measurement parameters. The corresponding measurement data display blocks are bound to the entered measurement units, and the shape of the display block, its position on the screen, the bound measurement unit, and the corresponding instrument model are entered into the instrument information database as a set of measurement data layout information for that instrument model.

[0050] In this embodiment, the unit conversion relationship group information of each instrument model can also be supplemented in the instrument information database according to the stored measurement units and other conversion units that may appear on the various display screens. This includes the conversion relationships between each convertible unit and the conversion relationships between units, which facilitates the identification and conversion of the measurement units on the screen in the future.

[0051] By performing image recognition on instrument images, the screen regions to be analyzed within the images are identified. The numbers, text, and / or letters within these identified screen regions are then categorized and their positions within the screen region are recorded. This identified information is then linked to the corresponding instrument model and entered into an instrument information database. This database contains various information, including the instrument model, the shape of the screen region associated with each instrument model, measurement data layout, units of measurement, and unit conversion relationships. This database supports subsequent steps in identifying and acquiring test data from the obtained screen images of various experimental instruments.

[0052] Step S3: Identify and analyze the display features in the screen photograph and obtain the second screen area shape, the second measurement data layout information including the layout positions of digital and non-digital feature areas on the screen, and compare the second screen area shape and the second measurement data layout information with the first screen area shape and the first measurement data layout information stored in the instrument information database. If they are not similar, trigger an instrument model entry error message. In this embodiment, as shown in the attached... Figure 2 As shown, step S3 specifically includes the following:

[0053] Step S31: Identify and analyze the display features in the screen photograph to obtain the shape of the second screen area in the screen photograph, and the second measurement data layout information including the layout positions of digital feature areas and non-digital feature areas on the screen.

[0054] Specifically, the process involves identifying closed regions within the instrument image composed of pixels with color difference values ​​less than a threshold. The shape of the edges of these closed regions is analyzed; if the shape conforms to preset graphic conditions, the closed region is identified as a screen area. In instrument images, the display screen is often a closed region; even if data is displayed in the middle, its transitional edges remain closed. Therefore, screen areas can be searched for by identifying closed regions. The process also analyzes whether patterns with different color differences exist within the identified screen area. If no such patterns are found, the identification of that area is abandoned, and supplementary image capture information is issued. Specifically, if the identified screen area does not contain patterns with different color differences, meaning the display screen does not display other features, it indicates that the experimental instrument containing the display screen is in standby mode, resulting in no displayed data, or that the identified area is not a true screen area, meaning the image was captured incorrectly. In these cases, supplementary image capture information is required to re-acquire a new instrument image containing a screen area with displayed data.

[0055] Step S32: Compare the shape of the second screen area and the layout information of the second measurement data with the shape of the first screen area and the layout information of the first measurement data of the instrument model stored in the instrument information database.

[0056] Step S33: If the overlap between the shape of the second screen area and the shape of the first screen area is lower than a preset value, or the similarity between the second measurement data layout information and the first measurement data layout information is lower than a preset value, then an instrument model entry error message is triggered. The similarity preset value can be set in advance, and the similarity can be the proportion of the overlapping area between the second and first screen area shapes in the first screen area. (See attached...) Figure 3 As shown, this step may specifically include the following:

[0057] Step S331: If the overlap between the shape of the second screen area and the shape of the first screen area is lower than a preset value, or the similarity between the second measurement data layout information and the first measurement data layout information is lower than a preset value, then query whether there is still a device photo in the record data, wherein the device photo contains at least part of the instrument screen and the external features of the instrument.

[0058] Step S332: If a device photo exists, display the photo after receiving the trigger command, and determine whether to trigger an instrument model entry error message based on the feedback identifier. If the overlap is lower than a preset value, the corresponding device photo can be displayed separately for verification personnel, who can then manually interpret it. The verification personnel will determine whether the experimental instrument model in the image was incorrectly acquired based on the device image from the same experimental equipment as the screen image, thus avoiding image verification errors caused by lighting or other image interference factors.

[0059] Step S4: If they are similar, identify the instrument measurement parameters in the screen photo based on the layout information of the first measurement data, compare the identified instrument measurement parameters with the recorded parameters in the record data, and if they are different, trigger the measurement parameter entry error message.

[0060] After verifying the instrument model information, the measurement parameter data in the data is then verified. Specifically, when the electronic experimental record contains a predetermined parameter unit, the identified unit of measurement is directly matched with the predetermined parameter unit, and the measurement parameters corresponding to the matched units are compared and verified, thus enabling faster data verification. See attached details. Figure 4 As shown, this step may include the following:

[0061] Step S41: If the instrument model information is verified to be correct, the screen area in the screen photo is identified according to the shape of the first screen area, and the area containing the digital features and non-digital features in the screen area is selected according to the first measurement data layout information and the measurement parameters and corresponding units of measurement are obtained.

[0062] Step S42: Obtain the preset unit of measurement for each measurement parameter in the record data, find and identify the measurement parameter that matches the preset unit of measurement in the data, and compare the identified measurement parameter with the record parameter to which the preset unit of measurement belongs. If they are different, trigger the measurement parameter entry error message.

[0063] Specifically, the identification unit of measurement in the non-digital feature area is compared with the predetermined parameter units of the experimental instrument data. If the same parameter units exist, the recorded parameter corresponding to the predetermined parameter unit in the experimental instrument data is obtained, and the recorded parameter is compared with the identification parameter in the digital feature area corresponding to the non-digital feature area where the identification unit of measurement is located. If they are different, a data error action is triggered.

[0064] If no identical predetermined parameter unit exists, it is determined whether there are any recorded parameters in the experimental instrument data that have not been matched and verified. If so, the unit conversion relationship group containing the identified unit of measurement is queried in the instrument information database.

[0065] The parameters of the records that have not been matched are converted into the corresponding candidate units of measurement based on the unit conversion relationship group. Each converted parameter is then compared with the identification parameters that have not been matched. If they are all different, a data error action is triggered.

[0066] In another embodiment, the discrepancy between some identified instrument measurement parameters and recorded measurement parameters does not necessarily indicate a recording error, because the measurement parameters displayed on the instrument screen and the recorded measurement parameters may only differ in their units of measurement. After unit conversion, they may still be the same. Therefore, it is necessary to further compare and convert the inconsistent measurement parameters to units. This step may specifically include the following:

[0067] Step S101: Compare and match each recorded data and the identification data in the experimental instrument data to obtain the first recorded parameter and the first identification parameter that cannot be matched.

[0068] Step S102: Query whether there is a non-digital feature area in the instrument screen image. If so, obtain the first non-digital feature area corresponding to the first digital feature area where the first identification parameter is located, and identify the first unit of measurement in the first non-digital feature area. If a non-digital feature area exists, matching is performed by obtaining the unit of measurement information within the non-digital feature area. This step S102 may also include the following:

[0069] If no non-numerical feature area is found in the instrument screen image, the predetermined parameter unit for the first recorded parameter is obtained from the experimental instrument data. Based on the predetermined parameter unit, the unit conversion relationship group containing the predetermined parameter unit is queried in the instrument information database.

[0070] Obtain the conversion formulas of the predetermined parameter unit and other convertible candidate units of measurement, convert the first recorded parameter in sequence, and compare the converted parameter with the first identification parameter. If they are different, proceed to the next candidate unit of measurement until they are the same or the conversion comparison of all candidate units of measurement is completed. If the comparisons are all different, trigger a data error action.

[0071] Step S103: Based on the first unit of measurement, query the instrument information database for a unit conversion relationship group containing the first unit of measurement. Check if the first unit of measurement exists in the unit conversion relationship group. If the first unit of measurement exists, obtain the predetermined parameter unit of the first recorded parameter from the experimental instrument data. Based on the unit conversion relationship group, convert the first identified parameter into a conversion parameter of the corresponding predetermined parameter unit and compare it with the first recorded parameter. If they are different, trigger a data error action.

[0072] Alternatively, in another embodiment, if a first unit of measurement exists, the predetermined parameter unit of the first recorded parameter can be obtained from the experimental instrument data. The first recorded parameter can be converted into a conversion parameter corresponding to the first unit of measurement according to the unit conversion relationship group, and compared with the first identification parameter. If they are different, a data error action is triggered.

[0073] By matching the units of measurement of the remaining unmatched first record parameters with the units of measurement of the identified units of measurement according to the above steps, false alarms caused by unit conversion errors in the verification of input parameters can be prevented.

[0074] The instrument data recording verification method disclosed in this embodiment retrieves each record in the instrument data recording table sequentially according to the received data verification instruction. Based on the instrument model, it retrieves the corresponding screen layout information from the instrument information database. Then, it identifies and analyzes the display features in the screen photograph and compares them with the screen area shape and measurement data layout information stored in the instrument information database. If they are not similar, an instrument model entry error message is triggered. If they are similar, the instrument measurement parameters in the screen photograph are identified based on the first measurement data layout information. The identified instrument measurement parameters are compared with the recorded parameters in the record data. If they are not the same, a measurement parameter entry error message is triggered. By using screen image content to automatically verify and verify the instrument model and various measurement parameters in the electronic experimental records, the method overcomes the inefficiency and error-prone nature of existing manual verification methods.

[0075] In another embodiment, an instrument data recording verification system is also disclosed, comprising: a record acquisition module, configured to sequentially acquire each record data in an instrument data recording table according to a received data verification instruction, wherein the record data includes a screen photograph, instrument model, recording parameters, and / or a preset unit of measurement; a screen layout information acquisition module, configured to retrieve corresponding screen layout information from an instrument information database according to the instrument model, wherein the screen layout information includes, but is not limited to, a first screen area shape and a first measurement data layout; and a model comparison module, configured to identify and analyze the display features in the screen photograph and acquire the second screen area shape, the area containing digital features, and the non-digital feature area in the screen photograph. The second measurement data layout information, which specifies the location of the digital feature area on the screen, compares the shape of the second screen area and the second measurement data layout information with the shape of the first screen area and the first measurement data layout information stored in the instrument information database. If they are not similar, an instrument model entry error message is triggered. The parameter comparison module is used to identify the instrument measurement parameters in the screen photo based on the first measurement data layout information when the shape of the second screen area and the second measurement data layout information are similar to the shape of the first screen area and the first measurement data layout information stored in the instrument information database. The identified instrument measurement parameters are compared with the recorded parameters in the record data. If they are not the same, a measurement parameter entry error message is triggered.

[0076] In this embodiment, the model comparison module includes: an analysis module, used to identify and analyze the display features in the screen photograph, and obtain the shape of the second screen area in the screen photograph, and the second measurement data layout information including the layout positions of digital feature areas and non-digital feature areas on the screen; a layout information comparison module, used to compare the shape of the second screen area and the second measurement data layout information with the shape of the first screen area and the first measurement data layout information of the instrument model stored in the instrument information database; and an overlap comparison module, used to trigger instrument model entry error information when the overlap between the shape of the second screen area and the shape of the first screen area is lower than a preset value, or when the similarity between the second measurement data layout information and the first measurement data layout information is lower than a preset value.

[0077] In this embodiment, the overlap comparison module further includes: a device photo query module, used to query whether there is still a device photo in the record data when the overlap between the shape of the second screen area and the shape of the first screen area is lower than a preset value, or the similarity between the second measurement data layout information and the first measurement data layout information is lower than a preset value; the device photo contains at least part of the instrument screen and external features of the instrument; and a photo display module, used to display the device photo after receiving a trigger command when a device photo exists, and to determine whether to trigger the instrument model input error information based on the feedback identifier.

[0078] In this embodiment, the parameter comparison module includes: a screen area recognition module, used to identify the screen area in the screen photo according to the shape of the first screen area when the instrument model information is verified to be correct, select the area where the digital features and non-digital features are located in the screen area according to the first measurement data layout information, and identify and obtain the measurement parameters and corresponding units of measurement; and a comparison module, used to obtain the preset units of measurement for each measurement parameter in the record data, find and identify the measurement parameters that match the preset units of measurement in the data, and compare the identified measurement parameters with the record parameters to which the preset units of measurement belong. If they are different, a measurement parameter input error message is triggered.

[0079] The specific functions of the instrument data recording verification system described above correspond one-to-one with the instrument data recording verification methods disclosed in the preceding embodiments. Therefore, they will not be described in detail here. For details, please refer to the embodiments of the previously disclosed instrument data recording verification methods. It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to mutually.

[0080] In other embodiments, an instrument data recording auditing apparatus is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the various steps of the instrument data recording auditing method as described in the above embodiments.

[0081] The instrument data recording verification device may include, but is not limited to, a processor and a memory. The server may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that the schematic diagram is merely an example of a server and does not constitute a limitation on the server device. It may include more or fewer components than illustrated, or combine certain components, or different components. For example, the server device may also include input / output devices, network access devices, buses, etc.

[0082] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the server device, connecting various parts of the server device via various interfaces and lines.

[0083] The memory can be used to store the computer programs and / or modules. The processor implements various functions of the server device by running or executing the computer programs and / or modules stored in the memory and by calling data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc. In addition, the memory may include high-speed random access memory and non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0084] If the instrument data recording verification method is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, 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 content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.

[0085] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

[0086] In summary, the above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should be covered by the present invention.

Claims

1. A method for verifying instrument data records, characterized in that, Includes the following steps: S1. Based on the received data verification instruction, sequentially obtain each record data in the instrument data recording table. The record data includes screen photos, instrument model, recording parameters, and preset measurement units. S2, retrieve the corresponding screen layout information from the instrument information database according to the instrument model. The screen layout information includes the shape of the first screen area and the layout information of the first measurement data. S3, identify and analyze the display features in the screen photo and obtain the second screen area shape in the screen photo, the second measurement data layout information including the layout positions of the digital feature area and the non-digital feature area on the screen, compare the second screen area shape and the second measurement data layout information with the first screen area shape and the first measurement data layout information stored in the instrument information database, and if they are not similar, trigger the instrument model entry error information. S4. If they are similar, the instrument measurement parameters in the screen photo are identified based on the layout information of the first measurement data. The identified instrument measurement parameters are compared with the recorded parameters in the record data. If they are different, the measurement parameter input error message is triggered.

2. The method for verifying instrument data records according to claim 1, characterized in that, Step S3 specifically includes: S31, identify and analyze the display features in the screen photograph, and obtain the shape of the second screen area in the screen photograph, as well as the second measurement data layout information including the layout positions of digital feature areas and non-digital feature areas on the screen. S32, compare the shape of the second screen area and the layout information of the second measurement data with the shape of the first screen area and the layout information of the first measurement data of the instrument model stored in the instrument information database; S33, If the overlap between the shape of the second screen area and the shape of the first screen area is lower than a preset value, or the similarity between the second measurement data layout information and the first measurement data layout information is lower than a preset value, then an instrument model entry error message is triggered.

3. The method for verifying instrument data records according to claim 2, characterized in that, Step S33 further includes: S331, if the overlap between the shape of the second screen area and the shape of the first screen area is lower than a preset value, or the similarity between the second measurement data layout information and the first measurement data layout information is lower than a preset value, then query whether there is still a device photo in the record data, wherein the device photo contains at least part of the instrument screen and the external features of the instrument. S332, if a device photo exists, the device photo is displayed after the trigger command is received, and the instrument model entry error information is determined based on the feedback identifier.

4. The method for verifying instrument data records according to claim 3, characterized in that, Step S4 includes: S41, if the instrument model information is verified to be correct, the screen area in the screen photo is identified according to the shape of the first screen area, and the area where the digital features and non-digital features are located in the screen area is selected according to the first measurement data layout information and the measurement parameters and corresponding units of measurement are obtained. S42, obtain the preset unit of measurement for each measurement parameter in the record data, find and identify the measurement parameter that matches it in the data according to the preset unit of measurement, and compare the identified measurement parameter with the record parameter to which the preset unit of measurement belongs. If they are different, trigger the measurement parameter entry error message.

5. A system for verifying instrument data records, characterized in that, include: The record acquisition module is used to sequentially acquire each record data in the instrument data record table according to the received data verification command. The record data includes screen photos, instrument model, record parameters, and preset measurement units. The screen layout information acquisition module is used to retrieve the corresponding screen layout information from the instrument information database according to the instrument model. The screen layout information includes the shape of the first screen area and the layout information of the first measurement data. The model comparison module is used to identify and analyze the display features in the screen photo and obtain the second screen area shape and the second measurement data layout information, which includes the layout positions of the digital feature area and the non-digital feature area on the screen. The second screen area shape and the second measurement data layout information are compared with the first screen area shape and the first measurement data layout information stored in the instrument information database. If they are not similar, the instrument model entry error information is triggered. The parameter comparison module is used to identify the instrument measurement parameters in the screen photo based on the first measurement data layout information when the shape of the second screen area and the layout information of the second measurement data are similar to those of the first screen area stored in the instrument information database. The module compares the identified instrument measurement parameters with the recorded parameters in the record data. If they are different, it triggers the measurement parameter entry error message.

6. The instrument data recording verification system according to claim 5, characterized in that, The model comparison module includes: The analysis module is used to identify and analyze the display features in the screen photo, and obtain the shape of the second screen area in the screen photo, as well as the second measurement data layout information including the layout positions of digital feature areas and non-digital feature areas on the screen. The layout information comparison module is used to compare the shape of the second screen area and the layout information of the second measurement data with the shape of the first screen area and the layout information of the first measurement data of the instrument model stored in the instrument information database. The overlap comparison module is used to trigger an instrument model input error message when the overlap between the shape of the second screen area and the shape of the first screen area is lower than a preset value, or when the similarity between the second measurement data layout information and the first measurement data layout information is lower than a preset value.

7. The instrument data recording verification system according to claim 6, characterized in that, The overlap comparison module further includes: The device photo query module is used to query whether there is still a device photo in the record data when the overlap between the shape of the second screen area and the shape of the first screen area is lower than a preset value, or the similarity between the second measurement data layout information and the first measurement data layout information is lower than a preset value. The device photo contains at least part of the instrument screen and external features of the instrument. The photo display module is used to display the device photo after receiving a trigger command when a device photo exists, and to determine whether to trigger the instrument model entry error information based on the feedback identifier.

8. The instrument data recording verification system according to claim 7, characterized in that, The parameter comparison module includes: The screen area recognition module is used to identify the screen area in the screen photo according to the shape of the first screen area when the instrument model information is verified to be correct, and to select the area where the digital features and non-digital features are located in the screen area according to the first measurement data layout information and to identify and obtain the measurement parameters and the corresponding measurement units. The comparison module is used to obtain the preset measurement unit of each measurement parameter in the record data, find and identify the measurement parameter that matches it in the data according to the preset measurement unit, and compare the identified measurement parameter with the record parameter to which the preset measurement unit belongs. If they are different, the measurement parameter entry error message is triggered.

9. An instrument data recording verification device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1-4.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Adaptation test method and apparatus, and electronic device

    CN112446850A

  • Interface element positioning method and device and storage medium

    CN112835667A