CN113395610A - Electromagnetic water meter data supplementary reading method and system - Google Patents

Electromagnetic water meter data supplementary reading method and system Download PDF

Info

Publication number
CN113395610A
CN113395610A CN202110946015.7A CN202110946015A CN113395610A CN 113395610 A CN113395610 A CN 113395610A CN 202110946015 A CN202110946015 A CN 202110946015A CN 113395610 A CN113395610 A CN 113395610A
Authority
CN
China
Prior art keywords
data
water meter
electromagnetic water
command
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110946015.7A
Other languages
Chinese (zh)
Other versions
CN113395610B (en
Inventor
康云霞
魏东林
陈淑桦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Degao Technology Co ltd
Original Assignee
Jiangsu Degao Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Degao Technology Co ltd filed Critical Jiangsu Degao Technology Co ltd
Priority to CN202110946015.7A priority Critical patent/CN113395610B/en
Publication of CN113395610A publication Critical patent/CN113395610A/en
Application granted granted Critical
Publication of CN113395610B publication Critical patent/CN113395610B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F15/00Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
    • G01F15/06Indicating or recording devices
    • G01F15/061Indicating or recording devices for remote indication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter

Landscapes

  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses a method and a system for supplementing and copying data of an electromagnetic water meter, which comprise the following steps: the equipment is awakened; reporting the data in the sleep period to a server; judging whether a response is received, if so, entering the next step; if not, storing the data to an unreported set; traversing the unreported set and resupplying the data; judging whether a response is received, if so, clearing the designated sequence objects in the unreported set; if not, entering the next step; sending the supplementary report data again, and circularly appointing times; sending a preset command request; the server responds to whether a preset command exists or not, and if so, the next step is carried out; if not, ending the running time and carrying out dormancy; the electromagnetic water meter processes a preset command; and when the running time is finished, the sleep is carried out. Therefore, data can be reported and reported more timely and more completely by the aid of the electromagnetic water meter data regular automatic reporting and the combination of a preset command processing mode. Therefore, the leakage control analysis of the data of the electromagnetic water meter can be more timely and accurate.

Description

Electromagnetic water meter data supplementary reading method and system
Technical Field
The application relates to the technical field of communication, in particular to a method and a system for supplementary reading of data of an electromagnetic water meter.
Background
The electromagnetic water meter is one of water supply enterprise water metering tools, plays a vital role in leakage control, and the timeliness and integrity of the data of the electromagnetic water meter directly influence leakage analysis.
At present, the data additional reading method of the electromagnetic water meter is roughly two methods. a) And after manual checking, the installation site is subjected to device data supplementary reporting. b) Manually estimating the water consumption of the equipment with serious data loss in a single day and the small flow value at night according to the water consumption and the small flow at night in the past. The first method has low working efficiency and poor data acquisition timeliness. The second method has low estimation accuracy and lacks estimation scientificity.
Disclosure of Invention
In order to solve one or more of the above problems, the present invention is directed to a method and a system for additional reading of data of an electromagnetic water meter.
According to one aspect of the application, a method for supplementary reading of data of an electromagnetic water meter is provided. The method comprises the following steps:
the equipment is awakened;
reporting the data in the sleep period to a server;
judging whether a response is received, if so, entering the next step; if not, storing the data to an unreported set;
traversing the unreported set and resupplying the data;
judging whether a response is received, if so, clearing the designated sequence objects in the unreported set;
if not, entering the next step;
sending the supplementary report data again, and circularly appointing times;
sending a preset command request;
the server responds to whether a preset command exists or not, and if so, the next step is carried out; if not, ending the running time and carrying out dormancy;
the electromagnetic water meter processes a preset command;
and when the running time is finished, the sleep is carried out.
In some embodiments, a method of storing data to an unreported set comprises the steps of:
and storing the data packets which do not receive the response into the designated set by taking the time point + the sequence number of the data packets as a sequence object. Therefore, data can be conveniently and rapidly searched and checked in order.
In some embodiments, the designated set stores unresponsive sequence objects within 7 days. Therefore, the equipment can be ensured to work in a lower energy consumption range.
In some embodiments, the number of times the supplemental data is re-sent is ≦ 2.
In some embodiments, the forming of the preset command comprises the steps of:
recombining all reported data into a new object with descending time according to the unique identifier of the electromagnetic water meter;
traversing the set, extracting time information to compare with a standard time set, and acquiring a new time set T which is not copied back;
analyzing the objects in the set T, wherein the objects are larger than 20, and storing the objects in the set W as monitored equipment;
combining the time which is not copied back, issuing a command packet as a preset command, and waiting for the electromagnetic water meter to be awakened;
the electromagnetic water meter wakes up the online, the equipment combines the data packet to send according to the time which is not read back in the preset command,
and judging whether the preset command is successfully processed, if so, destroying the preset command, and waiting for starting a new task.
Therefore, the data copying through the preset command is the data copying of the hardware data, namely the data of the electromagnetic water meter, so that the beneficial effect of more accurate data is achieved.
In some embodiments, it is determined whether the preset command is successfully processed, and if not, the method further includes the following steps:
judging whether the preset command waiting time is exceeded or not; if yes, executing the next step; if not, returning to the application program task starting step;
recombining the unsuccessful preset commands into a new set E;
traversing the set E to obtain the unique identifier and the date T of the equipment;
and the application program analyzes according to the existing data and simulates the data of the T date.
Therefore, even if the data of the electromagnetic water meter cannot be reported in time under the condition that the signal is influenced by the bad environment, the expected data can be calculated by the technical means of simulation, and the data can be further reported.
In some embodiments, the application performs analysis based on the existing data, and the step of simulating the T-date data comprises:
the server acquires historical data of each point of the electromagnetic water meter at preset time, and the historical data is reordered and stored in a set RT;
analyzing the positive and negative conditions of the difference value of the flow of each time point and the flow of the previous time point in the electromagnetic water meter of the electromagnetic water meter, wherein the difference value is positive and is 1, the difference value is negative and is-1, and the difference value is represented by an array R;
the data of the electromagnetic water meter is a fluctuation value delta, the flow rate of the point is F, the flow rate of the previous point is F1, the flow rate difference of the two points is delta F, F = F1+. DELTA F.DELTA.where.delta. epsilon. R[i]K,R[i]K](ii) a K is the linear coefficient of a certain point value for the previous days.
Therefore, even if the data of the electromagnetic water meter cannot be reported in time under the condition that the signal is influenced by the bad environment, the expected data can be calculated by the technical means of simulation, and the data can be further reported.
According to another aspect of the present application, there is provided an electromagnetic water meter data supplementary reading system, configured to execute the foregoing electromagnetic water meter data supplementary reading method, including:
the electromagnetic water meter equipment is used for collecting and processing data of water flow;
a server: for receiving and processing data from the electromagnetic water meter device.
In some embodiments, an electromagnetic water meter apparatus includes:
the awakening unit is used for awakening the electromagnetic water meter equipment;
the data reporting unit is used for reporting data to the server;
the first judgment unit is used for judging the instruction in the electromagnetic water meter;
a command transmitting unit for transmitting a command request to the server;
a command processing unit for processing a command;
and the storage unit is used for storing the data generated by the electromagnetic water meter.
In some embodiments, a server comprises:
the data information acquisition unit is used for acquiring data of the electromagnetic water meter;
the data analysis processing unit is used for analyzing and processing the acquired electromagnetic water meter data;
the command issuing unit is used for issuing commands to the electromagnetic water meter equipment;
a data storage unit for storing the acquired data;
and the first judgment unit is used for judging the instruction in the electromagnetic water meter.
Compared with the prior art, the application has the following beneficial effects:
the data of the electromagnetic water meter is automatically reported at regular intervals, and the reporting and the supplementary reporting of the data can be more timely and more completely carried out by combining a preset command processing mode and a data simulation mode. Therefore, the leakage control analysis of the data of the electromagnetic water meter can be more timely and accurate.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of an embodiment of a data supplementary reading method for an electromagnetic water meter according to the present application;
fig. 2 is a flowchart of an embodiment of a data supplementary reading method for an electromagnetic water meter according to the present application;
fig. 3 is a flowchart of an embodiment of a data supplementary reading method for an electromagnetic water meter according to the present application;
FIG. 4 is a schematic diagram of an embodiment of an electromagnetic water meter data make-up system of the present application;
fig. 5 is a schematic structural diagram of an electromagnetic water meter data complementary reading system according to the present application;
fig. 6 is a schematic structural diagram of a server of an electromagnetic water meter data supplementary reading system according to the present application;
fig. 7 is a data sorting set chart of an electromagnetic water meter data make-up system according to the present application;
fig. 8 is a data sorting set chart of an electromagnetic water meter data complementary reading system according to the present application;
fig. 9 is a set chart of an electromagnetic water meter data complementary reading system E according to the present application;
FIG. 10 is a flow data set chart of an electromagnetic water meter data make-up system of the present application;
fig. 11 is a flow data difference set chart of an electromagnetic water meter data complementary reading system according to the present application;
fig. 12 is a flow data difference set chart of an electromagnetic water meter data complementary reading system of the present application;
fig. 13 is a flow data difference set chart of an electromagnetic water meter data complementary reading system of the present application;
fig. 14 is a flow data difference set chart of an electromagnetic water meter data complementary reading system of the present application;
fig. 15 is a data supplementary reading system of an electromagnetic water meter according to the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
as shown in fig. 1, an implementation flow of an electromagnetic water meter data additional reading method is disclosed, which specifically includes:
s101: the device wakes up.
Specifically, the equipment refers to one or more electromagnetic water meters according to the actual application, and the electromagnetic water meters can wake up themselves according to a preset frequency. The frequency here may be set to 15 minutes, 1 hour, 2 hours, 4 hours, 6 hours. The setting is carried out according to the actual situation.
S102: and reporting the data in the sleep period to a server.
Specifically, in this embodiment, the preset self-awakening frequency is 4 hours, the electromagnetic water meter still acquires data information in the sleep period, and after the electromagnetic water meter is awakened successfully in step S101, the data acquired in the sleep period of 4 hours is subpackaged per hour to the designated server.
S103: judging whether a response is received, if so, entering the next step S105; if not, executing S104: and storing the data to an unreported set.
Specifically, the server receives the data reported by the electromagnetic water meter and then replies a response. If the electromagnetic water meter does not receive the response reply of the server, the electromagnetic water meter records the data packet which does not receive the response, and the time point and the sequence number of the data packet are used as a sequence object to be stored in the appointed set, namely the unreported set. In terms of energy consumption, the unreported set only stores unresponsive sequence objects within 7 days.
S105: and traversing the unreported set and resupplying the data.
Specifically, as described in step S103, in the whole process of reporting data, if there is a case where the server does not respond, the data is stored in the unreported set, the data is reported during the sleep period of the current period after the next electromagnetic water meter wakes up by itself, and then the sequence object whose response is not received in the designated set is traversed, and the data is complemented according to the first-in last-out principle and the time from near to far. Therefore, the data can be effectively prevented from being missed.
S106: judging whether a response is received, if so, executing S107: and clearing the designated sequence object in the unreported set.
Specifically, in the process of this reporting, it still needs to be determined whether a response from the server is received, and if a response from the server is received, the sequence object is deleted from the specified set, that is, the unreported set. Therefore, whether the server receives the response is judged again so as to better determine the connection with the server, and the specified sequence objects in the unreported set are cleared after the response is determined, so that the data can be effectively prevented from being missed.
If not, the next step S108 is carried out;
s108: and sending the supplementary report data again, and circulating for specified times.
Specifically, if the response of the server is not received, the electromagnetic water meter retransmits the data packet until the traversal of the designated set, that is, the set which is not reported, is finished, and generally the data packet is transmitted for 2 times at most. Therefore, the data can be effectively prevented from being missed, and the consideration of the number designation is to prevent the data transmission which needs to be normally reported later from being limited because too many supplementary reports occupy the flow of the data transmission.
S109: a preset command request is sent.
S110: the server responds to whether a preset command exists or not, and if so, the next step S111 is carried out; if not, executing S112: when the running time is over, the sleep is carried out;
s111: the electromagnetic water meter processes a preset command;
s112: and when the running time is finished, the sleep is carried out.
Specifically, after the traversal of the designated set is finished, the electromagnetic water meter sends a preset command request to the server, waits for whether the server responds to the preset command, if so, the preset command is issued to the electromagnetic water meter, the electromagnetic water meter processes the preset command, and if not, the electromagnetic water meter equipment enters a dormant state. The preset command refers to a command issued by the server to the electromagnetic water meter device, and the preset command includes a preset command for data copying. Therefore, in order to report data more accurately, the server needs to determine whether to generate the preset command according to actual conditions. The data supplementary reading is carried out through the preset command, so that the supplementary sending or the correction of the hardware data can be further carried out, and the accuracy of the data of the electromagnetic water meter is further ensured.
Example 2
As shown in fig. 2, it mainly embodies the forming process of the preset command, and the specific method steps are as follows:
s201: the application task in the server background starts.
Specifically, the server background receives data reported by the electromagnetic water meter, and a certain condition is preset to process the reported data.
S202: and recombining all reported data into a new object with descending time according to the unique identification of the electromagnetic water meter.
In this embodiment, all the reported data generally refers to data of the day before the current day. Specifically, each electromagnetic water meter has a unique identifier, which may be, for example, a factory code of the electromagnetic water meter. Each electromagnetic water meter is marked by the identifier and reports data, but the data are generally reported and stored in no order, so that the data reported by each electromagnetic water meter can be combined into a new object according to a time descending order after each electromagnetic water meter is marked by the identifier and reports the data, thereby facilitating the implementation of subsequent steps and the checking of the reported data.
Supplementary copying of data of the electromagnetic water meter requires certain real-time performance, and after zero point is passed, the equipment management application program carries out grouping again on yesterday reported data packets according to the delivery codes of the electromagnetic water meter to create a set A mark-xxx That is, as shown in fig. 7 and 8, the set stores recently reported data in descending order of time, and each set of sequence objects includes time information.
S203: and traversing the set, extracting time information, comparing the time information with the standard time set, and acquiring a new time set T which is not copied back.
Specifically, the last 24 groups of sequence objects are traversed, whether time information is '00' and '23' is extracted, and if the electromagnetic water meter is matched, the yesterday data packet is complete.
If not, copying the standard array, declaring a new object set:
t [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23], traversing 23 groups of sequence objects, extracting time 0,1,2,3 & cndot & cn. If the set T deletes the object, and so on, the last remaining object in the set T is the unreported time point yesterday.
S204: and analyzing the objects in the set T, wherein the objects are larger than a preset threshold value and are stored in the set W to be used as monitored equipment. In this embodiment, the preset threshold is 20.
Specifically, if the number of the objects in the statistical set T is greater than a threshold value, for example, 20, it is determined that a serious fault occurs in the communication of the electromagnetic water meter. And storing the delivery code + date of the electromagnetic water meter as a sequence object into a new set W, wherein the set is an equipment failure set. The fault equipment can be quickly found through the equipment fault set, and later-stage maintenance is facilitated.
S205: and combining the time which is not copied back, issuing a command packet as a preset command, and waiting for the electromagnetic water meter to be awakened.
Combining the unreported time points into an issuing command, namely the preset command described in the embodiment 1, storing the generated preset command in a server, sending the preset command to the electromagnetic water meter after receiving the preset command request of the electromagnetic water meter, and issuing a data packet according to the preset command after the electromagnetic water meter is awakened and the current time node data is executed.
S206: and the electromagnetic water meter wakes up the online, and the equipment combines the data packet to send according to the time which is not copied back in the preset command.
The preset commands comprise commands of not reading time back, and after the electromagnetic water meter is waken up to be on-line, the data packets are combined according to the preset commands and sent.
S207: and (5) destroying a preset command, and waiting for starting a new task. Specifically, after the preset command is processed, the preset command is cleared, and a next new task is started.
Therefore, by the method of setting the preset command, the unreported time point data can be found out in time, and the supplementary reading of the data of the electromagnetic water meter can be better completed. Particularly, by designing the set T and setting a threshold value for the set T, for example, in this embodiment, the threshold value is 20, and when the number of objects in the set T is greater than 20, it is inferred that the communication of the electromagnetic water meter has a serious fault, and then the faulty water meter can be maintained, and the like, so that the accuracy of data acquisition and supplementary reporting is more effectively ensured.
Example 3
As shown in fig. 3, in order to perform data re-copying more accurately, before the preset command is destroyed and a new task is started, other steps are further included, and the whole processing process specifically includes the following steps:
s301: starting an application program task of a server background;
s302: recombining all reported data into a new object with descending time according to the unique identifier of the electromagnetic water meter;
s303: traversing the set, extracting time information to compare with a standard time set, and acquiring a new time set T which is not copied back;
s304: analyzing the objects in the set T, wherein the objects are larger than a preset threshold value and are stored in the set W to serve as monitored equipment;
s305: combining the time which is not copied back, issuing a command packet as a preset command, and waiting for the electromagnetic water meter to be awakened;
s306: the electromagnetic water meter wakes up the online, the equipment combines the data packet to send according to the time which is not read back in the preset command,
s307: judging whether the preset command is processed successfully, if so, executing S312: presetting a command for destroying, and waiting for starting a new task; if not, the next step S308 is executed.
Specifically, steps S301 to S306 are the same as steps S201 to S207 in embodiment 2, that is, the device management application regroups yesterday reporting packets according to the factory code of the electromagnetic water meter after zero point to create a set a mark-xxx As shown in fig. 7 and 8, the set stores recently reported data in descending time order, and each set of sequence objects includes time information. And traversing the last 24 groups of sequence objects, and extracting whether the time information is '00' and '23', wherein if the electromagnetic water meter is matched, the yesterday data packet is complete. If not, copying the standard array, declaring a new object set: t: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]Traversing 23 groups of sequence objects, extracting time 0,1,2,3, and comparing each time point with the set T.If the set T deletes the object, and so on, the last remaining object in the set T is the unreported time point yesterday. Combining the unreported time points into an issuing command, namely the preset command described in the embodiment 1, storing the generated preset command in a server, sending the preset command to the electromagnetic water meter after receiving the preset command request of the electromagnetic water meter, and issuing a data packet according to the preset command after the electromagnetic water meter is awakened and the current time node data is executed. And if the number of the objects in the statistical set T is more than 20, the communication of the electromagnetic water meter is judged to have serious faults. And storing the delivery code + date of the electromagnetic water meter as a sequence object into a new set W, wherein the set is an equipment failure set. The fault equipment can be quickly found through the equipment fault set, and later-stage maintenance is facilitated. The successful processing of the preset command means that the server sends the preset command, the electromagnetic water meter hardware reports data additionally, and the server analyzes and confirms and destroys the preset command.
S308: judging whether the preset command waiting time is exceeded or not; if yes, executing the next step; if not, returning to the application program task starting step.
Specifically, the process of processing the preset command generally includes that the server successfully sends the preset command, the electromagnetic water meter reports the data additionally, and the server analyzes and confirms that the electromagnetic water meter reports the data additionally according to the preset command and then completes the processing of the preset command. The purpose of setting a preset command waiting time is to stop processing of the preset command in time and to perform a report supplement in other ways, rather than to allow the preset command to respond or process indefinitely and circularly to affect the reporting of subsequent data and cause new data reporting.
S309: the unsuccessful preset commands are reassembled into a new set E.
S310: and traversing the set E to obtain the unique identifier and the date T of the equipment. Specifically, the new set E combines the unretired times, as shown by E in FIG. 9 mark-001, It can be shown that the data of the device 2021-07-20 # 1 point, 5 point, 14 point, 18 point, 2021-07-19 # 01 point, 04 point, 08 point are unsuccessfully processed and require analog data.
S311: and the application program analyzes according to the existing data and simulates the data of the T date.
Specifically, the server acquires the historical data of each point of the electromagnetic water meter at a preset time, and rearranges and stores the historical data to the set RT, namely, the historical data of each point of the electromagnetic water meter at a time of 7 days is copied, and the data is rearranged and stored to the set RT.
And analyzing the positive and negative conditions of the difference value of the flow of each time point and the flow of the previous time point in the electromagnetic water meter of the electromagnetic water meter, wherein the difference value is positive and is negative and is 1, and the difference value is represented by an array R.
The data of the electromagnetic water meter is a fluctuation value delta, the flow of the point needing to be simulated is F, and the flow of the previous point is F1The difference between the flow rates at two points is DeltaF, F = F1+. DELTA F.DELTA.where.delta. epsilon. R[i]K,R[i]K](ii) a K is the linear coefficient of a certain point value for the previous days.
Specifically, F = F1+△F*δ, δ∈[R[i]K,R[i]K]. The flow rate at a certain point is F, and the flow rate at the previous point is F1The flow rate difference is Δ F. The first element of the delta F is the difference value between the second point and the first point acquired by the electromagnetic water meter, the second element is the difference value between the third point and the second point, the third element is the difference value between the fourth point and the second point, and the like. The delta F array records the flow difference of all adjacent points of the electromagnetic water meter. R1, 1,1,1, 1-1]The flow trends from the first flow point to the last flow point of the table at 24 hours a day are recorded, and when i =1, the 1 st flow and 2 nd flow point trends are shown. By analogy, R[i]Indicating the trend of the ith flow and the (i + 1) th flow point. R[i]The value 1 shows that the trend of the ith flow and the (i + 1) th flow is rising, and R[i]And taking the value of-1 to show that the ith flow and the (i + 1) th flow are in a descending trend. K is the linear coefficient of the point value of the previous 6 days, wherein the linear coefficient still takes the empirical value of 0.7,1.5]. When R is 1, delta is [0.7,1.5 ]]Interval random number, when R is-1, delta is [ -0.7, -1.5 [)]Random number between. Therefore, the delta F is analyzed according to the existing data of the electromagnetic water meter, and other missing data of the same day can be simulated as long as one data point of the electromagnetic water meter is known in a certain day.
In this embodiment, since the historical data of each time point in approximately 7 days of the electromagnetic water meter is obtained, K is a linear coefficient of a certain point value in the previous 6 days, as shown in fig. 10 to 14.
Referring to FIG. 10 (a), RT mark-001 The first is data for 24 hours on day 1, the second is data for 24 hours on day 2, and so on. The first row and the first column are the flow of the electromagnetic water meter at the first time point near the first day, the second row and the first column are the flow of the electromagnetic water meter at the first time point near the 2 nd day, and so on. The electromagnetic water meter measures the water flow, taking the third element in the first row as an example, the difference value between the third element and the previous element is 1.34, the difference value between the same point in the previous 6 days and the previous point is +1.34, +1.44, +2.34, +1.04, +1.64, +2.24 in sequence, and the difference value is marked as RT mark-001 The flow rate difference is 1 as shown in fig. 11. Taking the sixth element in the first row as an example, the difference between the sixth element and the previous element is 4.3, and the difference between the same point in the first 6 days and the previous element is sequentially-4.8, -5.3, -4.7, -4.3, -4.5, -4.7, which are marked as RT mark-001 The flow rate difference is 2 as shown in fig. 12.
Through chart analysis, the difference values of the first observation points fluctuate within the amplitude range of +1.34, and the difference values of the second observation points fluctuate within the amplitude range of-4.3. The difference between the flow of each point and the flow of the previous point is represented by a "1" for positive and a "-1" for negative. Analyzing the positive and negative conditions of the point difference value of the equipment for 7 days to obtain an array R1, 1,1,1, 1- ·]. The data is the fluctuation value delta, the flow rate at the point is F, and the flow rate at the previous point is F1And the difference value of the two-point flow is delta F, and a formula is obtained according to the curve chart: f = F1+△F*δ, δ∈[R[i]K,R[i]K]. The standard of the difference of the delta F is [0.21,1.34,3.6,4.3 … ]]K is the linear coefficient of the point value of the previous 6 days, where the linear system takes the empirical value [0.7,1.5 ]]. Therefore, all data of the equipment on the day can be calculated by acquiring any point of the equipment.
Similarly, referring to FIG. 10 (b), RT mark-002 The first is data for 24 hours on day 1, the second is data for 24 hours on day 2, and so on. The first row and the first column are the flow of the electromagnetic water meter at the first time point near the first day, the second row and the first column are the flow of the electromagnetic water meter at the first time point near the 2 nd day, and so on. Taking the third element in the first row as an example, the difference between the third element and the previous element is 9.4, and the difference between the same point on the first 6 days and the previous element is +9.4, +8.46, +10.34, +8.46, +9.40, +11.28, +7.52, which are recorded as RT mark-002 The flow difference is 1. Taking the sixth element in the first row as an example, the difference between the sixth element and the previous element is 1.2, and the difference between the same point in the first 6 days and the previous point is 1.2, 1.08, 1.32, 1.08, 1.20, 1.44 and 0.96 in sequence. Is recorded as RT mark-002 The flow difference is 2.
As can be seen from fig. 13, the first observation point differences all fluctuate within a +9.4 amplitude range, and as can be seen from fig. 14, the second observation point differences all fluctuate within a +1.2 amplitude range. The difference between the flow of each point and the flow of the previous point is represented by a "1" for positive and a "-1" for negative. Analyzing the positive and negative conditions of the point difference value of the equipment for 7 days to obtain an array R1, 1,1,1, 1- ·]. According to the formula: f = F1+△F*δ, δ∈[R[i]K,R[i]K]. The difference DeltaF between each point and the previous point is [0.76, 9.4, -8.3, 0.8,1.2 …]K is the linear coefficient of the point value of the previous 6 days, wherein the linear coefficient still takes the empirical value [0.7,1.5 ]]. Therefore, all data of the equipment on the day can be calculated by acquiring any point of the equipment.
Example 4
As shown in fig. 4 to fig. 6, there is further provided an electromagnetic water meter data supplementary reading system, configured to execute the electromagnetic water meter data supplementary reading method of the foregoing embodiment, where the system includes:
the electromagnetic water meter device 01 is used for acquiring and processing water flow data;
the server 02: for receiving and processing data from the electromagnetic water meter device and command processing.
Wherein, electromagnetic water meter equipment 01 includes:
the awakening unit 011 is used for awakening the electromagnetic water meter equipment;
a data reporting unit 012, configured to report data to the server 02;
the first judging unit 013 is used for judging an instruction in the electromagnetic water meter;
a command transmitting unit 014 for transmitting a command request to the server;
a command processing unit 015 to process a command;
and the storage unit 016 is used for storing data generated by the electromagnetic water meter.
The server 02 includes:
the data information acquisition unit 021 is used for acquiring the data of the electromagnetic water meter;
a data analysis processing unit 022, configured to analyze and process the acquired electromagnetic water meter data;
a command issuing unit 023 for issuing commands to the electromagnetic water meter device;
and a data storage unit 024 for storing the acquired data.
And a second judgment unit 025, configured to judge an instruction inside the server.
In another aspect, the present invention provides a non-transitory computer-readable storage medium, in which one or more programs including executable instructions are stored, where the executable instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to perform the relevant steps in the above method embodiments, for example:
recombining all reported data into a new object with descending time according to the unique identifier of the electromagnetic water meter;
traversing the set, extracting time information to compare with a standard time set, and acquiring a new time set T which is not copied back;
analyzing the objects in the set T, wherein the objects are larger than 20, and storing the objects in the set W as monitored equipment;
combining the time which is not copied back, issuing a command packet as a preset command, and waiting for the electromagnetic water meter to be awakened;
the electromagnetic water meter wakes up the online, the equipment combines the data packet to send according to the time which is not read back in the preset command,
and (5) destroying a preset command, and waiting for starting a new task.
Judging whether the preset command waiting time is exceeded or not; if yes, executing the next step; if not, returning to the application program task starting step;
recombining the unsuccessful preset commands into a new set E;
traversing the set E to obtain the unique identifier and the date T of the equipment;
and the application program analyzes according to the existing data and simulates the data of the T date.
An embodiment of the present invention further provides a computer program product, fig. 15 is a schematic diagram of a hardware structure of an electronic device that executes a method for performing data additional reading on an electromagnetic water meter, as shown in fig. 15, where the device includes:
one or more processors 310 and memory 320.
The device for executing the electromagnetic water meter data additional reading method can also comprise: an input device 330 and an output device 340.
The processor 310, the memory 320, the input device 330, and the output device 340 are communicatively coupled.
Memory 320, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 310 executes various functional applications and data processing of the server by running the nonvolatile software program, instructions and modules stored in the memory 320, that is, the electromagnetic water meter data supplementary reading method of the above-described method embodiment is implemented.
The memory 320 includes a storage program area that can store an operating system, an application program required for at least one function. Further, the memory 320 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 320 may optionally include memory located remotely from processor 310, which may be connected to a data synchronization device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 330 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the data synchronization device. The output device 340 may include a display device such as a display screen.
The one or more modules are stored in the memory 320, and when executed by the one or more processors 310, perform the electromagnetic water meter data make-up method in any of the above-described method embodiments.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. The method for supplementing and copying the data of the electromagnetic water meter is characterized by comprising the following steps of:
the equipment is awakened;
reporting the data in the sleep period to a server;
judging whether a response is received, if so, entering the next step; if not, storing the data to an unreported set;
traversing the unreported set and resupplying the data;
judging whether a response is received, if so, clearing the designated sequence objects in the unreported set;
if not, entering the next step;
sending the supplementary report data again, and circularly appointing times;
sending a preset command request;
the server responds to whether a preset command exists or not, and if so, the next step is carried out; if not, ending the running time and carrying out dormancy;
the electromagnetic water meter processes a preset command;
when the running time is over, the sleep is carried out;
wherein the forming of the preset command comprises the steps of:
starting an application program task;
recombining all reported data into a new object with descending time according to the unique identifier of the electromagnetic water meter;
traversing the set, extracting time information to compare with a standard time set, and acquiring a new time set T which is not copied back;
analyzing the objects in the set T, wherein the objects are larger than a preset threshold value and are stored in the set W to serve as monitored equipment;
combining the time which is not copied back, issuing a command packet as a preset command, and waiting for the electromagnetic water meter to be awakened;
the electromagnetic water meter wakes up the online, the equipment combines the data packet to send according to the time which is not read back in the preset command,
and judging whether the preset command is successfully processed, if so, destroying the preset command, and waiting for starting a new task.
2. The method for copying data of an electromagnetic water meter according to claim 1, wherein,
the method for storing the data into the unreported set comprises the following steps:
and storing the data packets which do not receive the response into the designated set by taking the time point + the sequence number of the data packets as a sequence object.
3. The method for copying data of an electromagnetic water meter according to claim 2, wherein,
the specified set stores unresponsive sequence objects within 7 days.
4. The method for copying data of an electromagnetic water meter according to claim 1, wherein,
the number of times of sending the supplementary report data again is less than or equal to 2.
5. The method for copying data of an electromagnetic water meter according to claim 1, wherein,
judging whether the preset command is successfully processed, if not, further comprising the following steps:
judging whether the preset command waiting time is exceeded or not; if yes, executing the next step; if not, returning to the application program task starting step;
recombining the unsuccessful preset commands into a new set E;
traversing the set E to obtain the unique identifier and the date T of the equipment;
and the application program analyzes according to the existing data and simulates the data of the T date.
6. The method for copying data of an electromagnetic water meter according to claim 5, wherein,
the application program analyzes according to the existing data, and the step of simulating the T date data comprises the following steps:
the server acquires historical data of each point of the electromagnetic water meter at preset time, and the historical data is reordered and stored in a set RT;
analyzing the positive and negative conditions of the difference value of the flow of each time point and the flow of the previous time point in the electromagnetic water meter of the electromagnetic water meter, wherein the difference value is positive and is 1, the difference value is negative and is-1, and the difference value is represented by an array R;
the data of the electromagnetic water meter is a fluctuation value delta, the flow at the point is F, and the flow at the previous point is F1The difference between the two flow rates is DeltaF, F = F1+. DELTA F.DELTA.where.delta. epsilon. R[i]K,R[i]K](ii) a K is the linear coefficient of a certain point value for the previous days.
7. The system for supplementary reading of data of the electromagnetic water meter is characterized by being used for executing the method for supplementary reading of data of the electromagnetic water meter according to any one of claims 1 to 6, and comprising the following steps:
the electromagnetic water meter equipment is used for collecting and processing data of water flow;
a server: for receiving and processing data from the electromagnetic water meter device.
8. The electromagnetic water meter data make-up system of claim 7, wherein:
the electromagnetic water meter apparatus includes:
the awakening unit is used for awakening the electromagnetic water meter equipment;
the data reporting unit is used for reporting data to the server;
the first judgment unit is used for judging the instruction in the electromagnetic water meter;
a command transmitting unit for transmitting a command request to the server;
a command processing unit for processing a command;
and the storage unit is used for storing the data generated by the electromagnetic water meter.
9. The electromagnetic water meter data make-up system of claim 7, wherein: the server includes:
the data information acquisition unit is used for acquiring data of the electromagnetic water meter;
the data analysis processing unit is used for analyzing and processing the acquired electromagnetic water meter data;
the command issuing unit is used for issuing commands to the electromagnetic water meter equipment;
a data storage unit for storing the acquired data;
and the second judgment unit is used for judging the instruction in the server.
CN202110946015.7A 2021-08-18 2021-08-18 Electromagnetic water meter data supplementary reading method and system Active CN113395610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110946015.7A CN113395610B (en) 2021-08-18 2021-08-18 Electromagnetic water meter data supplementary reading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110946015.7A CN113395610B (en) 2021-08-18 2021-08-18 Electromagnetic water meter data supplementary reading method and system

