Table replacement identification method, device, storage medium and equipment
By automatically identifying the water meter replacement time, the problem of inaccurate meter replacement records and discontinuous data connection in the water industry is solved, and the accuracy of water flow data and management efficiency are improved.
Patent Information
- Application Number
- CN202410608297.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-05-16
AI Technical Summary
Due to the lack of an automated meter replacement identification mechanism in the water industry, meter replacement events rely on manual recording, resulting in inaccurate meter replacement records and discontinuous connection of old and new water meter data, affecting the accuracy of water flow data and water management decisions.
By obtaining the current water meter associated with the target water connection point, determine the positive cumulative value of each collection time point when no change is detected within the preset detection time period, and calculate the positive cumulative difference between adjacent collection time points, Automatically identify water meter replacement time to ensure the continuity and accuracy of water flow data.
It achieves automatic and accurate meter replacement identification, reduces manual errors, improves the accuracy and efficiency of water management, and ensures the continuity and integrity of water flow data records.
Smart Images

Figure CN118195291B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of waterway intelligent monitoring technology, and more specifically, to a table replacement identification method, device, storage medium and equipment. Background Art
[0002] In the daily operations of the water industry, accurately tracking water meter replacement events is critical to ensuring accurate billing and effective management of water resources.
[0003] In the traditional water management system, due to the lack of an effective automated meter replacement identification mechanism, meter replacement events often rely on manual recording and verification, resulting in inaccurate meter replacement records and discontinuous data connections between old and new water meters, affecting the accuracy of statistical water flow data and decision-making analysis of water management. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a meter replacement identification method, device, storage medium and equipment, aiming to solve the technical problem that meter replacement events in the water industry in the prior art often rely on manual recording and verification, resulting in inaccurate meter replacement records and discontinuous connection between the old and new water meter data.
[0005] To achieve the above object, according to a first aspect of the present application, a table change identification method is provided, the method comprising:
[0006] Obtaining a current water meter associated with a target water connection point, wherein the target water connection point is any water connection point;
[0007] Determine the positive cumulative value of the current water meter at each collection time point when no change is detected in the current water meter associated with the target water connection point within a preset detection time period, wherein the preset detection time period includes: a plurality of collection time points with the same or different intervals;
[0008] Determine the positive cumulative difference between all adjacent collection time points according to the positive cumulative value of the current water meter at each collection time point;
[0009] The meter replacement time for the current water meter to replace the historical water meter is determined according to the positive cumulative difference between any two adjacent collection time points.
[0010] Optionally, in a possible implementation manner of the first aspect, determining the meter replacement time for the current water meter to replace the historical water meter according to the positive cumulative difference between any two adjacent collection time points includes:
[0011] When the positive cumulative difference between any two adjacent acquisition time points is less than a first threshold, determining that the table switching time is between the any two adjacent acquisition time points, or the later acquisition time point between the any two adjacent acquisition time points;
[0012] When the positive cumulative difference between any two adjacent acquisition time points is greater than the first threshold, and the positive cumulative difference between any two adjacent acquisition time points is greater than the second threshold, determining that the table switching time is between the any two adjacent acquisition time points, or the later acquisition time point of the any two adjacent acquisition time points, and the second threshold is greater than the first threshold;
[0013] When the positive cumulative difference between any two adjacent acquisition time points is greater than the first threshold, and the positive cumulative difference between any two adjacent acquisition time points is less than the second threshold, it is determined that the table switching time is not between the any two adjacent acquisition time points and the later acquisition time point of the any two adjacent acquisition time points.
[0014] Optionally, in a possible implementation manner of the first aspect, the method further includes:
[0015] When a change is detected in the current water meter associated with the target water receiving point within the preset detection time, determining the target collection time point of the change within the preset detection time;
[0016] The target collection time point is used as the table switching time.
[0017] Optionally, in a possible implementation manner of the first aspect, after determining the meter replacement time for the current water meter to replace the historical water meter, the method further includes:
[0018] Obtaining a start code value of the current water meter after it is installed at the target water connection point, and an end code value of a historical water meter replaced by the current water meter;
[0019] Determine, based on the difference between the end code value and the start code value, whether replacing the historical water meter with the current water meter affects the water flow data recorded at the target water connection point;
[0020] In the case of affecting the recording of the water flow data of the target water receiving point, the water flow data of the target water receiving point is updated according to the end code value, the start code value and the meter replacement time.
[0021] Optionally, in a possible implementation manner of the first aspect, determining, according to a difference between the end code value and the start code value, whether replacing the historical water meter with the current water meter affects recording of water flow data of the target water connection point includes:
[0022] When the difference is less than the first threshold, or when the difference is greater than the first threshold and greater than the second threshold, determining that the current water meter replaces the historical water meter and affects the recording of the water flow data of the target water connection point;
[0023] When the difference is greater than the first threshold value and less than the second threshold value, it is determined that the replacement of the historical water meter by the current water meter does not affect the water flow data recorded at the target water connection point.
[0024] Optionally, in a possible implementation manner of the first aspect, the method further includes:
[0025] Predetermining the instantaneous flow rate and pipe diameter of the current water meter;
[0026] The second threshold is calculated according to the instantaneous flow velocity, the pipe diameter, pi, and the time interval between any two adjacent acquisition time points.
[0027] Optionally, in a possible implementation manner of the first aspect, acquiring a current water meter associated with the target water connection point includes:
[0028] Obtaining a water receiving point identifier of the target water receiving point;
[0029] Determine a device identifier associated with the water connection point identifier, wherein the device identifier is a unique identifier determined according to the factory code and manufacturer information of each current water meter;
[0030] The current water meter associated with the target water connection point is determined according to the device identifier associated with the water connection point identifier.
[0031] According to a second aspect of the present application, a table change identification device is provided, the device comprising:
[0032] An acquisition unit, used to acquire a current water meter associated with a target water connection point, wherein the target water connection point is any water connection point;
[0033] a determination unit, configured to determine a positive cumulative value of the current water meter at each collection time point when no change is detected in the current water meter associated with the target water connection point within a preset detection time period, wherein the preset detection time period includes: a plurality of collection time points with the same or different intervals;
[0034] A calculation unit, used to determine the positive cumulative difference between all adjacent collection time points according to the positive cumulative value of the current water meter at each collection time point;
[0035] The identification unit is used to determine the meter replacement time when the current water meter replaces the historical water meter according to the positive cumulative difference between any two adjacent collection time points.
[0036] The second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the second aspect and any implementation of the second aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.
[0037] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the methods described above when executing the computer program.
[0038] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements any of the methods described above.
[0039] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes any one of the methods described in the first aspect.
[0040] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0041] The embodiments of the present application provide a meter replacement identification method, device, storage medium and equipment. The meter replacement identification method obtains a current water meter associated with a target water connection point, wherein the target water connection point is any water connection point; if no change is detected in the current water meter associated with the target water connection point within a preset detection time, the positive cumulative value of the current water meter at each collection time point is determined, and the preset detection time period includes: multiple collection time points with the same or different intervals; according to the positive cumulative value of the current water meter at each of the collection time points, the positive cumulative difference between all adjacent collection time points is determined; according to the positive cumulative difference between any two adjacent collection time points, the meter replacement time when the current water meter replaces the historical water meter is determined.
[0042] Compared with the prior art that relies on manual recording and verification of meter replacement events, it will lead to inaccurate meter replacement records and discontinuous connection between the old and new water meter data. Through the method provided by the present application, when no change is detected in the water meter associated with the target water connection point, the positive cumulative value of the current water meter at each collection time point is further determined to determine the positive cumulative difference between all adjacent collection time points, and finally the meter replacement time when the current water meter replaces the historical water meter is determined based on the positive cumulative difference between any two adjacent collection time points. It can realize automatic and accurate identification of meter replacement events and meter replacement times at water connection points, ensure the continuity and integrity of the record of water flow data at water connection points, and thus significantly improve the accuracy and efficiency of water management. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0044] Figure 1 is a schematic flow chart of a table switching identification method provided in an embodiment of the present application;
[0045] Figure 2 is a schematic flow chart of an optional table switching identification method provided in an embodiment of the present application;
[0046] Figure 3 is a schematic flow chart of an optional table switching identification method provided in an embodiment of the present application;
[0047] Figure 4 is a schematic flow chart of an optional table switching identification method provided in an embodiment of the present application;
[0048] Figure 5 A schematic flow chart of an optional table change identification method provided by the present application is shown;
[0049] Figure 6 It is a structural schematic diagram of a table replacement identification device provided in an embodiment of the present application;
[0050] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0051] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0052] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0053] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0054] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0055] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0056] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0057] In the field of water management, accurately recording and managing water meter replacement events is crucial to ensure the accuracy of the billing system and the effectiveness of water resource management. With the acceleration of urbanization and the improvement of residents' living standards, the frequency of water meter replacement is also increasing, which requires the water meter management system to have efficient and accurate processing of meter replacement events.
[0058] Traditional water meter management systems rely mainly on manual recording and manual input of water meter replacement data. For example, field staff are required to record relevant information (such as the last reading of the old meter, the initial reading of the new meter, etc.) when replacing a water meter, and manually input this information into the water management system. This method may seem simple to operate, but it is easily affected by human operating errors, is prone to errors, is inefficient, and cannot be updated in real time.
[0059] In addition, some modern water management systems have begun to use barcode or RFID (radio frequency identification) technology to track water meter replacement. In these systems, each water meter is equipped with a unique identification code. When replacing a water meter, field staff can use special equipment to scan the identification code of the old and new water meters, and the system automatically records the meter replacement event. This method improves the accuracy and efficiency of data entry, but it still requires manual operation and is somewhat dependent on equipment and technology.
[0060] With the development of smart water meters and remote meter reading technologies, some advanced water management systems are able to identify possible meter replacement events by analyzing remote meter reading data. For example, the system may detect abnormal changes in water meter readings and infer the occurrence of meter replacement events. This method can automate the meter replacement identification process to a certain extent and reduce manual intervention, but it relies on complex data analysis and processing capabilities and may be affected by data transmission issues and equipment compatibility issues. For example, due to the limitations of the algorithm, there may be low recognition accuracy, missed reports or false reports, which requires managers to spend extra time and effort to manually verify and correct errors.
[0061] See also Figure 1 As shown, Figure 1 A schematic flow chart of a table switching identification method provided by the present application is shown. As an example but not a limitation, the method includes:
[0062] S101, obtaining a current water meter associated with a target water connection point.
[0063] Optionally, the target water receiving point is any water receiving point.
[0064] S102, when no change is detected in the current water meter associated with the target water connection point within a preset detection time, determining the positive cumulative value of the current water meter at each collection time point.
[0065] Optionally, the preset detection duration includes: multiple collection time points with the same or different intervals.
[0066] S103, determining the positive cumulative difference between all adjacent collection time points according to the positive cumulative value of the current water meter at each collection time point.
[0067] S104, determining the meter replacement time for the current water meter to replace the historical water meter according to the positive cumulative difference between any two adjacent collection time points.
[0068] The executor of the meter replacement identification method provided in the example of the present application may be a water management system or water management equipment, and may be applied to various scenarios requiring identification of meter replacement events for remote water meters or other types of water meters.
[0069] Optionally, the water connection point may refer to the installation location of the water meter in a public place or building. The association between the water connection point and the water meter may be determined by the association between the water connection point identifier (also called the water connection point number) and the device identifier of the water meter.
[0070] Optionally, the above-mentioned current water meter and historical water meter are both smart water meters, for example, remote water meters. Specifically, the remote water meter is composed of an ordinary mechanical water meter plus an electronic data collection and signal transmission module. The electronic module can realize signal collection, data processing and storage, and upload the data to a repeater, a handheld meter reader, or a water management system through a communication line.
[0071] In the present application example, the remote water meter can record and save the user's water consumption in real time, or directly read the current cumulative number. Each water meter has a unique device identifier (or code). When the smart water meter receives the meter reading instruction, it can immediately upload the water meter data (such as water supply, water flow, etc.) to the water management system.
[0072] Optionally, the preset detection time may be, but is not limited to, 5, 6, 7 hours, etc., and the preset detection time may be divided into multiple collection time points.
[0073] In actual application scenarios, the intervals between multiple acquisition time points are the same, for example, the time interval between adjacent acquisition time points may be 5 minutes, 10 minutes, 15 minutes, etc. The intervals between multiple acquisition time points may also be different, for example, the time interval between the first acquisition time point and the second acquisition time point may be 5 minutes, the time interval between the first acquisition time point and the second acquisition time point may be 10 minutes, the time interval between the first acquisition time point and the second acquisition time point may be 15 minutes, etc. The actual value of the specific time interval is not limited in this application, and is taken as an example.
[0074] In the example of this application, if no change is detected in the current water meter associated with the target water connection point within the preset detection time, the water flow data transmitted back in real time by the current water meter to the water management system is determined according to the preset detection time or at the end of the preset detection time. The water flow data carries the positive cumulative value of the current water meter at each collection time point. It can be understood that the positive cumulative value at each collection time point is specifically calculated by subtracting the initial value of the water flow from the final value of the water flow at the collection time point.
[0075] In one example, after receiving the water flow data sent back in real time by each current water meter, the water management system can first perform pre-processing on the water flow data, such as abnormal data identification and non-compliant data cleaning, to ensure the continuity of the water flow data. Then, the positive cumulative flow value of the current water meter carried in the data field of the pre-processed water flow data is determined, without considering the instantaneous flow value and the reverse cumulative flow value carried in the field of the water flow data.
[0076] After obtaining the positive cumulative value of the current water meter at each collection time point, the positive cumulative difference between all adjacent collection time points is calculated. For example, the positive cumulative difference between any two adjacent collection time points is obtained by subtracting the positive cumulative value of the water flow at the previous collection time point from the positive cumulative value of the water flow at the later collection time point.
[0077] Afterwards, based on the positive cumulative difference between any two adjacent collection time points, it can be determined whether the water flow between the two adjacent collection time points is within the normal use range, and then the meter replacement time for the current water meter to replace the previous historical water meter can be determined. For example, if the positive cumulative difference between any two adjacent collection time points is less than a predetermined threshold, it is determined that the positive cumulative difference between the two adjacent collection time points exceeds the normal use range, and a meter replacement event of the current water meter replacing the historical water meter has occurred between the two adjacent collection time points, and the specific meter replacement time falls between the two adjacent collection time points or at the later collection time point.
[0078] It can be seen that the meter replacement identification method proposed in the example of this application is based on water flow data analysis and does not require additional hardware equipment. It only needs to process and analyze data based on the existing remote water meter, saving hardware costs. And a more accurate and reliable processing method is adopted. Specifically, within the preset detection time, the water flow data of the remote water meter is continuously detected at multiple collection time points, which can automatically detect and analyze abnormal changes in the water flow data, thereby identifying meter replacement events and meter replacement time. By optimizing the data processing algorithm for meter replacement identification and reducing dependence on external equipment, it has a high degree of automation, which can improve the efficiency and accuracy of water management water meters, reduce management costs, and provide water management users with more reliable and practical water resource management solutions.
[0079] The following is combined with Figures 2 to 5 , through various embodiments, the table switching identification method provided by the example of this application is specifically described and illustrated:
[0080] In one example, the present application example can obtain the current water meter associated with the target water connection point in the following manner:
[0081] First, obtain the water connection point identifier of the target water connection point, and then determine the device identifier associated with the water connection point identifier, where the device identifier is a unique identifier determined based on the factory code and manufacturer information of each current water meter; based on the device identifier associated with the water connection point identifier, determine the current water meter associated with the target water connection point.
[0082] In one example, after the water management system receives the water flow data returned by a current water meter in real time for the first time, the water flow data returned by the current water meter in real time is associated with the basic information of the current water meter, and the association relationship is written into an association table in the database. The basic information of each water meter may include, but is not limited to: the location, model, installation time, equipment identification, and water connection point identification of the water meter.
[0083] Therefore, when the water management system determines the equipment identifier that is associated with the water connection point identifier, it can obtain it by querying the association table.
[0084] Optionally, it is understood that the above-mentioned water connection point identification is the water connection point number. The water connection point number of each water connection point is recorded in the water management system, which is usually used to identify and distinguish different water connection points or water supply facilities. The purpose of numbering is to facilitate management and use, and to quickly find the required or queried water connection point. The water connection point numbering can be planned and formulated according to the needs of the management unit. For example, it can be arranged according to different floors, areas, functions, etc., to facilitate information management and maintenance. The numbering may be presented in the form of numbers, letters, symbols or combinations. The specific form and rules can be determined according to needs and actual conditions.
[0085] In this application example, since the water meter manufacturer will provide a unique water meter code for each water meter when producing the water meter, the water meter code provided by the same water meter manufacturer will not be repeated. However, in the specific water management scenario, water meters provided by different water meter manufacturers will be used, and there will be repeated water meter codes between water meters provided by different water meter manufacturers. For example, the manufacturer information of water meter A1 is B1 water meter manufacturer, and the factory code given by B1 water meter manufacturer to water meter A1 is 0025. The manufacturer information of water meter A2 is B2 water meter manufacturer, and the factory code given by B2 water meter manufacturer to water meter A2 is also 0025.
[0086] Therefore, the water management system will determine a unique device identifier for all water meters managed or used by the water management system. The specific unique identifier can be determined based on the factory code and manufacturer information of each water meter. For example, the factory code of water meter A1 is 0025, and the manufacturer information is B1 water meter manufacturer, then the device identifier of water meter A1 is B1-0025; the factory code of water meter A2 is 0025, and the manufacturer information is B2 water meter manufacturer, then the device identifier of water meter A2 is B2-0025. In this way, in the meter replacement identification process of the water management scenario, even if water meters provided by different water meter manufacturers are used, the device identifiers of different water meters are unique and will not be repeated. The current water meter associated with the target water connection point can be uniquely determined based on the device identifier that is associated with the water connection point identifier.
[0087] See also Figure 2 As shown, Figure 2 A schematic flow chart of an optional meter replacement identification method provided by the present application is shown, which determines the meter replacement time when the current water meter replaces the historical water meter according to the positive cumulative difference between any two adjacent acquisition time points, including:
[0088] S201: When the positive cumulative difference between any two adjacent acquisition time points is less than a first threshold, determine that the table switching time is between any two adjacent acquisition time points, or the later acquisition time point between any two adjacent acquisition time points.
[0089] S202: When the positive cumulative difference between any two adjacent acquisition time points is greater than a first threshold and the positive cumulative difference between any two adjacent acquisition time points is greater than a second threshold, it is determined that the table switching time is between any two adjacent acquisition time points or at a later acquisition time point between any two adjacent acquisition time points, and the second threshold is greater than the first threshold.
[0090] S203: When the positive cumulative difference between any two adjacent acquisition time points is greater than a first threshold and the positive cumulative difference between any two adjacent acquisition time points is less than a second threshold, determine that the table switching time is not between any two adjacent acquisition time points and the later acquisition time point between any two adjacent acquisition time points.
[0091] Specifically, in the example of the present application, the first threshold may be 0. It is understandable that in a specific implementation scenario, as an example rather than a limitation, the first threshold may also be other values, whichever is greater, so as to implement the example of the present application.
[0092] Optionally, the second threshold value can be understood as the limit water flow threshold per unit time, and the second threshold value is greater than the first threshold value. In one implementation, the second threshold value can be determined by: predetermining the instantaneous flow rate and pipe diameter of the current water meter; and calculating the second threshold value based on the instantaneous flow rate (especially the maximum flow rate of water in the pipe), pipe diameter, pi, and the time interval between any two adjacent acquisition time points. For example, the specific formula of the second threshold value is as follows:
[0093] ;
[0094] In the above formula, is the second threshold, v is the instantaneous flow velocity, π is the circumference, d is the pipe diameter (in millimeters), and t is the time interval. For example, the time interval between two adjacent acquisition time points is 5 minutes. That is the maximum flow rate of the pipeline in these 5 minutes.
[0095] There are many situations for the replacement of remote water meters, for example, water meter failure or damage: the positive cumulative water flow value of a water meter 5 minutes ago shows that the water meter has used 56 cubic meters of water, but the water meter is damaged due to a fault. Some new meters have a starting code value of zero for the mileage record. The starting code value of other new meters starts with 56 cubic meters of water, and then 56 cubic meters of water will appear in another meter replacement situation. The difference in the middle is not large, and the income error generated by this part of the water flow is very small. There are also some new meters whose starting code value of mileage record is much larger than 56 cubic meters of water. If it is much larger than 56 cubic meters of water, for example, 2 cubic meters of water are used at most in 5 minutes. Assuming that the new meter is just replaced 5 minutes ago, the positive cumulative water flow value can only reach 58 cubic meters of water at most. As a result, the new meter starts with 60 cubic meters of water, and 4 cubic meters of water are added in the middle. Even if the user uses 2 cubic meters of water in 5 minutes, the actual scale is only 58 cubic meters of water. The 2 cubic meters of water that are mistakenly identified as exceeding the limit will be charged at the end of the month. Therefore, by adopting the meter replacement identification method provided in the example of this application, it is possible to accurately identify meter replacement events, significantly improve the accuracy of water meter billing, and avoid settlement errors and miscalculations of water charges.
[0096] In one example, if the positive cumulative difference between any two adjacent collection time points is less than zero, it is determined that a meter replacement event occurs between the two adjacent collection time points, that is, the meter replacement time when the current water meter replaces the historical water meter is between any two adjacent collection time points, or at the later collection time point between any two adjacent collection time points.
[0097] In another example, if the positive cumulative difference between any two adjacent acquisition time points is greater than zero, and the positive cumulative difference between any two adjacent acquisition time points is greater than a second threshold, it is determined that the table switching time is between any two adjacent acquisition time points, or the later acquisition time point of any two adjacent acquisition time points.
[0098] There is also an example, if the positive cumulative difference between any two adjacent collection time points is greater than the first threshold, and the positive cumulative difference between any two adjacent collection time points is less than the second threshold, then it is determined that the water flow between the two adjacent collection time points is within the normal usage range, and no meter replacement event occurs between these any two adjacent collection time points, that is, the meter replacement time is not between any two adjacent collection time points, and the latter collection time point between any two adjacent collection time points.
[0099] By adopting the above-mentioned method steps, compared with the traditional method that relies on manual recording and input of meter replacement time, the automated judgment mechanism adopted in the example of this application reduces the impact of human errors on the recording of water flow data, improves the accuracy of water flow data and the reliability of the water management system.
[0100] In an optional example of a table switching identification method, the method further includes:
[0101] When a change is detected in the current water meter associated with the target water connection point within the preset detection time, a target collection time point of the change is determined from within the preset detection time; and the target collection time point is used as the meter replacement time.
[0102] In one example, when a change is detected in the current water meter associated with the target water connection point within the preset detection time, the target collection time point of the change is determined from the preset detection time point. Specifically, the moment when the association relationship between the target water connection point and the current water meter changes (for example, an association relationship is established at a collection time point) is used as the target collection time point, and the target collection time point can be directly used as the meter replacement time.
[0103] By collecting water flow data in real time and using the above-mentioned data processing and analysis methods, it is possible to automatically identify whether a meter replacement event has occurred and the specific meter replacement time, thereby reducing manual intervention and improving the intelligence level of meter replacement monitoring.
[0104] See also Figure 3 As shown, Figure 3 A schematic flow chart of an optional meter replacement identification method provided by the present application is shown. After determining the meter replacement time when the current water meter replaces the historical water meter, the method further includes:
[0105] S301, obtaining a start code value of a current water meter after it is installed at a target water connection point, and an end code value of a historical water meter replaced by the current water meter.
[0106] S302, determining, based on the difference between the end code value and the start code value, whether the replacement of the historical water meter by the current water meter affects the water flow data recorded at the target water connection point.
[0107] S303, in the case of affecting the water flow data of the target water receiving point, updating the water flow data of the target water receiving point according to the end code value, the start code value and the meter replacement time.
[0108] Optionally, the above starting code value is the initial code value of the user's water consumption recorded after the current water meter is installed at the target water connection point, which may not be zero. The above ending code value is the final code value of the historical water meter replaced by the current water meter before the replacement. According to the difference between the ending code value and the starting code value, the minimum difference value of the current water meter is calculated; specifically, the minimum difference value of the current water meter Sm = starting code value Bm - ending code value Em.
[0109] Afterwards, it is determined whether the replacement of the historical water meter by the current water meter affects the water flow data recorded at the target water connection point based on the minimum difference. If the water flow data recorded at the target water connection point is affected, the water flow data at the target water connection point is updated based on the end code value, the start code value and the meter replacement time.
[0110] By using the above method example, the flow changes of the water meter can be monitored in real time, and the meter replacement events and meter replacement time can be identified in time, reducing the impact of human errors on the recorded water flow data. It can help water management units improve operational efficiency and ensure real-time updating of water flow data at the target water connection point, which is extremely important for water flow measurement and billing.
[0111] See also Figure 4 As shown, Figure 4 A schematic flow chart of an optional meter replacement identification method provided by the present application is shown, and whether the replacement of the historical water meter by the current water meter affects the water flow data of the target water connection point according to the difference between the end code value and the start code value is determined, including:
[0112] S401, when the difference is less than the first threshold, or the difference is greater than the first threshold and greater than the second threshold, determining that the current water meter replaces the historical water meter and affects the water flow data of the target water connection point;
[0113] S402: When the difference is greater than the first threshold value and less than the second threshold value, it is determined that the replacement of the historical water meter by the current water meter does not affect the water flow data of the target water connection point.
[0114] If the at least difference is less than zero, it is determined that the meter replacement event of the remote water meter belongs to the first type of meter replacement situation. If the at least difference is greater than zero, it is necessary to further determine whether the at least difference is greater than the second threshold value W_max. If the difference is greater than the first threshold value and greater than the second threshold value, it is determined that the meter replacement event of the remote water meter belongs to the second type of meter replacement situation, that is, the meter is replaced and the recorded water flow data is greatly different from the accurate value.
[0115] The above two meter replacement situations both affect the water flow data recorded at the target water connection point. The end code value, start code value and meter replacement time need to be written into the database. The water flow data of the target water connection point is updated according to the end code value, start code value and meter replacement time. This can realize automatic meter replacement monitoring of remote water meters, thereby improving the accuracy and utilization rate of monitoring data.
[0116] When at least the difference is greater than the first threshold and less than the second threshold, it is determined that the meter replacement event of the remote water meter belongs to the third type of meter replacement situation, and it is determined that the current water meter replaces the historical water meter without affecting the recorded water flow data of the target water connection point. The third type of meter replacement situation is the situation where the meter is replaced and the recorded water flow data is slightly different from the accurate value, that is, although there is a meter replacement event, it does not affect the data quality and use, and whether it is identified or not has no effect on the data. After the meter replacement time is identified, the meter replacement record is uploaded to the water management system, and the water management system updates the water flow data of the target water connection point according to the end code value, start code value and meter replacement time carried in the meter replacement record.
[0117] The example of the present application provides an accurate and efficient method for identifying remote water meter replacement. The meter replacement identification logic provided by the method not only involves the detection of changes in the device identification of the water meter associated with the target water connection point, but also analyzes the positive cumulative flow difference and the minimum difference of the water meter at adjacent collection time points. It can accurately identify whether there is a meter replacement event at the target water connection point and determine the specific meter replacement time based on the comparison of the positive cumulative flow difference and the minimum difference with specific thresholds.
[0118] In different meter replacement situations, whether the newly replaced remote water meter starts counting from zero, or the newly replaced remote water meter does not start counting from zero, and there is a large or small code range counting gap between the new and old remote water meters, it is possible to accurately determine the meter replacement event that exists at a certain collection time point within the preset detection time. Accordingly, the water flow data of the target water connection point recorded in the database is updated according to the end code value, the start code value and the meter replacement time to ensure the accuracy and consistency of the water flow data of the water connection point.
[0119] For example, when the current water meter is identified as a new water meter, the calculation formula for yesterday's water consumption of the target water receiving point can be:
[0120] (The ending code value of the historical water meter - the positive cumulative water flow value of the historical water meter at zero o'clock yesterday) + (the positive cumulative water flow value of the current water meter at zero o'clock today - the starting code value of the current water meter).
[0121] For another example, when it is identified that the current water meter is not a new water meter, the calculation formula for yesterday's water consumption of the target water receiving point can be:
[0122] The positive accumulated water flow value of the current water meter at zero o'clock today minus the positive accumulated water flow value at zero o'clock yesterday.
[0123] It should be noted that the present application only needs to accurately identify the table switching event and determine the corresponding table switching time, end code value, and start code value. The above calculation method is only an example. The present application does not specifically limit this. In the specific implementation, other calculation methods that can realize the examples of the present application can also be used.
[0124] See also Figure 5 An optional table switching identification method is shown, Figure 5 A schematic flow chart of an optional table switching identification method provided by the present application is shown. An optional table switching identification method includes some or all of the following method steps:
[0125] S501, obtaining a current water meter associated with a target water connection point.
[0126] First, obtain the water connection point identifier of the target water connection point, and then determine the device identifier associated with the water connection point identifier, where the device identifier is a unique identifier determined based on the factory code and manufacturer information of each current water meter; based on the device identifier associated with the water connection point identifier, determine the current water meter associated with the target water connection point.
[0127] S502: Detect, within a preset detection time period, whether a current water meter associated with a target water receiving point has changed.
[0128] Specifically, if no change is detected in the current water meter associated with the target water connection point within the preset detection time, step S503 is executed. If a change is detected in the current water meter associated with the target water connection point within the preset detection time, step S508 is executed.
[0129] S503, determining the positive cumulative value of the current water meter at each collection time point.
[0130] S504: Determine the positive cumulative difference between all adjacent collection time points according to the positive cumulative value of the current water meter at each collection time point.
[0131] S505: When the positive cumulative difference between any two adjacent acquisition time points is less than a first threshold, determine that the table switching time is between any two adjacent acquisition time points, or the later acquisition time point between any two adjacent acquisition time points.
[0132] S506: When the positive cumulative difference between any two adjacent acquisition time points is greater than the first threshold and the positive cumulative difference between any two adjacent acquisition time points is greater than the second threshold, determine that the table switching time is between the any two adjacent acquisition time points or the later acquisition time point between the any two adjacent acquisition time points.
[0133] The second threshold is greater than the first threshold, and is calculated based on the instantaneous flow velocity, the pipe diameter, the pi, and the time interval between any two adjacent acquisition time points.
[0134] S507: When the positive cumulative difference between any two adjacent acquisition time points is greater than the first threshold and the positive cumulative difference between any two adjacent acquisition time points is less than the second threshold, determine that the table switching time is not between any two adjacent acquisition time points and the later acquisition time point between any two adjacent acquisition time points.
[0135] S508: Determine the changed target collection time point within the preset detection time.
[0136] S509: Use the target collection time point as the table switching time.
[0137] After executing the above steps S505, S506 and S509, that is, after determining the meter replacement time for the current water meter to replace the historical water meter, step S510 is executed.
[0138] S510, obtaining a start code value of the current water meter after it is installed at the target water connection point, and an end code value of the historical water meter replaced by the current water meter.
[0139] S511, determining, based on the difference between the end code value and the start code value, whether the replacement of the historical water meter by the current water meter affects the water flow data recorded at the target water connection point.
[0140] Among them, when the difference is less than the first threshold, or the difference is greater than the first threshold and greater than the second threshold, it is determined that the current water meter replaces the historical water meter and affects the water flow data recorded at the target water connection point; when the difference is greater than the first threshold and less than the second threshold, it is determined that the current water meter replaces the historical water meter and does not affect the water flow data recorded at the target water connection point.
[0141] S512, in the case of affecting the water flow data of the target water receiving point, updating the water flow data of the target water receiving point according to the end code value, the start code value and the meter replacement time.
[0142] By using the table replacement identification method provided in the example of this application, at least the following technical effects can be achieved:
[0143] 1. Improved the automation and intelligence level of meter replacement identification: By collecting water flow data in real time and using advanced data processing and analysis technology, it can automatically identify meter replacement events, reduce manual intervention, and improve the intelligence level of meter replacement monitoring.
[0144] 2. Significantly improved accuracy and reliability: Compared with the traditional method that relies on manual recording and input of meter replacement time, the automated determination mechanism adopted in this application example reduces the impact of human errors on recorded water flow data, improves the accuracy of water flow data and the reliability of the water management system.
[0145] 3. Strong real-time performance: It can monitor the flow changes of water meters in real time, promptly identify meter replacement events and meter replacement time, and ensure real-time update of water flow data at the target water connection point, which is extremely important for water flow measurement and billing.
[0146] 4. Strong adaptability and easy expansion: Whether in small-scale water systems or large-scale water management networks, it can be flexibly deployed and easily expanded to adapt to different scales and needs.
[0147] 5. Improved operational efficiency and reduced costs: Reduced the impact of human errors on recorded water flow data, improved the accuracy of meter replacement monitoring, and can help water management units improve operational efficiency while reducing the cost of correcting errors caused by incorrectly recorded meter replacement events.
[0148] 6. Enhanced the continuity and integrity of water flow data: It can ensure the seamless connection and accurate recording of water flow data before and after meter replacement, ensure the continuity and integrity of water flow data, and provide strong support for the rational use and management of water resources.
[0149] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0150] Corresponding to the table switching identification method described in the above embodiment, Figure 6 is a schematic diagram of a table switching recognition device provided in an embodiment of the present application. The device can be implemented as part or all of a computer device by software, hardware, or a combination of both. The computer device can be Figure 7 Electronic equipment shown.
[0151] Reference Figure 6 , the table change identification device comprises:
[0152] An acquisition unit 601 is used to acquire a current water meter associated with a target water connection point, where the target water connection point is any water connection point;
[0153] A determination unit 602 is configured to determine a positive cumulative value of the current water meter at each collection time point when no change is detected in the current water meter associated with the target water connection point within a preset detection time period, wherein the preset detection time period includes: a plurality of collection time points with the same or different intervals;
[0154] A calculation unit 603 is used to determine the positive cumulative difference between all adjacent collection time points according to the positive cumulative value of the current water meter at each of the collection time points;
[0155] The identification unit 604 is used to determine the meter replacement time when the current water meter replaces the historical water meter according to the positive cumulative difference between any two adjacent collection time points.
[0156] Further, based on any of the above embodiments, as an example of the present application, the above identification unit is specifically used for:
[0157] When the positive cumulative difference between any two adjacent acquisition time points is less than a first threshold, determining that the table switching time is between the any two adjacent acquisition time points, or the later acquisition time point of the any two adjacent acquisition time points;
[0158] When the positive cumulative difference between any two adjacent acquisition time points is greater than the first threshold, and the positive cumulative difference between any two adjacent acquisition time points is greater than the second threshold, it is determined that the table switching time is between the any two adjacent acquisition time points, or the later acquisition time point of the any two adjacent acquisition time points, and the second threshold is greater than the first threshold;
[0159] When the positive cumulative difference between any two adjacent acquisition time points is greater than the first threshold, and the positive cumulative difference between any two adjacent acquisition time points is less than the second threshold, it is determined that the table switching time is not between the any two adjacent acquisition time points, and is not the later acquisition time point between the any two adjacent acquisition time points.
[0160] Further, based on any of the above embodiments, as an example of the present application, the above determination unit is further configured to:
[0161] In the case where a change is detected in the current water meter associated with the target water receiving point within the preset detection time, determining the target collection time point of the change within the preset detection time;
[0162] The above target collection time point is used as the above table switching time.
[0163] Further, based on any of the above embodiments, as an example of the present application, the above device also includes:
[0164] A code value acquisition unit, used to acquire a starting code value after the current water meter is installed at the target water connection point, and an ending code value of a historical water meter replaced by the current water meter;
[0165] A judgment unit, configured to determine whether the replacement of the historical water meter by the current water meter affects the water flow data recorded at the target water connection point according to the difference between the end code value and the start code value;
[0166] An updating unit is used to update the water flow data of the target water connection point according to the end code value, the start code value and the meter replacement time, while affecting the water flow data recorded at the target water connection point.
[0167] Further, based on any of the above embodiments, as an example of the present application, the above judgment unit is specifically used for:
[0168] When the difference is less than the first threshold, or when the difference is greater than the first threshold and greater than the second threshold, it is determined that the current water meter replaces the historical water meter and affects the water flow data recorded at the target water connection point;
[0169] When the difference is greater than the first threshold and less than the second threshold, it is determined that the replacement of the historical water meter by the current water meter does not affect the water flow data recorded at the target water connection point.
[0170] Further, based on any of the above embodiments, as an example of the present application, the above device is specifically used for:
[0171] Predetermine the instantaneous flow rate and pipe diameter of the above current water meter;
[0172] The second threshold is calculated based on the instantaneous flow velocity, the pipe diameter, the pi ratio, and the time interval between any two adjacent acquisition time points.
[0173] Further, based on any of the above embodiments, as an example of the present application, the acquisition unit is specifically used for:
[0174] Obtain the water receiving point identifier of the target water receiving point;
[0175] Determine a device identifier associated with the water connection point identifier, wherein the device identifier is a unique identifier determined according to the factory code and manufacturer information of each current water meter;
[0176] The current water meter associated with the target water connection point is determined based on the device identifier associated with the water connection point identifier.
[0177] It should be noted that the table change identification device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0178] The functional units and modules in the above embodiments may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the above integrated units may be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present application.
[0179] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0180] An embodiment of the present application further provides an electronic device, the electronic device comprising one or more processors and a memory;
[0181] The memory is coupled to one or more processors, and the memory is used to store computer program codes, the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the table switching identification method shown above.
[0182] The electronic device may be a mobile phone, a smart screen, a tablet computer, a wearable electronic device, an in-vehicle electronic device, an augmented reality (AR) device, a virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a projector, or a communication device such as a server, a storage device, a base station, or a smart car, etc. The embodiments of the present application do not impose any restrictions on the specific type of the electronic device.
[0183] An embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored; when the computer-readable storage medium is executed on an electronic device, the electronic device executes the table switching identification method shown above.
[0184] The above-mentioned computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the above-mentioned computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The above-mentioned computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media integrated therein. The above-mentioned available media may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium, or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0185] The embodiment of the present application also provides a computer program product including computer instructions, which, when executed on an electronic device, enables the electronic device to execute the table switching identification method shown above.
[0186] The computer storage medium and computer program product provided in the above-mentioned embodiments of the present application are used to execute the method provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding beneficial effects of the method provided above, and will not be repeated here.
[0187] In the above embodiments, it can also be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The above computer program product includes one or more computer instructions. When the above computer instructions are loaded and executed on a computer, the above process or function according to the embodiment of the present application is generated in whole or in part. The above computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The above computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the above computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The above computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrated. The available media may be magnetic media (such as floppy disks, hard disks, and magnetic tapes), optical media (such as digital versatile discs (DVDs)), or semiconductor media (such as solid state disks (SSDs)).
[0188] Figure 7 A schematic diagram of the structure of an electronic device provided for an embodiment of the present disclosure, the device may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0189] Device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , and a communication component 716 .
[0190] The processing component 702 generally controls the overall operation of the device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.
[0191] The memory 704 is configured to store various types of data to support operations on the device 700. Examples of such data include instructions for any application or method operating on the device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0192] The power supply component 706 provides power to the various components of the device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 700.
[0193] The multimedia component 708 includes a screen that provides an output interface between the above-mentioned device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The above-mentioned touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the above-mentioned touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0194] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the device 700 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0195] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0196] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the device 700. For example, the sensor assembly 714 can detect the open / closed state of the device 700, the relative positioning of components, such as the display and keypad of the device 700, and the sensor assembly 714 can also detect the position change of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, the orientation or acceleration / deceleration of the device 700, and the temperature change of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0197] The communication component 716 is configured to facilitate wired or wireless communication between the device 700 and other devices. The device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0198] In an exemplary embodiment, the apparatus 700 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.
[0199] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by a processor 720 of the device 700 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0200] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0201] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0202] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the above modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0203] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0204] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A table change identification method, characterized in that: The method comprises: Obtaining a current water meter associated with a target water connection point, wherein the target water connection point is any water connection point; Determine the positive cumulative value of the current water meter at each collection time point when no change is detected in the current water meter associated with the target water connection point within a preset detection time period, wherein the preset detection time period includes: a plurality of collection time points with the same or different intervals; Determine the positive cumulative difference between all adjacent collection time points according to the positive cumulative value of the current water meter at each collection time point; Determine the replacement time of the current water meter to replace the historical water meter according to the positive cumulative difference between any two adjacent collection time points; The method of determining the replacement time of the current water meter for replacing the historical water meter according to the positive cumulative difference between any two adjacent collection time points includes: When the positive cumulative difference between any two adjacent acquisition time points is less than a first threshold, determining that the table switching time is between the any two adjacent acquisition time points; When the positive cumulative difference between any two adjacent acquisition time points is greater than the first threshold, and the positive cumulative difference between any two adjacent acquisition time points is greater than the second threshold, determining that the table switching time is between the any two adjacent acquisition time points; When the positive cumulative difference between any two adjacent acquisition time points is greater than the first threshold value, and the positive cumulative difference between any two adjacent acquisition time points is less than the second threshold value, it is determined that the meter replacement time is not between the any two adjacent acquisition time points, the first threshold value is zero, the second threshold value is greater than the first threshold value, and the second threshold value is the limit water flow threshold value per unit time; Wherein, after determining the meter replacement time for the current water meter to replace the historical water meter, the method further includes: Obtaining the starting code value of the current water meter after it is installed at the target water connection point, and the ending code value of the replaced historical water meter; determining a difference between the end code value and the start code value; Determining whether replacing the historical water meter with the current water meter affects recording of water flow data of the target water connection point according to the magnitude relationship between the difference and the first threshold and the second threshold includes: When the difference between the end code value and the start code value is less than a first threshold value, or when the difference is greater than the first threshold value and greater than a second threshold value, it is determined that the current water meter replaces the historical water meter, affecting the recording of the water flow data of the target water connection point; When the difference between the end code value and the start code value is greater than the first threshold value and less than the second threshold value, it is determined that replacing the historical water meter with the current water meter does not affect the water flow data recorded at the target water connection point; In the case of affecting the recording of the water flow data of the target water connection point, the end code value, the start code value and the meter replacement time are uploaded to the water management system, wherein the water management system is used to update the water flow data of the target water connection point according to the end code value, the start code value and the meter replacement time.
2. The table change identification method according to claim 1, characterized in that: The method further comprises: When a change is detected in the current water meter associated with the target water receiving point within the preset detection time, determining the target collection time point of the change within the preset detection time; The target collection time point is used as the table switching time.
3. The table change identification method according to claim 1, characterized in that: The method further comprises: Predetermining the instantaneous flow rate and pipe diameter of the current water meter; The second threshold is calculated according to the instantaneous flow velocity, the pipe diameter, pi, and the time interval between any two adjacent acquisition time points.
4. The table change identification method according to any one of claims 1 to 3, characterized in that: The obtaining of the current water meter associated with the target water connection point includes: Obtaining a water receiving point identifier of the target water receiving point; Determine a device identifier associated with the water connection point identifier, wherein the device identifier is a unique identifier determined according to the factory code and manufacturer information of each current water meter; The current water meter associated with the target water connection point is determined according to the device identifier associated with the water connection point identifier.
5. A table change identification device, characterized in that: The device comprises: An acquisition unit, used to acquire a current water meter associated with a target water connection point, wherein the target water connection point is any water connection point; a determination unit, configured to determine a positive cumulative value of the current water meter at each collection time point when no change is detected in the current water meter associated with the target water connection point within a preset detection time period, wherein the preset detection time period includes: a plurality of collection time points with the same or different intervals; A calculation unit, used to determine the positive cumulative difference between all adjacent collection time points according to the positive cumulative value of the current water meter at each collection time point; An identification unit, used to determine the meter replacement time for the current water meter to replace the historical water meter according to the positive cumulative difference between any two adjacent collection time points; The method of determining the replacement time of the current water meter for replacing the historical water meter according to the positive cumulative difference between any two adjacent collection time points includes: When the positive cumulative difference between any two adjacent acquisition time points is less than a first threshold, determining that the table switching time is between the any two adjacent acquisition time points; When the positive cumulative difference between any two adjacent acquisition time points is greater than the first threshold, and the positive cumulative difference between any two adjacent acquisition time points is greater than the second threshold, determining that the table switching time is between the any two adjacent acquisition time points; When the positive cumulative difference between any two adjacent acquisition time points is greater than the first threshold value, and the positive cumulative difference between any two adjacent acquisition time points is less than the second threshold value, it is determined that the meter replacement time is not between the any two adjacent acquisition time points, the first threshold value is zero, the second threshold value is greater than the first threshold value, and the second threshold value is the limit water flow threshold value per unit time; The device further comprises: a code value acquisition unit, which is used to acquire a start code value of the current water meter after it is installed at the target water connection point, and an end code value of the replaced historical water meter; a judgment unit, used to determine the difference between the termination code value and the start code value, and determine whether the replacement of the historical water meter by the current water meter affects the recording of the water flow data of the target water connection point according to the size relationship between the difference between the termination code value and the start code value and the first threshold value and the second threshold value; specifically, when the difference between the termination code value and the start code value is less than the first threshold value, or when the difference is greater than the first threshold value and greater than the second threshold value, it is determined that the replacement of the historical water meter by the current water meter affects the recording of the water flow data of the target water connection point; when the difference between the termination code value and the start code value is greater than the first threshold value and less than the second threshold value, it is determined that the replacement of the historical water meter by the current water meter does not affect the recording of the water flow data of the target water connection point; An updating unit is used to upload the end code value, the start code value and the meter replacement time to the water management system while affecting the water flow data of the target water connection point, wherein the water management system is used to update the water flow data of the target water connection point according to the end code value, the start code value and the meter replacement time.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
