Water meter information query method, system and device

By setting up encoding on the water meter and using image recognition technology and display devices, the problem of errors in data correspondence in water meter maintenance is solved, and fast and accurate water meter data query and reading display are achieved.

CN120252881APending Publication Date: 2025-07-04NINGBO DONGHAI GAS MEASUREMENT TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510383044.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, it is difficult for staff to quickly and accurately correspond to the wireless transceiver module data and the actual water meter during water meter maintenance, resulting in errors in the data correspondence relationship and affecting the maintenance efficiency.

Method used

Set up encoding on the water meter, obtain the water meter image through image recognition technology, determine the water meter number and model, and use the display device to display the readings, combine the period and historical changes of the wireless transceiver module to judge the reading accuracy, and clean up the encoding pollution to improve the identification accuracy.

Benefits of technology

It improves the convenience and accuracy of water meter maintenance, reduces errors caused by reading lag and encoding pollution, and ensures the fast and accurate data query.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120252881A_ABST
    Figure CN120252881A_ABST
Patent Text Reader

Abstract

The invention relates to a water meter information query method, system and device, and relates to the field of intelligent water meters. Determining a water meter code according to the water meter image; determining a water meter number based on the water meter code; determining a water meter model according to the water meter number; determining an actual model according to the water meter image; when the water meter model is consistent with the actual model, water meter reading is determined according to the water meter number; and controlling a preset display device to display according to the water meter reading. The water meter has the effect of improving the use convenience of the water meter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent water meters, and in particular to a method, system and device for querying water meter information. Background Art

[0002] An intelligent water meter is a new type of water meter that uses modern microelectronics technology, modern sensing technology, and IC card technology to measure water consumption and transfer and settle water usage data.

[0003] In the prior art, the positions of water meters are set differently under different environmental conditions. Generally, the readings of water meters are remotely collected through wireless transceiver modules built into the water meters. When it is necessary to repair a water meter, the staff needs to find the water meter and visually judge the orientation of the pointers on the water meter dial to read the readings on the dial, and compare the data obtained through the wireless transceiver module to judge the working condition of the water meter.

[0004] When there are a large number of water meters to be repaired, the staff needs to first correspond the data obtained through the wireless transceiver module with the actual water meters one by one, which easily leads to errors in the correspondence between the data and the water meters, and further leads to misjudgment of the working conditions of the water meters by the staff. Summary of the Invention

[0005] In order to improve the convenience of using water meters, the present invention provides a method, system and device for querying water meter information.

[0006] In a first aspect, the present invention provides a method for querying water meter information, adopting the following technical solution:

[0007] A method for querying water meter information includes:

[0008] Obtaining a water meter image;

[0009] Determining a water meter code according to the water meter image;

[0010] Determining a water meter number based on the water meter code;

[0011] Determining a water meter model according to the water meter number;

[0012] Determining an actual model according to the water meter image;

[0013] When the water meter model is consistent with the actual model, determining the water meter reading according to the water meter number;

[0014] Controlling a preset display device to display according to the water meter reading.

[0015] By adopting the above technical solution, a code is set on the water meter in advance, and the staff can read the corresponding reading of the water meter by scanning the code, so as to help the staff quickly find the corresponding data of the water meter, and further improve the convenience of the maintenance work of the water meter and the convenience of using the water meter.

[0016] Optionally, it further includes:

[0017] Determine the water meter dial according to the water meter image;

[0018] Determine the dial reading based on the water meter dial;

[0019] Determine the reading error rate according to the dial reading and the water meter reading;

[0020] Determine the update period according to the water meter number;

[0021] Determine the reading change rate according to the water meter reading and the update period;

[0022] Determine the error interval according to the reading change rate and the update period;

[0023] When the reading error rate falls within the error interval, update the water meter reading according to the dial reading.

[0024] By adopting the above technical solution, the wireless transceiver module on the water meter generally performs data transmission and reception at a fixed period, which results in a certain lag between the received reading and the actual reading. Judge whether the received data is incorrect according to the transmission and reception period of the wireless transceiver module and the historical change of the water meter reading, so as to judge the working state of the water meter.

[0025] Optionally, it further includes a reading determination method, and the reading determination method includes:

[0026] When the reading error rate falls within the error interval, retrieve the query record according to the water meter number;

[0027] Determine the query location based on the query record and obtain the water meter location;

[0028] When the query location is inconsistent with the water meter location, judge whether the code is contaminated based on the water meter code;