Publications (2)

Publication Number Publication Date
CN113395610A true CN113395610A (en) 2021-09-14
CN113395610B CN113395610B (en) 2021-11-09

Family

ID=77622750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110946015.7A Active CN113395610B (en) 2021-08-18 2021-08-18 Electromagnetic water meter data supplementary reading method and system

Country Status (1)

Country Link
CN (1) CN113395610B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458868A (en) * 2008-12-23 2009-06-17 上海城市水资源开发利用国家工程中心有限公司 Data collection method used for remote wireless meter reading system
US20130151979A1 (en) * 2011-12-08 2013-06-13 Energy Management Solutions, LLC d/b/a Entersp System and method for enterprise utility data aggregation, management, and reporting
CN108806227A (en) * 2018-09-03 2018-11-13 武汉盛帆电子股份有限公司 A kind of NB-IOT water meters and processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458868A (en) * 2008-12-23 2009-06-17 上海城市水资源开发利用国家工程中心有限公司 Data collection method used for remote wireless meter reading system
US20130151979A1 (en) * 2011-12-08 2013-06-13 Energy Management Solutions, LLC d/b/a Entersp System and method for enterprise utility data aggregation, management, and reporting
CN108806227A (en) * 2018-09-03 2018-11-13 武汉盛帆电子股份有限公司 A kind of NB-IOT water meters and processing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王瑞: "基于LORA通信的无线水表抄表系统的设计", 《中国优秀硕士学位论文全文数据库(电子期刊)》 *

