CN111552731A - Water meter flow data unifying method and device, computer equipment and storage medium - Google Patents

Water meter flow data unifying method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111552731A
CN111552731A CN202010387426.2A CN202010387426A CN111552731A CN 111552731 A CN111552731 A CN 111552731A CN 202010387426 A CN202010387426 A CN 202010387426A CN 111552731 A CN111552731 A CN 111552731A
Authority
CN
China
Prior art keywords
flow data
water meter
data
water
standard
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.)
Pending
Application number
CN202010387426.2A
Other languages
Chinese (zh)
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.)
Guangzhou Jiasheng Information Technology Co ltd
Original Assignee
Guangzhou Jiasheng Information 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 Guangzhou Jiasheng Information Technology Co ltd filed Critical Guangzhou Jiasheng Information Technology Co ltd
Priority to CN202010387426.2A priority Critical patent/CN111552731A/en
Publication of CN111552731A publication Critical patent/CN111552731A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures

Abstract

The invention provides a method and a device for unifying water meter flow data, computer equipment and a storage medium, wherein the method comprises the steps of collecting the water meter flow data from water meters of different models; carrying out data processing on the flow data of the water meters of different models according to a preset standard flow data conversion model to obtain standard flow data of the water meters; and taking the water meter number of each water meter as an index, and storing the standard flow data of the water meter corresponding to each water meter into a database. The invention has the beneficial effects that: the flow data of different water meters of different manufacturers or different models of the same manufacturer can be processed in a unified mode, the compatibility problem of the flow data is effectively solved, and the water meters of different models can be managed and interacted in a unified mode.

Description

Water meter flow data unifying method and device, computer equipment and storage medium
Technical Field
The invention relates to a data unification method and device, computer equipment and a storage medium, in particular to a water meter flow data unification method and device, computer equipment and a storage medium.
Background
Along with the rapid development and the maturity of low-power consumption wide area network, the intelligent water meter terminal that possesses data remote acquisition and remote control pours into the market in a large number. Because the models can not be coordinated and synchronized in the design and manufacturing process, the water meters of all models are not compatible even with data among a plurality of models of the same model, and a huge bottleneck is brought to intelligent application.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: a method and a device for unifying water meter flow data, a computer device and a storage medium are provided.
In order to solve the technical problems, the invention adopts the technical scheme that: a method for unifying flow data of water meters comprises,
collecting water meter flow data from water meters of different models;
carrying out data processing on the flow data of the water meters of different models according to a preset standard flow data conversion model to obtain standard flow data of the water meters;
and taking the water meter number of each water meter as an index, and storing the standard flow data of the water meter corresponding to each water meter into a database.
Further, the data processing is carried out on the flow data of the water meters with different models according to a preset standard flow data conversion model to obtain the standard flow data of the water meters, which comprises,
selecting a flow data conversion format corresponding to the water meter model from a preset standard flow data conversion model according to the water meter model of the water meter;
and according to the selected flow data conversion format corresponding to the water meter model, performing data format conversion on the water meter flow data to obtain the standard water meter flow data.
Furthermore, the data unit, the data significance and the data accuracy of the standard flow data are the same.
Further, before the standard flow data of the water meter is stored in the database, the standard flow data of the water meter is coded.
The invention also provides a water meter flow data unification device, which comprises,
the flow data acquisition module is used for acquiring water meter flow data from water meters of different models;
the flow data standardization module is used for carrying out data processing on the flow data of the water meters of different models according to a preset standard flow data conversion model to obtain standard flow data of the water meters;
and the standardized data storage module is used for storing the standard flow data of the water meters corresponding to each water meter into the database by taking the water meter number of each water meter as an index.
Further, the flow data normalization module comprises,
the data conversion format selection unit is used for selecting a flow data conversion format corresponding to the water meter model from a preset standard flow data conversion model according to the water meter model of the water meter;
and the data format conversion unit is used for performing data format conversion on the water meter flow data according to the selected flow data conversion format corresponding to the water meter model to obtain the standard water meter flow data.
Furthermore, the data unit, the data significance and the data accuracy of the standard flow data are the same.
Furthermore, the water meter flow data unification device also comprises,
and the standard data coding module is used for coding the standard flow data of the water meter before the standard flow data of the water meter is stored in the database.
The invention also provides computer equipment, which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor executes the computer program to realize the water meter flow data unification method.
The invention also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the water meter flow data unification method can be realized.
The invention has the beneficial effects that: the flow data of the water meters of different models are subjected to data processing according to a preset standard flow data conversion model to obtain standard flow data of the water meters, the flow data of the water meters of different manufacturers or different models of the same manufacturer can be uniformly processed, the compatibility problem of the flow data is effectively solved, and the water meters of different models can be subjected to uniform management and interaction of the data.
Drawings
The following detailed description of the invention refers to the accompanying drawings.
FIG. 1 is a flow chart of a water meter flow data unification method of the present invention;
FIG. 2 is a block diagram of a water meter flow data unification apparatus of the present invention;
FIG. 3 is a schematic block diagram of a computer apparatus of an embodiment of the present invention.
Detailed Description
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, 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.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As shown in fig. 1, one embodiment of the present invention is: a method for unifying flow data of water meters comprises,
s10, collecting water meter flow data from water meters of different models;
s20, carrying out data processing on the flow data of the water meters of different models according to a preset standard flow data conversion model to obtain standard flow data of the water meters;
and S30, storing the standard flow data of the water meters corresponding to each water meter into a database by taking the water meter number of each water meter as an index.
Further, the data processing is carried out on the flow data of the water meters with different models according to a preset standard flow data conversion model to obtain the standard flow data of the water meters, which comprises,
selecting a flow data conversion format corresponding to the water meter model from a preset standard flow data conversion model according to the water meter model of the water meter;
and according to the selected flow data conversion format corresponding to the water meter model, performing data format conversion on the water meter flow data to obtain the standard water meter flow data.
Furthermore, the data unit, the data significance and the data accuracy of the standard flow data are the same.
Further, before the standard flow data of the water meter is stored in the database, the standard flow data of the water meter is coded.
In this embodiment, carry out data processing to the flow data of the water gauge of different models according to the flow data conversion model of predetermined standard, obtain water gauge standard flow data, can unify the processing with the flow data of different models water gauges of different producers or same producer, solved flow data's compatibility problem effectively for the water gauge of different models can realize the unified management and the interaction of data, makes the water gauge management more intelligent.
The preset standard flow data conversion model is a standardized communication protocol and data model, and the flow data acquisition, data format and transmission protocol are unified through the standardized communication protocol and data model, for example, the flow data acquisition can be in multiple modes, photoelectric read-only/pulse/non-magnetic and the like, the accuracy and the like of the flow data acquired by each sensor component are inconsistent, and the reported data are unified by defining a standard format.
The method has high-efficiency bit utilization rate, and increases data packets at random when a plurality of manufacturers define data formats at present. Such as IMEI, consists of 15-17 digits and the valid data is the first 14 digits. Many protocols transmit 15 bits in a string, which takes up 15 bytes in length. And what really needs to be transmitted is 14-bit effective data (the 15 th bit can be calculated by the Luhn algorithm), if the BCD coding mode is used for transmission, only 7 bytes are needed, and 53% of transmission bits can be saved.
As shown in fig. 2, another embodiment of the present invention is: a water meter flow data unification device comprises,
the flow data acquisition module 10 is used for acquiring water meter flow data from water meters of different models;
the flow data standardization module 20 is used for carrying out data processing on the flow data of the water meters of different models according to a preset standard flow data conversion model to obtain standard flow data of the water meters;
and the standardized data storage module 30 is used for storing the standard flow data of the water meters corresponding to each water meter into the database by taking the water meter number of each water meter as an index.
Further, the flow data normalization module 20 includes,
the data conversion format selection unit is used for selecting a flow data conversion format corresponding to the water meter model from a preset standard flow data conversion model according to the water meter model of the water meter;
and the data format conversion unit is used for performing data format conversion on the water meter flow data according to the selected flow data conversion format corresponding to the water meter model to obtain the standard water meter flow data.
Furthermore, the data unit, the data significance and the data accuracy of the standard flow data are the same.
Furthermore, the water meter flow data unification device also comprises,
and the standard data coding module is used for coding the standard flow data of the water meter before the standard flow data of the water meter is stored in the database.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation processes of the water meter flow data unification apparatus and each unit may refer to the corresponding descriptions in the foregoing method embodiments, and for convenience and conciseness of description, no further description is provided herein.
The water meter flow data unification means can be implemented in the form of a computer program, and the computer program can be run on a computer device as shown in fig. 3.
Referring to fig. 3, fig. 3 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a terminal or a server, where the terminal may be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 3, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 include program instructions that, when executed, cause the processor 502 to perform a method of water meter flow data unification.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can execute a method for unifying water meter flow data.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 3 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer device 500 to which the present application may be applied, and that a particular computer device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The processor 502 is configured to run the computer program 5032 stored in the memory to implement the water meter flow data unification method as described above.
It should be understood that, in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program comprises program instructions. The program instructions, when executed by the processor, cause the processor to perform the water meter flow data unification method as described above.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for unifying flow data of water meters is characterized in that: comprises the steps of (a) preparing a mixture of a plurality of raw materials,
collecting water meter flow data from water meters of different models;
carrying out data processing on the flow data of the water meters of different models according to a preset standard flow data conversion model to obtain standard flow data of the water meters;
and taking the water meter number of each water meter as an index, and storing the standard flow data of the water meter corresponding to each water meter into a database.
2. The water meter flow data unification method of claim 1, wherein: the method for processing the flow data of the water meters with different models according to the preset standard flow data conversion model to obtain the standard flow data of the water meters comprises the following steps,
selecting a flow data conversion format corresponding to the water meter model from a preset standard flow data conversion model according to the water meter model of the water meter;
and according to the selected flow data conversion format corresponding to the water meter model, performing data format conversion on the water meter flow data to obtain the standard water meter flow data.
3. The water meter flow data unification method of claim 2, wherein: the data unit, the data effective digit and the data accuracy of the standard flow data are the same.
4. The water meter flow data unification method of claim 1, wherein: and before the standard flow data of the water meter is stored in the database, the standard flow data of the water meter is coded.
5. The utility model provides a water gauge flow data unification device which characterized in that: comprises the steps of (a) preparing a mixture of a plurality of raw materials,
the flow data acquisition module is used for acquiring water meter flow data from water meters of different models;
the flow data standardization module is used for carrying out data processing on the flow data of the water meters of different models according to a preset standard flow data conversion model to obtain standard flow data of the water meters;
and the standardized data storage module is used for storing the standard flow data of the water meters corresponding to each water meter into the database by taking the water meter number of each water meter as an index.
6. The water meter flow data unification apparatus of claim 5, wherein: the flow data normalization module includes a flow data normalization module,
the data conversion format selection unit is used for selecting a flow data conversion format corresponding to the water meter model from a preset standard flow data conversion model according to the water meter model of the water meter;
and the data format conversion unit is used for performing data format conversion on the water meter flow data according to the selected flow data conversion format corresponding to the water meter model to obtain the standard water meter flow data.
7. The water meter flow data unification apparatus of claim 6, wherein: the data unit, the data effective digit and the data accuracy of the standard flow data are the same.
8. The water meter flow data unification apparatus of claim 5, wherein: also comprises the following steps of (1) preparing,
and the standard data coding module is used for coding the standard flow data of the water meter before the standard flow data of the water meter is stored in the database.
9. A computer device, characterized by: the computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to realize the water meter flow data unification method of any one of claims 1 to 4.
10. A storage medium, characterized by: the storage medium stores a computer program, and the computer program can realize the water meter flow data unification method according to any one of claims 1 to 4 when being executed by a processor.
CN202010387426.2A 2020-05-09 2020-05-09 Water meter flow data unifying method and device, computer equipment and storage medium Pending CN111552731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010387426.2A CN111552731A (en) 2020-05-09 2020-05-09 Water meter flow data unifying method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010387426.2A CN111552731A (en) 2020-05-09 2020-05-09 Water meter flow data unifying method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111552731A true CN111552731A (en) 2020-08-18

Family

ID=72000549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010387426.2A Pending CN111552731A (en) 2020-05-09 2020-05-09 Water meter flow data unifying method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111552731A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080035408A (en) * 2006-10-19 2008-04-23 (주)지에스강남방송 System and method for supplying remote checking information
CN101392869A (en) * 2007-09-17 2009-03-25 北京昊科航科技有限责任公司 Safety alarm and leakage alarm method for pipe
CN102680060A (en) * 2012-06-01 2012-09-19 江南大学 Method for automatically detecting metrological characteristics of water meter based on image recognition
CN103106248A (en) * 2013-01-06 2013-05-15 长江水利委员会水文局 Stage-discharge data assimilation flood informing method, device and flood informing system
US20160104511A1 (en) * 2014-10-14 2016-04-14 Samsung Electronics Co., Ltd. Method and Apparatus for Managing Images Using a Voice Tag
CN106205105A (en) * 2016-08-05 2016-12-07 武汉丰天鼎业信息网络有限公司 The data concentrator of multiple data form
CN109376797A (en) * 2018-11-20 2019-02-22 大连理工大学 A kind of net flow assorted method based on binary coder and more Hash tables
CN110688343A (en) * 2019-08-26 2020-01-14 天津开心生活科技有限公司 Method and device for converting data format

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080035408A (en) * 2006-10-19 2008-04-23 (주)지에스강남방송 System and method for supplying remote checking information
CN101392869A (en) * 2007-09-17 2009-03-25 北京昊科航科技有限责任公司 Safety alarm and leakage alarm method for pipe
CN102680060A (en) * 2012-06-01 2012-09-19 江南大学 Method for automatically detecting metrological characteristics of water meter based on image recognition
CN103106248A (en) * 2013-01-06 2013-05-15 长江水利委员会水文局 Stage-discharge data assimilation flood informing method, device and flood informing system
US20160104511A1 (en) * 2014-10-14 2016-04-14 Samsung Electronics Co., Ltd. Method and Apparatus for Managing Images Using a Voice Tag
CN106205105A (en) * 2016-08-05 2016-12-07 武汉丰天鼎业信息网络有限公司 The data concentrator of multiple data form
CN109376797A (en) * 2018-11-20 2019-02-22 大连理工大学 A kind of net flow assorted method based on binary coder and more Hash tables
CN110688343A (en) * 2019-08-26 2020-01-14 天津开心生活科技有限公司 Method and device for converting data format

Similar Documents

Publication Publication Date Title
CN109766393A (en) Abnormal deviation data examination method and device
CN109947020B (en) User-configurable vehicle acceleration data acquisition method
CN107807891A (en) Information collecting method and terminal device
CN110602178B (en) Method for calculating and processing temperature sensor data based on edge compression
CN105183557A (en) Configurable data compression system based on hardware
CN111240688A (en) excel file analysis method and device, computer equipment and storage medium
WO2016131341A1 (en) Data querying method and device
CN110225086A (en) A kind of collecting method and system towards industrial Internet of Things
CN109684311A (en) Abnormal deviation data examination method and device
CN110968592B (en) Metadata acquisition method, metadata acquisition device, computer equipment and computer readable storage medium
CN111966712A (en) Data processing method, device, server and storage medium
CN115567589A (en) Compression transmission method, device, equipment and storage medium of JSON data
CN111741057A (en) Normalization acquisition system and method for multi-source Internet of things data
CN109933595B (en) Internet of things equipment information sharing system and device and terminal equipment
CN103914501A (en) Power industry real-time reporting method based on massive real-time database
CN114157679A (en) Cloud-native-based distributed application monitoring method, device, equipment and medium
CN112346775B (en) Index data general processing method, electronic device and storage medium
CN111552731A (en) Water meter flow data unifying method and device, computer equipment and storage medium
CN110780630A (en) Protocol library docking execution system suitable for Internet of things and working method
CN108156230B (en) Real-time data synchronization method, system and framework
CN109740322A (en) A kind of Computer information network engineering system
CN114428820A (en) Method and system for real-time synchronization of distributed data and data synchronization equipment
CN115408034A (en) Vehicle-mounted controller upgrading method and device, electronic equipment and storage medium
CN113239085A (en) Real-time data processing method, device, computer equipment and medium
CN113722340A (en) Processing method and system for remote automatic point table updating based on power distribution device

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