[0029] When the code is contaminated, retrieve the water meter record according to the water meter location;

[0030] Determine the water meter number according to the water meter record.

[0031] By adopting the above technical solution, the installation environment of the water meter is generally dark and humid, which may cause the codes on the water meter to be contaminated, resulting in incorrect scanning results of the codes. By comparing the positions of the water meters, it is possible to determine whether the scanning results of the codes are incorrect, and then query the data according to the positions of the water meters when the scanning results of the codes are incorrect, thus improving the convenience of using the water meter.

[0032] Optionally, the reading determination method further includes:

[0033] When the code is contaminated, determine the range number according to the position of the water meter and a preset fuzzy threshold;

[0034] Determine the number of ranges according to the range number;

[0035] When the number of ranges is greater than 1, determine the water pressure reading according to the dial reading;

[0036] Determine the floor of the water meter according to the water pressure reading;

[0037] Determine the water meter number according to the floor of the water meter and the position of the water meter.

[0038] By adopting the above technical solution, when the water meter is located in a high-rise building, there are likely to be multiple water meters at the same position point, which may lead to the situation that the water meter data queried according to the position of the water meter does not correspond to the water meter. By judging the floor corresponding to the water pressure reading according to the characteristic that the water pressure changes with the floor, the accuracy of querying the water meter data is improved.

[0039] Optionally, the reading determination method further includes:

[0040] When the number of ranges is greater than 1, retrieve the geographical information according to the position of the water meter;

[0041] Retrieve the floor height according to the geographical information;

[0042] When the floor height is higher than the preset pressure boosting threshold, determine the number of pressure boosting floors according to the floor height;

[0043] Determine the approximate floor according to the water pressure reading and the number of pressure boosting floors;

[0044] Determine the air pressure threshold according to the approximate floor and obtain the water meter air pressure;

[0045] Determine the floor of the water meter according to the water meter air pressure and the air pressure threshold.

[0046] By adopting the above technical solution, when the floor of the building is too high, the water is generally supplied to the high floors by means of secondary pressure boosting, resulting in the situation that the water pressure on different floors is the same. At this time, the air pressure value at the location of the water meter is detected, and the floor where the water meter is located is judged according to the characteristic that the air pressure changes with the height, thereby improving the accuracy of querying the water meter data.

[0047] Optionally, the reading determination method further includes:

[0048] Determining the number of floors according to the floor of the water meter;

[0049] When the number of floors is higher than 1, determining the floor number according to the floor of the water meter;

[0050] Determining the floor reading according to the floor number;

[0051] Determining the rising amplitude of the reading according to the floor reading;

[0052] Determining the dial amplitude according to the dial reading and the update period;

[0053] When the dial amplitude is consistent with the rising amplitude, determining the water meter number according to the rising amplitude.

[0054] By adopting the above technical solution, when there are multiple water meters on the same floor of a building, it is easy to cause the situation that the data obtained by querying the water meter data according to the floor does not correspond to the water meter. At this time, the corresponding water meter data is found through the change of the reading on the water meter dial and the change in the water meter data, thereby improving the accuracy of querying the water meter data.

[0055] Optionally, it further includes a pollution cleaning method, and the pollution cleaning method includes:

[0056] When the code is polluted, determining the polluted area and the code color based on the water meter code;

[0057] Determining the pollution color according to the polluted area;

[0058] Determining the code color difference according to the pollution color and the code color;

[0059] When the code color difference is higher than the preset recognition threshold, determining the complete code according to the water meter number;

[0060] Determining the code area based on the polluted area and the complete code;

[0061] Determining the scraping path according to the code area;

[0062] Controlling a preset scraping device to scrape off the pollution according to the smearing path.

[0063] By adopting the above technical solution, when there is pollution on the code, it is easy to cause part of the image of the code for scanning to be covered. Comparing the color contrast relationship between the pollution and the code, so as to scrape off the stains covering the code when the color contrast between the pollution and the code is high, thereby improving the accuracy of code recognition.

[0064] Optionally, the pollution cleaning method further includes:

[0065] When the encoded color difference is lower than a preset recognition threshold, determine the background color based on the water meter code;

[0066] Determine the background color difference according to the background color and the pollution color;

[0067] When the background color difference is higher than the preset recognition threshold, determine the background area based on the pollution area and the complete code;

[0068] Determine the scraping path according to the background area.

[0069] By adopting the above technical solution, when the color contrast between the pollution and the code is low, compare the contrast relationship between the colors of the pollution and the code background, so as to scrape off the stains covering the background when the color contrast between the pollution and the code background is high, thereby improving the accuracy of code recognition.