Also Published As

Publication number Publication date
CN113395610B (en) 2021-11-09

Similar Documents

Publication Publication Date Title
CN108736465B (en) Future-state power grid model construction method and device
CN110262373B (en) Working hour collection method and device, computer equipment and storage medium
CN101546180A (en) Information collection apparatus, method, and program
CN104616063A (en) System and method for automatically detecting key device maintenance time based on Internet of Things
CN112884369B (en) Method, device, equipment and storage medium for monitoring power-off bill
CN105490768A (en) Method for automatically calibrating concentrator clock chip
EP1855173B1 (en) Procedure for mass capture of operational data of a wind turbine
CN113395610B (en) Electromagnetic water meter data supplementary reading method and system
CN111178660A (en) Method and device for determining production beat in mixed product production line and electronic equipment
CN107797856B (en) Scheduled task management and control method and device based on windows service and storage medium
CN113570075A (en) Remote monitoring software system for water meter
CN116545906B (en) Comprehensive management system for communication network equipment
CN112052147A (en) Monitoring method, electronic device and storage medium
CN108805778B (en) Electronic device, method for collecting credit investigation data and storage medium
CN113965447A (en) Online cloud diagnosis method, device, system, equipment and storage medium
CN112313964B (en) Clearance data collection for low energy devices
CN113643155B (en) Block chain voting system based on multi-data analysis
CN116165956B (en) Intelligent building network control system and method based on Internet of things
CN115442247B (en) Adopt artificial intelligence data processing fortune dimension case
CN116915590A (en) Equipment state analysis method and device based on equipment operation log and electronic equipment
RU2636699C2 (en) Device of modeling technological control processes of technical objects
CN111524053A (en) Information acquisition method, device, equipment and medium for air quality prediction system
CN116955232A (en) Hardware identification method and device based on control system
CN116704726A (en) Method and device for judging off-line state of equipment to be monitored for monitoring mass geological disasters
CN116483821A (en) Front-end data checking method, device and medium for centralized monitoring system of transformer substation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant