Instrument calibration method, device, equipment and medium
By calculating and comparing the difference between the actual flow data and the preset flow data in the instrument verification, the instrument coefficient is automatically corrected, which solves the problem of low instrument verification efficiency and realizes timely and accurate correction of the instrument coefficient.
Patent Information
- Application Number
- CN202211074754.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-02
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2042-09-02
AI Technical Summary
During the instrument verification process, when there are many instruments that need to be checked, the staff cannot modify the instrument coefficient of the instrument based on the judgment results of the calibration table in real time, resulting in low working efficiency.
By obtaining the initial data information of the instrument and the data information after the preset time, performing traffic calculations to determine whether the actual traffic data is the same as the preset traffic data. If it is not the same, the instrument will be corrected based on the flow difference calculated by the difference.
It improves the working efficiency of instrument verification and ensures timely correction and accuracy of instrument coefficients.
Smart Images

Figure CN115452101B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of instrument calibration, and in particular to an instrument calibration method, device, equipment and medium. Background Art
[0002] Instrument calibration refers to all the work performed to evaluate the performance of instruments and equipment and determine whether they are qualified. It is an important form of measurement value transfer and an important measure to ensure the accuracy and consistency of measurement values.
[0003] In the related art, the calibration of instruments is generally carried out using a calibration station, which records data pulses to make error judgments on the instruments, and sends the judgment results to the display platform after obtaining the judgment results. The staff modifies the instrument coefficient according to the judgment results displayed on the display platform. However, when there are many instruments to be calibrated, the staff cannot modify the instrument coefficient of the instrument according to the judgment results of the calibration station in real time, and the work efficiency is low.
[0004] Therefore, how to improve the working efficiency of instrument calibration is a technical problem that needs to be solved urgently by technical personnel in this field. Summary of the invention
[0005] In order to improve the working efficiency of instrument calibration, the present application provides an instrument calibration method, device, equipment and medium.
[0006] In a first aspect, the present application provides an instrument calibration method, which adopts the following technical solution:
[0007] An instrument verification method, comprising:
[0008] Get the initial data information of the instrument;
[0009] Acquire first data information of the meter, where the first data information is data information of the meter after a preset time has passed;
[0010] Calculate the flow rate according to the initial data information, the first data information and the preset time to obtain actual flow rate data;
[0011] Determining whether the actual flow data is the same as the preset flow data;
[0012] If they are not the same, a difference calculation is performed based on the actual flow data and the preset flow data to obtain a flow difference;
[0013] The meter is corrected according to the flow difference.
[0014] By adopting the above technical solution, the flow calculation is performed according to the acquired initial data information, the first data information and the preset time to obtain actual flow data, and the actual flow data is judged against the preset flow data. When the actual flow data is different from the preset flow data, the meter is corrected according to the flow difference value obtained by performing a difference calculation between the actual flow data and the preset flow data. By judging the relationship between the actual flow data and the preset flow data, when the actual flow data is different from the preset flow data, the meter is corrected according to the flow difference value obtained by performing a difference calculation between the actual flow data and the preset flow data, thereby improving the work efficiency of the meter calibration.
[0015] In a preferred example, the present application can be further configured as follows: the flow difference is calculated based on the actual flow data and the preset flow data to obtain the flow difference, including:
[0016] Obtaining unit information of the actual flow data and unit information of the preset flow data;
[0017] Convert the unit information of the actual flow data into units according to the unit information of the preset flow information to obtain converted flow data;
[0018] A flow difference is obtained by performing a difference calculation between the preset flow data and the converted flow data.
[0019] By adopting the above technical solution, the actual flow data is converted into units according to the unit information of the preset flow data to obtain the converted flow data, and the difference between the converted flow data and the preset flow data is calculated to obtain the flow difference. By converting the actual flow data into units according to the unit information of the preset flow data, the accuracy of the flow difference calculation is improved.
[0020] In a preferred example, the present application can be further configured as follows: the correction of the instrument according to the flow difference includes:
[0021] Perform coefficient calculation according to the preset flow data, the initial data information and the first data information to obtain an instrument coefficient;
[0022] The meter is corrected according to the meter factor.
[0023] By adopting the above technical solution, coefficient calculation is performed according to preset flow data, initial data information and first data information to obtain instrument coefficient, and the instrument is corrected according to the instrument coefficient, thereby improving the accuracy of instrument correction.
[0024] In a preferred example, the present application may be further configured as follows: after the instrument is corrected according to the instrument coefficient, the following further includes:
[0025] Obtaining serial number information of the instrument;
[0026] Determine whether there is an instrument with the same number information among all the instruments;
[0027] If it exists, the instrument with the same number information is corrected according to the instrument coefficient.
[0028] By adopting the above technical solution, it is determined whether there is an instrument with the same number information among all the instruments. If so, all the instruments with the same number information are corrected according to the instrument coefficient, thereby improving the work efficiency of instrument coefficient correction.
[0029] In a preferred example, the present application may be further configured as follows: after the meter is corrected according to the flow difference, the following further includes:
[0030] Get the image information of the instrument;
[0031] judging whether the instrument is damaged according to the image information;
[0032] If damaged, alarm information is generated based on the image information and an alarm is sounded.
[0033] By adopting the above technical solution, it is determined whether the instrument is damaged based on the acquired image information. If it is damaged, alarm information is generated based on the image information and an alarm is sounded, thereby improving the practicability of instrument image detection.
[0034] In a preferred example, the present application may be further configured as follows: the step of judging whether the instrument is damaged according to the image information includes:
[0035] Extracting features from the image information to obtain image features;
[0036] Calculate the similarity between the image feature and the preset image feature to obtain a similarity value;
[0037] If the similarity value is greater than a preset similarity threshold, it is determined that the instrument corresponding to the image information is damaged.
[0038] By adopting the above technical solution, the image features obtained by feature extraction of image information are calculated with the preset image features to obtain a similarity value. When the similarity value is greater than the preset similarity threshold, it is determined that the image information corresponding to the image features is an instrument damaged image. By calculating the similarity between the image features and the preset image features, the accuracy of instrument image detection is improved.
[0039] In a preferred example, the present application may be further configured as follows: after the instrument is corrected according to the instrument coefficient, the following further includes:
[0040] Get multiple meter factors;
[0041] Predicting the initial instrument coefficient according to the multiple instrument coefficients to obtain a prediction result;
[0042] An initial instrument coefficient is set for the instrument according to the prediction result.
[0043] By adopting the above technical solution, the initial instrument coefficient is predicted according to the obtained multiple instrument coefficients to obtain the prediction result, and the initial instrument coefficient of the instrument is set according to the prediction result, which reduces the error category of the initial instrument coefficient and improves the work efficiency of instrument calibration.
[0044] In a second aspect, the present application provides an instrument calibration device, which adopts the following technical solution:
[0045] An instrument calibration device, comprising:
[0046] The first acquisition module: used to obtain the initial data information of the instrument;
[0047] A second acquisition module: used to acquire first data information of the meter, wherein the first data information is data information of the meter after a preset time has passed;
[0048] A first calculation module: used to calculate the flow rate according to the initial data information, the first data information and the preset time to obtain actual flow rate data;
[0049] Judgment module: used to judge whether the actual flow data is the same as the preset flow data;
[0050] A second calculation module: used for performing difference calculation based on the actual flow data and the preset flow data to obtain a flow difference if they are not the same;
[0051] Correction module: used for correcting the instrument according to the flow difference.
[0052] By adopting the above technical solution, the flow calculation is performed according to the acquired initial data information, the first data information and the preset time to obtain actual flow data, and the actual flow data is judged against the preset flow data. When the actual flow data is different from the preset flow data, the meter is corrected according to the flow difference value obtained by performing a difference calculation between the actual flow data and the preset flow data. By judging the relationship between the actual flow data and the preset flow data, when the actual flow data is different from the preset flow data, the meter is corrected according to the flow difference value obtained by performing a difference calculation between the actual flow data and the preset flow data, thereby improving the work efficiency of the meter calibration.
[0053] In a third aspect, the present application provides an electronic device, which adopts the following technical solution:
[0054] at least one processor;
[0055] Memory;
[0056] At least one application, wherein the at least one application is stored in the memory and is configured to be executed by at least one processor, and the at least one application is configured to: execute the above-mentioned instrument verification method.
[0057] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0058] A computer-readable storage medium stores a computer program, which, when executed in a computer, causes the computer to execute the above-mentioned instrument calibration method.
[0059] In summary, the present application includes at least one of the following beneficial technical effects:
[0060] The flow rate is calculated based on the acquired initial data information, the first data information and the preset time to obtain actual flow data, and the actual flow data is judged against the preset flow data. When the actual flow data is different from the preset flow data, the meter is corrected based on the flow difference value obtained by performing a difference calculation between the actual flow data and the preset flow data. By judging the relationship between the actual flow data and the preset flow data, when the actual flow data is different from the preset flow data, the meter is corrected based on the flow difference value obtained by performing a difference calculation between the actual flow data and the preset flow data, thereby improving the work efficiency of the meter calibration. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 A schematic diagram of a flow chart of an instrument calibration method provided in an embodiment of the present application;
[0062] Figure 2 A schematic diagram of the structure of an instrument calibration device provided in an embodiment of the present application;
[0063] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] The following is combined with Figure 1 To Attachment Figure 3 This application is described in further detail.
[0065] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, those skilled in the art may make modifications to the present embodiment without any creative contribution as needed, but such modifications are protected by the patent law as long as they are within the scope of the claims of the present application.
[0066] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0067] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0068] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0069] In the related art, the calibration of instruments is generally carried out using a calibration station, which records data pulses to make error judgments on the instruments, and sends the judgment results to the display platform after obtaining the judgment results. The staff modifies the instrument coefficient according to the judgment results displayed on the display platform. However, when there are many instruments to be calibrated, the staff cannot modify the instrument coefficient of the instrument according to the judgment results of the calibration station in real time, and the work efficiency is low.
[0070] In order to solve the above technical problems, the embodiments of the present application provide an instrument calibration method, device, equipment and medium. According to the acquired initial data information and the first data information and the preset time, the flow rate is calculated to obtain the actual flow rate data, and the actual flow rate data is judged with the preset flow rate data. When the actual flow rate data is different from the preset flow rate data, the flow rate difference obtained by the difference calculation between the actual flow rate data and the preset flow rate data is used to correct the instrument. By judging the relationship between the actual flow rate data and the preset flow rate data, when the actual flow rate data is different from the preset flow rate data, the flow rate difference obtained by the difference calculation between the actual flow rate data and the preset flow rate data is used to correct the instrument, thereby improving the working efficiency of the instrument calibration.
[0071] The embodiment of the present application provides an instrument calibration method, which is executed by an electronic device, which can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiment of the present application.
[0072] Combination Figure 1 , Figure 1 The following is a flow chart of an instrument calibration method provided in an embodiment of the present application. Figure 1 As shown, the method includes step S101, step S102, step S103, step S104, step S105 and step S106, wherein:
[0073] Step S101, obtaining initial data information of the instrument.
[0074] Among them, the initial data information of the meter is the current cumulative flow size of the meter. After receiving the meter calibration instruction, the electronic device obtains the initial data information of the meter. The meter calibration instruction can be triggered by the user clicking the meter calibration start button or by voice triggering. The embodiment of the present application is not limited to this.
[0075] Step S102, obtaining first data information of the meter, where the first data information is data information of the meter after a preset time has passed.
[0076] Among them, after a preset time has passed, first data information of the meter is obtained, and the first data information is the accumulated flow size of the meter after the preset time has passed.
[0077] Step S103, performing flow calculation according to the initial data information, the first data information and the preset time to obtain actual flow data.
[0078] After obtaining the initial data information and the first data information of the meter, the actual flow data of the meter is calculated to calculate the accumulated flow recorded by the meter. The actual flow data is the flow data obtained by the meter after calculation.
[0079] Step S104, determining whether the actual flow data is the same as the preset flow data.
[0080] Among them, the electronic device pre-stores preset flow data, which is the flow size after a preset time. The accuracy of the meter can be determined by judging whether the actual flow data is the same as the preset flow data.
[0081] Step S105: If they are not the same, a difference calculation is performed based on the actual flow data and the preset flow data to obtain a flow difference.
[0082] When it is determined that the actual flow data is different from the preset flow, the difference between the actual flow data and the preset flow data is calculated to obtain the flow difference between the actual flow data and the preset flow data, wherein the flow difference can be used to correct the instrument accuracy.
[0083] Step S106, correcting the meter according to the flow difference.
[0084] Among them, after determining the flow difference, the accuracy of the instrument can be corrected according to the flow difference. The embodiment of the present application does not limit the method of correcting the accuracy of the instrument, and the user can customize the settings according to needs.
[0085] In an embodiment of the present application, flow calculation is performed based on the acquired initial data information, the first data information and the preset time to obtain actual flow data, and the actual flow data is judged against the preset flow data. When the actual flow data is different from the preset flow data, the meter is corrected based on the flow difference value obtained by performing a difference calculation between the actual flow data and the preset flow data. By judging the relationship between the actual flow data and the preset flow data, when the actual flow data is different from the preset flow data, the meter is corrected based on the flow difference value obtained by performing a difference calculation between the actual flow data and the preset flow data, thereby improving the work efficiency of the instrument calibration.
[0086] A possible implementation of the embodiment of the present application is to calculate the difference between the actual flow data and the preset flow data to obtain the flow difference, which includes:
[0087] Obtain unit information of actual flow data and unit information of preset flow data;
[0088] Convert the unit information of the actual flow data according to the unit information of the preset flow information to obtain the converted flow data;
[0089] The flow difference is calculated based on the preset flow data and the converted flow data to obtain the flow difference.
[0090] Flow rate refers to the amount of fluid flowing through the effective cross-section of a closed pipe or open channel per unit time. The unit is generally cubic meters per second. However, on the instrument, the flow rate is generally expressed by the rotation speed. Therefore, when performing difference calculation based on the actual flow data and the preset flow data, it is necessary to convert the unit of the actual flow data. The unit information of the actual flow data is converted according to the unit information of the preset flow data to obtain the converted flow data. The unit information of the converted flow data is the same as the unit information of the preset flow data. The difference calculation is performed based on the converted flow data and the preset flow data to obtain the flow difference.
[0091] In an embodiment of the present application, the unit of actual flow data is converted according to the unit information of preset flow data to obtain the converted flow data, and the difference between the converted flow data and the preset flow data is calculated to obtain the flow difference. By converting the unit of actual flow data according to the unit information of preset flow data, the accuracy of flow difference calculation is improved.
[0092] A possible implementation of the embodiment of the present application, correcting the instrument according to the flow difference includes:
[0093] Calculate the coefficient according to the preset flow data, the initial data information and the first data information to obtain the instrument coefficient;
[0094] Correct the instrument according to the instrument factor.
[0095] In order to obtain the final metering indication of the measuring instrument, a coefficient must be multiplied to the directly displayed indication, and this coefficient is the instrument coefficient. The electronic device pre-stores preset flow data. After determining that the actual flow data is different from the preset flow data, the actual flow data is calculated based on the initial data information and the first data information, and the instrument coefficient is calculated based on the actual flow data and the preset flow data. The instrument is corrected according to the instrument coefficient.
[0096] In the embodiment of the present application, coefficient calculation is performed based on preset flow data, initial data information and first data information to obtain instrument coefficient, and the instrument is corrected based on the instrument coefficient, thereby improving the accuracy of instrument correction.
[0097] A possible implementation of the embodiment of the present application, after correcting the instrument according to the instrument coefficient, further includes:
[0098] Get the instrument number information;
[0099] Determine whether there is an instrument with the same serial number information among all instruments;
[0100] If it exists, the instrument with the same number information will be corrected according to the instrument coefficient.
[0101] Among them, the numbering information is the corresponding assembly line information when the instrument is produced, that is, the same batch of instruments produced by the same assembly line have the same numbering information. Therefore, after determining the instrument coefficient, correcting the instrument coefficient of the same batch of instruments according to the obtained numbering information can improve the efficiency of instrument correction.
[0102] In the embodiment of the present application, it is determined whether there is an instrument with the same number information among all the instruments. If so, all the instruments with the same number information are corrected according to the instrument coefficient, thereby improving the work efficiency of instrument coefficient correction.
[0103] A possible implementation of the embodiment of the present application, after correcting the meter according to the flow difference, further includes:
[0104] Get the image information of the instrument;
[0105] Determine whether the instrument is damaged based on the image information;
[0106] If it is damaged, an alarm message is generated based on the image information and an alarm is sounded.
[0107] When calibrating the instrument, a camera device can be placed in front of the instrument panel, and the camera device can capture the image information of the instrument. After obtaining the instrument image information, it is determined whether the instrument is damaged based on the instrument image information. The embodiment of the present application does not limit the method for determining whether the instrument is damaged. The judgment can be made using a trained neural network model, or by using computer vision technology to judge the image information.
[0108] When it is determined that the instrument is damaged, an alarm message is generated and an alarm is sounded based on the image information and the preset alarm template. The embodiment of the present application does not limit the preset alarm template, which can be "The current instrument is damaged, please deal with it in time!!!" Of course, it can also be other templates, which are not limited by the embodiment of the present application.
[0109] In the embodiment of the present application, it is determined whether the instrument is damaged based on the acquired image information. If damaged, alarm information is generated and an alarm is sounded based on the image information, thereby improving the practicality of instrument image detection.
[0110] A possible implementation of the embodiment of the present application, judging whether the instrument is damaged according to the image information, includes:
[0111] Extract features from image information to obtain image features;
[0112] Calculate similarity between the image features and the preset image features to obtain a similarity value;
[0113] If the similarity value is greater than a preset similarity threshold, it is determined that the instrument corresponding to the image information is damaged.
[0114] Preset image features are pre-stored in the electronic device. After the image information is feature extracted to obtain the image features, the image features are similarly calculated with the preset image features to obtain a similarity value. The embodiment of the present application does not limit the similarity calculation method, which can be any one of the cosine similarity algorithm, hash algorithm, histogram, and SSIM (Structural Similarity, structural similarity measurement).
[0115] If the similarity value is greater than the preset similarity threshold, the image information corresponding to the image feature is determined to be an image of a damaged instrument. If the similarity value is not greater than the preset similarity threshold, the image information corresponding to the image feature is determined not to be an image of a damaged instrument. The embodiment of the present application does not limit the preset similarity threshold, and the user can set it according to experience.
[0116] In an embodiment of the present application, a similarity is calculated between image features obtained by extracting features from image information and preset image features to obtain a similarity value. When the similarity value is greater than a preset similarity threshold, it is determined that the image information corresponding to the image features is an image of a damaged instrument. By calculating the similarity between the image features and the preset image features, the accuracy of instrument image detection is improved.
[0117] A possible implementation of the embodiment of the present application, after correcting the instrument according to the instrument coefficient, further includes:
[0118] Get multiple meter factors;
[0119] Predict the initial instrument coefficient according to multiple instrument coefficients to obtain a prediction result;
[0120] Set the initial instrument factor for the instrument based on the prediction results.
[0121] Among them, in the embodiment of the present application, the method for predicting the initial instrument coefficient based on multiple instrument coefficients is not limited. It can be to calculate the average of the instrument coefficients based on multiple instrument coefficients, wherein the average of the instrument coefficients is the prediction result; or it can be to generate an instrument coefficient bar chart based on multiple instrument coefficients, and use a big data analysis method to predict the initial instrument coefficient to obtain a prediction result.
[0122] In an embodiment of the present application, the initial instrument coefficient is predicted based on multiple acquired instrument coefficients to obtain a prediction result, and the initial instrument coefficient of the instrument is set based on the prediction result, thereby reducing the error category of the initial instrument coefficient and improving the work efficiency of instrument calibration.
[0123] The above embodiment introduces an instrument calibration method from the perspective of method flow, and the following embodiment introduces an instrument calibration device from the perspective of a virtual module or a virtual unit. Please refer to the following embodiment for details.
[0124] The present application embodiment provides an instrument calibration device 200, such as Figure 2 As shown, the instrument calibration device 200 may specifically include:
[0125] The first acquisition module 201 is used to acquire initial data information of the instrument;
[0126] The second acquisition module 202 is used to acquire first data information of the meter, where the first data information is data information of the meter after a preset time has passed;
[0127] The first calculation module 203 is used to calculate the flow rate according to the initial data information, the first data information and the preset time to obtain the actual flow rate data;
[0128] Determination module 204: used to determine whether the actual flow data is the same as the preset flow data;
[0129] The second calculation module 205 is used for performing difference calculation based on the actual flow data and the preset flow data to obtain the flow difference if they are not the same;
[0130] Correction module 206: used to correct the instrument according to the flow difference.
[0131] For the embodiment of the present application, flow calculation is performed based on the acquired initial data information, the first data information and the preset time to obtain actual flow data, and the actual flow data is judged against the preset flow data. When the actual flow data is different from the preset flow data, the meter is corrected based on the flow difference value obtained by performing a difference calculation between the actual flow data and the preset flow data. By judging the relationship between the actual flow data and the preset flow data, when the actual flow data is different from the preset flow data, the meter is corrected based on the flow difference value obtained by performing a difference calculation between the actual flow data and the preset flow data, thereby improving the work efficiency of the instrument calibration.
[0132] In a possible implementation of the embodiment of the present application, when the second calculation module 205 performs a difference calculation based on the actual flow data and the preset flow data to obtain the flow difference, it is specifically used to:
[0133] Obtain unit information of actual flow data and unit information of preset flow data;
[0134] Convert the unit information of the actual flow data according to the unit information of the preset flow information to obtain the converted flow data;
[0135] The flow difference is calculated based on the preset flow data and the converted flow data to obtain the flow difference.
[0136] In a possible implementation of the embodiment of the present application, when the correction module 206 corrects the meter according to the flow difference, it is specifically used to:
[0137] Calculate the coefficient according to the preset flow data, the initial data information and the first data information to obtain the instrument coefficient;
[0138] Correct the instrument according to the instrument factor.
[0139] A possible implementation of the embodiment of the present application also includes:
[0140] Number information judgment module: used to obtain the number information of the instrument;
[0141] Determine whether there is an instrument with the same serial number information among all instruments;
[0142] If it exists, the instrument with the same number information will be corrected according to the instrument coefficient.
[0143] A possible implementation of the embodiment of the present application also includes:
[0144] Alarm module: used to obtain image information of the instrument;
[0145] Determine whether the instrument is damaged based on the image information;
[0146] If it is damaged, an alarm message is generated based on the image information and an alarm is sounded.
[0147] In a possible implementation of the embodiment of the present application, when the alarm module determines whether the instrument is damaged according to the image information, it is specifically used to:
[0148] Extract features from image information to obtain image features;
[0149] Calculate similarity between the image features and the preset image features to obtain a similarity value;
[0150] If the similarity value is greater than a preset similarity threshold, it is determined that the instrument corresponding to the image information is damaged.
[0151] A possible implementation of the embodiment of the present application also includes:
[0152] Prediction module: used to obtain multiple instrument coefficients;
[0153] Predict the initial instrument coefficient according to multiple instrument coefficients to obtain a prediction result;
[0154] Set the initial instrument factor for the instrument based on the prediction results.
[0155] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device 200 described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0156] An electronic device is provided in an embodiment of the present application, such as Figure 3 As shown, Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 3 The electronic device 300 shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device 300 does not constitute a limitation on the embodiments of the present application.
[0157] The processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0158] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but it does not mean that there is only one bus or only one type of bus.
[0159] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0160] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.
[0161] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 3 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0162] The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment. Compared with the related art, the embodiment of the present application performs flow calculation according to the acquired initial data information, the first data information and the preset time to obtain actual flow data, and judges the actual flow data with the preset flow data. When the actual flow data is different from the preset flow data, the flow difference obtained by performing the difference calculation between the actual flow data and the preset flow data is used to correct the meter. By judging the relationship between the actual flow data and the preset flow data, when the actual flow data is different from the preset flow data, the flow difference obtained by performing the difference calculation between the actual flow data and the preset flow data is used to correct the meter, thereby improving the work efficiency of the meter calibration.
[0163] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0164] The above are only some implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. An instrument calibration method, characterized in that: include: Get the initial data information of the instrument; Acquire first data information of the meter, where the first data information is data information of the meter after a preset time has passed; Calculate the flow rate according to the initial data information, the first data information and the preset time to obtain actual flow rate data; Determining whether the actual flow data is the same as the preset flow data; If they are not the same, obtaining the unit information of the actual flow data and the unit information of the preset flow data; Performing unit conversion on the unit information of the actual flow data according to the unit information of the preset flow data to obtain converted flow data; Performing a difference calculation based on the preset flow data and the converted flow data to obtain a flow difference; Perform coefficient calculation according to the preset flow data, the initial data information and the first data information to obtain an instrument coefficient; Correcting the instrument according to the instrument factor; Obtaining serial number information of the instrument; Determine whether there is an instrument with the same number information among all the instruments; If it exists, the instrument with the same number information as the instrument is corrected according to the instrument coefficient; After the instrument with the same serial number information is corrected according to the instrument coefficient, the method further includes: Get multiple meter factors; Predicting the initial instrument coefficient according to the multiple instrument coefficients to obtain a prediction result; Performing initial instrument coefficient setting on the instrument according to the prediction result; After the instrument is corrected according to the instrument coefficient, the method further includes: Get the image information of the instrument; judging whether the instrument is damaged according to the image information; If damaged, alarm information is generated based on the image information and an alarm is sounded.
2. The instrument calibration method according to claim 1, characterized in that: The determining whether the instrument is damaged according to the image information includes: Extracting features from the image information to obtain image features; Calculate similarity between the image feature and the preset image feature to obtain a similarity value; If the similarity value is greater than a preset similarity threshold, it is determined that the instrument corresponding to the image information is damaged.
3. An instrument calibration device, executing the instrument calibration method according to claim 1, characterized in that: include: The first acquisition module: used to obtain the initial data information of the instrument; A second acquisition module: used to acquire first data information of the meter, wherein the first data information is data information of the meter after a preset time has passed; A first calculation module: used to calculate the flow rate according to the initial data information, the first data information and the preset time to obtain actual flow rate data; Judgment module: used to judge whether the actual flow data is the same as the preset flow data; A second calculation module: used for obtaining the unit information of the actual flow data and the unit information of the preset flow data if they are different; Performing unit conversion on the unit information of the actual flow data according to the unit information of the preset flow data to obtain converted flow data; Performing a difference calculation based on the preset flow data and the converted flow data to obtain a flow difference; Correction module: used for performing coefficient calculation according to the preset flow data, the initial data information and the first data information to obtain an instrument coefficient; Correcting the instrument according to the instrument factor; Number information judgment module: used to obtain the number information of the instrument; Determine whether there is an instrument with the same number information among all the instruments; If it exists, the instrument with the same number information as the instrument is corrected according to the instrument coefficient; Prediction module: obtain multiple instrument coefficients; predict the initial instrument coefficient according to the multiple instrument coefficients to obtain a prediction result; set the initial instrument coefficient of the instrument according to the prediction result.
4. An electronic device, characterized in that: include: at least one processor; Memory; At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the method according to any one of claims 1 to 2.
5. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed in a computer, the computer is caused to execute the method according to any one of claims 1 to 2.
Citation Information
Patent Citations
Method and device for correcting ultrasonic instrument
CN113654628A
Instrument state detection method, electronic equipment and storage medium
CN114022873A
Temperature and pressure integrated electromagnetic flowmeter
CN115435851A