[0070] In a second aspect, the present application provides a water meter information query system, adopting the following technical solution:

[0071] A water meter information query system, comprising:

[0072] An acquisition module for acquiring a water meter image, a water meter position, and a water meter air pressure;

[0073] A memory for storing any of the above water meter information query methods;

[0074] A processor, and the program in the memory can be loaded and executed by the processor.

[0075] In a third aspect, the present application provides a water meter information query device, adopting the following technical solution:

[0076] A water meter information query device, comprising a memory and a processor, and the memory stores a program that can be loaded and executed by the processor to perform any of the above water meter information query methods.

[0077] By adopting the above technical solution, a code is set on the water meter in advance, and the staff can read the corresponding reading of the water meter by scanning the code, thereby helping the staff quickly find the corresponding data of the water meter, and further improving the convenience of the maintenance work of the water meter and the convenience of using the water meter.

[0078] In summary, the present application includes at least one of the following beneficial technical effects:

[0079] 1. A code is set on the water meter in advance, and the staff can read the corresponding reading of the water meter by scanning the code, thereby helping the staff quickly find the corresponding data of the water meter, and further improving the convenience of the maintenance work of the water meter and the convenience of using the water meter;

[0080] 2. The wireless transceiver module on the water meter generally performs data transceiver in a fixed cycle, resulting in a certain lag between the received reading and the actual reading. Determine whether the received data is incorrect according to the transceiver cycle of the wireless transceiver module and the historical change of the water meter reading, so as to judge the working state of the water meter;

[0081] 3. The installation environment of the water meter is generally dark and humid, which causes the coding on the water meter to be easily contaminated, resulting in incorrect scanning results of the coding. Judge whether the scanning result of the coding is incorrect by comparing the position of the water meter, so as to query data according to the position of the water meter when the scanning result of the coding is incorrect, improving the convenience of using the water meter. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] Figure 1 is the flow of a water meter information query method Figure 1 ;

[0083] Figure 2 is the flow of a water meter information query method Figure 2 ;

[0084] Figure 3 is the flow of a reading determination method Figure 1 ;

[0085] Figure 4 is the flow of a reading determination method Figure 2 ;

[0086] Figure 5 is the flow of a reading determination method Figure 3 ;

[0087] Figure 6 is the flow of a reading determination method Figure 4 ;

[0088] Figure 7 is the flow of a pollution cleaning method Figure 1 ;

[0089] Figure 8 is the flow of a pollution cleaning method Figure 2 . DETAILED DESCRIPTION OF THE INVENTION

[0090] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0091] Referring to Figure 1 , a water meter information query method includes:

[0092] Step 100: Obtain a water meter image.

[0093] The water meter image refers to the picture of the smart water meter. The water meter image can be obtained through the camera on the water meter information query device. The water meter information query device refers to the equipment that assists the staff in water meter maintenance. The method for obtaining the water meter image is selected by the staff according to the actual situation and will not be elaborated here.

[0094] Step 101: Determine the water meter code according to the water meter image.

[0095] The water meter code refers to the QR code image on the water meter. In advance, relevant information such as the water meter number is converted into a QR code and posted on the surface of the water meter to facilitate the staff's maintenance. The water meter code can be obtained by frame selection from the water meter image through image recognition technology. The method for determining the water meter code is common knowledge for those skilled in the art and will not be elaborated here.

[0096] Step 102: Determine the water meter number based on the water meter code.

[0097] The water meter number refers to the number used to distinguish water meters. The water meter number can be identified from the water meter code. The method for identifying the water meter number is common knowledge for those skilled in the art and will not be elaborated here.

[0098] Step 103: Determine the water meter model according to the water meter number.

[0099] The water meter model refers to the model of the water meter corresponding to the water meter number. The water meter model can be obtained by querying from the model data table. The model data table refers to the data table that records the water meter models corresponding to different water meter numbers.

[0100] Step 104: Determine the actual model according to the water meter image.

[0101] The actual model refers to the model of the water meter in the water meter image. The actual model can be identified from the water meter image through image recognition technology. The method for identifying the actual model is common knowledge for those skilled in the art and will not be elaborated here.

[0102] Step 105: When the water meter model is consistent with the actual model, determine the water meter reading according to the water meter number.

[0103] The water meter model and the actual model represent that the model of the water meter in the water meter image is consistent with the model in the prior record, that is, the water meter in the figure is the water meter corresponding to the recorded water meter number. The water meter reading refers to the data such as the water pressure, flow velocity, and flow rate of the water meter, which are detected by the water meter and sent to the management terminal regularly through the wireless transceiver module. The management terminal refers to the equipment used to monitor and manage the water meter. The water meter reading can be obtained by querying from the reading data table. The reading data table refers to the data table that records different water meter numbers and their corresponding water meter readings.

[0104] Step 106: Control the preset display device to display according to the water meter reading.

[0105] The display device refers to the device set on the water meter information query device for displaying the water meter reading to the staff. The display device is selected by the staff according to the actual situation and will not be elaborated here.

[0106] A code is set on the water meter in advance, and the staff reads the corresponding reading of the water meter by scanning the code, so as to help the staff quickly find the corresponding data of the water meter, thereby improving the convenience of the maintenance work of the water meter and the convenience of using the water meter.

[0107] Refer to Figure 2 , a water meter information query method, further comprising:

[0108] Step 107: Determine the water meter dial according to the water meter image.

[0109] The water meter dial refers to the dial image on the water meter. The staff can directly read data such as the current water pressure, flow rate, and flow volume from the dial. The water meter dial can be obtained by frame selection from the water meter image through image recognition technology. The method for determining the water meter dial is common knowledge in the art and will not be elaborated here.

[0110] Step 108: Determine the dial reading based on the water meter dial.

[0111] The dial reading is the data such as water pressure, flow rate, and flow volume read from the water meter dial. The dial reading can be recognized from the water meter dial through image recognition technology. The recognition method of the dial reading is common knowledge in the art and will not be elaborated here.

[0112] Step 109: Determine the reading error rate according to the dial reading and the water meter reading.

[0113] The reading error rate refers to the error degree of the water meter reading relative to the dial reading, and can be determined by calculating the quotient of the water meter reading and the dial reading.

[0114] Step 110: Determine the update period according to the water meter number.

[0115] The update period refers to the interval duration for the water meter to send data through the wireless transceiver module. The update period can be obtained by querying from the period data table, and the period data table refers to the data table recording different water meter numbers and their corresponding update periods.

[0116] Step 111: Determine the reading change rate according to the water meter reading and the update period.

[0117] The reading change rate refers to the change degree of the water meter data within the update period. The latest two data can be read from the water meter reading, then the difference between the data is calculated, and finally the quotient of the difference and the update period is calculated to determine the reading change rate.

[0118] Step 112: Determine the error range according to the reading change rate and the update period.

[0119] The error range refers to the reading error rate range used to judge whether the water meter reading is accurate. The error range can be queried from the error data table, which is a data table recording different reading change rates, update periods and their corresponding error ranges.

[0120] Step 113: When the reading error rate falls within the error range, update the water meter reading according to the dial reading.

[0121] The reading error rate falling within the error range indicates that the gap between the water meter reading and the dial reading is small, that is, the error between the water meter reading and the dial reading may be caused by untimely data update. At this time, update the water meter reading to the dial reading to improve the accuracy of the water meter reading.

[0122] The wireless transceiver module on the water meter generally performs data transceiver at a fixed update period, resulting in a certain lag between the received reading and the actual reading. Judge whether the received data is incorrect according to the transceiver period of the wireless transceiver module and the historical change of the water meter reading, so as to judge the working state of the water meter.

[0123] Refer to Figure 3 , the reading determination method includes:

[0124] Step 200: When the reading error rate falls within the error range, retrieve the query record according to the water meter number.

[0125] The query record refers to the record of querying the water meter data containing information such as the query location and the water meter number being queried. The query record can be directly retrieved from the management terminal. The area method of the query record is common knowledge for those skilled in the art and will not be elaborated here.

[0126] Step 201: Determine the query location based on the query record and obtain the water meter location.

[0127] The query location is the information of the query location contained in the above query record. The determination method of the query location is common knowledge for those skilled in the art and will not be elaborated here.

[0128] The water meter location refers to the location where the currently repaired water meter is located. The water meter location can be determined by the position sensor on the water meter information query device. The method for obtaining the water meter location is selected by the staff according to the actual situation and will not be elaborated here.

[0129] Step 202: When the query location is inconsistent with the water meter location, judge whether the code is contaminated based on the water meter code.

[0130] When the query position is inconsistent with the water meter position, it means that the water meter data currently queried does not correspond to the water meter in the water meter image. Pollution refers to substances such as stains that are likely to cause errors in the recognition result of the water meter code. Pollution can be identified through image recognition technology. The method for identifying pollution is common knowledge for those skilled in the art and will not be elaborated here.

[0131] Among them, when the query position is consistent with the water meter position, it means that the water meter data currently queried corresponds to the water meter in the water meter image. At this time, the water meter data is directly displayed through the display device, and the water meter position and water meter number are recorded as query data in the management terminal.

[0132] Step 203: When the code is polluted, retrieve the water meter record according to the water meter position.

[0133] When the code is polluted, it means that the pollution is likely to cause an error in the water meter data queried by the water meter number obtained through the wrong recognition result. The water meter record is the query record where the query position is consistent with the water meter position. The method for determining the water meter record is common knowledge for those skilled in the art and will not be elaborated here.

[0134] Step 204: Determine the water meter number according to the water meter record.

[0135] The water meter number is the number information included in the water meter record. The method for determining the water meter number is common knowledge for those skilled in the art and will not be elaborated here.

[0136] The installation environment of the water meter is generally dark and humid, resulting in the code on the water meter being easily polluted, which may lead to an error in the scanning result of the code. By comparing the position of the water meter, it is judged whether the scanning result of the code is incorrect. Thus, when the scanning result of the code is incorrect, data is queried according to the position of the water meter, improving the convenience of using the water meter.

[0137] Refer to Figure 4 , the method for determining the reading also includes:

[0138] Step 205: When the code is polluted, determine the range number according to the water meter position and the preset fuzzy threshold.

[0139] The fuzzy threshold refers to the maximum value of the position error that the position sensor on the water meter information query device is likely to generate. The fuzzy threshold is selected by the staff according to the actual situation and will not be elaborated here. The range number is the water meter number of the water meters located within the circular area centered on the water meter position and with the fuzzy threshold as the radius. The range number can be obtained by querying from the position data table. The position data table is a data table that records different water meter numbers and their corresponding water meter positions and water meter floors.

[0140] Step 206: Determine the range quantity according to the range number.

[0141] The number of ranges is the number of range numbers, and the method for determining the number of ranges is common knowledge to those skilled in the art, so it will not be elaborated here.

[0142] Step 207: When the number of ranges is higher than 1, determine the water pressure reading according to the dial reading.

[0143] The number of ranges being higher than 1 means that there are multiple water meters around the water meter location. At this time, it is difficult to directly query the correct water meter data through the water meter location. The water pressure reading is the water pressure data included in the above dial reading, and the method for determining the water pressure reading is common knowledge to those skilled in the art, so it will not be elaborated here.

[0144] Step 208: Determine the water meter floor according to the water pressure reading.

[0145] The water meter floor refers to the floor where the water meter is located. Generally, the water pressure in high-rise buildings gradually decreases with height. According to the level of water pressure, the floor where the water meter is located can be judged. The water meter floor can be obtained by querying from the floor data table, which refers to the data table that records different water pressure readings and their corresponding water meter floors.

[0146] Step 209: Determine the water meter number according to the water meter floor and the water meter location.

[0147] The water meter number is the numbered data obtained by querying from the location data table according to the water meter floor and the water meter location. When the water meter is located in a high-rise building, it is easy to cause multiple water meters at the same location point, which may lead to the situation that the water meter data queried through the water meter location does not correspond to the water meter. By judging the floor corresponding to the water pressure reading according to the characteristic that the water pressure changes with the floor, the accuracy of querying the water meter data can be improved.

[0148] Refer to Figure 5 , the reading determination method also includes:

[0149] Step 210: When the number of ranges is higher than 1, retrieve the geographical information according to the water meter location.

[0150] Geographical information refers to geographical parameters such as the height and floor area of the building where the water meter location is located. The method for determining the geographical information is common knowledge to those skilled in the art, so it will not be elaborated here.

[0151] Step 211: Retrieve the floor height according to the geographical information.

[0152] The floor height is the height information of the building where the water meter location is located included in the above geographical information. The method for determining the floor height is common knowledge to those skilled in the art, so it will not be elaborated here.

[0153] Step 212: When the floor height is higher than the preset pressure boosting threshold, determine the number of pressure boosting floors according to the floor height.

[0154] The boost threshold refers to the minimum floor height at which secondary boosting is required. When the floor is too high, it is easy to cause the water pressure in the water pipe to be insufficient to reach higher floors. At this time, a water pump is needed to perform secondary boosting in the middle layer of the building to increase the water pressure. The boost threshold is selected by the staff according to the actual situation and will not be elaborated here.

[0155] When the floor height is higher than the boost threshold, it means that the building where the water meter is located needs secondary boosting. That is, the water pressure in the building decreases first with height, then suddenly increases at the boost floors and then decreases again. At this time, it is easy to have the situation where the water pressures on two different floors are the same. The boost floors are the number of floors where secondary boosting is performed. The boost floors can be obtained by querying the boost data table. The boost data table refers to a data table that records different floor heights and their corresponding boost floors. Among them, the boost data table can be retrieved or generated by the management terminal according to the information of the building where the water meter is located and sent to the water meter information query device.

[0156] Step 213: Determine the approximate floor according to the water pressure reading and the boost floors.

[0157] The approximate floor is the floor where the water pressure is found to be the same as the water pressure reading. The approximate floor can be obtained by querying the floor data table. The floor data table refers to a data table that records different water pressure readings and their corresponding water meter floors.

[0158] Step 214: Determine the air pressure threshold according to the approximate floor and obtain the water meter air pressure.

[0159] The air pressure threshold refers to the air pressure value of the middle floor of the approximate floor. Generally, the average value of the approximate floor is first calculated, and then the air pressure threshold is obtained by querying the air pressure data table according to the average value. The air pressure data table refers to a data table that records different floors and their corresponding air pressure values.

[0160] The water meter air pressure refers to the air pressure value at the location where the water meter is located. The water meter air pressure can be obtained through the air pressure sensor on the water meter information query device. The method for obtaining the water meter air pressure is selected by the staff according to the actual situation and will not be elaborated here.

[0161] Step 215: Determine the water meter floor according to the water meter air pressure and the air pressure threshold.

[0162] When the water meter air pressure is higher than the air pressure threshold, it is determined that the water meter floor is the lower one among the approximate floors. When the water meter air pressure is lower than the air pressure threshold, it is determined that the water meter floor is the higher one among the approximate floors.

[0163] When the floors of a building are too high, generally, secondary boosting is used to supply water to the upper floors, resulting in the situation where the water pressures on different floors are the same. At this time, the air pressure value at the location of the water meter is detected, and the floor where the water meter is located is judged according to the characteristic of the air pressure changing with height, thereby improving the accuracy of querying the water meter data.

[0164] Refer to Figure 6 , the reading determination method further includes:

[0165] Step 216: Determine the number of floors according to the floor of the water meter.

[0166] The number of floors refers to the total number of water meters set on the floor of the water meter. The number of floors can be obtained by querying the water meter numbers in the position data table that are located on the floor of the water meter, and then calculating the total number of water meter numbers to determine the number of floors.

[0167] Step 217: When the number of floors is higher than 1, determine the floor number according to the floor of the water meter.

[0168] When the number of floors is higher than 1, it means that there are multiple water meters on the same floor. At this time, the water meter numbers queried according to the floor are likely to not correspond to the water meters. The floor number is the water meter number queried from the position data table that is located on the floor of the water meter.

[0169] Step 218: Determine the floor reading according to the floor number.

[0170] The floor reading is the water meter reading queried from the reading data table according to the floor number.

[0171] Step 219: Determine the increase range of the reading according to the floor reading.

[0172] The increase range refers to the difference between the latest two data in the floor reading. The method for determining the increase range is common knowledge for those skilled in the art and will not be elaborated here.

[0173] Step 220: Determine the dial range according to the dial reading and the update period.

[0174] The dial range is the change value of the dial reading within the update period. The method for determining the dial range is common knowledge for those skilled in the art and will not be elaborated here.

[0175] Step 221: When the dial range is consistent with the increase range, determine the water meter number according to the increase range.

[0176] When the dial range is consistent with the increase range, it means that the data change of the water meter reading is consistent with the data change of the dial reading, that is, the water meter corresponding to the water meter reading is the same as the water meter corresponding to the dial reading. The water meter number is the water meter number corresponding to the increase range that is consistent with the dial range.

[0177] When there are multiple water meters on the same floor of a building, it is easy to cause the situation that the data obtained by querying the water meter data according to the floor does not correspond to the water meter. At this time, the corresponding water meter data is found through the change situation of the reading on the water meter dial and the change situation in the water meter data, thereby improving the accuracy of querying the water meter data.

[0178] Reference Figure 7 , the pollution cleaning method includes:

[0179] Step 300: When pollution occurs in the code, determine the pollution area and the code color based on the water meter code.

[0180] The pollution area refers to the range where pollution exists in the water meter code, and the code color refers to the color of the graphic used for identification in the water meter code. Both the pollution area and the code color can be determined through image recognition technology. The recognition methods of the pollution area and the code color are common knowledge for those skilled in the art and will not be elaborated here.

[0181] Step 301: Determine the pollution color according to the pollution area.

[0182] The pollution color refers to the color of the pollution, which can be determined through image recognition technology. The recognition method of the pollution color is common knowledge for those skilled in the art and will not be elaborated here.

[0183] Step 302: Determine the code color difference according to the pollution color and the code color.

[0184] The code color difference refers to the color difference between the pollution color and the code color, which can be determined through image recognition technology. The recognition method of the code color difference is common knowledge for those skilled in the art and will not be elaborated here.

[0185] Step 303: When the code color difference is higher than the preset recognition threshold, determine the complete code according to the water meter number.

[0186] The recognition threshold refers to the minimum color difference value that the water meter information query device can identify the code graphic from the image. The recognition threshold is selected by the staff according to the actual situation and will not be elaborated here. That the code color difference is higher than the recognition threshold means that the water meter information query device can identify the code graphic in the pollution. The complete code refers to the complete code image corresponding to the water meter number, which can be obtained by querying from the code data table. The code data table refers to the table that records the complete codes corresponding to different water meter numbers.

[0187] Step 304: Determine the code area based on the pollution area and the complete code.

[0188] The code area refers to the range of the code graphic in the pollution area, that is, the range of the code graphic covered by the pollution. The code area can be determined by comparing the pollution area in the water meter code and the complete code through image recognition technology. The determination method of the code area is common knowledge for those skilled in the art and will not be elaborated here.

[0189] Step 305: Determine the scraping path according to the code area.

[0190] The scraping device refers to a device used to move the contaminated position on the water meter code. Generally, a metal rod driven by a motor is adopted for the scraping device, and the scraping device is selected by the staff according to the actual situation, which will not be elaborated here. The scraping path is the route for scraping the contamination within the coding area to the surroundings so that the contaminated and covered code is exposed. The scraping path can be automatically generated by extracting the position information of the coding area. The method for determining the scraping path is common knowledge for those skilled in the art and will not be elaborated here.

[0191] Step 306: Control the preset scraping device to scrape off the contamination according to the smearing path.

[0192] When there is contamination on the code, it is easy to cause part of the image for code scanning to be covered. Compare the color contrast relationship between the contamination and the code, so as to scrape off the stains covering the code when the color contrast between the contamination and the code is relatively high, thereby improving the accuracy of code recognition.

[0193] Refer to Figure 8 , the contamination cleaning method further includes:

[0194] Step 307: When the code color difference is lower than the preset recognition threshold, determine the background color based on the water meter code.

[0195] The code color difference being lower than the recognition threshold means that it is difficult for the water meter information query device to recognize the code pattern in the contamination. The background color refers to the color of the background of the water meter code, and the background color can be determined through this image recognition technology. The method for recognizing the background color is common knowledge for those skilled in the art and will not be elaborated here.

[0196] Step 308: Determine the background color difference according to the background color and the contamination color.

[0197] The background color difference refers to the color difference between the contamination color and the background color, and the background color difference can be determined through image recognition technology. The method for recognizing the background color difference is common knowledge for those skilled in the art and will not be elaborated here.

[0198] Step 309: When the background color difference is higher than the preset recognition threshold, determine the background area based on the contamination area and the complete code.

[0199] When the background color difference is higher than the recognition threshold, the water meter information query device can recognize the contamination in the background. The background area refers to the range of the background in the contamination area, that is, the background range covered by the contamination. The background area can be determined by comparing the contamination area and the complete code in the water meter code through image recognition technology. The method for determining the background area is common knowledge for those skilled in the art and will not be elaborated here.

[0200] Step 310: Determine the scraping path according to the background area.

[0201] The scraping path is the route for scraping the contamination in the background area towards the surroundings by the scraping device so that the background covered by the contamination is exposed.

[0202] When the color contrast between the contamination and the coding is low, compare the contrast relationship between the colors of the contamination and the coding background, so as to scrape off the stains covering the background when the color contrast between the contamination and the coding background is high, thereby improving the accuracy of coding recognition.

[0203] Based on the same inventive concept, an embodiment of the present invention provides a water meter information query system, including:

[0204] An acquisition module, configured to acquire a water meter image, a water meter position, and a water meter air pressure;

[0205] A memory, configured to store any of the above water meter information query methods;

[0206] A processor, and the program in the memory can be loaded and executed by the processor.

[0207] Based on the same inventive concept, an embodiment of the present invention provides a water meter information query device, including a memory and a processor, and the memory stores a program that can be loaded and executed by the processor to perform any of the above water meter information query methods.

[0208] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-described system, device, and unit can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0209] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions falling within the concept of the present invention belong to the protection scope of the present invention. It should be noted that for those of ordinary skill in the art, several improvements and refinements made without departing from the principle of the present invention should also be regarded as within the protection scope of the present invention.

Claims

1. A water meter information query method, characterized in that, Including: Obtain the water meter image; Determine the water meter code according to the water meter image; Determine the water meter number based on the water meter code; Determine the water meter model according to the water meter number; Determine the actual model according to the water meter image; When the water meter model is consistent with the actual model, determine the water meter reading according to the water meter number; Control the preset display device to display according to the water meter reading.

2. The water meter information query method according to claim 1, wherein Also including: Determine the water meter dial according to the water meter image; Determine the dial reading based on the water meter dial; Determine the reading error rate according to the dial reading and the water meter reading; Determine the update period according to the water meter number; Determine the reading change rate according to the water meter reading and the update period; Determine the error range according to the reading change rate and the update period; When the reading error rate falls within the error range, update the water meter reading according to the dial reading.

3. The water meter information query method according to claim 2, wherein Also including a reading determination method, the reading determination method includes: When the reading error rate falls within the error range, retrieve the query record according to the water meter number; Determine the query location based on the query record and obtain the water meter location; When the query location is inconsistent with the water meter location, determine whether the code is contaminated based on the water meter code; When the code is contaminated, retrieve the water meter record according to the water meter location; Determine the water meter number according to the water meter record.

4. A water meter information query method according to claim 3, characterized in that, The reading determination method further includes: When the code is contaminated, determine the range number according to the water meter location and the preset fuzzy threshold; Determine the range quantity according to the range number; When the range quantity is higher than 1, determine the water pressure reading according to the dial reading; Determine the water meter floor according to the water pressure reading; Determine the water meter number according to the water meter floor and the water meter location.

5. The water meter information query method according to claim 4, characterized in that, The reading determination method further includes: When the range quantity is higher than 1, retrieve the geographical information according to the water meter location; Retrieve the floor height according to the geographical information; When the floor height is higher than the preset pressure boosting threshold, determine the pressure boosting floors according to the floor height; Determine the approximate floor according to the water pressure reading and the pressure boosting floors; Determine the air pressure threshold according to the approximate floor and obtain the water meter air pressure; Determine the water meter floor according to the water meter air pressure and the air pressure threshold.

6. A water meter information query method according to claim 5, characterized in that, The reading determination method further includes: Determine the floor quantity according to the water meter floor; When the floor quantity is higher than 1, determine the floor number according to the water meter floor; Determine the floor reading according to the floor number; Determine the rising amplitude of the reading according to the floor reading; Determine the dial amplitude according to the dial reading and the update period; When the dial amplitude is consistent with the rising amplitude, determine the water meter number according to the rising amplitude.

7. A water meter information query method according to claim 6, characterized in that, Also including a pollution cleaning method, the pollution cleaning method includes: When the code is contaminated, determine the contaminated area and the code color based on the water meter code; Determine the contaminated color according to the contaminated area; Determine the code color difference according to the contaminated color and the code color; When the code color difference is higher than the preset recognition threshold, determine the complete code according to the water meter number; Determine the code area based on the contaminated area and the complete code; Determine the scraping path according to the code area; Control the preset scraping device to scrape off the contamination according to the scraping path.

8. A method for querying water meter information according to claim 7, characterized in that, The pollution cleaning method further includes: When the code color difference is lower than the preset recognition threshold, determine the background color based on the water meter code; Determine the background color difference according to the background color and the contaminated color; When the background color difference is higher than the preset recognition threshold, determine the background area based on the contaminated area and the complete code; Determine the scraping path according to the background area.

9. A water meter information query system, characterized in that, Including: An acquisition module, configured to acquire a water meter image, a water meter position, and a water meter air pressure; A memory, configured to store a water meter information query method according to any one of claims 1 to 8; A processor, and the program in the memory can be loaded and executed by the processor.

10. A water meter information query device, characterized in that, Including a memory and a processor, and stored on the memory is a water meter information query method according to any one of claims 1 to 8 that can be loaded and executed by the processor.